.v5-order-entry-shell{min-height:100%;background:#f4f7f6;color:#17302e;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.v5-order-entry{width:min(1220px,100%);margin:0 auto;padding:28px clamp(16px,3vw,40px) 96px}.v5-order-header,.v5-section-heading,.v5-sticky-actions,.v5-editor-actions,.v5-review-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.v5-order-header{margin-bottom:20px}.v5-order-header h1,.v5-section-heading h2{margin:0;letter-spacing:0}.v5-order-header h1{font-size:28px}.v5-section-heading h2{font-size:20px}.v5-eyebrow{margin:0 0 4px;color:#087f73;font-size:12px;font-weight:700}.v5-muted{color:#61736f;font-size:13px}.v5-status-badge,.v5-stock-hint,.v5-stock-warning{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700}.v5-status-badge,.v5-stock-hint{background:#e0f2ed;color:#087f73}.v5-stock-warning{background:#fff0dc;color:#9a5810}.v5-order-section,.v5-mattress-editor,.v5-review{background:#fff;border:1px solid #dbe7e4;border-radius:8px;padding:22px;margin-top:16px;box-shadow:0 8px 22px #1b3b360d}.v5-field-grid{display:grid;gap:14px}.v5-order-fields{grid-template-columns:repeat(6,minmax(0,1fr));margin-top:18px}.v5-mattress-basics{grid-template-columns:1.2fr 1.5fr 1.4fr .9fr .8fr;margin:18px 0}.v5-field-grid label,.v5-full-field,.v5-order-item-row label,.v5-material-row label,.v5-address-editor label{display:grid;gap:6px;color:#47605a;font-size:12px;font-weight:700}.v5-field-grid label input,.v5-full-field input,.v5-full-field textarea,.v5-order-item-row input,.v5-material-row input,.v5-material-row select,.v5-address-editor input{width:100%;min-width:0;border:1px solid #cddbd7;border-radius:6px;padding:11px 12px;color:#17302e;background:#fff;font:inherit;font-weight:500}.v5-field-grid label input:focus,.v5-full-field input:focus,.v5-full-field textarea:focus,.v5-order-item-row input:focus,.v5-material-row input:focus,.v5-material-row select:focus,.v5-address-editor input:focus{outline:3px solid rgba(18,142,130,.18);border-color:#128e82}.v5-full-field{margin-top:14px}.v5-full-field textarea{resize:vertical}.v5-address-editor{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(180px,.7fr) auto;gap:14px;align-items:end;margin-top:14px}.v5-address-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;padding:12px 14px;border:1px solid #cfe3de;border-radius:6px;background:#f0faf7}.v5-address-summary>div{display:flex;align-items:center;gap:12px;min-width:0}.v5-address-summary strong{overflow-wrap:anywhere}.v5-order-item-row{display:grid;grid-template-columns:1.2fr .5fr 1.5fr;gap:14px;margin-top:18px}.v5-order-item-row+.v5-muted{margin-bottom:0}.v5-contract-attachments{display:flex;align-items:center;gap:12px;margin-top:14px}.v5-contract-attachments label{position:relative;overflow:hidden}.v5-contract-attachments input[type=file]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.v5-contract-attachments .is-disabled{cursor:not-allowed;opacity:.5}.v5-contract-list{display:grid;gap:6px;margin:10px 0 0;padding:0;list-style:none}.v5-contract-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dbe7e4;border-radius:6px;padding:9px 11px}.v5-contract-error{color:#8d2020}.v5-material-list{margin-top:22px}.v5-mattress-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,.8fr);gap:18px;align-items:start}.v5-mattress-edit-column{min-width:0}.v5-saved-summary{position:sticky;top:16px;border:1px solid #dbe7e4;border-radius:8px;padding:14px;background:#f8fbfa}.v5-saved-summary h3{margin:0 0 10px;font-size:15px}.v5-saved-summary .v5-saved-line{display:grid;grid-template-columns:1fr;gap:6px;padding:12px 0}.v5-saved-summary .v5-button{width:100%}.v5-subsection-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:1px solid #e5eeec;padding-bottom:10px}.v5-subsection-heading h3,.v5-review h3{margin:0;font-size:15px}.v5-subsection-heading span{color:#61736f;font-size:12px}.v5-material-row{display:grid;grid-template-columns:minmax(150px,1.2fr) minmax(180px,1.4fr) minmax(170px,1.1fr) minmax(160px,1.1fr) 80px minmax(120px,.8fr) auto;align-items:end;gap:10px;padding:14px 0;border-bottom:1px solid #edf3f1}.v5-material-detail{min-width:0}.v5-material-quantity input{text-align:center}.v5-saved-line{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(180px,1.5fr) auto auto;align-items:center;gap:12px;border-bottom:1px solid #e5eeec;padding:12px 0}.v5-saved-line span{color:#61736f;font-size:13px}.v5-link-button{border:0;background:transparent;color:#087f73;cursor:pointer;font:inherit;font-size:13px;text-align:left}.v5-inline-status{margin:14px 0 0;padding:10px 12px;border-left:3px solid #128e82;background:#edf8f5;color:#087f73;font-size:13px}.v5-editor-actions{justify-content:flex-start;margin-top:18px}.v5-next-mattress{width:100%;margin-top:14px;border:2px solid #128e82;border-radius:6px;padding:13px;background:#effaf7;color:#087f73;cursor:pointer;font:inherit;font-weight:800}.v5-button{min-height:44px;border:1px solid transparent;border-radius:6px;padding:10px 15px;cursor:pointer;font:inherit;font-weight:800}.v5-button-primary{background:#087f73;color:#fff}.v5-button-primary:hover{background:#066c63}.v5-button-secondary{background:#fff;border-color:#bfd1cc;color:#31514b}.v5-button:focus-visible,.v5-next-mattress:focus-visible,.v5-link-button:focus-visible{outline:3px solid rgba(18,142,130,.3);outline-offset:2px}.v5-sticky-actions{position:sticky;bottom:0;z-index:2;margin:18px -22px -22px;padding:14px 22px;border-top:1px solid #dbe7e4;background:#fffffff5}.v5-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:20px}.v5-summary-list{margin:12px 0 0}.v5-summary-list div{display:grid;grid-template-columns:100px 1fr;gap:12px;padding:7px 0;border-bottom:1px solid #edf3f1}.v5-summary-list dt{color:#61736f}.v5-summary-list dd{margin:0;font-weight:700}.v5-review-mattresses{margin-top:22px}.v5-review-mattress{display:grid;grid-template-columns:110px 1fr auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #edf3f1}.v5-review-mattress span,.v5-review-mattress small{color:#61736f}.v5-revision-impact{margin-top:18px;border:1px solid #ead1a6;border-radius:6px;padding:14px;background:#fff9ef;color:#60451f}.v5-revision-impact h3,.v5-revision-impact p{margin-top:0}.v5-revision-impact ul{margin:8px 0 12px;padding-left:20px}.v5-review-actions{justify-content:flex-end;margin-top:22px}.v5-review-errors{margin-top:18px;border:1px solid #e3a0a0;border-radius:6px;padding:12px 14px;background:#fff4f4;color:#8d2020}.v5-review-errors ul{margin:8px 0 0;padding-left:20px}@media (max-width: 980px){.v5-order-fields,.v5-mattress-basics{grid-template-columns:repeat(3,minmax(0,1fr))}.v5-material-row{grid-template-columns:1fr 1fr 1fr}.v5-material-row>:nth-child(4),.v5-material-row>.v5-stock-hint{grid-column:span 2}.v5-address-editor{grid-template-columns:1fr 1fr}.v5-address-editor .v5-button{grid-column:1 / -1}}@media (max-width: 640px){.v5-order-entry{padding:16px 12px 90px}.v5-field-grid label input,.v5-full-field input,.v5-full-field textarea,.v5-order-item-row input,.v5-material-row input,.v5-material-row select,.v5-address-editor input{min-height:44px}.v5-order-header,.v5-section-heading,.v5-review-actions{align-items:flex-start;flex-direction:column}.v5-order-header h1{font-size:24px}.v5-order-section,.v5-mattress-editor,.v5-review{padding:16px}.v5-order-fields,.v5-mattress-basics,.v5-order-item-row,.v5-review-grid,.v5-address-editor{grid-template-columns:1fr}.v5-address-summary,.v5-address-summary>div{align-items:flex-start;flex-direction:column}.v5-address-summary .v5-button{width:100%}.v5-contract-attachments{align-items:stretch;flex-direction:column}.v5-mattress-workspace{grid-template-columns:1fr}.v5-saved-summary{position:static}.v5-material-row{grid-template-columns:1fr;align-items:stretch}.v5-material-row>:nth-child(4),.v5-material-row>.v5-stock-hint{grid-column:auto}.v5-saved-line,.v5-review-mattress{grid-template-columns:1fr;gap:6px}.v5-sticky-actions{margin:18px -16px -16px;padding:12px 16px}.v5-sticky-actions .v5-button{flex:1}.v5-review-actions,.v5-review-actions .v5-button{width:100%}}.v5-delivery{color:#17302e}.v5-delivery-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:18px 0}.v5-delivery-header h1{margin:0;font-size:26px;letter-spacing:0}.v5-delivery-header p{margin:5px 0 0;color:#61736f}.v5-delivery-eyebrow{color:#087f73!important;font-size:12px;font-weight:800;letter-spacing:.08em}.v5-delivery-search{width:min(380px,100%);min-height:44px;display:flex;align-items:center;gap:8px;border:1px solid #cddbd7;border-radius:6px;padding:0 12px;background:#fff}.v5-delivery-search svg{width:18px;color:#61736f}.v5-delivery-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;font:inherit}.v5-delivery-search:focus-within{border-color:#128e82;outline:3px solid rgba(18,142,130,.2);outline-offset:2px}.v5-delivery-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:16px;align-items:start}.v5-delivery-panel{min-width:0;border:1px solid #dbe7e4;border-radius:8px;background:#fff;overflow:hidden}.v5-delivery-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px;border-bottom:1px solid #e5eeec}.v5-delivery-panel-heading h2{margin:0;font-size:17px}.v5-delivery-panel-heading span{color:#61736f;font-size:12px}.v5-delivery-panel button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #bfd1cc;border-radius:6px;padding:7px 10px;background:#fff;color:#31514b;cursor:pointer;font:inherit;font-size:12px;font-weight:700}.v5-delivery-panel button.is-primary{border-color:#087f73;background:#087f73;color:#fff}.v5-delivery-panel button:disabled{cursor:not-allowed;opacity:.45}.v5-delivery-panel button svg{width:15px}.v5-delivery-candidate{display:grid;grid-template-columns:22px 1fr auto;gap:10px;align-items:start;padding:14px 15px;border-bottom:1px solid #e5eeec;cursor:pointer}.v5-delivery-candidate:last-child{border-bottom:0}.v5-delivery-candidate input{width:18px;height:18px;accent-color:#087f73}.v5-delivery-candidate div{display:grid;gap:4px}.v5-delivery-candidate span{display:flex;gap:5px;color:#61736f;font-size:12px}.v5-delivery-candidate span svg{width:14px}.v5-delivery-candidate b{color:#61736f;font-size:12px;white-space:nowrap}.v5-delivery-stop{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:15px;border-bottom:1px solid #e5eeec}.v5-delivery-stop:last-child{border-bottom:0}.v5-stop-order{display:grid;gap:6px;min-width:0}.v5-stop-order>span,.v5-stop-order p{margin:0;color:#526a65;font-size:12px;line-height:1.55}.v5-stop-order em{display:flex;gap:5px;align-items:flex-start;color:#b42318;font-size:12px;font-style:normal;font-weight:700}.v5-stop-order em svg{width:15px;flex:0 0 auto}.v5-stop-order .is-located{display:flex;align-items:center;gap:5px;color:#176a4c}.v5-stop-order .is-located svg{width:15px}.v5-stop-order .balance{display:flex;align-items:center;flex-wrap:wrap;gap:6px;color:#17302e}.v5-stop-order .balance button{min-height:32px}.v5-stop-move{display:grid;align-content:start;gap:5px}.v5-stop-move button{min-width:38px;padding:7px}.v5-delivery-empty{margin:0;padding:35px 15px;color:#61736f;text-align:center}.v5-delivery button:focus-visible,.v5-delivery input:focus-visible,.v5-delivery select:focus-visible{outline:3px solid rgba(18,142,130,.3);outline-offset:2px}.v5-payment-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:4px}.v5-payment-form label{display:grid;gap:4px;color:#526a65;font-size:11px;font-weight:700}.v5-payment-form input,.v5-payment-form select{box-sizing:border-box;width:100%;min-width:0;min-height:34px;border:1px solid #cddbd7;border-radius:5px;padding:6px 8px;background:#fff;color:#17302e;font:inherit}.v5-payment-form .v5-payment-note,.v5-payment-overage,.v5-payment-error{grid-column:1 / -1}.v5-payment-overage{color:#a15c00!important;font-size:12px;font-weight:800}.v5-payment-error{color:#b42318!important;font-weight:700}.v5-complete-batch{display:flex;justify-content:flex-end;padding:15px;border-top:1px solid #e5eeec}@media (max-width:800px){.v5-delivery-header{align-items:stretch;flex-direction:column}.v5-delivery-search{width:auto}.v5-delivery-grid{grid-template-columns:minmax(0,1fr)}.v5-delivery-panel-heading{align-items:stretch;flex-direction:column}.v5-delivery-panel button,.v5-delivery-panel-heading button,.v5-stop-order .balance button{min-height:44px}.v5-delivery-panel-heading button{width:100%}.v5-delivery-stop{grid-template-columns:minmax(0,1fr)}.v5-payment-form input,.v5-payment-form select{min-height:44px}.v5-stop-move{grid-template-columns:1fr 1fr;display:grid}.v5-stop-move button{min-height:44px}}.v5-orders{color:#182323;display:grid;gap:18px;min-width:0}.v5-orders-header h1{font-size:30px;line-height:1.2;margin:0}.v5-orders-header p:last-child{color:#657171;margin:6px 0 0}.v5-orders-eyebrow{color:#0b746c;font-size:12px;font-weight:800;letter-spacing:.08em;margin:0 0 6px}.v5-orders-toolbar{align-items:end;display:flex;gap:18px;justify-content:space-between}.v5-order-tab-list{display:flex;flex-wrap:wrap;gap:4px}.v5-order-tab-list button{background:#fff;border:1px solid #dbe3e1;border-radius:6px;color:#536160;cursor:pointer;font:inherit;min-height:40px;padding:0 13px}.v5-order-tab-list button.is-active{background:#e6f3f0;border-color:#0b746c;color:#075c56;font-weight:700}.v5-order-tab-list strong{margin-left:7px}.v5-order-search{align-items:center;background:#fff;border:1px solid #dbe3e1;border-radius:6px;display:flex;gap:8px;min-height:40px;padding:0 11px;width:min(360px,100%)}.v5-order-search:focus-within{border-color:#128e82;outline:3px solid rgba(18,142,130,.2);outline-offset:2px}.v5-order-search svg{color:#657171;height:18px;width:18px}.v5-order-search input{border:0;font:inherit;min-width:0;outline:0;width:100%}.v5-order-list{background:#fff;border:1px solid #dbe3e1;border-radius:8px;overflow:hidden}.v5-order-list-heading{color:#657171;display:flex;font-size:13px;justify-content:space-between;padding:14px 18px}.v5-order-card{border-top:1px solid #e5e9e8}.v5-order-summary{align-items:center;display:grid;gap:14px;grid-template-columns:30px minmax(180px,1.6fr) minmax(115px,.8fr) 100px minmax(210px,auto);padding:16px 18px}.v5-expand-order{align-items:center;background:none;border:0;color:#0b746c;cursor:pointer;display:flex;padding:4px}.v5-expand-order svg{height:19px;width:19px}.v5-order-customer,.v5-order-status,.v5-order-meta{display:grid;gap:4px;min-width:0}.v5-order-customer span,.v5-order-status span,.v5-order-meta span{color:#657171;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v5-order-status{border-left:3px solid #879493;padding-left:10px}.status-partially_packed{border-color:#b66b16}.status-packed{border-color:#0b746c}.status-delivered{border-color:#315f96}.status-draft{border-color:#728079}.v5-order-actions{display:flex;gap:6px;justify-content:end}.v5-order-actions button{align-items:center;background:#fff;border:1px solid #ccd7d4;border-radius:5px;color:#31504d;cursor:pointer;display:inline-flex;font:inherit;gap:5px;min-height:34px;padding:0 9px}.v5-order-actions svg{height:15px;width:15px}.v5-mattress-details{background:#f7faf9;border-top:1px solid #e5e9e8;display:grid;gap:1px;padding:8px 18px 8px 62px}.v5-mattress-row{align-items:center;display:flex;gap:10px;padding:9px 0}.v5-mattress-row div{display:grid;gap:3px;flex:1}.v5-mattress-row span{color:#657171;font-size:13px}.v5-mattress-mark{align-items:center;background:#dcebe8;border-radius:4px;color:#075c56;display:inline-flex;font-size:12px!important;height:26px;justify-content:center;width:26px}.v5-draft-icon{align-items:center;background:#edf3f1;border-radius:5px;color:#31504d;display:inline-flex;height:30px;justify-content:center;width:30px}.v5-draft-icon svg{height:17px;width:17px}.v5-draft-card{background:#fbfcfc}.v5-draft-summary{grid-template-columns:30px minmax(180px,1.6fr) minmax(115px,.8fr) 100px minmax(130px,auto)}.v5-orders-empty{color:#657171;padding:50px 18px;text-align:center}@media (max-width: 820px){.v5-orders-toolbar{align-items:stretch;flex-direction:column-reverse}.v5-order-tab-list button,.v5-order-search{min-height:44px}.v5-order-search{width:auto}.v5-order-summary{grid-template-columns:44px minmax(0,1fr) auto}.v5-expand-order{min-height:44px;min-width:44px;justify-content:center}.v5-order-status{grid-column:2}.v5-order-meta{grid-column:3;grid-row:2}.v5-order-actions{grid-column:2 / -1;justify-content:start}.v5-order-actions button{min-height:44px;padding:0 12px}.v5-mattress-details{padding-left:18px}}.v5-production{color:#17302e}.v5-production-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:18px 0}.v5-production-header h1{margin:0;font-size:26px;letter-spacing:0}.v5-production-header p{margin:5px 0 0;color:#61736f}.v5-production-search{width:min(380px,100%);min-height:44px;display:flex;align-items:center;gap:8px;border:1px solid #cddbd7;border-radius:6px;padding:0 12px;background:#fff}.v5-production-search:focus-within{border-color:#128e82;outline:3px solid rgba(18,142,130,.2);outline-offset:2px}.v5-production-search svg{width:18px;color:#61736f}.v5-production-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;font:inherit}.v5-production-result-count{color:#657171;font-size:13px;margin:-6px 0 0;text-align:right}.v5-production-tabs{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid #dbe7e4}.v5-production-tabs button{min-height:44px;flex:0 0 auto;border:0;border-bottom:3px solid transparent;padding:9px 12px;background:transparent;color:#526a65;cursor:pointer;font:inherit;font-weight:700}.v5-production-tabs button.is-active{border-bottom-color:#087f73;color:#087f73}.v5-production-list{margin-top:14px;border:1px solid #dbe7e4;border-radius:8px;overflow:hidden;background:#fff}.v5-production-row{display:grid;grid-template-columns:76px minmax(200px,1.3fr) minmax(170px,.9fr) minmax(120px,.7fr) minmax(160px,.9fr) minmax(250px,auto);align-items:center;gap:14px;padding:15px;border-bottom:1px solid #e5eeec}.v5-production-row:last-child{border-bottom:0}.v5-production-row.is-focused{outline:3px solid rgba(18,142,130,.25);outline-offset:-3px}.v5-production-rank,.v5-production-customer{display:grid;gap:3px}.v5-production-rank strong{font-size:21px}.v5-production-rank span,.v5-production-customer span,.v5-production-customer small{color:#61736f;font-size:12px}.v5-priority-reason,.v5-production-state{display:flex;align-items:center;gap:7px;font-size:13px}.v5-priority-reason svg,.v5-production-state svg{width:17px}.v5-production-state{min-height:32px;border-radius:999px;padding:5px 10px;background:#edf4f2;color:#31514b}.v5-production-state.is-ready{background:#e7f6ef;color:#176a4c}.v5-production-state.is-danger{background:#fef3f2;color:#b42318}.v5-production-shortages{display:grid;gap:5px}.v5-production-shortages button{border:0;padding:0;background:transparent;color:#b42318;cursor:pointer;font:inherit;font-size:12px;text-align:left;text-decoration:underline}.v5-production-actions{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap}.v5-production-actions button{min-height:38px;display:inline-flex;align-items:center;gap:5px;border:1px solid #bfd1cc;border-radius:6px;padding:7px 9px;background:#fff;color:#31514b;cursor:pointer;font:inherit;font-size:12px;font-weight:700}.v5-production-actions button svg{width:15px}.v5-production-actions button.is-primary{border-color:#087f73;background:#087f73;color:#fff}.v5-production-empty{margin:0;padding:34px 18px;color:#61736f;text-align:center}.v5-production button:focus-visible,.v5-production input:focus-visible{outline:3px solid rgba(18,142,130,.3);outline-offset:2px}@media (max-width: 1180px){.v5-production-row{grid-template-columns:60px minmax(190px,1fr) 1fr 140px}.v5-production-shortages{grid-column:2 / 4}.v5-production-actions{grid-column:4;grid-row:1 / 3}}@media (max-width: 720px){.v5-production-header{align-items:stretch;flex-direction:column}.v5-production-search{width:100%}.v5-production-row{grid-template-columns:48px 1fr;align-items:start}.v5-priority-reason,.v5-production-state,.v5-production-shortages,.v5-production-actions{grid-column:1 / -1}.v5-production-actions{grid-row:auto;justify-content:stretch}.v5-production-actions button{flex:1;justify-content:center;min-height:44px}}.v5-sales-analytics{color:#17302e}.v5-sales-header{padding:18px 0}.v5-sales-header h1{margin:0;font-size:26px;letter-spacing:0}.v5-sales-header p{margin:5px 0 0;color:#61736f}.v5-sales-metrics{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #dbe7e4;border-radius:8px;overflow:hidden;background:#fff}.v5-sales-metrics button{min-width:0;min-height:128px;display:grid;grid-template-columns:26px 1fr;grid-template-rows:auto auto auto;align-content:center;gap:3px 10px;border:0;border-right:1px solid #e5eeec;padding:18px;background:transparent;color:#17302e;cursor:pointer;text-align:left}.v5-sales-metrics button:last-child{border-right:0}.v5-sales-metrics svg{grid-row:1 / 4;align-self:start;width:20px;color:#087f73}.v5-sales-metrics span,.v5-sales-metrics small{color:#61736f}.v5-sales-metrics strong{font-size:23px}.v5-sales-metrics small{font-size:12px}.v5-sales-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);gap:16px;margin-top:16px}.v5-sales-trend,.v5-operations-health{border:1px solid #dbe7e4;border-radius:8px;padding:18px;background:#fff}.v5-sales-trend h2,.v5-operations-health h2{margin:0;font-size:17px}.v5-sales-bars{display:grid;gap:13px;margin-top:18px}.v5-sales-bar-row{display:grid;grid-template-columns:48px 1fr 90px;align-items:center;gap:10px;font-size:12px}.v5-sales-bar-row>div{height:10px;overflow:hidden;border-radius:3px;background:#e8f0ee}.v5-sales-bar-row i{display:block;height:100%;border-radius:3px;background:#087f73}.v5-sales-bar-row strong{text-align:right}.v5-operations-health{display:grid;align-content:start;gap:10px}.v5-operations-health button{min-height:68px;display:flex;align-items:center;gap:12px;border:1px solid #dbe7e4;border-radius:6px;padding:12px;background:#f8fbfa;color:#17302e;cursor:pointer;text-align:left}.v5-operations-health button svg{width:20px;color:#087f73}.v5-operations-health button span{display:grid;gap:3px}.v5-operations-health small,.v5-sales-empty{color:#61736f}.v5-sales-analytics button:focus-visible{outline:3px solid rgba(18,142,130,.3);outline-offset:2px}@media (max-width: 900px){.v5-sales-metrics{grid-template-columns:1fr 1fr}.v5-sales-metrics button:nth-child(2){border-right:0}.v5-sales-metrics button:nth-child(-n+2){border-bottom:1px solid #e5eeec}.v5-sales-grid{grid-template-columns:1fr}}@media (max-width: 560px){.v5-sales-metrics{grid-template-columns:1fr}.v5-sales-metrics button{min-height:104px;border-right:0;border-bottom:1px solid #e5eeec}.v5-sales-metrics button:last-child{border-bottom:0}.v5-sales-bar-row{grid-template-columns:42px 1fr 76px}}.v5-supply{color:#182323;display:grid;gap:18px;min-width:0}.v5-supply-header{align-items:end;display:flex;gap:24px;justify-content:space-between}.v5-supply-header h1{font-size:30px;line-height:1.2;margin:0}.v5-supply-header p:last-child{color:#657171;margin:6px 0 0}.v5-supply-header-actions{align-items:center;display:flex;gap:10px;justify-content:flex-end;min-width:min(560px,100%)}.v5-supply-opening-button{align-items:center;background:#0b746c;border:1px solid #0b746c;border-radius:6px;color:#fff;cursor:pointer;display:inline-flex;font:inherit;font-weight:800;gap:7px;min-height:42px;padding:0 14px;white-space:nowrap}.v5-supply-opening-button:disabled{cursor:not-allowed;opacity:.45}.v5-supply-opening-button svg{height:17px;width:17px}.v5-supply-kicker{color:#0b746c;font-size:12px;font-weight:800;letter-spacing:.08em;margin:0 0 6px}.v5-supply-search{align-items:center;border:1px solid #cbd8d5;border-radius:6px;display:flex;gap:8px;min-height:42px;padding:0 12px;width:min(320px,100%)}.v5-supply-search:focus-within{border-color:#128e82;outline:3px solid rgba(18,142,130,.2);outline-offset:2px}.v5-supply-search svg{color:#657171;height:17px;width:17px}.v5-supply-search input{border:0;font:inherit;min-width:0;outline:0;width:100%}.v5-supply-panel{display:grid;gap:18px;min-width:0}.v5-supply-tabs{border-bottom:1px solid #dbe3e1;display:flex;gap:22px;overflow:auto}.v5-supply-tabs button{background:transparent;border:0;border-bottom:3px solid transparent;color:#657171;cursor:pointer;font:inherit;font-weight:700;min-height:44px;padding:0 2px;white-space:nowrap}.v5-supply-tabs button.is-active{border-color:#0b746c;color:#0b746c}.v5-supply-table-wrap{background:#fff;border:1px solid #dbe3e1;border-radius:8px;overflow:auto}.v5-supply-table{border-collapse:collapse;min-width:1040px;width:100%}.v5-supply-table th,.v5-supply-table td{border-bottom:1px solid #edf1f0;padding:14px 12px;text-align:right;white-space:nowrap}.v5-supply-table thead th{background:#f7faf9;color:#657171;font-size:12px;font-weight:700}.v5-supply-table tbody th{text-align:left}.v5-supply-table tbody th strong,.v5-supply-table tbody th span{display:block}.v5-supply-table tbody th span{color:#657171;font-size:12px;font-weight:400;margin-top:4px}.v5-supply-table tbody tr.is-shortage{background:#fff5f3}.v5-supply-table tbody tr.is-below_safety{background:#fffaf0}.v5-supply-table tbody tr.is-sufficient{background:#f4fbf7}.v5-supply-status{font-weight:800}.is-shortage .v5-supply-status{color:#c63d32}.is-below_safety .v5-supply-status{color:#9a5a12}.is-sufficient .v5-supply-status{color:#18734a}.v5-supply-actions{display:flex;gap:6px}.v5-supply-actions button{align-items:center;background:#fff;border:1px solid #cbd8d5;border-radius:5px;color:#24504b;cursor:pointer;display:inline-flex;gap:4px;font:inherit;font-size:12px;padding:7px 9px}.v5-supply-actions svg{height:14px;width:14px}.v5-supply-empty{color:#657171;margin:0;padding:32px;text-align:center}.sr-only{height:1px;margin:-1px;overflow:hidden;position:absolute;width:1px;clip:rect(0,0,0,0)}.v5-procurement-form,.v5-procurement-list{background:#fff;border:1px solid #dbe3e1;border-radius:8px;padding:18px}.v5-opening-stock-form{background:#f4fbf8;border:1px solid #bcded7;border-radius:8px;display:grid;gap:14px;padding:18px}.v5-opening-stock-form h2{font-size:18px;margin:0}.v5-opening-stock-form p{color:#657171;margin:5px 0 0}.v5-opening-stock-grid{align-items:end;display:grid;gap:12px;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) 120px 120px auto}.v5-opening-stock-grid label{color:#536561;display:grid;font-size:12px;font-weight:700;gap:5px}.v5-opening-stock-grid input{border:1px solid #bfcfcb;border-radius:5px;font:inherit;min-height:40px;min-width:0;padding:8px 10px}.v5-opening-stock-actions{display:flex;gap:8px}.v5-opening-stock-actions button{background:#fff;border:1px solid #bfcfcb;border-radius:5px;color:#24504b;cursor:pointer;font:inherit;font-weight:700;min-height:40px;padding:8px 12px}.v5-opening-stock-actions button.is-primary{background:#0b746c;border-color:#0b746c;color:#fff}.v5-opening-stock-actions button:disabled{cursor:not-allowed;opacity:.45}.v5-opening-stock-error{color:#b7352c!important;font-weight:700}.v5-procurement-form h2,.v5-procurement-heading h2{font-size:18px;margin:0}.v5-procurement-form-grid{align-items:end;display:grid;gap:12px;grid-template-columns:minmax(180px,.8fr) 120px minmax(220px,1.4fr) auto;margin-top:14px}.v5-procurement-form-grid label,.v5-procurement-actions label{color:#536561;display:grid;font-size:12px;font-weight:700;gap:5px}.v5-procurement-form-grid input,.v5-procurement-actions input{border:1px solid #cbd8d5;border-radius:5px;font:inherit;min-height:40px;min-width:0;padding:8px 10px}.v5-procurement-form-actions,.v5-procurement-actions{align-items:end;display:flex;flex-wrap:wrap;gap:8px}.v5-procurement-form-actions button,.v5-procurement-actions button{background:#fff;border:1px solid #bfcfcb;border-radius:5px;color:#24504b;cursor:pointer;font:inherit;font-weight:700;min-height:40px;padding:8px 12px}.v5-procurement-form-actions button.is-primary,.v5-procurement-actions button.is-primary{background:#0b746c;border-color:#0b746c;color:#fff}.v5-procurement-form-actions button:disabled{cursor:not-allowed;opacity:.45}.v5-procurement-heading{align-items:center;display:flex;justify-content:space-between}.v5-procurement-card{border-top:1px solid #e5ecea;margin-top:14px;padding-top:14px}.v5-procurement-card header{align-items:start;display:flex;gap:16px;justify-content:space-between}.v5-procurement-card header div,.v5-procurement-card header span{display:grid;gap:4px}.v5-procurement-card header span{color:#657171;font-size:12px}.v5-procurement-card header b{color:#0b746c;font-size:13px}.v5-procurement-card dl{display:grid;gap:8px;grid-template-columns:repeat(6,minmax(0,1fr));margin:14px 0}.v5-procurement-card dl div{background:#f7faf9;border-radius:5px;padding:9px}.v5-procurement-card dt{color:#657171;font-size:11px}.v5-procurement-card dd{font-weight:800;margin:3px 0 0}.v5-procurement-actions label{width:120px}@media (max-width:700px){.v5-supply-header{align-items:stretch;flex-direction:column}.v5-supply-header-actions{align-items:stretch;flex-direction:column;min-width:0}.v5-supply-opening-button{justify-content:center;min-height:44px}.v5-supply-header h1{font-size:26px}.v5-supply-search{min-height:44px;width:auto}.v5-supply-table-wrap{border:0;border-radius:0;overflow:visible;background:transparent}.v5-supply-table{display:block;min-width:0;width:100%}.v5-supply-table thead{clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;position:absolute;width:1px}.v5-supply-table tbody{display:grid;gap:10px}.v5-supply-table tbody tr{border:1px solid #dbe3e1;border-radius:7px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden}.v5-supply-table tbody th{border-bottom:1px solid #e3eae8;grid-column:1 / -1;padding:14px;white-space:normal}.v5-supply-table tbody td{align-items:center;border-bottom:1px solid rgba(219,227,225,.7);display:grid;gap:4px;grid-template-columns:minmax(0,1fr) auto;padding:10px 14px;text-align:right;white-space:normal}.v5-supply-table tbody td:before{color:#657171;content:attr(data-label);font-size:11px;font-weight:700;text-align:left}.v5-supply-table tbody td:nth-of-type(odd){border-right:1px solid rgba(219,227,225,.7)}.v5-supply-table tbody td[data-label=状态],.v5-supply-table tbody td[data-label=操作]{grid-column:1 / -1}.v5-supply-actions{grid-template-columns:1fr 1fr!important}.v5-supply-actions:before{grid-column:1 / -1}.v5-supply-actions button{justify-content:center;min-height:44px}}@media (max-width:900px){.v5-procurement-form-grid{grid-template-columns:1fr 1fr}.v5-procurement-form-actions{grid-column:1 / -1}.v5-procurement-card dl{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:900px){.v5-opening-stock-grid{grid-template-columns:1fr 1fr}.v5-opening-stock-actions{grid-column:1 / -1}}@media (max-width:600px){.v5-procurement-form-grid,.v5-procurement-card dl,.v5-opening-stock-grid{grid-template-columns:1fr}.v5-procurement-form-actions,.v5-procurement-actions,.v5-opening-stock-actions{align-items:stretch;flex-direction:column}.v5-procurement-form-actions button,.v5-procurement-actions button,.v5-procurement-actions label,.v5-opening-stock-actions button{width:100%}}.v5-today{color:#182323;display:grid;gap:20px;min-width:0}.v5-today-header{align-items:end;display:flex;gap:24px;justify-content:space-between}.v5-today-header h1,.v5-band-heading h2{letter-spacing:0;margin:0}.v5-today-header h1{font-size:30px;line-height:1.2}.v5-today-header p:last-child{color:#657171;margin:6px 0 0}.v5-primary-command{align-items:center;background:#0b746c;border:1px solid #0b746c;border-radius:6px;color:#fff;cursor:pointer;display:inline-flex;font:inherit;font-weight:700;justify-content:center;min-height:44px;padding:0 18px}.v5-metric-strip{background:#fff;border:1px solid #dbe3e1;border-radius:8px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));overflow:hidden}.v5-metric-strip>button{align-content:start;background:transparent;border:0;border-right:1px solid #e5e9e8;color:inherit;cursor:pointer;display:grid;gap:6px;min-height:132px;padding:16px;text-align:left}.v5-metric-strip>button:last-child{border-right:0}.v5-metric-strip>button:hover{background:#f4f9f7}.v5-metric-strip>button:focus-visible{box-shadow:inset 0 0 0 3px #0b746c;outline:0}.v5-metric-strip svg{color:#0b746c;height:19px;width:19px}.v5-metric-strip span{color:#657171;font-size:13px}.v5-metric-strip strong{font-size:24px;letter-spacing:0;line-height:1.15}.v5-metric-strip small{color:#7b8585;line-height:1.4}.v5-metric-strip .is-danger{background:#fff7f6}.v5-metric-strip .is-danger svg,.v5-metric-strip .is-danger strong{color:#c63d32}.v5-metric-strip .is-warning{background:#fffaf0}.v5-metric-strip .is-warning svg,.v5-metric-strip .is-warning strong{color:#9a5a12}.v5-today-body{display:grid;gap:20px;grid-template-columns:minmax(0,3fr) minmax(260px,2fr)}.v5-action-queue,.v5-business-summary{background:#fff;border:1px solid #dbe3e1;border-radius:8px;min-width:0;padding:18px}.v5-band-heading{align-items:center;display:flex;justify-content:space-between}.v5-band-heading h2{font-size:18px}.v5-band-heading>span{color:#657171;font-size:13px}.v5-empty-action{align-items:center;color:#657171;display:grid;gap:8px;justify-items:start;min-height:160px;padding:20px 4px}.v5-empty-action svg{color:#0b746c}.v5-empty-action strong{color:#273333}.v5-action-list{display:grid;margin-top:14px}.v5-action-list button{align-items:center;background:transparent;border:0;border-top:1px solid #e5e9e8;color:inherit;cursor:pointer;display:flex;font:inherit;justify-content:space-between;min-height:78px;padding:12px 0;text-align:left}.v5-action-list button>span:first-child{display:grid;gap:5px}.v5-action-list button>span:last-child{color:#0b746c;font-weight:700}.v5-action-list small{color:#657171}.v5-business-summary dl{display:grid;gap:0;margin:14px 0 0}.v5-business-summary dl>div{align-items:center;border-top:1px solid #e5e9e8;display:flex;justify-content:space-between;min-height:48px}.v5-business-summary dt{color:#657171}.v5-business-summary dd{font-weight:700;margin:0}@media (max-width: 1180px){.v5-metric-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.v5-metric-strip>button:nth-child(3){border-right:0}.v5-metric-strip>button:nth-child(-n+3){border-bottom:1px solid #e5e9e8}}@media (max-width: 720px){.v5-today{gap:14px}.v5-today-header{align-items:stretch;flex-direction:column;gap:12px}.v5-today-header h1{font-size:26px}.v5-primary-command{width:100%}.v5-metric-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.v5-metric-strip>button{border-bottom:1px solid #e5e9e8;min-height:124px}.v5-metric-strip>button:nth-child(2n){border-right:0}.v5-metric-strip>button:nth-last-child(-n+2){border-bottom:0}.v5-today-body{grid-template-columns:1fr}}.v5-app-shell{min-height:100vh;display:grid;grid-template-columns:224px minmax(0,1fr);background:#f4f7f6;color:#17302e}.v5-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:22px;padding:20px 14px;border-right:1px solid #dbe7e4;background:#fff}.v5-brand{display:flex;align-items:center;gap:10px;padding:4px 8px}.v5-brand>span{display:grid;place-items:center;width:40px;height:40px;border-radius:8px;background:#087f73;color:#fff;font-weight:800}.v5-brand div{display:grid;gap:2px}.v5-brand small{color:#61736f}.v5-sidebar nav{display:grid;gap:4px}.v5-sidebar nav button,.v5-mobile-nav button{min-height:46px;display:flex;align-items:center;gap:10px;border:0;border-radius:6px;padding:10px 12px;background:transparent;color:#31514b;cursor:pointer;font:inherit;font-weight:700}.v5-sidebar nav button svg,.v5-mobile-nav button svg{width:19px;height:19px}.v5-sidebar nav button.is-active,.v5-mobile-nav button.is-active{background:#123c38;color:#fff}.v5-new-order{min-height:46px;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:auto;border:0;border-radius:6px;background:#087f73;color:#fff;cursor:pointer;font:inherit;font-weight:800}.v5-new-order svg{width:18px}.v5-app-main{min-width:0;padding:18px clamp(16px,2.5vw,34px) 48px}.v5-back-command{min-height:44px;display:inline-flex;align-items:center;gap:8px;margin-bottom:8px;border:1px solid #bfd1cc;border-radius:6px;padding:8px 12px;background:#fff;color:#31514b;cursor:pointer;font:inherit;font-weight:700}.v5-back-command svg{width:18px}.v5-more-workspace{display:grid;gap:20px;padding:12px 0 24px}.v5-more-workspace header>span{color:#087f73;font-size:13px;font-weight:800}.v5-more-workspace h1{margin:4px 0 0;font-size:28px;letter-spacing:0}.v5-more-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.v5-more-actions button{min-height:92px;display:flex;align-items:center;gap:12px;border:1px solid #d4e1de;border-radius:8px;padding:18px;background:#fff;color:#234843;cursor:pointer;font:inherit;text-align:left}.v5-more-actions button svg{width:22px;color:#087f73}.v5-more-actions button:focus-visible{outline:3px solid rgba(18,142,130,.3);outline-offset:2px}.v5-backup-panel{display:grid;gap:14px;border:1px solid #d4e1de;border-radius:8px;padding:20px;background:#fff}.v5-backup-panel>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.v5-backup-panel>header span{color:#087f73;font-size:13px;font-weight:800}.v5-backup-panel>header h2{margin:3px 0 0;font-size:20px;letter-spacing:0}.v5-backup-panel>header>svg{width:24px;color:#087f73}.v5-backup-panel>p{margin:0;color:#61736f}.v5-backup-actions{display:flex;flex-wrap:wrap;gap:10px}.v5-backup-actions .v5-button{min-height:44px;display:inline-flex;align-items:center;gap:8px;cursor:pointer}.v5-backup-actions .v5-button svg{width:18px}.v5-backup-error{border-left:3px solid #c43d48;padding:8px 10px;color:#8e2530!important;background:#fff6f7}.v5-backup-stage{display:grid;grid-template-columns:repeat(4,max-content);align-items:center;gap:10px 18px;border:1px solid #e4bd7b;border-radius:6px;padding:14px;background:#fffaf1}.v5-backup-stage>strong,.v5-backup-stage>p,.v5-backup-stage>div{grid-column:1 / -1}.v5-backup-stage>p{margin:0;color:#6e5a37}.v5-backup-stage>div{display:flex;flex-wrap:wrap;gap:10px}.v5-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.v5-mobile-nav{display:none}.v5-sidebar button:focus-visible,.v5-back-command:focus-visible,.v5-mobile-nav button:focus-visible{outline:3px solid rgba(18,142,130,.3);outline-offset:2px}@media (max-width: 760px){.v5-app-shell{display:block;padding-bottom:calc(72px + env(safe-area-inset-bottom))}.v5-sidebar{display:none}.v5-app-main{padding:12px 12px 28px}.v5-mobile-nav{position:fixed;left:0;right:0;bottom:0;z-index:20;display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #dbe7e4;background:#fffffffa;padding:6px 4px max(6px,env(safe-area-inset-bottom))}.v5-mobile-nav button{min-height:52px;flex-direction:column;justify-content:center;gap:2px;padding:5px 2px;font-size:11px}.v5-mobile-nav button.is-active{background:transparent;color:#087f73}.v5-more-actions{grid-template-columns:1fr}.v5-more-actions button{min-height:64px}.v5-backup-panel{padding:16px}.v5-backup-actions{display:grid;grid-template-columns:1fr}.v5-backup-actions .v5-button{justify-content:center}.v5-backup-stage{grid-template-columns:repeat(2,minmax(0,1fr))}}:root{color-scheme:light;--bg: #f5f8f7;--ink: #102523;--muted: #627170;--line: rgba(31, 55, 59, .13);--line-strong: rgba(31, 55, 59, .22);--surface: rgba(255, 255, 255, .78);--surface-strong: rgba(255, 255, 255, .94);--field: #fbfdfc;--primary: #0d7f77;--primary-strong: #0a5f5a;--primary-soft: rgba(13, 127, 119, .11);--cyan: #238ca4;--mint: #16845f;--amber: #b96f1f;--danger: #c84657;--shadow: 0 14px 42px rgba(24, 49, 52, .1);--shadow-soft: 0 8px 24px rgba(24, 49, 52, .08);font-family:SF Pro Display,PingFang SC,Microsoft YaHei,system-ui,-apple-system,sans-serif;font-synthesis:none;text-rendering:geometricPrecision}*{box-sizing:border-box}html,body,#root{max-width:100%}body{margin:0;min-width:320px;min-height:100vh;color:var(--ink);overflow-x:hidden;background:linear-gradient(145deg,#e2f5f0d1,#f8fbf9f5 42%,#f1f6f8eb),linear-gradient(90deg,#1784770f,#b96f1f0b)}body:before{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;content:"";background-image:linear-gradient(rgba(74,97,130,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(74,97,130,.05) 1px,transparent 1px);background-size:64px 64px;-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.45),transparent 70%);mask-image:linear-gradient(to bottom,rgba(0,0,0,.45),transparent 70%)}button,input,select{font:inherit}input,select{min-width:0}button{border:0;cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #0a5f5a;outline-offset:2px}.runtime-with-compliance{display:flex;flex-direction:column;min-height:100vh}.runtime-content{flex:1;min-width:0}.site-compliance-footer{position:relative;z-index:5;padding:10px 16px;color:var(--muted);font-size:12px;text-align:center;border-top:1px solid var(--line);background:#ffffffe6}.site-compliance-footer a{color:inherit;text-decoration:none}.site-compliance-footer a:hover{color:var(--primary-strong);text-decoration:underline}.cloud-workspace-gate{display:grid;grid-template-columns:minmax(0,1fr);min-height:100vh;padding:24px;place-items:center}.cloud-workspace-gate>.settings-panel,.cloud-workspace-gate>.empty-state{width:100%;max-width:440px;min-width:0;padding:24px;border:1px solid var(--line);border-radius:8px;background:var(--surface-strong);box-shadow:var(--shadow)}@media (max-width: 520px){.cloud-workspace-gate{padding:16px 12px}.cloud-workspace-gate>.settings-panel,.cloud-workspace-gate>.empty-state{padding:20px}}.cloud-workspace-gate .form-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:20px;margin-bottom:0}.cloud-workspace-gate .form-grid label{display:grid;gap:7px;color:var(--muted);font-size:13px;font-weight:700}.cloud-workspace-gate .form-grid input{width:100%;min-height:44px;padding:0 12px;color:var(--ink);border:1px solid var(--line-strong);border-radius:6px;background:var(--field)}.cloud-workspace-toolbar{position:sticky;top:0;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:6px 16px;border-bottom:1px solid var(--line);background:#fffffff5;box-shadow:0 4px 16px #1831340f}.cloud-workspace-toolbar>div{display:flex;align-items:baseline;gap:8px;min-width:0}.cloud-workspace-toolbar strong,.cloud-workspace-toolbar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cloud-workspace-toolbar span{color:var(--muted);font-size:12px}.cloud-workspace-session .app-shell{min-height:calc(100vh - 44px)}.cloud-sync-status{position:fixed;right:18px;bottom:18px;z-index:80;display:flex;align-items:center;gap:10px;max-width:min(420px,calc(100vw - 36px));min-height:38px;padding:8px 12px;color:var(--primary-strong);font-size:12px;font-weight:700;border:1px solid rgba(13,127,119,.22);border-radius:7px;background:#f4fbf8;box-shadow:var(--shadow-soft)}.cloud-sync-status-unsynced,.cloud-sync-status-pending,.cloud-sync-status-saving{color:#79501f;border-color:#b96f1f47;background:#fff9f0}.cloud-sync-status-conflict,.cloud-sync-status-blocked{color:#8f2f3d;border-color:#c846574d;background:#fff5f6}input:focus-visible,select:focus-visible{border-color:#0d7f7775;background:#fff}.app-shell{display:grid;grid-template-columns:212px minmax(0,1fr);gap:16px;min-height:100vh;padding:16px}.sidebar{position:sticky;top:18px;display:flex;flex-direction:column;height:calc(100vh - 36px);padding:12px;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#ffffffd1;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:10px;padding:8px 8px 18px}.brand>span{display:grid;width:34px;height:34px;place-items:center;color:#fff;font-size:12px;font-weight:800;border-radius:9px;background:linear-gradient(145deg,#0f2b2c,var(--primary));box-shadow:0 10px 24px #0d7f7733}.brand strong,.packing-item strong,.inventory-row strong,.route-row strong,.service-row strong,.task-row strong{display:block;font-size:14px;letter-spacing:0}.brand small{display:block;margin-top:2px;color:var(--muted);font-size:11px}.sidebar nav{display:grid;gap:5px}.sidebar nav button,.settings-button{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;min-height:40px;padding:0 9px;color:#2d4545;text-align:left;border-radius:9px;background:transparent}.sidebar nav span,.settings-button{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar nav button:hover,.settings-button:hover{background:#f2f8f6db}.sidebar nav button.active{color:#fff;background:#102a2c;box-shadow:0 12px 26px #102a2c2e}.sidebar em{min-width:20px;padding:2px 6px;color:inherit;font-size:11px;font-style:normal;text-align:center;border-radius:999px;background:#0d7f771a}.sidebar button.active em{background:#ffffff2e}.settings-button{margin-top:auto}.workspace{position:relative;z-index:1;display:grid;align-content:start;gap:16px;min-width:0}.topbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:16px;align-items:start;min-height:78px;padding:12px 2px 4px}.topbar span,.section-head span{display:block;color:var(--primary);font-size:12px;font-weight:700}.topbar h1{margin:4px 0;font-size:clamp(24px,3vw,32px);line-height:1.08;font-weight:760;letter-spacing:0}.topbar p,.section-head p{margin:0;color:var(--muted);font-size:14px}.boundary-banner{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:58px;padding:10px 14px;border:1px solid rgba(33,185,141,.18);border-radius:12px;background:#f6fdfad1;box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.boundary-banner svg{color:var(--mint)}.boundary-banner strong,.boundary-banner span{display:block}.boundary-banner strong{font-size:14px}.boundary-banner span{margin-top:2px;color:var(--muted);font-size:12px}.boundary-banner small{display:block;margin-top:3px;color:#9b5b12;font-size:12px;line-height:1.35}.boundary-banner mark{padding:5px 9px;color:#12805f;font-size:12px;border-radius:999px;background:#21b98d24}.search{display:flex;align-items:center;gap:9px;min-height:40px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#ffffffd1;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.search input{width:100%;color:var(--ink);border:0;outline:none;background:transparent}.overview-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);gap:14px}.stats-row{grid-column:1 / -1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.surface,.stat-card{border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.surface{min-width:0;padding:13px}.topbar,.boundary-banner{min-width:0}.sales-panel,.order-panel{min-width:0;overflow:hidden}.order-status-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.draft-review-panel{display:grid;gap:10px;margin-bottom:12px;padding:12px;border:1px solid rgba(13,127,119,.13);border-radius:12px;background:#f7fdfac7}.compact-head{align-items:center;margin-bottom:0;padding-bottom:0;border-bottom:0}.draft-review-list{display:grid;gap:8px}.draft-review-card{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(180px,.85fr) auto;gap:10px;align-items:center;min-height:96px;padding:10px;border:1px solid rgba(31,55,59,.1);border-radius:10px;background:#ffffffdb}.draft-review-main,.draft-review-materials{min-width:0}.draft-review-main strong{display:block;font-size:15px}.draft-review-main span,.draft-review-main em,.draft-review-main p{display:block;min-width:0;margin:3px 0 0;color:var(--muted);font-size:12px;font-style:normal;line-height:1.45;overflow-wrap:anywhere}.draft-review-main p{color:#315050;font-weight:680}.draft-review-materials{display:flex;flex-wrap:wrap;gap:6px}.draft-review-materials span{min-height:26px;padding:5px 8px;color:#345456;font-size:12px;font-weight:680;border:1px solid rgba(31,55,59,.1);border-radius:999px;background:#f6f8f8e6}.draft-review-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;min-width:230px}.upload-contract-button{position:relative;cursor:pointer}.upload-contract-button input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.backup-restore-button{position:relative;cursor:pointer}.backup-restore-button input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.table-title{margin:0 0 8px;color:var(--muted);font-size:13px;font-weight:760}.order-status-card{width:100%;min-height:88px;padding:12px;color:var(--ink);text-align:left;cursor:pointer;border:1px solid rgba(94,114,148,.13);border-radius:12px;background:#ffffffc2}.order-status-card:hover,.order-status-card:focus-visible{border-color:#0d7f7761;box-shadow:0 5px 14px #14373414;outline:none}.order-lifecycle-tabs{display:flex;gap:5px;padding:4px;overflow-x:auto;border:1px solid var(--line);border-radius:8px;background:#f5f8f7}.order-lifecycle-tabs button{flex:0 0 auto;min-height:34px;padding:6px 11px;color:var(--muted);font-size:12px;font-weight:720;border:1px solid transparent;border-radius:5px;background:transparent}.order-lifecycle-tabs button strong{margin-left:3px;font-variant-numeric:tabular-nums}.order-lifecycle-tabs button.active{color:#fff;border-color:var(--primary-strong);background:var(--primary-strong)}.order-sort-note{display:flex;gap:6px;align-items:center;margin-top:7px;color:var(--muted);font-size:12px;line-height:1.4}.order-sort-note svg{flex:0 0 auto;color:var(--primary)}.operational-search{display:grid;grid-template-columns:minmax(220px,520px) 34px minmax(max-content,1fr);align-items:center;gap:7px;margin:8px 0 0}.operational-search-input{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:7px;min-width:0;min-height:38px;padding:0 10px;color:var(--muted);border:1px solid rgba(31,55,59,.14);border-radius:7px;background:#fff}.operational-search-input:focus-within{color:var(--primary-strong);border-color:#0d7f777a;box-shadow:0 0 0 3px #0d7f771a}.operational-search-input input{width:100%;min-width:0;height:36px;padding:0;color:var(--ink);border:0;outline:0;background:transparent}.operational-search-clear{display:grid;width:34px;height:34px;place-items:center;padding:0;color:var(--muted);border:1px solid var(--line);border-radius:6px;background:#fff}.operational-search-clear:hover,.operational-search-clear:focus-visible{color:var(--primary-strong);border-color:#0d7f7757;box-shadow:0 0 0 3px #0d7f771f;outline:none}.operational-search-result{justify-self:end;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.sku-search,.service-search{margin-top:0}.order-active-filter{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;color:#7a4a18;font-size:12px;border:1px solid rgba(185,111,31,.2);border-radius:7px;background:#fff9efd1}.order-reconciliation-clear{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;color:#69410f;border:1px solid rgba(185,111,31,.24);border-radius:7px;background:#fff9ef}.order-reconciliation-clear>div{display:grid;gap:2px}.order-reconciliation-clear strong{color:var(--ink);font-size:13px}.order-reconciliation-clear span{font-size:12px;line-height:1.5}.order-status-card span,.order-status-card em{display:block;color:var(--muted);font-size:12px;font-style:normal;line-height:1.4}.order-status-card strong{display:block;margin:6px 0;color:var(--ink);font-size:24px;line-height:1.05;font-variant-numeric:tabular-nums;letter-spacing:0}.order-status-card.warning{border-color:#b96f1f38;background:#fffaf1d1}.order-status-card.info{border-color:#238ca433;background:#f2fafcd6}.order-status-card.safe{border-color:#16845f33;background:#f3fcf8d6}.order-status-card.money{border-color:#1f373b29;background:#fafbf7d6}.stat-card{display:flex;align-items:center;min-height:104px;gap:14px;padding:16px}.stat-icon,.task-icon{display:grid;flex:0 0 auto;width:36px;height:36px;place-items:center;color:var(--primary);border-radius:10px;background:var(--primary-soft)}.stat-card.mint .stat-icon,.task-icon.safe{color:var(--mint);background:#21b98d1f}.stat-card.amber .stat-icon,.task-icon.warning{color:var(--amber);background:#d9903021}.stat-card.cyan .stat-icon{color:#0f98ad;background:#20c8d21f}.task-icon.danger{color:var(--danger);background:#e352691f}.stat-card p{margin:0;color:var(--muted);font-size:12px}.stat-card strong{display:block;margin-top:4px;font-size:26px;line-height:1.05;font-variant-numeric:tabular-nums;letter-spacing:0}.stat-card span{display:block;margin-top:6px;color:#8090a4;font-size:12px}.section-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:12px}.section-head h2{margin:3px 0 0;font-size:17px;line-height:1.2;letter-spacing:0}.primary-button,.ghost-button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;gap:7px;padding:0 12px;white-space:nowrap;border-radius:9px;font-size:13px;font-weight:720}.primary-button{color:#fff;background:var(--primary);box-shadow:0 10px 22px #0d7f772e}.ghost-button{color:#2f4848;border:1px solid var(--line);background:#ffffffc7}.primary-button:hover{background:var(--primary-strong)}.primary-button:disabled,.primary-button:disabled:hover{cursor:not-allowed;color:#78908e;border-color:#3d68641f;background:#dfe9e7;box-shadow:none}.ghost-button:hover{border-color:var(--line-strong);background:#ffffffdb}.danger-button{color:var(--danger);border-color:#c8465738;background:#fff8f9d1}.danger-button:hover{border-color:#c8465757;background:#fff2f5eb}.ghost-button:disabled,.ghost-button[aria-disabled=true]{cursor:default;color:#6b8180;border-color:#0e76702e;background:#e8f8f5b8;box-shadow:none}.ghost-button:disabled:hover,.ghost-button[aria-disabled=true]:hover{border-color:#0e76702e;background:#e8f8f5b8}.button-row{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.task-center{display:grid;gap:8px}.task-row,.inventory-row,.route-row,.service-row{display:grid;align-items:center;gap:12px;min-height:58px;padding:10px 12px;border:1px solid rgba(94,114,148,.11);border-radius:11px;background:#ffffffb8}.empty-state{display:grid;min-height:132px;place-items:center;align-content:center;gap:7px;padding:18px;color:var(--muted);text-align:center;border:1px dashed rgba(94,114,148,.26);border-radius:14px;background:#ffffff7a}.empty-state svg{color:var(--primary)}.empty-state strong{color:var(--ink);font-size:14px}.empty-state p{max-width:420px;margin:0;font-size:12px;line-height:1.5}.task-row{grid-template-columns:36px minmax(0,1fr) auto}.task-row p,.inventory-row span,.route-row span,.service-row span,.packing-item span,td span{display:block;margin:2px 0 0;color:var(--muted);font-size:12px}.task-row em{padding:4px 8px;color:var(--primary);font-size:12px;font-style:normal;border-radius:999px;background:var(--primary-soft)}.inventory-panel{grid-row:span 2}.inventory-toolbar{display:inline-flex;align-items:center;gap:8px}.inventory-control-row{display:flex;align-items:center;gap:8px;margin:-2px 0 12px}.inventory-filter{display:flex;align-items:center;gap:8px;min-width:min(420px,100%);min-height:40px;padding:0 10px;color:var(--muted);border:1px solid rgba(31,55,59,.12);border-radius:10px;background:#ffffffc7}.inventory-filter span{flex:0 0 auto;color:var(--ink);font-size:12px;font-weight:760}.inventory-filter input{min-width:0;flex:1;height:38px;color:var(--ink);border:0;outline:0;background:transparent}.inventory-filter-count{margin-left:auto;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}.inventory-save-note{margin:-4px 0 12px;color:var(--primary);font-size:12px}.inventory-add-panel{display:grid;gap:12px;margin:0 0 12px;padding:12px;border:1px solid rgba(13,127,119,.16);border-radius:14px;background:#f4fdf9b8}.inventory-add-head,.inventory-add-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.inventory-add-head span{display:block;color:var(--primary);font-size:12px;font-weight:760}.inventory-add-head strong{display:block;margin-top:3px;color:var(--ink);font-size:15px}.inventory-add-grid{display:grid;grid-template-columns:160px minmax(180px,1fr) minmax(150px,.6fr);gap:10px}.inventory-add-grid label{display:grid;gap:5px;color:var(--muted);font-size:12px}.inventory-add-grid input,.inventory-add-grid select,.inventory-add-variant input{width:100%;min-height:36px;padding:0 10px;color:var(--ink);border:1px solid rgba(31,55,59,.12);border-radius:9px;background:#ffffffe6}.inventory-add-variants{display:grid;gap:7px}.inventory-add-variant-head,.inventory-add-variant{display:grid;grid-template-columns:minmax(220px,1fr) minmax(150px,.36fr) minmax(150px,.36fr);gap:8px}.inventory-add-variant-head{padding:0 8px;color:var(--muted);font-size:12px}.inventory-add-variant{padding:8px;border:1px solid rgba(31,55,59,.08);border-radius:10px;background:#ffffffad}.inventory-add-variant-cell{display:grid;gap:5px;min-width:0}.inventory-add-variant-mobile-label{display:none;color:var(--muted);font-size:12px}.inventory-add-actions{justify-content:flex-end}.inventory-category-list,.inventory-material-list,.inventory-variant-list,.inventory-list,.packing-groups,.route-list,.service-list,.migration-queue-list{display:grid;gap:7px}.inventory-category{padding:10px;border:1px solid rgba(31,55,59,.1);border-radius:14px;background:#ffffff85}.inventory-category>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 10px}.inventory-category>header span{display:block;color:var(--primary);font-size:12px;font-weight:760}.inventory-category>header strong{color:var(--ink);font-size:17px}.inventory-category>header em{color:var(--muted);font-size:12px;font-style:normal}.inventory-material-group{border:1px solid rgba(31,55,59,.1);border-radius:12px;background:#ffffffbd;overflow:hidden}.inventory-material-group.is-low{border-color:#b96f1f38;background:#fffaf4cc}.inventory-material-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:58px;padding:10px 12px}button.inventory-material-header{width:100%;color:var(--ink);text-align:left;cursor:pointer;border:0;background:transparent}button.inventory-material-header:hover,button.inventory-material-header:focus-visible{background:#f2f8f6;outline:none}.inventory-material-header-state,.inventory-material-size-summary{display:flex;align-items:center;justify-content:flex-end;gap:6px}.inventory-material-size-summary{flex-wrap:wrap}.inventory-material-size-summary em{padding:3px 6px;color:#35625a;font-size:10px;font-style:normal;font-weight:700;white-space:nowrap;border:1px solid rgba(22,132,95,.18);border-radius:5px;background:#16845f12}.inventory-material-size-summary em.shortage{color:#a33e43;border-color:#c9494e3d;background:#c9494e14}.inventory-material-size-summary em.below_safety{color:#995317;border-color:#b96f1f3d;background:#b96f1f14}.inventory-material-header-state>svg{flex:0 0 auto;transition:transform .16s ease}.inventory-material-header[aria-expanded=true] .inventory-material-header-state>svg{transform:rotate(180deg)}.inventory-material-title strong{display:block;color:var(--ink);font-size:15px}.inventory-material-title span{display:block;margin-top:3px;color:var(--muted);font-size:12px}.inventory-variant-list{padding:0 10px 10px}.inventory-variant-row{display:grid;grid-template-columns:minmax(180px,.72fr) minmax(420px,1.28fr) minmax(78px,auto);align-items:center;gap:12px;min-height:52px;padding:8px 10px;border:1px solid rgba(31,55,59,.08);border-radius:10px;background:#ffffffc7}.inventory-variant-row.is-focused{border-color:var(--primary);box-shadow:0 0 0 3px #0d7f771f}.inventory-variant-row.is-low{border-color:#c8465738;background:#fff8f9d1}.inventory-variant-row>div:first-child{display:flex;align-items:center;gap:10px;min-width:0}.inventory-variant-row>div:first-child span{color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inventory-variant-size{flex:0 0 auto;min-width:76px;color:#24484c;font-size:13px;font-weight:760}.inventory-adjust-grid{display:grid;grid-template-columns:repeat(2,minmax(82px,1fr));gap:8px}.inventory-adjust-stack{display:grid;gap:6px}.inventory-adjust-context{display:flex;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:11px}.inventory-adjust-grid label{display:grid;gap:4px;color:var(--muted);font-size:11px}.inventory-adjust-grid input{width:100%;height:32px;padding:0 8px;color:var(--ink);border:1px solid rgba(31,55,59,.12);border-radius:8px;background:#ffffffe0}.inventory-row{grid-template-columns:minmax(0,1fr) minmax(210px,.72fr) minmax(78px,auto);min-height:56px;border-color:#1f373b1a}.inventory-row.is-low{border-color:#c8465742;background:#fff8f9d6}.inventory-numbers{display:grid;grid-template-columns:repeat(5,minmax(58px,1fr));justify-content:end;gap:8px;font-size:12px;color:var(--muted)}.inventory-numbers span{margin:0;padding:4px 7px;text-align:right;border:1px solid rgba(31,55,59,.08);border-radius:8px;background:#ffffff9e}.inventory-numbers b{color:var(--ink);font-variant-numeric:tabular-nums}.inventory-mode-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-2px 0 12px}.inventory-mode-tabs{display:inline-flex;gap:3px;padding:3px;border:1px solid var(--line);border-radius:9px;background:#f1f7f5d1}.inventory-mode-tab{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:96px;min-height:34px;padding:0 11px;color:var(--muted);font-size:12px;font-weight:760;border-radius:7px;background:transparent}.inventory-mode-tab:hover{color:var(--ink);background:#ffffffbd}.inventory-mode-tab.active{color:#fff;background:var(--primary);box-shadow:0 4px 12px #0d7f7733}.inventory-mode-note{color:var(--muted);font-size:12px;line-height:1.45;text-align:right}.inventory-material-group.is-shortage{border-color:#c846574d;background:#fff7f8db}.inventory-material-group.is-warning{border-color:#b96f1f47;background:#fffaf3d6}.inventory-variant-row{grid-template-columns:minmax(160px,.66fr) minmax(430px,1.45fr) minmax(118px,auto)}.inventory-variant-row.is-shortage{border-color:#c8465757;background:#fff5f7e0}.inventory-variant-row.is-warning{border-color:#b96f1f4d;background:#fffaf4e0}.inventory-variant-state{display:grid;justify-items:end;gap:6px}.inventory-variant-state .ghost-button{min-height:30px}.inventory-procurement-form{display:grid;grid-column:1 / -1;grid-template-columns:repeat(3,minmax(118px,1fr)) auto;gap:8px;align-items:end;padding:10px;border:1px solid rgba(13,127,119,.16);border-radius:9px;background:#effbf7c7}.inventory-procurement-form>strong{grid-column:1 / -1;color:var(--ink);font-size:13px}.inventory-procurement-form label{display:grid;gap:5px;min-width:0;color:var(--muted);font-size:11px;font-weight:700}.inventory-procurement-form input,.inventory-receipt-actions input{width:100%;min-height:34px;padding:0 9px;color:var(--ink);border:1px solid var(--line);border-radius:7px;background:var(--surface-strong)}.inventory-procurement-note{grid-column:auto}.inventory-procurement-form-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:7px}.inventory-procurement-panel{display:grid;gap:10px;padding:12px;border:1px solid rgba(35,140,164,.2);border-radius:10px;background:#f6fcfdd1}.inventory-procurement-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.inventory-procurement-head span,.inventory-procurement-head strong{display:block}.inventory-procurement-head span{color:var(--cyan);font-size:12px;font-weight:760}.inventory-procurement-head strong{margin-top:3px;color:var(--ink);font-size:15px}.inventory-procurement-list{display:grid;gap:8px}.inventory-procurement-needs{display:grid;gap:8px;padding:10px;border:1px solid rgba(185,111,31,.2);border-radius:8px;background:#fffaf3d1}.inventory-procurement-needs>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.inventory-procurement-needs>header .status{flex:0 0 auto;white-space:nowrap}.inventory-procurement-needs>header span,.inventory-procurement-needs>header strong{display:block}.inventory-procurement-needs>header span{color:var(--amber);font-size:12px;font-weight:760}.inventory-procurement-needs>header strong{margin-top:2px;color:var(--ink);font-size:13px}.inventory-procurement-needs-list{display:grid;gap:6px}.inventory-procurement-need{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:8px 9px;border-top:1px solid rgba(185,111,31,.12)}.inventory-procurement-need strong,.inventory-procurement-need span{display:block}.inventory-procurement-need strong{color:var(--ink);font-size:13px}.inventory-procurement-need span,.inventory-procurement-need em{margin-top:2px;color:var(--muted);font-size:11px;font-style:normal}.inventory-procurement-order{display:grid;grid-template-columns:minmax(180px,1fr) minmax(230px,.85fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid rgba(31,55,59,.1);border-radius:8px;background:#ffffffdb}.inventory-procurement-order-main{display:grid;gap:2px;min-width:0}.inventory-procurement-order-main strong{color:var(--ink);font-size:14px}.inventory-procurement-order-main span,.inventory-procurement-order-main em{overflow:hidden;color:var(--muted);font-size:12px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.inventory-procurement-order-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.inventory-procurement-order-numbers span{padding:4px 6px;color:var(--muted);font-size:11px;text-align:center;border:1px solid rgba(31,55,59,.08);border-radius:6px;background:#f8fbfad6}.inventory-procurement-order-numbers b{color:var(--ink);font-variant-numeric:tabular-nums}.inventory-receipt-actions{display:grid;grid-column:1 / -1;grid-template-columns:minmax(100px,.42fr) auto auto;justify-content:end;gap:7px;align-items:end}.inventory-receipt-actions label{min-width:0}.inventory-receipt-summary{grid-column:1 / -1;margin:0;color:var(--muted);font-size:12px}.status.shortage{color:#a92f44;border-color:#c8465747;background:#c846571f}.status.below_safety{color:#8d4f0d;border-color:#b96f1f3d;background:#b96f1f1f}.status{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 8px;color:#2d4545;font-size:12px;font-weight:720;font-style:normal;border:1px solid rgba(31,55,59,.1);border-radius:999px;background:#0d7f7717}.status.purchased_not_arrived,.status.cyan{color:#075f70;border-color:#238ca42e;background:#238ca41f}.status.suggested_purchase{color:#8d4f0d;border-color:#b96f1f33;background:#b96f1f1f}.status.confirmed,.status.partially_packed{color:#255a6b;border-color:#238ca42e;background:#238ca41a}.status.delivered,.status.packed,.status.active,.status.stocked{color:#0d694d;border-color:#16845f2e;background:#16845f1f}.chart-panel{min-height:218px}.bar-chart{display:grid;grid-template-columns:repeat(6,1fr);align-items:end;height:142px;gap:12px;padding:12px;border-radius:14px;background:linear-gradient(180deg,#ffffffc7,#ffffff6b)}.bar-chart span{display:block;min-height:26px;border-radius:999px 999px 6px 6px;background:linear-gradient(180deg,var(--primary),var(--cyan));box-shadow:0 10px 22px #0d7f7729}.packing-panel{grid-column:1 / -1}.packing-group{padding:12px;border:1px solid var(--line);border-radius:14px;background:#ffffff9e}.packing-group header,.packing-item,.service-row,.route-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.row-actions{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto}.packing-item{min-height:52px;padding-top:10px;border-top:1px solid rgba(94,114,148,.12)}.packing-item p{max-width:260px;margin:0;color:#334761;font-size:12px;text-align:right}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.form-grid label{display:grid;gap:6px;color:var(--muted);font-size:12px;font-weight:650}.form-grid input,.form-grid select{width:100%;height:36px;padding:0 10px;color:var(--ink);border:1px solid var(--line);border-radius:8px;outline:none;background:var(--field)}.intake-panel{min-height:520px}.intake-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}.intake-card{display:grid;gap:8px;min-height:162px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#ffffff9e}.intake-card svg{color:var(--primary)}.intake-card strong{font-size:15px}.intake-card p{max-width:560px;margin:0;color:var(--muted);font-size:13px;line-height:1.55}.template-links{display:grid;gap:6px;margin-top:auto}.template-links span{overflow:hidden;padding:7px 9px;color:#34506f;font-size:12px;text-overflow:ellipsis;white-space:nowrap;border-radius:9px;background:#0d7f7714}.validation-summary{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}.validation-panel{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:14px;background:#ffffff94}.validation-panel header,.validation-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.validation-row{min-height:44px;padding:8px 10px;border:1px solid rgba(94,114,148,.1);border-radius:10px;background:#ffffff9e}.validation-row span{font-size:13px}.validation-row em{color:var(--muted);font-size:12px;font-style:normal;text-align:right}.sku-panel{display:grid;gap:12px}.sku-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:12px;align-items:start}.sku-form-card,.sku-list-card{display:grid;gap:10px;padding:12px;border:1px solid rgba(31,55,59,.12);border-radius:12px;background:#ffffffc2}.sku-form-card header,.sku-list-card header,.sku-subhead,.sku-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.sku-form-card header strong,.sku-list-card header strong,.sku-subhead strong,.sku-row strong{display:block;font-size:14px}.sku-form-card header span,.sku-list-card header span,.sku-row span,.sku-row p{display:block;margin:3px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.sku-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sku-form-grid label,.sku-core-row label,.sku-note-field{display:grid;gap:6px;color:var(--muted);font-size:12px;font-weight:650}.sku-form-grid input,.sku-core-row input,.sku-note-field input{width:100%;height:36px;min-width:0;padding:0 9px;color:var(--ink);border:1px solid var(--line);border-radius:8px;outline:none;background:var(--field)}.size-select-field{align-self:start}.size-choice-stack{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.size-choice{display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;padding:4px 7px;color:#3f5554;font:inherit;font-weight:700;text-align:center;border:1px solid rgba(31,55,59,.14);border-radius:8px;background:#ffffffc7}.size-choice:hover{border-color:#0d7f7747;background:#ffffffeb}.size-choice.active{color:#fff;border-color:#0d5f5ad1;background:linear-gradient(135deg,#0d3939,var(--primary));box-shadow:0 8px 18px #0d7f7729}.sku-auto-size-note{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:9px 12px;color:#315553;border:1px solid rgba(13,127,119,.13);border-radius:12px;background:#effcf7c2}.sku-auto-size-note strong{color:var(--ink)}.sku-auto-size-note span{color:var(--muted)}.sku-core-editor{display:grid;gap:8px}.sku-core-row{display:grid;grid-template-columns:minmax(0,1fr) 86px 36px;gap:8px;align-items:end;padding:8px;border:1px solid rgba(31,55,59,.1);border-radius:10px;background:#f7faf9b8}.icon-button{display:inline-grid;width:34px;height:34px;place-items:center;color:#315050;border:1px solid var(--line);border-radius:8px;background:#ffffffd1}.icon-button:hover{border-color:var(--line-strong);background:#fff}.icon-button.danger{color:var(--danger)}.sku-issues{display:grid;gap:6px;padding:10px;border:1px solid rgba(227,82,105,.2);border-radius:12px;background:#fff6f8bd}.sku-issues span{color:#a43a48;font-size:12px}.sku-actions{justify-content:flex-start}.sku-list{display:grid;gap:8px}.sku-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;min-height:76px;padding:10px 12px;border:1px solid rgba(94,114,148,.11);border-radius:12px;background:#ffffffa8}.sku-group-row{align-items:start}.sku-group-title-line{display:flex;align-items:center;gap:8px}.sku-group-title-line em{color:var(--muted);font-size:12px;font-style:normal}.sku-size-badges{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0 5px}.sku-size-badges span{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;color:#315553;font-size:12px;font-weight:700;border:1px solid rgba(13,127,119,.12);border-radius:999px;background:#effcf7c7}.sku-diff-note{display:block;margin-top:4px;color:#a4642b;font-size:12px;font-style:normal}.sku-row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.compact-action{height:34px;padding:0 10px;font-size:12px}.sku-issues.safe{border-color:#0f85702e;background:#effcf7bd}.sku-issues.safe span{color:#0c6b5d}.order-entry-layout{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(312px,.58fr);gap:12px;align-items:start;margin-bottom:12px}.order-entry-form,.order-entry-list{display:grid;gap:10px;padding:12px;border:1px solid rgba(31,55,59,.12);border-radius:12px;background:#ffffffc7}.order-entry-form header,.order-entry-list header,.order-options-row,.draft-card{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.order-entry-form header strong,.order-entry-list header strong,.draft-card strong{display:block;font-size:14px}.order-entry-form header span,.order-entry-list header span,.draft-card span,.draft-card p{display:block;margin:3px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.order-entry-form header,.order-entry-list header{padding-bottom:2px}.mobile-order-progress{display:none}.order-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.mattress-basics-grid{grid-template-columns:minmax(110px,.7fr) minmax(150px,1.1fr) minmax(260px,1.45fr) minmax(110px,.65fr) minmax(170px,1.1fr)}.order-customer-grid{display:grid;grid-template-columns:1.05fr 1fr 1fr .82fr .82fr;gap:8px}.configuration-quantity-bar,.configuration-copy-note{display:flex;gap:12px;align-items:center;padding:9px 10px;border:1px solid rgba(13,127,119,.18);border-radius:9px;background:#f2fbf8c7}.configuration-quantity-bar label{display:grid;grid-template-columns:auto 76px;gap:8px;align-items:center;flex:0 0 auto;color:var(--ink);font-size:12px;font-weight:700}.configuration-quantity-bar input{width:76px;height:36px;min-width:0;padding:0 9px;color:var(--ink);border:1px solid var(--line);border-radius:8px;background:#fff}.configuration-quantity-bar span,.configuration-copy-note span{min-width:0;color:var(--muted);font-size:12px;line-height:1.45}.configuration-copy-note{color:#0f7667;background:#e8f9f3eb}.configuration-copy-note svg{flex:0 0 auto}.order-money-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px;align-items:end}.order-money-grid label{display:grid;gap:6px;color:var(--muted);font-size:12px;font-weight:650}.order-money-grid input[type=number]{width:100%;height:36px;min-width:0;padding:0 9px;color:var(--ink);border:1px solid var(--line);border-radius:8px;outline:none;background:var(--field)}.order-note-field{display:grid;grid-template-columns:minmax(100px,.22fr) minmax(0,1fr);gap:4px 10px;align-items:start;padding:9px 10px;color:var(--muted);font-size:12px;font-weight:650;border:1px solid rgba(31,55,59,.11);border-radius:9px;background:#f7faf9a8}.order-note-field>span{padding-top:9px;color:var(--ink)}.order-note-field textarea,.order-remark-field textarea{width:100%;min-width:0;min-height:58px;padding:9px 10px;color:var(--ink);font:inherit;line-height:1.45;resize:vertical;border:1px solid var(--line);border-radius:8px;outline:none;background:var(--field)}.order-note-field textarea,.order-note-field small{grid-column:2}.order-note-field small{color:var(--muted);font-size:11px;font-weight:500}.service-toggle{display:inline-flex!important;flex-direction:row;align-items:center;min-height:36px;gap:7px;padding:0 10px;color:#176255!important;white-space:nowrap;border:1px solid rgba(22,132,95,.14);border-radius:8px;background:#f2fcf8c7}.service-toggle input{width:16px;height:16px;accent-color:var(--primary)}.address-search-card{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(220px,.72fr);gap:8px;padding:10px;border:1px solid rgba(31,55,59,.11);border-radius:12px;background:#f7faf9bd}.address-confirmed-card{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,.6fr) auto;gap:10px;align-items:end;padding:10px 12px;border:1px solid rgba(22,132,95,.2);border-radius:10px;background:#f1fbf7d6}.address-confirmed-card>div{display:grid;grid-template-columns:20px minmax(0,1fr);gap:3px 8px;min-width:0;color:#176255}.address-confirmed-card>div svg{grid-row:1 / span 2;margin-top:2px}.address-confirmed-card>div span{font-size:11px;font-weight:750}.address-confirmed-card>div strong{min-width:0;color:var(--ink);font-size:13px;line-height:1.45;overflow-wrap:anywhere}.address-confirmed-card label{display:grid;gap:6px;color:var(--muted);font-size:12px;font-weight:650}.address-confirmed-card input{width:100%;height:38px;min-width:0;padding:0 10px;color:var(--ink);border:1px solid var(--line);border-radius:8px;background:#fff}.next-mattress-banner{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 12px;color:#176255;border:1px solid rgba(22,132,95,.2);border-radius:10px;background:#effcf7e6}.next-mattress-banner>div{min-width:0}.next-mattress-banner strong,.next-mattress-banner span{display:block}.next-mattress-banner strong{color:var(--ink);font-size:13px}.next-mattress-banner span{margin-top:3px;color:var(--muted);font-size:12px;line-height:1.4}.next-mattress-actions{display:flex;gap:7px;align-items:center}.backfill-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;padding:10px;border:1px solid rgba(185,111,31,.22);border-radius:12px;background:#fffaf2d1}.backfill-picker label{display:grid;gap:6px;color:var(--muted);font-size:12px;font-weight:650}.backfill-picker select{width:100%;height:36px;min-width:0;padding:0 10px;color:var(--ink);border:1px solid rgba(185,111,31,.24);border-radius:8px;background:#ffffffdb}.backfill-picker>div{display:grid;min-width:118px;height:36px;align-content:center;padding:0 12px;border:1px solid rgba(185,111,31,.12);border-radius:8px;background:#ffffffbd}.backfill-picker strong{color:#7d480d;font-size:16px;line-height:1}.backfill-picker span{color:var(--muted);font-size:11px}.order-form-grid label,.order-customer-grid label,.address-search-card label,.order-core-row label,.order-pillow-row label,.order-remark-field{display:grid;gap:6px;color:var(--muted);font-size:12px;font-weight:650}.order-form-grid input,.order-form-grid select,.order-customer-grid input,.address-search-card input,.order-core-row input,.order-core-row select,.order-pillow-row input,.order-pillow-row select,.order-remark-field input{width:100%;height:36px;min-width:0;padding:0 9px;color:var(--ink);border:1px solid var(--line);border-radius:8px;outline:none;background:var(--field)}.order-form-grid input:hover,.order-form-grid select:hover,.order-customer-grid input:hover,.address-search-card input:hover,.order-core-row input:hover,.order-pillow-row input:hover,.order-pillow-row select:hover,.order-remark-field input:hover,.order-note-field textarea:hover,.order-remark-field textarea:hover,.sku-form-grid input:hover,.sku-core-row input:hover,.sku-note-field input:hover{border-color:var(--line-strong);background:#fff}.sales-panel input:focus-visible,.sales-panel select:focus-visible,.sales-panel textarea:focus-visible,.sales-panel button:focus-visible{outline:3px solid #0a5f5a;outline-offset:2px}.address-search-field{min-width:0}.address-input-wrap{position:relative}.address-input-wrap svg{position:absolute;top:50%;left:10px;color:var(--primary);transform:translateY(-50%)}.address-input-wrap input{padding-left:32px}.address-recognition-row{display:flex;grid-column:1 / -1;align-items:center;gap:8px;min-height:30px;padding:6px 8px;color:var(--muted);font-size:12px;border:1px solid rgba(31,55,59,.09);border-radius:8px;background:#ffffff9e}.address-recognition-badge{flex:0 0 auto;padding:4px 8px;font-size:11px;line-height:1;border-radius:999px}.address-recognition-badge.success{color:#176255;background:#16845f1f}.address-recognition-badge.info{color:#256070;background:#1d889c1f}.address-recognition-badge.warning{color:#8b4d0f;background:#cc7e1a24}.address-recognition-badge.muted{color:var(--muted);background:#1f373b14}.address-suggestion-list{display:grid;grid-column:1 / -1;gap:6px}.address-suggestion-list>span,.address-preview{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.address-suggestion-list button{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:44px;padding:0 10px;color:#254342;text-align:left;border:1px solid rgba(13,127,119,.13);border-radius:8px;background:#ffffffd1}.address-suggestion-list button:hover{border-color:#0d7f7747;background:#fffffff5}.address-suggestion-list button.active,.address-suggestion-list button[aria-selected=true]{border-color:#0a5f5a;background:#e8faf6f0;box-shadow:inset 3px 0 #0a5f5a}.legacy-backfill-panel{display:grid;gap:12px}.legacy-backfill-layout{display:grid;grid-template-columns:318px minmax(0,1fr);gap:12px;align-items:start}.legacy-backfill-queue,.legacy-backfill-editor{min-width:0;padding:12px;border:1px solid rgba(31,55,59,.12);border-radius:12px;background:#ffffffc7}.legacy-backfill-queue header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:8px}.legacy-backfill-queue header strong{display:block;font-size:14px}.legacy-backfill-queue header span{color:var(--muted);font-size:12px}.legacy-backfill-list{display:grid;gap:7px;max-height:68vh;overflow:auto;padding-right:2px}.legacy-backfill-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;min-height:58px;padding:9px 10px;text-align:left;color:var(--ink);border:1px solid rgba(31,55,59,.1);border-radius:10px;background:#fffc}.legacy-backfill-item:hover,.legacy-backfill-item.active{border-color:#0d7f7747;background:#f0faf7e0}.legacy-backfill-item.completed{border-color:#16845f2e}.legacy-backfill-item strong,.legacy-backfill-item span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legacy-backfill-item strong{font-size:13px}.legacy-backfill-item span{color:var(--muted);font-size:12px}.legacy-backfill-item em{grid-row:1 / span 2;align-self:center;color:#176255;font-size:12px;font-style:normal}.legacy-backfill-editor{display:grid;gap:10px}.source-facts-card{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(0,1fr);gap:12px;padding:12px;border:1px solid rgba(13,127,119,.14);border-radius:12px;background:#f4fbf8b8}.source-facts-card span,.source-facts-card dt{display:block;color:var(--muted);font-size:12px}.source-facts-card strong{display:block;margin-top:4px;font-size:17px}.source-facts-card em{display:block;margin-top:5px;color:#42576d;font-size:12px;font-style:normal;line-height:1.45}.source-facts-card dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}.source-facts-card dl div{min-width:0;padding:9px;border:1px solid rgba(31,55,59,.08);border-radius:9px;background:#ffffffb8}.source-facts-card dd{margin:4px 0 0;color:var(--ink);font-size:13px;font-weight:760;font-variant-numeric:tabular-nums}.contract-photo-fact{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.contract-photo-fact em{color:var(--muted);font-size:12px;font-style:normal;font-weight:600}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:28px;padding:5px 9px;color:#176255;font-size:12px;font-weight:760;border:1px solid rgba(22,132,95,.2);border-radius:8px;background:#f0faf7e0;cursor:pointer}.text-button:hover{border-color:#16845f57;background:#e3f7f1f0}.contract-photo-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:20px;background:#1020236b}.contract-photo-dialog{width:min(820px,calc(100vw - 32px));max-height:min(720px,calc(100vh - 32px));overflow:auto;padding:16px;border:1px solid rgba(31,55,59,.12);border-radius:14px;background:#fff;box-shadow:0 24px 80px #0b2b2b47}.contract-photo-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.contract-photo-dialog header span{display:block;color:#176255;font-size:12px;font-weight:760}.contract-photo-dialog header strong{display:block;margin-top:2px;color:var(--ink);font-size:18px}.contract-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.contract-photo-item{min-width:0;padding:10px;border:1px solid rgba(31,55,59,.1);border-radius:12px;background:#f7faf9e6}.contract-photo-item img,.contract-photo-file{width:100%;aspect-ratio:4 / 3;object-fit:contain;border:1px solid rgba(31,55,59,.08);border-radius:10px;background:#fff}.contract-photo-file{display:grid;place-items:center;color:var(--muted)}.contract-photo-item a{display:inline-flex;align-items:center;gap:6px;margin-top:9px;color:#176255;font-size:12px;font-weight:760;text-decoration:none}.order-level-pillow-card{padding:10px;border:1px solid rgba(198,143,54,.2);border-radius:12px;background:linear-gradient(145deg,#fffaeee0,#ffffffc2),#ffffffd1}.order-level-extras{display:grid;gap:9px;padding:10px;border:1px solid rgba(185,111,31,.18);border-radius:10px;background:#fffaf2b3}.order-level-extras>div:first-child strong,.order-level-extras>div:first-child span{display:block}.order-level-extras>div:first-child strong{font-size:13px}.order-level-extras>div:first-child span{margin-top:3px;color:var(--muted);font-size:12px;line-height:1.45}.order-level-extras-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.order-level-extras-head>div{min-width:0}.source-contract-strip,.save-message{display:flex;align-items:center;gap:8px;margin:0;padding:9px 10px;color:#176255;font-size:12px;border:1px solid rgba(22,132,95,.16);border-radius:10px;background:#f2fcf8c7}.address-suggestion-list button span{line-height:1.4;overflow-wrap:anywhere;white-space:normal}.address-suggestion-list button em{padding:3px 7px;color:#176255;font-size:11px;font-style:normal;border-radius:999px;background:#16845f1a}.address-preview{grid-column:1 / -1;padding:8px 10px;color:#176255;border:1px solid rgba(22,132,95,.14);border-radius:8px;background:#f2fcf8bd}.order-fit-note{padding:9px 11px;font-size:12px;line-height:1.55;border-radius:10px}.order-fit-note.matched{color:#176255;border:1px solid rgba(22,132,95,.18);background:#e8faf6b8}.order-fit-note.manual{color:#7d480d;border:1px solid rgba(185,111,31,.22);background:#fff9ebc7}.order-core-editor,.order-pillow-editor{display:grid;gap:8px}.order-core-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(190px,.72fr) 86px 36px;gap:8px;align-items:end;padding:8px;border:1px solid rgba(31,55,59,.1);border-radius:10px;background:#f7faf9b8}.order-pillow-row{display:grid;grid-template-columns:92px minmax(150px,1fr) 82px 96px 36px;gap:8px;align-items:end;padding:8px;border:1px solid rgba(31,55,59,.1);border-radius:10px;background:#f7faf9b8}.pillow-gift-note{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 10px;color:#176255;font-size:12px;font-weight:700;border:1px solid rgba(22,132,95,.16);border-radius:8px;background:#ebfaf4d1}.order-options-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:end}.order-options-row>label:first-child{display:inline-flex;align-items:center;min-height:36px;gap:7px;color:#304866;font-size:13px;font-weight:650;white-space:nowrap}.order-options-row input[type=checkbox]{width:16px;height:16px;accent-color:var(--primary)}.order-remark-field{flex:1 1 auto}.sales-panel .sku-actions{flex-wrap:wrap;align-items:center}.mattress-save-hint{flex:1 1 100%;color:var(--muted);font-size:11px;line-height:1.45}.order-issues{display:grid;gap:6px;padding:10px;border:1px solid rgba(200,70,87,.2);border-radius:10px;background:#fff6f8cc}.order-issues span{color:#963642;font-size:12px}.draft-list{display:grid;gap:8px}.contract-preview-card{display:grid;gap:10px;padding:12px;border:1px solid rgba(13,127,119,.16);border-radius:12px;background:linear-gradient(145deg,#f7fdfaeb,#ffffffdb),#fffc}.contract-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.contract-preview-head span,.contract-preview-body span{display:block;color:var(--primary);font-size:11px;font-weight:750}.contract-preview-head strong{display:block;margin-top:3px;font-size:15px}.contract-preview-head mark{padding:5px 8px;color:#176255;font-size:11px;white-space:nowrap;border-radius:999px;background:#16845f1c}.contract-preview-body{display:grid;gap:8px}.contract-preview-body>div{display:grid;gap:3px;min-width:0;padding:8px 9px;border:1px solid rgba(31,55,59,.1);border-radius:9px;background:#ffffffb8}.contract-preview-body strong{min-width:0;overflow-wrap:anywhere;font-size:13px}.contract-preview-body em{color:var(--muted);font-size:12px;font-style:normal;line-height:1.45}.contract-money-line strong{color:#7d480d;font-size:17px}.contract-service-line strong{color:#176255}.contract-gift-line{grid-template-columns:18px minmax(0,1fr);align-items:center;color:#7d480d;border-color:#b96f1f29!important;background:#fffaf2c7!important}.contract-gift-line span{color:#7d480d}.draft-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;justify-content:stretch;min-height:86px;padding:10px 12px;border:1px solid rgba(31,55,59,.1);border-radius:10px;background:#ffffffc2}.draft-card>div:first-child{min-width:0}.draft-address-line{display:block;margin-top:4px;color:#46617e;font-size:12px;font-style:normal;line-height:1.45}.draft-note-line{display:block;margin-top:5px;color:#176255;font-size:12px;font-style:normal;line-height:1.45}.draft-source-mark{display:inline-flex;width:fit-content;margin-top:6px;padding:4px 7px;color:#7a4f12;font-size:11px;border-radius:999px;background:#d9972e1f}.draft-card-actions{display:flex;gap:6px}.table-wrap{width:100%;max-width:100%;min-width:0;overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fffc;box-shadow:inset 0 1px #ffffffb8}table{width:100%;border-collapse:collapse;min-width:760px}th,td{padding:11px 12px;text-align:left;border-bottom:1px solid rgba(94,114,148,.12)}th{color:#526361;font-size:12px;font-weight:700;background:#f7faf9e6}td{font-size:14px;font-variant-numeric:tabular-nums;background:#ffffff7a}tbody tr:hover td{background:#f6fbf9d1}tbody tr:last-child td{border-bottom:0}td strong,td span{min-width:0}td span{max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}th:nth-child(3),th:nth-child(4),td:nth-child(3),td:nth-child(4){text-align:right}th:last-child,td.table-actions{width:64px;text-align:right}.table-actions .icon-button{margin-left:auto}.route-row{display:grid;grid-template-columns:34px minmax(0,1fr) 24px}.route-row b{display:grid;width:30px;height:30px;place-items:center;color:#fff;border-radius:50%;background:#14213d}.print-preview{margin-top:12px;padding:16px;border:1px solid var(--line-strong);border-radius:12px;background:#fff}.print-preview h3{margin:0 0 12px;font-size:28px;line-height:1.1;text-align:center}.print-grid{display:grid;grid-template-columns:1fr 1.9fr .72fr .56fr;gap:8px;font-variant-numeric:tabular-nums}.print-grid span{min-width:0;padding:8px 9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid rgba(0,0,0,.12);border-radius:8px}.print-phone,.print-balance{letter-spacing:0}.print-qty{text-align:center}.print-preview p{margin:10px 0 0}.migration-panel{display:grid;gap:12px}.data-backup-panel .section-head{align-items:flex-start}.data-backup-panel .section-head p{max-width:680px}.data-backup-notice{display:flex;align-items:center;gap:10px;min-height:58px;padding:10px 12px;color:#155e4b;border-block:1px solid rgba(20,127,94,.14);background:#edf9f5b8}.data-backup-notice svg{flex:0 0 auto}.data-backup-notice strong,.data-backup-notice span,.data-backup-footer strong,.data-backup-footer span{display:block}.data-backup-notice strong,.data-backup-footer strong{font-size:13px}.data-backup-notice span,.data-backup-footer span{margin-top:3px;color:var(--muted);font-size:12px;line-height:1.45}.data-backup-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:0;border-block:1px solid rgba(31,55,59,.1)}.data-backup-summary>div{min-width:0;padding:11px 12px;border-right:1px solid rgba(31,55,59,.08)}.data-backup-summary>div:last-child{border-right:0}.data-backup-summary dt{color:var(--muted);font-size:12px}.data-backup-summary dd{margin:4px 0 2px;color:var(--ink);font-size:22px;font-weight:780;font-variant-numeric:tabular-nums}.data-backup-summary span{display:block;overflow:hidden;color:#718186;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.data-backup-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:2px}.migration-guard{display:flex;flex-wrap:wrap;gap:7px}.migration-guard mark{display:inline-flex;align-items:center;min-height:28px;gap:6px;padding:0 9px;color:#0d694d;font-size:12px;font-weight:720;border:1px solid rgba(22,132,95,.14);border-radius:999px;background:#f2fcf8d1}.migration-hygiene{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:13px 14px;border:1px solid rgba(200,70,87,.14);border-radius:14px;background:linear-gradient(135deg,#fff8f9e0,#ffffffbd),#fffc}.migration-hygiene span{display:block;color:var(--danger);font-size:12px;font-weight:800}.migration-hygiene strong{display:block;margin-top:3px;color:var(--ink);font-size:15px;line-height:1.25}.migration-hygiene p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.migration-hygiene dl{display:grid;grid-template-columns:repeat(3,minmax(68px,auto));gap:8px;margin:0}.migration-hygiene dl>div{min-width:72px;padding:8px 10px;text-align:center;border:1px solid rgba(31,55,59,.09);border-radius:10px;background:#ffffffb8}.migration-hygiene dt{color:var(--muted);font-size:11px}.migration-hygiene dd{margin:3px 0 0;color:var(--ink);font-size:15px;font-weight:760;font-variant-numeric:tabular-nums}.migration-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.migration-kpis article,.migration-lane,.migration-queue{border:1px solid rgba(31,55,59,.12);border-radius:12px;background:#ffffffc7}.migration-kpis article{min-height:82px;padding:12px}.migration-kpis span,.migration-lane span,.migration-queue header span,.migration-row span{display:block;color:var(--muted);font-size:12px}.migration-kpis strong{display:block;margin-top:5px;font-size:24px;line-height:1.05;font-variant-numeric:tabular-nums}.migration-kpis em{display:block;margin-top:7px;color:#8090a4;font-size:12px;font-style:normal}.migration-layout{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:12px;align-items:start}.migration-queue{min-width:0;padding:12px}.migration-queue header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.migration-queue h3{margin:3px 0 0;font-size:16px;line-height:1.25}.migration-row{display:grid;grid-template-columns:minmax(0,1.1fr) 102px minmax(118px,auto) minmax(130px,.75fr) auto;gap:10px;align-items:center;min-height:60px;padding:9px 11px;border:1px solid rgba(31,55,59,.1);border-radius:10px;background:#ffffffc2}.migration-row.needs-measurement{border-color:#c846573d;background:#fff8f9d6}.migration-row.is-completed{border-color:#16845f33;background:#f3fcf8d6}.migration-row strong,.migration-row b{color:var(--ink);font-size:14px;font-variant-numeric:tabular-nums}.migration-row em{color:#42576d;font-size:12px;font-style:normal;line-height:1.35;text-align:right}.migration-config-button{justify-self:end;min-width:84px}.migration-lanes{display:grid;gap:8px}.migration-lane{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;min-height:84px;padding:11px}.migration-lane svg{display:grid;width:34px;height:34px;padding:8px;color:var(--primary);border-radius:10px;background:var(--primary-soft)}.migration-lane.safe svg{color:var(--mint);background:#21b98d1f}.migration-lane.warning svg{color:var(--amber);background:#d9903021}.migration-lane.danger svg{color:var(--danger);background:#e352691f}.migration-lane.cyan svg{color:#0f98ad;background:#20c8d21f}.migration-lane strong{display:block;margin-top:3px;font-size:21px;line-height:1;font-variant-numeric:tabular-nums}.migration-lane p{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.4}.migration-footnote{display:flex;align-items:center;gap:8px;min-height:40px;padding:9px 11px;color:#315050;font-size:12px;border:1px solid rgba(35,140,164,.18);border-radius:10px;background:#f2fafcc7}.migration-footnote svg{flex:0 0 auto;color:#0f98ad}@media (max-width: 1100px){.app-shell{grid-template-columns:1fr;padding:12px}.sidebar{position:static;height:auto}.sidebar nav{display:flex;overflow-x:auto;padding-bottom:2px}.sidebar nav button{width:auto;min-width:124px}.settings-button{display:none}.overview-grid,.stats-row,.topbar,.intake-grid{grid-template-columns:1fr}.inventory-panel,.packing-panel{grid-column:auto;grid-row:auto}.migration-layout,.migration-hygiene{grid-template-columns:1fr}.migration-hygiene dl{grid-template-columns:repeat(3,minmax(0,1fr))}.migration-lanes,.order-status-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.draft-review-card{grid-template-columns:1fr}.draft-review-actions{justify-content:flex-start;min-width:0}.order-entry-layout,.sku-layout{grid-template-columns:1fr}}@media (max-width: 700px){.app-shell{gap:10px;padding:8px}.sidebar{border-radius:14px}.sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.sidebar nav button{width:100%;min-width:0;min-height:38px;padding:0 8px;font-size:12px}.brand{padding-bottom:10px}.workspace{gap:10px}.topbar{padding:4px 0}.topbar h1{font-size:28px}.topbar p,.section-head p{font-size:13px}.stats-row,.form-grid,.order-form-grid,.order-customer-grid,.order-status-strip,.migration-kpis,.migration-lanes{grid-template-columns:1fr 1fr}.sku-form-grid{grid-template-columns:1fr}.mobile-order-progress{position:sticky;top:6px;z-index:8;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;align-items:center;padding:9px 10px;border:1px solid rgba(13,127,119,.2);border-radius:9px;background:#fafdfcf5;box-shadow:0 8px 20px #1831341f;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.mobile-order-progress span,.mobile-order-progress strong,.mobile-order-progress em{min-width:0;font-size:12px;font-style:normal}.mobile-order-progress span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-order-progress strong{grid-row:1 / span 2;grid-column:2;color:#176255}.mobile-order-progress em{color:var(--muted)}.stat-card{min-height:96px;padding:12px}.stat-card strong{font-size:21px}.order-status-card strong{font-size:20px}.surface{padding:12px;border-radius:14px}.section-head{align-items:flex-start;flex-direction:column}.inventory-row{grid-template-columns:1fr}.inventory-category>header,.inventory-material-header,.inventory-variant-row{grid-template-columns:1fr;align-items:flex-start}.inventory-toolbar{width:100%;justify-content:flex-start;flex-wrap:wrap}.inventory-control-row{align-items:stretch;flex-direction:column}.inventory-filter{width:100%;min-width:0}.inventory-filter-count{margin-left:0}.inventory-add-head,.inventory-add-actions{align-items:flex-start;flex-direction:column}.inventory-add-grid,.inventory-add-variant{grid-template-columns:1fr}.inventory-add-variant-head{display:none}.inventory-add-variant-mobile-label{display:block}.inventory-add-actions .primary-action,.inventory-add-actions .ghost-button,.inventory-adjust-grid{width:100%}.inventory-variant-row>div:first-child{align-items:flex-start;flex-direction:column}.inventory-numbers{grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch}.inventory-numbers span{text-align:left}.inventory-mode-row,.inventory-procurement-head{align-items:flex-start;flex-direction:column}.inventory-mode-tabs{width:100%}.inventory-mode-tab{flex:1}.inventory-mode-note{text-align:left}.inventory-variant-state{grid-column:auto;grid-auto-flow:row;justify-content:start;justify-items:start}.inventory-procurement-form,.inventory-procurement-order{grid-template-columns:1fr}.inventory-procurement-needs>header,.inventory-procurement-need{align-items:flex-start;grid-template-columns:1fr}.inventory-procurement-form-actions,.inventory-receipt-actions{width:100%;grid-column:auto;grid-template-columns:1fr 1fr}.inventory-receipt-actions label{grid-column:1 / -1}.inventory-procurement-form-actions .ghost-button,.inventory-procurement-form-actions .primary-action,.inventory-receipt-actions .ghost-button,.inventory-receipt-actions .primary-action{width:100%}.inventory-procurement-order>.status,.inventory-receipt-summary{grid-column:auto}.chart-panel{display:none}.packing-item{align-items:flex-start;flex-direction:column}.packing-item p{max-width:none;text-align:left}.print-grid{grid-template-columns:1fr 1.35fr}.boundary-banner{grid-template-columns:26px minmax(0,1fr)}.boundary-banner mark{grid-column:2;justify-self:start}.button-row{justify-content:flex-start}.migration-row{grid-template-columns:1fr;align-items:start}.migration-row em{text-align:left}.migration-config-button{justify-self:stretch;width:100%}.legacy-backfill-layout{grid-template-columns:1fr}.legacy-backfill-list{max-height:260px}.source-facts-card{grid-template-columns:1fr}.source-facts-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}.order-entry-form header,.order-entry-list header{flex-direction:column}.draft-card{grid-template-columns:1fr}.draft-card-actions{justify-content:flex-start}.order-options-row,.order-form-grid,.order-customer-grid,.order-money-grid,.address-search-card,.address-confirmed-card,.order-note-field{grid-template-columns:1fr}.order-note-field>span{padding-top:0}.order-note-field textarea,.order-note-field small{grid-column:1}.address-confirmed-card .ghost-button,.next-mattress-actions,.next-mattress-actions .primary-button,.next-mattress-actions .ghost-button{width:100%}.next-mattress-banner{grid-template-columns:22px minmax(0,1fr)}.next-mattress-actions{grid-column:1 / -1;flex-direction:column}.next-mattress-actions .primary-button,.next-mattress-actions .ghost-button{min-height:44px}.configuration-quantity-bar{align-items:flex-start;flex-direction:column}.service-toggle{justify-content:flex-start;width:100%;min-height:44px}.sales-panel input,.sales-panel select{min-height:44px}.contract-preview-head{align-items:flex-start;flex-direction:column}.order-core-row{grid-template-columns:minmax(0,1fr) 72px 36px}.order-core-row .core-stock-field{grid-column:1 / -1}.order-pillow-row{grid-template-columns:1fr}.address-geocode-actions{align-items:stretch;flex-direction:column}.address-geocode-actions .ghost-button{width:100%}.pillow-gift-note{justify-content:flex-start}.sku-core-row{grid-template-columns:1fr 72px 36px}.sku-row{grid-template-columns:1fr;align-items:start}}@media (max-width: 520px){.app-shell{padding:6px}.sidebar,.surface{border-radius:12px}.topbar h1{font-size:24px}.stats-row,.form-grid,.order-status-strip,.migration-kpis,.migration-lanes{grid-template-columns:1fr}.inventory-numbers{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-mode-tab{min-width:0;padding:0 8px}.inventory-procurement-order-numbers{grid-template-columns:repeat(3,minmax(0,1fr))}.order-core-row,.sku-core-row{grid-template-columns:minmax(0,1fr) 64px 34px;gap:6px;padding:7px}.order-core-row .core-stock-field{grid-column:1 / -1}.contract-preview-card{padding:10px}.primary-button,.ghost-button,.icon-button,.size-choice{min-height:44px}.icon-button{width:44px;height:44px}.migration-guard mark,.status{max-width:100%}.migration-footnote{align-items:flex-start}.data-backup-panel .section-head,.data-backup-footer{align-items:stretch;flex-direction:column}.data-backup-panel .button-row{width:100%}.data-backup-panel .button-row>*,.data-backup-footer .ghost-button{flex:1 1 0;justify-content:center}.data-backup-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.data-backup-summary>div,.data-backup-summary>div:last-child{border-right:0;border-bottom:1px solid rgba(31,55,59,.08)}.data-backup-summary>div:last-child{grid-column:1 / -1;border-bottom:0}}@media print{.sidebar,.topbar,.section-head button,.route-list{display:none}.app-shell{display:block;padding:0}.surface,.print-preview{box-shadow:none;border:0}}.production-overview{grid-column:1 / -1;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface-strong);box-shadow:var(--shadow-soft)}.inventory-risk-summary{grid-column:1 / -1}.inventory-risk-list{display:grid;gap:7px}.inventory-risk-row{display:grid;grid-template-columns:minmax(190px,.72fr) minmax(420px,1.28fr) minmax(120px,auto);align-items:center;gap:12px;min-height:58px;padding:9px 11px;width:100%;color:var(--ink);text-align:left;border:1px solid rgba(185,111,31,.18);border-radius:7px;background:#fffbf4c7}.inventory-risk-row:hover,.inventory-risk-row:focus-visible{border-color:#b96f1f73;background:#fffaf2;outline:none}.inventory-risk-material strong,.inventory-risk-material em{display:block}.inventory-risk-material strong{font-size:14px}.inventory-risk-material em{margin-top:2px;color:var(--muted);font-size:12px;font-style:normal}.inventory-risk-numbers{display:grid;grid-template-columns:repeat(5,minmax(54px,1fr));gap:6px}.inventory-risk-numbers em{padding:4px 6px;color:var(--muted);font-size:11px;font-style:normal;text-align:center;border:1px solid rgba(31,55,59,.08);border-radius:5px;background:#ffffffb3}.production-overview-head,.production-priority>header,.production-order-group>header,.production-packing-group>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.production-overview-head span,.production-priority>header span{color:var(--primary);font-size:12px;font-weight:800}.production-overview-head h2{margin:3px 0 2px;font-size:22px;letter-spacing:0}.production-overview-head p,.production-packing-panel .section-head p{margin:0;color:var(--muted);font-size:13px}.snapshot-freshness{flex:0 0 auto;padding:7px 10px;color:#28656a;font-size:12px;font-weight:750;border:1px solid rgba(35,140,164,.2);border-radius:6px;background:#238ca414}.production-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:16px}.production-metric{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:2px 7px;min-height:70px;padding:10px;color:var(--ink);text-align:left;cursor:pointer;border:1px solid var(--line);border-radius:7px;background:#fff}.production-metric:hover,.production-metric:focus-visible{border-color:#0d7f7766;box-shadow:0 5px 14px #14373414;outline:none}.production-metric svg{grid-row:1 / span 2}.production-metric span{color:var(--muted);font-size:12px;white-space:nowrap}.production-metric strong{font-size:22px;line-height:1;font-variant-numeric:tabular-nums}.production-metric.danger svg,.production-priority-state .overdue,.production-mattress-status .overdue{color:var(--danger)}.production-metric.warning svg{color:var(--amber)}.production-metric.success svg{color:var(--mint)}.production-metric.info svg{color:var(--cyan)}.production-priority{margin-top:12px;overflow:hidden;border:1px solid var(--line);border-radius:8px}.production-priority>header{padding:10px 12px;background:#f7faf9}.production-priority>header strong{display:block;margin-top:2px;font-size:13px}.production-priority>header mark,.production-packing-group>header em{padding:4px 8px;color:var(--primary-strong);font-size:12px;font-style:normal;font-weight:800;border-radius:5px;background:var(--primary-soft)}.production-priority-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:58px;padding:9px 12px;width:100%;color:var(--ink);text-align:left;cursor:pointer;border-top:1px solid var(--line);background:#fff}.production-priority-row:hover,.production-priority-row:focus-visible{background:#f2f8f6;outline:none}.production-priority-list strong,.production-order-group>header strong,.production-packing-group>header strong,.production-mattress-main strong,.production-packing-row strong{display:block;font-size:14px}.production-priority-list span,.production-order-group>header span,.production-packing-group>header span,.production-mattress-main span,.production-packing-row span{display:block;margin-top:2px;color:var(--muted);font-size:12px}.production-priority-state,.production-mattress-status,.production-packing-state{display:flex;align-items:center;justify-content:flex-end;gap:8px}.production-priority-state em,.production-mattress-status em,.production-packing-state em{color:var(--muted);font-size:12px;font-style:normal;white-space:nowrap}.production-stage-badge{display:inline-flex;align-items:center;justify-content:center;min-width:74px;min-height:26px;padding:4px 8px;color:#37585a;font-size:11px;font-weight:800;border:1px solid rgba(55,88,90,.16);border-radius:5px;background:#eef4f3}.production-stage-badge.needs_review,.production-stage-badge.needs_measurement,.production-stage-badge.material_shortage{color:#995317;border-color:#b96f1f3d;background:#b96f1f1a}.production-stage-badge.ready_to_pack{color:#0f704f;border-color:#16845f38;background:#16845f1a}.production-stage-badge.packing{color:#17687a;border-color:#238ca438;background:#238ca41a}.production-stage-badge.packed,.production-stage-badge.shipping,.production-stage-badge.delivered{color:#315f67;background:#e8f2f3}.production-stage-badge.cancelled{color:#6d6f70;background:#f0f1f1}.production-order-queue{display:grid;gap:10px}.production-order-group,.production-packing-group{overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff}.production-order-group.lifecycle-unpacked{border-left:3px solid rgba(185,111,31,.6)}.production-order-group.lifecycle-partially_packed{border-left:3px solid #d7882f}.production-order-group.lifecycle-packed{border-left:3px solid #4f91a0}.production-order-group.lifecycle-shipping{border-left:3px solid #16845f}.production-order-group.lifecycle-delivered{border-left:3px solid #8b9c9d}.production-order-group>header,.production-packing-group>header{padding:11px 12px;background:#f8faf9}.production-order-group>header em{color:var(--muted);font-size:12px;font-style:normal;font-weight:700;text-align:right}.production-mattress-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,auto);align-items:center;gap:12px;min-height:58px;padding:8px 12px;border-top:1px solid var(--line)}.production-mattress-open{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(190px,.8fr);align-items:center;gap:12px;min-width:0;color:var(--ink);text-align:left;border-radius:5px;background:transparent}.production-mattress-open:hover,.production-mattress-open:focus-visible{background:#0d7f770f;outline:3px solid rgba(13,127,119,.1)}.production-mattress-row.is-overdue{background:#fff7f8b8}.production-review-summary{display:block;margin-top:3px;color:#8d4f0d;font-size:11px}.production-review-reasons{display:flex;grid-column:1 / -1;align-items:flex-start;gap:7px;padding:7px 9px;color:#7a4510;font-size:12px;line-height:1.45;border:1px solid rgba(185,111,31,.2);border-radius:6px;background:#fff8edd1}.production-review-reasons svg{flex:0 0 auto;margin-top:1px;color:var(--amber)}.production-review-reasons span{display:block}.production-review-reasons span+span{margin-top:2px}.production-custom-badge{display:inline-flex;margin-left:6px;padding:1px 5px;color:#8a4c14;font-size:10px;font-weight:800;border-radius:4px;background:#b96f1f1f}.production-packing-row{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(190px,.8fr) 120px;align-items:center;gap:12px;min-height:58px;padding:8px 12px;border-top:1px solid var(--line)}.production-packing-row.is-focused{background:#eef8f4;box-shadow:inset 3px 0 0 var(--primary)}.production-source-only{color:var(--muted);font-size:12px;text-align:right}.configuration-detail-drawer{margin-top:12px;border-top:1px solid var(--line)}.configuration-detail-drawer>summary{padding:12px 2px 4px;color:var(--primary-strong);font-size:13px;font-weight:800;cursor:pointer}.configuration-detail-drawer .draft-review-list{margin-top:8px}.migration-history-content{margin-top:10px}.order-raw-ledger{margin-top:12px;border:1px solid var(--line);border-radius:8px;background:#f8faf9d1}.order-raw-ledger>summary{padding:11px 12px;color:var(--primary-strong);font-size:13px;font-weight:800;cursor:pointer}.order-raw-ledger .table-wrap{margin:0 10px 10px}.production-tabs{display:flex;gap:4px;padding:4px;overflow-x:auto;border:1px solid var(--line);border-radius:7px;background:#f5f8f7}.production-tabs button{flex:0 0 auto;min-height:34px;padding:6px 12px;color:var(--muted);font-size:12px;font-weight:750;border-radius:5px;background:transparent}.production-tabs button.active{color:#fff;background:var(--primary-strong)}.production-packing-groups{display:grid;gap:10px;margin-top:12px}.production-packing-row{grid-template-columns:minmax(180px,1.1fr) minmax(190px,.8fr) 150px}.packing-inline-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.production-row-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px}.production-empty{display:flex;align-items:center;justify-content:center;gap:8px;min-height:88px;padding:16px;color:var(--muted);font-size:13px}.migration-reconciliation{margin-top:12px;padding:13px;border:1px solid var(--line);border-radius:8px;background:#f8faf9}.migration-reconciliation>header,.delivery-route-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.migration-reconciliation>header span{color:var(--primary);font-size:11px;font-weight:800}.migration-reconciliation h3{margin:2px 0 0;font-size:16px;letter-spacing:0}.migration-reconciliation>header small{display:block;margin-top:3px;color:var(--muted);font-size:11px}.migration-reconciliation>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-top:10px}.migration-reconciliation article{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:8px 9px;border:1px solid var(--line);border-radius:6px;background:#fff}.migration-reconciliation article span{min-width:0;color:var(--muted);font-size:12px}.migration-reconciliation article strong{font-size:17px;font-variant-numeric:tabular-nums}.migration-reconciliation>p{margin:9px 0 0;color:var(--muted);font-size:12px;line-height:1.55}.contract-upload-message{margin:10px 0 0;padding:9px 11px;font-size:12px;border:1px solid var(--line);border-radius:6px}.contract-upload-message.success{color:#0f704f;border-color:#16845f38;background:#16845f14}.contract-upload-message.error{color:#963642;border-color:#c846573d;background:#c8465714}.address-geocode-summary{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:9px;padding:8px 10px;border:1px solid var(--line);border-radius:7px;background:#f8faf9}.address-geocode-summary>span{margin-right:2px;color:var(--muted);font-size:12px;font-weight:750}.address-geocode-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:7px;padding:8px 10px;color:#875018;font-size:12px;border:1px solid rgba(185,111,31,.2);border-radius:7px;background:#b96f1f12}.address-geocode-actions>span{min-width:0;overflow-wrap:anywhere}.order-contract-list{display:grid;gap:7px;margin-top:10px}.order-contract-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:62px;padding:9px 11px;border:1px solid var(--line);border-radius:7px;background:#f8faf9}.order-contract-row strong,.order-contract-row span{display:block}.order-contract-row strong{font-size:14px}.order-contract-row span{margin-top:2px;color:var(--muted);font-size:12px}.order-contract-actions{display:flex;justify-content:flex-end;gap:6px}.delivery-order-list{display:grid;align-content:start;gap:7px}.delivery-selection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;padding:9px 10px;border:1px solid var(--line);border-radius:7px;background:#f7faf9}.delivery-selection-toolbar>div:first-child{display:flex;flex-wrap:wrap;gap:8px}.delivery-selection-toolbar>div:first-child span{padding:4px 7px;color:var(--muted);font-size:12px;border:1px solid rgba(31,55,59,.08);border-radius:5px;background:#fff}.delivery-selection-toolbar strong{color:var(--ink);font-variant-numeric:tabular-nums}.delivery-route-status{margin:0 0 10px;padding:8px 10px;color:#80501a;font-size:12px;border:1px solid rgba(185,111,31,.2);border-radius:6px;background:#fff9efd1}.delivery-order-row{display:grid;grid-template-columns:30px minmax(0,1fr) minmax(150px,auto) 110px;align-items:center;gap:14px;width:100%;min-height:80px;padding:11px 12px;color:var(--ink);border:1px solid var(--line);border-radius:7px;background:#fff}.delivery-order-row:hover,.delivery-order-row.is-checked,.delivery-order-row.is-previewed{border-color:#0d7f7761;background:#eff9f6c2}.delivery-order-row.is-checked{box-shadow:inset 3px 0 0 var(--primary)}.delivery-order-check{display:grid;width:28px;height:34px;place-items:center;cursor:pointer}.delivery-order-check input{width:17px;height:17px;accent-color:var(--primary)}.delivery-order-row strong,.delivery-order-row span,.delivery-order-row em,.delivery-order-row small{display:block;min-width:0}.delivery-order-row strong{font-size:14px}.delivery-order-row span,.delivery-order-row em,.delivery-order-row small{margin-top:3px;color:var(--muted);font-size:12px;font-style:normal;line-height:1.4;overflow-wrap:anywhere}.delivery-order-state{min-width:128px;text-align:right}.delivery-order-state .status{margin-left:auto}.delivery-preview-button{justify-self:end}.delivery-route-card{min-width:0;margin-top:12px;padding:11px;border:1px solid var(--line);border-radius:8px;background:#f8faf9}.delivery-route-card>header{justify-content:flex-start;min-height:28px;color:var(--primary-strong)}.delivery-route-card>header span{margin-left:auto;color:var(--muted);font-size:12px}.delivery-route-card .route-list{display:grid;gap:7px;margin-top:8px}.delivery-route-card .route-list ol{display:grid;gap:7px;margin:0;padding:0;list-style:none}.delivery-route-card .route-row{border-radius:7px;background:#fff}.delivery-route-excluded{display:grid;gap:4px;margin-top:9px;padding:9px 10px;color:#79501f;font-size:12px;border:1px solid rgba(185,111,31,.2);border-radius:6px;background:#fff9efd1}.delivery-route-excluded span{color:var(--muted)}.print-preview h3{font-size:20px}@media (max-width: 1080px){.production-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-risk-row,.inventory-variant-row{grid-template-columns:minmax(170px,.7fr) minmax(330px,1.3fr)}.inventory-risk-row>.status,.inventory-variant-row>.status{grid-column:1 / -1;justify-self:start}.inventory-variant-row{grid-template-columns:minmax(170px,.72fr) minmax(330px,1.28fr)}.inventory-variant-state{grid-column:1 / -1;grid-auto-flow:column;justify-content:start;justify-items:start}.inventory-procurement-order{grid-template-columns:minmax(170px,1fr) minmax(220px,.9fr)}.inventory-procurement-order>.status{justify-self:start}}@media (max-width: 760px){.production-overview{padding:12px}.production-overview-head,.production-order-group>header,.production-packing-group>header{align-items:flex-start;flex-direction:column}.production-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.production-priority-row,.production-mattress-row,.production-packing-row{grid-template-columns:1fr;align-items:start}.production-mattress-open,.inventory-risk-row,.inventory-variant-row{grid-template-columns:1fr}.inventory-risk-row>.status,.inventory-variant-row>.status{grid-column:auto}.production-priority-state,.production-mattress-status,.production-packing-state,.packing-inline-actions,.production-row-actions{justify-content:flex-start}.production-source-only{text-align:left}.migration-reconciliation>header{align-items:flex-start;flex-direction:column}.migration-reconciliation>div{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-order-row{grid-template-columns:30px minmax(0,1fr)}.delivery-selection-toolbar{align-items:stretch;flex-direction:column}.delivery-selection-toolbar .button-row{width:100%}.delivery-selection-toolbar .button-row button{flex:1 1 160px}.order-active-filter{align-items:stretch;flex-direction:column}.order-lifecycle-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow-x:visible}.order-lifecycle-tabs button{min-width:0;padding-inline:5px}.operational-search{grid-template-columns:minmax(0,1fr) 34px}.operational-search-result{grid-column:1 / -1;justify-self:start}.delivery-order-state,.delivery-preview-button{grid-column:2;justify-self:start;min-width:0;text-align:left}.delivery-order-state .status{margin-left:0}.order-contract-row{grid-template-columns:1fr;align-items:start}.order-contract-actions{justify-content:flex-start;flex-wrap:wrap}}@media (max-width: 420px){.production-metrics{grid-template-columns:1fr 1fr}.production-metric{min-height:64px;padding:8px}.production-metric span{white-space:normal}.inventory-risk-numbers{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-selection-toolbar .button-row{display:grid;grid-template-columns:1fr}.delivery-order-row{padding:9px 8px}}body{background:#f2f5f4}body:before{display:none}.app-shell{grid-template-columns:200px minmax(0,1fr);gap:12px;padding:12px}.sidebar,.surface,.stat-card,.boundary-banner{border-radius:8px;background:#fff;box-shadow:0 5px 20px #1831340e;-webkit-backdrop-filter:none;backdrop-filter:none}.sidebar{top:12px;height:calc(100vh - 24px);padding:10px}.sidebar nav button,.settings-button,.sidebar-sales-action,.sidebar-more-menu button{border-radius:6px}.sidebar-actions{position:relative;display:grid;gap:6px;margin-top:auto}.sidebar-sales-action{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:9px;min-height:40px;padding:0 9px;color:#fff;text-align:left;background:var(--primary)}.sidebar-sales-action:hover{background:var(--primary-strong)}.settings-button{margin-top:0}.settings-button.active{color:var(--primary-strong);background:var(--primary-soft)}.sidebar-more-menu{position:absolute;right:0;bottom:46px;z-index:30;display:grid;gap:3px;width:188px;padding:6px;border:1px solid var(--line-strong);border-radius:8px;background:#fff;box-shadow:0 14px 36px #102a2c29}.sidebar-more-menu button{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:9px;min-height:38px;padding:0 9px;color:#2d4545;text-align:left;background:transparent}.sidebar-more-menu button:hover,.sidebar-more-menu button.active{color:var(--primary-strong);background:var(--primary-soft)}.workspace{gap:12px}.topbar{grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:66px;padding:7px 2px 2px}.topbar-copy{min-width:0}.topbar-context,.topbar-actions{display:flex;align-items:center;gap:8px}.topbar-back{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 8px;color:var(--primary-strong);border:1px solid rgba(13,127,119,.2);border-radius:6px;background:#fff}.topbar h1{margin:3px 0;font-size:28px}.boundary-banner{min-height:50px;padding:8px 12px}.overview-grid{grid-template-columns:minmax(0,1fr);gap:12px}.today-inbox{overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 5px 20px #1831340e}.today-inbox-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 16px 12px;border-bottom:1px solid var(--line)}.today-inbox-head>div:first-child>span{color:var(--primary);font-size:12px;font-weight:700}.today-inbox-head h2{margin:3px 0 2px;font-size:20px;letter-spacing:0}.today-inbox-head p{margin:0;color:var(--muted);font-size:13px}.today-inbox-meta{display:grid;gap:3px;flex:0 0 auto;text-align:right}.today-inbox-meta strong{font-size:14px}.today-inbox-meta span{color:var(--muted);font-size:12px}.today-inbox-groups{display:grid}.today-task-group+.today-task-group{border-top:1px solid var(--line)}.today-task-group>header{display:grid;grid-template-columns:18px minmax(0,1fr) auto auto;align-items:center;gap:8px;min-height:36px;padding:6px 14px;color:#34504e;background:#f8faf9}.today-task-group>header strong{font-size:13px}.today-task-group>header>span{min-width:22px;color:var(--muted);font-size:12px;text-align:center}.today-task-group.tone-danger>header svg{color:var(--danger)}.today-task-group.tone-warning>header svg{color:var(--amber)}.today-task-group.tone-info>header svg{color:var(--cyan)}.today-task-group.tone-success>header svg{color:var(--mint)}.today-task-view-all{padding:2px 5px;color:var(--primary-strong);font-size:12px;border-radius:4px;background:transparent}.today-task-view-all:hover{background:var(--primary-soft)}.today-task-list{display:grid}.today-task-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;min-height:52px;padding:7px 14px 7px 40px;color:var(--ink);text-align:left;border-top:1px solid rgba(31,55,59,.08);background:#fff}.today-task-row:hover{background:#f5faf8}.today-task-copy{display:grid;gap:2px;min-width:0}.today-task-copy strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.today-task-copy span{overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.today-task-row>em{color:var(--muted);font-size:12px;font-style:normal;white-space:nowrap}.today-inbox-empty{display:flex;align-items:center;gap:10px;min-height:88px;padding:16px;color:var(--mint)}.today-inbox-empty div{display:grid;gap:3px}.today-inbox-empty span,.today-inbox-foot{color:var(--muted);font-size:12px}.today-inbox-foot{display:flex;align-items:center;gap:7px;min-height:34px;padding:6px 14px;border-top:1px solid var(--line);background:#fbfcfc}.inventory-risk-summary{padding:12px}.inventory-risk-row:nth-child(n+9){display:none}.production-order-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.production-order-group>header{padding:0}.production-order-toggle{display:flex;flex:1;align-items:center;justify-content:space-between;gap:16px;min-width:0;min-height:48px;padding:9px 12px;color:var(--ink);text-align:left;cursor:pointer;border:0;background:transparent}.production-order-toggle:hover,.production-order-toggle:focus-visible{background:#f2f8f6;outline:none}.production-order-customer{min-width:0}.production-order-summary{display:flex!important;align-items:center;justify-content:flex-end;gap:8px;margin:0!important;color:var(--muted);white-space:nowrap}.production-order-summary em{color:inherit}.production-order-summary svg{flex:0 0 auto;transition:transform .16s ease}.production-order-group.is-expanded .production-order-summary svg{transform:rotate(180deg)}.production-order-group>header>.ghost-button{flex:0 0 auto;margin-right:10px}.production-order-more{width:100%;min-height:38px;justify-content:center;border-style:dashed}.inventory-procurement-active,.inventory-procurement-collapsed{border-top:1px solid var(--line)}.inventory-procurement-subhead,.inventory-procurement-collapsed>summary{display:flex;align-items:center;justify-content:space-between;min-height:38px;padding:7px 10px;color:#34504e;font-size:13px;background:#f8faf9}.inventory-procurement-collapsed>summary{cursor:pointer;font-weight:700}.inventory-procurement-collapsed>summary span,.inventory-procurement-subhead span{color:var(--muted);font-weight:500}.inventory-procurement-order.needs-follow-up{box-shadow:inset 3px 0 0 var(--amber)}.inventory-procurement-order.is-focused{outline:2px solid rgba(13,127,119,.28);outline-offset:-2px}.inventory-follow-up-actions{display:flex;justify-content:flex-end;gap:6px;grid-column:1 / -1}.delivery-workspace{padding:0;overflow:hidden}.delivery-workspace-head{margin:0;padding:13px 14px;border-bottom:1px solid var(--line)}.delivery-workspace-message{margin:0;padding:8px 14px;color:var(--primary-strong);font-size:13px;border-bottom:1px solid rgba(13,127,119,.14);background:#f3faf7}.delivery-workspace-layout{display:grid;grid-template-columns:minmax(520px,1.25fr) minmax(340px,.75fr);min-width:0}.delivery-candidates{min-width:0;border-right:1px solid var(--line)}.delivery-candidate-search{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:6px;padding:8px 12px;color:var(--muted);border-bottom:1px solid var(--line);background:#fff}.delivery-candidate-search input{min-width:0;height:34px;padding:0 8px;border:0;outline:0;background:transparent}.delivery-candidate-search button{padding:4px 6px;color:var(--primary-strong);font-size:12px;background:transparent}.delivery-batch-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:7px 12px;border-bottom:1px solid var(--line);background:#f8faf9}.delivery-batch-toolbar>span{color:var(--muted);font-size:13px}.delivery-candidate-list{display:grid;max-height:66vh;overflow:auto}.delivery-candidate-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto auto;align-items:center;gap:9px;min-height:68px;padding:8px 10px;border-bottom:1px solid rgba(31,55,59,.09);background:#fff}.delivery-candidate-row.is-checked{background:#f0f8f5;box-shadow:inset 3px 0 0 var(--primary)}.delivery-candidate-main{display:grid;gap:2px;min-width:0}.delivery-candidate-main strong{font-size:14px}.delivery-candidate-main span,.delivery-candidate-main em{overflow:hidden;color:var(--muted);font-size:12px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.delivery-address-state{display:grid;justify-items:end;gap:4px}.delivery-address-state .compact-action{min-height:27px;padding:3px 6px;font-size:11px}.delivery-candidate-empty{margin:0;padding:28px 14px;color:var(--muted);font-size:13px;text-align:center}.delivery-batch-pane{position:sticky;top:0;align-self:start;min-width:0;max-height:76vh;overflow:auto;background:#fbfcfc}.delivery-active-batch,.delivery-note-pane,.delivery-batch-empty{padding:12px}.delivery-active-batch>header,.delivery-note-pane>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.delivery-active-batch>header div,.delivery-note-pane>header div{display:grid;gap:2px}.delivery-active-batch>header span,.delivery-note-pane>header span{color:var(--muted);font-size:12px}.delivery-note-pane{border-top:1px solid var(--line);background:#fff}.delivery-note-pane h3{margin:0;font-size:17px;letter-spacing:0}.delivery-active-actions,.delivery-batch-status-actions{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}.delivery-route-readiness{display:grid;gap:3px;margin-top:8px;padding:8px 9px;color:#28625d;font-size:11px;line-height:1.45;border:1px solid rgba(13,127,119,.16);border-radius:6px;background:#f2faf7}.delivery-route-readiness.has-warning{color:#7a4a18;border-color:#b96f1f38;background:#fff9ef}.delivery-route-readiness strong{color:var(--ink);font-size:12px}.delivery-route-readiness span,.delivery-route-readiness em{overflow-wrap:anywhere;font-style:normal}.delivery-route-readiness>div{display:flex;gap:5px;flex-wrap:wrap;margin-top:3px}.delivery-batch-stops{display:grid;gap:5px;margin:10px 0 0;padding:0;list-style:none}.delivery-batch-stops li{display:block;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:#fff}.delivery-stop-row-head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:5px;min-width:0}.delivery-stop-select{display:grid;grid-template-columns:24px minmax(0,1fr) 16px;align-items:center;gap:7px;min-width:0;padding:7px;color:var(--ink);text-align:left;background:transparent}.delivery-stop-select b{display:grid;width:24px;height:24px;place-items:center;color:#fff;font-size:12px;border-radius:50%;background:#163536}.delivery-stop-select span{display:grid;gap:2px;min-width:0}.delivery-stop-select strong,.delivery-stop-select em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.delivery-stop-select em{color:var(--muted);font-size:11px;font-style:normal}.delivery-stop-move{display:flex;padding-right:4px}.delivery-stop-result-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;padding:7px 9px;border-top:1px solid var(--line);background:#f7faf9}.delivery-stop-result-summary span{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:12px}.delivery-stop-result-summary time{color:var(--muted);font-size:11px;white-space:nowrap}.delivery-stop-workflow{display:grid;border-top:1px solid var(--line);background:#fbfcfc}.delivery-stop-result-form,.delivery-payment-form{display:grid;gap:7px;padding:8px}.delivery-stop-result-form{border-bottom:1px solid var(--line)}.delivery-stop-result-form>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.delivery-stop-result-form .compact-action,.delivery-payment-form .compact-action{justify-content:center}.delivery-payment-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.delivery-payment-summary span,.delivery-payment-summary strong,.delivery-payment-summary em{min-width:0;padding:5px 6px;overflow:hidden;color:var(--muted);font-size:11px;font-style:normal;text-align:center;text-overflow:ellipsis;white-space:nowrap;border:1px solid var(--line);border-radius:5px;background:#fff}.delivery-payment-summary strong{color:var(--primary-strong)}.delivery-payment-summary mark{grid-column:1 / -1;padding:5px 7px;color:#7a4a18;font-size:11px;text-align:center;border:1px solid rgba(185,111,31,.2);border-radius:5px;background:#fff9ef}.delivery-payment-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.delivery-payment-fields>input[type=text],.delivery-payment-fields>button{grid-column:1 / -1}.delivery-active-batch,.delivery-note-pane{scroll-margin-top:10px}.delivery-batch-empty{display:grid;justify-items:center;gap:5px;min-height:150px;align-content:center;color:var(--muted);text-align:center}.delivery-batch-empty strong{color:var(--ink);font-size:14px}.delivery-batch-empty span{max-width:280px;font-size:12px}.delivery-note-pane dl,.delivery-batch-print-page dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:10px 0 0;border:1px solid var(--line)}.delivery-note-pane dl div,.delivery-batch-print-page dl div{display:grid;grid-template-columns:48px minmax(0,1fr);gap:6px;min-height:38px;padding:7px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.delivery-note-pane dt,.delivery-batch-print-page dt{color:var(--muted);font-size:12px}.delivery-note-pane dd,.delivery-batch-print-page dd{min-width:0;margin:0;overflow-wrap:anywhere;font-size:13px}.delivery-note-balance{margin:9px 0 0;font-size:18px;font-weight:800;text-align:right}.delivery-batch-print-sheets{display:none}@media (max-width: 1100px){.app-shell{grid-template-columns:1fr}.sidebar-actions{grid-template-columns:minmax(140px,190px) minmax(120px,160px);margin-top:8px}.settings-button{display:grid}.sidebar-more-menu{right:auto;bottom:46px;left:0}.topbar{grid-template-columns:minmax(0,1fr) auto}.delivery-workspace-layout{grid-template-columns:minmax(0,1.15fr) minmax(310px,.85fr)}.delivery-candidate-row{grid-template-columns:28px minmax(0,1fr) auto}.delivery-candidate-row>.ghost-button{grid-column:2 / -1;justify-self:start}}@media (max-width: 760px){.app-shell{display:block;padding:7px 7px 78px}.workspace{gap:8px}.sidebar{position:fixed;top:auto;right:0;bottom:0;left:0;z-index:100;width:100%;height:66px;padding:4px 6px max(4px,env(safe-area-inset-bottom));overflow:visible;border-width:1px 0 0;border-radius:0;box-shadow:0 -8px 24px #102a2c1a}.brand{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;height:100%;padding:0;overflow:visible}.sidebar nav button{position:relative;display:flex;flex-direction:column;justify-content:center;gap:2px;width:100%;min-width:0;min-height:54px;padding:3px 2px;font-size:11px;text-align:center;border-radius:6px}.sidebar nav button.active{color:var(--primary-strong);background:var(--primary-soft);box-shadow:none}.sidebar nav button em{position:absolute;top:2px;left:calc(50% + 7px);min-width:17px;padding:1px 4px;color:#fff;font-size:9px;background:var(--danger)}.sidebar-actions{position:fixed;top:8px;right:8px;z-index:120;display:block;margin:0}.sidebar-sales-action{display:none}.settings-button{display:grid;width:44px;height:44px;min-height:44px;padding:0;place-items:center;color:#2d4545;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 4px 14px #102a2c14}.settings-button span{display:none}.sidebar-more-menu{position:fixed;top:50px;right:8px;bottom:auto;left:auto}.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;min-height:48px;padding:1px 48px 1px 1px}.topbar-context>span,.topbar p{display:none}.topbar h1{margin:1px 0;font-size:21px}.topbar-actions .primary-button{min-height:44px;padding:0 8px;font-size:12px}.boundary-banner{grid-template-columns:22px minmax(0,1fr);min-height:42px;padding:7px 9px}.boundary-banner span,.boundary-banner small,.boundary-banner mark{display:none}.surface{padding:10px;border-radius:8px}.today-inbox-head{align-items:center;padding:9px 10px}.today-inbox-head p,.today-inbox-head>div:first-child>span,.today-inbox-foot{display:none}.today-inbox-head h2{margin:0;font-size:18px}.today-inbox-meta strong{font-size:12px}.today-inbox-meta span{font-size:10px}.today-task-group>header{padding:5px 9px}.today-task-row{min-height:56px;padding:7px 9px 7px 34px}.today-task-copy strong,.today-task-copy span{white-space:normal}.today-task-copy span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.inventory-risk-row:nth-child(n+5){display:none}.inventory-follow-up-actions{display:grid;grid-template-columns:1fr 1fr}.delivery-workspace-layout{grid-template-columns:1fr}.delivery-candidates{border-right:0;border-bottom:1px solid var(--line)}.delivery-candidate-list,.delivery-batch-pane{max-height:none;overflow:visible}.delivery-batch-pane{position:static}.delivery-candidate-row{grid-template-columns:26px minmax(0,1fr) auto;min-height:72px}.delivery-candidate-row>.ghost-button{grid-column:2 / -1}.order-reconciliation-clear{align-items:stretch;flex-direction:column}.delivery-note-pane dl{grid-template-columns:1fr}.delivery-note-pane dl div{border-right:0}}.delivery-candidate-more{width:calc(100% - 20px);min-height:38px;margin:8px 10px;justify-content:center;border-style:dashed}.inventory-material-group{border-radius:8px}@media (max-width: 520px){.order-status-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.order-status-card{min-height:88px;padding:10px}.inventory-material-header-state,.inventory-material-size-summary{justify-content:flex-start}.inventory-material-header-state{flex-wrap:wrap}.inventory-material-header-state>.status{display:none}}@media print{body[data-print-mode]{background:#fff}body[data-print-mode] *{visibility:hidden!important}body[data-print-mode=single] .delivery-note-pane,body[data-print-mode=single] .delivery-note-pane *,body[data-print-mode=batch] .delivery-batch-print-sheets,body[data-print-mode=batch] .delivery-batch-print-sheets *{visibility:visible!important}body[data-print-mode=single] .delivery-note-pane,body[data-print-mode=batch] .delivery-batch-print-sheets{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;max-height:none;padding:0;overflow:visible;border:0;background:#fff}body[data-print-mode] .delivery-note-pane button{display:none!important}.delivery-batch-print-page{min-height:255mm;padding:14mm;color:#000;page-break-after:always;break-after:page}.delivery-batch-print-page:last-child{page-break-after:auto;break-after:auto}.delivery-batch-print-page>header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:10mm}.delivery-batch-print-page h3,.delivery-note-pane h3{margin:2mm 0 0;font-size:22pt}.delivery-batch-print-page dl,.delivery-note-pane dl{border-color:#777}.delivery-batch-print-page dl div,.delivery-note-pane dl div{min-height:16mm;padding:4mm;border-color:#777}}
