:root{color:#17252a;font-synthesis:none;background:#f7f9f9;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif}*{box-sizing:border-box}body{-webkit-font-smoothing:antialiased;min-width:320px;min-height:100vh;margin:0}.system-state-screen{background:#f5f7f6;place-items:center;min-height:100vh;padding:24px;display:grid}.system-state-card{text-align:center;background:#fff;border:1px solid #dce4e1;border-radius:12px;width:min(460px,100%);padding:44px 38px;box-shadow:0 18px 50px #1c373217}.system-state-card>svg{color:#b45309;width:42px;height:42px}.system-state-card h1{margin:16px 0 8px;font-size:24px}.system-state-card p{color:#66736f;margin:0 0 24px;line-height:1.7}.system-state-spinner{border:3px solid #d9e7e4;border-top-color:#16877e;border-radius:50%;width:36px;height:36px;margin:0 auto;animation:.8s linear infinite system-spin}@keyframes system-spin{to{transform:rotate(360deg)}}.system-connection-banner{z-index:2000;color:#9f2d25;background:#fff2f0;border:1px solid #e6b9b4;border-radius:8px;align-items:center;gap:9px;max-width:calc(100vw - 32px);padding:10px 16px;display:flex;position:fixed;top:10px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #4a25201f}.system-connection-banner.demo{color:#855b09;background:#fff8e7;border-color:#e6cc91}.system-connection-banner svg{flex:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-frame{--nav-w:166px;background:#f7f9f9;min-height:100vh}.sidebar{z-index:30;width:var(--nav-w);background:#fbfcfc;border-right:1px solid #e4e9e9;flex-direction:column;transition:width .2s;display:flex;position:fixed;inset:0 auto 0 0}.sidebar.collapsed{width:64px}.brand{white-space:nowrap;border-bottom:1px solid #e4e9e9;align-items:center;height:68px;padding:0 16px;display:flex;overflow:hidden}.brand-logo{color:#087d78;white-space:nowrap;align-items:center;gap:9px;display:flex}.brand-logo svg{color:#22a7a0;flex:none}.brand-logo span{color:#17383a;letter-spacing:-.5px;font-size:16px;font-weight:800}.brand .brand-logo span{white-space:normal;word-break:break-all;width:64px;line-height:1.2}.sidebar.collapsed .brand{padding:0 9px}.sidebar.collapsed .brand-logo{justify-content:center;width:46px}.sidebar nav{gap:4px;padding:12px 0;display:grid}.sidebar nav button,.collapse-button{color:#4c5d60;white-space:nowrap;background:0 0;border:0;align-items:center;gap:14px;height:54px;padding:0 22px;display:flex;position:relative}.sidebar nav button:before{content:"";left:0;background:0 0;width:3px;position:absolute;inset-block:0}.sidebar nav button.active{color:#087d78;background:#eaf7f6;font-weight:700}.sidebar nav button.active:before{background:#169e98}.sidebar nav button:hover{color:#087d78;background:#f0f7f7}.collapse-button{border-top:1px solid #e4e9e9;width:100%;margin-top:auto}.page-shell{margin-left:var(--nav-w);min-width:0;min-height:100vh;transition:margin-left .2s}.nav-collapsed .page-shell{margin-left:64px}.topbar{background:#fff;border-bottom:1px solid #e5e9e9;justify-content:space-between;align-items:center;height:58px;padding:0 24px;display:flex}.crumbs{align-items:center;gap:12px;font-size:15px;display:flex}.crumbs strong{font-size:17px}.crumbs span{color:#7e8d8f}.top-actions{color:#4b5b5d;align-items:center;gap:20px;font-size:13px;display:flex}.date,.user-button{align-items:center;gap:7px;display:flex}.icon-button,.user-button{color:#324548;background:0 0;border:0}.icon-button{place-items:center;padding:6px;display:grid;position:relative}.avatar{color:#087d78;background:#e6f4f3;border-radius:50%;place-items:center;width:30px;height:30px;font-weight:700;display:grid}.record-title{background:#fff;border-bottom:1px solid #e5e9e9;align-items:center;gap:8px;height:60px;padding:0 24px;display:flex}.record-title>i{background:#dfe5e5;width:1px;height:20px;margin:0 8px}.back-button{color:#087d78;background:0 0;border:0;align-items:center;gap:5px;padding:7px 4px;display:inline-flex}.back-button svg{width:18px;height:18px}.record-title strong{font-size:17px}.record-title span{color:#495a5c}.review-pill{background:#fff2dd;border:1px solid #f4d296;border-radius:999px;margin-left:10px;padding:4px 9px;font-size:12px;color:#a86706!important}.review-pill.readonly-pill{background:#eef4f4;border-color:#d9e3e2;color:#526668!important}.record-title-spacer{flex:1}.record-tool-button{color:#087d78;white-space:nowrap;background:#fff;border:1px solid #cfe0de;border-radius:5px;align-items:center;gap:6px;min-height:34px;padding:0 11px;font-size:12px;font-weight:650;display:inline-flex}.record-tool-button:hover{background:#eef8f7;border-color:#159d97}.record-tool-button svg{width:17px;height:17px}.review-grid{background:#fff;grid-template-columns:45% 8px minmax(0,1fr);height:calc(100vh - 118px);display:grid}.review-grid.document-collapsed{display:block}.review-grid.document-collapsed .review-pane{height:100%}.document-pane{background:#f6f8f7;flex-direction:column;min-width:0;display:flex;overflow:hidden}.document-toolbar{background:#fff;border-bottom:1px solid #e1e6e5;flex:none;align-items:center;gap:8px;height:60px;padding:0 18px;display:flex}.document-toolbar button{color:#47585a;background:0 0;border:0;border-radius:6px;align-items:center;gap:5px;padding:8px;display:flex}.document-toolbar button:hover{color:#087d78;background:#edf4f3}.document-toolbar button svg{width:18px;height:18px}.document-toolbar i{background:#dfe5e5;width:1px;height:20px;margin:0 3px}.document-viewer-title{color:#26393a;white-space:nowrap;align-items:center;gap:7px;margin-right:6px;font-size:14px;display:inline-flex}.document-viewer-title svg{color:#087d78;width:19px;height:19px}.document-toolbar .document-close-button{color:#667779;margin-left:2px}.document-count{color:#738183;white-space:nowrap;align-items:center;gap:7px;margin-left:auto;font-size:12px;display:flex}.document-count button{color:#167f7b;background:0 0;border:0;padding:2px 4px;font-size:12px}.document-count button:disabled{color:#b8c1c1;cursor:default}.order-status.recognizing{color:#397a9b;background:#e8f4f9}.order-status.failed{color:#c23e37;background:#fbeceb}.muted-action{color:#879393;font-size:12px}.auth-screen{background:linear-gradient(145deg,#f4f2eb,#e8f2f0);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{background:#fffdfa;border:1px solid #dfe6e2;width:min(420px,100%);padding:36px;box-shadow:0 24px 70px #1a393724}.auth-card>.brand-logo{margin-bottom:28px}.auth-card>.brand-logo span{font-size:20px}.auth-card h1{color:#203536;margin:0 0 8px;font-size:26px}.auth-card p{color:#718080;margin:0 0 26px}.auth-card form{gap:16px;display:grid}.auth-card label{color:#324748;gap:7px;font-weight:600;display:grid}.auth-card input{height:42px;font:inherit;border:1px solid #ccd8d5;padding:0 12px}.auth-card small{color:#7a8888}.auth-card .primary{justify-content:center;height:44px;margin-top:4px}.auth-error{color:#bd3f38;background:#fbeceb;align-items:center;gap:7px;padding:10px 12px;display:flex}.page-actions{align-items:center;gap:10px;display:flex}.warehouse-settings-modal{width:min(680px,100vw - 32px)}.warehouse-settings-head,.warehouse-setting-row{align-items:center;gap:16px;display:flex}.warehouse-settings-head{justify-content:space-between;margin-bottom:10px}.warehouse-setting-row{border-top:1px solid #e6ebe8;min-height:58px;padding:9px 0}.warehouse-setting-row>span:first-child{flex:1;gap:4px;display:grid}.warehouse-setting-row small{color:#7a8888}.warehouse-edit-layer{z-index:80;background:#1425256b}.document-stage{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:#efeae0;flex:1;place-items:center;min-height:0;padding:18px;display:grid;overflow:hidden}.document-stage.is-dragging{cursor:grabbing}.document-stage img{pointer-events:none;transform-origin:50%;will-change:transform;width:min(92%,600px);height:auto;transition:transform .18s;box-shadow:0 5px 18px #3c302224}.document-stage.is-dragging img{transition:none}.document-lightbox-backdrop{z-index:120;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#132222ad;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.document-lightbox-shell{background:#fff;border-radius:10px;width:min(1120px,100%);height:min(880px,100vh - 48px);overflow:hidden;box-shadow:0 30px 90px #0a191952}.document-lightbox-card{width:100%;height:100%}.document-lightbox-card .document-toolbar{padding-inline:16px}.document-lightbox-card .document-stage{background:#e9e5dc;padding:28px}.document-lightbox-card .document-stage img{width:min(88%,900px)}.resize-divider{cursor:col-resize;z-index:4;touch-action:none;background:#edf1f1;border-inline:1px solid #dde4e3;place-items:center;width:8px;display:grid;position:relative}.resize-divider:hover,.resize-divider:focus{background:#dff1ef;outline:none}.resize-divider span{background:#9db4b2;border-radius:3px;width:3px;height:42px}.resize-divider:hover span,.resize-divider:focus span{background:#159d97}.review-pane{background:#fff;flex-direction:column;min-width:0;display:flex;overflow:hidden}.ai-review-heading{background:#f8fbfb;border-bottom:1px solid #e2e7e7;justify-content:space-between;align-items:center;gap:12px;min-height:46px;padding:8px 16px;display:flex}.ai-review-heading>div{align-items:center;gap:10px;display:flex}.ai-review-heading>span{color:#7a888a;font-size:11px}.ai-ready{color:#23844a;align-items:center;gap:5px;font-size:12px;display:inline-flex}.ai-ready svg{width:16px;height:16px}.recognition-warning-panel{color:#80510f;background:#fff8eb;border:1px solid #efd6aa;border-radius:7px;align-items:flex-start;gap:9px;margin:10px 14px 0;padding:10px 12px;font-size:12px;display:flex}.recognition-warning-panel>svg{flex:none;width:18px;height:18px;margin-top:1px}.recognition-warning-panel ul{gap:3px;margin:5px 0 0;padding-left:18px;display:grid}.raw-date-hint{color:#a2610a;margin-top:4px;font-size:11px;font-weight:500}.order-fields{border-bottom:1px solid #e2e7e7;grid-template-columns:1fr 1fr;gap:12px 20px;padding:18px 20px;display:grid}.order-fields label{color:#4d5d60;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:8px;font-size:13px;font-weight:600;display:grid}.order-fields .notes{grid-column:1/-1}.review-summary-fields{padding-block:13px}.review-summary-fields input[readonly]{color:#405355;background:#f3f6f6}input,select,textarea{color:#223437;background:#fff;border:1px solid #d9e0e0;border-radius:5px;outline:none;min-width:0;padding:9px 10px}input:focus,select:focus,textarea:focus{border-color:#159d97;box-shadow:0 0 0 3px #159d971a}.input-with-icon{position:relative}.input-with-icon input{width:100%;padding-right:34px}.input-with-icon svg{color:#5f7072;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.lines-table-wrap{background:#fff;border-bottom:1px solid #e4e8e8;flex-direction:column;flex:auto;min-height:0;display:flex;position:relative;overflow:auto}table{border-collapse:collapse;width:100%}th{text-align:left;color:#566567;background:#fafbfb;font-size:12px;font-weight:650}th,td{vertical-align:middle;border-bottom:1px solid #e6eaea;padding:10px 9px}.lines-table th:first-child,.lines-table td:first-child{text-align:center;width:90px}.review-sku{text-overflow:ellipsis;white-space:nowrap;color:#586b6d;max-width:90px;font-size:11px;overflow:hidden}.lines-table{min-width:900px}.lines-table th:nth-child(2){width:210px}.lines-table th:nth-child(3){width:76px}.lines-table th:nth-child(4){width:92px}.lines-table th:nth-child(5){width:66px}.lines-table th:nth-child(6){width:68px}.lines-table th:nth-child(7){width:84px}.lines-table th:nth-child(8){width:105px}.lines-table th:last-child{width:90px}.lines-table td{font-size:12px}.lines-table tbody td{vertical-align:top;padding-top:10px}.lines-table tbody td:first-child{padding-top:19px}.lines-table input,.lines-table select,.product-input{width:100%;padding:7px 8px;font-size:12px}.lines-table tr.warning{background:#fffaf0}.lines-table tr.unmatched{background:#fff7f5}.lines-table tr.warning td:first-child{color:#af6b00}.lines-table tr.unmatched td:first-child{color:#d93832}.product-cell{min-width:190px;position:relative}.recognized-product{align-items:stretch;display:flex}.recognized-product input{border-right:0;border-radius:5px 0 0 5px;min-width:0}.recognized-product button{color:#607174;background:#fff;border:1px solid #d9e0e0;border-radius:0 5px 5px 0;flex:0 0 34px;justify-content:center;align-items:center;width:34px;min-width:34px;padding:0;display:inline-flex}.recognized-product button:hover{color:#087d78;background:#f1f8f7}.recognized-product button svg{width:15px;height:15px}.product-cell>small{color:#7b898b;align-items:center;gap:7px;margin-top:4px;display:flex}.product-meta{white-space:nowrap;min-height:18px;line-height:16px}.missing-product-warning{color:#d8443d;align-items:center;gap:3px;font-weight:650;display:inline-flex}.missing-product-warning svg{width:13px;height:13px}.quick-add-product{color:#087d78;background:0 0;border:0;align-items:center;gap:2px;padding:0;font-size:11px;font-weight:650;display:inline-flex}.quick-add-product:hover{text-decoration:underline}.quick-add-product svg{width:12px;height:12px}.discount-field,.money-field{position:relative}.discount-field input{padding-right:24px}.discount-field span{color:#718082;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.money-field{align-items:center;display:flex}.money-field>span{color:#718082;z-index:1;position:absolute;left:8px}.money-field input{width:100%;padding-left:20px}.total-edit input{color:#314648;font-variant-numeric:tabular-nums;font-weight:650}.order-total-strip{z-index:6;color:#69797b;background:#fafcfc;border-top:1px solid #e4e8e8;flex:none;justify-content:flex-end;align-items:center;gap:22px;min-height:42px;margin-top:auto;padding:0 14px;font-size:12px;display:flex;position:sticky;bottom:0}.order-total-strip strong{color:#173f3e;font-size:14px}.lines-table input[type=number]{appearance:textfield}.lines-table input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}.lines-table input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}.review-line-actions{align-items:center;gap:7px;padding-top:2px;display:flex}.review-line-actions button{color:#087d78;background:0 0;border:0;padding:6px 0;font-size:11px}.review-line-actions .danger-link{color:#cc4540}.add-review-line{color:#087d78;background:0 0;border:0;align-items:center;gap:4px;font-weight:650;display:inline-flex}.add-review-line svg{width:14px;height:14px}.product-input{color:inherit;text-align:left;white-space:nowrap;background:#fff;border:1px solid #d9e0e0;border-radius:5px;justify-content:space-between;align-items:center;gap:8px;display:flex;overflow:hidden}.product-input svg{flex:none}.match-popover{z-index:20;color:#213234;background:#fff;border:1px solid #dce2e2;border-radius:7px;width:300px;padding:10px;position:absolute;top:calc(100% - 3px);left:9px;box-shadow:0 12px 30px #1a2f3126}.match-popover-title{justify-content:space-between;align-items:center;gap:10px;min-height:34px;display:flex}.match-popover-title strong{padding:4px 6px 10px;display:block}.match-popover button{text-align:left;color:#1d3537;background:#f0f8f7;border:0;border-radius:5px;grid-template-columns:75px 1fr;gap:4px;width:100%;padding:10px;display:grid}.match-popover .match-add-product{color:#087d78;white-space:nowrap;background:0 0;justify-content:center;align-items:center;gap:3px;width:auto;min-height:28px;margin-bottom:6px;padding:0 6px;font-size:11px;font-weight:650;display:inline-flex}.match-popover .match-add-product:hover{background:#eef8f7}.match-popover .match-add-product svg{width:13px;height:13px}.match-popover small{color:#59806f;grid-column:2}.match-popover .popover-cancel{text-align:center;color:#667779;background:0 0;margin-top:6px;display:block}.match-search{border:1px solid #d7e0df;border-radius:5px;align-items:center;gap:6px;height:36px;margin-bottom:7px;padding:0 8px;display:flex}.match-search svg{color:#718082;width:15px}.match-search input{outline:0;border:0!important;padding:0!important}.match-popover>button>span:last-child{color:#334547;grid-template-columns:1fr;gap:2px;display:grid}.match-popover>button b{font-size:12px}.match-popover>button small{color:#7b898b;grid-column:1;font-size:10px}.match-empty{color:#7b898b;text-align:center;padding:16px 8px;font-size:11px}.product-attribute-modal{width:min(560px,100%)}.product-version-badge{vertical-align:3px;color:#087d78;background:#dff3f1;border-radius:999px;margin-left:5px;padding:3px 8px;font-size:11px;font-weight:750;display:inline-flex}.product-attribute-grid{border:1px solid #dde5e4;border-radius:7px;grid-template-columns:1fr 1fr;margin:0;display:grid;overflow:hidden}.product-attribute-grid>div{background:#fff;border-bottom:1px solid #e3e9e8;border-right:1px solid #e3e9e8;min-height:70px;padding:12px 14px}.product-attribute-grid>div:nth-child(2n),.product-attribute-grid>.wide{border-right:0}.product-attribute-grid>div:nth-last-child(-n+2){border-bottom:0}.product-attribute-grid>.wide{grid-column:1/-1}.product-attribute-grid dt{color:#738183;margin-bottom:6px;font-size:12px}.product-attribute-grid dd{color:#213234;margin:0;font-size:14px;font-weight:650}.lines-table tr.unit-mismatch{background:#fff8f7}.lines-table .invalid-unit-select{color:#c53f37;background:#fff;border-color:#e55b52}.unit-mismatch-warning{color:#d8443d;align-items:center;gap:3px;font-weight:650;display:inline-flex}.unit-mismatch-warning svg{width:13px;height:13px}.status{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.status svg{width:16px;height:16px}.good{color:#2f9a4a}.warn,.confidence-warn{color:#d98a00}.bad{color:#e3423c}.blocking-message{color:#e0443d;border-top:1px solid #f5d6d3;align-items:center;gap:6px;height:36px;padding:0 16px;font-size:12px;display:flex}.review-actions{background:#fff;border-top:1px solid #e0e6e6;flex:0 0 72px;justify-content:flex-end;align-items:center;gap:16px;padding:0 22px;display:flex}.order-readonly input[readonly],.order-readonly input:disabled,.order-readonly select:disabled{color:#405355;opacity:1;cursor:default;background:#f5f7f7;border-color:#e1e6e6}.order-readonly .recognized-product input{padding-right:8px}.readonly-empty-lines{color:#829092;text-align:center!important;padding:30px 16px!important}.readonly-review-actions{justify-content:space-between}.readonly-review-actions>span{color:#718082;font-size:12px}.primary,.secondary{border-radius:5px;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:0 20px;font-weight:650;display:inline-flex}.primary{color:#fff;background:#07867f;border:1px solid #07867f}.primary:hover{background:#056f6a}.primary:disabled{cursor:not-allowed;background:#abc9c7;border-color:#abc9c7}.secondary{color:#087d78;background:#fff;border:1px solid #168f89}.secondary:hover{background:#eef8f7}.toast{z-index:100;color:#fff;background:#173f3e;border-radius:8px;align-items:center;gap:8px;padding:12px 18px;font-size:14px;display:flex;position:fixed;top:74px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #142d2d38}.toast svg{color:#77d4ae}.content-page{max-width:1500px;margin:0 auto;padding:28px 32px 48px}.row-actions{white-space:nowrap;align-items:center;gap:8px;display:inline-flex}.danger-link{color:#c7463f!important}.danger-outline{color:#b9453f;border-color:#e4aaa6}.danger-outline:hover{background:#fff4f3}.demand-summary-section{background:#fff;border:1px solid #dbe4e3;border-radius:7px;margin-top:14px;overflow:hidden}.demand-summary-section table{table-layout:fixed}.demand-summary-section th,.demand-summary-section td{padding:9px 12px;font-size:12px}.demand-summary-section td:first-child{font-variant-numeric:tabular-nums;color:#5d6f71}.allocation-result-tabs{background:#f5f8f8;border:1px solid #dbe4e3;border-radius:8px;align-items:center;gap:4px;padding:4px;display:flex}.allocation-result-tabs button{color:#627476;background:0 0;border:0;border-radius:6px;min-height:36px;padding:0 18px;font-size:12px;font-weight:650}.allocation-result-tabs button.active{color:#087d78;background:#fff;box-shadow:0 1px 4px #1b3b3a1f}.allocation-result-tabs button b{color:#b13f33;background:#ffe9e4;border-radius:9px;place-items:center;min-width:18px;height:18px;margin-left:6px;padding:0 5px;font-size:10px;display:inline-grid}.allocation-tab-panel{display:none}.allocation-tab-panel.active{display:block}.allocation-tab-panel.pickup-result:not(.active){display:none}.pickup-result.allocation-tab-panel.active{display:grid}.demand-summary-section.allocation-tab-panel{margin-top:0}.demand-matrix-title{background:#f7faf9;border-bottom:1px solid #dbe4e3;justify-content:space-between;align-items:center;gap:12px;min-height:46px;padding:8px 12px 8px 14px;display:flex}.demand-matrix-title strong{color:#203334;font-size:15px;font-weight:700;line-height:1.4}.demand-export-button{flex:none;min-height:32px;padding:0 11px}.demand-export-button svg{width:15px;height:15px}.demand-export-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.customer-demand-matrix{overflow-x:auto}.customer-demand-matrix table{table-layout:auto;width:max-content;min-width:100%}.customer-demand-matrix th,.customer-demand-matrix td{text-align:right;white-space:nowrap;min-width:112px}.customer-demand-matrix th:first-child,.customer-demand-matrix td:first-child{text-align:left;min-width:120px}.customer-demand-matrix th:nth-child(2),.customer-demand-matrix td:nth-child(2){text-align:left;min-width:190px}.customer-demand-matrix th:nth-child(3),.customer-demand-matrix td:nth-child(3){text-align:left;min-width:120px}.customer-demand-matrix th:nth-child(4),.customer-demand-matrix td:nth-child(4){text-align:left;min-width:130px}.customer-demand-matrix th:nth-child(5),.customer-demand-matrix td:nth-child(5){text-align:left;min-width:78px}.customer-demand-matrix .plan-summary-total{color:#087d78;background:#f2faf9;min-width:112px;font-weight:700}.result-data-note{color:#7b898b;border-top:1px solid #e4ebea;padding:9px 12px;font-size:11px}.shortage-tab-panel.active{display:block}.procurement-table-wrap tbody tr.category-band-a td{background:#fffdf8}.procurement-table-wrap tbody tr.category-band-b td{background:#f2faf9}.no-shortage-result{color:#278653;background:#f6fbf8;border:1px solid #d8e5df;border-radius:8px;justify-content:center;align-items:center;gap:12px;min-height:150px;display:flex}.no-shortage-result svg{width:28px;height:28px}.no-shortage-result strong,.no-shortage-result span{display:block}.no-shortage-result span{color:#6e7e79;margin-top:4px;font-size:12px}.inventory-changed-warning{color:#9b6200;background:#fff8e9;border:1px solid #efc273;border-radius:6px;align-items:flex-start;gap:8px;margin:12px 20px 0;padding:10px 12px;display:flex}.inventory-changed-warning svg{flex:none;margin-top:2px}.inventory-changed-warning div{gap:3px;display:grid}.inventory-changed-warning span{font-size:12px}.operation-confirm{max-width:520px}.orders-content{max-width:none}.order-stats{background:#fff;border:1px solid #e1e7e7;grid-template-columns:repeat(6,1fr);margin-bottom:18px;display:grid}.order-stats>div{text-align:left;background:#fff;border-right:1px solid #e7ebeb;min-height:88px;padding:16px 22px}.order-stats>div:last-child{border-right:0}.order-stats span{color:#718082;margin-bottom:6px;font-size:12px;display:block}.order-stats strong{color:#243638;font-size:25px}.order-stats>div:nth-child(2) strong{color:#b27000}.order-stats>div:nth-child(3) strong{color:#23844a}.order-stats>div:nth-child(4) strong{color:#2878a3}.list-toolbar{gap:12px;margin-bottom:14px;display:flex}.list-toolbar .search-box{width:380px}.list-toolbar select{width:150px}.list-toolbar input[type=date]{width:165px}.order-list-table th,.order-list-table td{padding:13px 14px}.order-list-table th{white-space:nowrap}.order-list-table th:first-child,.order-list-table td:first-child{text-align:center;width:42px}.order-list-table th:nth-child(9),.order-list-table td:nth-child(9){text-align:center;width:78px}.order-list-table th:last-child{width:116px}.order-list-table th:nth-child(8),.order-list-table td:nth-child(8){z-index:2;background:#fff;min-width:179px;position:sticky;right:124px}.order-list-table th:nth-child(8){z-index:3;background:#fafbfb}.order-list-table th:last-child,.order-list-table td:last-child{z-index:2;background:#fff;position:sticky;right:0;box-shadow:-8px 0 12px -12px #1c303280}.order-list-table th:last-child{z-index:4;background:#fafbfb}.order-list-table td small{color:#849092;margin-top:4px;font-size:11px;font-weight:400;display:block}.order-list-table tbody tr:hover{background:#f8fbfb}.order-list-table tr.order-entry-divider td{box-shadow:none;color:#087d78;text-align:left;background:#eef8f7;border-top:2px solid #9bc9c5;padding:8px 14px;font-size:12px;font-weight:700;position:static}.order-list-table tr.order-entry-divider:first-child td{border-top:0}.order-action-stack{gap:5px;width:92px;display:grid}.order-action-stack button{color:#087d78;white-space:nowrap;background:#fff;border:1px solid #b9d3d1;border-radius:5px;width:100%;min-height:29px;padding:3px 8px;font-size:11px;font-weight:650}.order-action-stack button:hover{background:#eef8f7;border-color:#168f89}.order-action-stack button.danger{color:#c9403a;border-color:#ecc8c5}.order-action-stack button.danger:hover{background:#fff1ef;border-color:#d9837e}.order-action-stack button:disabled{color:#99a5a6;cursor:default;background:#f5f7f7;border-color:#dfe5e5}.order-photo-thumb{color:#7b898b;background:#f2f5f4;border:1px solid #d5dfde;border-radius:5px;width:56px;height:44px;padding:0;position:relative;overflow:hidden}.order-photo-thumb:hover{border-color:#168f89;box-shadow:0 0 0 2px #168f891a}.order-photo-thumb img{object-fit:cover;width:100%;height:100%;display:block}.order-photo-thumb>span{font-size:10px}.order-photo-thumb b{color:#fff;background:#162d2ecc;border-radius:9px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:10px;display:grid;position:absolute;bottom:3px;right:3px}.order-photo-layer{z-index:110}.order-photo-viewer{grid-template-rows:auto minmax(0,1fr) auto;width:min(1000px,100%);max-height:calc(100vh - 40px)}.order-photo-stage{background:#e9e5dc;border-radius:7px;place-items:center;height:min(68vh,720px);min-height:300px;display:grid;overflow:auto}.order-photo-stage img{object-fit:contain;max-width:100%;max-height:100%;box-shadow:0 7px 24px #27221929}.order-photo-loading{color:#718082;background:#f4f7f6;border-radius:7px;place-items:center;height:min(68vh,720px);display:grid}.order-photo-footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.order-photo-footer>span{color:#68787a;font-size:12px}.order-photo-footer>div{gap:8px;display:flex}.order-photo-footer .primary{text-decoration:none}.order-photo-footer button:disabled{opacity:.45;cursor:not-allowed}.order-status{white-space:nowrap;border-radius:999px;align-items:center;padding:4px 9px;font-size:12px;display:inline-flex}.order-status.review{color:#9f6200;background:#fff1d9}.order-status.planning{color:#087d78;background:#e8f5f3}.order-status.ready{color:#5667a8;background:#edf0fa}.order-status.shipping{color:#2878a3;background:#e7f2fa}.order-status.completed,.order-status.cancelled{color:#5e6d6f;background:#edf1f1}.order-status-actions{white-space:nowrap;align-items:center;gap:7px;display:flex}.status-go-button{color:#087d78;cursor:pointer;background:0 0;border:0;padding:3px 1px;font-size:12px;font-weight:700}.status-go-button:hover{text-decoration:underline}.order-notes{text-overflow:ellipsis;white-space:nowrap;color:#5f7072;max-width:220px;overflow:hidden}.order-create-modal{width:min(560px,100%)}.order-create-modal input[readonly]{color:#5f7072;background:#f2f5f5}.photo-upload-field{gap:8px!important}.photo-upload-box{color:#087d78;cursor:pointer;background:#f5faf9;border:1px dashed #9bbdb9;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:132px;display:flex;position:relative}.photo-upload-box:hover{background:#eef8f7;border-color:#07867f}.photo-upload-box strong{font-size:14px}.photo-upload-box small{color:#718082;font-weight:400}.photo-upload-box input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.photo-file-list{gap:7px;max-height:126px;display:grid;overflow-y:auto}.photo-file-list>span{color:#506264;border:1px solid #e0e7e6;border-radius:5px;justify-content:space-between;align-items:center;gap:10px;min-height:38px;padding:6px 9px;font-size:12px;display:flex}.photo-file-list>span>span{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:8px;min-width:0;display:flex;overflow:hidden}.photo-file-list strong{color:#087d78;background:#e5f3f2;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;display:grid}.photo-file-list button{color:#788789;background:0 0;border:0;place-items:center;display:grid}.photo-file-list button:hover{color:#cf443d}.upload-after-note{color:#5d7374;background:#f2f8f7;border-radius:6px;align-items:center;gap:7px;padding:10px 12px;font-size:12px;display:flex}.upload-after-note svg{color:#159d97;flex:none}.ai-parsing-state{color:#155f5b;background:#eef8f7;border:1px solid #b9dcd8;border-radius:7px;align-items:center;gap:12px;padding:12px;display:flex}.ai-parsing-state>svg{width:24px;height:24px;animation:1s linear infinite parsing-spin}.ai-parsing-state div{gap:3px;display:grid}.ai-parsing-state span{color:#627779;font-size:11px}@keyframes parsing-spin{to{transform:rotate(360deg)}}.action-button{color:#087d78;white-space:nowrap;background:#fff;border:1px solid #159d97;border-radius:5px;padding:7px 10px}.action-button:hover{background:#edf8f7}.table-empty{text-align:center;color:#7d8b8d;padding:60px}.pagination{color:#708082;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;margin-top:16px;font-size:12px;display:flex}.pagination>span{margin-right:8px}.pagination button{color:#526365;background:#fff;border:1px solid #d9e0e0;border-radius:4px;min-width:34px;height:34px}.pagination button.current{color:#fff;background:#07867f;border-color:#07867f}.pagination button:disabled{opacity:.45;cursor:default}.pagination-jump{align-items:center;gap:6px;margin-left:6px;display:flex}.pagination-jump label{white-space:nowrap;align-items:center;gap:5px;display:flex}.pagination-jump input{text-align:center;width:58px;height:34px;padding:0 6px}.page-intro{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.page-intro h1{margin:0 0 7px;font-size:25px}.page-intro p{color:#6a797b;margin:0;font-size:14px}.page-intro-actions{align-items:center;gap:10px;display:flex}@media (max-width:760px){.app-frame .sidebar nav{grid-template-columns:repeat(6,1fr)}}.sales-content{max-width:none}.sales-tabs{border-bottom:1px solid #dfe5e5;margin-bottom:18px;display:flex}.sales-tabs button{color:#667779;background:0 0;border:0;border-bottom:3px solid #0000;align-items:center;gap:7px;min-height:44px;padding:0 4px;font-weight:700;display:inline-flex}.sales-tabs button.active{color:#087d78;border-bottom-color:#159d97}.sales-filter{background:#fff;border:1px solid #dfe6e6;align-items:end;gap:12px;margin-bottom:16px;padding:14px 16px;display:flex}.sales-filter label{color:#667779;gap:5px;font-size:11px;font-weight:650;display:grid}.sales-filter input{width:165px}.sales-filter button{min-height:38px}.sales-summary{background:#fff;border:1px solid #dfe6e6;grid-template-columns:repeat(4,1fr);margin-bottom:16px;display:grid}.sales-summary div{border-right:1px solid #e5eaea;padding:17px 20px}.sales-summary div:last-child{border-right:0}.sales-summary span{color:#728183;margin-bottom:6px;font-size:12px;display:block}.sales-summary strong{font-size:23px}.sales-chart-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.sales-chart-grid section{background:#fff;border:1px solid #dfe6e6;min-height:290px;padding:18px}.sales-chart-grid section.wide{grid-column:1/-1}.sales-chart-grid header{margin-bottom:18px}.sales-chart-grid header strong,.sales-chart-grid header span{display:block}.sales-chart-grid header strong{font-size:15px}.sales-chart-grid header span{color:#768587;margin-top:4px;font-size:11px}.sales-bars{gap:11px;display:grid}.sales-bar-row{grid-template-columns:minmax(96px,150px) minmax(120px,1fr) 90px;align-items:center;gap:10px;display:grid}.sales-bar-row>span{color:#526466;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.sales-bar-row>div{background:#edf3f2;border-radius:3px;height:17px;overflow:hidden}.sales-bar-row i{background:linear-gradient(90deg,#46aaa3,#168f89);border-radius:3px;height:100%;display:block}.sales-bar-row strong{text-align:right;font-variant-numeric:tabular-nums;font-size:12px}.sales-chart-empty{color:#879496;place-items:center;min-height:190px;font-size:12px;display:grid}.sales-unlock-page{background:#fff;border:1px solid #dfe6e6;place-items:center;min-height:calc(100vh - 190px);display:grid}.sales-unlock-panel{text-align:center;background:#fbfdfc;border:1px solid #dfe6e6;border-radius:8px;gap:16px;width:min(440px,100% - 32px);padding:34px;display:grid}.sales-unlock-panel h2{margin:0}.sales-unlock-panel p{color:#6c7b7d;margin:7px 0 0;font-size:12px;line-height:1.6}.sales-lock-icon{color:#087d78;background:#e7f5f3;border-radius:50%;place-items:center;width:54px;height:54px;margin:0 auto;display:grid}.sales-lock-icon svg{width:27px;height:27px}.sales-unlock-panel label{text-align:left;gap:7px;font-size:13px;font-weight:650;display:grid}.sales-unlock-note{color:#7b612b;text-align:left;background:#fff7e8;border-radius:6px;align-items:flex-start;gap:7px;padding:10px 12px;font-size:11px;line-height:1.5;display:flex}.sales-unlock-note svg{flex:none;margin-top:2px}.sales-unlock-actions{justify-content:flex-end;display:flex}.daily-profit-layout{gap:18px;display:grid}.profit-calendar-card,.daily-profit-card{background:#fff;border:1px solid #dfe6e6}.profit-calendar-card>header{border-bottom:1px solid #e2e8e8;grid-template-columns:1fr auto 1fr;align-items:center;min-height:50px;padding:0 18px;display:grid}.profit-calendar-card>header>strong{font-size:18px}.profit-calendar-card>header button{color:#426062;background:#fff;border:1px solid #d7e1e0;border-radius:5px;min-width:32px;min-height:32px}.profit-calendar-card>header>button{justify-self:start}.profit-calendar-card>header>div{justify-self:end;gap:7px;display:flex}.profit-calendar-weekdays,.profit-calendar-grid{grid-template-columns:repeat(7,1fr);display:grid}.profit-calendar-weekdays span{color:#718082;text-align:center;padding:7px 10px;font-size:12px;font-weight:700}.profit-calendar-grid{border-top:1px solid #e5ebea}.profit-calendar-grid>button,.profit-calendar-grid>.calendar-empty{text-align:left;background:#fff;border:1px solid #e5ebea;border-top:0;border-left:0;min-height:64px;padding:8px 10px}.profit-calendar-grid>button:nth-child(7n){border-right:0}.profit-calendar-grid>button{color:#243638;align-content:start;gap:4px;display:grid;position:relative}.profit-calendar-grid>button:hover{background:#f6fbfa}.profit-calendar-grid>button.selected{z-index:1;box-shadow:inset 0 0 0 2px #168f89}.profit-calendar-grid>button.today>span{color:#fff;background:#168f89;border-radius:50%;place-items:center;width:24px;height:24px;display:grid}.profit-calendar-grid button>span{font-weight:750}.profit-calendar-grid button small{color:#8a9697;align-items:center;gap:5px;font-size:10px;display:flex}.profit-calendar-grid button.complete small{color:#20844b}.profit-calendar-grid button.complete small svg{width:14px;height:14px}.profit-calendar-grid button.pending small{color:#b43832;font-weight:700}.profit-calendar-grid button.pending small i,.profit-calendar-card>footer span:nth-child(2) i{background:#d94d45;border-radius:50%;width:8px;height:8px;display:inline-block}.profit-calendar-grid button em{color:#657577;font-size:10px;font-style:normal}.profit-calendar-card>footer{color:#657577;align-items:center;gap:22px;min-height:38px;padding:0 16px;font-size:11px;display:flex}.profit-calendar-card>footer span{align-items:center;gap:6px;display:flex}.profit-calendar-card>footer span:first-child svg{color:#20844b}.daily-profit-card>header{border-bottom:1px solid #e2e8e8;justify-content:space-between;align-items:center;gap:16px;min-height:66px;padding:0 18px;display:flex}.daily-profit-card>header strong,.daily-profit-card>header span{display:block}.daily-profit-card>header strong{font-size:16px}.daily-profit-card>header div>span{color:#718082;margin-top:5px;font-size:11px}.daily-profit-status{white-space:nowrap;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:700}.daily-profit-status.complete{color:#20844b;background:#e8f6ee;align-items:center;gap:4px;display:flex}.daily-profit-status.pending{color:#bd3f38;background:#fff0ee}.daily-profit-summary{border-bottom:1px solid #e2e8e8;grid-template-columns:repeat(4,1fr);display:grid}.daily-profit-summary div{border-right:1px solid #e7ecec;padding:13px 18px}.daily-profit-summary div:last-child{border-right:0}.daily-profit-summary span{color:#728183;font-size:11px;display:block}.daily-profit-summary strong{margin-top:5px;font-size:18px;display:block}.daily-profit-table{overflow-x:auto}.daily-profit-table table{border-collapse:collapse;width:100%;min-width:1040px}.daily-profit-table th,.daily-profit-table td{text-align:right;white-space:nowrap;border-bottom:1px solid #e6ebeb;padding:11px 12px;font-size:12px}.daily-profit-table th{color:#596a6c;background:#f7f9f9}.daily-profit-table th:nth-child(-n+3),.daily-profit-table td:nth-child(-n+3){text-align:left}.daily-profit-table th:nth-child(n+4) .sortable-table-heading{justify-content:flex-end}.daily-profit-table td:nth-child(2) strong,.daily-profit-table td:nth-child(2) small{display:block}.daily-profit-table td:nth-child(2) small{color:#879496;margin-top:3px;font-size:10px;font-weight:400}.daily-profit-table tfoot td{background:#edf8f6;font-weight:700}.purchase-price-cell{background:#fffaf0}.purchase-price-cell input{text-align:right;width:105px;padding:7px 8px}.purchase-price-cell small{color:#a16a00;margin-top:3px;font-size:9px;display:block}.daily-profit-actions{justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:0 18px;display:flex}.daily-profit-actions>span{color:#718082;font-size:11px}.daily-profit-actions button{align-items:center;gap:6px;display:inline-flex}.daily-profit-empty{color:#7a898b;align-content:center;place-items:center;gap:8px;min-height:210px;display:grid}.daily-profit-empty svg{color:#8bb8b4;width:32px;height:32px}.daily-profit-empty strong{color:#44585a}.daily-profit-empty span{font-size:11px}.profit-calendar-grid>button{flex-direction:column;display:flex}.profit-calendar-grid button>span{align-items:center;gap:7px;display:flex}.profit-calendar-grid button em{margin-top:auto}.calendar-status-dot,.profit-calendar-card>footer i{border-radius:50%;flex:none;width:8px;height:8px;display:inline-block}.profit-calendar-grid button.complete .calendar-status-dot,.profit-calendar-card>footer span:first-child i{background:#1f9d68}.profit-calendar-grid button.pending .calendar-status-dot,.profit-calendar-card>footer span:nth-child(2) i{background:#d94a4a}.sales-line-chart{width:100%;height:220px;overflow:visible}.sales-line-chart line{stroke:#e2e9e8;stroke-width:1px}.sales-line-chart .trend-line{stroke-width:3px;stroke-linecap:round}.sales-line-chart circle{stroke:#fff;stroke-width:2px}.sales-line-chart text{fill:#718082;font-size:10px}.sales-line-chart .axis-label{font-size:11px}.product-margin-section{overflow:hidden;padding:0!important}.product-margin-section>header{border-bottom:1px solid #e2e8e8;margin:0;padding:18px}.sales-margin-warning{color:#7b612b;background:#fff7e8;align-items:center;gap:7px;padding:10px 18px;font-size:11px;display:flex}.product-margin-table{max-height:520px;overflow:auto}.product-margin-table table{border-collapse:collapse;width:100%}.product-margin-table th,.product-margin-table td{text-align:right;white-space:nowrap;border-bottom:1px solid #e6ebeb;padding:11px 14px;font-size:12px}.product-margin-table th{z-index:1;color:#596a6c;background:#f7f9f9;position:sticky;top:0}.product-margin-table th:first-child,.product-margin-table td:first-child,.product-margin-table th:nth-child(2),.product-margin-table td:nth-child(2){text-align:left}.product-margin-table th:nth-child(n+3) .sortable-table-heading{justify-content:flex-end}.product-margin-table tbody tr.optimization-target{background:#fffaf0}.product-margin-table tbody tr:hover{background:#f3f9f8}@media (max-width:760px){.sidebar nav{grid-template-columns:repeat(6,1fr)}.sales-filter{flex-wrap:wrap}.sales-filter label{flex:1}.sales-filter input{width:100%}.sales-summary{grid-template-columns:1fr 1fr}.sales-summary div:nth-child(2){border-right:0}.sales-chart-grid{grid-template-columns:1fr}.sales-chart-grid section.wide{grid-column:auto}.sales-bar-row{grid-template-columns:90px minmax(80px,1fr) 76px}}.summary-strip{background:#fff;border:1px solid #e1e7e7;grid-template-columns:repeat(4,1fr);margin-bottom:18px;display:grid}.summary-strip div{border-right:1px solid #e7ebeb;padding:18px 22px}.summary-strip div:last-child{border:0}.summary-strip span{color:#738183;margin-bottom:6px;font-size:12px;display:block}.summary-strip strong{font-size:24px}.summary-strip .alert-stat strong{color:#d87900}.filters{gap:12px;margin-bottom:14px;display:flex}.search-box{width:360px;position:relative}.search-box svg{color:#738183;position:absolute;top:50%;left:11px;transform:translateY(-50%)}.search-box input{width:100%;padding-left:36px}.filters select{width:160px}.data-table{background:#fff;border:1px solid #e1e7e7;overflow:hidden}.data-table th,.data-table td{padding:14px 16px;font-size:13px}.inventory-state{color:#238645;background:#e9f7ef;border-radius:999px;padding:4px 9px;font-size:12px;display:inline-flex}.inventory-state.low{color:#ac6800;background:#fff2df}.link-button{color:#07867f;background:0 0;border:0;font-weight:650}.sortable-table-heading{width:100%;color:inherit;font:inherit;font-weight:inherit;text-align:left;white-space:nowrap;background:0 0;border:0;align-items:center;gap:5px;padding:0;display:inline-flex}.sortable-table-heading b{color:#a2aeaf;font-size:12px;font-weight:500}.sortable-table-heading.active,.sortable-table-heading.active b{color:#087d78}.inventory-edit-modal{width:min(520px,100%)}.inventory-edit-context{background:#f8fbfb;border:1px solid #dfe7e6;border-radius:7px;grid-template-columns:1fr 1.4fr 1fr;display:grid;overflow:hidden}.inventory-edit-context>div{border-right:1px solid #e2e9e8;min-width:0;padding:11px 12px}.inventory-edit-context>div:last-child{border-right:0}.inventory-edit-context span,.inventory-edit-context strong{display:block}.inventory-edit-context span{color:#768587;margin-bottom:4px;font-size:11px}.inventory-edit-context strong{color:#263738;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.inventory-adjustment-note{color:#78613b;background:#fff7e9;border-radius:6px;align-items:flex-start;gap:7px;padding:10px 12px;font-size:12px;line-height:1.5;display:flex}.inventory-adjustment-note svg{color:#c98920;flex:none;margin-top:2px}.inventory-tabs{border-bottom:1px solid #dce4e3;gap:28px;margin-bottom:18px;display:flex}.inventory-tabs button{color:#657678;background:0 0;border:0;border-bottom:3px solid #0000;min-height:42px;padding:0 3px;font-weight:650}.inventory-tabs button.active{color:#087d78;border-bottom-color:#159d97}.inventory-tabs b{background:#e7f1f0;border-radius:11px;place-items:center;min-width:21px;height:21px;margin-left:5px;font-size:11px;display:inline-grid}.ledger-intro{background:#f8fbfb;border:1px solid #dfe6e6;border-bottom:0;justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:12px 16px;display:flex}.ledger-intro strong,.ledger-intro span{display:block}.ledger-intro span{color:#718082;margin-top:4px;font-size:12px}.ledger-intro small{color:#087d78;font-weight:700}.ledger-filters{background:#fff;border:1px solid #dfe6e6;margin:0;padding:12px}.ledger-filters .search-box{width:390px}.ledger-filters input[type=date]{width:160px}.ledger-table{border-top:0;overflow-x:auto}.ledger-table table{min-width:1280px}.ledger-table th{white-space:nowrap}.ledger-table td{vertical-align:middle}.ledger-table td:first-child{white-space:nowrap}.ledger-table td:nth-child(3){min-width:220px}.ledger-table td:nth-child(8){min-width:180px}.ledger-table td:last-child{min-width:80px}.ledger-table small,.ledger-time{color:#7a888a;margin-bottom:3px;font-size:11px;font-weight:400;display:block}.balance-field{color:#536668;background:#edf3f3;border-radius:4px;padding:3px 8px;font-size:11px;display:inline-flex}.movement-type{white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:11px;display:inline-flex}.movement-type.in{color:#247d48;background:#e8f6ed}.movement-type.out{color:#a64d36;background:#fff0eb}.positive-change{color:#23844a;white-space:nowrap}.negative-change{color:#c04739;white-space:nowrap}.purchase-record-table table{min-width:1160px}.purchase-record-table td:nth-child(3){min-width:120px}.purchase-record-table td:nth-child(4){min-width:220px}.purchase-record-status{white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:11px;display:inline-flex}.purchase-record-status.pending{color:#9f6200;background:#fff1d9}.purchase-record-status.priced{color:#247d48;background:#e8f6ed}.purchase-record-status.cancelled{color:#647477;background:#edf1f1}.warehouse-management{gap:12px;display:grid}.warehouse-management-head{background:#f8fbfb;border:1px solid #dfe6e6;justify-content:space-between;align-items:center;gap:20px;min-height:68px;padding:12px 16px;display:flex}.warehouse-management-head strong,.warehouse-management-head span{display:block}.warehouse-management-head span{color:#718082;margin-top:5px;font-size:12px}.warehouse-table table{min-width:980px}.warehouse-table td:nth-child(2),.warehouse-table td:nth-child(3){min-width:190px}.warehouse-status{color:#247d48;white-space:nowrap;background:#e8f6ed;border-radius:999px;padding:4px 9px;font-size:11px;display:inline-flex}.warehouse-status.inactive{color:#697678;background:#edf1f1}.no-warehouse-allocation{color:#94611f;background:#fffaf0;border:1px solid #efd39d;align-items:center;gap:11px;min-height:72px;padding:14px 16px;display:flex}.no-warehouse-allocation svg{flex:none}.no-warehouse-allocation strong,.no-warehouse-allocation span{display:block}.no-warehouse-allocation span{margin-top:4px;font-size:12px}.products-content{max-width:none}.product-summary{background:#fff;border:1px solid #e1e7e7;grid-template-columns:repeat(3,1fr);max-width:720px;margin-bottom:18px;display:grid}.product-summary div{border-right:1px solid #e7ebeb;padding:17px 22px}.product-summary div:last-child{border-right:0}.product-summary span{color:#718082;margin-bottom:5px;font-size:12px;display:block}.product-summary strong{font-size:23px}.product-toolbar .search-box{width:420px}.product-table th,.product-table td{padding:14px 16px}.product-table tbody tr:hover{background:#f8fbfb}.money{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}.conversion{color:#526466;white-space:nowrap}.conversion.three-levels{color:#087d78;font-weight:650}.product-state{border-radius:999px;padding:4px 9px;font-size:12px;display:inline-flex}.product-state.enabled{color:#23844a;background:#e7f6ef}.product-state.disabled{color:#647477;background:#edf1f1}.switch-row{align-items:center;grid-template-columns:none!important;gap:8px!important;font-weight:500!important;display:flex!important}.switch-row input{accent-color:#07867f;width:16px;height:16px}.product-modal input:disabled{color:#6e7c7e;background:#f3f5f5}.unit-modal{width:min(680px,100%);max-height:calc(100vh - 40px);overflow-y:auto}.product-basics{grid-template-columns:1fr 1fr;gap:14px;display:grid}.product-basics label,.unit-price-fields label{gap:7px;font-size:13px;font-weight:650;display:grid}.product-basics .full-field{grid-column:1/-1}.unit-config{background:#f8fbfb;border:1px solid #dfe7e6;border-radius:8px;padding:15px}.unit-config-title{justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:12px;display:flex}.unit-config-title strong{font-size:14px;display:block}.unit-config-title span{color:#718082;margin-top:4px;font-size:11px;display:block}.add-unit{color:#087d78;white-space:nowrap;background:0 0;border:0;align-items:center;gap:4px;font-weight:650;display:inline-flex}.unit-rows{gap:8px;display:grid}.unit-row{background:#fff;border:1px solid #e2e8e8;border-radius:6px;align-items:flex-end;gap:8px;min-height:58px;padding:9px 10px;display:flex}.level-number{color:#087d78;background:#e4f3f2;border-radius:50%;align-self:center;place-items:center;width:24px;height:24px;font-size:12px;font-weight:700;display:grid}.unit-row label{color:#667678;gap:4px;font-size:10px;font-weight:600;display:grid}.unit-row input{width:118px;padding:7px 8px}.unit-row label:nth-of-type(2) input{width:90px}.unit-note{color:#718082;align-self:center;font-size:12px}.equals,.previous-unit{color:#415456;align-self:center;font-weight:650}.previous-unit{min-width:34px}.remove-unit{color:#839092;background:0 0;border:0;align-self:center;place-items:center;margin-left:auto;display:grid}.remove-unit:hover{color:#d7473f}.conversion-preview{color:#087d78;align-items:center;gap:6px;margin-top:11px;font-size:12px;display:flex}.unit-price-fields{grid-template-columns:1fr 1fr;gap:14px;display:grid}.channel-price-config{background:#fbfdfd;border:1px solid #dfe7e6;border-radius:8px;padding:15px}.channel-price-rows{gap:8px;max-height:220px;display:grid;overflow-y:auto}.channel-price-row{background:#fff;border:1px solid #e2e8e8;border-radius:6px;align-items:flex-end;gap:10px;min-height:62px;padding:9px 10px;display:flex}.channel-price-row label{color:#667678;gap:4px;font-size:10px;font-weight:600;display:grid}.channel-price-row input{width:190px;padding:7px 8px}.channel-price-row label:nth-of-type(2) input{width:125px}.channel-price-unit{color:#718082;white-space:nowrap;align-self:center;font-size:12px}.empty-channel-price{color:#879596;border:1px dashed #d9e3e2;border-radius:6px;place-items:center;min-height:42px;font-size:12px;display:grid}.product-table{overflow-x:auto}.channel-value-list,.channel-price-list{gap:4px;min-width:90px;display:grid}.channel-value-list span,.channel-price-list span{white-space:nowrap;display:block}.channel-price-list{color:#087d78;font-variant-numeric:tabular-nums}.attribute-channel{margin-bottom:4px;display:block}.attribute-channel:last-child{margin-bottom:0}.purchase-location-config{background:#fbfdfc;border:1px solid #e0e6e5;border-radius:8px;gap:10px;padding:14px;display:grid}.purchase-location-config .unit-config-title>select{width:180px}.purchase-location-rows{gap:7px;display:grid}.purchase-location-rows>div{background:#fff;border:1px solid #e0e6e5;border-radius:6px;grid-template-columns:28px minmax(140px,1fr) auto auto 32px;align-items:center;gap:7px;padding:8px 10px;display:grid}.purchase-location-rows b{color:#087d78}.purchase-location-rows button:not(.remove-unit){color:#526365;background:#fff;border:1px solid #c9d8d7;border-radius:5px;min-height:28px;padding:3px 8px}.purchase-location-rows button:disabled{opacity:.35}.missing-purchase-panel{background:#fff;border:1px solid #e8ae9e;border-radius:8px;overflow:hidden}.missing-purchase-panel>header{color:#ad3e32;background:#fff0ec;align-items:flex-start;gap:9px;padding:12px 14px;display:flex}.missing-purchase-panel>header svg{flex:none;width:20px;height:20px}.missing-purchase-panel>header strong,.missing-purchase-panel>header span{display:block}.missing-purchase-panel>header span{color:#915f5a;margin-top:3px;font-size:11px}.missing-purchase-row{border-top:1px solid #f0d8d1;justify-content:space-between;align-items:center;gap:16px;min-height:58px;padding:9px 14px;display:flex}.missing-purchase-row>span{gap:3px;display:grid}.missing-purchase-row small{color:#718082}.missing-purchase-row button{flex:none;min-height:32px}.plan-product-editor-layer{z-index:100}.customers-content{max-width:none}.customer-summary{background:#fff;border:1px solid #e1e7e7;grid-template-columns:repeat(3,1fr);max-width:720px;margin-bottom:18px;display:grid}.customer-summary div{border-right:1px solid #e7ebeb;padding:17px 22px}.customer-summary div:last-child{border-right:0}.customer-summary span{color:#718082;margin-bottom:5px;font-size:12px;display:block}.customer-summary strong{font-size:23px}.customer-toolbar .search-box{width:440px}.customer-table th,.customer-table td{padding:14px 16px}.customer-table tbody tr:hover{background:#f8fbfb}.customer-table th:nth-child(2),.customer-table td:nth-child(2){min-width:250px}.customer-table th:last-child,.customer-table td:last-child{width:126px}.customer-modal{width:min(560px,100%)}.customer-contact-fields{grid-template-columns:1fr 1fr;gap:14px;display:grid}.unit-price-fixed{align-items:flex-end;gap:10px;display:flex}.unit-price-fixed label{flex:1;gap:7px;font-size:13px;font-weight:650;display:grid}.unit-price-fixed span{color:#087d78;white-space:nowrap;background:#edf6f5;border-radius:5px;align-items:center;min-height:38px;padding:0 12px;font-size:13px;font-weight:650;display:flex}.product-price-fields{grid-template-columns:1fr 1fr;gap:14px;display:grid}@media (max-width:720px){.product-price-fields{grid-template-columns:1fr}}.product-table th:last-child,.product-table td:last-child{width:210px}.row-actions{align-items:center;gap:10px;display:flex}.delete-button{color:#cf443d;background:0 0;border:0;font-weight:650}.delete-button:hover{text-decoration:underline}.identity-error{color:#c8423b;background:#fff1ef;border-radius:5px;align-items:center;gap:6px;padding:8px 10px;font-size:12px;display:flex}.zero-price-note{color:#788789;margin-top:-9px;font-size:11px}.delete-confirm{text-align:center;justify-items:center;width:min(390px,100%)}.delete-confirm h2{margin:0}.delete-confirm p{color:#68787a;margin:-4px 0 6px;line-height:1.6}.delete-confirm .modal-actions{width:100%}.delete-icon{color:#d64942;background:#fff0ee;border-radius:50%;place-items:center;width:48px;height:48px;display:grid}.delete-icon svg{width:25px;height:25px}.danger-button{color:#fff;background:#cb3e37;border:1px solid #cb3e37;border-radius:5px;min-height:42px;padding:0 20px;font-weight:650}.danger-button:hover{background:#ad302b}.product-history-layer{z-index:125}.product-history-modal{width:min(820px,100%);max-height:calc(100vh - 40px);overflow-y:auto}.product-history-note{color:#426c69;background:#edf8f7;border-radius:7px;align-items:center;gap:8px;padding:10px 12px;font-size:12px;display:flex}.product-history-note svg{color:#159d97;flex:none}.product-history-state{text-align:center;color:#718082;border:1px dashed #d9e2e1;border-radius:8px;padding:48px 16px}.product-history-state.error{color:#bd433a;background:#fff4f2;border-color:#edc5bf}.product-version-list{gap:11px;display:grid}.product-version-list article{background:#fff;border:1px solid #dfe6e5;border-radius:8px;padding:14px}.product-version-list article.current{border-color:#7ab7b3;box-shadow:inset 3px 0 #159d97}.product-version-list header{border-bottom:1px solid #edf0f0;justify-content:space-between;align-items:center;gap:12px;padding-bottom:10px;display:flex}.product-version-list header>div{align-items:center;gap:8px;display:flex}.product-version-list header strong{font-size:16px}.product-version-list header span{color:#087d78;background:#e3f4f2;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:700}.product-version-list time{color:#718082;font-size:11px}.version-meta{color:#647678;flex-wrap:wrap;gap:8px 20px;padding:9px 0;font-size:11px;display:flex}.version-snapshot{grid-template-columns:repeat(3,1fr);gap:8px;margin:0;display:grid}.version-snapshot>div{background:#f7f9f9;border-radius:6px;min-width:0;padding:9px 10px}.version-snapshot>div.wide{grid-column:1/-1}.version-snapshot dt{color:#7a898a;margin-bottom:4px;font-size:10px}.version-snapshot dd{color:#263a3c;overflow-wrap:anywhere;margin:0;font-size:12px}.modal-backdrop{z-index:80;background:#18262761;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:10px;gap:16px;width:min(460px,100%);padding:24px;display:grid;box-shadow:0 20px 60px #111e1f3d}.modal-title{justify-content:space-between;align-items:flex-start;display:flex}.modal-title h2{margin:0 0 5px}.modal-title p{color:#718082;margin:0;font-size:13px}.modal-title button{background:0 0;border:0}.modal label{gap:7px;font-size:13px;font-weight:650;display:grid}.modal textarea{resize:vertical;min-height:80px}.modal-actions{justify-content:flex-end;gap:10px;padding-top:4px;display:flex}.modal.unit-modal{width:min(720px,100%)}.product-table table{min-width:1320px}.product-purchase-locations{gap:4px;min-width:110px;display:grid}.product-purchase-locations span{white-space:nowrap;align-items:center;gap:6px;display:flex}.product-purchase-locations b{color:#087d78;background:#e7f4f3;border-radius:50%;place-items:center;width:17px;height:17px;font-size:10px;display:grid}.product-purchase-locations .unset{color:#8a9697}.quick-product-modal{width:min(540px,100%)}.quick-product-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.quick-product-note{color:#8a5a09;background:#fff7e9;border-radius:5px;align-items:center;gap:7px;padding:9px 11px;font-size:12px;display:flex}.quick-product-note svg{flex:none}.quick-product-modal .unit-price-fixed{align-items:center}.quick-product-modal .unit-price-fixed input{flex:1}.delivery-tabs{border-bottom:1px solid #dfe5e5;gap:30px;margin-bottom:18px;display:flex}.delivery-tabs button{color:#647477;background:0 0;border:0;border-bottom:3px solid #0000;padding:12px 2px}.delivery-tabs button.active{color:#087d78;border-bottom-color:#159d97;font-weight:700}.delivery-tabs b{background:#edf2f2;border-radius:10px;place-items:center;min-width:20px;height:20px;margin-left:5px;font-size:11px;display:inline-grid}.delivery-overview{background:#fff;border:1px solid #e1e7e7;grid-template-columns:repeat(4,1fr);margin-bottom:18px;display:grid}.delivery-overview>div{border-right:1px solid #e7ebeb;padding:17px 22px}.delivery-overview>div:last-child{border-right:0}.delivery-overview span{color:#718082;margin-bottom:5px;font-size:12px;display:block}.delivery-overview strong{font-size:23px}.delivery-overview .alert-stat strong{color:#c77513}.delivery-list{gap:12px;display:grid}.delivery-date-divider{color:#087d78;background:#eef8f7;border-top:2px solid #9bc9c5;padding:8px 12px;font-size:12px;font-weight:700}.delivery-date-divider:first-child{border-top:0}.delivery-list>article{background:#fff;border:1px solid #e1e7e7;align-items:center;gap:17px;padding:20px;display:flex}.task-icon{color:#07867f;background:#e9f7f6;border-radius:8px;flex:none;place-items:center;width:46px;height:46px;display:grid}.task-icon svg{width:25px;height:25px}.task-main{flex:1;min-width:0}.task-title{color:#536365;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;display:flex}.task-title span{border-radius:999px;padding:3px 8px;font-size:11px}.task-title .pending{color:#7354a5;background:#f1ecfa}.task-title .in-transit{color:#1676a6;background:#e8f4fb}.task-title .done{color:#607173;background:#edf1f1}.task-title .shortage-tag{color:#b45d16;background:#fff0e3;align-items:center;gap:3px;display:inline-flex}.task-title .shortage-tag svg{width:13px;height:13px}.task-main h3{margin:8px 0 4px;font-size:16px}.task-main p{color:#68787a;margin:0;font-size:13px}.task-meta{color:#7b888a;flex-wrap:wrap;align-items:center;gap:9px;margin-top:11px;font-size:12px;display:flex}.task-meta i{background:#9aa5a6;border-radius:50%;width:3px;height:3px}.task-actions{white-space:nowrap;flex:none;align-items:center;gap:10px;display:flex}.empty-state{color:#7a888a;place-content:center;justify-items:center;min-height:360px;display:grid}.empty-state svg{color:#9ebbb8}.empty-state h2{color:#425456;margin:13px 0 4px;font-size:18px}.empty-state p{margin:0}.task-main .delivery-customer-list{color:#425d5f;white-space:normal;overflow-wrap:anywhere;margin-top:4px}.allocation-backdrop{padding:12px}.allocation-modal{gap:14px;width:min(900px,100%);min-width:0;max-height:calc(100vh - 24px);overflow:hidden auto}.allocation-steps{background:#f5f8f8;border-radius:7px;justify-content:center;align-items:center;gap:12px;padding:12px 18px;display:flex}.allocation-steps span{color:#839092;align-items:center;gap:7px;font-size:12px;font-weight:650;display:inline-flex}.allocation-steps span b{color:#718082;background:#dfe6e6;border-radius:50%;place-items:center;width:23px;height:23px;display:grid}.allocation-steps span.active{color:#087d78}.allocation-steps span.active b{color:#fff;background:#159d97}.allocation-steps i{background:#d5dddd;width:58px;height:1px}.builder-body{gap:12px;display:grid}.builder-heading{justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.builder-heading strong{font-size:15px;display:block}.builder-heading span{color:#718082;margin-top:4px;font-size:12px;display:block}.builder-heading>small{color:#087d78;font-weight:700}.select-order-list{gap:8px;display:grid}.select-order-list>label{cursor:pointer;border:1px solid #dfe6e6;border-radius:7px;grid-template-columns:22px 1fr 180px;align-items:center;gap:12px;min-height:76px;padding:11px 13px;display:grid}.select-order-list>label:hover,.select-order-list>label.selected{background:#f1f9f8;border-color:#80bbb7}.select-order-list input,.warehouse-sort-list input{accent-color:#07867f;width:16px;height:16px}.select-order-list label>span{gap:4px;display:grid}.select-order-list label>span:last-child{text-align:right}.select-order-list select{min-width:160px;height:30px;padding:3px 26px 3px 8px;font-size:12px}.select-order-list small{color:#718082;font-size:11px;font-weight:400}.date-warning{color:#94570d;background:#fff6e7;border:1px solid #f0d6a8;border-radius:7px;align-items:flex-start;gap:10px;padding:11px 12px;display:flex}.date-warning svg{flex:none;width:20px;height:20px}.date-warning strong,.date-warning span{display:block}.date-warning span{margin-top:3px;font-size:12px}.builder-empty{text-align:center;color:#7c898b;padding:50px}.builder-filter-row{background:#f6f9f9;border:1px solid #e1e7e7;border-radius:7px;justify-content:space-between;align-items:end;gap:12px;padding:10px 12px;display:flex}.builder-filter-row label{color:#5e7072;gap:5px;font-size:11px;display:grid}.builder-filter-row select{color:#263638;background:#fff;border:1px solid #d7dfdf;border-radius:5px;min-width:170px;height:36px;padding:0 10px}.warehouse-sort-list{gap:8px;display:grid}.warehouse-sort-list>div{background:#fafbfb;border:1px solid #e0e6e6;border-radius:7px;justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:9px 12px;display:flex}.warehouse-sort-list>div.selected{cursor:grab;background:#f2f9f8;border-color:#9bc8c5}.warehouse-sort-list label{flex:1;align-items:center;gap:10px;display:flex}.warehouse-sort-list label>span:not(.drag-handle){gap:3px;display:grid}.warehouse-sort-list small{color:#748284;font-size:11px;font-weight:400}.drag-handle{color:#799092;place-items:center;display:grid}.sort-actions{gap:5px;display:flex}.sort-actions button{color:#587072;background:#fff;border:1px solid #ced9d8;border-radius:4px;padding:5px 8px;font-size:11px}.sort-actions button:disabled{opacity:.35}.allocation-note{color:#557173;background:#eef7f6;border-radius:6px;align-items:center;gap:7px;padding:10px 12px;font-size:12px;display:flex}.allocation-note svg{color:#159d97}.allocation-actions{border-top:1px solid #e2e7e7;padding-top:14px}.allocation-actions>span{flex:1}.allocation-result{gap:15px;min-width:0;display:grid}.allocation-tab-panel,.procurement-warning{min-width:0}.allocation-summary{background:#f7faf9;border:1px solid #d9e3e2;grid-template-columns:repeat(4,1fr);display:grid}.allocation-summary div{border-right:1px solid #dfe7e6;padding:12px 14px}.allocation-summary div:last-child{border-right:0}.allocation-summary span{color:#718082;margin-bottom:5px;font-size:11px;display:block}.allocation-summary strong{font-size:16px}.allocation-summary .summary-shortage{background:#fff5ee}.allocation-summary .summary-shortage strong{color:#bd4b2f}.pickup-result{gap:11px;display:grid}.result-section-title strong,.result-section-title span{display:block}.result-section-title strong{font-size:15px}.result-section-title span{color:#657779;margin-top:4px;font-size:12px}.warehouse-pick-card{background:#fff;border:1px solid #d8e2e1;border-radius:8px;overflow:hidden}.warehouse-pick-title{background:#f5faf9;border-bottom:1px solid #dfe7e6;justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:10px 13px;display:flex}.warehouse-title-main{gap:3px;display:grid}.warehouse-title-main>span{color:#6d7e80;font-size:11px}.warehouse-pick-title>small{color:#087d78;font-size:11px;font-weight:650}.warehouse-pick-table{overflow-x:auto}.warehouse-pick-card table{min-width:560px}.warehouse-pick-card table th,.warehouse-pick-card table td,.procurement-warning table th,.procurement-warning table td{padding:9px 12px;font-size:11px}.warehouse-pick-card table th{white-space:nowrap;color:#607173}.warehouse-pick-card table th:nth-child(n+2),.warehouse-pick-card table td:nth-child(n+2){text-align:right}.pickup-amount{color:#087d78;font-size:12px}.no-pickup{text-align:center;color:#7d8b8d;padding:20px;font-size:12px}.procurement-warning{background:snow;border:1px solid #e8ae9e;border-radius:8px;overflow:hidden}.procurement-title{color:#ad3e32;background:#fff0ec;align-items:flex-start;gap:9px;padding:11px 13px;display:flex}.procurement-title svg{flex:none;width:20px;height:20px}.procurement-title strong,.procurement-title span{display:block}.procurement-title span{color:#915f5a;margin-top:3px;font-size:11px}.procurement-warning table th:nth-child(n+2),.procurement-warning table td:nth-child(n+2){text-align:right}.procurement-warning table td:last-child strong{color:#c13d31;font-size:12px}.result-only-modal{width:min(1040px,100%)}.operational-doc-heading{border-top:1px solid #dfe7e6;margin-top:7px;padding-top:14px}.operational-doc-card table{min-width:820px}.operational-doc-card td:first-child small{color:#7a898b;margin-top:3px;display:block}.operational-doc-card td.waiting-quantity{color:#b42318}.operational-doc-card td.customer-shortage{color:#b42318;background:#fff0ed}.operational-doc-card td.customer-ready{color:#087f74;background:#eef8f5}.operational-doc-card td.customer-ready small{margin-top:3px;font-weight:700;display:block}.inspection-blank{color:#8a9798;border-bottom:1px dashed #9aa8aa!important}.inspection-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.inspection-location-group{gap:8px;display:grid}.inspection-card-actions{flex:none;align-items:center;gap:8px;display:flex}.inspection-merge-button{border-radius:5px;flex:none;min-height:28px;padding:0 9px;font-size:11px}.inspection-merge-button[aria-pressed=true]{color:#fff;background:#0b8b84}.inspection-document-card table{min-width:680px}.document-collapse-toggle{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;justify-content:space-between;align-items:center;gap:12px;padding:0;display:flex}.document-collapse-toggle .warehouse-title-main{text-align:left}.document-collapse-toggle>svg{flex:none;width:18px;height:18px;transition:transform .16s;transform:rotate(180deg)}.document-collapse-toggle.collapsed>svg{transform:rotate(0)}.procurement-collapse-toggle{justify-content:flex-start}.procurement-collapse-toggle .warehouse-title-main{flex:1}.procurement-warning-icon{flex:none;place-items:center;display:grid}.warehouse-pick-actions{align-items:center;gap:10px;display:flex}.warehouse-pick-actions>small{color:#087d78;white-space:nowrap;font-size:11px;font-weight:650}.warehouse-export-button{flex:none;min-height:30px;padding:0 10px}.warehouse-export-button svg{width:15px;height:15px}.procurement-title>div{flex:1}.procurement-export-button{flex:none;align-self:center;min-height:32px;padding:0 11px}.procurement-export-button svg{width:15px;height:15px}.procurement-table-wrap{overflow-x:auto}.procurement-table-wrap table th,.procurement-table-wrap table td{white-space:nowrap;padding-inline:10px}.procurement-table-wrap table th:nth-child(-n+4),.procurement-table-wrap table td:nth-child(-n+4){text-align:left}.procurement-table-wrap table th:nth-child(n+5),.procurement-table-wrap table td:nth-child(n+5){text-align:right}.procurement-export-layer{z-index:135}.procurement-export-modal{gap:17px;width:min(680px,100vw - 32px)}.procurement-export-section{background:#fafcfc;border:1px solid #dfe6e5;border-radius:8px;gap:12px;padding:15px;display:grid}.procurement-export-section>div:first-child{gap:4px;display:grid}.procurement-export-section>div:first-child span{color:#718082;font-size:11px}.procurement-category-options{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.procurement-category-options label{color:#526466;cursor:pointer;background:#fff;border:1px solid #d8e1e0;border-radius:7px;grid-template-columns:18px 1fr;align-items:center;column-gap:7px;min-height:56px;padding:9px 10px;display:grid}.procurement-category-options label.selected{color:#087d78;background:#edf8f7;border-color:#65aaa5}.procurement-category-options label.disabled{opacity:.45;cursor:not-allowed}.procurement-category-options input{opacity:0;pointer-events:none;position:absolute}.procurement-category-options svg{color:#c8d3d2;width:17px;height:17px}.procurement-category-options label.selected svg{color:#159d97}.procurement-category-options span{font-size:13px;font-weight:700}.procurement-category-options small{color:#7b898b;grid-column:2;font-size:10px}.procurement-sorting-options{border:1px solid #dfe6e5;border-radius:8px;grid-template-columns:1fr 1fr;gap:9px;margin:0;padding:15px;display:grid}.procurement-sorting-options legend{color:#34494b;padding:0 5px;font-size:12px;font-weight:700}.procurement-sorting-options>label{cursor:pointer;background:#fff;border:1px solid #d8e1e0;border-radius:7px;align-items:flex-start;gap:9px;min-height:66px;padding:11px 12px;display:flex}.procurement-sorting-options>label.selected{background:#edf8f7;border-color:#65aaa5}.procurement-sorting-options input{accent-color:#07867f;width:16px;height:16px;margin-top:2px}.procurement-sorting-options label>span{gap:4px;display:grid}.procurement-sorting-options small{color:#718082;font-size:10px;line-height:1.45}.procurement-sorting-note{color:#825d17;background:#fff8e9;border:1px solid #efd49d;border-radius:6px;align-items:flex-start;gap:8px;padding:10px 12px;font-size:11px;line-height:1.55;display:flex}.procurement-sorting-note svg{flex:none;width:17px;height:17px}.account-layer{z-index:120}.account-modal{width:min(760px,100%);max-height:calc(100vh - 40px);overflow-y:auto}.account-toolbar{background:#f7faf9;border:1px solid #dfe7e6;border-radius:7px;justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;display:flex}.account-toolbar>div{gap:4px;display:grid}.account-toolbar span{color:#718082;font-size:12px}.account-list{border:1px solid #dfe6e6;border-radius:7px;display:grid;overflow:hidden}.account-list>div{border-bottom:1px solid #e6ebeb;grid-template-columns:38px minmax(150px,1fr) minmax(180px,auto) auto;align-items:center;gap:12px;min-height:68px;padding:10px 13px;display:grid}.account-list>div:last-child{border-bottom:0}.account-list>div.inactive{opacity:.72;background:#f6f7f7}.account-avatar{color:#087d78;background:#dff1ef;border-radius:50%;place-items:center;width:34px;height:34px;font-weight:750;display:grid}.account-list>div>span:nth-child(2){gap:4px;display:grid}.account-list>div>span:nth-child(2) strong{align-items:center;gap:7px;display:flex}.account-list>div>span:nth-child(2) strong small{color:#607173;background:#edf4f3;border-radius:999px;padding:2px 6px;font-size:10px}.account-list small,.account-list>div>span:nth-child(3){color:#718082;font-size:11px}.account-footer>span{flex:1}.account-edit-layer{z-index:130}.switch-field{align-items:center;display:flex!important}.switch-field input{accent-color:#07867f;width:17px;height:17px}.operator-account-note{color:#315c59;background:#eef8f7;border-radius:8px;gap:12px;padding:18px;display:flex}.operator-account-note svg{color:#159d97;flex:none}.operator-account-note div{gap:5px;display:grid}.operator-account-note span{color:#607779;font-size:12px}@media (max-width:1120px){.top-actions .date,.top-actions .warehouse{display:none}.review-grid{grid-template-columns:42% 58%}.document-toolbar button{font-size:0}.document-toolbar button svg{margin:0}.task-actions{flex-direction:row;gap:7px}.task-actions button{padding-inline:12px;font-size:12px}.list-toolbar{flex-wrap:wrap}.list-toolbar .search-box{width:100%}.order-list-table{overflow-x:auto}.order-list-table table{min-width:1180px}.order-stats{grid-template-columns:repeat(3,1fr)}.order-stats>div:nth-child(3n){border-right:0}.order-stats>div:nth-child(-n+6){border-bottom:1px solid #e7ebeb}}@media (max-width:760px){.app-frame{--nav-w:0px}.sidebar{border-top:1px solid #dfe5e5;border-right:0;flex-direction:row;height:64px;inset:auto 0 0;width:100%!important}.brand,.collapse-button{display:none}.sidebar nav{grid-template-columns:repeat(5,1fr);width:100%;padding:0;display:grid}.sidebar nav button{flex-direction:column;justify-content:center;gap:3px;height:64px;padding:0;font-size:10px}.sidebar nav button:before{width:auto;height:3px;inset:auto 0 0}.page-shell,.nav-collapsed .page-shell{margin-left:0;padding-bottom:64px}.topbar{padding:0 14px}.crumbs strong{font-size:15px}.crumbs>span{display:none}.top-actions{gap:6px}.user-button>span:not(.avatar),.user-button svg{display:none}.review-grid{height:auto;display:block}.record-title{height:54px;padding:0 14px}.document-pane{border-bottom:1px solid #dfe5e5;border-right:0;height:430px}.document-toolbar{overflow-x:auto}.document-toolbar button{font-size:0}.review-pane{overflow:visible}.order-fields{grid-template-columns:1fr;padding:14px}.order-fields .notes{grid-column:auto}.lines-table-wrap{flex:none;display:block;overflow-x:auto}.lines-table{min-width:760px}.review-actions{height:68px;padding:0 12px;position:sticky;bottom:64px}.review-actions button{flex:1;padding:0 10px}.content-page{padding:20px 14px 90px}.page-intro{align-items:flex-start;gap:12px}.page-intro h1{font-size:21px}.page-intro p{max-width:210px}.summary-strip{grid-template-columns:1fr 1fr}.summary-strip div:nth-child(2){border-right:0}.summary-strip div:nth-child(-n+2){border-bottom:1px solid #e7ebeb}.filters{flex-wrap:wrap}.search-box{width:100%}.data-table{overflow-x:auto}.data-table table{min-width:850px}.delivery-list article{flex-wrap:wrap;align-items:flex-start}.task-main{min-width:calc(100% - 70px)}.task-actions{flex-direction:row;width:100%}.task-actions button{flex:1;padding:0 8px}.summary-strip strong{font-size:20px}.product-summary,.customer-summary{grid-template-columns:repeat(3,1fr);max-width:none}.product-summary div,.customer-summary div{padding:14px 12px}.product-toolbar .search-box,.customer-toolbar .search-box{width:100%}.product-basics,.unit-price-fields,.customer-contact-fields{grid-template-columns:1fr}.product-basics .full-field{grid-column:auto}.unit-config-title{display:grid}.unit-row{flex-wrap:wrap;align-items:center}.unit-row input{width:92px}.unit-row label:nth-of-type(2) input{width:72px}.unit-note{margin-left:32px}.order-stats{grid-template-columns:1fr 1fr}.order-stats>div:nth-child(3n){border-right:1px solid #e7ebeb}.order-stats>div:nth-child(2n){border-right:0}.order-stats>div:nth-child(-n+6){border-bottom:1px solid #e7ebeb}.list-toolbar{flex-wrap:wrap}.list-toolbar .search-box{width:100%}.list-toolbar select,.list-toolbar input[type=date]{flex:1;min-width:140px}.order-list-table{overflow-x:auto}.order-list-table table{min-width:1180px}.record-title .back-button{font-size:0}.record-title .review-pill{display:none}.photo-upload-box{min-height:112px}.resize-divider{display:none}.ai-review-heading{align-items:flex-start}.ai-review-heading>span{display:none}.review-summary-fields{grid-template-columns:1fr}.document-count{display:none}.lines-table-wrap{overflow-x:auto}.delivery-overview{grid-template-columns:1fr 1fr}.delivery-overview>div:nth-child(2){border-right:0}.delivery-overview>div:nth-child(-n+2){border-bottom:1px solid #e7ebeb}.delivery-tabs{gap:18px;overflow-x:auto}.delivery-tabs button{white-space:nowrap}.allocation-backdrop{align-items:end;padding:0}.allocation-modal{border-radius:12px 12px 0 0;width:100%;max-height:calc(100vh - 24px);padding:17px 14px}.allocation-steps{gap:7px;padding-inline:9px}.allocation-steps i{width:22px}.allocation-steps span{font-size:10px}.select-order-list>label{grid-template-columns:22px 1fr}.select-order-list label>span:last-child{text-align:left;grid-column:2}.warehouse-sort-list>div{align-items:flex-start}.sort-actions{flex-direction:column}.allocation-summary{grid-template-columns:1fr 1fr}.allocation-summary div:nth-child(2){border-right:0}.allocation-summary div:nth-child(-n+2){border-bottom:1px solid #e0e7e6}.warehouse-pick-title{flex-direction:column;align-items:flex-start}.warehouse-pick-title small{text-align:left}.warehouse-priority{width:46px}.allocation-actions button{min-height:42px}.result-only-modal{border-radius:12px 12px 0 0}.account-layer{align-items:end;padding:0}.account-modal{border-radius:12px 12px 0 0;width:100%;max-height:calc(100vh - 24px);padding:17px 14px}.account-toolbar{align-items:flex-start}.account-list>div{grid-template-columns:36px 1fr auto}.account-list>div>span:nth-child(3){display:none}.account-list>div>button{grid-area:1/3}.account-edit-layer{align-items:center;padding:12px}.channel-price-row{flex-wrap:wrap}.channel-price-row label{flex:150px}.channel-price-row input,.channel-price-row label:nth-of-type(2) input{width:100%}.channel-price-unit{margin-left:34px}.channel-price-row .remove-unit{margin-left:auto}.procurement-export-layer{align-items:end;padding:0}.procurement-export-modal{border-radius:12px 12px 0 0;width:100%;max-height:calc(100vh - 16px);padding:17px 14px;overflow-y:auto}.procurement-category-options,.procurement-sorting-options{grid-template-columns:1fr 1fr}}@media print{@page{size:A4 landscape;margin:10mm}body{background:#fff}body *{visibility:hidden}.plan-print-layer,.plan-print-layer *{visibility:visible}.plan-print-layer{background:#fff;padding:0;display:block;position:absolute;inset:0}.result-only-modal{width:100%;max-height:none;box-shadow:none;border-radius:0;padding:0;overflow:visible}.result-only-modal .modal-title button,.result-only-modal .modal-actions,.result-only-modal .allocation-result-tabs,.result-only-modal .demand-export-button,.result-only-modal .warehouse-export-button,.result-only-modal .procurement-export-button{display:none!important}.result-only-modal .allocation-tab-panel{margin-bottom:12px;display:block!important}.result-only-modal .pickup-result.allocation-tab-panel{display:grid!important}.result-only-modal .allocation-summary,.result-only-modal section,.result-only-modal article,.result-only-modal table{break-inside:avoid}.result-only-modal .warehouse-pick-card{margin-bottom:8px}.result-only-modal .modal-title{margin-bottom:10px}}.daily-detail-modal>*{min-width:0}.daily-detail-title-actions>button:last-child{color:#405456;place-items:center;width:34px;height:34px;display:grid}.daily-detail-panel{gap:14px;margin-top:18px;display:grid}.daily-detail-panel>*{min-width:0}.daily-detail-panel>header{background:#fff;border:1px solid #dfe6e6;justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:0 18px;display:flex}.daily-detail-panel>header h2{margin:0;font-size:18px}.daily-detail-panel>header p{color:#718082;margin:5px 0 0;font-size:12px}.daily-detail-panel .daily-detail-title-actions>button:last-child{width:auto;min-width:64px;padding:0 14px}.daily-accordion{min-width:0;display:grid}.daily-accordion>header{background:#fff;border:1px solid #dfe6e6;justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:0 18px;display:flex}.daily-accordion>header h2{margin:0;font-size:17px}.daily-accordion>header p{color:#718082;margin:5px 0 0;font-size:11px}.daily-accordion>.daily-profit-card,.daily-accordion>.daily-expense-card{border-top:0}.daily-accordion>header{cursor:pointer}.daily-accordion>header:hover{background:#f7fbfa;border-color:#a9cecb}.daily-detail-backdrop{align-items:start;overflow-y:auto}.daily-detail-modal{gap:14px;width:min(1220px,100%);max-height:calc(100vh - 40px);padding:18px;overflow-y:auto}.daily-detail-title-actions{align-items:center;gap:8px;display:flex}.daily-detail-title-actions .secondary{background:#fff;border:1px solid #0b8b84;align-items:center;gap:6px;min-height:34px;padding:0 12px;display:inline-flex}.daily-expense-card{background:#fff;border:1px solid #dfe6e6}.daily-expense-card>header,.daily-expense-card>footer{justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:0 18px;display:flex}.daily-expense-card>header{border-bottom:1px solid #e2e8e8}.daily-expense-card>header strong,.daily-expense-card>header span{display:block}.daily-expense-card>header span{color:#718082;margin-top:4px;font-size:11px}.daily-expense-card>header button,.daily-expense-card>footer button{align-items:center;gap:6px;display:inline-flex}.daily-expense-list{display:grid}.daily-expense-list>div{border-bottom:1px solid #e6ebeb;grid-template-columns:minmax(240px,1fr) 180px 36px;align-items:end;gap:12px;min-height:68px;padding:10px 18px;display:grid}.daily-expense-list label{color:#667779;gap:5px;font-size:11px;font-weight:650;display:grid}.daily-expense-list input{width:100%}.daily-expense-list>div>button{color:#bd4b44;background:0 0;border:0;min-height:38px}.daily-expense-card>footer{background:#f7faf9}.daily-expense-card>footer>span{color:#617173}.daily-expense-empty{color:#879496;place-items:center;min-height:86px;font-size:12px;display:grid}
