.auth-mark,.brand{background:#fff}.auth-mark img,.brand img{width:100%;height:100%;object-fit:contain}.auth-mark{background:#fff url(/H.png) 50%/contain no-repeat!important;color:transparent!important;font-size:0!important}.stat{border:1px solid var(--line);text-align:left;color:var(--ink);cursor:pointer}.stat:hover{transform:translateY(-2px);box-shadow:0 12px 28px #173c5c18}.stat>span{display:block;margin-top:13px;color:#2c86c3;font-size:11px;font-weight:800}.modal>header{position:sticky;top:0;background:#fff;z-index:8}.modal>header>button{position:sticky;top:16px}.customer-details{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 16px;padding:18px;border:1px solid var(--line);border-radius:12px;background:#f7fafc}.customer-details h3,.customer-details>small{grid-column:1/-1}.input-action{display:flex;gap:8px}.input-action input{flex:1 1}.check-field{flex-direction:row!important;align-items:center}.check-field input{width:18px;height:18px}.image-upload{border:1px dashed #79abd0;border-radius:12px;padding:16px}.image-upload>div:first-of-type{display:flex;gap:10px}.image-upload .secondary{display:inline-block;margin:0;cursor:pointer}.image-previews,.job-images>div{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.image-previews figure{position:relative;margin:0}.image-previews img,.job-images img{width:112px;height:86px;object-fit:cover;border-radius:9px;border:1px solid var(--line)}.image-previews button{position:absolute;right:4px;top:4px;border:0;border-radius:50%;background:#082f53;color:#fff;width:25px;height:25px}.notification-button{font-size:18px}@media(max-width:650px){.customer-details{grid-template-columns:1fr}.customer-details h3,.customer-details>small{grid-column:1}.image-upload>div:first-of-type{flex-direction:column}}.rail nav button .drag-grip{position:absolute;right:7px;top:8px;font-style:normal;font-size:10px;letter-spacing:-3px;opacity:.35;cursor:grab}.rail nav button:active .drag-grip{cursor:grabbing;opacity:1}.file-button{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.product-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px;margin-bottom:16px}.product-filters label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:800;color:var(--muted)}.product-filters input,.product-filters select{border:1px solid var(--line);border-radius:9px;padding:11px;font:inherit;background:white;color:var(--ink)}.inline-create.product-create.extended{grid-template-columns:1fr 1fr 1.5fr .8fr .9fr auto}.table-row.product.extended{grid-template-columns:1fr 1fr 1.7fr .8fr .8fr .7fr}.table-row.product.extended>strong{text-align:right}.coming-soon .celebration{text-align:center;padding:72px 24px;background:radial-gradient(circle at center,#fff9dc,#fff 58%)}.celebration .fireworks{font-size:58px;letter-spacing:16px;animation:celebrate 1.8s ease-in-out infinite}.celebration h3{font-size:32px;margin:20px 0 8px}.celebration p{color:var(--muted)}@keyframes celebrate{0%,to{transform:scale(.96);filter:saturate(.8)}50%{transform:scale(1.06);filter:saturate(1.4)}}.files-area{display:grid;gap:16px}.file-upload-panel{display:flex;align-items:center;justify-content:space-between;gap:20px}.file-upload-panel h3{margin:0 0 6px}.file-upload-panel p{margin:0;color:var(--muted)}.file-list{padding:0;overflow:hidden}.file-list article{display:grid;grid-template-columns:44px 1fr auto auto;align-items:center;gap:14px;padding:15px 18px;border-bottom:1px solid var(--line)}.file-list article:last-child{border-bottom:0}.file-list article>div{display:flex;flex-direction:column;gap:5px}.file-list small{color:var(--muted)}.file-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:#e8f5ff;color:#247dbb;font-size:20px}.file-list a{text-decoration:none;font-size:12px}.field-hint{color:var(--muted);font-size:12px}@media(max-width:900px){.inline-create.product-create.extended,.product-filters{grid-template-columns:1fr 1fr}.table-row.product.extended{grid-template-columns:1fr 1fr 1.5fr}.table-row.product.extended>:nth-child(n+4){display:none}}@media(max-width:650px){.inline-create.product-create.extended,.product-filters{grid-template-columns:1fr}.file-upload-panel{align-items:flex-start;flex-direction:column}.file-list article{grid-template-columns:40px 1fr}.file-list article>a,.file-list article>label{grid-column:2}.celebration .fireworks{font-size:38px;letter-spacing:6px}}.notification-button{display:grid;place-items:center;font-size:0!important}.notification-button svg{width:23px;height:23px;fill:none;stroke:var(--navy);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.customer-head-actions{display:grid;gap:8px;min-width:190px}.customer-head-actions button{width:100%}@media (max-width:700px){.customer-head-actions{width:100%}}.table-row.product.extended.head button{border:0;background:none;text-align:left;color:inherit;font-weight:800;cursor:pointer;padding:8px 0}.table-row.product.clickable{cursor:pointer}.customer-button:hover,.table-row.product.clickable:hover{background:#f2f8fc}.table-row.product.extended.select-mode{grid-template-columns:34px 1fr 1fr 1.7fr .8fr .8fr .7fr}.missing{display:inline-grid;place-items:center;width:19px;height:19px;margin-right:7px;border-radius:50%;background:#db3d3d;color:#fff;font-style:normal;font-size:12px}.badge.warning{background:#fff0ed;color:#bd352d}.danger{border:0;border-radius:10px;padding:12px 18px;background:#ffe7e5;color:#a82722;font-weight:800;cursor:pointer}.danger:disabled{opacity:.45}.customer-button{width:100%;border:0;background:#fff;text-align:left;color:inherit;cursor:pointer}.modal-body{padding:22px}.modal-body .inline-create{box-shadow:none;margin:0}.price-history{padding:20px 30px 30px}.price-history>div{display:grid;grid-template-columns:1.2fr 1fr .6fr;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}.price-history p{color:var(--muted)}@media(max-width:900px){.table-row.product.extended.select-mode{grid-template-columns:34px 1fr 1fr}.table-row.product.extended.head{display:none}}.new-customer-summary{display:flex;align-items:center;min-height:44px;padding:11px 13px;border:1px solid var(--line);border-radius:9px;background:#f7fafc;color:var(--ink);font-weight:750}.cvr-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:165px}.loading-gear{display:inline-block;font-size:18px;line-height:1;animation:cvr-gear-spin .85s linear infinite}@keyframes cvr-gear-spin{to{transform:rotate(1turn)}}.product-import-modal{width:min(1120px,calc(100vw - 32px));overflow:hidden;display:flex;flex-direction:column}.product-import-modal .modal-body{overflow:auto;min-height:0;padding:26px 30px}.import-sheet-picker{display:grid;grid-template-columns:160px minmax(0,420px);align-items:center;gap:14px;font-weight:800}.import-column-mapping select,.import-sheet-picker select{width:100%;min-height:46px;border:1px solid #cbdbe7;border-radius:10px;background:#fff;padding:10px 12px;color:var(--ink);font:inherit}.import-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:28px 0 16px}.import-heading h3,.import-heading p{margin:0}.import-heading p{margin-top:7px;color:var(--muted)}.import-column-mapping{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:28px}.import-column-mapping label{display:flex;flex-direction:column;gap:7px;min-width:0;padding:14px;border:1px solid var(--line);border-radius:12px;background:#f8fbfd}.import-column-mapping label>span{font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.import-column-mapping small{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.import-preview-table{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:12px;-webkit-overflow-scrolling:touch}.import-preview-table table{width:max-content;min-width:100%;border-collapse:collapse}.import-preview-table td,.import-preview-table th{max-width:280px;padding:12px 14px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.import-preview-table th{position:sticky;top:0;background:#edf4f8;font-size:12px}.import-preview-table tr:last-child td{border-bottom:0}.import-preview-table td:last-child,.import-preview-table th:last-child{border-right:0}@media(max-width:700px){.product-import-modal .modal-body{padding:18px 14px}.import-sheet-picker{grid-template-columns:1fr;gap:7px}.import-heading{align-items:flex-start;flex-direction:column}.import-column-mapping{grid-template-columns:1fr}.import-preview-table td,.import-preview-table th{max-width:210px;padding:10px 12px}}.new-order-page{max-width:1320px;margin:0 auto}.new-order-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px}.new-order-heading h2{font-size:34px;margin:4px 0 8px}.new-order-heading p:not(.eyebrow){color:var(--muted);margin:0}.order-head-actions{display:flex;gap:10px;align-items:center}.icon-button{width:44px;height:44px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--navy);font-size:24px;cursor:pointer}.order-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.order-mode-grid>button{min-height:270px;border:1px solid #cadce9;border-radius:20px;background:#fff;padding:40px;text-align:left;display:flex;flex-direction:column;justify-content:flex-end;cursor:pointer;transition:.2s}.order-mode-grid>button:hover{border-color:#3d94d3;box-shadow:0 18px 45px #163b5d18;transform:translateY(-3px)}.order-mode-grid>button>span{width:62px;height:62px;display:grid;place-items:center;border-radius:17px;background:#e9f5fd;color:#277fba;font-size:30px;margin-bottom:auto}.order-mode-grid b{font-size:24px;margin:25px 0 8px}.order-mode-grid small{font-size:14px;color:var(--muted)}.duplicate-warning,.scan-error{display:flex;gap:10px;border:1px solid #f1bcb2;background:#fff1ee;color:#963c2d;border-radius:11px;padding:13px 15px;margin:0 0 18px}.analysis-progress{display:flex;align-items:center;gap:12px;border:1px solid #b9d9ee;background:#edf8ff;color:#1f6898;border-radius:12px;padding:15px 18px;margin-bottom:18px}.scan-workspace{background:#fff;border:1px solid var(--line);border-radius:18px;padding:25px}.scan-drop{min-height:245px;border:2px dashed #7bb1d6;border-radius:16px;background:#f6fbff;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px}.scan-drop>span{font-size:38px;color:#2f8bc9}.scan-drop h3{font-size:22px;margin:12px 0 5px}.scan-drop p{color:var(--muted)}.scan-drop>div{display:flex;gap:10px;margin-top:14px}.scan-drop label{cursor:pointer}.document-strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:13px;margin:20px 0}.document-strip article{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff}.document-strip article.quality-warning{border-color:#e6bb59;background:#fffaf0}.doc-preview{width:100%;height:140px;border:0;background:#eef4f8;padding:0;cursor:pointer}.doc-preview img{width:100%;height:100%;object-fit:cover}.pdf-preview{height:100%;display:grid;place-items:center;font-size:26px;font-weight:900;color:#b34c42}.document-strip article>div{padding:11px;display:flex;flex-direction:column;gap:4px}.document-strip article small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.document-strip article em{color:#9b6a16;font-size:11px;font-style:normal;line-height:1.35}.document-strip article footer{display:flex;border-top:1px solid var(--line)}.document-strip article footer button{flex:1 1;border:0;border-right:1px solid var(--line);background:#fff;padding:8px;cursor:pointer}.analyze-button{min-width:230px}.document-lightbox{position:fixed;inset:0;z-index:80;background:#051a2ce8;display:grid;place-items:center;padding:50px}.document-lightbox>button{position:absolute;right:24px;top:18px;border:0;background:transparent;color:#fff;font-size:38px}.document-lightbox iframe,.document-lightbox img{max-width:100%;max-height:100%;width:min(1050px,100%);height:min(850px,100%);object-fit:contain;border:0}.order-review-summary{display:grid;grid-template-columns:2fr repeat(4,1fr);border:1px solid var(--line);border-radius:15px;background:#fff;margin-bottom:18px;overflow:hidden}.order-review-summary>div{padding:17px 20px;display:flex;flex-direction:column;gap:5px;border-right:1px solid var(--line)}.order-review-summary strong{font-size:24px}.order-review-summary span{font-size:12px;color:var(--muted)}.order-review-summary .match-good{background:#effaf5;color:#25785c}.order-review-summary .match-warning{background:#fff8e7;color:#8f671f}.order-review-summary .match-conflict{background:#fff0ed;color:#a13d2d}.intelligent-order-form{display:grid;gap:18px}.order-fields{padding:24px}.order-fields h3,.review-items h3{margin:0}.order-fields small{color:var(--muted);font-weight:500}.quick-customer{display:grid;grid-template-columns:repeat(3,1fr);gap:8px 12px;padding:15px;border:1px solid var(--line);border-radius:12px;background:#f7fafc}.quick-customer h4{grid-column:1/-1;margin:0}.quick-customer label{margin:0}.quick-customer button{align-self:end}.review-items{padding:0}.review-items>header{padding:22px;display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.review-items>header p{margin:5px 0 0;color:var(--muted)}.product-combobox{position:relative;width:min(440px,100%)}.product-combobox>input{width:100%;padding:12px;border:1px solid var(--line);border-radius:9px;font:inherit;color:var(--ink)}.product-combobox>div{position:absolute;z-index:15;top:48px;width:100%;max-height:330px;overflow:auto;background:#fff;border:1px solid var(--line);box-shadow:0 18px 45px #153c5d2c;border-radius:11px;padding:7px}.product-combobox>div button{width:100%;border:0;background:#fff;padding:11px;display:grid;grid-template-columns:.8fr 1.5fr auto;gap:10px;text-align:left;border-radius:8px;color:var(--ink);cursor:pointer}.product-combobox>div button:hover{background:#eef6fb}.product-combobox>div p{padding:12px;font-size:12px}.review-line{border-top:1px solid var(--line);padding:19px 22px 20px;border-left:5px solid #d7e1e8}.review-line.matched{border-left-color:#4aae84}.review-line.uncertain{border-left-color:#e2b446;background:#fffdf7}.review-line.conflict{border-left-color:#d95d4e;background:#fffafa}.review-line>header{display:flex;align-items:center;gap:10px;margin-bottom:14px}.review-line>header>div{display:flex;flex-direction:column}.review-line>header small{color:var(--muted)}.review-line>header button{margin-left:auto;border:0;background:#eaf5fc;color:#267cad;border-radius:8px;padding:8px 10px;cursor:pointer}.status-symbol{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#edf2f5;font-weight:900}.matched .status-symbol{background:#ddf5ea;color:#20795a}.uncertain .status-symbol{background:#fff1c8;color:#966a0f}.conflict .status-symbol{background:#ffe2dd;color:#ad3525}.review-line-grid{display:grid;grid-template-columns:1.2fr 1.6fr .6fr .7fr 1fr .7fr 1fr 1fr 1fr;gap:9px}.review-line-grid label{font-size:10px;font-weight:800;color:var(--muted);text-transform:uppercase}.review-line-grid input{width:100%;margin-top:5px;border:1px solid var(--line);border-radius:8px;padding:10px 8px;color:var(--ink);font:inherit;text-transform:none}.review-line-grid small{display:block;margin-top:3px;text-transform:none}.history-hint,.price-warning,.revision-warning{margin:12px 0 0;padding:10px 12px;border-radius:9px;font-size:12px}.price-warning,.revision-warning{background:#ffece8;color:#9e382a}.history-hint{background:#edf7fe;color:#3479a8}.remove-line{border:0;background:none;color:#a34338;margin-top:12px;padding:0;cursor:pointer}.empty-lines{padding:45px;text-align:center;color:var(--muted);border-top:1px solid var(--line)}.order-save-actions{position:sticky;bottom:0;z-index:12;display:flex;justify-content:flex-end;gap:10px;background:#f3f6f8eF;border:1px solid var(--line);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:16px 20px;border-radius:14px}.source-popover{position:fixed;right:20px;bottom:20px;z-index:70;width:min(540px,calc(100vw - 40px));height:min(620px,calc(100vh - 40px));background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 25px 80px #00182d55;overflow:hidden}.source-popover header{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;border-bottom:1px solid var(--line)}.source-popover header button{border:0;background:none;font-size:25px}.source-popover iframe,.source-popover img{width:100%;height:calc(100% - 52px);object-fit:contain;border:0}.source-popover p{padding:20px}.duplicate-warning{flex-direction:column;background:#fff5df;border-color:#ecc86b;color:#7e5a12}@media(max-width:1050px){.review-line-grid{grid-template-columns:repeat(3,1fr)}.order-review-summary{grid-template-columns:repeat(4,1fr)}.order-review-summary>div:first-child{grid-column:1/-1}.quick-customer{grid-template-columns:1fr 1fr}}@media(max-width:700px){.new-order-heading{flex-direction:column}.order-head-actions{width:100%;flex-wrap:wrap}.order-mode-grid{grid-template-columns:1fr}.order-mode-grid>button{min-height:210px;padding:25px}.scan-workspace{padding:14px}.scan-drop>div{flex-direction:column}.order-review-summary{grid-template-columns:1fr 1fr}.review-items>header{flex-direction:column}.product-combobox{width:100%}.review-line-grid{grid-template-columns:1fr 1fr}.quick-customer{grid-template-columns:1fr}.order-save-actions{flex-direction:column}.order-save-actions button{width:100%}.document-lightbox{padding:35px 10px}}.customer-match-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px}.customer-match-actions .inline-add{font-size:12px}.customer-review-notice{margin:0 0 16px;padding:13px 15px;border:1px solid #b9d9ee;border-radius:11px;background:#edf8ff;color:#255f83;font-size:13px;line-height:1.45}.scan-from-phone{border:1px solid #b9cec4;background:#edf6f1}.phone-scan-backdrop{z-index:220}.phone-scan-dialog{position:relative;width:min(520px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;padding:32px;border:1px solid #d7e4dd;border-radius:26px;background:#fff;box-shadow:0 30px 90px rgba(6,40,29,.3);text-align:center}.phone-scan-dialog h3{margin:9px 0 14px;font-size:1.7rem;color:#153f34}.phone-scan-dialog>img{display:block;width:min(280px,72vw);height:auto;margin:12px auto;border:1px solid #dce7e1;border-radius:18px}.phone-scan-dialog>p:not(.eyebrow){margin:12px auto;max-width:350px;color:var(--muted);line-height:1.5}.phone-scan-dialog>small{display:block;margin:13px 0;color:var(--muted)}.phone-scan-dialog>.secondary{min-width:150px}.phone-scan-close{position:absolute;right:16px;top:16px;width:38px;height:38px;border:0;border-radius:50%;background:#edf2ef;color:#294f43;font-size:24px;cursor:pointer}.phone-scan-waiting{display:flex;align-items:center;justify-content:center;gap:9px;padding:12px;border-radius:12px;background:#edf6f1;color:#28654f;font-weight:800}.phone-scan-waiting i{width:10px;height:10px;border-radius:50%;background:#43bb87;box-shadow:0 0 0 0 rgba(67,187,135,.4);animation:phone-scan-pulse 1.4s infinite}.phone-scan-received>span{display:grid;place-items:center;width:64px;height:64px;margin:20px auto 12px;border-radius:50%;background:#e1f5eb;color:#187354;font-size:30px}.phone-scan-received p{color:var(--muted)}@keyframes phone-scan-pulse{70%{box-shadow:0 0 0 10px rgba(67,187,135,0)}}@media(prefers-reduced-motion:reduce){.phone-scan-waiting i{animation:none}}@media print{.analysis-progress,.app-message,.no-print,.rail,.topbar{display:none!important}.app-shell,.workspace{display:block}.content{padding:0}.panel{box-shadow:none}.review-line-grid{grid-template-columns:repeat(3,1fr)}body{background:#fff}.new-order-page{max-width:none}}.upload-saved{color:#21805e!important;font-weight:750}.upload-pending{color:#9a6a16!important;font-weight:750}.order-attachments{display:grid;gap:16px}.order-attachments>header{display:flex;align-items:center;justify-content:space-between;gap:18px}.order-attachments>header h3{margin:0 0 5px}.order-attachments>header p{margin:0;color:var(--muted);font-size:13px}.order-attachments>header label{cursor:pointer;white-space:nowrap}.order-attachment-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}.order-attachment-list article{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#f8fbfd}.attachment-open{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 10px;min-width:0;padding:13px;border:0;background:transparent;text-align:left;color:var(--ink);cursor:pointer}.attachment-open>span{grid-row:1/3;color:#287fab;font-weight:900}.attachment-open>b,.attachment-open>small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-open>small{color:var(--muted)}.attachment-file-badge,.attachment-thumbnail{grid-row:1/3;width:48px;height:48px;border-radius:9px;object-fit:cover;background:#eaf3f8}.attachment-file-badge{display:grid;place-items:center;color:#287fab;font-size:11px;font-weight:900}.attachment-remove{width:42px;border:0;border-left:1px solid var(--line);background:#fff4f2;color:#a33d34;font-size:22px;cursor:pointer}.order-surcharge-panel{display:grid;gap:18px;padding:28px}.order-surcharge-panel header h3{margin:2px 0 6px;font-size:22px}.order-surcharge-panel header p:last-child{margin:0;color:var(--muted);font-size:13px}.order-surcharge-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px}.order-surcharge-list>div,.order-surcharge-list>label{display:flex;align-items:center;gap:12px;min-height:72px;padding:14px 16px;border:1px solid #d6e2d9;border-radius:12px;background:#fff}.order-surcharge-list>label{cursor:pointer}.order-surcharge-list>div.automatic{background:#edf5ef}.order-surcharge-list input{width:19px;height:19px;accent-color:#1b6848}.order-surcharge-list span{display:grid;gap:3px;min-width:0;flex:1 1}.order-surcharge-list small{color:var(--muted);font-size:11px}.order-surcharge-list>*>strong{display:grid;gap:3px;text-align:right;color:#1b6848;font-size:11px}.order-attachments{padding:28px}.order-attachments>header{padding-bottom:18px;border-bottom:1px solid var(--line)}.order-attachments>header h3{font-size:22px}.order-attachment-list{gap:14px}.attachment-open{padding:16px}.attachment-file-badge,.attachment-thumbnail{width:56px;height:56px}@media(max-width:700px){.order-attachments>header{align-items:stretch;display:grid}.order-attachments>header label{text-align:center}.order-attachment-list{grid-template-columns:1fr}}.approval-tabs{display:flex;gap:8px;margin:0 0 18px;overflow:auto}.approval-tabs button{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--muted);padding:11px 15px;font-size:11px;font-weight:850;white-space:nowrap;cursor:pointer}.approval-tabs button.active{background:#e9f5fd;border-color:#70afd9;color:#247bad}.approval-tabs span{display:grid;place-items:center;min-width:22px;height:22px;border-radius:20px;background:#edf2f5}.card-delete{position:absolute;right:12px;bottom:12px;width:28px;height:28px;border:0;border-radius:8px;background:#fff0ed;color:#a33c2f;cursor:pointer;z-index:2}.job-documents{margin:20px 0}.job-documents>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.job-documents a{display:flex;flex-direction:column;gap:5px;border:1px solid var(--line);border-radius:10px;padding:12px;text-decoration:none;color:var(--ink);background:#f8fbfd}.job-documents a>span{color:#2c86c3;font-weight:900}.job-documents small{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.danger.full{width:100%;margin-top:12px}.draft-process{max-width:900px;margin:0 auto}.draft-process>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.draft-process>header h3{margin:3px 0}.draft-process>button{width:100%;border:0;border-top:1px solid var(--line);background:#fff;padding:16px 4px;display:flex;align-items:center;justify-content:space-between;text-align:left;color:var(--ink);cursor:pointer}.draft-process>button span{display:grid;gap:4px}.draft-process>button small{color:var(--muted)}.approval-list-panel{max-width:980px;margin:0 auto;padding:22px}.approval-list-panel>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.approval-list-panel>header h3{margin:3px 0 0}.approval-list-panel>header>span{display:grid;place-items:center;min-width:38px;height:38px;border-radius:999px;background:#fff2cf;color:#805b08;font-weight:900}.approval-order-list{display:grid;gap:10px}.approval-order-list article{border:1px solid var(--line);border-radius:14px;padding:12px;display:flex;gap:12px;align-items:center;background:#fff}.approval-order-main{border:0;background:transparent;display:flex;flex:1 1;align-items:center;justify-content:space-between;text-align:left;color:var(--ink);cursor:pointer;gap:16px}.approval-order-main>span:first-child{display:grid;gap:4px}.status-arrived{background:#fff2cf;color:#805b08;white-space:nowrap}.approval-order-list article>div{display:flex;gap:8px}.portal-user-list{display:grid;gap:8px;margin-bottom:18px}.portal-user-list>div{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:12px;border-radius:12px}.portal-user-list span{display:grid;flex:1 1}.portal-user-list small{color:var(--muted)}.portal-users-sheet a.secondary{display:inline-flex;align-items:center;text-decoration:none}@media(max-width:700px){.approval-list-panel{padding:15px}.approval-order-list article,.approval-order-main{align-items:stretch;flex-direction:column}.approval-order-list article>div{display:grid;grid-template-columns:1fr 1fr}.status-arrived{align-self:flex-start}.approval-order-list article>div button{width:100%}}.portal-user-notice{margin:0 22px 12px}.portal-user-actions{display:flex;justify-content:space-between;gap:10px}.nested-modal-backdrop{z-index:1100}.portal-user-editor{width:min(650px,calc(100vw - 24px))}.portal-user-editor>.edit-actions,.portal-user-editor>.full{grid-column:1/-1}@media(max-width:700px){.portal-user-actions{display:grid;grid-template-columns:1fr}.portal-user-actions>*{justify-content:center}.portal-user-list>div{align-items:flex-start;flex-wrap:wrap}.portal-user-list>div>i{margin-left:48px}.portal-user-editor{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);overflow:auto}}.portal-user-list{overflow:auto;padding:2px 22px 12px}.portal-user-list>article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 14px;border:1px solid var(--line);padding:13px;border-radius:14px;background:#fff}.portal-user-identity{display:flex;align-items:center;gap:12px;min-width:0}.portal-user-identity .user-avatar.small{width:40px;height:40px;min-width:40px;max-width:40px;flex:0 0 40px;border-radius:50%;aspect-ratio:1/1;font-size:12px;line-height:1;box-shadow:0 0 0 1px #c8dae5}.portal-user-identity span:not(.user-avatar){display:grid;min-width:0;flex:1 1}.portal-user-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-user-row-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:7px;padding-top:9px;border-top:1px solid #edf1f4}.portal-user-row-actions button{display:inline-flex;align-items:center;gap:5px;border:0;border-radius:8px;background:#edf5f9;color:#245e7f;padding:8px 10px;font-size:12px;font-weight:750;cursor:pointer;position:relative;z-index:2}.portal-user-row-actions button.danger{background:#fff1f0;color:#a13f37}.portal-user-row-actions button:disabled{opacity:.5}.portal-mail-hint{display:none}.portal-users-sheet{grid-template-rows:auto auto minmax(120px,1fr) auto}.portal-editor-layer{z-index:2147483000!important;position:fixed!important;inset:0!important}.customer-detail-modal:has(.portal-editor-layer){overflow:visible}.portal-user-editor>.app-message{margin:0;border-radius:10px}.portal-user-editor label small{display:inline;color:var(--muted);font-weight:600}.portal-mail-settings{max-width:800px}.portal-mail-form{display:grid;gap:14px}.portal-mail-form label{display:grid;gap:7px;font-size:12px;font-weight:800}.portal-mail-form input,.portal-mail-form textarea{width:100%;border:1px solid #cddde6;border-radius:11px;background:#fbfcfd;padding:13px;font:inherit;color:var(--ink)}.portal-mail-form textarea{resize:vertical;line-height:1.55}.portal-mail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.portal-template-help{margin:0;color:var(--muted);font-size:12px}.portal-template-help code{background:#edf3f6;border-radius:5px;padding:3px 5px;color:#205f83}@media(max-width:700px){.portal-user-row-actions button span{display:none}.portal-user-list>article{grid-template-columns:1fr}.portal-user-list>article>i{justify-self:start;margin-left:52px}.portal-mail-grid{grid-template-columns:1fr}}.portal-settings-card{border:1px solid #d7e4ec;border-radius:16px;background:#fff;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:20px}.portal-settings-card.stacked{display:grid}.portal-settings-card h4{margin:0 0 5px;font-size:16px}.portal-settings-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.portal-settings-card .toggle-row.compact{display:flex;min-width:220px}.mail-alias-field{display:flex;align-items:stretch;border:1px solid #cddde6;border-radius:11px;overflow:hidden;background:#fbfcfd}.portal-mail-form .mail-alias-field input{border:0;border-radius:0;min-width:0}.mail-alias-field span{display:flex;align-items:center;padding:0 14px;background:#edf3f6;color:#456276;font-weight:750;white-space:nowrap}.portal-mail-preview{display:grid;gap:10px;border:1px solid #d8e5ed;border-radius:13px;background:#f8fbfd;padding:18px}.portal-mail-preview small{color:#688196}.portal-mail-preview b{font-size:16px}.portal-mail-preview p{white-space:pre-wrap;color:#28465c}.portal-mail-advanced{border-top:1px solid #e1e9ee;padding-top:12px}.portal-mail-advanced summary{cursor:pointer;color:#236f9f;font-size:13px;font-weight:850}.portal-mail-editor{display:grid;gap:13px;padding-top:15px}.portal-settings-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}@media(max-width:700px){.portal-settings-card{align-items:stretch;display:grid}.portal-settings-card .toggle-row.compact{min-width:0}.mail-alias-field span{padding:0 10px}.portal-settings-actions{display:grid}.portal-settings-actions button{width:100%}}.scan-add-more{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #bed8e8;border-radius:14px;background:#f5fbff;padding:14px 16px}.scan-add-more>div{display:flex;gap:9px;flex-wrap:wrap}.scan-add-more>div:first-child{display:grid;gap:3px}.scan-add-more small{color:var(--muted)}.scan-add-more label{cursor:pointer}.analysis-progress-backdrop{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:20px;background:#06233a99;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.analysis-progress-card{width:min(440px,calc(100vw - 32px));display:grid;justify-items:center;text-align:center;gap:10px;border:1px solid #c8e1ef;border-radius:24px;background:#fff;padding:34px 26px;box-shadow:0 30px 90px #001b3055}.analysis-progress-card h3{margin:0;font-size:20px;line-height:1.35}.analysis-progress-card p,.analysis-progress-card small{margin:0}.analysis-progress-card small{color:var(--muted)}.analysis-orbit{position:relative;width:72px;height:72px;border-radius:50%;background:linear-gradient(145deg,#e5f6ff,#dff8ee);animation:analysis-pulse 1.7s ease-in-out infinite}.analysis-orbit i{position:absolute;width:12px;height:12px;border-radius:50%;background:#2d8fc9;left:30px;top:5px;transform-origin:6px 31px}.analysis-orbit i:nth-child(2){transform:rotate(120deg);background:#43c694}.analysis-orbit i:nth-child(3){transform:rotate(240deg);background:#0e456d}@keyframes analysis-pulse{50%{transform:scale(1.06);box-shadow:0 0 0 12px #3c9fd015}}.document-price-notice{display:grid;gap:5px;border:1px solid #e3bd5e;border-radius:14px;background:#fff8e5;color:#795613;padding:15px 17px}.review-line>header .create-product-symbol{margin-left:0;padding:0;flex:0 0 30px;background:#e4f4ff;color:#247eaf;border:1px solid #9fcee8;font-size:19px}.review-line>header .create-product-symbol:hover{background:#d4efff}.review-line>header .create-product-symbol:disabled{opacity:.45;cursor:not-allowed}.line-description-field{grid-column:1/-1}.review-line-grid .line-description-field textarea{width:100%;min-height:72px;margin-top:5px;border:1px solid var(--line);border-radius:8px;padding:10px;color:var(--ink);font:inherit;line-height:1.45;text-transform:none;resize:vertical}.document-line-price{margin:12px 0 0;padding:10px 12px;border-radius:9px;background:#fff8e5;color:#795613;font-size:12px}.catalog-message{margin:16px 22px 0;padding:12px 14px;border-radius:10px;background:#edf8ff;color:#225f83}.bulk-create-products{margin:16px 22px 0;width:calc(100% - 44px)}.scan-match-approval{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0 0;padding:14px 16px;border:1px solid #e3bd5e;border-radius:12px;background:#fff8e5;color:#6d4f12}.scan-match-approval>div{display:grid;gap:4px}.scan-match-approval span{font-size:12px;line-height:1.45}.scan-match-approval button{flex:0 0 auto}.new-order-surcharges{display:grid;gap:8px;margin:18px 22px 22px;padding:16px;border:1px solid var(--line);border-radius:13px;background:#f7faf8}.new-order-surcharges legend{padding:0 6px;font-weight:850}.new-order-surcharges>p{margin:0 0 4px;color:var(--muted);font-size:13px}.new-order-surcharges label{display:flex!important;align-items:center;gap:10px;padding:10px 12px!important;border:1px solid #d8e4dc!important;border-radius:10px!important;background:#fff!important;cursor:pointer}.new-order-surcharges input{width:18px;height:18px;accent-color:#1b6848}.new-order-surcharges span{display:grid;gap:2px}.new-order-surcharges small{color:var(--muted)}@media(max-width:700px){.scan-add-more{align-items:stretch;display:grid}.scan-add-more>div:last-child{display:grid;grid-template-columns:1fr 1fr}.scan-add-more label{text-align:center;padding-inline:10px}.analyze-button{width:100%;min-height:54px;position:sticky;bottom:12px;z-index:5}.document-strip{grid-template-columns:1fr}.document-strip article{display:grid;grid-template-columns:120px minmax(0,1fr)}.document-strip article footer{grid-column:1/-1}.doc-preview{height:120px}.review-line>header{align-items:flex-start;flex-wrap:wrap}.review-line>header>div{min-width:0;flex:1 1}.review-line>header>button:not(.create-product-symbol){margin-left:40px}.line-description-field{grid-column:1/-1}.analysis-progress-card{padding:30px 20px}.bulk-create-products{margin-inline:14px;width:calc(100% - 28px)}.scan-match-approval{align-items:stretch;display:grid}.scan-match-approval button{width:100%}.new-order-surcharges{margin-inline:14px}}.analysis-progress-backdrop{background:#06233aa8}.analysis-progress-card{border-color:#c9ddd0;border-radius:22px;padding:36px 28px 30px}.analysis-progress-card h3{max-width:350px;margin-top:2px}.analysis-document-icon{position:relative;width:82px;height:82px;display:grid;place-items:center;overflow:hidden;border:1px solid #c6d9cb;border-radius:20px;background:#e8f1e9;color:#174a36;box-shadow:inset 0 1px #fff,0 10px 24px #123f2d1a}.analysis-document-icon svg{width:52px;height:52px;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.analysis-scan-beam{position:absolute;left:13px;right:13px;top:17px;height:2px;border-radius:2px;background:#28b978;box-shadow:0 0 8px #28b978;animation:analysis-scan 1.8s ease-in-out infinite}.analysis-progress-track{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;width:112px;margin-top:7px}.analysis-progress-track i{height:4px;border-radius:4px;background:#dce7df;animation:analysis-track 1.5s ease-in-out infinite}.analysis-progress-track i:nth-child(2){animation-delay:.18s}.analysis-progress-track i:nth-child(3){animation-delay:.36s}@keyframes analysis-scan{0%,to{transform:translateY(0);opacity:.55}50%{transform:translateY(47px);opacity:1}}@keyframes analysis-track{0%,55%,to{background:#dce7df}25%{background:#1b6848}}@media(prefers-reduced-motion:reduce){.analysis-progress-track i,.analysis-scan-beam{animation:none}.analysis-progress-track i:first-child{background:#1b6848}}.scan-price-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 0;padding:15px;border:1px solid #e2ad43;border-radius:13px;background:#fff8e7;color:#684b0e}.scan-price-choice>div{grid-column:1/-1;display:grid;gap:4px}.scan-price-choice>div span{font-size:12px;line-height:1.45}.scan-price-choice>button{display:grid;gap:3px;text-align:left;border:1px solid #d8bd7a;border-radius:10px;background:#fff;padding:12px;color:inherit;cursor:pointer}.scan-price-choice>button:hover{border-color:#9a7019;background:#fffdf7}.scan-price-choice small{color:#806526}.scan-price-choice strong{font-size:18px}.scan-price-choice button span{font-size:11px;font-weight:800}.review-line-grid select{width:100%;margin-top:5px;border:1px solid var(--line);border-radius:8px;padding:10px 8px;color:var(--ink);font:inherit;background:#fff}@media(max-width:700px){.scan-price-choice{grid-template-columns:1fr}}.portal-reply-to{grid-column:1/-1}.plan-locked-inline{background:#f7f9fb}.plan-locked-inline h4{display:flex;align-items:center;gap:8px}.plan-locked-inline .pro-feature-badge{display:inline-flex;margin:0;padding:3px 7px;font-size:10px}.plan-locked-inline input:disabled{cursor:not-allowed}.order-custom-field-label{display:flex;align-items:baseline;gap:8px;min-height:20px}.order-custom-field-label small{white-space:nowrap}.review-line-grid{grid-template-columns:minmax(130px,1.1fr) minmax(180px,1.8fr) minmax(90px,.65fr) minmax(90px,.7fr) minmax(120px,1fr);gap:12px}@media(max-width:900px){.review-line-grid{grid-template-columns:1fr 1fr}.review-line-grid label:nth-child(2){grid-column:span 1}}@media(max-width:520px){.review-line{padding:17px 14px}.review-line>header{align-items:flex-start;flex-wrap:wrap}.review-line>header button{margin-left:40px}.review-line-grid{grid-template-columns:1fr}.review-line-grid label:nth-child(2){grid-column:auto}.review-line-grid input{min-height:48px;font-size:16px}}.customer-order-history{padding:20px 30px 28px;border-top:1px solid var(--line)}.customer-order-history h3{margin:0 0 12px}.customer-order-history>p{color:var(--muted)}.customer-order-history article{display:grid;grid-template-columns:1fr auto;gap:8px 15px;padding:13px 0;border-bottom:1px solid var(--line)}.customer-order-history article>div:first-child{display:flex;flex-direction:column;gap:5px}.customer-order-history article>span,.customer-order-history small{color:var(--muted);font-size:12px}.history-documents{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}.history-documents a{font-size:11px;background:#edf7fe;color:#247bb4;padding:7px 9px;border-radius:7px;text-decoration:none}.economic-hub{display:grid;gap:18px;max-width:900px}.economic-card header{display:flex;gap:14px;align-items:center;margin-bottom:18px}.economic-card h3{margin:0 0 5px}.economic-card header p{margin:0;color:var(--muted)}.economic-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#aeb8c0;margin-right:5px}.economic-dot.healthy{background:#37ad7b}.economic-dot.degraded,.economic-dot.testing{background:#e6b43e}.economic-dot.error{background:#d95549}.economic-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.economic-facts span{padding:13px;background:#f3f7fa;border-radius:9px;color:var(--muted);font-size:12px}.economic-facts b{display:block;color:var(--ink);margin-top:4px}.economic-check{display:flex!important;flex-direction:row!important;align-items:center;gap:9px!important;margin:14px 0!important}.economic-check input{width:18px;height:18px}.economic-sync-button{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:0 16px;border:1px solid #9bcfe4;border-radius:12px;background:linear-gradient(135deg,#eff9fd,#e0f3fa);color:#174a67;font-weight:800;cursor:pointer;box-shadow:0 3px 12px rgba(25,99,134,.08)}.economic-sync-button span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#2d89b5;color:#fff;font-size:16px;line-height:1}.economic-sync-button:hover:not(:disabled){border-color:#5aa8ce;background:#d8f0fa}.economic-sync-button:disabled{opacity:.55;cursor:not-allowed}.mapping-list{display:grid;gap:9px;margin:16px 0}.mapping-row{display:grid;grid-template-columns:180px 1fr 75px;gap:10px;align-items:center}.economic-mapping>label>input,.mapping-policy select,.mapping-row select{border:1px solid var(--line);border-radius:8px;padding:11px;background:#fff;color:var(--ink)}.mapping-policy{display:flex!important;flex-direction:row!important;align-items:center;gap:12px!important}.economic-mapping>label:not(.economic-check):not(.mapping-policy){display:flex;flex-direction:column;gap:7px;margin:17px 0}.preflight-errors{background:#fff0ed;color:#a33b2e;border:1px solid #efbcb4;border-radius:10px;padding:14px;margin-bottom:18px}.preflight-errors p{margin:7px 0}.invoice-preview .modal-body{padding:24px 30px}.preview-lines>div{display:grid;grid-template-columns:1fr auto auto;gap:20px;padding:14px 0;border-bottom:1px solid var(--line)}.preview-lines small{display:block;color:var(--muted);margin-top:4px}.invoice-preview .modal-body>footer{display:flex;justify-content:space-between;padding:20px 0;font-size:18px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:18px 30px;border-top:1px solid var(--line)}@media(max-width:700px){.economic-facts,.mapping-row,.preview-lines>div{grid-template-columns:1fr}.modal-actions{flex-direction:column}}.settings-content .economic-settings{max-width:980px;width:100%}.economic-settings .integration-title{align-items:start;display:grid;gap:22px;grid-template-columns:52px minmax(0,1fr);margin-bottom:30px}.economic-settings .integration-title>div:last-child{min-width:0;padding-top:2px}.economic-settings .integration-title.integration-title-copy{display:block}.employee-group-setting{align-items:end;display:grid;gap:16px;grid-template-columns:minmax(0,1fr) minmax(190px,280px);margin:18px 0}.employee-group-setting>span{display:grid;gap:5px;min-width:0}.employee-group-setting small{color:var(--muted);font-weight:500;line-height:1.45}.employee-group-setting select{min-height:46px;min-width:0;width:100%}.employee-group-list{display:grid;gap:9px;grid-column:1/-1}.employee-group-row{align-items:center;background:#f5f8fa;border:1px solid var(--line);border-radius:12px;display:grid;gap:10px;grid-template-columns:auto minmax(150px,1fr) auto;padding:10px}.employee-group-actions,.employee-group-meta{align-items:center;display:flex;gap:8px;min-width:0}.employee-group-meta{flex-wrap:wrap}.employee-group-actions{justify-content:flex-end}.employee-group-number{color:#287fb9;font-weight:850;text-align:center}.employee-group-create input,.employee-group-row input{min-height:44px;min-width:0;width:100%}.fallback-badge{align-items:center;background:#dff5ea;border-radius:999px;color:#1f7657;display:inline-flex;font-size:12px;font-weight:850;min-height:30px;min-width:max-content;padding:6px 10px;white-space:nowrap}.employee-group-feedback{border-radius:12px;font-weight:750;grid-column:1/-1;padding:12px 14px}.employee-group-feedback.success{background:#e7f6ee;border:1px solid #b9dfca;color:#1c6d50}.employee-group-feedback.error{background:#fff0ed;border:1px solid #efbcb4;color:#97372c}.economic-direct-sync{background:#edf8f3;border:1px solid #bce2cf;border-radius:13px;display:grid;gap:5px;margin-top:18px;padding:14px 16px}.economic-direct-sync small{color:#3d6f5c;line-height:1.45}.zero-value-warning{background:#fff3d7;border-radius:999px;color:#805b12;display:block;font-size:11px;font-weight:800;margin-top:6px;padding:4px 8px;width:max-content}.employee-group-create{display:grid;gap:10px;grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto}.economic-settings .integration-title h3{font-size:23px;line-height:1.2;margin:0 0 8px}.economic-settings .integration-title p{line-height:1.55;margin:0}.economic-settings .economic-logo{align-items:center;display:flex;flex:0 0 52px;height:52px;justify-content:center;line-height:1;width:52px}.economic-settings .economic-logo span{display:block;line-height:1;transform:translateY(-1px)}.economic-settings .settings-section{border-top:1px solid var(--line);padding:26px 0 8px}.economic-settings .settings-section h4{font-size:19px;margin:0 0 18px}.economic-settings .toggle-row>span{display:grid;gap:7px;min-width:0;padding-right:20px}.economic-settings .toggle-row small{line-height:1.5;margin:0}.economic-safety-note{background:#edf8f3;border:1px solid #bce2cf;border-radius:13px;color:#1b684d;display:grid;gap:5px;line-height:1.45;margin-bottom:10px;padding:14px 16px}.economic-safety-note span{color:#3d6f5c;font-size:13px}.economic-settings .economic-product-group-row{align-items:center;border:1px solid #dce7ed;border-radius:14px;display:grid;gap:18px;grid-template-columns:minmax(250px,.9fr) minmax(280px,1.1fr);margin:12px 0;max-width:100%;overflow:hidden;padding:16px}.economic-settings .mapping-copy{display:grid;gap:5px;min-width:0}.economic-settings .mapping-copy b,.economic-settings .mapping-copy em,.economic-settings .mapping-copy small{display:block;line-height:1.35;margin:0}.economic-settings .mapping-copy small{color:var(--muted)}.economic-settings .mapping-copy em{color:#35647d;font-size:12px;font-style:normal;font-weight:700}.economic-settings .economic-product-group-row select{justify-self:stretch;max-width:100%;min-width:0;width:100%}@media(max-width:1000px){.economic-settings .economic-product-group-row{grid-template-columns:minmax(0,1fr)}}@media(max-width:760px){.economic-settings .integration-title{gap:15px;grid-template-columns:46px minmax(0,1fr)}.economic-settings .economic-logo{height:46px;width:46px}.economic-settings .integration-title h3{font-size:20px}.economic-settings .economic-product-group-row{grid-template-columns:1fr;gap:12px;padding:14px}.economic-settings .toggle-row{align-items:flex-start;gap:12px}.employee-group-setting{align-items:stretch;grid-template-columns:minmax(0,1fr)}.employee-group-row{align-items:stretch;gap:9px;grid-template-columns:1fr;padding:11px}.employee-group-meta{display:grid;grid-template-columns:auto auto;justify-content:start;width:100%}.employee-group-row input{grid-column:1}.employee-group-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.employee-group-actions:has(>button:only-child){grid-template-columns:1fr}.employee-group-row button{width:100%}.employee-group-create{grid-template-columns:1fr}}@media(max-width:430px){.employee-group-setting{margin-inline:-2px}.employee-group-row{border-radius:14px;padding:10px}.employee-group-actions{gap:7px}.employee-group-actions button{min-height:44px;padding-inline:10px}.fallback-badge{font-size:11px;padding-inline:9px}}.customer-sync-filters{display:flex;gap:8px;margin:0 0 15px}.customer-sync-filters button{border:1px solid var(--line);border-radius:20px;background:#fff;padding:8px 13px;color:var(--muted);cursor:pointer}.customer-sync-filters button.active{background:#e7f5ff;color:#247dbb;border-color:#9fcbea}.table-row.customer.economic-customer{grid-template-columns:1.25fr .65fr 1.05fr .7fr .8fr .95fr}.economic-customer small{display:block;color:var(--muted);margin-top:4px}@media(max-width:1100px){.table-row.customer.economic-customer{grid-template-columns:1.35fr .75fr 1fr .85fr}.economic-customer>:nth-child(5),.economic-customer>:nth-child(6){display:none}}@media(max-width:720px){.table-row.customer.economic-customer{grid-template-columns:1.4fr .85fr 1fr}.economic-customer>:nth-child(n+4){display:none}}.merge-customer-results{display:grid;gap:6px;max-height:260px;overflow:auto;padding:6px;border:1px solid var(--line);border-radius:12px;background:#fff}.merge-customer-results button{display:grid;gap:3px;text-align:left;border:1px solid transparent;border-radius:9px;background:#f5f8fa;padding:10px 12px;color:var(--ink);cursor:pointer}.merge-customer-results button.selected,.merge-customer-results button:hover{border-color:#3d94d3;background:#e8f5fc}.merge-customer-results small{color:var(--muted)}.invoice-editor{width:min(1050px,100%)}.invoice-add-tools{display:grid;grid-template-columns:minmax(260px,1fr) auto;align-items:end;gap:10px;padding:14px;border:1px solid var(--line);border-radius:13px;background:#f7fafc}.invoice-add-tools label{display:grid;gap:7px;font-size:12px;font-weight:800}.invoice-add-tools select,.invoice-edit-lines input{width:100%;min-height:44px;border:1px solid #cbdce5;border-radius:9px;background:#fff;padding:10px;font:inherit}.surcharge-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:14px 0;padding:13px;border:1px solid #cce5d9;border-radius:13px;background:#f0faf5}.surcharge-buttons>b{margin-right:5px}.invoice-edit-lines{display:grid;margin-top:14px;border:1px solid var(--line);border-radius:12px;overflow:hidden}.invoice-edit-lines>div{display:grid;grid-template-columns:minmax(180px,1.5fr) 90px 130px 110px 40px;align-items:end;gap:10px;padding:12px;border-bottom:1px solid var(--line)}.invoice-edit-lines>div:last-child{border-bottom:0}.invoice-edit-lines label,.invoice-edit-lines span{display:grid;gap:5px}.invoice-edit-lines label,.invoice-edit-lines small{color:var(--muted);font-size:11px}.invoice-edit-lines strong{align-self:center;text-align:right}.delete-link{color:#a43d38!important}.surcharge-settings{margin-top:20px}.surcharge-rule{display:grid;grid-template-columns:1.2fr 1fr .6fr 1.4fr auto 40px;align-items:end;gap:10px;padding:14px 0;border-top:1px solid var(--line)}.surcharge-rule label:not(.economic-check){display:grid;gap:7px;font-size:12px;font-weight:800}.surcharge-rule input:not([type=checkbox]),.surcharge-rule select{width:100%;min-width:0;min-height:44px;border:1px solid #cbdce5;border-radius:9px;background:#f8fafb;padding:10px;font:inherit}.surcharge-rule .economic-check{margin:0!important;min-height:44px}.surcharge-rule>.icon-action{margin-bottom:4px}.invoice-header-actions{display:flex;align-items:center;gap:9px}.invoice-notification{display:flex!important;align-items:center;gap:8px;width:auto!important;min-height:44px;padding:8px 12px!important;border:1px solid #cbdce5!important;border-radius:13px!important;background:#f4f8fa!important;color:#466174!important;font-size:13px!important;font-weight:850}.invoice-notification svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.invoice-notification.sent{border-color:#a8ddc9!important;background:#eaf8f2!important;color:#16795d!important}.invoice-documents{margin:0 0 14px;padding:12px;border:1px solid var(--line);border-radius:13px;background:#f7fafc}.invoice-documents>header h3,.invoice-documents>header p{margin:0}.invoice-documents>header p{color:var(--muted);font-size:12px}.invoice-documents>div{display:flex;gap:9px;margin-top:10px;overflow-x:auto}.invoice-documents a{position:relative;display:block;flex:0 0 72px;height:72px;border:1px solid #cbdce5;border-radius:11px;overflow:hidden;background:#e9f3f8;color:#287fb9;text-decoration:none}.invoice-documents img{width:100%;height:100%;object-fit:cover}.invoice-documents a>span{display:grid;place-items:center;height:100%;font-size:13px;font-weight:900}.invoice-documents small{position:absolute;right:4px;bottom:4px;padding:2px 5px;border-radius:6px;background:rgba(7,30,47,.78);color:#fff;font-size:9px}.invoice-line-open{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;width:100%;padding:7px;border:0;border-radius:9px;background:transparent;color:var(--ink);text-align:left;cursor:pointer}.invoice-line-open:focus-visible,.invoice-line-open:hover{background:#eef6fa}.invoice-line-open b,.invoice-line-open small{grid-column:1}.invoice-line-open i{grid-column:2;grid-row:1/3;font-size:25px;font-style:normal;transition:transform .15s}.invoice-edit-lines>div.expanded .invoice-line-open i{transform:rotate(90deg)}.invoice-line-details{grid-column:1/-1;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;border-radius:9px;background:#f1f7fa}.invoice-line-details span{font-size:11px;color:var(--muted)}.invoice-line-details b{color:var(--ink)}.invoice-reference-edit{display:grid;gap:8px;margin-bottom:14px;font-weight:800}.invoice-reference-edit>span{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.invoice-reference-edit small{color:var(--muted);font-weight:600}.invoice-reference-edit input{width:100%;min-height:46px;border:1px solid #cbdce5;border-radius:9px;background:#fff;padding:10px 12px;font:inherit;color:var(--ink)}.invoice-row.has-preflight-errors{background:#fff7f5;box-shadow:inset 4px 0 #d95549}.invoice-row.has-preflight-errors:hover{background:#fff0ed}.invoice-error-summary{color:#a33b2e!important;font-weight:750;line-height:1.35;max-width:46ch}.invoice-ready-summary{color:#318061!important}.invoice-row[role=button]{cursor:pointer;transition:background .15s ease}.invoice-row[role=button]:hover{background:#f5fafc}.invoice-row[role=button]:focus-visible{outline:3px solid rgba(41,143,201,.28);outline-offset:-3px}@media(max-width:850px){.surcharge-rule{grid-template-columns:1fr 1fr}.surcharge-rule>.economic-check,.surcharge-rule>.icon-action{justify-self:start}.invoice-edit-lines>div{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:12px}.invoice-edit-lines>div>.invoice-line-open{grid-column:1/-1}.invoice-edit-lines>div>strong{text-align:left}.invoice-add-tools,.invoice-line-details{grid-template-columns:1fr}.invoice-header-actions{align-items:flex-end;flex-direction:column-reverse}.invoice-notification span{display:none}}.economic-brand-icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;overflow:hidden}.economic-brand-icon img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain}.economic-card .economic-check.toggle-row{margin:16px 0!important;padding:14px 0!important;border-top:1px solid var(--line)}.economic-card .economic-check.toggle-row>span{display:grid;gap:4px}.economic-card .economic-check.toggle-row small{color:var(--muted);font-weight:500}.invoice-mail-status{display:flex!important;align-items:center;gap:6px;color:#23765c!important;font-weight:750}.invoice-mail-status svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.invoice-mail-status>span{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#dff5eb;font-size:11px}.invoice-email-panel{display:grid;gap:12px;margin-top:20px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#f7fafc}.invoice-email-panel h3,.invoice-email-panel p{margin:0}.invoice-email-panel label{display:grid;gap:6px;font-weight:750}.invoice-email-panel input,.invoice-email-panel textarea{width:100%;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);padding:12px;font:inherit}.invoice-email-panel textarea{min-height:110px;resize:vertical}.invoice-email-panel button{min-height:44px;justify-self:start}.invoice-return-tag{display:inline-flex!important;align-items:center;justify-self:start;width:max-content;padding:4px 9px;border-radius:999px;background:#e8f4f0;color:#175844!important;font-size:12px;font-weight:800;letter-spacing:.01em}.invoice-return-review{margin-bottom:18px;padding:16px 18px;border:1px solid #b8d9cc;border-radius:14px;background:#f1f8f5;color:#174735}.invoice-return-review p{margin:5px 0 0;color:#315c4c}.invoice-return-review dl{display:flex;flex-wrap:wrap;gap:10px 24px;margin:14px 0 0}.invoice-return-review dl>div{min-width:120px}.invoice-return-review dt{font-size:12px;color:#517366}.invoice-return-review dd{margin:2px 0 0;font-weight:750}