.order-convert{background:#f5f9fc;border:1px solid #ced9e1;border-left:4px solid #285774;border-radius:8px;flex-wrap:wrap;align-items:center;gap:20px;margin:0 0 24px;padding:20px;display:flex}.order-convert>div{flex:1;min-width:220px}.order-convert h2{margin:0 0 6px;font-size:18px}.order-convert p{margin:0;font-size:14px;line-height:1.5}.order-convert-dialog{max-height:90dvh;overflow:auto}.order-convert-dialog form,.order-form{gap:16px;display:grid}.order-convert-dialog label,.order-form label{gap:7px;font-size:14px;font-weight:600;display:grid}.order-convert-dialog input,.order-convert-dialog textarea,.order-convert-dialog select,.order-form input,.order-form textarea,.order-form select,.order-filters input,.order-filters select{color:#182c39;background:#fff;border:1px solid #ccd5dd;border-radius:6px;width:100%;min-width:0;min-height:44px;padding:10px 12px;font-size:16px}.order-convert-dialog textarea,.order-form textarea{min-height:88px}.order-two-fields{grid-template-columns:1fr 1fr;gap:14px;display:grid}.order-convert-dialog .order-check{align-items:center;font-weight:400;line-height:1.5;display:flex}.order-filters{flex-wrap:wrap;gap:12px;padding:20px;display:flex}.order-filters input{flex:2;min-width:200px}.order-filters select{flex:1;min-width:150px}.order-overview{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:22px;display:grid}.order-overview>div{background:#fff;border:1px solid #d8e0e6;border-radius:8px;padding:18px}.order-overview span{color:#526571;font-size:14px;display:block}.order-overview strong{margin-top:8px;font-size:25px;display:block}.order-layout{grid-template-columns:minmax(0,1fr) minmax(280px,.7fr);gap:24px;display:grid}.order-panel{background:#fff;border:1px solid #d8e0e6;border-radius:8px;min-width:0;margin-bottom:22px;padding:24px}.order-panel h2{margin:0 0 16px;font-size:20px}.order-panel p{line-height:1.5}.order-tabs{max-width:100%;margin-bottom:20px;overflow-x:auto}.order-payment{border-top:1px solid #d8e0e6;padding:16px 0}.order-payment>div{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.order-payment small{color:#596873;line-height:1.6;display:block}.order-payment p,.order-event p{white-space:pre-wrap;overflow-wrap:anywhere}.order-payment.voided{opacity:.7}.order-payment.voided strong{text-decoration:line-through}.order-event{border-bottom:1px solid #e0e6ea;padding:16px 0}.order-event time{color:#596873;font-size:13px;display:block}.order-event dl{margin:8px 0}.order-event dt{font-size:13px;font-weight:600}.order-event dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:3px 0 8px;font-size:14px}.order-design-image{object-fit:contain;background:#f2f5f7;border-radius:6px;width:100%;max-height:260px}.order-warning{background:#fff6dc;border:1px solid #d6b969;border-radius:6px;padding:12px 16px}.quote-stage.confirmed{color:#204d78;background:#e5eff9}.quote-stage.on_hold{color:#674e06;background:#fff0c5}.quote-stage.completed{color:#256441;background:#e3f1e8}.quote-stage.cancelled{color:#8b3434;background:#f3e6e6}@media (max-width:1000px){.order-layout{grid-template-columns:1fr}.order-overview{grid-template-columns:1fr 1fr}}@media (max-width:550px){.order-panel{padding:16px}.order-two-fields{grid-template-columns:1fr}.order-overview strong{font-size:21px}.order-overview>div{padding:14px}.order-convert,.order-filters{padding:16px}.order-filters>*{flex-basis:100%}.order-convert-dialog{width:calc(100% - 24px)}}.order-form fieldset{border:0;gap:16px;min-width:0;margin:0;padding:0;display:grid}.order-form fieldset:disabled{opacity:.75}.order-panel>h2:not(:first-child){margin-top:22px}.terms-editor-grid{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:22px;display:grid}.terms-editor,.terms-preview{background:#fff;border:1px solid #dce2e7;border-radius:12px;min-width:0;padding:24px}.terms-editor fieldset{border:0;gap:16px;min-width:0;padding:0;display:grid}.terms-fields{grid-template-columns:1fr 1fr;gap:16px;display:grid}.terms-editor select,.terms-filters select,.quote-documents select{background:#fff;border:1px solid #cbd4dd;border-radius:6px;max-width:100%;min-height:44px;padding:10px}.terms-editor h2{margin-top:14px}.terms-note,.terms-preview small{color:#647380;font-size:14px;line-height:1.6}.terms-checks{flex-wrap:wrap;gap:18px;display:flex}.quote-app .terms-checks label{flex-direction:row;align-items:center;gap:9px;font-weight:400}.quote-app .terms-checks input[type=checkbox]{flex-shrink:0;width:18px;height:18px;min-height:18px;padding:0}.terms-preview p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}.terms-preview details{border-top:1px solid #dfe4e8;padding:12px 0;font-size:14px}.terms-preview summary{cursor:pointer;margin-bottom:10px}.terms-filters{align-items:center;gap:12px;padding:20px;display:flex}.terms-filters input{flex:1;min-width:100px}.terms-list article{border-top:1px solid #e0e5ea;align-items:center;gap:16px;padding:22px;display:flex}.terms-list article>div{flex:1}.terms-list h2{margin-bottom:4px}.terms-list p{color:#647380;margin:0;font-size:14px}.terms-list small{margin-top:5px;display:block}.quote-documents{background:#f6f8fa;border:1px solid #dce3e8;border-radius:8px;margin:16px 0;padding:18px}.quote-documents p{font-size:14px;line-height:1.5}.quote-document-controls{flex-wrap:wrap;gap:10px;margin:14px 0;display:flex}.quote-document-controls select{flex:1;min-width:180px}.quote-document-selection{border-top:1px solid #dce3e8;padding:14px 0}.quote-document-selection>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.quote-document-selection small{margin-top:5px;display:block}.quote-document-selection details{margin-top:10px;font-size:14px}.quote-document-selection details p{white-space:pre-wrap}.document-template-note{color:#555;font-size:8pt}.document-attachment a{overflow-wrap:anywhere;color:#16446c;text-decoration:underline}.document-attachment{margin-bottom:16px}.document-attachment h3{margin:6px 0;font-size:9pt}@media (max-width:800px){.terms-editor-grid,.terms-fields{grid-template-columns:1fr}.terms-editor,.terms-preview{padding:16px}.terms-filters{flex-wrap:wrap}.terms-filters input{flex-basis:100%}.terms-list article{flex-wrap:wrap;padding:16px}.terms-list article>div{min-width:70%}.terms-list article>svg{display:none}.terms-checks{flex-direction:column;gap:12px}}.store-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0;display:grid}.store-cards button{text-align:left;background:#fff;border:1px solid #d9e1e7;border-radius:12px;flex-direction:column;gap:9px;padding:20px;display:flex}.store-cards button[aria-pressed=true]{background:#f0f7f3;border:2px solid #205e50;padding:19px}.store-cards strong{font-size:18px}.store-cards span{font-size:14px}.store-cards small{color:#61727c;font-size:13px}.store-editor{background:#fff;border:1px solid #d9e1e7;border-radius:12px;padding:24px}.store-title,.store-section-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.store-title h2{font-size:24px;font-weight:650}.store-title span{color:#697582;font-size:13px}.store-tabs{justify-content:flex-start;max-width:100%;margin-bottom:22px;overflow:auto}.store-fieldset{border:0;min-width:0;padding:0}.store-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.store-form label,.store-surcharge label,.quote-store-fields label{flex-direction:column;gap:8px;font-size:14px;font-weight:600;display:flex}.store-editor input:not([type=checkbox]),.store-editor textarea,.store-editor select,.quote-store input:not([type=checkbox]){background:#fff;border:1px solid #cbd4dd;border-radius:6px;width:100%;min-height:44px;padding:10px;font-weight:400}.store-editor textarea{resize:vertical;min-height:90px}.store-editor label.store-check,.quote-store label.store-check{flex-direction:row;align-items:center;gap:10px;font-weight:400;display:flex}.store-check input,.store-staff input{flex-shrink:0;width:18px;height:18px}.store-note,.quote-store p{color:#607080;margin:16px 0;font-size:14px;line-height:1.6}.store-wide{grid-column:1/-1}.store-form small{color:#607080;font-size:13px;font-weight:400}.store-section-title{margin-top:24px}.store-section-title h3{font-size:18px;font-weight:600}.store-surcharge{border:1px solid #e1e7eb;border-radius:8px;grid-template-columns:2fr 1.5fr 1fr;gap:12px;margin:12px 0;padding:16px;display:grid}.store-staff{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0;display:grid}.store-staff label{border:1px solid #dee4e9;border-radius:8px;align-items:center;gap:12px;padding:16px;display:flex}.store-staff strong,.store-staff small{display:block}.store-staff small{color:#657581;margin-top:4px}.store-history{border-bottom:1px solid #dfe5e9;padding:14px 0;font-size:14px}.store-history summary{cursor:pointer}.store-history dl{grid-template-columns:110px 1fr;gap:8px;margin:16px 0;display:grid}.store-history dt{font-weight:600}.store-history dd{overflow-wrap:anywhere}.quote-store{background:#f4f8f5;border:1px solid #d6e3dd;border-radius:9px;margin:16px 0;padding:18px}.quote-store-fields{grid-template-columns:1fr 1fr;gap:14px;margin-top:14px;display:grid}.quote-store-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.quote-line-tax{align-items:center;gap:6px;font-size:13px;display:flex}.quote-line-tax input{width:16px!important;min-height:16px!important}.quote-price-lines>div.store-price-row{grid-template-columns:minmax(0,1fr) 100px 90px 36px}.quote-store small{color:#66776d;font-size:13px}.quote-store input[type=checkbox]{width:18px;height:18px}.quote-price-lines .store-auto-label{color:#607080;font-size:12px}.store-quote-coverage{color:#607080;font-size:14px;line-height:1.5}@media (max-width:750px){.store-cards{grid-template-columns:1fr}.store-cards button{padding:16px}.store-cards button[aria-pressed=true]{padding:15px}.store-editor{padding:16px}.store-form,.store-staff,.quote-store-fields,.store-surcharge{grid-template-columns:1fr}.store-title{align-items:flex-start}.quote-price-lines>div.store-price-row{grid-template-columns:minmax(0,1fr) 92px 36px}.store-price-row>.quote-line-tax{grid-area:2/1/auto/3}.store-price-row>button{grid-area:1/3}.store-history dl{grid-template-columns:1fr}.store-history dd{margin-bottom:8px}}.quote-app .store-check input[type=checkbox],.quote-app .store-staff input[type=checkbox],.quote-app .quote-line-tax input[type=checkbox]{flex-shrink:0;width:18px;height:18px;min-height:18px;padding:0}.quote-app .store-staff label,.quote-app .quote-line-tax{flex-direction:row;align-items:center}.reports-workspace{min-width:0;font-size:1rem}.report-filters{background:#fff;border:1px solid #d7dde0;border-radius:12px;flex-wrap:wrap;align-items:end;gap:12px;padding:20px;display:flex}.report-filters label,.report-followup-filter label{flex-direction:column;gap:6px;min-width:130px;font-size:.875rem;font-weight:600;display:flex}.report-filters input,.report-filters select,.report-followup-filter select{color:#18232c;background:#fff;border:1px solid #bac4cc;border-radius:6px;max-width:100%;min-height:42px;padding:8px;font-size:1rem}.report-scope{color:#46525c;margin:16px 0;font-size:.875rem;line-height:1.7}.report-section-title{margin:26px 0 12px;font-size:1.25rem;font-weight:700}.report-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.report-metric{background:#fff;border:1px solid #d7dde0;border-top:3px solid #ad2015;border-radius:10px;min-width:0;padding:18px}.report-metric h3{margin:0 0 12px;font-size:.875rem;font-weight:600}.report-metric>strong{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;font-size:clamp(1.4rem,2vw,2rem);line-height:1.25;display:block}.report-metric p,.report-note{color:#4c5964;margin:10px 0;font-size:.875rem;line-height:1.6}.report-section{background:#fff;border:1px solid #d7dde0;border-radius:12px;min-width:0;margin:18px 0;padding:20px}.report-section h2{margin:0 0 12px;font-size:1.125rem;font-weight:700}.report-section table{min-width:480px;font-size:.875rem}.report-section th{white-space:normal}.report-section td{vertical-align:top;font-variant-numeric:tabular-nums}.report-section td small{color:#53616b;margin-top:4px;font-size:.8125rem;display:block}.report-section td a,.report-section>a{color:#923023;text-underline-offset:3px;text-decoration:underline}.report-two-columns{grid-template-columns:1fr 1fr;gap:18px;display:grid}.report-two-columns>.report-section{margin:0 0 18px}.report-counts>div{border-bottom:1px solid #e2e6e9;justify-content:space-between;gap:16px;padding:10px 0;display:flex}.report-counts dd{font-variant-numeric:tabular-nums;font-weight:700}.report-section>a{margin-top:16px;display:inline-block}.report-attention-grid{grid-template-columns:1fr 1fr;gap:10px;margin-top:18px;display:grid}.report-attention-grid button{text-align:left;border:1px solid #d5dce1;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;min-height:52px;padding:14px;font-size:.875rem;display:flex}.report-attention-grid button:hover{background:#fff7f5;border-color:#a92418}.report-attention-grid button:focus-visible{outline-offset:2px;outline:3px solid #ae382c}.report-attention-grid strong{font-size:1.2rem}.report-followup-filter{flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:20px;display:flex}@media (max-width:1100px){.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.report-two-columns{grid-template-columns:1fr}}@media (max-width:600px){.report-filters{padding:14px}.report-filters label{flex:42%;min-width:0}.report-filters label:first-child,.report-filters label:nth-child(4){flex-basis:100%}.report-attention-grid{grid-template-columns:1fr}.report-metrics{gap:10px}.report-metric,.report-section{padding:14px}.report-followup-filter label{width:100%;min-width:0}.reports-workspace .quote-page-heading>button{width:100%}}.change-card{border-bottom:1px solid #dbe2e8;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;display:flex}.change-card>div{min-width:0}.change-card small{color:#536675;margin-top:5px;font-size:13px;display:block}.change-card p{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0;font-size:14px;line-height:1.5}.change-card span{font-size:14px}.change-queue{padding:0 24px}.change-review{background:#f7fafc;border:1px solid #ccdce6;border-radius:8px;margin:22px 0;padding:18px}.change-review h3{margin:0 0 12px;font-size:19px}.change-review>p{white-space:pre-wrap;overflow-wrap:anywhere}.change-comparison{table-layout:fixed;min-width:580px;margin:12px 0}.change-comparison th:first-child{width:23%}.change-comparison th{background:#e9f0f5;font-size:14px}.change-comparison td{overflow-wrap:anywhere;vertical-align:top;font-size:14px;white-space:pre-wrap!important;padding:12px!important}.change-dialog{max-height:90dvh;overflow:auto;max-width:850px!important}.change-dialog .order-form{margin-top:10px}.change-check{align-items:center;gap:10px;line-height:1.5;font-weight:400!important;display:flex!important}.change-check [data-slot=checkbox]{flex-shrink:0}.change-history-heading{margin-top:30px!important}@media (max-width:650px){.change-dialog{width:calc(100% - 24px)}.change-card{flex-direction:column;align-items:flex-start}.change-review{padding:14px}.change-queue{padding:0 16px}}.production-link{background:#f2f8f7;border:1px solid #cddce1;border-left:4px solid #337868;border-radius:8px;flex-wrap:wrap;align-items:center;gap:18px;margin:0 0 24px;padding:18px 22px;display:flex}.production-link>div{flex:1;min-width:220px}.production-link h2{margin:0 0 5px;font-size:18px}.production-link p{margin:0;font-size:14px;line-height:1.5}.production-filters{flex-wrap:wrap;gap:12px;padding:20px;display:flex}.production-filters>input{flex:2;min-width:220px}.production-filters select{flex:1;min-width:130px}.production-filters input,.production-filters select,.production-form input,.production-form select,.production-form textarea{color:#182c39;background:#fff;border:1px solid #ccd5dd;border-radius:6px;width:100%;min-width:0;min-height:44px;padding:10px 12px;font-size:16px}.production-filters label{gap:6px;font-size:14px;display:grid}.production-stage{color:#344c5b;white-space:nowrap;background:#edf0f3;border-radius:5px;padding:5px 9px;font-size:13px;display:inline-block}.production-stage.in_production{color:#294e86;background:#e3edff}.production-stage.ready{color:#1f6247;background:#ddf3ea}.production-stage.delivered{color:#335d29;background:#e3efdf}.production-stage.cancelled{color:#913a37;background:#f4e5e5}.production-held{color:#935b05;font-weight:600}.production-layout{grid-template-columns:minmax(0,1fr) 310px;gap:24px;display:grid}.production-panel{background:#fff;border:1px solid #d8e0e6;border-radius:8px;min-width:0;margin-bottom:22px;padding:24px}.production-panel h2{margin:0 0 18px;font-size:20px}.production-panel h3{margin:20px 0 12px;font-size:17px}.production-form,.production-form fieldset{gap:16px;min-width:0;display:grid}.production-form fieldset{border:0;margin:0;padding:0}.production-form label{gap:7px;font-size:14px;font-weight:600;display:grid}.production-form textarea{min-height:90px}.production-fields{grid-template-columns:1fr 1fr;gap:16px;display:grid}.production-form .production-check{align-items:center;font-weight:400;line-height:1.45;display:flex}.production-checks{gap:14px;margin:8px 0;display:grid}.production-progress{flex-wrap:wrap;gap:10px;margin:12px 0 22px;display:flex}.production-timeline{border-top:1px solid #dbe3e8;padding:15px 0}.production-timeline time{color:#64717c;margin:5px 0;font-size:13px;display:block}.production-timeline p,.production-timeline dd{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.production-timeline dt{font-size:13px;font-weight:600}.production-timeline dd{margin:4px 0 10px}.production-action-dialog{max-height:90dvh;overflow:auto}.production-source-note{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5}.production-panel details summary{cursor:pointer;min-height:36px;font-weight:600}.production-panel .quote-specs dd{white-space:pre-wrap}.production-panel .production-check [data-slot=checkbox]{flex-shrink:0}.production-panel .quote-warning{background:#fff5d8;border:1px solid #e2c981;border-radius:6px;padding:12px}@media (max-width:1050px){.production-layout{grid-template-columns:1fr}.production-layout>aside{grid-template-columns:1fr 1fr;gap:20px;display:grid}.production-fields{grid-template-columns:1fr 1fr}}@media (max-width:600px){.production-layout>aside,.production-fields{display:block}.production-fields>label{margin-bottom:16px}.production-panel,.production-filters{padding:16px}.production-filters>*{flex-basis:100%}.production-link{padding:16px}.production-action-dialog{width:calc(100% - 24px)}}
