.list-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 16px;border-top:1px solid #e2e8f0;font-size:13px;background:var(--surface,#fff);color:#475569}.list-pagination>div{display:flex;align-items:center;gap:12px}.list-pagination button{min-height:40px}.list-pagination button:disabled{opacity:.45;cursor:default}@media(max-width:600px){.list-pagination{justify-content:center}.list-pagination>div{width:100%;justify-content:space-between}}.manual-book{display:grid;gap:16px;min-width:0}.manual-book-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.manual-book-actions h2,.manual-book-actions h3{margin-right:auto}.manual-book label{display:flex;flex-direction:column;gap:6px}.manual-book .table-scroll{max-width:100%;overflow-x:auto}.manual-book table{width:100%;border-collapse:collapse}.manual-book th,.manual-book td{padding:12px;text-align:left;white-space:nowrap;border-bottom:1px solid #e2e8f0}.manual-note{display:block;white-space:normal;max-width:260px}.manual-history{display:flex;gap:20px;flex-wrap:wrap;overflow:auto}.manual-book details{padding:10px 0;border-bottom:1px solid #e2e8f0}.collections-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.collections-tabs .btn{min-height:44px}.collections-page{max-width:1150px;margin:auto}.collection-toolbar{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:12px 0 18px}.collection-toolbar label{display:grid;gap:5px}.collection-toolbar input{min-height:42px}.collection-toolbar span{color:#526175;padding-bottom:10px}.collection-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px}.collection-overview .panel{display:grid;gap:5px;padding:18px}.collection-overview span{color:#526175;font-size:13px}.collection-overview strong{font-size:23px}.collection-help{color:#526175;margin:16px 0}.collection-salesman{padding:0!important;margin-bottom:12px;overflow:hidden}.collection-salesman-main{width:100%;border:0;background:transparent;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;cursor:pointer;color:inherit}.collection-salesman-main:hover{background:#f7fafc}.collection-salesman-name,.collection-salesman-amount{display:grid;gap:5px}.collection-salesman-name strong{font-size:17px}.collection-salesman-name small,.collection-salesman-amount small{color:#526175}.collection-salesman-methods{display:flex;gap:8px;flex-wrap:wrap;flex:1 1 390px}.collection-salesman-methods>span{display:grid;gap:3px;min-width:90px;padding:8px 11px;background:#f2f7f8;border-radius:8px;font-size:12px;color:#526175}.collection-salesman-methods b{color:#233a44;font-size:14px}.collection-salesman-amount{min-width:110px;text-align:right}.collection-salesman-amount strong{font-size:19px}.collection-expand{white-space:nowrap;color:#166d83;font-weight:600}.collection-inline{border-top:1px solid #dce4ec;padding:16px 20px}.collection-inline-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:6px}.collection-inline-head span{color:#526175}.collection-receipt{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid #e2e8f0;padding:12px 0}.collection-receipt>div{display:grid;gap:3px}.collection-receipt small{color:#526175}.collection-receipt-amount{text-align:right}.collection-check{display:flex;align-items:center;gap:7px;cursor:pointer}.collection-check input{width:19px;height:19px}.collection-review{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding-top:17px;border-top:1px solid #dce4ec}.collection-review>div{flex:1 1 200px}.collection-review h3{margin:0 0 3px;font-size:16px}.collection-review p{margin:0;color:#526175;font-size:13px}.collection-review label{display:grid;gap:5px;flex:1 1 150px;font-size:13px}.collection-review input{width:100%;min-height:40px}.collection-reviewed{display:block;margin-top:10px;color:#526175}@media(max-width:640px){.collection-toolbar label,.collection-toolbar input{width:100%}.collection-overview{grid-template-columns:1fr 1fr}.collection-overview .panel:first-child{grid-column:1/-1}.collection-overview strong{font-size:19px}.collection-salesman-main{align-items:start;flex-wrap:wrap;padding:16px}.collection-salesman-methods{order:3;flex-basis:100%}.collection-salesman-methods>span{flex:1 1 85px;min-width:0}.collection-salesman-amount{text-align:right}.collection-expand{order:4;width:100%;text-align:right}.collection-inline{padding:14px}.collection-review>div,.collection-review label,.collection-review button{flex-basis:100%;width:100%}.collection-receipt>div:first-child{flex:1 1 55%;min-width:0;overflow-wrap:anywhere}}.quick-calculator-trigger{flex-shrink:0;margin-left:auto}.quick-calculator{width:min(490px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #edcdd1;border-radius:16px;color:#282125;background:#fff;box-shadow:0 24px 80px #33000c40;overflow:auto}.quick-calculator::backdrop{background:#21101770}.quick-calculator-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;background:#fff1f2;border-bottom:2px solid #d90820}.quick-calculator-head h2{margin:0;color:#a50618;font-size:20px}.quick-calculator-head p{margin:5px 0 0;font-size:13px;color:#6e6268}.quick-calculator-body{padding:20px;display:grid;gap:15px}.quick-calculator-body label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}.quick-calculator-body input,.quick-calculator-body select{width:100%;min-width:0;padding:10px;border:1px solid #dfcdd1;border-radius:8px;background:#fff;color:#282125;font:inherit}.quick-calculator-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick-calculator-results{padding:12px;background:#fff5f5;border:1px solid #edcdd1;border-radius:10px}.quick-calculator-results>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:8px 0;font-size:13px}.quick-calculator-results strong{font-size:16px;overflow-wrap:anywhere;text-align:right;font-variant-numeric:tabular-nums}.quick-calculator-results p{font-size:13px}.quick-calculator-note{color:#6e6268;line-height:1.5}.quick-calculator-actions{display:flex;justify-content:flex-end;gap:8px}.quick-calculator .btn.primary{background:#d90820;border-color:#d90820;color:#fff}.quick-calculator :is(button,input,select):focus-visible{outline:2px solid #a50618;outline-offset:2px}@media(max-width:980px){.quick-calculator-trigger span{display:none}.quick-calculator-trigger{padding:8px}}@media(max-width:480px){.quick-calculator-fields{grid-template-columns:1fr}.topbar{gap:8px}.quick-calculator-body{padding:16px}}@media print{.quick-calculator,.quick-calculator-trigger{display:none!important}}.normal-calculator{display:grid;gap:12px}.normal-calculator-display{padding:16px;background:#fff1f2;border:1px solid #edcdd1;border-radius:8px;text-align:right;font-size:28px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.normal-calculator-keys{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.normal-calculator-keys .btn{min-height:44px;font-size:18px}.normal-calculator-keys .btn[aria-label="Delete last character"]{font-size:12px}.normal-calculator-equals{min-height:44px;font-size:22px}.ask-erp-fab{position:fixed;right:18px;bottom:18px;z-index:1200;border:0;border-radius:999px;background:var(--brand,#1458a6);color:#fff;display:flex;align-items:center;gap:7px;height:46px;padding:0 16px;box-shadow:0 10px 28px #0f172a38;font:800 13px/1 inherit;letter-spacing:.04em;cursor:pointer}.ask-erp-fab.is-open{width:46px;padding:0;justify-content:center;background:#334155}.ask-erp-panel{position:fixed;right:18px;bottom:74px;z-index:1199;width:clamp(440px,40vw,760px);height:min(650px,calc(100vh - 110px));min-width:440px;min-height:520px;max-width:calc(100vw - 36px);max-height:calc(100vh - 100px);background:#fff;border:1px solid #dbe2ea;border-radius:18px;box-shadow:0 24px 60px #0f172a3d;display:flex;flex-direction:column;overflow:hidden;transition:width .18s ease,height .18s ease}.ask-erp-panel.is-expanded{width:min(900px,calc(100vw - 48px));height:calc(100vh - 96px);max-width:none;max-height:none}.ask-erp-resize-handle{position:absolute;z-index:4;left:0;top:0;width:22px;height:22px;border:0;background:transparent;cursor:nwse-resize}.ask-erp-resize-handle:after{content:"";position:absolute;left:5px;top:5px;width:8px;height:8px;border-left:2px solid #94a3b8;border-top:2px solid #94a3b8;border-radius:2px}.ask-erp-header{padding:13px 14px;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;background:#f8fafc}.ask-erp-title{display:flex;align-items:center;gap:10px;min-width:0}.ask-erp-title>div{min-width:0}.ask-erp-title>div>strong{display:block}.ask-gu-ai-tag{display:inline-flex;margin-top:5px;padding:3px 8px;border-radius:999px;background:#e0e7ff;color:#3730a3;font-size:11px;font-weight:800;line-height:1.2}.ask-erp-logo{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#dbeafe,#ede9fe 58%,#f5d0fe);color:#4f46e5;flex:0 0 auto;box-shadow:inset 0 0 0 1px #6366f11f,0 6px 16px #4f46e51f}.ask-erp-header-actions{display:flex;align-items:center;gap:4px}.ask-erp-body{flex:1;min-height:0;overflow:auto;padding:14px;background:#f8fafc;scroll-behavior:smooth;overscroll-behavior:contain;scrollbar-gutter:stable}.ask-erp-welcome{text-align:center;padding:12px 6px 18px;color:#334155;max-width:760px;margin:0 auto}.ask-erp-welcome.has-context{padding-top:0}.ask-gu-prompt-intro{display:flex;align-items:flex-start;gap:10px;text-align:left;margin:12px auto 10px;max-width:680px}.ask-gu-prompt-intro>div{min-width:0;flex:1}.ask-gu-prompt-intro strong{display:block;font-size:14px;color:#1e293b}.ask-gu-prompt-intro p{font-size:12px;line-height:1.45;color:#64748b;margin:3px 0 0}.ask-gu-welcome-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;margin:0;background:linear-gradient(135deg,#eef2ff,#f5f3ff 55%,#fdf2f8);color:#6366f1;box-shadow:inset 0 0 0 1px #6366f11a;flex:0 0 auto}.ask-erp-suggestions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-width:680px;margin:0 auto}.ask-erp-suggestions button{min-width:0;border:1px solid #cbd5e1;background:#fff;border-radius:10px;padding:8px 10px;font:600 12px/1.35 inherit;color:#334155;cursor:pointer;text-align:left}.ask-gu-start-section{margin:14px auto 0;max-width:680px;text-align:left}.ask-gu-start-section h4{margin:0 0 8px;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#64748b}.ask-gu-quick-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:7px}.ask-gu-quick-actions button,.ask-gu-recent-list button{border:1px solid #dbe2ea;background:#fff;border-radius:11px;padding:9px 10px;color:#1e293b;font:700 12px inherit;cursor:pointer;text-align:left}.ask-gu-quick-actions button:hover,.ask-gu-recent-list button:hover{border-color:#93c5fd;background:#eff6ff}.ask-gu-recent-list{display:grid;gap:6px}.ask-gu-recent-list button{display:flex;align-items:center;justify-content:space-between;gap:10px}.ask-gu-recent-list button small{color:#64748b;font-weight:600;white-space:nowrap}.ask-message{margin:8px 0;display:flex;flex-direction:column}.ask-message--user{align-items:flex-end}.ask-message--assistant{align-items:flex-start}.ask-bubble{max-width:88%;padding:10px 12px;border-radius:14px;font-size:13px;line-height:1.45;white-space:pre-wrap}.ask-message--user .ask-bubble{background:#1458a6;color:#fff;border-bottom-right-radius:4px}.ask-message--assistant .ask-bubble{background:#fff;border:1px solid #e2e8f0;color:#1e293b;border-bottom-left-radius:4px}.ask-result-list{width:100%;display:grid;gap:7px;margin-top:7px}.ask-erp-panel.is-expanded .ask-result-list{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.ask-result-card{width:100%;border:1px solid #e2e8f0;background:#fff;border-radius:12px;padding:10px;text-align:left;display:flex;align-items:center;gap:9px;color:#1e293b;cursor:pointer}.ask-result-card:disabled{cursor:default}.ask-result-copy{min-width:0;flex:1}.ask-result-copy strong,.ask-result-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ask-result-copy small{color:#64748b;margin-top:2px}.ask-result-card>b{white-space:nowrap;color:#0f766e;font-size:12px}.ask-result-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}.ask-result-tags i{font-style:normal;font-size:10px;font-weight:700;padding:2px 6px;border-radius:999px;background:#eef2ff;color:#4338ca}.ask-erp-compose{display:flex;gap:8px;padding:10px 12px 6px;border-top:1px solid #e5e7eb;background:#fff}.ask-erp-compose input{min-width:0;flex:1;border:1px solid #cbd5e1;border-radius:11px;padding:10px 11px;font-size:14px}.ask-erp-compose .btn{width:42px;padding:0;display:grid;place-items:center}.ask-erp-footnote{padding:0 12px 9px;background:#fff;color:#94a3b8}.ask-thinking{display:flex;gap:4px;align-items:center}.ask-thinking span{width:6px;height:6px;border-radius:50%;background:#94a3b8;animation:askdot 1.1s infinite alternate}.ask-thinking span:nth-child(2){animation-delay:.2s}.ask-thinking span:nth-child(3){animation-delay:.4s}@keyframes askdot{to{transform:translateY(-4px);opacity:.45}}@media(max-width:700px){.ask-erp-fab{bottom:76px;right:12px}.ask-erp-panel,.ask-erp-panel.is-expanded{position:fixed;top:0;left:0;right:0;bottom:0;width:100vw;height:100dvh;min-width:0;min-height:0;max-width:none;max-height:none;border-radius:0;border:0;overscroll-behavior:contain}.ask-erp-header{padding-top:calc(13px + env(safe-area-inset-top));flex:0 0 auto}.ask-erp-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.ask-erp-resize-handle,.ask-erp-header-actions button:first-child{display:none}.ask-erp-compose{flex:0 0 auto;padding-bottom:8px}.ask-erp-compose input{font-size:16px}.ask-erp-footnote{flex:0 0 auto;padding-bottom:calc(9px + env(safe-area-inset-bottom))}.ask-gu-ai-tag{font-size:10px}.ask-gu-quick-actions{grid-template-columns:1fr 1fr}}.ask-gu-context{max-width:680px;margin:0 auto 10px;padding:12px;border:1px solid #dbeafe;background:linear-gradient(180deg,#f8fbff,#fff);border-radius:14px;text-align:left;box-shadow:0 4px 14px #1e40af0d}.ask-gu-context-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ask-gu-context-head>div{min-width:0}.ask-gu-context-head small,.ask-gu-context-head strong,.ask-gu-context-head span{display:block}.ask-gu-context-head small{text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:800;color:#64748b}.ask-gu-context-head strong{margin-top:2px;font-size:14px;color:#0f172a}.ask-gu-context-head span{margin-top:3px;font-size:11px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ask-gu-context-head>i{font-style:normal;text-transform:capitalize;font-size:10px;font-weight:800;color:#1d4ed8;background:#dbeafe;padding:4px 7px;border-radius:999px}.ask-gu-context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:8px}.ask-erp-panel.is-expanded .ask-gu-context-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ask-erp-panel.is-expanded .ask-erp-suggestions{grid-template-columns:repeat(3,minmax(0,1fr));max-width:820px}.ask-erp-panel.is-expanded .ask-gu-context,.ask-erp-panel.is-expanded .ask-gu-prompt-intro,.ask-erp-panel.is-expanded .ask-gu-start-section{max-width:820px}.ask-gu-context-card{position:relative;min-width:0;border:1px solid #e2e8f0;background:#fff;border-radius:10px;padding:8px 26px 8px 9px;text-align:left;color:#0f172a;cursor:pointer}.ask-gu-context-card:disabled{cursor:default}.ask-gu-context-card small,.ask-gu-context-card b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ask-gu-context-card small{font-size:10px;color:#64748b}.ask-gu-context-card b{margin-top:2px;font-size:13px}.ask-gu-context-card svg{position:absolute;right:8px;top:50%;transform:translateY(-50%);color:#94a3b8}.ask-gu-context-card.is-attention{border-color:#fed7aa;background:#fffaf5}.ask-gu-context-card.is-good{border-color:#bbf7d0;background:#f7fff9}.ask-gu-context--loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;text-align:center}.ask-gu-context--loading small{color:#64748b}@media(max-width:700px){.ask-gu-context{margin-top:0;padding:10px}.ask-erp-welcome{padding-left:0;padding-right:0}.ask-gu-prompt-intro{margin-top:10px}.ask-erp-suggestions{grid-template-columns:1fr}.ask-gu-context-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ask-gu-context-card{padding-top:7px;padding-bottom:7px}.ask-gu-context-head span{white-space:normal}}.ask-gu-live-context{position:sticky;top:-14px;z-index:3;margin:-14px -14px 10px;padding:8px 14px 6px;background:linear-gradient(180deg,#f8fafc 82%,#f8fafceb);border-bottom:1px solid #e2e8f0}.ask-gu-live-context-bar{width:100%;max-width:680px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #dbeafe;background:#fff;border-radius:11px;padding:7px 10px;text-align:left;color:#0f172a;cursor:pointer;box-shadow:0 3px 10px #1e40af0d}.ask-gu-live-context-bar span{min-width:0}.ask-gu-live-context-bar small,.ask-gu-live-context-bar strong{display:block}.ask-gu-live-context-bar small{font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:#64748b;font-weight:800}.ask-gu-live-context-bar strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ask-gu-live-context>.ask-gu-context{margin-top:7px;margin-bottom:0}.ask-erp-panel.is-expanded .ask-gu-live-context-bar{max-width:820px}@media(max-width:700px){.ask-gu-live-context{top:-14px}.ask-gu-live-context-bar{border-radius:10px}.ask-gu-live-context>.ask-gu-context{margin-top:6px}}.ask-summary-card{width:100%;border:1px solid #dbe2ea;background:linear-gradient(180deg,#fff,#fbfdff);border-radius:14px;padding:13px;box-shadow:0 4px 14px #0f172a0d}.ask-summary-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid #eef2f7}.ask-summary-head>div{min-width:0}.ask-summary-kicker{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#64748b;margin-bottom:2px}.ask-summary-head strong{display:block;font-size:15px;color:#0f172a}.ask-summary-head small{display:block;margin-top:2px;color:#64748b;font-size:11px}.ask-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.ask-erp-panel.is-expanded .ask-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ask-summary-field{min-width:0;border:1px solid #edf1f5;background:#fff;border-radius:10px;padding:8px 9px}.ask-summary-field small,.ask-summary-field b{display:block}.ask-summary-field small{font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-weight:700}.ask-summary-field b{margin-top:3px;font-size:12px;line-height:1.35;color:#1e293b;overflow-wrap:anywhere}.ask-summary-open{width:100%;margin-top:10px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:10px;padding:9px 11px;font:800 12px inherit;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}.ask-summary-open:hover{background:#dbeafe}@media(max-width:700px){.ask-summary-card{padding:11px}.ask-summary-grid,.ask-erp-panel.is-expanded .ask-summary-grid{grid-template-columns:1fr 1fr}.ask-summary-head{gap:8px}.ask-summary-head .ask-result-tags{justify-content:flex-end}}.ask-kpi-card{position:relative;width:100%;min-width:0;border:1px solid #dbeafe;background:linear-gradient(180deg,#fff,#f8fbff);border-radius:14px;padding:12px 36px 12px 12px;text-align:left;color:#0f172a;cursor:pointer;box-shadow:0 4px 14px #1e40af0d}.ask-kpi-card:disabled{cursor:default}.ask-kpi-card>small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.055em;font-weight:800;color:#64748b}.ask-kpi-card>strong{display:block;margin-top:3px;font-size:20px;line-height:1.15;color:#0f172a}.ask-kpi-card>span:not(.ask-result-tags){display:block;margin-top:4px;font-size:11px;color:#64748b}.ask-kpi-card>svg{position:absolute;right:12px;top:12px;color:#94a3b8}.ask-result-list:has(.ask-kpi-card){grid-template-columns:repeat(2,minmax(0,1fr))}.ask-erp-panel.is-expanded .ask-result-list:has(.ask-kpi-card){grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:700px){.ask-result-list:has(.ask-kpi-card){grid-template-columns:1fr}.ask-kpi-card>strong{font-size:18px}}.route-customer-search{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}.route-customer-search label{display:flex;align-items:center;gap:10px;flex:1;min-width:220px;background:#fff;border:1px solid #d7dde5;border-radius:12px;padding:0 12px}.route-customer-search label input{border:0!important;box-shadow:none!important;min-height:48px!important;width:100%;background:transparent}.route-customer-search small{flex-basis:100%;color:#526176}.route-customer-search label:focus-within{outline:2px solid #991b1b;outline-offset:2px}.simple-request-modal{display:flex;flex-direction:column;width:min(680px,100%)}.simple-request-modal .simple-request-form{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:0;flex:1}.simple-request-intro{display:grid;gap:5px;padding:12px 18px;background:#eff6ff;color:#1e40af;font-size:13px;flex-shrink:0}.simple-request-body{border:0;margin:0;padding:18px;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain}.simple-request-body label{display:grid;gap:8px;font-size:14px;font-weight:600}.simple-product-card{padding:16px;margin:16px 0;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 2px 6px #00000005}.simple-quantity-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quantity-stepper{display:flex;min-width:0;align-items:stretch;border:1px solid #d7dde5;border-radius:10px;overflow:hidden}.quantity-stepper .btn{min-width:42px;min-height:48px;border:0;border-radius:0;padding:6px;font-size:20px;flex-shrink:0}.quantity-stepper input{min-width:0;width:100%;text-align:center;font-size:18px!important;border:0!important;border-radius:0!important;padding:4px!important;-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.quantity-stepper input::-webkit-inner-spin-button,.quantity-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.simple-item-total{display:flex;justify-content:space-between;gap:8px;background:#f8fafc;padding:10px;border-radius:8px;margin:12px 0;color:#334155}.simple-item-total strong{color:#172033}.simple-add-product{width:100%;min-height:48px;border-style:dashed!important}.simple-notes{margin-top:18px}.simple-notes summary{cursor:pointer;min-height:44px;padding:10px 0;color:#1e40af}.simple-notes textarea{width:100%;min-height:80px;box-sizing:border-box}.simple-request-modal .simple-request-actions{position:static;flex-shrink:0;display:grid;grid-template-columns:1fr 1.5fr;gap:10px;margin:0;padding:12px 18px max(12px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e2e8f0}.simple-request-actions small{grid-column:1/-1;color:#526176}.simple-request-actions .btn{min-height:48px}@media(max-width:600px){.modal-backdrop:has(.simple-request-modal){padding:0}.modal-backdrop .simple-request-modal{width:100%;max-width:100%;height:100dvh;max-height:100dvh!important;border-radius:0}.simple-request-modal .modal-head{padding:14px 16px}.simple-request-body{padding:14px;background:#f8fafc}.simple-product-card{padding:12px}.simple-request-modal input,.simple-request-modal textarea{font-size:16px}.simple-request-modal .search-select-trigger{min-height:48px}.simple-request-modal .icon-btn{min-height:44px;min-width:44px}.visit-actions .btn{min-height:44px}}@media(max-width:360px){.simple-quantity-grid{gap:8px}.quantity-stepper .btn{min-width:34px}}.simple-request-page,.salesman-order-detail{width:100%;max-width:760px;margin:0 auto;min-width:0}.simple-request-page .simple-request-form{display:flex;flex-direction:column;min-width:0}.simple-request-page .simple-request-body{overflow:visible;padding:16px 0}.simple-request-page .simple-request-intro{border-radius:12px}.simple-request-page .simple-request-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:16px 0;background:#fff;border-top:1px solid #e2e8f0}.simple-request-page .simple-quantity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.simple-request-page .simple-quantity-grid>label{min-width:0}.salesman-order-detail>.panel{margin:16px 0}.salesman-bottom-nav{display:none}@media(max-width:760px){.salesman-shell .page-wrap{padding:16px 12px calc(100px + env(safe-area-inset-bottom));min-width:0}.salesman-shell .topbar{gap:8px;padding:10px 12px}.salesman-shell .top-user,.salesman-shell .quick-calculator-trigger span,.salesman-shell .topbar .muted{display:none}.salesman-shell .salesman-bottom-nav{position:fixed;inset:auto 0 0;z-index:30;display:flex;justify-content:space-around;gap:4px;background:#fff;border-top:1px solid #e2e8f0;padding:8px 4px calc(8px + env(safe-area-inset-bottom))}.salesman-bottom-nav a{position:relative;display:flex;flex:1;min-width:0;min-height:48px;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:4px 2px;border-radius:10px;text-decoration:none;color:#506075;font-size:11px}.salesman-bottom-nav a.active{background:var(--brand-tint,#fff1f2);color:var(--brand-red,#d90820);font-weight:700}.salesman-bottom-nav .ops-badge{position:absolute;top:0;right:4px;font-size:10px}.simple-request-page input,.simple-request-page textarea{font-size:16px}.simple-request-page .btn,.simple-request-page .search-select-trigger,.salesman-order-detail .btn{min-height:44px}.simple-request-page .simple-request-actions{position:sticky;bottom:calc(74px + env(safe-area-inset-bottom));z-index:3;padding:12px 0}.salesman-shell .new-order-sticky-actions,.salesman-shell .order-footer{z-index:3;bottom:calc(82px + env(safe-area-inset-bottom))}.salesman-shell .new-order-sticky-actions .order-footer{position:static}}.sku-product-summary{display:grid;gap:3px;margin:8px 0 2px;padding:10px 12px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0}.sku-product-summary strong{font-size:15px;letter-spacing:.02em;color:#0f172a}.sku-product-summary span{font-size:13px;color:#475569}.sku-product-summary small{font-size:12px;color:#64748b}@media(max-width:760px){.salesman-shell{font-size:15px}.salesman-shell .page-wrap{padding:12px 10px calc(104px + env(safe-area-inset-bottom))}.salesman-shell h1{font-size:22px;line-height:1.2}.salesman-shell h2{font-size:19px}.salesman-shell h3{font-size:17px}.salesman-shell .page-header{gap:8px;margin-bottom:14px}.salesman-shell .page-header p{font-size:13px;line-height:1.45}.salesman-shell input,.salesman-shell select,.salesman-shell textarea,.salesman-shell .search-select-trigger{font-size:16px!important;min-height:48px}.salesman-shell .btn{min-height:46px;font-size:14px}.salesman-shell .btn.small{min-height:42px}.salesman-shell .simple-product-card{padding:12px;border-radius:12px;margin:12px 0}.salesman-shell .simple-request-body{padding:10px 0}.salesman-shell .simple-quantity-grid{gap:8px}.salesman-shell .quantity-stepper .btn{min-width:44px;font-size:22px}.salesman-shell .quantity-stepper input{font-size:20px!important;font-weight:700}.salesman-shell .simple-request-actions{grid-template-columns:1fr;gap:8px}.salesman-shell .simple-request-actions small{grid-column:1}.salesman-shell .simple-request-actions .btn.primary{order:2}.salesman-shell .simple-request-actions .btn:not(.primary){order:3}.salesman-shell .visit-card.rich{padding:12px;gap:10px}.salesman-shell .visit-main strong{font-size:15px}.salesman-shell .visit-main span{font-size:12px}.salesman-shell .visit-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.salesman-shell .visit-actions .btn{width:100%}.salesman-bottom-nav a{font-size:10.5px;min-height:50px}.salesman-bottom-nav svg{width:18px;height:18px}}@media(max-width:380px){.salesman-shell .page-wrap{padding-left:8px;padding-right:8px}.salesman-shell .simple-quantity-grid,.salesman-shell .visit-actions{grid-template-columns:1fr}}.salesman-route-overview{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(0,2fr);gap:12px;align-items:stretch;margin:0 0 14px}.salesman-route-stat{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:14px 16px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}.salesman-route-stat span{font-size:12px;color:#64748b;font-weight:700}.salesman-route-stat strong{font-size:30px;line-height:1.05;color:#0f172a;margin-top:4px}.salesman-route-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.salesman-quick-action{display:flex;align-items:center;gap:10px;min-width:0;padding:12px 14px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;color:#0f172a;text-decoration:none}.salesman-quick-action>svg{flex:0 0 auto;color:var(--brand-red,#d90820)}.salesman-quick-action>span{min-width:0;display:grid;gap:2px}.salesman-quick-action strong{font-size:14px;line-height:1.2}.salesman-quick-action small{font-size:11px;line-height:1.25;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:760px){.salesman-route-overview{grid-template-columns:92px minmax(0,1fr);gap:8px;margin-bottom:10px}.salesman-route-stat{padding:10px 12px;border-radius:12px}.salesman-route-stat span{font-size:10.5px;line-height:1.15}.salesman-route-stat strong{font-size:28px}.salesman-route-actions{gap:8px}.salesman-quick-action{min-height:64px;padding:9px 10px;border-radius:12px;gap:8px}.salesman-quick-action>svg{width:18px;height:18px}.salesman-quick-action strong{font-size:12.5px}.salesman-quick-action small{display:none}.salesman-shell .route-customer-search{margin:10px 0 8px;gap:8px}.salesman-shell .route-customer-search label{min-width:0;border-radius:12px}.salesman-shell .route-customer-search small{font-size:11.5px}.salesman-shell .page-header{margin-bottom:10px}}@media(max-width:390px){.salesman-route-overview{grid-template-columns:78px minmax(0,1fr)}.salesman-route-stat{padding:9px}.salesman-route-stat strong{font-size:25px}.salesman-quick-action{padding:8px;gap:6px}.salesman-quick-action strong{font-size:11.5px}.salesman-quick-action>svg{width:17px;height:17px}}.smart-product-picker{margin:16px 0 22px;border:1px solid #dbe3ee;border-radius:16px;background:#f8fafc;overflow:hidden}.smart-picker-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 16px;background:#fff;border-bottom:1px solid #e2e8f0}.smart-picker-head>div{display:grid;gap:3px}.smart-picker-head strong{font-size:15px;color:#0f172a}.smart-picker-head span,.smart-picker-head small{font-size:12px;color:#64748b}.smart-picker-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:10px 12px;background:#fff}.smart-picker-tabs button{min-height:40px;border:1px solid #d7dde5;border-radius:10px;background:#fff;color:#475569;font-weight:700;cursor:pointer}.smart-picker-tabs button.active{border-color:var(--brand-red,#d90820);background:var(--brand-tint,#fff1f2);color:var(--brand-red,#d90820)}.smart-picker-search{display:grid!important;gap:6px;padding:0 12px 12px;font-size:12px!important;color:#475569}.smart-picker-search input{width:100%;box-sizing:border-box}.smart-picker-notice{margin:0 12px 10px;padding:9px 11px;border-radius:9px;background:#ecfdf5;color:#166534;font-size:12px;font-weight:700}.smart-picker-groups{display:grid;gap:8px;padding:0 12px 12px;max-height:520px;overflow:auto;overscroll-behavior:contain}.smart-picker-group{border:1px solid #e2e8f0;border-radius:12px;background:#fff;overflow:hidden}.smart-picker-group>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:12px 14px;font-weight:800;color:#172033;list-style:none}.smart-picker-group>summary::-webkit-details-marker{display:none}.smart-picker-group>summary small{font-size:11px;color:#64748b;font-weight:600}.smart-picker-products{display:grid;border-top:1px solid #eef2f7}.smart-product-row{display:grid;grid-template-columns:minmax(180px,1.45fr) minmax(150px,1fr) minmax(150px,.9fr) auto;gap:12px;align-items:center;padding:11px 12px;border-top:1px solid #eef2f7}.smart-product-row:first-child{border-top:0}.smart-product-main{display:grid;gap:2px;min-width:0}.smart-product-main strong{font-size:13px;color:#0f172a}.smart-product-main span{font-size:12.5px;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.smart-product-main small{font-size:11px;color:#64748b}.smart-product-meta{display:grid;gap:2px;font-size:11px;color:#64748b}.smart-stock{font-weight:700;color:#166534}.stock-low .smart-stock{color:#b45309}.stock-out .smart-stock{color:#b91c1c}.smart-scheme{color:#7c3aed;font-weight:700}.smart-qty-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.smart-qty-grid label{gap:3px!important;font-size:10.5px!important;color:#64748b}.smart-qty-grid input{min-width:0;width:100%;box-sizing:border-box;text-align:center;padding:7px!important;min-height:36px!important;font-weight:700}.smart-product-actions{display:grid;gap:4px;justify-items:end}.smart-product-actions small{font-size:11px;color:#475569;font-weight:700}.smart-picker-add{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;background:#fff;border-top:1px solid #dbe3ee;box-shadow:0 -6px 14px #0f172a0a}.smart-picker-add>div{display:grid;gap:2px}.smart-picker-add strong{font-size:13px}.smart-picker-add span{font-size:11px;color:#64748b}.smart-picker-empty{padding:18px;text-align:center;color:#64748b;font-size:13px}.simple-order-items{scroll-margin-top:16px}.simple-order-items-head{display:grid;gap:3px;margin-top:18px}.simple-order-items-head strong{font-size:15px;color:#0f172a}.simple-order-items-head span{font-size:12px;color:#64748b}@media(max-width:760px){.smart-product-picker{margin:12px 0 18px;border-radius:14px}.smart-picker-head{padding:12px}.smart-picker-tabs{padding:8px}.smart-picker-tabs button{font-size:12px;min-height:42px}.smart-picker-groups{padding:0 8px 8px;max-height:none;overflow:visible}.smart-picker-search{padding:0 8px 8px}.smart-picker-group>summary{padding:11px 12px}.smart-product-row{grid-template-columns:1fr auto;gap:8px;padding:11px 10px}.smart-product-main{grid-column:1}.smart-product-meta{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px}.smart-scheme{grid-column:1/-1}.smart-qty-grid{grid-column:1;grid-row:3;grid-template-columns:repeat(2,minmax(0,92px));align-items:end}.smart-product-actions{grid-column:2;grid-row:3;align-self:end}.smart-picker-add{bottom:calc(72px + env(safe-area-inset-bottom));z-index:2;padding:10px}.smart-picker-add .btn{min-height:44px}.smart-product-main span{white-space:normal}.smart-picker-notice{margin:0 8px 8px}}@media(max-width:390px){.smart-product-row{grid-template-columns:1fr}.smart-product-main,.smart-product-meta,.smart-qty-grid,.smart-product-actions{grid-column:1;grid-row:auto}.smart-product-actions{display:flex;align-items:center;justify-content:space-between}.smart-picker-add{align-items:stretch}.smart-picker-add>div{min-width:76px}.smart-picker-add .btn{font-size:12px;padding-inline:10px}}.smart-repeat-last{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 12px 0;padding:11px 12px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff}.smart-repeat-last>div{display:grid;gap:2px}.smart-repeat-last strong{font-size:13px;color:#1e3a8a}.smart-repeat-last span{font-size:11px;color:#475569}.smart-picker-filters{display:flex;gap:7px;overflow:auto;padding:0 12px 10px;scrollbar-width:none}.smart-picker-filters::-webkit-scrollbar{display:none}.smart-picker-filters button{flex:0 0 auto;min-height:32px;padding:5px 10px;border:1px solid #d7dde5;border-radius:999px;background:#fff;color:#475569;font-size:11px;font-weight:700;cursor:pointer}.smart-picker-filters button.active{border-color:var(--brand-red,#d90820);background:var(--brand-tint,#fff1f2);color:var(--brand-red,#d90820)}.smart-product-title{display:flex;align-items:center;gap:8px;min-width:0}.smart-product-badges{display:flex;gap:4px;flex-wrap:wrap}.smart-product-badges em{font-style:normal;font-size:9.5px;line-height:1;padding:4px 6px;border-radius:999px;background:#ecfdf5;color:#166534;font-weight:800}.smart-product-badges em.due{background:#fff7ed;color:#c2410c}.smart-stepper{display:grid;grid-template-columns:34px minmax(44px,1fr) 34px;align-items:center;border:1px solid #d7dde5;border-radius:9px;overflow:hidden;background:#fff}.smart-stepper button{height:36px;border:0;background:#f8fafc;color:#0f172a;font-size:18px;font-weight:800;cursor:pointer}.smart-stepper button:disabled{opacity:.35;cursor:default}.smart-stepper input{border:0!important;border-left:1px solid #e2e8f0!important;border-right:1px solid #e2e8f0!important;border-radius:0!important;box-shadow:none!important;min-height:36px!important;padding:4px!important}.smart-product-actions>div{display:flex;gap:5px;justify-content:flex-end;flex-wrap:wrap}.smart-picker-add-actions{display:flex;gap:7px;align-items:center}.sales-order-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0;padding:10px;border:1px solid #dbe3ee;border-radius:14px;background:#fff}.sales-order-summary>div{display:grid;gap:3px;padding:9px 10px;border-radius:10px;background:#f8fafc}.sales-order-summary span{font-size:10.5px;color:#64748b;font-weight:700}.sales-order-summary strong{font-size:14px;color:#0f172a}.sales-order-summary .good{background:#ecfdf5}.sales-order-summary .good strong{color:#166534}.sales-order-summary .warn{background:#fff7ed}.sales-order-summary .warn strong{color:#c2410c}@media(max-width:760px){.simple-request-page .page-header{position:relative}.simple-request-page .page-header .page-header-actions{display:none}.smart-product-picker{border-left:0;border-right:0;border-radius:0;margin-left:-10px;margin-right:-10px;background:#f8fafc}.smart-picker-head{padding:10px 12px}.smart-picker-head span{font-size:11px;line-height:1.35}.smart-repeat-last{margin:8px 8px 0;padding:10px}.smart-repeat-last .btn{min-height:40px!important;white-space:nowrap}.smart-picker-tabs{background:#fff;padding:7px 8px}.smart-picker-tabs button{min-height:40px;font-size:11.5px}.smart-picker-search{background:#fff;padding:0 8px 7px}.smart-picker-search input{min-height:44px!important}.smart-picker-filters{background:#fff;padding:0 8px 8px}.smart-picker-filters button{min-height:34px;font-size:10.5px}.smart-picker-group{border-radius:10px}.smart-picker-group>summary{min-height:44px}.smart-product-row{padding:10px 9px;gap:7px}.smart-product-main strong{font-size:12.5px}.smart-product-main span{font-size:12px}.smart-product-main small,.smart-product-meta{font-size:10.5px}.smart-qty-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.smart-stepper{grid-template-columns:38px minmax(42px,1fr) 38px}.smart-stepper button{height:40px;font-size:21px}.smart-stepper input{min-height:40px!important;font-size:17px!important}.smart-product-actions{grid-column:1/-1!important;grid-row:auto!important;display:flex;align-items:center;justify-content:space-between;gap:8px}.smart-product-actions>div{justify-content:flex-start}.smart-product-actions .btn.small{min-height:36px!important;padding:5px 9px;font-size:11px}.smart-picker-add{bottom:calc(72px + env(safe-area-inset-bottom));padding:9px 8px;gap:8px}.smart-picker-add>div:first-child{min-width:0}.smart-picker-add strong{font-size:12px}.smart-picker-add span{font-size:10px}.smart-picker-add-actions{gap:5px}.smart-picker-add-actions .btn{min-height:42px!important;padding-inline:9px;font-size:11.5px;white-space:nowrap}.sales-order-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:10px 0}.sales-order-summary>div{padding:8px}.sales-order-summary strong{font-size:13px}.simple-request-page .simple-request-actions{background:#fffffffa;border-top:1px solid #e2e8f0;margin-left:-10px;margin-right:-10px;padding:10px 10px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -8px 18px #0f172a12}}@media(max-width:390px){.smart-repeat-last{align-items:stretch}.smart-repeat-last>div{min-width:0}.smart-repeat-last span{white-space:normal}.smart-picker-add{align-items:center}.smart-picker-add-actions .btn.small{display:none}.sales-order-summary{grid-template-columns:1fr 1fr}}.sales-order-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 0 12px}.sales-order-steps span{display:flex;align-items:center;justify-content:center;gap:5px;min-height:34px;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;color:#64748b;font-size:11px;font-weight:800}.sales-order-steps span.done,.sales-order-steps span.active{border-color:#fecdd3;background:#fff1f2;color:var(--brand-red,#d90820)}.sales-order-steps b{font-size:11px}.sales-customer-step{display:grid;gap:14px;padding:18px;border:1px solid #dbe3ee;border-radius:16px;background:#fff}.sales-step-copy{display:grid;gap:4px}.sales-step-copy strong{font-size:16px;color:#0f172a}.sales-step-copy span{font-size:12px;line-height:1.45;color:#64748b}.sales-selected-customer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;padding:11px 13px;border:1px solid #bfdbfe;border-radius:13px;background:#eff6ff}.sales-selected-customer>div{display:grid;gap:2px;min-width:0}.sales-selected-customer small{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-weight:800}.sales-selected-customer strong{font-size:14px;color:#1e3a8a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sales-selected-customer span{font-size:11px;color:#475569}.smart-picker-tabs-five{grid-template-columns:repeat(5,minmax(0,1fr))}.smart-product-row.selected{background:#f0fdf4;box-shadow:inset 3px 0 #16a34a}.sales-basket-bar{z-index:5}.sales-review-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;display:flex;align-items:flex-end;justify-content:center;background:#0f172a66;padding:20px}.sales-review-sheet{width:min(760px,100%);max-height:min(88dvh,900px);display:flex;flex-direction:column;overflow:hidden;border-radius:20px 20px 14px 14px;background:#fff;box-shadow:0 24px 70px #0f172a45}.sales-review-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e2e8f0}.sales-review-head>div{display:grid;gap:2px}.sales-review-head small{font-size:10px;color:var(--brand-red,#d90820);font-weight:900;text-transform:uppercase}.sales-review-head strong{font-size:17px;color:#0f172a}.sales-review-head span{font-size:11px;color:#64748b}.sales-review-sheet>.sales-order-summary{margin:10px 14px}.sales-review-items{display:grid;gap:8px;overflow:auto;padding:0 14px 12px}.sales-review-item{display:grid;grid-template-columns:minmax(170px,1fr) minmax(220px,auto) auto;align-items:center;gap:12px;padding:11px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.sales-review-item-main{display:grid;gap:2px;min-width:0}.sales-review-item-main strong{font-size:12px;color:#0f172a}.sales-review-item-main span{font-size:12px;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sales-review-item-main small{font-size:10.5px;color:#64748b}.sales-review-qty{display:grid;grid-template-columns:repeat(2,minmax(94px,1fr));gap:7px}.sales-review-qty label{display:grid;gap:3px;font-size:10px;color:#64748b;font-weight:700}.sales-review-item-foot{display:grid;justify-items:end;gap:5px}.sales-review-item-foot strong{font-size:11px;color:#334155}.sales-review-sheet>.simple-notes,.sales-review-sheet>.sales-manual-product{margin:0 14px 10px}.sales-review-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 14px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #e2e8f0;background:#fff}.sales-review-actions .btn{min-height:44px}.sales-manual-product{border:1px solid #e2e8f0;border-radius:12px}.sales-manual-product>summary{cursor:pointer;padding:10px 12px;font-size:12px;font-weight:800;color:#475569}.sales-manual-product .simple-order-items{padding:0 10px 10px}@media(max-width:760px){.simple-request-page{padding-bottom:0}.simple-request-page .simple-request-body{padding-top:8px}.sales-order-steps{position:sticky;top:0;z-index:4;margin:0 -10px 8px;padding:7px 10px;background:#fffffff5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.sales-order-steps span{min-height:30px}.sales-order-steps b{display:none}.sales-customer-step{min-height:50dvh;align-content:start;padding:14px;border-radius:14px}.sales-customer-step .search-select-trigger{min-height:52px!important;font-size:15px}.sales-selected-customer{position:sticky;top:45px;z-index:4;margin:0 -4px 7px;padding:9px 10px}.sales-selected-customer .btn{min-height:36px!important}.smart-picker-tabs-five{display:flex;overflow:auto;gap:6px;scrollbar-width:none}.smart-picker-tabs-five::-webkit-scrollbar{display:none}.smart-picker-tabs-five button{flex:0 0 auto;min-width:72px;padding-inline:10px}.smart-product-row.selected{box-shadow:inset 4px 0 #16a34a}.sales-basket-bar{bottom:calc(72px + env(safe-area-inset-bottom));margin:0 -1px}.sales-basket-bar .btn{min-width:118px}.sales-review-backdrop{padding:0;align-items:flex-end}.sales-review-sheet{width:100%;max-height:94dvh;border-radius:20px 20px 0 0}.sales-review-head{padding:12px 14px}.sales-review-sheet>.sales-order-summary{margin:8px 10px}.sales-review-items{padding:0 10px 10px}.sales-review-item{grid-template-columns:1fr;gap:8px;padding:10px}.sales-review-item-main span{white-space:normal}.sales-review-qty{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-review-item-foot{display:flex;align-items:center;justify-content:space-between}.sales-review-sheet>.simple-notes,.sales-review-sheet>.sales-manual-product{margin:0 10px 8px}.sales-review-actions{display:grid;grid-template-columns:1fr 1fr;padding:9px 10px calc(9px + env(safe-area-inset-bottom))}.sales-review-actions .btn.primary{grid-column:1/-1;order:-1}.sales-review-actions .btn{min-height:46px}}@media(max-width:390px){.sales-order-steps{gap:4px}.sales-order-steps span{font-size:10px}.sales-selected-customer strong{font-size:13px}.sales-basket-bar>div{max-width:54%}.sales-basket-bar .btn{min-width:106px;padding-inline:8px}.sales-review-qty .smart-stepper{grid-template-columns:36px minmax(38px,1fr) 36px}}.sales-product-filter-shell{display:grid;gap:8px;padding:10px;border:1px solid #dbe3ee;border-radius:14px;background:#fff}.smart-picker-tabs-three{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-product-search{padding:0!important;background:transparent!important}.sales-product-search>span{font-size:11px;color:#64748b;font-weight:800}.sales-facet-row{display:grid;grid-template-columns:74px minmax(0,1fr);gap:8px;align-items:center}.sales-facet-row>strong{font-size:11px;color:#92400e}.sales-facet-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:1px 0}.sales-facet-chips::-webkit-scrollbar{display:none}.sales-facet-chips button,.sales-quick-filters button{flex:0 0 auto;min-height:34px;padding:6px 11px;border:1px solid #dbe3ee;border-radius:999px;background:#fff;color:#334155;font:inherit;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}.sales-facet-chips button.active,.sales-quick-filters button.active{border-color:var(--brand-red,#d90820);background:var(--brand-red,#d90820);color:#fff}.sales-quick-filters{padding:2px 0 0!important;background:transparent!important}.sales-product-results-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:4px;border-top:1px solid #eef2f7;color:#64748b;font-size:11px}.sales-product-results-bar strong{color:#0f172a}.sales-product-results-bar button{border:0;background:transparent;color:var(--brand-red,#d90820);font:inherit;font-weight:800;cursor:pointer}.sales-filtered-product-list{display:grid;gap:8px;margin-top:8px}.sales-filtered-product-list .smart-product-row{border:1px solid #e2e8f0;border-radius:12px;background:#fff}@media(max-width:760px){.sales-product-filter-shell{position:sticky;top:91px;z-index:3;margin:0 -2px 8px;padding:8px;border-radius:12px;box-shadow:0 6px 18px #0f172a0d}.smart-picker-tabs-three{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:0!important}.smart-picker-tabs-three button{min-width:0!important;min-height:36px!important;padding:5px!important}.sales-product-search input{min-height:42px!important}.sales-facet-row{grid-template-columns:62px minmax(0,1fr);gap:6px}.sales-facet-row>strong{font-size:10.5px}.sales-facet-chips button,.sales-quick-filters button{min-height:32px;padding:5px 10px;font-size:10.5px}.sales-filtered-product-list{margin-top:6px}.sales-filtered-product-list .smart-product-row{border-radius:11px}}@media(max-width:390px){.sales-facet-row{grid-template-columns:54px minmax(0,1fr)}.sales-facet-chips button{padding-inline:9px}.sales-product-filter-shell{top:88px}}.sales-order-compact-head{display:flex;align-items:center;gap:9px;min-height:42px;margin:0 0 8px;padding:5px 8px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.sales-order-back{display:grid;place-items:center;width:32px;height:32px;flex:0 0 auto;border-radius:9px;background:#f8fafc;color:#0f172a;text-decoration:none;font-size:21px;line-height:1}.sales-order-compact-head>strong{font-size:14px;color:#0f172a;white-space:nowrap}.sales-order-compact-head>span{min-width:0;margin-left:auto;color:#64748b;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sales-picker-compact-head{padding:8px 10px;align-items:center}.sales-picker-compact-head strong{font-size:13px}.sales-customer-step{padding:10px;gap:8px}.sales-selected-customer{padding:7px 9px;margin-bottom:6px}.sales-selected-customer small{display:none}.sales-selected-customer span:empty{display:none}.smart-repeat-last{padding:7px 9px;min-height:38px}.smart-repeat-last strong{font-size:11.5px}.sales-product-filter-shell{gap:6px;padding:7px}.sales-product-results-bar{padding-top:2px}.sales-filtered-product-list{gap:6px}.sales-order-product{grid-template-columns:minmax(180px,1.1fr) minmax(190px,.9fr);gap:7px 12px;padding:9px 10px!important}.sales-order-product .smart-product-main{grid-column:1}.sales-order-product .smart-product-main strong,.sales-order-product .smart-product-main span{font-size:12px}.sales-order-product .smart-product-main small{font-size:10.5px}.sales-order-product .smart-qty-grid{grid-column:2;grid-row:1;align-self:center}.sales-product-price{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;color:#64748b;font-size:10.5px}.sales-product-price strong{margin-left:auto;color:#0f172a;font-size:10.5px}.sales-order-product.selected{background:#f8fffb;box-shadow:inset 3px 0 #16a34a}.sales-basket-bar span{white-space:nowrap}.sales-review-head small{display:none}@media(max-width:760px){.simple-request-page .simple-request-body{padding-top:2px}.sales-order-compact-head{position:sticky;top:0;z-index:5;margin:0 -3px 5px;padding:4px 6px;min-height:38px;border-radius:10px}.sales-order-back{width:30px;height:30px}.sales-order-compact-head>strong{font-size:13px}.sales-order-compact-head>span{font-size:10.5px;max-width:48%}.sales-customer-step{min-height:0;padding:8px}.sales-customer-step .search-select-trigger{min-height:46px!important}.sales-selected-customer{position:static;margin:0 0 5px;padding:6px 8px;border-radius:10px}.sales-selected-customer strong{font-size:12.5px}.sales-selected-customer .btn{min-height:32px!important;padding:4px 8px;font-size:10.5px}.smart-product-picker{margin-top:5px}.sales-picker-compact-head{display:none}.smart-repeat-last{margin:0 7px 5px;padding:6px 8px}.smart-repeat-last .btn.small{min-height:32px!important;padding:4px 8px}.sales-product-filter-shell{top:50px;margin-bottom:5px;padding:6px;gap:5px}.smart-picker-tabs-three button{min-height:32px!important;font-size:10.5px}.sales-product-search input{min-height:38px!important;padding-block:6px!important}.sales-facet-row{grid-template-columns:52px minmax(0,1fr);gap:5px}.sales-facet-row>strong{font-size:10px}.sales-facet-chips{gap:4px}.sales-facet-chips button{min-height:29px;padding:4px 8px;font-size:10px}.sales-product-results-bar{font-size:10px}.sales-filtered-product-list{gap:5px;margin-top:5px}.sales-order-product{grid-template-columns:1fr!important;gap:6px!important;padding:8px!important;border-radius:10px!important}.sales-order-product .smart-product-main{grid-column:1;grid-row:1}.sales-order-product .smart-product-main strong{font-size:11.5px}.sales-order-product .smart-product-main span{font-size:12.5px;font-weight:700;color:#1f2937}.sales-order-product .smart-product-main small{font-size:10.5px}.sales-order-product .smart-qty-grid{grid-column:1;grid-row:2;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.sales-order-product .smart-qty-grid label{font-size:9.5px!important}.sales-order-product .smart-stepper button{min-height:34px!important}.sales-order-product .smart-stepper input{min-height:34px!important;padding:4px!important}.sales-product-price{grid-column:1;grid-row:3;font-size:10.5px;padding:0 1px}.sales-product-price strong{font-size:10.5px}.sales-basket-bar{padding:7px 8px}.sales-basket-bar strong{font-size:11.5px}.sales-basket-bar span{font-size:10px}.sales-basket-bar .btn{min-height:40px!important}}@media(max-width:390px){.sales-product-filter-shell{top:48px}.sales-order-compact-head>span{max-width:42%}.sales-product-price{gap:5px;font-size:10px}.sales-product-price strong{font-size:10px}}.sales-order-head-customer{display:grid;gap:1px;min-width:0;flex:1}.sales-order-head-customer strong{font-size:13px;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sales-order-head-customer small{font-size:9.5px;color:#64748b}.sales-order-change{flex:0 0 auto;border:1px solid #e2e8f0;border-radius:9px;background:#fff;color:#7f1d1d;padding:5px 8px;font:800 10.5px/1 inherit;cursor:pointer}.sales-order-change:hover{background:#fff7f7}@media(max-width:760px){.simple-request-page .simple-request-body{padding:0!important;margin:0!important}.simple-request-page .simple-request-form{gap:0!important}.sales-order-compact-head{position:sticky;top:0;z-index:6;margin:0 -2px 3px!important;padding:3px 5px!important;min-height:34px!important;border-radius:9px!important}.sales-order-back{width:28px!important;height:28px!important;font-size:18px!important}.sales-order-head-customer strong{font-size:12.5px}.sales-order-head-customer small{font-size:9px}.sales-order-change{padding:4px 7px;font-size:10px}.smart-product-picker{margin:0 -10px!important;border:0!important;border-radius:0!important;background:#f8fafc!important;overflow:visible!important}.sales-product-filter-shell{position:relative!important;top:auto!important;z-index:1!important;margin:0 0 4px!important;padding:5px 8px 6px!important;border-left:0!important;border-right:0!important;border-radius:0!important;box-shadow:none!important;gap:4px!important}.smart-picker-tabs-three{gap:4px!important}.smart-picker-tabs-three button{min-height:29px!important;font-size:10px!important;padding:3px 5px!important;border-radius:8px!important}.sales-product-search input{min-height:36px!important;padding:5px 9px!important;border-radius:9px!important}.sales-facet-row{grid-template-columns:48px minmax(0,1fr)!important;gap:4px!important;min-height:28px}.sales-facet-row>strong{font-size:9.5px!important}.sales-facet-chips{gap:4px!important}.sales-facet-chips button{min-height:27px!important;padding:3px 8px!important;font-size:9.5px!important}.sales-product-results-bar{min-height:22px;padding-top:1px!important;font-size:9.5px!important}.sales-filtered-product-list{margin-top:0!important;gap:4px!important;padding:0 6px 6px}.sales-order-product{padding:7px 8px!important;gap:4px!important;border-radius:9px!important}.sales-order-product .smart-product-main{display:grid!important;grid-template-columns:auto minmax(0,1fr);column-gap:6px;row-gap:1px;align-items:baseline}.sales-order-product .smart-product-main strong{font-size:10.5px!important}.sales-order-product .smart-product-main span{font-size:11.5px!important;font-weight:750!important;line-height:1.18}.sales-order-product .smart-product-main small{grid-column:1/-1;font-size:9.5px!important;line-height:1.15}.sales-order-product .smart-qty-grid{gap:5px!important}.sales-order-product .smart-qty-grid label{gap:2px!important;font-size:9px!important}.sales-order-product .smart-stepper{grid-template-columns:34px minmax(40px,1fr) 34px!important;border-radius:8px!important}.sales-order-product .smart-stepper button{height:32px!important;min-height:32px!important;font-size:17px!important}.sales-order-product .smart-stepper input{height:32px!important;min-height:32px!important;font-size:15px!important}.sales-product-price{min-height:18px!important;font-size:9.5px!important;line-height:1.1}.sales-product-price strong{font-size:9.5px!important}.sales-basket-bar{bottom:calc(72px + env(safe-area-inset-bottom));padding:6px 8px!important}}@media(max-width:390px){.sales-facet-row{grid-template-columns:44px minmax(0,1fr)!important}.sales-facet-chips button{padding-inline:7px!important}}.sales-request-mobile-head,.sales-request-mobile-cards{display:none}@media(max-width:760px){body.sales-request-entry-active .simple-request-page{padding-bottom:calc(82px + env(safe-area-inset-bottom))}body.sales-request-entry-active .sales-basket-bar{position:fixed!important;left:8px;right:8px;bottom:calc(72px + env(safe-area-inset-bottom));z-index:1050;border:1px solid #dbe3ee;border-radius:14px;box-shadow:0 -8px 22px #0f172a21;padding:7px 9px!important}body.sales-request-entry-active .ask-erp-fab{bottom:calc(146px + env(safe-area-inset-bottom))!important}body.sales-request-entry-active .sales-filtered-product-list{padding-bottom:10px}.sales-request-list-page .page-header{display:none}.sales-request-mobile-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px;padding:2px 0}.sales-request-mobile-head>div{display:grid;gap:1px}.sales-request-mobile-head strong{font-size:18px;color:#0f172a}.sales-request-mobile-head span{font-size:10.5px;color:#64748b}.sales-request-mobile-head .btn{min-height:38px;padding:7px 12px;border-radius:10px}.sales-request-list-page .filter-bar{display:grid!important;grid-template-columns:1fr auto;gap:7px!important;margin-bottom:8px!important;padding:8px!important;border-radius:12px!important}.sales-request-list-page .filter-bar .search-box{grid-column:1/-1;min-width:0}.sales-request-list-page .filter-bar .search-box input{min-height:40px!important;font-size:15px!important}.sales-request-list-page .filter-actions{display:flex!important;grid-column:1/-1;gap:6px!important;align-items:end;flex-wrap:nowrap!important;overflow-x:auto;padding-bottom:1px;scrollbar-width:none}.sales-request-list-page .filter-actions::-webkit-scrollbar{display:none}.sales-request-list-page .filter-actions label{flex:1 1 130px;min-width:130px;font-size:10px!important;gap:3px!important}.sales-request-list-page .filter-actions select{min-height:36px!important;padding:5px 28px 5px 8px!important}.sales-request-list-page .filter-actions>.btn{display:none}.sales-request-list-page .filter-actions>.ux-result-count{display:none}.sales-request-count-copy,.sales-request-desktop-table{display:none!important}.sales-request-mobile-cards{display:grid;gap:8px;margin:6px 0 10px}.sales-request-card{border:1px solid #e2e8f0;border-radius:13px;background:#fff;overflow:hidden;box-shadow:0 2px 8px #0f172a09}.sales-request-card-main{width:100%;border:0;background:#fff;padding:10px 11px;text-align:left;color:#0f172a;cursor:pointer}.sales-request-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}.sales-request-card-top>strong{font-size:12px;color:#7f1d1d}.sales-request-card-main>b{display:block;font-size:14px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sales-request-card-meta{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap;margin-top:6px;color:#64748b;font-size:10.5px}.sales-request-card-meta span:first-child{color:#334155;font-weight:700}.sales-request-card-actions{display:flex;gap:6px;padding:7px 10px;border-top:1px solid #eef2f7;background:#f8fafc}.sales-request-card-actions .btn{flex:1;min-height:34px!important;padding:5px 8px!important;font-size:10.5px!important;text-align:center}.sales-request-list-page .empty-state{margin-top:8px!important;padding:18px 14px!important;min-height:0!important}.sales-request-list-page .pagination{margin-top:8px}}.sales-mobile-page-head,.sales-order-mobile-cards,.sales-order-mobile-empty,.payments-mobile-cards,.sales-mobile-order-tools,.payments-mobile-tools{display:none}@media(max-width:760px){.salesman-shell .page-wrap{padding:8px 8px calc(92px + env(safe-area-inset-bottom))}.sales-mobile-page-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 7px;padding:2px 1px}.sales-mobile-page-head>div{display:grid;gap:0;min-width:0}.sales-mobile-page-head strong{font-size:18px;line-height:1.1;color:#0f172a}.sales-mobile-page-head span{font-size:10.5px;color:#64748b}.sales-mobile-page-head .btn{min-height:36px!important;padding:6px 10px!important;border-radius:10px!important;font-size:11px!important}.salesman-home-mobile>.page-header{display:none}.salesman-home-head{margin-bottom:5px}.salesman-route-overview{grid-template-columns:70px minmax(0,1fr)!important;gap:6px!important;margin-bottom:7px!important}.salesman-route-stat{padding:7px 8px!important;border-radius:10px!important}.salesman-route-stat span{font-size:9.5px!important}.salesman-route-stat strong{font-size:23px!important;margin-top:1px!important}.salesman-route-actions{gap:6px!important}.salesman-quick-action{min-height:48px!important;padding:7px 8px!important;border-radius:10px!important;gap:6px!important}.salesman-quick-action strong{font-size:11px!important}.salesman-quick-action>svg{width:16px!important;height:16px!important}.salesman-shell .route-customer-search{margin:6px 0!important;gap:4px!important}.salesman-shell .route-customer-search label{padding:0 9px!important;border-radius:10px!important}.salesman-shell .route-customer-search label input{min-height:40px!important;font-size:14px!important}.salesman-shell .route-customer-search small{font-size:10px!important}.salesman-home-mobile .mobile-cards{display:grid;gap:6px}.salesman-home-mobile .visit-card.rich{display:grid;grid-template-columns:34px minmax(0,1fr) auto;padding:8px!important;gap:7px!important;border-radius:11px!important}.salesman-home-mobile .visit-seq{width:34px;height:34px;font-size:12px}.salesman-home-mobile .visit-main strong{font-size:12.5px!important;line-height:1.15}.salesman-home-mobile .visit-main span{font-size:9.5px!important}.salesman-home-mobile .visit-main span svg{width:11px;height:11px}.salesman-home-mobile .visit-actions{width:auto!important;display:grid!important;grid-template-columns:1fr!important;gap:4px!important}.salesman-home-mobile .visit-actions .btn{min-width:76px;min-height:32px!important;padding:4px 7px!important;font-size:10px!important}.sales-field-orders>.page-header{display:none}.sales-field-orders .sales-orders-desktop-filter{display:none!important}.sales-mobile-order-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin-bottom:7px}.sales-mobile-order-tools>input{min-height:40px!important;padding:7px 10px!important;border-radius:10px!important;font-size:14px!important}.sales-mobile-order-tools details{position:relative}.sales-mobile-order-tools summary{list-style:none;display:grid;place-items:center;min-height:40px;padding:6px 10px;border:1px solid #d7dde5;border-radius:10px;background:#fff;font-size:11px;font-weight:800;color:#475569;cursor:pointer}.sales-mobile-order-tools summary::-webkit-details-marker{display:none}.sales-mobile-order-tools details>div{position:absolute;right:0;top:44px;z-index:10;width:min(300px,calc(100vw - 24px));display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:9px;border:1px solid #dbe3ee;border-radius:12px;background:#fff;box-shadow:0 10px 28px #0f172a29}.sales-mobile-order-tools details label{display:grid;gap:3px;font-size:9.5px;color:#64748b;font-weight:800}.sales-mobile-order-tools details input{min-height:36px!important;font-size:12px!important}.sales-mobile-order-tools details .btn{grid-column:1/-1;min-height:34px!important}.sales-order-mobile-cards{display:grid;gap:7px;margin-bottom:8px}.sales-order-card{display:grid;gap:4px;padding:9px 10px;border:1px solid #e2e8f0;border-radius:11px;background:#fff;box-shadow:0 2px 7px #0f172a08;cursor:pointer}.sales-order-card-top{display:flex;align-items:center;justify-content:space-between;gap:6px}.sales-order-card-top>strong{font-size:11px;color:#7f1d1d}.sales-order-card>b{font-size:13px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sales-order-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#64748b}.sales-order-card-meta strong{font-size:12px;color:#0f172a}.sales-order-desktop-table{display:none!important}.sales-order-mobile-empty{display:block}.sales-field-orders .pagination{margin-top:6px}.field-payments-page>.page-header{display:none}.field-payments-page .payments-desktop-filter{display:none!important}.payments-mobile-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin:7px 0}.payments-mobile-tools>input{min-height:40px!important;padding:7px 10px!important;border-radius:10px!important;font-size:14px!important}.payments-mobile-tools summary{list-style:none;display:grid;place-items:center;min-height:40px;padding:6px 10px;border:1px solid #d7dde5;border-radius:10px;background:#fff;font-size:11px;font-weight:800;color:#475569}.payments-mobile-tools summary::-webkit-details-marker{display:none}.payments-mobile-tools details{position:relative}.payments-mobile-tools details>div{position:absolute;right:0;top:44px;z-index:10;width:min(310px,calc(100vw - 24px));display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:9px;border:1px solid #dbe3ee;border-radius:12px;background:#fff;box-shadow:0 10px 28px #0f172a29}.payments-mobile-tools details label{display:grid;gap:3px;font-size:9.5px;font-weight:800;color:#64748b}.payments-mobile-tools details label:last-child{grid-column:1/-1}.payments-mobile-tools details input,.payments-mobile-tools details select{min-height:36px!important;font-size:12px!important}.field-payments-page .payments-tabs{display:grid!important;grid-template-columns:repeat(3,1fr);gap:5px;margin:0 0 6px!important}.field-payments-page .payments-tabs .btn{min-height:36px!important;padding:5px 4px!important;font-size:10.5px!important;border-radius:9px!important}.field-payments-page .text-info{margin:5px 0 7px!important;padding:6px 8px;border-radius:9px;background:#eff6ff;color:#475569;font-size:9.5px!important;line-height:1.3}.payments-mobile-cards{display:grid;gap:7px}.payment-mobile-card{display:grid;gap:4px;padding:9px 10px;border:1px solid #e2e8f0;border-radius:11px;background:#fff}.payment-mobile-card-top{display:flex;align-items:center;justify-content:space-between;gap:6px}.payment-mobile-card-top>strong{font-size:11px;color:#7f1d1d}.payment-mobile-card>b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.payment-mobile-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9.5px;color:#64748b}.payment-mobile-card-meta strong{font-size:12px;color:#0f172a}.payment-mobile-card>.btn{justify-self:start;min-height:30px!important;padding:4px 8px!important;font-size:9.5px!important}.payments-desktop-table{display:none!important}.salesman-shell .ask-erp-fab{right:10px!important;bottom:calc(78px + env(safe-area-inset-bottom))!important;transform:scale(.88);transform-origin:bottom right}}@media(max-width:390px){.salesman-home-mobile .visit-card.rich{grid-template-columns:30px minmax(0,1fr) 72px}.salesman-home-mobile .visit-actions .btn{min-width:68px;padding-inline:5px!important}.sales-mobile-page-head strong{font-size:17px}}.sales-review-backdrop{z-index:5000;overscroll-behavior:contain;touch-action:none}.sales-review-sheet{touch-action:auto;overscroll-behavior:contain}.sales-review-items{min-height:0;flex:1 1 auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.sales-review-actions{position:sticky;bottom:0;z-index:3;flex:0 0 auto;box-shadow:0 -8px 18px #0f172a14}.sales-basket-bar.is-reviewing{visibility:hidden;pointer-events:none}@media(max-width:700px){.sales-review-sheet{height:min(94dvh,900px);max-height:94dvh}.sales-review-head,.sales-review-sheet>.sales-order-summary,.sales-review-sheet>.simple-notes,.sales-review-actions{flex:0 0 auto}.sales-review-items{flex:1 1 auto;overflow-y:auto}.sales-review-actions{grid-template-columns:1fr 1fr;background:#fff;padding-bottom:calc(10px + env(safe-area-inset-bottom))}.sales-review-actions .btn.primary{grid-column:1/-1;grid-row:1;order:0;min-height:48px;font-size:14px;font-weight:800}.sales-review-actions .btn:not(.primary){grid-row:2}}@media(max-width:760px){.field-customer-360{background:#f8fafc!important}.field-customer-360 .modal-head{padding:10px 12px!important;background:#fff!important;border-bottom:1px solid #e5e7eb!important}.field-customer-360 .modal-head h2{font-size:15px!important;line-height:1.15!important;color:#991b1b!important;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100vw - 74px)}.field-customer-360 .modal-head small{font-size:10px!important;line-height:1.2!important;margin-top:2px!important}.field-customer-360 .modal-head .row-actions>.btn{display:none!important}.field-customer-360 .modal-head .icon-btn{min-width:34px!important;min-height:34px!important}.field-customer-360 .customer-360-body{padding:8px!important;display:grid!important;gap:7px!important;background:#f8fafc!important}.field-customer-360 .customer-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:0!important}.field-customer-360 .customer-stat{padding:9px 10px!important;border-radius:10px!important;box-shadow:none!important;min-height:62px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}.field-customer-360 .customer-stat span{font-size:9.5px!important;line-height:1.1!important}.field-customer-360 .customer-stat strong{font-size:16px!important;line-height:1.15!important;margin-top:3px!important;letter-spacing:-.2px!important;white-space:nowrap!important}.field-customer-360 .customer-stat-credit-limit{display:none!important}.field-customer-360 .customer-360-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;margin:0!important}.field-customer-360 .panel{padding:10px 11px!important;border-radius:11px!important;margin:0!important;box-shadow:none!important}.field-customer-360 .panel h3{font-size:13px!important;line-height:1.2!important;margin:0 0 7px!important}.field-customer-360 .panel-title-row{align-items:center!important;gap:8px!important;margin:0 0 7px!important}.field-customer-360 .panel-title-row h3{margin:0!important}.field-customer-360 .customer-address-inline-edit{margin-left:auto!important;min-height:32px!important;padding:4px 8px!important;font-size:10px!important;white-space:nowrap!important}.field-customer-360 .info-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px 12px!important}.field-customer-360 .info-list span{font-size:9.5px!important;line-height:1.2!important;min-width:0!important}.field-customer-360 .info-list b{font-size:11px!important;margin-top:2px!important;overflow-wrap:anywhere!important}.field-customer-360 .record-line{padding:4px 0!important;gap:8px!important;font-size:10px!important}.field-customer-360 .record-line b{font-size:11px!important;line-height:1.2!important}.field-customer-360 .record-line span{font-size:9.5px!important}.field-customer-360 .address-grid{gap:6px!important}.field-customer-360 .address-card{padding:8px 9px!important;border-radius:9px!important;gap:2px!important;font-size:10px!important;line-height:1.3!important}.field-customer-360 .address-card b{font-size:10.5px!important}.field-customer-360 .returnable-inline-summary{gap:4px!important}.field-customer-360 .returnable-inline-summary span{font-size:10px!important}.field-customer-360 .panel-title-row>div>span{display:none!important}.field-customer-360 .panel-title-row .btn{min-height:32px!important;padding:4px 8px!important;font-size:10px!important}.field-customer-360 .empty-inline{padding:5px 0!important;font-size:10px!important}.field-customer-360 .history-head{display:none!important}.field-customer-360 .history-row{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:3px 7px!important;padding:7px 1px!important;font-size:9.5px!important}.field-customer-360 .history-row>span:nth-child(1){grid-column:1;color:#64748b!important}.field-customer-360 .history-row>span:nth-child(2){grid-column:2;color:#64748b!important}.field-customer-360 .history-row>b{grid-column:1/3;grid-row:2;font-size:10.5px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.field-customer-360 .history-row>span:nth-child(4){grid-column:3;grid-row:1}.field-customer-360 .history-row>span:nth-child(5){grid-column:3;grid-row:2;font-weight:800;color:#0f172a!important}.field-customer-360 .panel:last-child .btn{width:100%!important;justify-content:center!important;min-height:36px!important;font-size:10.5px!important}.customer-address-edit-modal{z-index:1201!important}.elevated-modal-backdrop:has(.customer-address-edit-modal){z-index:1400!important;background:#0a12209e!important}}.home-view-tabs{display:flex;gap:8px;margin-bottom:22px;padding:5px;background:#e9eef5;border-radius:12px;width:fit-content}.home-view-tabs button{border:0;padding:10px 18px;border-radius:8px;background:transparent;color:#5b6d84;font-weight:650}.home-view-tabs button.active{background:#fff;color:#214e82;box-shadow:0 2px 5px #132a4312}.daily-heading{display:flex;justify-content:space-between;align-items:center;gap:24px}.daily-eyebrow{display:flex;align-items:center;gap:7px;color:#32669d;font-size:12px;font-weight:750;text-transform:uppercase;letter-spacing:.08em}.daily-heading h1{font-size:28px;letter-spacing:-.6px;margin:8px 0}.daily-heading p,.daily-freshness{color:#65778b;font-size:13px;line-height:1.6}.daily-date-controls{display:flex;align-items:flex-end;gap:8px}.daily-date-controls label{display:grid;gap:6px;font-size:12px;color:#5d6d7d}.daily-date-controls input{border:1px solid #cbd7e5;background:#fff;border-radius:9px;padding:9px;min-height:39px}.daily-freshness{margin:14px 0 22px}.daily-section-title{font-size:16px;color:#324b68}.daily-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.daily-kpis article{padding:17px;border:1px solid #dfe7ef;border-radius:13px;background:#fff;display:grid;gap:8px}.daily-kpis article:nth-child(2n){background:#f4faf9}.daily-kpis span,.daily-kpis small{color:#687b8b;font-size:12px}.daily-kpis strong{font-size:23px;color:#173e58;overflow-wrap:anywhere}.daily-current-summary{display:flex;flex-wrap:wrap;gap:22px;padding:17px 0;margin:12px 0;border-bottom:1px solid #dfe7ef}.daily-current-summary span{display:flex;align-items:center;gap:7px;font-size:13px;color:#526b7f}.daily-current-summary b{color:#213d57}.daily-reminders{border:1px solid #e7c99b;border-radius:13px;background:#fff9ef;padding:16px;margin:18px 0}.daily-reminders h2{display:flex;gap:8px;align-items:center;font-size:16px;margin:0 0 12px}.daily-reminders>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;font-size:13px}.daily-work-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:18px;align-items:start}.daily-work-grid .panel{padding:0;overflow:hidden}.daily-work-grid header{display:flex;align-items:center;justify-content:space-between;padding:18px;border-bottom:1px solid #e8edf4}.daily-work-grid h2{display:flex;align-items:center;gap:8px;font-size:16px;margin:0 0 6px}.daily-work-grid header p{margin:0;color:#708195;font-size:12px}.daily-explanation{font-size:12px;line-height:1.5;color:#687b8f;padding:0 18px}.daily-activity-row{padding:16px;border-top:1px solid #e8edf4;border-left:3px solid transparent;display:flex;gap:12px;justify-content:space-between}.daily-activity-row.priority-0{border-left-color:#c87749}.daily-activity-row.priority-1{border-left-color:#619c96}.daily-activity-main{min-width:0}.daily-activity-main>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.daily-activity-main b{font-size:13px;overflow-wrap:anywhere}.daily-activity-main p{font-size:13px;margin:8px 0;color:#435e73}.daily-activity-main small{display:block;color:#708195;font-size:11px;line-height:1.5}.daily-activity-main .daily-assignment{color:#356b75;margin-top:6px;white-space:pre-wrap;overflow-wrap:anywhere}.daily-activity-actions{display:flex;flex-direction:column;justify-content:center;align-items:flex-end;gap:10px;flex-shrink:0}.daily-activity-actions strong{font-size:14px}.daily-activity-actions>div{display:flex;gap:6px}.daily-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e7edf4;padding:14px;font-size:12px;color:#708195}.daily-empty{padding:25px 18px;color:#728398;font-size:13px}.daily-timeline article{display:flex;gap:12px;margin:0 18px;padding:14px 0;border-bottom:1px solid #edf1f6}.daily-event-dot{height:9px;width:9px;border-radius:50%;background:#56988d;flex-shrink:0;margin-top:6px}.daily-timeline time,.daily-timeline small{font-size:11px;color:#6c8094;display:block}.daily-timeline article a{display:flex;gap:5px;align-items:center;color:#2f608d;font-size:13px;font-weight:700;margin:6px 0}.daily-timeline article p{font-size:11px;color:#586f85;margin:5px 0}.daily-task-modal{max-height:calc(100dvh - 30px);overflow:auto}.daily-task-modal .modal-head{position:sticky;top:0;background:#fff;z-index:1}.daily-task-modal p{font-size:13px;color:#627489}.daily-overview .alert.error button{margin-left:12px}.linked-record td{background:#edf6ff!important;box-shadow:inset 0 2px #629bd5,inset 0 -2px #629bd5}.linked-record-banner{padding:10px 14px;font-size:12px;background:#edf6ff;color:#315d86;display:flex;justify-content:space-between;align-items:center;gap:12px}@media(max-width:1200px){.daily-work-grid{grid-template-columns:1fr}.daily-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.daily-heading{align-items:flex-start;flex-direction:column;gap:10px}.daily-heading h1{font-size:24px}.daily-date-controls{flex-wrap:wrap}.daily-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-kpis strong{font-size:19px}.daily-activity-row{flex-direction:column}.daily-activity-actions{flex-direction:row;justify-content:space-between;align-items:center}.daily-reminders>div{flex-direction:column;align-items:flex-start}.daily-current-summary{gap:12px}.daily-task-modal{height:100dvh;max-height:100dvh;overflow:auto}}.daily-smart-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;margin:16px 0;background:#edf6f3;border:1px solid #cce0da;border-radius:12px}.daily-smart-actions strong{font-size:14px;color:#235b50}.daily-smart-actions p{margin:6px 0;font-size:13px}.daily-smart-actions small{display:block;color:#667f79;font-size:11px;margin-bottom:10px}.daily-focus-filters{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 14px}.daily-focus-filters button{display:flex;align-items:center;gap:6px;border:1px solid #d7e1ec;background:#f7f9fc;color:#486078;border-radius:20px;padding:7px 10px;font-size:12px}.daily-focus-filters button.active{background:#245d80;border-color:#245d80;color:#fff}.daily-focus-filters b{padding:1px 5px;border-radius:8px;background:#ffffff30}.daily-list-body{max-height:620px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.daily-list-body:focus-visible{outline:2px solid #407ac4;outline-offset:-2px}.daily-work-grid .daily-pagination{background:#fff}.daily-focus-filters button:focus-visible{outline:2px solid #407ac4;outline-offset:2px}@media(max-width:760px){.daily-smart-actions{align-items:flex-start;flex-direction:column}.daily-list-body{max-height:460px}}.daily-date-controls{flex-wrap:wrap}.daily-privacy-toggle{white-space:nowrap}.daily-privacy-toggle[aria-pressed=false]{border-color:#9ab8ae;background:#edf6f3;color:#235b50}.operations-overview{margin:18px 0;padding:18px!important}.operations-overview h2{font-size:18px;margin:0 0 8px}.operations-note{font-size:12px;color:#64788c;line-height:1.6}.operations-events{display:flex;flex-wrap:wrap;align-items:center;gap:16px;font-size:12px;margin:14px 0}.operations-stages{padding:0;margin:12px 0}.operations-tabs{display:flex;gap:6px;overflow-x:auto;border-bottom:1px solid #dce5ef;padding-bottom:10px}.operations-tabs button{white-space:nowrap;border:0;border-radius:8px;background:#eef2f6;color:#38566f;padding:10px 14px}.operations-tabs button.active{background:#245d80;color:#fff}.operations-body{max-height:460px}.operations-body article{padding:14px 4px;border-bottom:1px solid #e5ecf2;font-size:13px}.operations-row-title{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.operations-body p{margin:8px 0;color:#526b7f}.operations-body small{display:block;color:#63778c;line-height:1.6;margin:6px 0}.operations-body .btn{margin:6px 6px 0 0}.operations-body summary,.operations-day-finance>summary{cursor:pointer;color:#345d7e;padding:10px 0}.operations-day-finance{margin:16px 0}.operations-finance{background:#f7f9fb;padding:0 10px;border-radius:8px}.daily-smart{max-width:1440px;margin:0 auto}.daily-smart .daily-heading h1{font-size:28px;letter-spacing:-.7px;margin:6px 0}.daily-smart .daily-heading p{margin:6px 0;color:#64748b}.smart-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0 12px}.smart-section-heading h2{font-size:18px;margin:0}.smart-section-heading p,.smart-section-heading>span{color:#64748b;font-size:12px;margin:5px 0 0}.smart-day-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.smart-day-card,.smart-pending-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid #e2e8f0;border-radius:12px;padding:18px;background:#fff;color:#273449;cursor:pointer;gap:8px}.smart-day-card strong{font-size:34px;line-height:1.15;letter-spacing:-1px}.smart-day-card>span,.smart-pending-card>span{font-size:14px;font-weight:650}.smart-day-card small,.smart-pending-card small{font-size:12px;color:#64748b}.smart-day-card b{font-size:14px;color:#a50618}.smart-day-card:hover,.smart-pending-card:hover{border-color:#d90820;background:snow}.smart-day-card.selected,.smart-pending-card.selected{border-color:#d90820;box-shadow:0 0 0 1px #d90820}.smart-day-card:focus-visible,.smart-pending-card:focus-visible,.smart-details summary:focus-visible{outline:2px solid #d90820;outline-offset:3px}.smart-day-card:disabled,.smart-pending-card:disabled{cursor:default;opacity:.65}.smart-pending-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.smart-pending-card{border-top:3px solid #d99c31;padding:15px}.smart-pending-card strong{font-size:27px}.smart-pending-card.overdue{border-top-color:#c92b3e}.smart-day-detail{margin-top:12px;padding:15px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.smart-work{margin-top:24px;padding:20px;scroll-margin-top:85px}.smart-work .smart-section-heading{margin-top:0}.smart-work-head,.smart-work-row{display:grid;grid-template-columns:1.2fr 1.4fr 1fr 1fr;gap:18px;align-items:center}.smart-work-head{padding:12px 0;border-bottom:1px solid #e2e8f0;color:#64748b;font-size:12px}.smart-work-row{padding:18px 0;border-bottom:1px solid #eef2f6;font-size:13px}.smart-work-row>div{min-width:0;overflow-wrap:anywhere}.smart-work-row small{display:block;color:#64748b;font-size:12px;margin-top:7px;line-height:1.5}.smart-status{display:inline-block;font-size:12px;font-weight:650;padding:5px 8px;border-radius:6px}.smart-status.waiting{background:#fff7e5;color:#825910}.smart-status.urgent{background:#fff0f2;color:#ad2034}.smart-row-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.smart-row-actions>strong{width:100%;text-align:right}.smart-empty{padding:28px 8px;text-align:center}.smart-empty h3{font-size:17px}.smart-empty p{color:#64748b}.smart-empty .row-actions{justify-content:center}.smart-details{display:grid;gap:12px;margin-top:22px}.smart-details>details{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px}.smart-details>details>summary{cursor:pointer;font-weight:650;font-size:14px}.smart-details>details>summary>span{float:right;font-size:12px;color:#64748b;font-weight:400}.smart-details .operations-overview{margin:14px 0 0;box-shadow:none}.daily-smart .daily-timeline article{display:flex;gap:16px;padding:12px 0;border-bottom:1px solid #eef2f6;flex-wrap:wrap;font-size:13px}.daily-smart .daily-pagination{flex-wrap:wrap;gap:10px}@media(max-width:1000px){.smart-pending-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.smart-work-head{display:none}.smart-work-row{grid-template-columns:1fr 1fr}.smart-row-actions{justify-content:flex-start}.smart-row-actions>strong{text-align:left}}@media(max-width:600px){.smart-day-cards,.smart-pending-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.smart-day-card,.smart-pending-card{padding:13px}.smart-day-card strong{font-size:28px}.smart-work{padding:14px}.smart-work-row{grid-template-columns:1fr;gap:12px}.smart-section-heading{align-items:flex-start}.smart-details>details>summary>span{float:none;display:block;margin:7px 0 0 17px}.daily-smart .daily-date-controls{width:100%;flex-wrap:wrap}.daily-smart .daily-date-controls label,.daily-smart .daily-date-controls input{width:100%}}.toolbar.payments-filters{display:grid;grid-template-columns:minmax(190px,1.6fr) repeat(2,minmax(145px,.7fr)) minmax(125px,.6fr);align-items:end;gap:12px;min-width:0}.payments-filters>label{display:flex;flex-direction:column;gap:6px;min-width:0;color:#526175;font-size:13px;font-weight:600}.payments-filters input,.payments-filters select{display:block;width:100%;max-width:100%;min-width:0;min-height:44px;border:1px solid #d9deea;border-radius:9px;background:#fff;padding:9px 11px;color:#25324a}.payments-filters input[type=date]{box-sizing:border-box}@media(max-width:1000px){.toolbar.payments-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.payments-filters .payments-search,.payments-filters .payments-status{grid-column:1/-1}.payments-filters input,.payments-filters select{font-size:16px}.medium-modal .payment-form{width:100%;max-width:100%;min-width:0}.medium-modal .payment-form label{min-width:0}.medium-modal .payment-form input[type=date]{display:block;width:100%;max-width:100%;min-width:0}}@media(max-width:480px){.toolbar.payments-filters{grid-template-columns:minmax(0,1fr)}.payments-filters>label{grid-column:1}}.payments-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.payments-tabs .btn{min-height:44px}.payments-dues-customer{margin-bottom:16px}.payments-dues-customer>label{display:flex;flex-direction:column;gap:6px;max-width:520px}.route-balance-panel{min-width:0}.route-balance-panel .line-editor-head p{margin:4px 0 0;color:#667085}.route-balance-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}.route-balance-summary>div{border:1px solid #e1e6ef;border-radius:12px;padding:13px 14px;background:#fff;min-width:0}.route-balance-summary span{display:block;color:#667085;font-size:12px;font-weight:700;margin-bottom:4px}.route-balance-summary strong{display:block;font-size:19px;color:#1f2937;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.route-balance-route-link{display:flex;flex-direction:column;align-items:flex-start;gap:2px;border:0;background:none;padding:0;color:#243c78;cursor:pointer;text-align:left;font:inherit}.route-balance-route-link:hover b{text-decoration:underline}.route-balance-route-link small{color:#667085;font-size:11px}.route-balance-detail-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.route-balance-print{min-width:0}.route-balance-print-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:14px}.route-balance-print-head h2{margin:0 0 4px;font-size:22px}.route-balance-print-head p{margin:0;color:#475467;font-weight:700}.route-balance-print-meta{text-align:right;white-space:nowrap}.route-balance-print-meta span{display:block;color:#667085;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.route-balance-table-wrap{overflow-x:auto;border:1px solid #e1e6ef;border-radius:12px;background:#fff}.route-balance-table{width:100%;border-collapse:collapse;min-width:720px}.route-balance-table th,.route-balance-table td{padding:11px 12px;border-bottom:1px solid #edf0f5;text-align:left;vertical-align:middle}.route-balance-table th{font-size:12px;color:#475467;background:#f8fafc}.route-balance-table td{font-size:13px}.route-balance-table td small{display:block;color:#667085;margin-top:2px}.route-balance-table tfoot th{background:#f8fafc;color:#1f2937;border-bottom:0}.route-balance-number{text-align:right!important;font-variant-numeric:tabular-nums;white-space:nowrap}.balance-credit{color:#176b4d!important}.route-balance-print-footer{margin-top:10px;color:#667085;font-size:11px;text-align:right}@media(max-width:760px){.route-balance-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.route-balance-summary>div{padding:11px}.route-balance-summary strong{font-size:16px}.route-balance-detail-actions{position:sticky;top:0;z-index:3;background:#fff;padding:8px 0}.route-balance-print-head{flex-direction:column;gap:8px}.route-balance-print-meta{text-align:left}}@media(max-width:430px){.route-balance-summary{grid-template-columns:minmax(0,1fr)}.route-balance-detail-actions .btn{flex:1;justify-content:center}}@media print{body.route-balance-print-mode *{visibility:hidden!important}body.route-balance-print-mode .route-balance-print,body.route-balance-print-mode .route-balance-print *{visibility:visible!important}body.route-balance-print-mode .route-balance-print{position:absolute;left:0;top:0;width:100%;padding:0;background:#fff;color:#111}body.route-balance-print-mode .route-balance-screen-only{display:none!important}body.route-balance-print-mode .route-balance-table-wrap{overflow:visible;border:0;border-radius:0}body.route-balance-print-mode .route-balance-table{min-width:0;font-size:10px}body.route-balance-print-mode .route-balance-table th,body.route-balance-print-mode .route-balance-table td{padding:7px 8px;border:1px solid #aaa}body.route-balance-print-mode .route-balance-table thead{display:table-header-group}body.route-balance-print-mode .route-balance-table tr{break-inside:avoid;page-break-inside:avoid}body.route-balance-print-mode .route-balance-summary{grid-template-columns:repeat(4,1fr);gap:6px}body.route-balance-print-mode .route-balance-summary>div{border:1px solid #aaa;border-radius:0;padding:8px}body.route-balance-print-mode .route-balance-print-footer{margin-top:8px}}.route-balance-worksheet-options{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 14px;padding:10px 12px;border:1px solid #e1e6ef;border-radius:10px;background:#f8fafc}.route-balance-worksheet-options>small{color:#667085;max-width:620px}.route-balance-checkbox{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:#344054;cursor:pointer}.route-balance-checkbox input{width:18px;height:18px;margin:0}.route-balance-collected-input{width:110px;max-width:100%;min-height:38px;border:1px solid #d0d5dd;border-radius:8px;padding:7px 9px;text-align:right;font:inherit;font-variant-numeric:tabular-nums}.route-balance-print-only{display:none}.route-balance-print-filter{display:block;margin-top:4px;color:#667085;font-weight:600}.route-balance-collected-cell{min-width:130px}@media(max-width:760px){.route-balance-worksheet-options{align-items:flex-start;flex-direction:column}.route-balance-collected-input{font-size:16px;min-height:44px}}@media print{body.route-balance-print-mode .route-balance-print-only{display:inline!important;visibility:visible!important}body.route-balance-print-mode .route-balance-collected-print{display:block!important;min-width:78px;text-align:center;font-weight:700}body.route-balance-print-mode .route-balance-collection-table{font-size:9.5px}body.route-balance-print-mode .route-balance-collected-cell{min-width:92px}}.customer-ledger-page{width:100%;max-width:1100px;margin:0 auto;min-width:0}.customer-ledger{min-width:0}.ledger-book{border:1px solid #d8cfbd;background:#fffdf7;color:#302d26}.ledger-book-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:20px;border-bottom:1px solid #d8cfbd}.ledger-book-heading h2{font-family:Georgia,serif;font-size:24px;margin:0}.ledger-book-heading p{margin:6px 0 0;font-size:12px;color:#716858}.ledger-closing{display:flex;flex-direction:column;gap:5px}.ledger-closing span{font-size:12px;color:#716858}.ledger-closing strong{font-size:20px;font-variant-numeric:tabular-nums}.ledger-explanation{margin:0;padding:12px 20px;color:#625c50;font-size:12px;line-height:1.6}.ledger-book .alert{margin:0 16px 12px}.ledger-scroll-hint{display:none}.ledger-book-scroll{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}.ledger-book-scroll:focus-visible{outline:2px solid var(--brand-red,#d90820);outline-offset:2px}.ledger-book-table{width:100%;min-width:730px;border-collapse:collapse;font-size:13px;background:transparent}.ledger-book-table caption{text-align:left;padding:10px 20px;font-size:12px;color:#716858;border-top:1px solid #d8cfbd}.ledger-book-table th,.ledger-book-table td{padding:14px 16px;border-bottom:1px solid #ddd8c9;border-right:1px solid #e3dccc;vertical-align:top;text-align:left;white-space:normal}.ledger-book-table th:last-child,.ledger-book-table td:last-child{border-right:0}.ledger-book-table thead th{background:#f0eadb;color:#514a3b;font-size:12px;border-top:1px solid #d8cfbd;border-bottom:2px solid #c4b79e}.ledger-book-table thead small{display:block;font-size:11px;font-weight:400;margin-top:5px}.ledger-book-table .ledger-date{width:110px;white-space:nowrap;font-size:12px}.ledger-book-table .ledger-particulars{min-width:220px;border-right:2px solid #d5a7a0;font-weight:400;background:transparent}.ledger-particulars strong,.ledger-particulars span,.ledger-particulars small{display:block;overflow-wrap:anywhere}.ledger-particulars strong{font-size:13px}.ledger-particulars span{margin-top:5px;color:#625c50;font-size:12px}.ledger-particulars small{margin-top:7px;font-size:11px;color:#716858}.ledger-book-table .ledger-number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.ledger-book-table .ledger-credit{color:#17643e}.ledger-book-table .ledger-running{font-weight:600}.ledger-book-table tbody tr:nth-child(2n){background:#faf7ee}.ledger-book-table tfoot th,.ledger-book-table tfoot td{border-top:3px double #9b8f77;border-bottom:0;background:#f0eadb;font-weight:700}@media(max-width:760px){.ledger-book-heading{padding:16px}.ledger-book-heading h2{font-size:21px}.ledger-explanation{padding:12px 16px}.ledger-scroll-hint{display:block;margin:0;padding:0 16px 12px;font-size:12px;color:#716858}.ledger-book-table th,.ledger-book-table td{padding:12px}}@media print{.ledger-book{border-color:#999;background:#fff}.ledger-book-scroll{overflow:visible}.ledger-book-table{min-width:0;font-size:10px}.ledger-book-table th,.ledger-book-table td{padding:8px}.ledger-book-table .ledger-particulars{min-width:0}.ledger-scroll-hint{display:none}.ledger-book-table thead{display:table-header-group}.ledger-book-table tr{break-inside:avoid}}.pick-print-screen{min-height:100vh;background:#e8edf2;padding:20px;color:#111;font-family:Arial,Helvetica,sans-serif}.pick-print-toolbar{width:210mm;max-width:100%;margin:0 auto 10px;display:flex;justify-content:flex-end;gap:8px}.pick-print-state{max-width:760px;margin:40px auto;background:#fff;border:1px solid #ccd3db;border-radius:8px;padding:16px}.pick-print-state.error{color:#b42318}.pick-print-sheet{width:210mm;min-height:297mm;margin:0 auto;background:#fff;box-sizing:border-box;padding:7mm 5mm 8mm;box-shadow:0 3px 18px #00000024;font-size:8.5px;line-height:1.18}.pick-print-head{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;margin-bottom:8px}.pick-company{font-weight:800;font-size:10px}.pick-title{text-align:center;font-weight:800;font-size:13px}.pick-title span{font-size:8px;margin-left:8px}.pick-meta{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:4px 14px;margin:4px 2px 7px}.pick-meta>div{display:grid;grid-template-columns:auto 1fr;gap:5px}.pick-meta .wide{grid-column:span 2}.pick-meta b{white-space:nowrap}.pick-order-table,.pick-summary-table{width:100%;border-collapse:collapse;table-layout:fixed}.pick-order-table th,.pick-order-table td,.pick-summary-table th,.pick-summary-table td{border:1px solid #555;padding:3px 4px;vertical-align:top}.pick-order-table thead th{background:#858585;color:#111;text-align:left;font-size:8px}.pick-order-table th:first-child{width:58%}.pick-order-table th:nth-child(2){width:9%}.pick-order-table th:nth-child(3){width:15%}.pick-order-table th:nth-child(4){width:8%}.pick-order-table th:nth-child(5){width:10%;text-align:right}.pick-customer-row td{font-size:7.8px;padding-top:4px;padding-bottom:4px}.pick-order-row td{background:#f1f1f1;font-size:7.8px}.pick-item-row td{border-top:0;border-bottom:0;height:13px}.pick-item-row:last-child td{border-bottom:1px solid #555}.num{text-align:right!important;white-space:nowrap}.pick-summary-block{margin-top:12px;break-before:auto}.pick-section-title{text-align:center;font-weight:800;font-size:11px;margin:5px 0}.pick-summary-table th{background:#8b8b8b;text-align:left}.pick-summary-table th:nth-child(1){width:14%}.pick-summary-table th:nth-child(2){width:49%}.pick-summary-table th:nth-child(n+3){text-align:right}.pick-summary-table tfoot th{background:#f0f0f0}.pick-totals{display:grid;grid-template-columns:1fr 1fr;gap:5px 20px;padding:8px 5px;font-size:9px}.pick-signatures{display:grid;grid-template-columns:1fr 1fr;gap:45px;margin:24px 30px 8px}.pick-signatures>div{display:grid;grid-template-columns:90px 1fr;gap:10px 8px;align-items:end}.pick-signatures i{border-bottom:1px solid #222;height:13px}.pick-footer{display:flex;justify-content:space-between;margin-top:14px;font-size:9px}@page{size:A4 portrait;margin:5mm}@media print{html,body,#root{margin:0!important;padding:0!important;background:#fff!important}.no-print{display:none!important}.pick-print-screen{padding:0;background:#fff;min-height:auto}.pick-print-sheet{width:100%;min-height:0;margin:0;padding:0;box-shadow:none}.pick-order-table thead,.pick-summary-table thead{display:table-header-group}.pick-customer-row,.pick-order-row,.pick-item-row,.pick-summary-table tr{break-inside:avoid;page-break-inside:avoid}.pick-summary-block{break-inside:auto}.pick-signatures,.pick-footer{break-inside:avoid}}@media(max-width:850px){.pick-print-screen{padding:8px;overflow-x:auto}.pick-print-sheet,.pick-print-toolbar{width:210mm}}.attendance-sheet{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:18px;margin:16px 0}.attendance-sheet h2{margin:0 0 6px;font-size:20px}.attendance-sheet fieldset{border:0;padding:0;margin:0;min-width:0}.attendance-counts,.attendance-options{display:flex;gap:8px;flex-wrap:wrap}.attendance-counts{margin:16px 0}.attendance-counts span{padding:8px 12px;border-radius:8px;background:#f1f5f9}.attendance-person{display:grid;grid-template-columns:minmax(130px,1fr) minmax(240px,3fr) minmax(120px,1fr);gap:12px;align-items:center;padding:14px 0;border-top:1px solid #e2e8f0}.attendance-save{position:sticky;bottom:0;background:#fff;padding:16px 0;display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #e2e8f0}@media(max-width:800px){.attendance-person{grid-template-columns:1fr}.attendance-options .btn{min-height:42px}.attendance-sheet .toolbar{flex-wrap:wrap}}.returnable-tabs{display:flex;gap:6px;overflow:auto;margin:0 0 14px;padding-bottom:2px}.returnable-tabs button{border:1px solid var(--border,#d9dee8);background:#fff;border-radius:999px;padding:8px 13px;white-space:nowrap;font-weight:650;cursor:pointer}.returnable-tabs button.active{background:#172554;color:#fff;border-color:#172554}.returnable-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.returnable-kpis>div{background:#fff;border:1px solid var(--border,#dde2ea);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:3px}.returnable-kpis span,.returnable-kpis small{color:#64748b}.returnable-kpis b{font-size:1.3rem}.returnable-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.returnable-balance-card{background:#fff;border:1px solid var(--border,#dde2ea);border-radius:14px;padding:14px}.returnable-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.returnable-card-head>div{display:flex;flex-direction:column}.returnable-card-head small{color:#64748b}.returnable-item-chips{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.returnable-item-chips span{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;padding:5px 9px;font-size:.82rem}.returnable-ops-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.returnable-op-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #eef2f7;padding:12px 0}.returnable-op-row>div{display:flex;flex-direction:column;gap:3px}.returnable-op-row small{color:#64748b}.returnable-op-row>div:last-child{align-items:flex-end}.empty-cell{text-align:center;color:#64748b;padding:24px!important}.returnable-movement-form select{min-height:42px}@media(max-width:760px){.returnable-kpis{grid-template-columns:1fr 1fr}.returnable-card-grid,.returnable-ops-grid{grid-template-columns:1fr}.returnable-tabs{margin-inline:-4px}.returnable-op-row{align-items:flex-start}.returnable-op-row>div:last-child{align-items:flex-end}.returnable-card-head strong{font-size:.95rem}}@media(max-width:420px){.returnable-kpis{grid-template-columns:1fr}.returnable-card-head{flex-direction:column}.returnable-card-head strong{font-size:1.05rem}}.returnable-inline-summary{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.returnable-inline-summary>span:not(.muted){background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:6px 9px;font-size:.82rem}.returnable-context-tags{display:flex;flex-wrap:wrap;gap:6px;padding:8px 0}.returnable-context-tags span{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;background:#eef2ff;color:#3730a3;font-size:11px;font-weight:800}.field-help{display:block;margin-top:5px;color:#64748b}.link-button{border:0;background:transparent;color:#1458a6;text-decoration:underline;font:inherit;font-weight:700;cursor:pointer;padding:0 2px}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#f5f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f5f7fb}button,input,textarea,select{font:inherit}button{cursor:pointer}.muted{color:#7c879b}.mobile-only{display:none!important}.app-shell{min-height:100vh;display:flex}.sidebar{width:258px;background:#101a2d;color:#fff;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:30}.brand{height:74px;display:flex;align-items:center;gap:12px;padding:0 20px;border-bottom:1px solid rgba(255,255,255,.08)}.brand strong{display:block;font-size:17px}.brand small{display:block;color:#a9b4c8;margin-top:2px}.brand-mark{width:36px;height:36px;border-radius:11px;background:#fff;color:#101a2d;display:grid;place-items:center;font-weight:800}.brand-mark.large{width:46px;height:46px;border-radius:14px;font-size:22px}.nav-list{padding:14px 10px;display:flex;flex-direction:column;gap:4px;overflow:auto}.nav-list a{display:flex;align-items:center;gap:11px;padding:10px 12px;color:#c3cbda;text-decoration:none;border-radius:10px;font-size:14px}.nav-list a:hover,.nav-list a.active{background:#1d2a42;color:#fff}.nav-chevron{margin-left:auto;opacity:.4}.sidebar-footer{margin-top:auto;padding:14px;border-top:1px solid rgba(255,255,255,.08)}.user-mini{display:flex;gap:10px;align-items:center;padding:6px}.user-mini strong,.user-mini small{display:block}.user-mini small{color:#a9b4c8;margin-top:2px}.avatar{width:34px;height:34px;border-radius:50%;background:#32415d;display:grid;place-items:center;font-weight:700}.logout-btn{margin-top:10px;width:100%;border:0;background:transparent;color:#c3cbda;padding:9px 8px;display:flex;align-items:center;gap:8px;border-radius:8px}.logout-btn:hover{background:#1d2a42;color:#fff}.content{margin-left:258px;min-width:0;flex:1}.topbar{height:74px;background:#fff;border-bottom:1px solid #e6e9ef;display:flex;align-items:center;padding:0 28px;gap:14px;position:sticky;top:0;z-index:10}.topbar>div:first-of-type{display:flex;gap:10px;align-items:baseline}.topbar strong{font-size:15px}.topbar span{font-size:13px}.top-user{margin-left:auto;font-size:13px;color:#606b80}.page-wrap{padding:28px;max-width:1500px;margin:0 auto}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px}.page-header h1{font-size:28px;letter-spacing:-.6px;margin:0}.page-header p{margin:7px 0 0;color:#788398;font-size:14px}.page-actions{display:flex;gap:10px}.btn{border:1px solid #d9deea;background:#fff;color:#25324a;padding:9px 14px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:650;font-size:14px}.btn.primary{background:#18243a;color:#fff;border-color:#18243a}.btn:disabled{opacity:.6}.btn.wide{width:100%;padding:11px}.stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.stat-card{background:#fff;border:1px solid #e4e8ef;border-radius:14px;padding:18px;box-shadow:0 1px 2px #11182708}.stat-icon{width:38px;height:38px;border-radius:10px;background:#eef2f7;display:grid;place-items:center;margin-bottom:16px}.stat-card span{font-size:13px;color:#768196;display:block}.stat-card strong{font-size:23px;display:block;margin-top:7px;letter-spacing:-.3px}.dashboard-grid{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin-top:16px}.panel{background:#fff;border:1px solid #e4e8ef;border-radius:14px;padding:20px}.panel h3{margin:0 0 8px}.panel p{line-height:1.55}.chip-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.chip{font-size:12px;background:#eef2f7;border-radius:999px;padding:6px 10px}.compact-list{margin:10px 0 0;padding-left:20px;color:#556176;line-height:1.9}.table-card{background:#fff;border:1px solid #e4e8ef;border-radius:14px;overflow:hidden}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:13px 15px;border-bottom:1px solid #edf0f4;font-size:13px;white-space:nowrap}th{font-size:11px;color:#7a8495;text-transform:uppercase;letter-spacing:.6px;background:#fafbfc}tbody tr:hover{background:#fafbfd}.empty{text-align:center;color:#8791a4;padding:32px}.cell-sub{display:block;color:#9099aa;margin-top:3px;font-size:11px}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:700}.badge.ok{background:#eaf7ef;color:#247447}.badge.neutral{background:#eef2f7;color:#58657a}.badge.muted-badge{background:#f3f4f6;color:#8a93a2}.toolbar{display:flex;justify-content:space-between;margin-bottom:14px}.search-box{min-width:340px;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dfe4ec;padding:0 11px;border-radius:10px}.search-box input{border:0;outline:0;width:100%;padding:10px 0;background:transparent}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0a122073;z-index:60;display:grid;place-items:center;padding:20px}.modal{width:min(620px,100%);background:#fff;border-radius:16px;box-shadow:0 24px 60px #0000002e;overflow:hidden}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #e8ebf0}.modal-head h2{font-size:19px;margin:0}.icon-btn{border:0;background:transparent;padding:6px;border-radius:8px}.icon-btn:hover{background:#eef2f7}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:20px}.form-grid label,.login-panel label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#556176;font-weight:600}.form-grid input,.form-grid textarea,.login-panel input{width:100%;border:1px solid #d9deea;border-radius:9px;padding:10px 11px;outline:none;background:#fff}.form-grid input:focus,.form-grid textarea:focus,.login-panel input:focus{border-color:#8e9bb0;box-shadow:0 0 0 3px #43557214}.form-grid textarea{min-height:80px;resize:vertical}.span-2{grid-column:1/-1}.checkbox{flex-direction:row!important;align-items:center}.checkbox input{width:auto}.form-actions{display:flex;justify-content:flex-end;gap:8px}.alert{padding:10px 12px;border-radius:9px;margin-bottom:14px;font-size:13px}.alert.error{background:#fff0f0;color:#9d2b2b;border:1px solid #f3cccc}.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#eef2f8,#f9fafc);padding:20px}.login-panel{width:min(420px,100%);background:#fff;border:1px solid #e1e5ec;border-radius:18px;padding:28px;box-shadow:0 20px 50px #232c3f14}.login-brand{display:flex;align-items:center;gap:13px;margin-bottom:26px}.login-brand h1{margin:0;font-size:24px}.login-brand p{margin:3px 0 0;color:#808a9e;font-size:13px}.login-panel form{display:flex;flex-direction:column;gap:15px}.demo-note{margin-top:17px;background:#f6f8fb;padding:10px;border-radius:9px;color:#707b8f;font-size:12px}.cards-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.record-card,.empty-card{background:#fff;border:1px solid #e4e8ef;border-radius:12px;padding:15px;display:flex;align-items:center;justify-content:space-between;gap:14px}.record-card strong,.record-card small{display:block}.record-card small{color:#8791a4;margin-top:4px}.empty-card{color:#8791a4}.splash{min-height:100vh;display:grid;place-items:center;color:#68758c}@media(max-width:1100px){.stat-grid{grid-template-columns:repeat(3,1fr)}.cards-list{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.mobile-only{display:inline-flex!important}.sidebar{transform:translate(-100%);transition:.2s}.sidebar.open{transform:translate(0)}.content{margin-left:0}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000004d;z-index:20}.topbar{padding:0 16px}.topbar>div:first-of-type span{display:none}.page-wrap{padding:18px}.page-header{flex-direction:column}.stat-grid{grid-template-columns:1fr 1fr}.dashboard-grid,.cards-list{grid-template-columns:1fr}.search-box{min-width:0;width:100%}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}}@media(max-width:440px){.stat-grid{grid-template-columns:1fr}}.btn.small{padding:6px 9px;font-size:12px}.form-grid select{width:100%;border:1px solid #d9deea;border-radius:9px;padding:10px 11px;outline:none;background:#fff}.form-grid select:focus{border-color:#8e9bb0;box-shadow:0 0 0 3px #43557214}.setup-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.setup-card{background:#fff;border:1px solid #e4e8ef;border-radius:14px;padding:18px;text-align:left;display:flex;flex-direction:column;gap:7px}.setup-card:hover{border-color:#aeb8c8;box-shadow:0 4px 18px #1118270d}.setup-card strong{font-size:15px;color:#202b3f}.setup-card span{font-size:12px;color:#7e899d}.record-line{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #eef1f5;font-size:13px}.record-line:last-child{border-bottom:0}.record-line span{color:#7a8495}.mobile-cards{display:grid;gap:12px}.visit-card{background:#fff;border:1px solid #e4e8ef;border-radius:14px;padding:16px;display:flex;justify-content:space-between;align-items:center}.visit-card strong,.visit-card span{display:block}.visit-card span{font-size:12px;color:#7e899d;margin-top:4px}@media(max-width:900px){.setup-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.setup-grid{grid-template-columns:1fr}}.row-actions{display:flex;gap:6px;align-items:center}.btn.danger{color:#a12d2d;border-color:#efcaca;background:#fff8f8}.btn.danger:hover{background:#fff0f0}.alert:not(.error){background:#f5f7fa;border:1px solid #dde3eb;color:#5c687c}.line-editor{border:1px solid #e4e8ef;border-radius:12px;padding:12px;background:#fafbfd}.line-editor-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.line-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px 0;border-top:1px solid #e8ecf2;align-items:end}.line-row:first-of-type{border-top:0}.line-remove{align-self:end}.detail-stack{padding:18px 20px;max-height:70vh;overflow:auto}.detail-stack h3{margin:18px 0 8px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#f7f9fc;border:1px solid #e7ebf1;padding:14px;border-radius:10px}.detail-grid span{color:#7c8799;font-size:12px}.detail-grid b{text-align:right}@media(max-width:1100px){.line-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.line-row{grid-template-columns:1fr}}.filter-bar{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:14px}.filter-actions{display:flex;align-items:center;gap:10px;font-size:13px}.loading-block{min-height:240px;display:flex;align-items:center;justify-content:center;gap:10px;color:#718096}.spinner{width:20px;height:20px;border:2px solid #dbe2ec;border-top-color:#26354e;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.confirm-card{width:min(420px,100%);background:#fff;border-radius:16px;padding:22px;box-shadow:0 24px 60px #0000002e}.confirm-card h3{margin:0 0 8px}.confirm-card p{margin:0 0 20px;color:#6d788b;line-height:1.5}.stat-grid.six{grid-template-columns:repeat(6,minmax(0,1fr))}.quick-actions{display:flex;gap:10px;flex-wrap:wrap}.quick-actions a,.portal-actions a{background:#f2f5f9;color:#243148;text-decoration:none;border:1px solid #e0e5ed;border-radius:9px;padding:9px 12px;font-size:13px;font-weight:650}.quick-actions a:hover,.portal-actions a:hover{background:#e9eef5}.portal-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.salesman-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.salesman-summary>div{background:#fff;border:1px solid #e4e8ef;border-radius:12px;padding:14px}.salesman-summary span{display:block;color:#7d8799;font-size:12px;margin-bottom:6px}.salesman-summary strong{font-size:22px}.salesman-summary a{display:flex;align-items:center;gap:7px;color:#26354e;text-decoration:none;font-weight:700;font-size:13px}.visit-card.rich{justify-content:flex-start;gap:13px}.visit-seq{width:34px;height:34px;border-radius:50%;background:#172238;color:#fff;display:grid;place-items:center;font-weight:800;flex:0 0 auto}.visit-main{flex:1}.visit-main span{display:flex!important;align-items:center;gap:5px}.visit-actions{display:flex;gap:6px;flex-wrap:wrap}.top-user{display:flex;flex-direction:column;align-items:flex-end}.top-user span{font-weight:650;color:#273349}.top-user small{font-size:10px;color:#8791a3;margin-top:1px}.print-actions{display:flex;justify-content:flex-end;margin-top:18px}@media print{.sidebar,.topbar,.page-header,.print-actions,.modal-backdrop:before{display:none!important}.content{margin:0!important}.page-wrap{padding:0!important}.modal-backdrop{position:static!important;background:#fff!important;padding:0!important}.modal{box-shadow:none!important;width:100%!important;max-width:none!important}.modal-head{display:none!important}.detail-stack{max-height:none!important;overflow:visible!important}}@media(max-width:1250px){.stat-grid.six{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.filter-bar{flex-direction:column;align-items:stretch}.salesman-summary{grid-template-columns:1fr}.visit-card.rich{align-items:flex-start}.visit-actions{flex-direction:column}.top-user{display:none}}@media(max-width:520px){.stat-grid.six{grid-template-columns:1fr 1fr}.portal-actions{display:grid;grid-template-columns:1fr 1fr}}.payment-form{width:min(760px,92vw)}.allocation-box{border:1px solid #e2e7ef;border-radius:12px;padding:12px;background:#fafbfd}.line-editor-head small{display:block;color:#7c8799;font-weight:400;margin-top:3px}.allocation-row{display:grid;grid-template-columns:minmax(0,1fr) 180px 36px;gap:10px;align-items:end;padding:10px 0;border-top:1px solid #e8ecf2}.allocation-row:first-of-type{border-top:0}.allocation-remove{margin-bottom:3px}.allocation-summary{display:flex;justify-content:flex-end;gap:22px;padding-top:12px;border-top:1px solid #dde4ed;font-size:13px}.allocation-summary .negative{color:#b42318}.order-form{padding:18px 20px;width:min(1050px,94vw)}.order-head-fields{display:grid;grid-template-columns:2fr 1.3fr 1fr;gap:12px;margin-bottom:16px}.order-head-fields label,.order-more label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#5c687b;font-weight:650}.order-head-fields select,.order-more select,.order-more input{border:1px solid #d9deea;border-radius:8px;padding:9px 10px;background:#fff}.order-items-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.order-items-head small{color:#8490a3;margin-left:8px}.order-grid-wrap{border:1px solid #e1e6ee;border-radius:12px;overflow:auto}.order-entry-table{min-width:720px;background:#fff}.order-entry-table th{background:#f7f9fc}.order-entry-table td{padding:8px}.order-entry-table select,.order-entry-table input{width:100%;border:1px solid #d9deea;border-radius:7px;padding:8px;background:#fff;min-height:36px}.order-entry-table td:first-child{min-width:300px}.order-entry-table td:nth-child(2){min-width:170px}.order-entry-table td:nth-child(3),.order-entry-table td:nth-child(4){width:100px}.item-row-actions{width:78px;white-space:nowrap}.danger-icon{color:#b42318}.order-more{margin-top:9px;border:1px solid #e5eaf1;background:#f8fafc;border-radius:10px;padding:12px}.order-more>strong{font-size:12px}.order-more-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px}.order-footer{margin-top:16px}.invoice-print-page{min-height:100vh;background:#eef1f5;padding:22px}.invoice-toolbar{width:min(1050px,100%);margin:0 auto 12px;display:flex;justify-content:space-between}.invoice-paper{width:min(1050px,100%);margin:0 auto;background:#fff;padding:28px;box-shadow:0 3px 18px #141e3214;color:#172033}.invoice-brand{display:flex;justify-content:space-between;gap:20px;border-bottom:2px solid #172033;padding-bottom:14px}.invoice-brand h1{margin:0 0 4px;font-size:22px}.invoice-brand p{margin:2px 0;color:#4f5a6c;font-size:11px}.invoice-title{text-align:right;display:flex;flex-direction:column;gap:6px}.invoice-title strong{font-size:22px}.invoice-title span{font-weight:700}.invoice-meta{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:12px 0;border-bottom:1px solid #dfe4eb}.invoice-meta>div{display:grid;grid-template-columns:120px 1fr;gap:5px;font-size:11px}.invoice-meta span{color:#6c778a}.invoice-parties{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:14px 0}.invoice-parties>div{border:1px solid #e1e6ee;border-radius:8px;padding:12px}.invoice-parties span{display:block;color:#758095;font-size:10px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:5px}.invoice-parties p{font-size:11px;line-height:1.5;margin:4px 0 0}.invoice-lines{font-size:10px}.invoice-lines th,.invoice-lines td{padding:8px 6px;white-space:normal}.invoice-lines td:nth-child(n+4){text-align:right}.invoice-lines small{display:block;color:#778296;margin-top:3px}.invoice-bottom{display:grid;grid-template-columns:1.5fr .8fr;gap:20px;margin-top:16px}.invoice-bottom h3{font-size:12px;margin:0 0 7px}.hsn-table{font-size:9px;border:1px solid #e1e6ee}.hsn-table th,.hsn-table td{padding:6px}.invoice-totals{border:1px solid #dfe4eb;border-radius:8px;padding:10px}.invoice-totals span{display:flex;justify-content:space-between;font-size:11px;padding:4px 0}.invoice-totals .grand{font-size:14px;border-top:1px solid #cfd6e1;margin-top:4px;padding-top:8px}.invoice-footer{display:flex;justify-content:space-between;margin-top:28px;padding-top:15px;border-top:1px solid #dfe4eb;font-size:10px;color:#6d788b}@media(max-width:760px){.allocation-row{grid-template-columns:1fr 120px 34px}.allocation-summary{flex-direction:column;gap:4px}.order-head-fields{grid-template-columns:1fr}.order-more-grid{grid-template-columns:1fr 1fr}.invoice-print-page{padding:8px}.invoice-paper{padding:14px}.invoice-bottom{grid-template-columns:1fr}.invoice-brand{flex-direction:column}.invoice-title{text-align:left}}@page{size:A4;margin:10mm}@media print{html,body,#root{background:#fff!important;margin:0!important;padding:0!important}.no-print{display:none!important}.invoice-print-page{padding:0!important;background:#fff!important;min-height:0!important}.invoice-paper{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;box-shadow:none!important}.invoice-lines,.hsn-table{page-break-inside:auto}.invoice-lines tr,.hsn-table tr,.invoice-bottom{page-break-inside:avoid}}.modal.wide-modal{width:min(1120px,96vw)}.modal.medium-modal{width:min(780px,94vw)}.customer-360{width:min(1180px,96vw);max-height:92vh}.customer-360 .modal-head small{display:block;color:#7d8799;margin-top:4px}.customer-360-body{padding:18px;overflow:auto;max-height:calc(92vh - 76px)}.customer-stats{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:16px}.customer-360-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.info-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.info-list span{display:flex;flex-direction:column;color:#7a8495;font-size:12px}.info-list b{color:#1f2b40;margin-top:4px;font-size:13px}.address-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.address-card{border:1px solid #e5e9f0;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:4px;font-size:13px}.address-card span{color:#6f7a8d}.history-table{overflow:auto}.history-head,.history-row{display:grid;grid-template-columns:110px 120px 1fr 130px 140px;gap:12px;align-items:center;padding:10px 8px;border-bottom:1px solid #edf0f4;font-size:12px}.history-head{font-weight:700;color:#7b8597;text-transform:uppercase;font-size:10px}.empty-inline{padding:14px 0;color:#8a94a6;font-size:13px}.structure-row{width:100%;border:0;border-bottom:1px solid #edf0f4;background:transparent;padding:12px 2px;display:flex;align-items:center;gap:11px;text-align:left}.structure-row:hover{background:#fafbfd}.structure-row>div:nth-child(2){flex:1}.structure-row b,.structure-row span{display:block}.structure-row span{font-size:12px;color:#7e899c;margin-top:3px}.structure-icon{width:34px;height:34px;border-radius:9px;background:#eef2f7;display:grid;place-items:center;color:#3a4962}.structure-detail{width:min(900px,95vw);max-height:90vh}.structure-detail-body{padding:18px;overflow:auto;max-height:calc(90vh - 72px);display:grid;gap:14px}.store-row{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid #edf0f4}.store-row>div:nth-child(2){flex:1}.store-row b,.store-row span{display:block}.store-row span{color:#7d8798;font-size:12px;margin-top:3px}.store-row>strong{font-size:12px;color:#536177}.salesman-profile{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.salesman-profile>div{background:#f7f9fc;border:1px solid #e7ebf1;border-radius:10px;padding:12px}.salesman-profile span,.salesman-profile b{display:block}.salesman-profile span{font-size:11px;color:#7c8798;margin-bottom:4px}@media(max-width:900px){.customer-stats{grid-template-columns:repeat(2,1fr)}.customer-360-grid,.address-grid{grid-template-columns:1fr}.history-head,.history-row{grid-template-columns:90px 100px minmax(150px,1fr) 110px 120px}.salesman-profile{grid-template-columns:1fr}}.stat-link{text-decoration:none;color:inherit;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}.stat-link:hover{transform:translateY(-2px);border-color:#c8d1df;box-shadow:0 8px 24px #1a263a12}.stat-link small{display:block;color:#7d8899;font-size:11px;margin-top:10px}.add-line-end{white-space:nowrap;margin-left:2px}.item-row-actions{min-width:145px}.billing-dispatch-form{padding:20px}.reserved-order-picker label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#556176;font-weight:600}.reserved-order-picker select,.address-change-grid select{width:100%;border:1px solid #d9deea;border-radius:9px;padding:10px 11px;background:#fff}.selected-order-card{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px;background:#f7f9fc;border:1px solid #e4e9f0;border-radius:12px;padding:14px}.selected-order-card span,.address-preview-grid span{display:block;color:#7d889a;font-size:11px;margin-bottom:4px}.selected-order-card strong{font-size:13px}.address-summary-card{margin-top:16px;border:1px solid #e3e8ef;border-radius:12px;padding:14px}.address-summary-head{display:flex;justify-content:space-between;gap:14px;align-items:center}.address-summary-head strong,.address-summary-head small{display:block}.address-summary-head small{color:#7e899b;margin-top:3px}.address-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.address-preview-grid>div{background:#fafbfd;border:1px solid #edf0f4;border-radius:9px;padding:11px}.address-preview-grid b{font-size:12px;line-height:1.45}.address-change-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.address-change-grid label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#556176;font-weight:600}@media(max-width:760px){.selected-order-card{grid-template-columns:1fr 1fr}.address-preview-grid,.address-change-grid{grid-template-columns:1fr}.item-row-actions{min-width:110px}}.order-entry-priced{min-width:1120px}.order-entry-priced th:nth-child(1){min-width:260px}.order-entry-priced th:nth-child(2){min-width:180px}.order-entry-priced .money-cell{white-space:nowrap;font-variant-numeric:tabular-nums}.order-entry-priced .money-cell small{display:block;color:#8a94a5;font-size:10px;margin-top:3px}.order-entry-priced .money-cell.strong{font-weight:800;color:#172238}.order-bottom{display:grid;grid-template-columns:1fr minmax(330px,420px);gap:22px;align-items:start;padding:16px 0 2px}.order-preview-note{padding:14px 16px;border:1px solid #e3e8f0;background:#f8fafc;border-radius:11px}.order-preview-note strong,.order-preview-note span{display:block}.order-preview-note span{margin-top:5px;color:#7b8698;font-size:12px;line-height:1.5}.order-totals{border:1px solid #dfe5ee;border-radius:12px;background:#fff;overflow:hidden}.order-totals>div{display:flex;justify-content:space-between;gap:20px;padding:8px 13px;border-bottom:1px solid #edf0f4;font-size:12px}.order-totals>div:last-child{border-bottom:0}.order-totals span{color:#68758a}.order-totals b{font-variant-numeric:tabular-nums}.order-totals .grand{padding:12px 13px;background:#f3f6fa;align-items:center}.order-totals .grand span{font-weight:700;color:#334157}.order-totals .grand strong{font-size:18px;color:#111c31}.order-preview-error{margin-top:12px;margin-bottom:0}@media(max-width:900px){.order-bottom{grid-template-columns:1fr}.order-totals{width:100%}}.gst-cell{min-width:150px}.free-value{display:block;color:#1b7a47!important;font-weight:700;margin-top:3px}.free-goods-total{background:#f0faf4}.free-goods-total span,.free-goods-total b{color:#176b40!important}.field-help{display:block;color:#7d8798;font-size:11px;margin-top:5px;line-height:1.4}.grn-line-row{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1100px){.grn-line-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.grn-line-row{grid-template-columns:1fr}}.wide-modal{width:min(1460px,97vw)!important;max-width:97vw!important}.order-grid-wrap{overflow:visible!important}.order-entry-table.order-entry-priced{min-width:0!important;width:100%!important;table-layout:fixed}.order-entry-priced th,.order-entry-priced td{padding-left:8px!important;padding-right:8px!important}.order-entry-priced th:nth-child(1){width:29%!important;min-width:0!important}.order-entry-priced th:nth-child(2){width:17%!important;min-width:0!important}.order-entry-priced td select,.order-entry-priced td input{width:100%;min-width:0}.item-row-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:4px!important;white-space:nowrap}.add-line-end{padding:6px 8px!important;flex:0 0 auto}.order-entry-priced .money-cell{font-size:12px}.order-entry-priced .money-cell small,.order-entry-priced .cell-sub{white-space:normal;line-height:1.2}.free-tax{display:block;color:#2f7d4a!important;font-size:10px;margin-top:3px}.free-goods-row.subtle{background:#f8fbf9!important;color:#3d6b4c}@media(max-width:1050px){.order-grid-wrap{overflow-x:auto!important}.order-entry-table.order-entry-priced{min-width:980px!important}}.wide-modal{width:min(1120px,96vw)!important;max-width:1120px!important}.order-form{width:100%}.order-entry-table.order-entry-priced{width:100%!important;table-layout:fixed}.order-entry-priced th:nth-child(1){width:27%!important}.order-entry-priced th:nth-child(2){width:17%!important}.order-entry-priced th:nth-child(3){width:6%!important}.order-entry-priced th:nth-child(4){width:6%!important}.order-entry-priced th:nth-child(7){width:9%!important}.order-entry-priced th:nth-child(9){width:16%!important}.order-bottom{grid-template-columns:minmax(0,1fr) 410px!important}.free-value{color:#2f7d4a!important;font-weight:700}.free-qty-note{color:#2f7d4a!important;font-weight:600;margin-top:7px!important}@media(max-width:1150px){.wide-modal{width:96vw!important;max-width:96vw!important}}@media(max-width:900px){.order-bottom{grid-template-columns:1fr!important}}.invoice-detail-line{display:grid;grid-template-columns:1fr auto auto;gap:18px;align-items:center;padding:10px 0;border-bottom:1px solid #edf0f4}.invoice-detail-line>div:first-child b,.invoice-detail-line>div:first-child span{display:block}.invoice-detail-line>div:first-child span{font-size:12px;color:#7b8698;margin-top:3px}.invoice-qty-breakdown{display:flex;gap:12px;font-size:11px;color:#6f7b8e}.invoice-qty-breakdown .free-qty{color:#2f7d4a}.paid-qty-note{display:block;color:#52637a!important;font-size:10px;margin-top:2px;font-weight:700}.order-entry-priced th:nth-child(3),.order-entry-priced td:nth-child(3){width:7%!important;min-width:64px!important;text-align:center}.order-entry-priced th:nth-child(4),.order-entry-priced td:nth-child(4){width:7%!important;min-width:64px!important;text-align:center}.order-entry-priced th:nth-child(5){width:10%!important}.order-entry-priced th:nth-child(6){width:10%!important}.order-entry-priced th:nth-child(7){width:10%!important}.order-entry-priced th:nth-child(8){width:9%!important}.order-entry-priced th:nth-child(9){width:14%!important}.order-entry-priced th{white-space:nowrap;vertical-align:middle}.order-entry-priced th:nth-child(3),.order-entry-priced th:nth-child(4){padding-left:10px!important;padding-right:10px!important}.order-entry-priced td:nth-child(3) input,.order-entry-priced td:nth-child(4) input{text-align:center;padding-left:6px;padding-right:6px}.mobile-order-items{display:none}.customer-order-modal{width:min(1100px,96vw)!important;max-width:1100px!important}.customer-order-form .order-head-fields{grid-template-columns:1.4fr 1fr!important}.customer-order-form .order-entry-priced th:nth-child(1){width:29%!important}.customer-order-form .order-entry-priced th:nth-child(2){width:20%!important}.customer-order-form .order-entry-priced th:nth-child(3){width:8%!important}.customer-order-form .order-entry-priced th:nth-child(4){width:10%!important}.customer-order-form .order-entry-priced th:nth-child(5){width:10%!important}.customer-order-form .order-entry-priced th:nth-child(6){width:10%!important}.customer-order-form .order-entry-priced th:nth-child(7){width:10%!important}.customer-order-form .order-entry-priced th:nth-child(8){width:13%!important}@media(max-width:760px){.wide-modal,.customer-order-modal{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}.modal-backdrop{padding:0!important;align-items:stretch!important}.modal{display:flex;flex-direction:column}.modal-body,.order-form{overflow-y:auto}.order-head-fields,.customer-order-form .order-head-fields{grid-template-columns:1fr!important;gap:10px!important}.order-grid-wrap{display:none!important}.mobile-order-items{display:flex!important;flex-direction:column;gap:12px}.mobile-order-card{border:1px solid #dfe5ee;border-radius:12px;background:#fff;padding:12px}.mobile-order-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.mobile-order-card-actions{display:flex;align-items:center;gap:5px}.mobile-order-card label{display:block;font-size:12px;color:#5f6d82;font-weight:600;margin-bottom:10px}.mobile-order-card label select,.mobile-order-card label input{width:100%;margin-top:5px}.mobile-qty-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mobile-price-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:4px}.mobile-price-grid>div{border:1px solid #edf0f4;background:#f8fafc;border-radius:9px;padding:9px 10px}.mobile-price-grid span,.mobile-price-grid b{display:block}.mobile-price-grid span{color:#7a8598;font-size:10px;margin-bottom:3px}.mobile-price-grid b{font-size:13px;color:#152036}.mobile-add-item{width:100%;margin-top:10px;justify-content:center}.order-bottom{grid-template-columns:1fr!important;gap:10px!important}.order-preview-note{padding:12px!important}.order-footer{position:sticky;bottom:0;background:#fff;padding-top:10px!important;padding-bottom:10px!important;z-index:3}.order-footer .btn{flex:1;justify-content:center}.content .table-wrap{overflow-x:auto}}@media(max-width:520px){.mobile-qty-grid,.mobile-price-grid{grid-template-columns:1fr 1fr}}.structure-row{display:flex;align-items:center;gap:8px;width:100%;border-bottom:1px solid #e8ecf2}.structure-row:last-child{border-bottom:0}.structure-main{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;flex:1;border:0;background:transparent;text-align:left;padding:12px 0;cursor:pointer}.structure-main>div:nth-child(2) b,.structure-main>div:nth-child(2) span{display:block}.structure-main>div:nth-child(2) span{font-size:12px;color:#77849a;margin-top:3px}.structure-row>.icon-btn{flex:0 0 auto}.portal-order-modal{width:min(980px,96vw)!important;max-width:980px!important}.portal-order-form{width:100%!important;max-width:none!important}.portal-order-form .order-head-fields{grid-template-columns:1.35fr 1fr!important}.portal-order-form .order-grid-wrap{overflow-x:auto!important}@media(max-width:1180px){.portal-order-modal{width:min(760px,96vw)!important;max-width:760px!important}.portal-order-form .order-grid-wrap{display:none!important}.portal-order-form .mobile-order-items{display:flex!important;flex-direction:column;gap:12px}.portal-order-form .order-head-fields,.portal-order-form .order-bottom{grid-template-columns:1fr!important}}@media(max-width:760px){.portal-order-modal{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}.portal-order-form{padding:12px!important}.portal-order-form .mobile-order-card{padding:11px!important}}.managed-assignment{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #edf0f4}.managed-assignment:last-child{border-bottom:0}.managed-assignment>div>b,.managed-assignment>div>span{display:block}.managed-assignment>div>span{font-size:12px;color:#77849a;margin-top:3px}.managed-store{display:flex;align-items:center;gap:10px;min-width:0}.panel-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.panel-title-row h3{margin:0}@media(max-width:700px){.managed-assignment,.panel-title-row{align-items:flex-start;flex-direction:column}.managed-assignment .btn,.panel-title-row .btn{width:100%;justify-content:center}}.route-overview{grid-template-columns:minmax(0,2fr) minmax(360px,1fr);gap:18px;align-items:start}.route-overview>.panel{padding:18px 20px;border-radius:14px}.route-overview>.panel>h3{margin:0 0 10px;font-size:16px;color:#152036}.structure-row{display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;border:0!important;border-bottom:1px solid #edf0f4!important;background:transparent!important;padding:0!important}.structure-row:last-child{border-bottom:0!important}.structure-main{-moz-appearance:none;appearance:none;-webkit-appearance:none;display:grid!important;grid-template-columns:38px minmax(0,1fr) 24px!important;align-items:center!important;gap:11px!important;flex:1!important;min-width:0!important;width:auto!important;border:0!important;outline:0!important;background:transparent!important;color:inherit!important;text-align:left!important;padding:13px 8px 13px 2px!important;margin:0!important;border-radius:9px!important;cursor:pointer!important;font:inherit!important}.structure-main:hover{background:#f7f9fc!important}.structure-main:focus-visible{box-shadow:0 0 0 2px #d6e1f0!important}.structure-main>div:nth-child(2){min-width:0}.structure-main>div:nth-child(2) b{display:block;font-size:14px;line-height:1.25;color:#142039;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.structure-main>div:nth-child(2) span{display:block;font-size:11px;line-height:1.35;color:#7a8699;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.structure-main>svg{justify-self:end;color:#65748a}.structure-icon{width:36px;height:36px;border-radius:10px;background:#f1f4f8;display:grid;place-items:center;color:#42536e}.structure-row>.icon-btn{-moz-appearance:none;appearance:none;-webkit-appearance:none;flex:0 0 34px!important;width:34px!important;height:34px!important;border:1px solid transparent!important;background:transparent!important;color:#53637b!important;border-radius:8px!important;display:grid!important;place-items:center!important;padding:0!important;margin:0 0 0 3px!important;cursor:pointer!important}.structure-row>.icon-btn:hover{background:#f1f4f8!important;border-color:#e1e6ee!important;color:#1e2f4a!important}.setup-grid{gap:14px!important}.setup-card{border:1px solid #dde4ee!important;border-radius:13px!important;background:#fff!important;box-shadow:none!important;padding:17px 18px!important;text-align:left!important}.setup-card:hover{border-color:#c8d3e2!important;background:#fbfcfe!important}.setup-card strong{font-size:14px!important;color:#162238!important}.setup-card span{font-size:11px!important;color:#7a869a!important;margin-top:7px!important}@media(max-width:1050px){.route-overview{grid-template-columns:1fr!important}}@media(max-width:700px){.route-overview>.panel{padding:14px}.structure-main{grid-template-columns:34px minmax(0,1fr) 22px!important;padding:11px 4px!important}.structure-icon{width:32px;height:32px}.structure-row>.icon-btn{width:32px!important;height:32px!important;flex-basis:32px!important}}.structure-detail-backdrop{z-index:1000!important}.elevated-modal-backdrop{z-index:1200!important}.elevated-modal-backdrop .modal,.assignment-edit-modal{position:relative;z-index:1201!important}.ops-shortcuts{display:flex!important;align-items:center;gap:8px;margin-left:24px}.ops-shortcut{position:relative;display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #e1e6ef;border-radius:9px;color:#344158;background:#fff;font-size:12px;font-weight:700}.ops-shortcut:hover,.ops-shortcut.active{background:#f4f7fb;border-color:#cfd7e5}.ops-shortcut.has-alert{border-color:#f2b6a7;background:#fff8f5;box-shadow:0 0 0 2px #e15b380f}.ops-badge,.inline-alert-badge{min-width:19px;height:19px;padding:0 5px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#d94b2b;color:#fff;font-size:10px;line-height:1;font-weight:800}.inline-alert-badge.light{background:#fff;color:#18243a}.attention-btn{border-color:#e08b72!important;background:#fff8f5!important;color:#a83e24!important;box-shadow:0 0 0 3px #e08b721a;animation:attentionPulse 2.2s ease-in-out infinite}.btn.primary.attention-btn{background:#18243a!important;color:#fff!important;border-color:#18243a!important}@keyframes attentionPulse{0%,to{box-shadow:0 0 #d94b2b14}50%{box-shadow:0 0 0 5px #d94b2b1f}}@media(max-width:980px){.ops-shortcuts span{display:none}.ops-shortcuts{margin-left:8px}.ops-shortcut{padding:8px}}@media(max-width:760px){.ops-shortcuts{margin-left:auto}.top-user,.ops-shortcut span{display:none}}.ops-shortcut.has-alert{border-color:#9bd8b7!important;background:#f2fbf6!important;box-shadow:0 0 0 2px #1f8a550f!important}.ops-badge,.inline-alert-badge{background:#238a58!important;color:#fff!important}.attention-btn{border-color:#8fd0ac!important;background:#f2fbf6!important;color:#176a43!important;box-shadow:0 0 0 3px #1f8a551a!important;animation:greenAttentionPulse 2.2s ease-in-out infinite!important}.btn.primary.attention-btn{background:#1c7c50!important;color:#fff!important;border-color:#1c7c50!important}@keyframes greenAttentionPulse{0%,to{box-shadow:0 0 #1f8a5514}50%{box-shadow:0 0 0 5px #1f8a5524}}.packaging-toolbar-card{display:flex;align-items:end;gap:22px;padding:18px 20px;border:1px solid #dfe5ee;border-radius:14px;background:#fff;margin-bottom:16px}.packaging-picker{width:min(520px,100%)}.packaging-selected-product{display:flex;align-items:center;gap:12px;padding-left:20px;border-left:1px solid #e7ebf1;min-height:58px}.packaging-selected-product span,.packaging-selected-product strong,.packaging-selected-product small{display:block}.packaging-selected-product span,.packaging-selected-product small{font-size:11px;color:#748197}.packaging-selected-product strong{margin:3px 0;color:#142039}.packaging-product-icon{width:40px;height:40px;border-radius:10px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;color:#4b5e78}.packaging-name-cell b,.packaging-name-cell small{display:block}.packaging-name-cell small{font-size:10px;color:#8792a4;margin-top:3px}.empty-state-card{min-height:190px;border:1px dashed #cfd7e4;border-radius:14px;background:#fbfcfe;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#78859a;gap:7px}.empty-state-card strong{color:#26344d}.system-control-panel{display:flex;align-items:center;gap:14px;margin-top:20px;padding:16px 18px;background:#fff;border:1px solid #dfe5ee;border-radius:14px}.system-control-icon{width:42px;height:42px;border-radius:11px;background:#edf7f1;color:#28744c;display:flex;align-items:center;justify-content:center}.system-control-copy{flex:1}.system-control-copy strong,.system-control-copy span{display:block}.system-control-copy span{font-size:12px;color:#718097;margin-top:4px;max-width:780px;line-height:1.45}.toggle-control{border:0;background:transparent;display:flex;align-items:center;gap:8px;font-weight:800;color:#6a7689;cursor:pointer}.toggle-control span{position:relative;width:44px;height:24px;border-radius:99px;background:#d8dee8;transition:.2s}.toggle-control span:after{content:"";position:absolute;width:18px;height:18px;border-radius:50%;background:#fff;top:3px;left:3px;box-shadow:0 1px 3px #00000029;transition:.2s}.toggle-control.on{color:#1b7047}.toggle-control.on span{background:#42a873}.toggle-control.on span:after{transform:translate(20px)}.compact-check{display:flex;align-items:center;gap:6px;font-size:12px;color:#5f6d82;white-space:nowrap}.compact-check input{width:auto}.clickable-stat{font-family:inherit;text-align:left;cursor:pointer;position:relative}.clickable-stat:hover{transform:translateY(-1px);border-color:#c7d2e2;box-shadow:0 5px 16px #1f2d460f}.clickable-stat small{position:absolute;right:14px;bottom:12px;color:#8090a5;font-size:10px}.quick-panel{text-align:left;font-family:inherit;cursor:pointer}.quick-panel:hover{border-color:#c7d2e2;background:#fbfcfe}@media(max-width:760px){.packaging-toolbar-card{align-items:stretch;flex-direction:column}.packaging-selected-product{padding-left:0;padding-top:12px;border-left:0;border-top:1px solid #e7ebf1}.system-control-panel{align-items:flex-start;flex-wrap:wrap}.toggle-control{margin-left:56px}}.search-select-field{position:relative;min-width:0}.search-select-field .field-label{display:block;font-size:12px;font-weight:600;color:#5f6d82;margin-bottom:6px}.search-select-trigger{width:100%;min-height:38px;border:1px solid #d8e0eb;border-radius:9px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 11px;text-align:left;color:#162238;cursor:pointer}.search-select-trigger .placeholder{color:#8a95a6}.search-select-menu{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:1400;background:#fff;border:1px solid #d8e0eb;border-radius:10px;box-shadow:0 14px 35px #141f3029;overflow:hidden}.search-select-search{display:flex;align-items:center;gap:7px;padding:8px;border-bottom:1px solid #edf0f4;background:#fafbfd}.search-select-search input{border:0!important;outline:0;width:100%;padding:6px!important;min-width:0;background:transparent}.search-select-search button{border:0;background:transparent;padding:3px;cursor:pointer}.search-select-options{max-height:270px;overflow-y:auto;overscroll-behavior:contain}.search-select-option{width:100%;border:0;background:#fff;padding:9px 11px;display:block;text-align:left;cursor:pointer;border-bottom:1px solid #f1f3f6}.search-select-option:hover,.search-select-option.selected{background:#f3f7fb}.search-select-option span,.search-select-option small{display:block}.search-select-option span{font-size:12px;font-weight:600;color:#172238}.search-select-option small{font-size:10px;color:#7d899a;margin-top:2px}.search-select-empty{padding:14px;color:#7d899a;font-size:12px;text-align:center}.order-entry-table .search-select-field{position:relative}.order-entry-table .search-select-menu,.mobile-order-card .search-select-menu{top:calc(100% + 4px);bottom:auto}.product-packaging-toolbar{display:grid;grid-template-columns:minmax(320px,560px) auto;gap:12px;align-items:end}@media(max-width:760px){.product-packaging-toolbar{grid-template-columns:1fr}.search-select-menu{position:absolute}}.packaging-toolbar-card{align-items:start!important}.packaging-picker{position:relative;min-width:0}.packaging-picker .search-select-trigger{min-height:42px}.packaging-picker .search-select-menu{top:calc(100% + 6px);z-index:1500}.packaging-picker .search-select-options{max-height:300px}.packaging-picker .search-select-option{padding-top:10px;padding-bottom:10px}@media(max-width:760px){.packaging-toolbar-card{grid-template-columns:1fr!important}}.invoice-print-screen{background:#e9edf2;min-height:100vh;padding:24px;color:#111;font-family:Arial,Helvetica,sans-serif}.invoice-print-toolbar{max-width:820px;margin:0 auto 12px;display:flex;justify-content:flex-end;gap:8px}.invoice-load-state{margin:40px auto;max-width:720px;padding:16px;border:1px solid #dbe2ea;border-radius:10px;background:#fff}.invoice-load-state.error{color:#b42318}.tax-invoice-sheet{width:794px;min-height:1123px;margin:0 auto;background:#fff;padding:28px 38px 34px;box-sizing:border-box;box-shadow:0 3px 18px #0000001f;font-size:11px;line-height:1.3}.invoice-kicker{display:flex;align-items:center;gap:8px;margin-bottom:12px}.invoice-kicker strong{font-size:11px}.invoice-kicker span{border:1px solid #aeb5be;color:#727b87;padding:1px 5px;font-size:9px}.invoice-company-head{display:grid;grid-template-columns:108px 1fr;gap:16px;align-items:center;padding-bottom:10px;border-bottom:7px solid #111}.invoice-logo-box{height:108px;border:1px solid #b9bec5;display:flex;align-items:center;justify-content:center;overflow:hidden}.invoice-logo-box img{width:100%;height:100%;object-fit:contain}.invoice-logo-fallback{width:76px;height:76px;border:4px solid #111;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:26px}.invoice-company-copy h1{margin:0 0 4px;font-size:25px;letter-spacing:.2px}.invoice-company-copy p{margin:0 0 6px;font-size:10px}.company-tax-grid{display:grid;grid-template-columns:1fr 1.1fr 1.2fr;gap:8px;font-size:10px}.invoice-meta-strip{display:grid;grid-template-columns:1fr 1.35fr 1fr;background:#e8e8e8;margin:0 0 10px;padding:11px 12px;font-size:11px}.invoice-meta-strip>div:nth-child(2){text-align:center}.invoice-meta-strip>div:last-child{text-align:right}.party-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px;padding:0 0 12px;border-bottom:2px solid #222}.party-grid h3,.info-block h3,.payment-qr h3{font-size:10px;margin:0 0 4px}.party-grid strong{display:block;font-size:12px;margin-bottom:3px}.party-grid p,.info-block p,.payment-qr p{margin:2px 0;font-size:10px}.invoice-items{width:100%;border-collapse:collapse;margin-top:7px}.invoice-items th{font-size:10px;padding:8px 7px;text-align:left;border-bottom:2px solid #111}.invoice-items td{padding:8px 7px;border-bottom:1px solid #d6d6d6;vertical-align:top}.invoice-items td strong{font-weight:500}.invoice-items small{display:block;font-size:8px;color:#646464}.invoice-items .num{text-align:right;white-space:nowrap}.invoice-items tfoot th{border-top:2px solid #111;border-bottom:2px solid #111;padding:7px;font-size:10px}.invoice-lower-grid{display:grid;grid-template-columns:1.22fr .9fr;gap:30px;padding-top:9px}.invoice-left-info{display:flex;flex-direction:column;gap:12px}.payment-qr{display:grid;grid-template-columns:1fr 72px;gap:10px;align-items:start}.payment-qr img{width:72px;height:72px;object-fit:contain}.terms ol{padding-left:15px;margin:3px 0 0;font-size:9px}.invoice-tax-summary{width:100%;border-collapse:collapse;font-size:10px}.invoice-tax-summary td{padding:2px 3px}.invoice-tax-summary td:last-child{text-align:right}.invoice-tax-summary .grand td{font-weight:700;border-top:1px solid #111;border-bottom:1px solid #111;padding-top:5px;padding-bottom:5px}.amount-words{text-align:right;margin-top:10px;font-size:9px}.amount-words span,.amount-words strong{display:block}.amount-words strong{margin-top:3px;font-weight:500}.signature-box{margin-top:17px;text-align:right}.signature-space{height:84px;border:1px solid #555;margin-bottom:5px}.signature-box strong{font-size:9px}.signature-box.receiver{margin-top:25px}@page{size:A4;margin:0}@media print{html,body,#root{margin:0!important;padding:0!important;background:#fff!important}.no-print,.app-shell>header,.sidebar,.topbar{display:none!important}.invoice-print-screen{padding:0;background:#fff;min-height:auto}.tax-invoice-sheet{width:210mm;min-height:297mm;margin:0;box-shadow:none;padding:10mm 12mm;page-break-after:avoid}}@media(max-width:840px){.invoice-print-screen{padding:8px;overflow-x:auto}}.invoice-setup-card{position:relative}.setup-card-icon{width:30px;height:30px;border-radius:8px;background:#edf7f1;color:#28744c;display:flex;align-items:center;justify-content:center;margin-bottom:8px}.form-section-title{padding:2px 0 8px;border-bottom:1px solid #e7ebf1}.form-section-title strong,.form-section-title span{display:block}.form-section-title strong{font-size:14px;color:#172238}.form-section-title span{margin-top:3px;font-size:11px;color:#7b8799;font-weight:400}.qr-upload-field{display:grid;grid-template-columns:1fr 150px;gap:16px;padding:14px;border:1px solid #e0e6ef;border-radius:12px;background:#f8fafc}.qr-upload-copy strong,.qr-upload-copy span{display:block}.qr-upload-copy strong{font-size:13px;color:#172238}.qr-upload-copy span{font-size:11px;line-height:1.45;color:#758197;margin:4px 0 10px}.qr-upload-copy input[type=file]{padding:8px;background:#fff}.qr-upload-preview{min-height:120px;border:1px dashed #cdd6e2;border-radius:10px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:8px;color:#8a96a8;font-size:11px;text-align:center}.qr-upload-preview img{width:92px;height:92px;object-fit:contain}@media(max-width:620px){.qr-upload-field{grid-template-columns:1fr}.qr-upload-preview{min-height:110px}}.company-invoice-modal{width:min(920px,96vw);max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.company-invoice-modal>form{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:4px}.company-invoice-modal>form::-webkit-scrollbar{width:8px}.company-invoice-modal>form::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:8px}@media(max-width:760px){.company-invoice-modal{width:96vw;max-height:94vh}}.quantity-equivalent{display:block;margin-top:4px;font-size:10px;font-weight:600;color:#25643b;white-space:normal}.quantity-equivalent.free-equivalent{color:#5d6b7d}.order-detail-line small{display:block;margin-top:3px;color:#657286;font-size:10px}.billing-order-lines{margin-top:10px;border:1px solid #e3e8ef;border-radius:10px;overflow:hidden}.billing-order-lines>strong{display:block;padding:8px 10px;background:#f7f9fc;font-size:11px}.billing-order-lines>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:8px 10px;border-top:1px solid #edf0f4;font-size:11px}.billing-order-lines>div small{grid-column:1/-1;color:#687589}.invoice-items td.num small{margin-top:2px;white-space:normal;color:#58667a}.new-order-page{max-width:1500px;margin:0 auto;padding-bottom:92px}.new-order-form{display:flex;flex-direction:column;gap:16px}.new-order-section{background:#fff;border:1px solid #e3e8ef;border-radius:14px;padding:18px 20px}.new-order-header-card{padding-bottom:16px}.new-order-header-card .order-head-fields{margin:0}.new-order-items-card{overflow:visible}.new-order-items-card .order-grid-wrap{border:1px solid #e6eaf0;border-radius:10px;overflow:visible}.new-order-items-card .order-entry-table{margin:0}.new-order-items-card .search-select-menu{z-index:1600}.new-order-sticky-actions{position:sticky;bottom:12px;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 16px;margin-top:4px;background:#fffffff7;border:1px solid #dce3eb;border-radius:12px;box-shadow:0 8px 26px #19263a1f;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.new-order-action-copy{display:flex;flex-direction:column;gap:2px}.new-order-action-copy strong{font-size:12px;color:#172238}.new-order-action-copy span{font-size:10px;color:#788599}.new-order-sticky-actions .order-footer{margin:0;padding:0;border:0;display:flex;gap:8px}.new-order-page .order-bottom{margin-top:16px}.new-order-page .order-more{margin:12px 0}@media(max-width:900px){.new-order-page{padding-bottom:110px}.new-order-section{padding:14px}.new-order-sticky-actions{bottom:8px;align-items:stretch;flex-direction:column;gap:8px}.new-order-sticky-actions .order-footer{width:100%}.new-order-sticky-actions .order-footer .btn{flex:1;justify-content:center}}.pricing-help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}.pricing-help-card{border:1px solid #e1e7ef;border-radius:12px;background:#fff;padding:14px;display:flex;flex-direction:column;gap:5px}.pricing-help-card strong{font-size:12px;color:#172238}.pricing-help-card span{font-size:10px;color:#738096;line-height:1.45}.price-rate-panel{margin-top:18px}.pricing-rate-note{padding:10px 12px;border:1px solid #dce5ef;border-radius:9px;background:#f8fafc;color:#59677c;font-size:10px;line-height:1.45}.customer-pricing-summary{display:grid;grid-template-columns:1fr 2fr auto;gap:12px;align-items:center;padding:12px;border:1px solid #e1e7ef;border-radius:10px;background:#f8fafc}.customer-pricing-summary>div span,.customer-pricing-summary>div strong{display:block}.customer-pricing-summary>div span{font-size:9px;text-transform:uppercase;color:#7c8899;margin-bottom:3px}.customer-pricing-summary>div strong{font-size:11px}.rate-explainer b{display:block}.rate-explainer .price-source{display:inline-block;width:max-content;margin-top:3px;padding:2px 5px;border-radius:999px;background:#eef6ef;color:#316c3c;font-weight:600}.correction-warning{border:1px solid #e2b95e;background:#fffaf0;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:6px}.correction-warning>strong{font-size:12px}.correction-warning>span{font-size:10px;color:#6d6045}.correction-warning label{margin-top:5px}@media(max-width:850px){.pricing-help-grid,.customer-pricing-summary{grid-template-columns:1fr}}.grn-correction-modal,.grn-entry-modal{max-height:92vh;display:flex;flex-direction:column;overflow:hidden}.grn-correction-modal>form,.grn-entry-modal>form{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:5px}.grn-correction-modal>form::-webkit-scrollbar,.grn-entry-modal>form::-webkit-scrollbar{width:8px}.grn-correction-modal>form::-webkit-scrollbar-thumb,.grn-entry-modal>form::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:8px}.grn-correction-modal .form-actions,.grn-entry-modal .form-actions{position:sticky;bottom:0;z-index:5;background:#fff;padding-top:12px;border-top:1px solid #edf0f4}@media(max-width:760px){.grn-correction-modal,.grn-entry-modal{max-height:94vh}}.bulk-case-modal{max-height:92vh;display:flex;flex-direction:column;overflow:hidden}.bulk-case-form{display:flex;flex-direction:column;gap:12px;min-height:0;flex:1;overflow:hidden}.bulk-case-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;gap:14px;align-items:end}.bulk-case-search{max-width:420px}.bulk-case-table-wrap{overflow:auto;min-height:0;flex:1;border:1px solid #e3e8ef;border-radius:10px}.bulk-case-table{width:100%;border-collapse:collapse}.bulk-case-table th{position:sticky;top:0;background:#f7f9fc;z-index:2;text-align:left;font-size:10px;color:#6f7d91;padding:9px 10px;border-bottom:1px solid #e3e8ef}.bulk-case-table td{padding:8px 10px;border-bottom:1px solid #eef1f5;font-size:11px}.bulk-case-table input{width:130px}.bulk-case-form>.form-actions{margin:0;padding-top:10px;border-top:1px solid #edf0f4;flex:0 0 auto}@media(max-width:800px){.bulk-case-toolbar{grid-template-columns:1fr}.bulk-case-table input{width:100px}}.pricing-control-page{max-width:1600px;margin:0 auto}.pricing-control-guide{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px}.pricing-control-guide>div{background:#fff;border:1px solid #e2e7ef;border-radius:11px;padding:12px;display:flex;flex-direction:column;gap:4px}.pricing-control-guide strong{font-size:11px;color:#172238}.pricing-control-guide span{font-size:9px;color:#748196;line-height:1.45}.pricing-control-toolbar{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:14px}.pricing-control-toolbar .search-box{min-width:280px;flex:1}.pricing-date{font-size:10px;font-weight:600;color:#657287}.pricing-date input{display:block;margin-top:5px}.pricing-control-table-wrap{overflow:auto;border:1px solid #dfe5ed;border-radius:12px;background:#fff}.pricing-control-table{width:100%;min-width:1180px;border-collapse:collapse}.pricing-control-table th{position:sticky;top:0;z-index:4;background:#f7f9fc;border-bottom:1px solid #dfe5ed;padding:9px 10px;text-align:left;font-size:9px;color:#69768a;white-space:nowrap}.pricing-control-table th small{display:block;font-size:8px;color:#37824a;margin-top:2px}.pricing-control-table td{padding:9px 10px;border-bottom:1px solid #eef1f5;vertical-align:top;font-size:10px}.pricing-control-table td>b,.pricing-control-table td>span,.pricing-control-table td>small{display:block}.pricing-control-table td>b{font-size:11px}.pricing-control-table td>span{margin-top:2px}.pricing-control-table td>small{margin-top:3px;color:#8792a3}.cost-review-row{background:#fffdf5}.cost-change{display:inline-flex!important;align-items:center;gap:4px;width:max-content;padding:3px 6px;border-radius:999px;font-weight:700}.cost-change.up{background:#fff1da;color:#955d0b}.cost-change.down{background:#edf8ef;color:#31723e}.pricing-rate-cell input{width:115px;min-width:115px;padding:7px 8px}.pricing-rate-cell small{display:block;margin-top:3px;color:#65806b}.pricing-rate-cell small.negative-margin{color:#b42318}.pricing-missing{display:flex!important;align-items:center;gap:5px;color:#a15d08}.override-link{display:inline-flex;align-items:center;gap:4px;font-size:9px;font-weight:600;white-space:nowrap}@media(max-width:1000px){.pricing-control-guide{grid-template-columns:1fr 1fr}}@media(max-width:650px){.pricing-control-guide{grid-template-columns:1fr}.pricing-control-toolbar .search-box{min-width:100%}}.order-view-modal{max-height:92vh;display:flex;flex-direction:column;overflow:hidden}.order-view-modal>.order-view{overflow:auto;min-height:0;padding-right:3px}.order-view{display:flex;flex-direction:column;gap:15px}.order-view-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.order-view-summary-card{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid #e3e8ef;border-radius:11px;background:#f9fafc}.order-view-summary-card>svg{margin-top:2px;color:#627089;flex:0 0 auto}.order-view-summary-card div{min-width:0;display:flex;flex-direction:column;gap:3px}.order-view-summary-card span{font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#7b8798}.order-view-summary-card strong{font-size:12px;color:#1d2939;overflow:hidden;text-overflow:ellipsis}.order-view-summary-card small{font-size:9px;color:#7b8798}.order-view-summary-card.total-card{background:#f5faf6}.order-reservation-warning{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid #e8c36a;background:#fffaf0;border-radius:10px}.order-reservation-warning svg{flex:0 0 auto;color:#8a681e}.order-reservation-warning div{display:flex;flex-direction:column;gap:3px}.order-reservation-warning strong{font-size:11px}.order-reservation-warning span{font-size:10px;color:#6f6040}.order-view-section-head{display:flex;justify-content:space-between;align-items:end}.order-view-section-head h3{margin:0;font-size:13px}.order-view-section-head span{font-size:9px;color:#7b8798}.order-view-table-wrap{border:1px solid #e3e8ef;border-radius:10px;overflow:auto}.order-view-table{width:100%;border-collapse:collapse;min-width:850px}.order-view-table th{padding:9px 10px;background:#f7f9fc;text-align:left;font-size:9px;text-transform:uppercase;color:#748196;border-bottom:1px solid #e3e8ef}.order-view-table td{padding:10px;border-bottom:1px solid #edf0f4;vertical-align:top;font-size:10px}.order-view-table tbody tr:last-child td{border-bottom:0}.order-view-product,.order-view-qty,.order-view-money,.order-view-tax{display:flex;flex-direction:column;gap:3px}.order-view-product b,.order-view-qty b,.order-view-money b,.order-view-tax b{font-size:11px;color:#1f2937}.order-view-product span,.order-view-qty span,.order-view-money span,.order-view-tax span{font-size:9px;color:#6f7c90}.order-view-product small,.order-view-qty small,.order-view-money small{font-size:9px;color:#7b8798}.order-view-line-total{font-weight:700;font-size:11px!important;white-space:nowrap}.order-reservation-chip{display:inline-flex;flex-direction:column;gap:2px;padding:5px 7px;border-radius:8px;white-space:nowrap}.order-reservation-chip.ok{background:#eef8f0;color:#2c6c38}.order-reservation-chip.pending{background:#fff4e8;color:#8a5a15}.order-reservation-chip b{font-size:9px}.order-reservation-chip span{font-size:8px}.order-view-footer{display:grid;grid-template-columns:1fr minmax(260px,340px);gap:22px;padding-top:2px}.order-view-notes{display:flex;flex-direction:column;gap:5px;padding:10px 12px;border:1px solid #edf0f4;border-radius:9px;height:max-content}.order-view-notes span{font-size:9px;text-transform:uppercase;color:#7b8798}.order-view-notes strong{font-size:10px;font-weight:500}.order-view-totals{display:flex;flex-direction:column}.order-view-totals>div{display:flex;justify-content:space-between;gap:15px;padding:5px 2px;font-size:10px}.order-view-totals>div span{color:#6f7c90}.order-view-totals>div b{color:#263244}.order-view-totals .grand{margin-top:4px;padding-top:9px;border-top:1px solid #dce2e9;font-size:12px}@media(max-width:900px){.order-view-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.order-view-footer{grid-template-columns:1fr}}@media(max-width:560px){.order-view-summary{grid-template-columns:1fr}}.order-reservation-info{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid #cddfed;background:#f4f9fd;border-radius:10px}.order-reservation-info svg{flex:0 0 auto;color:#426b8c}.order-reservation-info div{display:flex;flex-direction:column;gap:3px}.order-reservation-info strong{font-size:11px}.order-reservation-info span{font-size:10px;color:#5f7182}.order-reservation-chip.awaiting{background:#f2f4f7;color:#657184}.report-filter-bar{display:grid;grid-template-columns:minmax(260px,1fr) 150px 150px auto;gap:12px;align-items:end;padding:13px 15px;border:1px solid #e2e7ee;border-radius:12px;background:#fff;margin-bottom:12px}.report-filter-title{display:flex;gap:10px;align-items:center}.report-filter-title svg{color:#66748a}.report-filter-title div{display:flex;flex-direction:column;gap:2px}.report-filter-title strong{font-size:11px}.report-filter-title span{font-size:9px;color:#7a8798}.report-filter-bar label{font-size:9px;color:#6e7b8d}.report-filter-bar input{display:block;margin-top:4px}.report-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}.report-tabs button{display:inline-flex;align-items:center;gap:6px;border:1px solid #dfe5ec;background:#fff;border-radius:9px;padding:8px 11px;font-size:10px;color:#58677b;cursor:pointer}.report-tabs button.active{background:#1f6f43;color:#fff;border-color:#1f6f43}.report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.report-kpi{display:flex;flex-direction:column;gap:4px;padding:13px 14px;background:#fff;border:1px solid #e2e7ee;border-radius:11px}.report-kpi span{font-size:9px;text-transform:uppercase;letter-spacing:.03em;color:#758296}.report-kpi strong{font-size:17px;color:#1f2937}.report-kpi small{font-size:9px;color:#7c8999}.report-kpi.positive{background:#f4faf5}.report-note,.report-warning{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:9px;margin-bottom:12px}.report-note{border:1px solid #d9e6ef;background:#f7fbfe}.report-warning{border:1px solid #ead19a;background:#fffaf1}.report-note strong,.report-warning strong{font-size:10px}.report-note span,.report-warning span{font-size:9px;color:#687689;line-height:1.45}.report-two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}.panel-title-row h3{display:flex;align-items:center;gap:6px}@media(max-width:1050px){.report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.report-two-col{grid-template-columns:1fr}.report-filter-bar{grid-template-columns:1fr 1fr}.report-filter-title{grid-column:1/-1}}@media(max-width:620px){.report-kpis,.report-filter-bar{grid-template-columns:1fr}.report-filter-title{grid-column:auto}.report-filter-bar .btn{width:100%;justify-content:center}}.sr-logo-mark{overflow:hidden;padding:2px;background:#050505!important}.sr-logo-mark img{width:100%;height:100%;object-fit:contain;border-radius:inherit}.supplier-payment-modal{max-height:92vh;display:flex;flex-direction:column;overflow:hidden}.supplier-payment-modal>form,.supplier-payment-modal>.detail-stack{overflow-y:auto;min-height:0}.supplier-statement-balance{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;background:#f7faf8;border:1px solid #dce8df;border-radius:10px}.supplier-statement-balance span{font-size:10px;color:#69768a}.supplier-statement-balance strong{font-size:17px}.supplier-ledger-amount{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.supplier-ledger-amount span{font-size:9px;color:#738095}.supplier-ledger-amount b{font-size:11px}.customer-form-modal{max-height:92vh;overflow:auto}.customer-form-modal .form-section-title{margin-top:4px}.grn-full-page{padding-bottom:90px}.grn-header-card,.grn-lines-card{margin-bottom:14px}.grn-lines-card .line-editor-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.grn-lines-card .line-editor-head>div{display:flex;flex-direction:column;gap:3px}.grn-lines-card .line-editor-head span{font-size:10px;color:#738095}.grn-entry-table{min-width:1180px}.grn-entry-table th{white-space:nowrap}.grn-entry-table td{vertical-align:top}.grn-entry-table input,.grn-entry-table select{min-width:95px}.grn-entry-table .grn-product-cell{min-width:250px}.grn-entry-table .grn-product-cell input{margin-top:6px}.grn-entry-table .grn-total-input{font-weight:700;min-width:115px}.grn-summary-bar{position:sticky;bottom:0;z-index:12;display:flex;justify-content:flex-end;align-items:center;gap:22px;padding:12px 16px;background:#fff;border:1px solid #dfe5ec;box-shadow:0 -8px 28px #1e293b14;border-radius:12px}.grn-summary-bar>div{display:flex;flex-direction:column;gap:2px;min-width:115px}.grn-summary-bar span{font-size:9px;color:#748095;text-transform:uppercase}.grn-summary-bar b{font-size:13px}.grn-summary-bar .grand b{font-size:18px}.grn-summary-bar.static{position:relative;margin-top:14px}.grn-detail-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px}.grn-detail-kpis>div{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px solid #e1e6ec;border-radius:10px;background:#fff}.grn-detail-kpis span{font-size:9px;color:#788598;text-transform:uppercase}.grn-detail-kpis b{font-size:12px}@media(max-width:900px){.grn-detail-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.grn-summary-bar{flex-wrap:wrap;justify-content:flex-start}}@media(max-width:620px){.grn-detail-kpis{grid-template-columns:1fr}.grn-summary-bar{position:relative}.grn-summary-bar .btn{width:100%;justify-content:center}}.grn-entry-table{min-width:1450px}.grn-product-cell .search-select-field{min-width:310px}.grn-product-cell .search-select-trigger{min-height:42px;text-align:left}.grn-product-cell .search-select-menu{min-width:420px;max-width:520px}.grn-product-cell .search-select-option{padding:10px 12px}.grn-product-cell .search-select-option span{font-weight:650}.grn-product-cell .search-select-option small{font-size:10px;color:#7a8798}.grn-case-cell{min-width:105px}.grn-case-cell b,.grn-case-cell span{display:block}.grn-case-cell span{font-size:10px;color:#687689;margin-top:2px}.grn-correction-input{min-width:125px!important;text-align:right}.grn-final-total{min-width:120px;font-size:12px}.search-select-portal-menu{right:auto!important;bottom:auto!important;display:flex;flex-direction:column;overflow:hidden;z-index:10000!important}.search-select-portal-menu .search-select-options{max-height:none;flex:1;min-height:0;overflow-y:auto}.grn-lines-card{overflow:visible}.grn-line-list{display:flex;flex-direction:column;gap:12px;min-width:0}.grn-line-card{border:1px solid #dde4ec;border-radius:12px;background:#fbfcfe;padding:13px;min-width:0}.grn-line-top{display:grid;grid-template-columns:minmax(260px,1fr) 160px 34px;gap:12px;align-items:end}.grn-product-picker{min-width:0}.grn-product-picker .search-select-trigger{width:100%;min-height:42px;text-align:left}.grn-case-summary{min-height:42px;border:1px solid #d9e1ea;border-radius:9px;background:#fff;padding:7px 10px;display:flex;flex-direction:column;justify-content:center;gap:2px}.grn-case-summary span{font-size:9px;color:#748095;text-transform:uppercase}.grn-case-summary strong{font-size:11px;color:#172238}.grn-remove-line{align-self:center;margin-bottom:3px}.grn-batch-row{margin-top:10px;max-width:320px}.grn-entry-grid{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px;margin-top:12px}.grn-entry-grid label{min-width:0;font-size:9px;color:#67758a}.grn-entry-grid input,.grn-entry-grid select{width:100%;margin-top:4px;min-width:0!important}.grn-free-field{display:flex;flex-direction:column}.grn-free-toggle{margin-top:4px;min-height:38px;border:1px solid #d9e1ea;background:#fff;border-radius:8px;display:flex;align-items:center;gap:7px;padding:0 10px}.grn-free-toggle input{width:auto!important;margin:0}.grn-line-totals{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:10px;border-top:1px dashed #dce3eb}.grn-line-totals>div{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:8px;background:#fff}.grn-line-totals span{font-size:8px;color:#748095;text-transform:uppercase}.grn-line-totals b{font-size:11px}.grn-line-totals .final{background:#eef7f1}.grn-line-totals .final b{font-size:13px}.grn-summary-bar{max-width:100%;overflow:visible}.grn-full-page,.grn-lines-card,.grn-header-card{min-width:0}@media(max-width:1050px){.grn-entry-grid{grid-template-columns:repeat(3,minmax(120px,1fr))}.grn-line-totals{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.grn-line-top{grid-template-columns:1fr 130px 34px}.grn-entry-grid,.grn-line-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.search-select-portal-menu{max-width:calc(100vw - 16px)!important}}@media(max-width:520px){.grn-line-card{padding:10px}.grn-line-top{grid-template-columns:1fr 34px}.grn-case-summary{grid-column:1/-1;grid-row:2}.grn-entry-grid{grid-template-columns:1fr 1fr}.grn-entry-grid label:nth-child(4){grid-column:1/-1}.grn-line-totals{grid-template-columns:1fr 1fr}.grn-line-totals .final{grid-column:1/-1}}.grn-line-table-wrap{width:100%;min-width:0;overflow:visible;border:1px solid #e0e6ed;border-radius:10px;background:#fff}.grn-line-header,.grn-line-row{display:grid;grid-template-columns:minmax(260px,2.2fr) minmax(76px,.65fr) minmax(68px,.55fr) minmax(105px,.9fr) minmax(72px,.55fr) minmax(145px,1.15fr) minmax(110px,.9fr) minmax(125px,1fr) 52px 34px;gap:8px;align-items:center}.grn-line-header{padding:9px 10px;background:#f7f9fc;border-bottom:1px solid #e2e7ee;font-size:9px;font-weight:700;color:#667489;text-transform:uppercase;letter-spacing:.02em}.grn-line-row{padding:10px;border-bottom:1px solid #edf1f5}.grn-line-row:last-child{border-bottom:0}.grn-line-row>div{min-width:0}.grn-line-row input,.grn-line-row select{width:100%;min-width:0!important}.grn-line-product .search-select-trigger{min-height:38px;width:100%;text-align:left}.grn-inline-batch{margin-top:5px}.grn-line-case{text-align:center}.grn-line-case b,.grn-line-case span{display:block}.grn-line-case b{font-size:12px}.grn-line-case span{font-size:9px;color:#748095}.grn-money-cell{display:flex;flex-direction:column;gap:2px}.grn-money-cell b{font-size:11px;white-space:nowrap}.grn-money-cell small{font-size:8px;color:#7b8797;white-space:nowrap}.grn-money-cell.final b{font-size:12px}.grn-free-inline{display:flex;justify-content:center}.grn-free-inline input{width:auto!important}.grn-lines-card{overflow:visible!important}@media(max-width:1180px){.grn-line-header,.grn-line-row{grid-template-columns:minmax(220px,2fr) 70px 64px 96px 66px minmax(126px,1fr) 100px 112px 44px 30px;gap:6px}.grn-line-header{font-size:8px}.grn-line-row{padding:8px}}@media(max-width:900px){.grn-line-header{display:none}.grn-line-row{grid-template-columns:2fr 90px 80px 110px;gap:8px 10px;padding:11px}.grn-line-product{grid-column:1/3}.grn-line-case{grid-column:3}.grn-line-row>div:nth-child(10){grid-column:4;grid-row:1;justify-self:end}.grn-money-cell{padding:6px 8px;background:#f8fafc;border-radius:7px}.grn-free-inline{justify-content:flex-start}}@media(max-width:620px){.grn-line-row{grid-template-columns:1fr 1fr}.grn-line-product{grid-column:1/-1}.grn-line-case{grid-column:auto}.grn-line-row>div:nth-child(10){grid-column:2;grid-row:1;justify-self:end}.grn-money-cell{min-height:52px}}.order-entry-case-piece .case-size-cell{text-align:center;white-space:nowrap}.order-entry-case-piece .case-size-cell b,.order-entry-case-piece .case-size-cell small{display:block}.order-entry-case-piece .case-size-cell small{font-size:9px;color:#748095}.order-entry-case-piece .order-total-qty-cell{min-width:105px}.order-entry-case-piece .order-total-qty-cell b,.order-entry-case-piece .order-total-qty-cell small{display:block}.order-case-reference{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #dde4ec;border-radius:9px;background:#f8fafc;padding:9px 11px}.order-case-reference span{font-size:10px;color:#748095}.order-case-reference b{font-size:11px}.order-case-piece-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.order-total-qty{display:flex;flex-direction:column;gap:2px;border:1px solid #dce4ec;border-radius:8px;background:#f7faf8;padding:8px 10px}.order-total-qty span{font-size:9px;color:#748095;text-transform:uppercase}.order-total-qty b{font-size:12px}.order-total-qty small{font-size:9px;color:#657486}@media(max-width:620px){.order-case-piece-grid{grid-template-columns:1fr 1fr}.order-total-qty{grid-column:1/-1}}.order-items-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.order-items-head-actions{display:flex;align-items:center;gap:10px}.order-line-grid-wrap{width:100%;min-width:0;overflow:visible;border:1px solid #e0e6ed;border-radius:10px;background:#fff}.order-line-grid-head,.order-line-grid-row{display:grid;grid-template-columns:minmax(250px,2.1fr) 72px 64px 64px minmax(92px,.8fr) 70px minmax(110px,.95fr) 82px 82px minmax(96px,.85fr) 62px;gap:8px;align-items:center}.order-line-grid-head{padding:9px 10px;background:#f7f9fc;border-bottom:1px solid #e2e7ee;color:#6b778a;font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.025em}.order-line-grid-row{padding:10px;border-bottom:1px solid #edf1f5}.order-line-grid-row:last-child{border-bottom:0}.order-line-grid-row>div{min-width:0}.order-line-grid-row input{width:100%;min-width:0!important;padding-left:8px;padding-right:8px}.order-line-product-cell .search-select-trigger{width:100%;min-height:38px;text-align:left}.order-line-case-size,.order-line-total-qty,.order-line-rate,.order-line-gst,.order-line-final{display:flex;flex-direction:column;gap:2px}.order-line-case-size{text-align:center}.order-line-case-size b,.order-line-total-qty b,.order-line-rate b,.order-line-gst b,.order-line-final b{font-size:11px}.order-line-case-size small,.order-line-total-qty small,.order-line-rate small,.order-line-gst small,.order-line-final small{font-size:8px;color:#748095;line-height:1.2}.order-line-total-qty small{white-space:normal}.order-line-tax{font-size:10px;text-align:right;white-space:nowrap}.order-line-final{text-align:right}.order-line-final b{font-size:12px}.order-line-actions{display:flex;justify-content:flex-end;gap:4px}.order-line-actions .icon-btn{width:28px;height:28px;padding:0}.new-order-items-card,.order-grid-wrap{overflow:visible}@media(max-width:1250px){.order-line-grid-head,.order-line-grid-row{grid-template-columns:minmax(220px,2fr) 62px 58px 58px 86px 62px 98px 72px 72px 88px 54px;gap:6px}}@media(max-width:1050px){.order-line-grid-wrap{display:none}}.order-line-grid-wrap.no-free .order-line-grid-head,.order-line-grid-wrap.no-free .order-line-grid-row{grid-template-columns:minmax(270px,2.2fr) 72px 66px 66px minmax(100px,.85fr) minmax(116px,1fr) 84px 84px minmax(100px,.9fr) 62px}.order-view-discount{display:flex;flex-direction:column;gap:2px;min-width:80px}.order-view-discount b{font-size:11px}.order-view-discount small{font-size:9px;color:#748095}.order-view-discount.applied b,.discount-total b{font-weight:800}.invoice-detail-totals{margin-left:auto;width:min(100%,360px);border:1px solid #e1e6ec;border-radius:9px;overflow:hidden;background:#fff}.invoice-detail-totals>div{display:flex;justify-content:space-between;gap:14px;padding:8px 10px;border-bottom:1px solid #edf1f5}.invoice-detail-totals>div:last-child{border-bottom:0}.invoice-detail-totals span{font-size:10px;color:#687589}.invoice-detail-totals b{font-size:11px}.invoice-detail-totals .grand{background:#f3f6fa}.invoice-detail-totals .grand b{font-size:13px}.invoice-items th,.invoice-items td{padding-left:5px;padding-right:5px}.invoice-items th:nth-child(1){width:36%}.invoice-items th:nth-child(2){width:13%}.invoice-items th:nth-child(3){width:13%}.invoice-items th:nth-child(4){width:13%}.invoice-items th:nth-child(5){width:12%}.invoice-items th:nth-child(6){width:13%}.tax-invoice-sheet{position:relative;isolation:isolate}.invoice-watermark{position:absolute;z-index:0;left:50%;top:47%;width:46%;max-width:360px;transform:translate(-50%,-50%);opacity:.055;filter:grayscale(1);pointer-events:none;-webkit-user-select:none;user-select:none}.tax-invoice-sheet>*:not(.invoice-watermark){position:relative;z-index:1}.order-scheme-select{width:100%;margin-top:5px;min-height:28px;padding:4px 7px;font-size:9px;background:#f8fafc}.scheme-free-product{min-height:42px;border:1px solid #cfe3d5;background:#f2faf4;border-radius:8px;padding:7px 9px;display:flex;flex-direction:column;justify-content:center;gap:2px}.scheme-free-product b{font-size:11px}.scheme-free-product small{font-size:9px;color:#56705e}.password-change-panel{max-width:470px}.portal-login-status{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;border:1px solid #e1e6ec;border-radius:9px;background:#f8fafc}.portal-login-status>div{display:flex;flex-direction:column;gap:2px}.portal-login-status span{font-size:9px;color:#728096}.portal-login-status b{font-size:11px}.portal-login-actions{grid-column:1/-1;flex-direction:row!important;align-items:center;gap:8px!important;margin-top:4px}.portal-reset-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid #e1e6ec;border-radius:8px;background:#f8fafc}.portal-reset-strip span{font-size:10px;color:#69768a}@media(max-width:620px){.portal-login-status{grid-template-columns:1fr}.portal-login-actions{grid-column:1}}.pricing-attention-panel{margin-top:16px}.pricing-attention-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.pricing-attention-head>div{display:flex;align-items:flex-start;gap:10px}.pricing-attention-head h3{margin:0 0 2px}.pricing-attention-head p{margin:0;font-size:10px;color:#69768a}.pricing-attention-icon{display:grid;place-items:center;width:31px;height:31px;border:1px solid #e1e6ec;border-radius:8px}.pricing-alert-list{display:flex;flex-direction:column;border-top:1px solid #e7ebf0}.pricing-alert-row{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr) auto;gap:14px;align-items:center;padding:11px 0;border-bottom:1px solid #edf0f3}.pricing-alert-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.pricing-alert-main p{margin:4px 0 2px;font-size:10px;color:#46546a}.pricing-alert-main small{font-size:9px;color:#8590a0}.pricing-severity{font-size:8px}.pricing-alert-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px}.pricing-alert-numbers span{display:flex;align-items:center;gap:4px;font-size:9px;color:#728096}.pricing-alert-numbers b{font-size:10px;color:#27364a}.pricing-alert-numbers small{margin-left:3px}.pricing-alert-actions{display:flex;gap:6px;justify-content:flex-end}.cost-up b{color:#9d3e27!important}.cost-down b{color:#23684a!important}.severity-critical{border-left:3px solid currentColor;padding-left:10px}@media(max-width:900px){.pricing-alert-row{grid-template-columns:1fr}.pricing-alert-actions{justify-content:flex-start}}.pricing-reviewed-note{font-size:9px;color:#6f7d90;align-self:center;white-space:nowrap}.user-password-note{display:flex;align-items:flex-start;gap:8px;padding:9px 10px;border:1px solid #e1e6ec;border-radius:8px;background:#f8fafc;font-size:10px;color:#5f6c80}.user-password-note svg{flex:0 0 auto;margin-top:1px}.employee-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}.payroll-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:9px;border:1px solid #e1e6ec;border-radius:8px;background:#f8fafc}.payroll-preview div{display:flex;flex-direction:column;gap:2px}.payroll-preview span{font-size:9px;color:#748195}.payroll-preview b{font-size:12px}.salary-net-preview{display:flex;justify-content:space-between;align-items:center;padding:10px;border:1px solid #dfe5eb;border-radius:8px;background:#f8fafc}.salary-net-preview span{font-size:10px;color:#6e7a8e}.salary-net-preview b{font-size:15px}@media(max-width:700px){.payroll-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}.scheme-multi-products{display:flex;flex-direction:column;gap:7px}.scheme-product-checklist{max-height:220px;overflow:auto;border:1px solid #dfe5eb;border-radius:8px;padding:6px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.scheme-product-check{display:flex!important;align-items:flex-start!important;gap:7px;padding:6px;border-radius:6px;background:#fafbfc}.scheme-product-check input{width:auto!important;margin-top:2px}.scheme-product-check span{display:flex;flex-direction:column;gap:1px}.scheme-product-check small{font-size:9px;color:#748195}@media(max-width:700px){.scheme-product-checklist{grid-template-columns:1fr}}.date-range-toolbar{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;margin:0 0 12px}.date-range-toolbar label{display:flex;flex-direction:column;gap:3px;font-size:9px;color:#6e7a8e}.date-range-toolbar input{min-width:145px}.date-range-toolbar small{margin-left:auto;color:#748195;padding-bottom:7px}@media(max-width:700px){.date-range-toolbar label{flex:1;min-width:125px}.date-range-toolbar input{min-width:0;width:100%}.date-range-toolbar small{width:100%;margin-left:0;padding-bottom:0}}.expense-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.expense-filters{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;margin-bottom:12px}.expense-filters>label{display:flex;flex-direction:column;gap:3px;font-size:9px;color:#6e7a8e}.expense-filters .expense-search{margin-left:auto}.expense-category-manager{display:flex;flex-direction:column;gap:14px}.expense-category-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:280px;overflow:auto}.expense-category-list>button{border:1px solid #e1e6ec;background:#fff;border-radius:8px;padding:8px;display:flex;justify-content:space-between;align-items:center;text-align:left}.expense-category-list>button span:first-child{display:flex;flex-direction:column;gap:2px}.expense-category-list small{font-size:9px;color:#748195}@media(max-width:900px){.expense-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.expense-stat-grid{grid-template-columns:1fr}.expense-filters>label{flex:1;min-width:130px}.expense-filters .expense-search{width:100%;margin-left:0}.expense-category-list{grid-template-columns:1fr}}.date-range-toolbar{padding:10px 12px;border:1px solid #e1e6ec;border-radius:10px;background:#fff;box-shadow:0 2px 8px #0f172a09}.date-range-toolbar label{font-weight:650;text-transform:uppercase;letter-spacing:.025em}.date-range-toolbar input[type=date],.expense-filters input[type=date]{min-height:38px;border:1px solid #d7dee7;border-radius:8px;background:#f8fafc;padding:7px 10px;font:inherit;font-size:11px;color:#263244;outline:none;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.date-range-toolbar input[type=date]:hover,.expense-filters input[type=date]:hover{background:#fff;border-color:#bfc9d6}.date-range-toolbar input[type=date]:focus,.expense-filters input[type=date]:focus{background:#fff;border-color:#8da0b8;box-shadow:0 0 0 3px #64748b1a}.date-range-toolbar input[type=date]::-webkit-calendar-picker-indicator,.expense-filters input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.72;padding:4px;border-radius:5px}.dashboard-shortcut-panel{min-width:0}.dashboard-shortcut-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px}.dashboard-shortcut-head h3{margin:0}.dashboard-shortcut-head p{margin:3px 0 0;font-size:9px;color:#748195}.dashboard-custom-actions{display:flex;flex-wrap:wrap;gap:7px}.dashboard-custom-actions a{display:inline-flex;align-items:center;min-height:34px;padding:7px 10px;border:1px solid #dfe5ec;border-radius:8px;background:#f8fafc;text-decoration:none;color:inherit;font-size:10px;font-weight:650}.dashboard-custom-actions a:hover{background:#fff;border-color:#bbc6d3}.shortcut-picker{display:flex;flex-direction:column;gap:12px}.shortcut-picker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:360px;overflow:auto}.shortcut-option{display:flex!important;align-items:center!important;gap:8px;border:1px solid #e1e6ec;border-radius:8px;padding:9px 10px;background:#fff;cursor:pointer}.shortcut-option.selected{background:#f5f8fb;border-color:#aebac8}.shortcut-option input{width:auto!important;margin:0}.shortcut-option span{font-size:10px;font-weight:650}@media(max-width:650px){.shortcut-picker-grid{grid-template-columns:1fr}.dashboard-shortcut-head{align-items:center}}.advance-deduction-note{display:flex;justify-content:space-between;gap:10px;padding:10px;border:1px solid #dfe5ec;border-radius:8px;background:#f8fafc}.advance-deduction-note span{font-size:10px;color:#687689}.scheme-form-modal{max-height:92vh;display:flex;flex-direction:column;overflow:hidden}.scheme-form-modal>form{overflow-y:auto;min-height:0;padding-right:4px}.scheme-form-modal .form-actions{position:sticky;bottom:0;background:#fff;padding-top:10px;border-top:1px solid #edf1f5;z-index:2}.field-hint{font-size:8px;font-weight:500;color:#7b8797;text-transform:none;letter-spacing:0}.form-grid input[readonly]{background:#f3f6f9;color:#314155;cursor:default}.reference-invoice-screen{min-height:100vh;background:#eef1f4;padding:12px}.reference-invoice-sheet{width:100%;max-width:none;min-height:210mm;margin:0 auto;padding:0 0 4mm;box-sizing:border-box;background:#fff;color:#000;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1.18;box-shadow:none}.ref-title{height:15mm;box-sizing:border-box;display:flex;align-items:flex-start;justify-content:center;padding-top:1mm;border-bottom:1px solid #000;color:#000;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1;font-weight:700}.ref-party-lines{padding:0}.ref-party-line{display:grid;grid-template-columns:105px minmax(0,1fr);column-gap:0;padding:4px 7px;color:#000;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1.32}.ref-party-line b{font:700 10px/1.32 Arial,Helvetica,sans-serif}.ref-party-line span{font:400 10px/1.32 Arial,Helvetica,sans-serif;color:#000}.ref-license-row{display:grid;grid-template-columns:1fr 1fr;padding:11px 7px 9px;font:400 10px/1.2 Arial,Helvetica,sans-serif;color:#000}.ref-license-row>div{display:grid;grid-template-columns:150px auto;align-items:baseline}.ref-license-row>div:last-child{grid-template-columns:110px auto;justify-self:start;margin-left:22%}.ref-license-row b,.ref-document-row b{font:700 10px/1.2 Arial,Helvetica,sans-serif}.ref-document-row{display:grid;grid-template-columns:1fr 29%;align-items:center;min-height:27px;padding:0 7px;border-top:1px solid #000;border-bottom:1px solid #000;color:#000;font:400 10px/1.2 Arial,Helvetica,sans-serif}.ref-document-row>div{display:flex;align-items:baseline;gap:7px}.reference-invoice-sheet table.reference-invoice-items{width:100%;margin:0;border-collapse:collapse;border-spacing:0;table-layout:fixed;background:#fff;color:#000;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1.08}.reference-invoice-sheet table.reference-invoice-items col.ref-col-hsn{width:6.8%}.reference-invoice-sheet table.reference-invoice-items col.ref-col-desc{width:25%}.reference-invoice-sheet table.reference-invoice-items col.ref-col-qty{width:7.6%}.reference-invoice-sheet table.reference-invoice-items col.ref-col-rate{width:5.8%}.reference-invoice-sheet table.reference-invoice-items col.ref-col-total{width:7.5%}.reference-invoice-sheet table.reference-invoice-items col.ref-col-discount{width:6.8%}.reference-invoice-sheet table.reference-invoice-items col.ref-col-taxable{width:8%}.reference-invoice-sheet table.reference-invoice-items col.ref-col-tax-rate{width:6.1%}.reference-invoice-sheet table.reference-invoice-items col.ref-col-tax-amt{width:6.5%}.reference-invoice-sheet table.reference-invoice-items col.ref-col-net{width:8.4%}.reference-invoice-sheet table.reference-invoice-items thead,.reference-invoice-sheet table.reference-invoice-items tbody,.reference-invoice-sheet table.reference-invoice-items tfoot,.reference-invoice-sheet table.reference-invoice-items tr,.reference-invoice-sheet table.reference-invoice-items th,.reference-invoice-sheet table.reference-invoice-items td{margin:0;font-family:Arial,Helvetica,sans-serif;color:#000;text-transform:none;letter-spacing:0;font-style:normal;box-sizing:border-box}.reference-invoice-sheet table.reference-invoice-items thead .ref-tax-group-row{height:25px}.reference-invoice-sheet table.reference-invoice-items thead .ref-tax-group-row th{height:25px;padding:0 3px;border:1px solid #777;background:#fff;font-size:10px;line-height:25px;font-weight:400;text-align:center;vertical-align:middle;white-space:nowrap}.reference-invoice-sheet table.reference-invoice-items thead .ref-column-header-row{height:27px}.reference-invoice-sheet table.reference-invoice-items thead .ref-column-header-row th{height:27px;padding:0 4px;border:1px solid #777;background:#fff;font-size:10px;line-height:27px;font-weight:400;text-align:right;vertical-align:middle;white-space:nowrap}.reference-invoice-sheet table.reference-invoice-items thead .ref-column-header-row th:first-child,.reference-invoice-sheet table.reference-invoice-items thead .ref-column-header-row th:nth-child(2){text-align:left}.reference-invoice-sheet table.reference-invoice-items tbody tr{height:32px}.reference-invoice-sheet table.reference-invoice-items tbody td{height:32px;padding:3px 5px;border-left:1px solid #999;border-right:1px solid #999;border-top:0;border-bottom:0;background:#fff;font-size:10px;line-height:1.15;font-weight:400;vertical-align:middle}.reference-invoice-sheet table.reference-invoice-items tbody tr:first-child td{border-top:1px solid #999}.reference-invoice-sheet table.reference-invoice-items tbody tr:last-child td{border-bottom:1px solid #999}.reference-invoice-sheet table.reference-invoice-items tbody td:first-child,.reference-invoice-sheet table.reference-invoice-items tbody td:nth-child(2){text-align:left}.reference-invoice-sheet table.reference-invoice-items tbody td.num{text-align:right;white-space:nowrap}.reference-invoice-sheet table.reference-invoice-items tbody td small{display:inline;margin-left:3px;font:400 9px/1.1 Arial,Helvetica,sans-serif;color:#000}.reference-invoice-sheet table.reference-invoice-items tfoot{border-top:1px solid #777;border-bottom:1px solid #777}.reference-invoice-sheet table.reference-invoice-items tfoot tr{height:31px}.reference-invoice-sheet table.reference-invoice-items tfoot th{height:31px;padding:3px 5px;border-left:1px solid #999;border-right:1px solid #999;border-top:0;border-bottom:0;background:#fff;color:#000;font-size:10px;line-height:1.1;font-weight:700;vertical-align:middle}.reference-invoice-sheet table.reference-invoice-items tfoot th:first-child{text-align:center}.reference-invoice-sheet table.reference-invoice-items tfoot th.num{text-align:right;white-space:nowrap}.ref-invoice-value-row{display:grid;grid-template-columns:29% 32% 39%;align-items:baseline;width:100%;padding:6px 7px 0;box-sizing:border-box;margin:0;background:#fff;color:#000;font:400 10px/1.15 Arial,Helvetica,sans-serif}.ref-invoice-value,.ref-saving,.ref-coupon{display:flex;align-items:baseline;gap:12px;margin:0;padding:0;background:transparent;color:#000;white-space:nowrap;font:400 10px/1.15 Arial,Helvetica,sans-serif}.ref-invoice-value,.ref-saving{justify-self:start}.ref-coupon{justify-self:end}.ref-invoice-value span,.ref-saving span,.ref-coupon span{margin:0;padding:0;background:transparent;border:0;color:#000;font:400 10px/1.15 Arial,Helvetica,sans-serif}.ref-invoice-value b,.ref-saving b,.ref-coupon b{margin:0;padding:0;background:transparent;border:0;color:#000;font:700 10px/1.15 Arial,Helvetica,sans-serif}.ref-amount-words{margin:18px 0 0 21.5%;color:#000;font:700 9px/1.1 Arial,Helvetica,sans-serif}.ref-sign-row{display:grid;grid-template-columns:1fr 1fr;margin-top:69px;padding:0 21px;color:#000;font:400 10px/1.15 Arial,Helvetica,sans-serif}.ref-sign-row>div:last-child{padding-left:56%;text-align:left}.ref-tcs-note{margin-top:24px;text-align:center;color:#000;font:400 12px/1.15 Arial,Helvetica,sans-serif}.ref-dash-line{margin-top:29px;overflow:hidden;white-space:nowrap;text-align:center;color:#000;font:400 10px/1 Arial,Helvetica,sans-serif;letter-spacing:4px}@media(max-width:900px){.reference-invoice-screen{padding:5px;overflow:auto}.reference-invoice-sheet{min-width:1100px}}@media print{.reference-invoice-screen{padding:0;background:#fff}.reference-invoice-sheet{width:100%;min-height:0;margin:0;padding:0 0 4mm}.reference-invoice-screen .no-print{display:none!important}@page{size:A4 landscape;margin:4mm}}.reference-invoice-sheet table.reference-invoice-items thead .ref-tax-group-row{height:18px!important}.reference-invoice-sheet table.reference-invoice-items thead .ref-tax-group-row th{height:18px!important;min-height:18px!important;padding:0 1px!important;line-height:18px!important;vertical-align:middle!important}.reference-invoice-sheet table.reference-invoice-items thead .ref-column-header-row{height:20px!important}.reference-invoice-sheet table.reference-invoice-items thead .ref-column-header-row th{height:20px!important;min-height:20px!important;padding:0 2px!important;line-height:20px!important;vertical-align:middle!important}.reference-invoice-sheet table.reference-invoice-items thead .ref-column-header-row th:first-child,.reference-invoice-sheet table.reference-invoice-items thead .ref-column-header-row th:nth-child(2){padding-left:3px!important}.reference-invoice-sheet table.reference-invoice-items thead th{border-width:.5px!important}.reference-invoice-screen{overflow:auto!important}.reference-invoice-sheet{width:297mm!important;min-width:297mm!important;max-width:297mm!important;margin:0 auto!important}.reference-invoice-sheet table.reference-invoice-items{width:100%!important;max-width:100%!important}.reference-invoice-sheet table.reference-invoice-items thead .ref-tax-group-row,.reference-invoice-sheet table.reference-invoice-items thead .ref-tax-group-row th{height:18px!important;min-height:18px!important}.reference-invoice-sheet table.reference-invoice-items thead .ref-column-header-row,.reference-invoice-sheet table.reference-invoice-items thead .ref-column-header-row th{height:20px!important;min-height:20px!important}@media(max-width:1200px){.reference-invoice-screen{overflow:auto!important}.reference-invoice-sheet{width:297mm!important;min-width:297mm!important;max-width:297mm!important}}@media print{.reference-invoice-sheet{width:289mm!important;min-width:289mm!important;max-width:289mm!important;margin:0!important}@page{size:A4 landscape;margin:4mm}}.reference-invoice-sheet .ref-license-row{grid-template-columns:71% 29%!important}.reference-invoice-sheet .ref-license-row>div:last-child{justify-self:start!important;margin-left:0!important;grid-template-columns:105px auto!important}.reference-invoice-sheet .ref-invoice-value-row{grid-template-columns:29% 48.5% 22.5%!important;column-gap:0!important}.reference-invoice-sheet .ref-invoice-value,.reference-invoice-sheet .ref-saving,.reference-invoice-sheet .ref-coupon{width:100%!important;justify-content:space-between!important;gap:0!important}.reference-invoice-sheet .ref-invoice-value{justify-self:start!important;padding-right:18%!important;box-sizing:border-box!important}.reference-invoice-sheet .ref-saving{justify-self:start!important;width:45%!important}.reference-invoice-sheet .ref-coupon{justify-self:start!important}.reference-invoice-sheet table.reference-invoice-items tbody tr:last-child td{border-bottom:0!important}.reference-invoice-sheet table.reference-invoice-items tfoot{border-top:1px solid #777!important;border-bottom:1px solid #777!important}.reference-invoice-sheet table.reference-invoice-items tfoot th{border-top:0!important;border-bottom:0!important}.reference-invoice-sheet .ref-saving{width:auto!important;justify-self:start!important;justify-content:flex-start!important;gap:6px!important}.reference-invoice-sheet .ref-saving span,.reference-invoice-sheet .ref-saving b{width:auto!important;flex:0 0 auto!important}.route-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.route-toolbar h2,.route-toolbar h3{margin:0}.route-workspace small{display:block;color:#65788b;font-size:12px;line-height:1.6}.route-workspace .panel{margin-bottom:18px}.route-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.route-workspace .btn{margin:3px}.route-workspace label{display:block;font-size:13px;margin:8px 0}.route-workspace input:not([type=checkbox]),.route-workspace select{border:1px solid #ced9e4;border-radius:7px;padding:8px;max-width:100%;background:#fff}.route-workspace summary{cursor:pointer;padding:8px 0;color:#345d7e}.route-assignment-form,.route-picker{padding:16px;background:#f4f8fb;border-radius:10px;margin:12px 0}.route-scroll{max-height:490px;overflow:auto}.route-picker .route-scroll{max-height:260px}.route-picker label{display:flex;gap:10px;align-items:flex-start;border-bottom:1px solid #e0e7ee;padding:8px}.route-stops{width:100%;border-collapse:collapse}.route-stops th,.route-stops td{text-align:left;padding:12px;border-bottom:1px solid #e2e9ef;vertical-align:top}.route-stops th{font-size:12px;color:#62788d;background:#f5f8fa}.route-stops td:first-child input{width:75px}.route-save{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding:14px 0;border-top:1px solid #dde6ef}.route-save span{margin-right:auto;color:#526b7f;font-size:13px}@media(max-width:700px){.route-stops th,.route-stops td{padding:8px}.route-stops td:last-child{min-width:85px}.route-stops td:first-child input{width:55px}.route-cards{grid-template-columns:1fr}}.bulk-select-control,.request-select{display:flex;align-items:center;gap:7px}.request-select{margin-bottom:8px;font-weight:700}.bulk-result-list{max-height:52vh;overflow:auto}.bulk-result-list p{margin:0;padding:8px 0;border-bottom:1px solid #e5e7eb}.picklist-form{display:grid;gap:16px}.picklist-selector-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.picklist-selector-head small{display:block;margin-top:3px;color:var(--muted,#667085)}.picklist-order-list{border:1px solid var(--border,#e2e8f0);border-radius:10px;max-height:360px;overflow:auto}.picklist-order{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:11px 12px;border-bottom:1px solid var(--border,#e2e8f0);cursor:pointer}.picklist-order:last-child{border-bottom:0}.picklist-order small{display:block;color:var(--muted,#667085);margin-top:2px}.picklist-order.select-all{background:#0284c70f;grid-template-columns:auto auto 1fr}.picklist-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin-bottom:18px}.picklist-summary span{padding:10px;border:1px solid var(--border,#e2e8f0);border-radius:8px}.picklist-summary b{display:block;font-size:12px;color:var(--muted,#667085);margin-bottom:4px}.picklist-customer-orders{display:grid;gap:9px}.picklist-customer-orders details{border:1px solid var(--border,#e2e8f0);border-radius:8px;padding:10px}.picklist-customer-orders summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer}.link-button{background:none;border:0;padding:0;color:inherit;text-decoration:underline;cursor:pointer}.modal.large-modal{width:min(1120px,96vw)}.issue-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px}.issue-summary-card{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--border,#d9dee7);background:var(--surface,#fff);border-radius:14px;padding:16px;text-align:left;display:grid;gap:4px;cursor:pointer;box-shadow:0 1px 2px #0f172a0a}.issue-summary-card span{font-size:.82rem;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.03em}.issue-summary-card b{font-size:1.8rem;line-height:1.1}.issue-summary-card small{color:#64748b}.issue-summary-card.active{outline:2px solid currentColor;outline-offset:1px}.issue-summary-card.error{color:#b42318}.issue-summary-card.missing{color:#9a6700}.issue-summary-card.warning{color:#8a5a00}.issue-filterbar{align-items:end}.issue-table-wrap{overflow:auto}.issue-table td{vertical-align:top}.issue-pill{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 8px;font-weight:700;font-size:.75rem;white-space:nowrap}.issue-pill.error{background:#fee4e2;color:#b42318}.issue-pill.missing_setup{background:#fff4cc;color:#8a5a00}.issue-pill.warning{background:#fff7e6;color:#9a6700}.operational-issue-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;margin:0 0 14px;border:1px solid #f2c66d;background:#fff9e8;border-radius:12px}.operational-issue-strip>div{display:flex;align-items:center;gap:10px}.operational-issue-strip span{display:grid;gap:1px}.operational-issue-strip small{color:#725a2a}.row-issue-indicator{display:inline-flex;align-items:center;gap:5px;margin-left:6px;font-size:.72rem;font-weight:700;border-radius:999px;padding:2px 7px}.row-issue-indicator.error{color:#b42318;background:#fee4e2}.row-issue-indicator.missing_setup{color:#8a5a00;background:#fff4cc}.row-issue-indicator.warning{color:#8a5a00;background:#fff7e6}.precheck-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:4px 0 14px}.precheck-summary>div{border:1px solid #dce2ea;border-radius:10px;padding:10px 12px}.precheck-summary span{display:block;color:#64748b;font-size:.8rem}.precheck-summary b{font-size:1.35rem}.precheck-list{max-height:340px;overflow:auto;border:1px solid #e2e8f0;border-radius:10px}.precheck-row{padding:10px 12px;border-bottom:1px solid #edf1f5}.precheck-row:last-child{border-bottom:0}.precheck-row p{margin:4px 0 0;font-size:.86rem}.precheck-row.ready b{color:#18794e}.precheck-row.blocked b{color:#b42318}.precheck-warning{color:#8a5a00}.module-attention-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;margin-bottom:12px;background:#fff9e8;border:1px solid #f2cf7d;border-radius:10px;font-size:.88rem}@media(max-width:760px){.issue-summary-grid{grid-template-columns:1fr}.operational-issue-strip{align-items:flex-start;flex-direction:column}.precheck-summary{grid-template-columns:1fr 1fr 1fr}}@media(max-width:760px){html,body,#root,.app-shell,.content,.page-wrap{max-width:100%;min-width:0;overflow-x:hidden}.page-wrap{padding:14px 12px 28px}.topbar{height:auto;min-height:60px;padding:10px 12px;flex-wrap:nowrap}.topbar>div:first-of-type{min-width:0;overflow:hidden}.topbar>div:first-of-type strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-user{max-width:34vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-header{align-items:flex-start!important;gap:12px!important;margin-bottom:16px}.page-header>div{min-width:0;width:100%}.page-header h1,.page-header h2{font-size:1.45rem;line-height:1.2;overflow-wrap:anywhere}.page-header p{overflow-wrap:anywhere}.page-header .row-actions,.page-header>.btn{width:100%}.page-header .row-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.page-header .row-actions .btn,.page-header>.btn{min-height:44px;justify-content:center}.toolbar,.filter-bar,.date-range-toolbar,.form-actions,.row-actions{flex-wrap:wrap!important;min-width:0}.toolbar{align-items:stretch!important;gap:9px!important}.toolbar>label,.filter-bar>label,.date-range-toolbar>label{flex:1 1 150px;min-width:0!important}.toolbar>label>select,.toolbar>label>input,.filter-bar select,.filter-bar input,.date-range-toolbar input,.date-range-toolbar select{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}.toolbar>.btn{min-height:44px}.bulk-select-control{min-height:44px;white-space:normal!important;flex:1 1 100%;padding:8px 0}.bulk-select-control input{flex:0 0 auto}.table-card,.table-scroll,.table-wrap,.issue-table-wrap,.stts-table-wrap,.route-scroll{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}.table-card table:not(.mobile-stack-table),.data-table{width:max-content;min-width:100%}th,td{padding:10px 11px}.row-actions{gap:6px}.row-actions .btn{min-height:40px}.panel,.card,.table-card,.issue-summary-card{max-width:100%;box-sizing:border-box}.stat-grid,.summary-grid,.dashboard-grid,.setup-grid,.route-overview,.issue-summary-grid,.route-cards{grid-template-columns:minmax(0,1fr)!important}.modal-backdrop{padding:0!important;align-items:stretch!important}.modal,.modal.large-modal,.wide-modal,.customer-order-modal,.portal-order-modal{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important}.modal{display:flex!important;flex-direction:column!important;min-width:0}.modal-head{flex:0 0 auto;padding:14px!important;gap:10px}.modal-head h2,.modal-head h3{font-size:1.05rem;line-height:1.25;overflow-wrap:anywhere}.modal-body,.detail-stack,.form-grid{min-width:0}.modal-body{overflow:auto!important;-webkit-overflow-scrolling:touch}.form-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}.span-2,.span-3{grid-column:1!important}.form-grid input,.form-grid select,.form-grid textarea,.modal input,.modal select,.modal textarea{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.form-actions{position:sticky;bottom:0;z-index:4;background:#fff;padding:10px 0 max(10px,env(safe-area-inset-bottom));border-top:1px solid #e5e7eb}.form-actions .btn{flex:1 1 140px;min-height:44px;justify-content:center}.precheck-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px}.precheck-summary>div{padding:8px}.precheck-summary b{font-size:1.15rem}.precheck-list{max-height:46dvh}.module-attention-banner{align-items:flex-start;flex-direction:column}.module-attention-banner .btn{width:100%;justify-content:center}.operational-issue-strip,.picklist-selector-head{align-items:flex-start;flex-direction:column}.picklist-selector-head .btn{width:100%;justify-content:center}.picklist-order{grid-template-columns:auto minmax(0,1fr);align-items:start}.picklist-order>*:last-child{grid-column:2}.picklist-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.picklist-customer-orders summary{align-items:flex-start;flex-direction:column}.route-toolbar{align-items:stretch;flex-direction:column}.route-toolbar .btn{width:100%;justify-content:center}.route-assignment-form,.route-picker{padding:12px}.route-save{align-items:stretch;flex-direction:column}.route-save span{margin-right:0}.route-save .btn{width:100%;justify-content:center}button,.btn,.icon-btn,a.btn{touch-action:manipulation}.btn{min-height:40px}.icon-btn{min-width:40px;min-height:40px}}@media(max-width:520px){.page-wrap{padding-left:10px;padding-right:10px}.page-header .row-actions{grid-template-columns:1fr}.toolbar>label,.filter-bar>label,.date-range-toolbar>label,.toolbar>.btn{flex-basis:100%;width:100%}.toolbar>.btn{justify-content:center}.stat-grid,.picklist-summary,.precheck-summary,.route-focus-stats{grid-template-columns:1fr!important}.route-focus-meta{align-items:flex-start;flex-direction:column;gap:4px}.route-meta-dot{display:none}.issue-pill,.row-issue-indicator{white-space:normal}}.operational-bottom-nav{display:none}@media(max-width:760px){.operational-shell .page-wrap{padding-bottom:calc(86px + env(safe-area-inset-bottom))}.operational-shell .operational-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:35;display:flex;gap:4px;padding:7px 6px calc(7px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #eadfe1;box-shadow:0 -5px 18px #46141e14}.operational-bottom-nav a{position:relative;display:flex;flex:1 1 0;min-width:0;min-height:50px;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:4px 2px;border-radius:10px;text-decoration:none;color:#667085;font-size:10.5px;line-height:1.1;text-align:center}.operational-bottom-nav a span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.operational-bottom-nav a.active{background:var(--brand-tint,#fff1f2);color:var(--brand-red-dark,#a50618);font-weight:750}.operational-bottom-nav .ops-badge{position:absolute;top:1px;right:5px;min-width:17px;height:17px;font-size:9px;padding:0 4px}.daily-smart,.smart-details,.smart-details>details,.smart-details>details>*{min-width:0;max-width:100%;box-sizing:border-box}.smart-details{overflow:hidden}.smart-details>details{padding:13px 12px;overflow:hidden}.smart-details>details>summary{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;overflow-wrap:anywhere}.smart-details>details>summary>span{float:none!important;margin:0!important;padding-left:0!important;overflow-wrap:anywhere}.smart-details .operations-overview{width:100%;max-width:100%;min-width:0;margin:12px 0 0!important;padding:12px!important;overflow:hidden;box-sizing:border-box}.operations-overview h2{font-size:16px;line-height:1.25;overflow-wrap:anywhere}.operations-note{overflow-wrap:anywhere}.operations-events{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:stretch}.operations-events .btn{width:100%;white-space:normal;text-align:left;justify-content:flex-start}.operations-stages,.daily-focus-filters.operations-stages{display:flex;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;padding-bottom:6px}.operations-stages button{flex:0 0 auto;white-space:nowrap}.operations-tabs{max-width:100%;padding-bottom:7px;scrollbar-width:thin}.operations-tabs button{flex:0 0 auto;min-height:40px;padding:9px 11px}.operations-body{max-width:100%;max-height:none;overflow:visible}.operations-body article{min-width:0;overflow-wrap:anywhere;padding:12px 0}.operations-row-title{align-items:flex-start}.operations-row-title>a,.operations-row-title>strong{min-width:0;overflow-wrap:anywhere}.operations-body p,.operations-body small{overflow-wrap:anywhere;word-break:break-word}.operations-finance{max-width:100%;overflow:hidden}.operations-finance p{white-space:normal}.operations-overview .daily-pagination{padding:12px 0 0;flex-wrap:wrap}.operations-overview .daily-pagination span{order:-1;flex:1 1 100%;text-align:center}}@media(max-width:420px){.operational-bottom-nav a{font-size:10px}.operational-bottom-nav a svg{width:17px;height:17px}}@media(max-width:760px){.operational-shell .topbar .ops-shortcuts,.operational-shell .topbar>a.btn{display:none!important}.operational-shell .topbar>div:first-of-type{flex:1 1 auto}}.employee-primary-tabs{margin-bottom:14px;padding:5px;background:var(--surface-soft,#f6f7f9);border:1px solid var(--border,#e2e5e9);border-radius:12px;display:flex;gap:6px;flex-wrap:wrap}.employee-secondary-tabs{margin:0 0 16px;display:flex;gap:8px;flex-wrap:wrap}.access-management-grid{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:16px;align-items:start}.access-role-list,.access-permission-panel{padding:16px}.role-list{display:grid;gap:7px;margin-top:10px;max-height:68vh;overflow:auto}.role-list-item{width:100%;border:1px solid var(--border,#e2e5e9);background:#fff;border-radius:10px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;cursor:pointer}.role-list-item span:first-child{display:grid;gap:2px;min-width:0}.role-list-item small{color:var(--muted,#667085);font-size:11px}.role-list-item.active{border-color:var(--primary,#2563eb);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary,#2563eb) 12%,transparent)}.access-role-heading{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}.access-role-heading h3{margin:2px 0 4px;font-size:20px}.access-role-heading p{margin:0;color:var(--muted,#667085)}.permission-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.permission-group{border:1px solid var(--border,#e2e5e9);border-radius:12px;padding:10px 12px;min-width:0}.permission-group legend{padding:0 5px}.permission-row{display:flex;gap:9px;align-items:flex-start;padding:8px 2px;border-top:1px solid #eef0f3}.permission-row:first-of-type{border-top:0}.permission-row span{display:grid;gap:2px}.permission-row small{font-size:11px;color:var(--muted,#667085);overflow-wrap:anywhere}@media(max-width:760px){.access-management-grid{grid-template-columns:1fr}.access-role-heading{flex-direction:column}.permission-groups{grid-template-columns:1fr}.role-list{max-height:260px}.employee-primary-tabs .btn,.employee-secondary-tabs .btn{flex:1 1 auto;justify-content:center}}.role-audit-section{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border,#e5e7eb)}.role-audit-section .toolbar strong{display:flex;align-items:center;gap:.4rem}.role-audit-list{display:grid;gap:.55rem;margin-top:.65rem}.role-audit-item{display:grid;grid-template-columns:minmax(0,1fr);gap:.3rem;padding:.7rem .8rem;border:1px solid var(--border,#e5e7eb);border-radius:10px;background:var(--surface-subtle,#fafafa)}.role-audit-item>div{display:flex;justify-content:space-between;gap:.75rem;align-items:baseline;flex-wrap:wrap}.role-audit-item small{color:var(--text-muted,#6b7280);overflow-wrap:anywhere}.role-audit-diff{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.74rem}@media(max-width:700px){.role-audit-section .toolbar{align-items:stretch}.role-audit-section .toolbar .btn{width:100%}.role-audit-item>div{display:grid;gap:.18rem}}.employee-management-page{min-width:0}.employee-management-page .employee-tabs{scrollbar-width:none}.employee-management-page .employee-tabs::-webkit-scrollbar{display:none}@media(max-width:760px){.employee-management-page{padding-bottom:8px}.employee-management-page .page-header{gap:8px;margin-bottom:12px}.employee-management-page .page-header h1{font-size:1.35rem;line-height:1.2}.employee-management-page .page-header p{font-size:.84rem;line-height:1.35;margin-top:4px}.employee-management-page .employee-primary-tabs,.employee-management-page .employee-secondary-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:6px;padding:5px;margin-left:-2px;margin-right:-2px}.employee-management-page .employee-secondary-tabs{padding:2px 0 6px;background:transparent;border:0}.employee-management-page .employee-primary-tabs .btn,.employee-management-page .employee-secondary-tabs .btn{flex:0 0 auto;min-height:42px;white-space:nowrap;scroll-snap-align:start;padding:9px 12px;font-size:.84rem}.employee-management-page>p{font-size:.86rem;line-height:1.45;margin:8px 0 10px}.employee-management-page .toolbar{gap:8px;align-items:stretch}.employee-management-page .toolbar .search-box{flex:1 1 100%;width:100%}.employee-management-page .toolbar .search-box input{width:100%;min-width:0;font-size:16px}.employee-management-page .toolbar>.btn{min-height:44px;justify-content:center}.employee-management-page .checkbox{min-height:40px;align-items:center}.employee-management-page .table-card{border:0;background:transparent;box-shadow:none;overflow:visible}.employee-management-page .table-scroll{overflow:visible!important}.employee-management-page .table-scroll table,.employee-management-page .table-scroll tbody,.employee-management-page .table-scroll tr,.employee-management-page .table-scroll td{display:block;width:100%}.employee-management-page .table-scroll thead{display:none}.employee-management-page .table-scroll tbody{display:grid;gap:10px}.employee-management-page .table-scroll tr{border:1px solid var(--border,#e2e5e9);border-radius:12px;background:var(--surface,#fff);padding:10px 12px;box-shadow:0 1px 2px #1018280a}.employee-management-page .table-scroll tr.linked-record{outline:2px solid color-mix(in srgb,var(--primary,#2563eb) 35%,transparent)}.employee-management-page .table-scroll td{border:0!important;padding:6px 0!important;display:grid!important;grid-template-columns:minmax(92px,34%) minmax(0,1fr);gap:10px;align-items:start;min-width:0}.employee-management-page .table-scroll td:before{content:attr(data-label);font-size:.7rem;line-height:1.25;text-transform:uppercase;letter-spacing:.035em;color:var(--muted,#667085);font-weight:700;padding-top:2px}.employee-management-page .table-scroll td[data-label=""],.employee-management-page .table-scroll td:last-child{grid-template-columns:1fr;padding-top:8px!important;border-top:1px solid #eef0f3!important}.employee-management-page .table-scroll td[data-label=""]:before,.employee-management-page .table-scroll td:last-child:before{display:none}.employee-management-page .row-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:100%}.employee-management-page .row-actions .btn{width:100%;min-height:40px;justify-content:center;white-space:normal}.employee-management-page .pagination{margin-top:10px;justify-content:center;flex-wrap:wrap}.employee-management-page .access-management-grid{gap:10px}.employee-management-page .access-role-list,.employee-management-page .access-permission-panel{padding:12px}.employee-management-page .role-list{max-height:210px;gap:6px}.employee-management-page .role-list-item{min-height:44px;padding:9px 10px}.employee-management-page .access-role-heading{gap:8px;margin-bottom:8px}.employee-management-page .access-role-heading h3{font-size:1.15rem}.employee-management-page .access-role-heading .row-actions{grid-template-columns:1fr 1fr}.employee-management-page .permission-groups{gap:9px;margin-top:10px}.employee-management-page .permission-group{padding:8px 10px;border-radius:10px}.employee-management-page .permission-row{min-height:44px;padding:9px 2px;align-items:center}.employee-management-page .permission-row input[type=checkbox]{width:20px;height:20px;flex:0 0 auto}.employee-management-page .role-audit-item{padding:9px 10px}.employee-management-page .modal input,.employee-management-page .modal select,.employee-management-page .modal textarea{font-size:16px;min-height:44px}.employee-management-page .modal .form-grid{grid-template-columns:1fr!important;gap:11px}.employee-management-page .modal .span-2{grid-column:1!important}.employee-management-page .modal .form-actions{position:sticky;bottom:0;z-index:3;margin:4px -12px -12px;padding:10px 12px;background:color-mix(in srgb,var(--surface,#fff) 94%,transparent);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);border-top:1px solid var(--border,#e2e5e9);display:grid;grid-template-columns:1fr 1fr;gap:8px}.employee-management-page .modal .form-actions .btn{min-height:44px;justify-content:center}.employee-management-page .payroll-preview{grid-template-columns:repeat(2,minmax(0,1fr))!important}.employee-management-page .route-toolbar{align-items:stretch;gap:8px}.employee-management-page .route-toolbar h2{font-size:1.05rem}.employee-management-page .route-toolbar .btn{width:100%;min-height:44px;justify-content:center}.employee-management-page .structure-row{gap:7px;padding:8px}.employee-management-page .structure-main{min-width:0;padding:8px}.employee-management-page .structure-main>div:nth-child(2){min-width:0}.employee-management-page .structure-main b,.employee-management-page .structure-main span{overflow-wrap:anywhere}.employee-management-page .managed-assignment,.employee-management-page .store-row{align-items:flex-start;gap:8px}.employee-management-page .managed-assignment{flex-direction:column}.employee-management-page .managed-assignment>.btn{width:100%;justify-content:center;min-height:40px}.employee-management-page .panel-title-row{align-items:flex-start;gap:8px;flex-direction:column}.employee-management-page .panel-title-row .btn{width:100%;justify-content:center}.employee-management-office .structure-detail{width:calc(100vw - 16px);max-width:none}}@media(max-width:390px){.employee-management-page .row-actions,.employee-management-page .access-role-heading .row-actions{grid-template-columns:1fr}.employee-management-page .table-scroll td{grid-template-columns:minmax(82px,32%) minmax(0,1fr);gap:8px}.employee-management-page .employee-primary-tabs .btn,.employee-management-page .employee-secondary-tabs .btn{padding-inline:10px}}.employee-help-card{display:flex;gap:10px;align-items:flex-start;padding:11px 13px;margin:8px 0 12px;border:1px solid var(--border,#e2e5e9);border-radius:12px;background:var(--surface-subtle,#f8fafc)}.employee-help-card>svg{flex:0 0 auto;margin-top:2px;color:var(--primary,#2563eb)}.employee-help-card>div{display:grid;gap:3px;min-width:0}.employee-help-card span{color:var(--muted,#667085);font-size:.84rem;line-height:1.4}.employee-access-note{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;border-radius:10px;background:var(--surface-subtle,#f8fafc);border:1px solid var(--border,#e2e5e9);font-size:.84rem;line-height:1.4}.employee-access-note svg{flex:0 0 auto;margin-top:1px;color:var(--primary,#2563eb)}.employee-row-actions{align-items:center}.employee-management-page .employee-primary-tabs{margin-bottom:12px}.employee-management-page .employee-primary-tabs .btn{min-height:40px}@media(max-width:760px){.employee-help-card{padding:10px 11px}.employee-row-actions{grid-template-columns:1fr 1fr!important}.employee-access-modal .form-section-title{margin-bottom:0}.employee-access-note{font-size:.82rem}}@media(max-width:390px){.employee-row-actions{grid-template-columns:1fr!important}}.field-assignment-panel{display:grid;gap:12px}.field-assignment-list{display:grid;gap:8px}.field-assignment-row{display:grid;grid-template-columns:minmax(220px,1.8fr) repeat(4,minmax(80px,.7fr)) auto;gap:12px;align-items:center;padding:11px 12px;border:1px solid var(--border,#e2e5e9);border-radius:12px;background:var(--surface,#fff)}.field-assignment-person{display:flex;align-items:center;gap:10px;min-width:0}.field-assignment-person>div:last-child{display:grid;gap:2px;min-width:0}.field-assignment-person span{font-size:.78rem;color:var(--muted,#667085);overflow-wrap:anywhere}.field-assignment-stat{display:grid;gap:2px}.field-assignment-stat small{font-size:.68rem;text-transform:uppercase;letter-spacing:.035em;color:var(--muted,#667085);font-weight:700}.field-assignment-stat strong{font-size:.9rem}.field-assignment-actions{display:flex;justify-content:flex-end;margin:8px 0 12px}@media(max-width:900px){.field-assignment-row{grid-template-columns:minmax(0,1fr) repeat(2,minmax(72px,.45fr))}.field-assignment-row>.field-assignment-stat:nth-of-type(3),.field-assignment-row>.field-assignment-stat:nth-of-type(4){display:none}.field-assignment-row>.btn{grid-column:1/-1;justify-content:center}}@media(max-width:600px){.field-assignment-row{grid-template-columns:1fr 1fr;padding:10px}.field-assignment-person{grid-column:1/-1}.field-assignment-stat{padding:7px 8px;border-radius:9px;background:var(--surface-subtle,#f8fafc)}.field-assignment-row>.btn{min-height:42px}.field-assignment-actions .btn{width:100%;justify-content:center}}.search-select-trigger-copy{display:flex;min-width:0;flex:1;flex-direction:column;align-items:flex-start;gap:1px;text-align:left;line-height:1.15}.search-select-trigger-copy>span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.search-select-trigger-copy>small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:500;opacity:.72}.search-select-trigger-copy.placeholder>span{font-weight:500}@media(max-width:640px){.search-select-trigger-copy>span{font-size:15px}.search-select-trigger-copy>small{font-size:12px}}.search-select-tags{display:flex!important;flex-wrap:wrap;gap:4px;margin-top:4px;max-width:100%}.search-select-tag{display:inline-flex!important;align-items:center;max-width:100%;padding:2px 7px;border-radius:999px;background:#eef2f7;border:1px solid #d5dde8;color:#445269;font-size:10px;font-style:normal;font-weight:700;line-height:1.35;white-space:nowrap}.search-select-option.selected .search-select-tag{background:#fff;border-color:#e3aeb5;color:#8d1120}.search-select-trigger-copy .search-select-tags{margin-top:3px}.search-select-trigger-copy .search-select-tag{font-size:9px;padding:1px 6px}@media(max-width:640px){.search-select-tag{font-size:11px;padding:2px 7px}.search-select-trigger-copy .search-select-tag{font-size:10px}}.customer-route-list{display:grid;gap:8px}.customer-route-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--border);border-radius:10px}.customer-route-row>div:first-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.customer-route-row small{width:100%;color:var(--muted)}.customer-route-editor{display:grid;grid-template-columns:minmax(220px,2fr) minmax(140px,1fr) minmax(100px,.7fr) auto auto;gap:10px;align-items:end}.route-assignment-note{padding:10px 12px;border:1px dashed var(--border);border-radius:10px;color:var(--muted)}@media(max-width:720px){.customer-route-row{align-items:flex-start;flex-direction:column}.customer-route-row .row-actions{width:100%}.customer-route-row .row-actions .btn{flex:1}.customer-route-editor{grid-template-columns:1fr}.customer-route-editor .btn{width:100%}}.route-customer-tools{display:flex;align-items:end;justify-content:flex-end;gap:10px;flex-wrap:wrap;flex:1}.route-customer-search{min-width:260px;max-width:420px;flex:1}.route-customer-search input{width:100%}.vehicle-route-tags{display:flex;flex-wrap:wrap;gap:5px;align-items:center}@media(max-width:700px){.route-customer-tools{width:100%;align-items:stretch}.route-customer-search{min-width:100%;max-width:none}.route-customer-tools label{flex:1;min-width:140px}.route-customer-tools .btn{min-height:42px}}.field-route-tags{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.field-route-stat{min-width:0}.field-route-stat .search-select-tag{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:900px){.field-assignment-row>.field-route-stat{display:grid!important}}@media(max-width:600px){.field-route-stat{grid-column:1/-1}.field-route-tags{margin-top:2px}.field-route-stat .search-select-tag{max-width:150px}}.erp-breadcrumb{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 10px;color:#64748b;font-size:12px}.erp-breadcrumb button{border:0;background:transparent;padding:0;color:#2563eb;font:700 12px inherit;cursor:pointer}.erp-breadcrumb strong{color:#334155}.erp-breadcrumb-module{font-weight:700;color:#64748b}@media(max-width:700px){.erp-breadcrumb{margin:0 0 8px;font-size:11px}.erp-breadcrumb button{font-size:11px}}.pinned-shortcuts{margin:4px 0 8px}.pinned-shortcuts-head{display:flex;align-items:center;justify-content:space-between;padding:7px 10px;color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.pinned-shortcuts-head span{display:flex;align-items:center;gap:6px}.pinned-shortcut-row{display:flex;align-items:center;gap:4px;padding:0 5px}.pinned-shortcut-row>button:first-child{flex:1;min-width:0;border:0;background:transparent;color:inherit;text-align:left;padding:8px 7px;border-radius:8px;cursor:pointer}.pinned-shortcut-row>button:first-child:hover{background:#94a3b81f}.pinned-shortcut-row span,.pinned-shortcut-row small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pinned-shortcut-row span{font-size:12px;font-weight:700}.pinned-shortcut-row small{font-size:10px;color:#94a3b8;margin-top:2px}.pin-remove{width:28px;height:28px;border:0;background:transparent;color:#94a3b8;border-radius:7px;display:grid;place-items:center;cursor:pointer}.pin-remove:hover{background:#fee2e2;color:#b91c1c}.breadcrumb-pin{margin-left:2px!important;width:auto!important;height:24px!important;padding:0 8px!important;border:1px solid #bfdbfe!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;gap:5px!important;color:#1d4ed8!important;background:#eff6ff!important;font-size:10px!important;font-weight:800!important;line-height:1!important;white-space:nowrap}.breadcrumb-pin:hover{background:#dbeafe!important}.breadcrumb-pin.active{color:#a16207!important;background:#fef3c7!important;border-color:#fde68a!important}.breadcrumb-pin span{font-size:10px;font-weight:800}@media(max-width:700px){.breadcrumb-pin{height:22px!important;padding:0 7px!important;gap:4px!important}.breadcrumb-pin span{font-size:9px}}.route-summary-card{display:grid;gap:10px;align-content:start}.route-summary-card>h3,.route-summary-card>p{margin:0}.route-card-tags{display:grid;gap:7px;margin:2px 0}.route-card-tag-group{display:grid;gap:4px}.route-card-tag-group>small{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--muted,#667085)}.route-card-tag-group>div{display:flex;flex-wrap:wrap;gap:5px}.route-card-tag{display:inline-flex;align-items:center;max-width:100%;padding:3px 8px;border-radius:999px;border:1px solid transparent;font-size:11px;font-weight:800;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-card-tag.salesman{background:#ede9fe;border-color:#c4b5fd;color:#6d28d9}.route-card-tag.vehicle{background:#e0f2fe;border-color:#7dd3fc;color:#0369a1}.route-card-tag.empty{background:#f3f4f6;border-color:#e5e7eb;color:#6b7280}.customer-route-fix-target{scroll-margin:110px}.direct-fix-target{outline:2px solid rgba(37,99,235,.32);outline-offset:4px;border-radius:10px}@media(max-width:640px){.route-card-tag{font-size:11px}.route-summary-card{gap:9px}.route-card-tags{grid-template-columns:1fr}}.page-wrap>.erp-breadcrumb+.page-header{margin-top:-2px}.erp-breadcrumb{padding:6px 8px;margin-left:-8px;margin-right:-8px;border-radius:10px;background:linear-gradient(90deg,#f8fafc,#f8fafc00 75%)}.page-header{padding-bottom:15px;border-bottom:1px solid #e9edf3;margin-bottom:16px}.page-header h1{font-size:26px;line-height:1.18}.page-header p{max-width:720px;line-height:1.45}.page-actions{align-items:center;flex-wrap:wrap;justify-content:flex-end}.context-tag{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:3px 8px;border-radius:999px;border:1px solid transparent;font-size:11px;font-weight:800;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.context-tag.route{background:#ecfdf3;border-color:#a7f3d0;color:#047857}.context-tag.staff{background:#f3e8ff;border-color:#d8b4fe;color:#7e22ce}.context-tag.vehicle{background:#e0f2fe;border-color:#7dd3fc;color:#0369a1}.context-tag.warehouse{background:#fff7ed;border-color:#fed7aa;color:#c2410c}.context-tag.status{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.context-tag.neutral{background:#f8fafc;border-color:#e2e8f0;color:#475569}.context-tag.warning{background:#fff7ed;border-color:#fed7aa;color:#b45309}.context-tag.success{background:#ecfdf3;border-color:#a7f3d0;color:#047857}.context-tag.danger{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.ux-filter-toolbar,.filter-bar{background:#fff;border:1px solid #e4e8ef;border-radius:12px;padding:10px 12px;box-shadow:0 1px 2px #0f172a06}.toolbar-count{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:4px 9px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:11px;font-weight:800;white-space:nowrap}.selection-action-bar{position:sticky;bottom:14px;z-index:16;margin:10px auto 12px;max-width:900px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border:1px solid #bfdbfe;border-radius:13px;background:#fffffff5;box-shadow:0 12px 34px #0f172a24;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.selection-action-count{display:flex;align-items:center;gap:7px;color:#334155}.selection-action-count strong{display:grid;place-items:center;min-width:28px;height:28px;padding:0 7px;border-radius:9px;background:#1d4ed8;color:#fff;font-size:13px}.selection-action-count span{font-size:12px;font-weight:800}.selection-action-buttons{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.ux-empty-state{display:flex;align-items:center;justify-content:center;gap:12px;min-height:118px;padding:24px;border:1px dashed #cbd5e1;border-radius:14px;background:#fbfdff;color:#64748b;text-align:left}.ux-empty-state>svg{flex:0 0 auto;color:#94a3b8}.ux-empty-state>div:not(.ux-empty-action){display:grid;gap:3px}.ux-empty-state strong{color:#334155;font-size:14px}.ux-empty-state span{font-size:12px;line-height:1.45}.ux-empty-state.success>svg{color:#059669}.ux-empty-action{margin-left:10px}.table-card tbody tr{transition:background .14s ease,box-shadow .14s ease}.table-card tbody tr:hover{background:#f8fbff;box-shadow:inset 3px 0 #bfdbfe}.table-card td .btn.small{transition:transform .12s ease,box-shadow .12s ease}.table-card td .btn.small:hover{transform:translateY(-1px)}.route-detail-header{padding:13px 14px;background:#fff;border:1px solid #e4e8ef;border-radius:14px}.route-detail-header>div:first-child{display:grid;gap:7px}.route-detail-context{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.route-summary-card{transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}.route-summary-card:hover{transform:translateY(-1px);box-shadow:0 8px 24px #0f172a12;border-color:#cbd5e1}.route-summary-card>.btn{justify-self:start}.issue-resolution-list{display:grid;gap:10px}.issue-resolution-card{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px 15px;border:1px solid #e4e8ef;border-radius:14px;background:#fff;box-shadow:0 1px 2px #0f172a08}.issue-resolution-card.error{border-left:4px solid #dc2626}.issue-resolution-card.missing_setup{border-left:4px solid #d97706}.issue-resolution-card.warning{border-left:4px solid #f59e0b}.issue-resolution-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#f8fafc;color:#64748b}.issue-resolution-card.error .issue-resolution-icon{background:#fef2f2;color:#b91c1c}.issue-resolution-card.missing_setup .issue-resolution-icon,.issue-resolution-card.warning .issue-resolution-icon{background:#fff7ed;color:#b45309}.issue-resolution-main{min-width:0}.issue-resolution-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:#64748b;font-size:11px}.issue-resolution-meta b{color:#475569}.issue-resolution-main h3{font-size:14px;margin:7px 0 3px;color:#1e293b}.issue-resolution-main p{margin:0 0 6px;color:#475569;font-size:12px;line-height:1.45}.issue-resolution-main>small{display:block;color:#64748b;line-height:1.45}.issue-fix-action{align-self:center;white-space:nowrap}.orders-route-summary-head{margin-top:14px}.route-summary-name{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.route-summary-title{font:inherit;font-weight:650;color:var(--text,#1f2937);line-height:1.35}.route-order-count-tag{display:inline-flex;align-items:center;min-height:20px;padding:2px 7px;border:1px solid #dbe4ef;border-radius:999px;background:#f8fafc;color:#64748b;font-size:10px;font-weight:800;line-height:1;white-space:nowrap}.issue-empty-state{margin:0;border:0;border-top:1px solid #e5e7eb;border-radius:0;background:#fff}@media(max-width:760px){.erp-breadcrumb{padding:5px 6px;margin-left:-6px;margin-right:-6px}.page-header{padding-bottom:12px}.page-header h1{font-size:1.4rem}.selection-action-bar{bottom:76px;margin-left:0;margin-right:0;align-items:flex-start;flex-direction:column}.selection-action-buttons{width:100%;display:grid;grid-template-columns:1fr 1fr}.selection-action-buttons .btn{justify-content:center;min-height:40px}.issue-resolution-card{grid-template-columns:auto 1fr}.issue-fix-action{grid-column:1/-1;width:100%;justify-content:center}.issue-resolution-icon{width:30px;height:30px}.issue-resolution-main h3{font-size:13px}.route-detail-header{align-items:flex-start}.route-detail-header>div:last-child{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:7px}.route-detail-header>div:last-child .btn{justify-content:center}.ux-empty-state{align-items:flex-start;justify-content:flex-start;min-height:auto}.ux-empty-action{margin-left:auto}}@media(max-width:480px){.selection-action-buttons{grid-template-columns:1fr}.route-detail-header>div:last-child{grid-template-columns:1fr}.context-tag{font-size:10px}.issue-resolution-card{padding:12px}.ux-empty-state{flex-wrap:wrap}.ux-empty-action{width:100%;margin-left:36px}}.table-card .table-scroll thead th,.issue-table-wrap thead th{position:sticky;top:0;z-index:2;box-shadow:0 1px #e5e7eb}.ux-result-count{font-size:12px;font-weight:800;color:#64748b;white-space:nowrap;align-self:center}.delivery-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.delivery-review-head p{margin:4px 0 0;color:#64748b}.delivery-review-card>p{line-height:1.5}.delivery-review-card .context-tag{margin-top:4px}@media(max-width:620px){.ux-result-count{width:100%}.delivery-review-head{flex-direction:column}.delivery-review-head .context-tag{align-self:flex-start}}.context-tag-stack{display:flex;flex-wrap:wrap;gap:5px;align-items:center}.filter-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:0}.filter-actions>label{display:flex;align-items:center;gap:6px;color:#64748b;font-size:12px;font-weight:700;white-space:nowrap}.filter-actions>label select,.filter-actions>label input{min-width:120px}.table-card td[data-label=Actions],.table-card td[data-label=Action]{white-space:normal}.table-card .row-actions{flex-wrap:wrap}.table-card .row-actions .btn{white-space:nowrap}.table-card .empty{white-space:normal;line-height:1.5}.panel-title-row{gap:12px;flex-wrap:wrap}.bulk-select-control{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:750;color:#475569}.bulk-select-control input{width:16px;height:16px}@media(max-width:760px){.filter-actions{width:100%;justify-content:stretch}.filter-actions>label{flex:1 1 145px;display:grid;gap:4px;white-space:normal}.filter-actions>label select,.filter-actions>label input{width:100%;min-width:0}.filter-actions>.btn{flex:1 1 auto;justify-content:center}.filter-actions>.ux-result-count{flex-basis:100%}.context-tag-stack{align-items:flex-start}}@media(max-width:520px){.filter-actions>label,.filter-actions>.btn{flex-basis:100%}.table-card .row-actions{display:grid;grid-template-columns:1fr;width:100%}.table-card .row-actions .btn{width:100%;justify-content:center;white-space:normal}}.order-route-group{margin:16px 0 22px;border:1px solid var(--border,#dfe3e8);border-radius:12px;overflow:hidden;background:var(--surface,#fff)}.order-route-group-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 14px;background:var(--surface-muted,#f7f8fa);border-bottom:1px solid var(--border,#dfe3e8)}.order-route-group-head h3{margin:0 0 3px;font-size:1rem}.order-route-group-head span{font-size:.82rem;color:var(--muted,#68707d)}.bulk-select-control.compact{font-size:.82rem;white-space:nowrap}.orders-route-summary-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:18px 0 10px}.orders-route-summary-head h3{margin:0;font-size:1.05rem}.orders-route-summary-head span,.orders-route-summary-head small{color:var(--muted,#68707d);font-size:.82rem}.route-summary-name{display:flex;flex-direction:column;gap:2px}.route-summary-name small{color:var(--muted,#68707d)}.route-count{display:inline-flex;min-width:30px;justify-content:center;padding:3px 8px;border-radius:999px;background:var(--surface-muted,#f2f4f7);font-weight:700}.route-count.attention{background:#fff4e5;color:#8a4b00}.route-count.ready{background:#eaf7ef;color:#196b38}.route-orders-focus{display:grid;grid-template-columns:42px minmax(260px,1fr) auto;align-items:center;gap:16px;margin:18px 0 12px;padding:18px 20px;border:1px solid #eadcdf;border-radius:16px;background:linear-gradient(180deg,#fff,snow);box-shadow:0 3px 12px #211a1c0d}.route-back-button{width:40px;height:40px;border:1px solid #d8dde5;border-radius:11px;background:#fff;display:inline-flex;align-items:center;justify-content:center;color:#30343b;cursor:pointer;box-shadow:0 1px 2px #1018280a;transition:.16s ease}.route-back-button:hover{background:#f7f8fa;border-color:#c8ced8;transform:translate(-1px)}.route-focus-main{display:flex;flex-direction:column;gap:7px;min-width:0}.route-focus-title{display:flex;align-items:center;gap:10px;min-width:0}.route-focus-title h3{margin:0;font-size:1.18rem;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#17191d}.route-focus-kicker{font-size:.66rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#7a6065;background:#f8eef0;border:1px solid #f0dfe2;padding:4px 7px;border-radius:999px;flex:0 0 auto}.route-focus-meta{display:flex;align-items:center;gap:8px;color:#6b7280;font-size:.86rem}.route-focus-meta strong{color:#20242a;font-size:.92rem}.route-meta-dot{opacity:.45}.route-focus-stats{display:grid;grid-template-columns:repeat(3,minmax(104px,1fr));gap:10px}.route-stat{min-width:104px;padding:11px 13px;border:1px solid #e3e7ed;border-radius:12px;background:#fff;display:flex;flex-direction:column;gap:3px;box-shadow:0 1px 2px #10182806}.route-stat b{font-size:1.14rem;line-height:1.1;color:#20242a}.route-stat span{font-size:.72rem;color:#68707d;white-space:nowrap}.route-stat:nth-child(1) b{color:#9a5b00}.route-stat:nth-child(2) b{color:#0f7a45}.route-stat:nth-child(3) b{color:#3b5ccc}.route-action-toolbar{margin:0 0 10px;padding:10px 12px;border:1px solid #e4e7ec;border-radius:12px;background:#fff;align-items:center;gap:12px;box-shadow:0 1px 2px #10182806}.route-action-toolbar .bulk-select-control{font-size:.86rem;color:#394150;min-height:34px;display:flex;align-items:center;gap:8px}.route-action-toolbar .bulk-select-control input{width:16px;height:16px;accent-color:#dc1028}.route-action-toolbar .btn{margin-left:auto}.route-action-toolbar small{display:none}@media(max-width:900px){.route-orders-focus{grid-template-columns:42px minmax(0,1fr)}.route-focus-stats{grid-column:1/-1;width:100%}}@media(max-width:760px){.order-route-group-head,.orders-route-summary-head{align-items:flex-start;flex-direction:column}.order-route-group-head .row-actions{width:100%;flex-wrap:wrap}.route-orders-focus{padding:14px;gap:12px}.route-focus-stats{grid-template-columns:repeat(3,1fr);gap:7px}.route-stat{min-width:0;padding:9px}.route-stat span{white-space:normal}.route-action-toolbar{align-items:stretch;flex-direction:column}.route-action-toolbar .btn{width:100%;margin-left:0}}@media(max-width:520px){.route-focus-stats{grid-template-columns:1fr}.route-focus-title{align-items:flex-start;flex-direction:column;gap:6px}.route-focus-title h3{white-space:normal}.route-focus-meta{flex-wrap:wrap}}.direct-fix-target{outline:2px solid var(--primary,#2563eb);outline-offset:2px;box-shadow:0 0 0 4px #2563eb14}.sidebar{background:#d90820;color:#fff}.sidebar .brand,.sidebar .sidebar-footer{border-color:#ffffff40}.sidebar .brand small,.sidebar .user-mini small,.sidebar .logout-btn{color:#fff}.sidebar .brand-mark{background:#fff;color:#d90820}.sidebar .avatar{background:#aa0619;color:#fff}.sidebar .nav-list a{background:transparent;color:#fff;border-left:3px solid transparent}.sidebar .nav-list a:hover,.sidebar .logout-btn:hover{background:#bb071c;color:#fff}.sidebar .nav-list a.active{background:#a50618;color:#fff;border-left-color:#fff;font-weight:750}.sidebar .nav-list a:focus-visible,.sidebar .logout-btn:focus-visible{outline:2px solid #fff;outline-offset:-2px}.sidebar .nav-chevron{opacity:.8}@media screen{.modal.invoice-editor-modal,.modal.billing-create-modal{display:flex;flex-direction:column;height:auto!important;max-height:calc(100dvh - 32px)!important;width:min(1320px,96vw)!important}.invoice-editor-modal .modal-head,.billing-create-modal .modal-head{flex-shrink:0;background:#f8faff}.invoice-editor-modal .modal-head h2{overflow-wrap:anywhere}.invoice-editor-modal .invoice-edit-form{display:flex;flex-direction:column;min-height:0;overflow:hidden}.invoice-edit-scroll{overflow-y:auto;min-height:0;overscroll-behavior:contain;scrollbar-gutter:stable;align-content:start;gap:12px}.invoice-edit-scroll>p{margin:0;font-size:12px;line-height:1.6}.invoice-edit-footer{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 20px;border-top:1px solid #dce5f2;background:#f8faff}.invoice-edit-footer small{display:block;color:#64748b;margin-top:3px}.invoice-editor-modal .invoice-edit-lines{display:grid;gap:12px;overflow:visible;max-height:none;padding:0}.invoice-editor-modal .invoice-edit-line{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;padding:12px;border:1px solid #dce5f0;border-radius:12px;background:#fff;box-shadow:none;margin:0}.invoice-edit-line:nth-child(2n){background:#f6f9fc}.invoice-edit-line>.search-select-field{grid-column:span 4;min-width:0}.invoice-edit-line>div:nth-child(2){grid-column:span 3;display:flex;align-items:center;justify-content:flex-end;gap:12px;font-size:12px}.invoice-edit-line>div:nth-child(2) p{margin:0;font-weight:750;white-space:nowrap}.invoice-edit-line label{min-width:0;font-size:11px;gap:5px}.invoice-edit-line input,.invoice-edit-line select{min-height:38px;padding:8px!important}.invoice-edit-line .search-select-trigger{min-height:40px}.billing-create-modal>.billing-dispatch-form{overflow-y:auto;min-height:0;overscroll-behavior:contain;scrollbar-gutter:stable}.billing-create-modal .order-footer{position:sticky;bottom:-20px;background:#fff;padding:14px 0;border-top:1px solid #e1e8f2;z-index:2}.billing-dispatch-form label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#556176;font-weight:600}.billing-dispatch-form select,.invoice-editor-modal select{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #ccd9e9;border-radius:10px;padding:10px 34px 10px 12px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364758b' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 10px center;color:#233955;min-height:40px}.billing-create-modal .search-select-trigger,.invoice-editor-modal .search-select-trigger{border:1px solid #ccd9e9;border-radius:10px;background:#fff;padding:10px 12px;gap:10px;min-width:0;width:100%;text-align:left;transition:border-color .15s,box-shadow .15s}.billing-create-modal .search-select-trigger:hover,.invoice-editor-modal .search-select-trigger:hover{border-color:#709bce;background:#f8fbff}.search-select-trigger:focus-visible{outline:2px solid #407ac4;outline-offset:2px}.search-select-trigger>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-select-trigger>svg{flex-shrink:0}.search-select-portal-menu{display:flex;flex-direction:column;border:1px solid #cddbeb;border-radius:12px;box-shadow:0 12px 36px #1f35542e;overflow:hidden}.search-select-portal-menu .search-select-options{min-height:0;max-height:none;overflow:auto;flex:1}.search-select-portal-menu .search-select-search{flex-shrink:0}.search-select-portal-menu .search-select-option:focus-visible{outline:2px solid #407ac4;outline-offset:-2px;background:#eaf2ff}@media(max-width:1000px){.invoice-editor-modal .invoice-edit-line{grid-template-columns:repeat(4,minmax(0,1fr))}.invoice-edit-line>.search-select-field{grid-column:span 2}.invoice-edit-line>div:nth-child(2){grid-column:span 2;flex-wrap:wrap}}@media(max-width:760px){.modal.invoice-editor-modal,.modal.billing-create-modal{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}.invoice-edit-scroll{padding:12px}.invoice-editor-modal .invoice-edit-line{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-edit-line>.search-select-field,.invoice-edit-line>div:nth-child(2){grid-column:1/-1}.invoice-edit-footer{padding:12px;flex-wrap:wrap}.invoice-edit-footer .form-actions{margin-left:auto}}}.sidebar .menu-search{display:flex;align-items:center;gap:8px;margin:14px 12px 0;padding:8px 10px;background:#b6071b;border:1px solid rgba(255,255,255,.35);border-radius:9px;color:#fff}.sidebar .menu-search input{min-width:0;width:100%;padding:0;background:transparent;border:0;color:#fff;outline:none;font-size:13px}.sidebar .menu-search:focus-within{outline:2px solid #fff;outline-offset:2px}.sidebar .menu-search input::placeholder{color:#fff;opacity:.85}.sidebar .menu-search button{display:grid;place-items:center;background:transparent;border:0;color:#fff;padding:2px}.sidebar .nav-list{flex:1;min-height:0;padding-top:10px}.sidebar .menu-group{border-top:1px solid rgba(255,255,255,.22);padding-top:5px;margin-top:5px}.sidebar .menu-group-toggle{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;padding:10px 9px;border:0;border-radius:7px;background:transparent;color:#fff;text-align:left;font-size:12px;font-weight:750}.sidebar .menu-group-toggle:hover,.sidebar .menu-group-toggle.current{background:#5a000033}.sidebar .menu-group-toggle:focus-visible{outline:2px solid #fff;outline-offset:-2px}.sidebar .menu-group-toggle svg{transform:rotate(-90deg);transition:transform .15s}.sidebar .menu-group-toggle svg.rotated{transform:rotate(0)}.sidebar .menu-group .nav-list{padding:0}.sidebar .menu-group a{margin-top:3px;font-size:13px;padding:9px 12px}.sidebar .menu-empty{padding:12px;font-size:13px;color:#fff}.sidebar .brand .icon-btn{color:#fff;flex-shrink:0}.sidebar .sidebar-footer{flex-shrink:0}.stts-upload{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.stts-upload h3{margin-top:0}.stts-upload p{margin:8px 0}.stts-upload small{color:#606b80}.stts-file{position:absolute;width:1px;height:1px;opacity:0}.stts-upload label:focus-within{outline:2px solid #d90820;outline-offset:3px}.stts-preview{margin-bottom:20px}.stts-preview details{padding:12px 0;border-bottom:1px solid #e6e9ef}.stts-preview summary{cursor:pointer;padding:8px 0}.stts-table-wrap{overflow-x:auto}.stts-table-wrap table{width:100%;border-collapse:collapse}.stts-table-wrap th,.stts-table-wrap td{padding:10px;text-align:left;border-bottom:1px solid #e6e9ef;font-size:13px}.stts-preview .form-actions{margin-top:16px}@media(max-width:760px){.stts-upload{align-items:flex-start;flex-direction:column}}.stts-entry-modal .stts-entry-lines{min-width:0;max-height:45vh;overflow:auto;border:1px solid #e6e9ef;border-radius:8px}.stts-entry-lines table{width:100%;min-width:900px;border-collapse:separate;border-spacing:0;table-layout:fixed}.stts-entry-lines th,.stts-entry-lines td{padding:8px 6px;text-align:left;border-bottom:1px solid #e6e9ef;font-size:13px}.stts-entry-lines thead th{position:sticky;top:0;z-index:1;background:#f5f7fb;white-space:normal;overflow-wrap:break-word;line-height:1.35;vertical-align:middle;text-transform:none;letter-spacing:normal}.stts-entry-lines th:first-child{width:38px;text-align:center}.stts-entry-lines th:nth-child(2){width:120px}.stts-entry-lines th:nth-child(4){width:180px}.stts-entry-lines th:nth-child(5),.stts-entry-lines th:nth-child(6){width:90px}.stts-entry-lines th:last-child{width:85px}.stts-entry-lines input{width:100%;min-width:0;padding:8px}.stts-entry-lines tbody tr:last-child td,.stts-entry-lines tbody tr:last-child th{border-bottom:0}.stts-entry-lines:focus-visible{outline:2px solid #d90820;outline-offset:2px}.bulk-route-vehicle-cell{min-width:220px}@media(max-width:760px){.bulk-route-vehicle-cell{min-width:170px}.bulk-route-vehicle-cell select,.bulk-route-vehicle-cell input{width:100%;max-width:100%;box-sizing:border-box}}.sidebar .smart-search-results{display:grid;gap:6px;padding:10px 9px 14px}.sidebar .smart-search-head{display:flex;justify-content:space-between;align-items:center;padding:2px 4px 6px;color:#fff}.sidebar .smart-search-head small{opacity:.82;font-size:11px}.sidebar .smart-search-result{width:100%;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;text-align:left;border:1px solid rgba(255,255,255,.18);background:#ffffff14;color:#fff;border-radius:10px;padding:9px 10px;cursor:pointer}.sidebar .smart-search-result:hover,.sidebar .smart-search-result:focus-visible{background:#fff;color:#9b0b1e;outline:0}.sidebar .smart-result-main{display:grid;gap:2px;min-width:0}.sidebar .smart-result-main strong{font-size:13px}.sidebar .smart-result-main small{font-size:10.5px;line-height:1.25;opacity:.82}.sidebar .smart-result-tag{flex:0 0 auto;max-width:110px;border:1px solid transparent;border-radius:999px;padding:3px 7px;font-size:9px;font-weight:800;line-height:1.2;text-align:center;opacity:1;white-space:normal}.sidebar .smart-result-tag--home{background:#e0e7ff;color:#3730a3;border-color:#a5b4fc}.sidebar .smart-result-tag--sales{background:#dcfce7;color:#166534;border-color:#86efac}.sidebar .smart-result-tag--billing{background:#fef3c7;color:#92400e;border-color:#fcd34d}.sidebar .smart-result-tag--customers{background:#cffafe;color:#155e75;border-color:#67e8f9}.sidebar .smart-result-tag--payments{background:#d1fae5;color:#065f46;border-color:#6ee7b7}.sidebar .smart-result-tag--delivery{background:#dbeafe;color:#1e40af;border-color:#93c5fd}.sidebar .smart-result-tag--routes{background:#e0f2fe;color:#075985;border-color:#7dd3fc}.sidebar .smart-result-tag--products{background:#f3e8ff;color:#6b21a8;border-color:#d8b4fe}.sidebar .smart-result-tag--purchasing{background:#ffedd5;color:#9a3412;border-color:#fdba74}.sidebar .smart-result-tag--finance{background:#fae8ff;color:#86198f;border-color:#f0abfc}.sidebar .smart-result-tag--employees{background:#fce7f3;color:#9d174d;border-color:#f9a8d4}.sidebar .smart-result-tag--setup{background:#e5e7eb;color:#374151;border-color:#9ca3af}.sidebar .smart-result-tag--default{background:#f1f5f9;color:#334155;border-color:#cbd5e1}.sidebar .smart-search-empty{display:grid;gap:4px;padding:12px 8px;color:#fff;font-size:12px}.sidebar .smart-search-empty span{opacity:.82;line-height:1.35}@media(max-width:760px){.sidebar .smart-search-result{min-height:52px;padding:10px}.sidebar .smart-result-main strong{font-size:14px}.sidebar .smart-result-main small{font-size:11px}.sidebar .smart-result-tag{font-size:9.5px}}:root{--brand-red:#d90820;--brand-red-dark:#a50618;--brand-tint:#fff1f2;--brand-border:#edcdd1;--brand-ink:#282125;--brand-muted:#6e6268}@media screen{body,.app-shell{background:#faf7f7;color:var(--brand-ink)}.app-shell .topbar{background:#fff;border-bottom:2px solid var(--brand-red);box-shadow:0 3px 14px #500f190a}.app-shell .topbar strong{color:var(--brand-red-dark)}.app-shell .page-header h1{color:var(--brand-ink)}.app-shell .page-header p{color:var(--brand-muted)}.app-shell .panel,.app-shell .table-card,.app-shell .record-card,.app-shell .empty-card{border-color:#eadfe1;box-shadow:0 2px 8px #500f1906}.app-shell .stat-card,.app-shell .daily-kpis article{background:#fff;border-color:#eadfe1;border-top:3px solid var(--brand-red);box-shadow:0 3px 12px #500f190a}.app-shell .stat-card strong,.app-shell .daily-kpis article strong{color:var(--brand-ink)}.app-shell .stat-card span,.app-shell .daily-kpis article>span{color:var(--brand-muted)}.app-shell .stat-icon,.app-shell .structure-icon{background:var(--brand-tint);color:var(--brand-red)}.app-shell .btn,.modal .btn,.login-panel .btn{border-color:#dfcdd1;color:#5f2630;background:#fff}.app-shell .btn:not(:disabled):hover,.modal .btn:not(:disabled):hover,.login-panel .btn:not(:disabled):hover{background:var(--brand-tint);border-color:var(--brand-red)}.app-shell .btn.primary,.modal .btn.primary,.login-panel .btn.primary{background:var(--brand-red);border-color:var(--brand-red);color:#fff;box-shadow:0 2px 5px #a906181f}.app-shell .btn.primary:not(:disabled):hover,.modal .btn.primary:not(:disabled):hover,.login-panel .btn.primary:not(:disabled):hover{background:var(--brand-red-dark);border-color:var(--brand-red-dark);color:#fff}.app-shell .btn.primary.attention-btn{background:var(--brand-red)!important;border-color:var(--brand-red)!important;color:#fff!important}.app-shell .btn.danger,.modal .btn.danger{background:#fff;color:#a50618;border-color:#d8a5ae}.app-shell .btn.danger:not(:disabled):hover,.modal .btn.danger:not(:disabled):hover{background:#fff1f2;border-color:#a50618}.btn:disabled{cursor:not-allowed;box-shadow:none}.app-shell .ops-shortcut.active{background:var(--brand-tint);color:var(--brand-red-dark);border-color:var(--brand-border)}.app-shell .home-view-tabs button.active,.app-shell .report-tabs button.active{background:var(--brand-red);border-color:var(--brand-red);color:#fff}.app-shell .dashboard-custom-actions a,.app-shell .portal-actions a{background:#fff;border-color:var(--brand-border);color:var(--brand-red-dark)}.app-shell .dashboard-custom-actions a:hover,.app-shell .portal-actions a:hover{background:var(--brand-tint);border-color:var(--brand-red)}.app-shell .shortcut-option.selected,.app-shell .search-select-option.selected,.modal .search-select-option.selected{background:var(--brand-tint);border-color:var(--brand-border);color:var(--brand-red-dark)}.app-shell .table-card thead th,.app-shell .table-scroll thead th,.modal .stts-entry-lines thead th,.app-shell .stts-table-wrap thead th{background:#fff1f2;color:#782331;border-bottom-color:var(--brand-border)}.app-shell .table-card tbody tr:hover,.app-shell .stts-table-wrap tbody tr:hover{background:#fff8f8}.app-shell .selected-order-card,.app-shell .date-range-toolbar{background:#fff;border-color:var(--brand-border)}.modal .modal-head{background:#fff5f5;border-bottom:2px solid var(--brand-red)}.modal .modal-head h2{color:var(--brand-red-dark)}.app-shell input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,.app-shell select:focus,.app-shell textarea:focus,.modal input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,.modal select:focus,.modal textarea:focus,.login-panel input:focus{border-color:var(--brand-red);box-shadow:0 0 0 3px #d908201f;outline:none}.app-shell input[type=checkbox],.app-shell input[type=radio],.modal input[type=checkbox],.modal input[type=radio]{accent-color:var(--brand-red)}.app-shell .search-box:focus-within{border-color:var(--brand-red);box-shadow:0 0 0 3px #d9082014}.app-shell .search-box input:focus,.app-shell .sidebar input:focus{box-shadow:none}.app-shell :is(button,a):focus-visible,.modal :is(button,a):focus-visible{outline:2px solid var(--brand-red-dark);outline-offset:3px}.app-shell .sidebar :is(button,a):focus-visible{outline-color:#fff}.login-page{background:radial-gradient(ellipse at top left,#ffe3e6,transparent 65%),#faf7f7}.login-panel{border-color:var(--brand-border);border-top:5px solid var(--brand-red);box-shadow:0 20px 55px #640f1e17}.login-brand h1{color:var(--brand-red-dark)}}:root{--status-info:#1e40af;--status-warning:#92400e;--status-error:#b91c1c;--status-success:#166534}.alert.info,.alert:not(.error):not(.warning):not(.warn):not(.success){color:var(--status-info);background:#eff6ff;border:1px solid #bfdbfe}.alert.warning,.alert.warn,.report-warning{color:var(--status-warning);background:#fffbeb;border:1px solid #fcd34d}.alert.error{color:var(--status-error);background:#fef2f2;border:1px solid #fecaca}.alert.success{color:var(--status-success);background:#f0fdf4;border:1px solid #bbf7d0}.text-info,.field-hint,.report-note span,.order-preview-note.alert.info span{color:var(--status-info)}.text-warning,.report-warning span{color:var(--status-warning)}.text-error{color:var(--status-error)}.text-success{color:var(--status-success)}.new-order-action-copy span{color:var(--status-info)}.billing-dispatch-form .address-summary-head small,.billing-dispatch-form label>small,.pricing-rate-note,.user-password-note{color:var(--status-info)}.order-reservation-warning,.order-reservation-warning span,.correction-warning,.correction-warning p,.correction-warning span{color:var(--status-warning)}.order-reservation-warning,.correction-warning{background:#fffbeb;border-color:#fcd34d}:root{--control-height: 40px;--control-radius: 9px;--control-border: #d9deea;--control-text: #25324a;--control-focus: #d90820}:is(.app-shell,.modal,.login-panel,.quick-calculator) :is(select,textarea,input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden])):not(.sidebar *),.search-select-trigger{border:1px solid var(--control-border);border-radius:var(--control-radius);background-color:#fff;color:var(--control-text);font-size:14px;padding:9px 11px}:is(.app-shell,.modal,.login-panel,.quick-calculator) :is(select,input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden])):not(.sidebar *),.search-select-trigger{min-height:var(--control-height)}:is(.app-shell,.modal,.login-panel,.quick-calculator) select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364758b' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}.form-grid select{width:100%}.search-select-field .field-label{font-size:13px;color:#556176;margin-bottom:7px}.search-select-trigger{width:100%;text-align:left;gap:8px}.search-select-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.search-select-trigger>svg{flex-shrink:0}.search-select-trigger:disabled{opacity:.6;cursor:not-allowed}.search-select-trigger:focus-visible,.search-select-search:focus-within{outline:2px solid var(--control-focus);outline-offset:2px}.search-select-portal-menu{border-color:var(--control-border);border-radius:var(--control-radius);color:var(--control-text)}.search-select-option span{font-size:14px}.search-select-option small{font-size:12px}.search-select-option:hover,.search-select-option.selected,.search-select-option:focus-visible{background:#fff1f2;color:#a50618}.search-select-option:focus-visible{outline:2px solid var(--control-focus);outline-offset:-2px}.search-select-option.selected span{color:#a50618}.search-select-search input{font:inherit;color:var(--control-text)}.btn{min-height:var(--control-height);border-radius:var(--control-radius);cursor:pointer}.btn.small{min-height:32px}.btn:focus-visible,.icon-btn:focus-visible{outline:2px solid var(--control-focus);outline-offset:3px}.form-actions{flex-wrap:wrap}@media screen{body:has(.modal-backdrop){overflow:hidden}.modal-backdrop{overflow:auto;padding:12px!important;box-sizing:border-box;align-items:center!important}.modal-backdrop :is(.modal,.confirm-card){display:block!important;height:auto!important;max-height:calc(100vh - 24px)!important;max-height:calc(100dvh - 24px)!important;min-height:0;min-width:0;max-width:100%!important;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;box-sizing:border-box}.modal *{overscroll-behavior-y:auto}.modal>.modal-head{position:sticky;top:0;z-index:10;background:#fff;flex-shrink:0}.modal-head h2{min-width:0;overflow-wrap:anywhere}.modal-head .icon-btn{flex-shrink:0}.modal>:not(.modal-head),.modal :is(.invoice-edit-scroll,.customer-360-body,.structure-detail-body,.detail-stack,.modal-body){max-height:none!important;min-height:0;overflow:visible!important}.modal .form-actions{position:static;background:#fff;padding-top:12px;padding-bottom:max(12px,env(safe-area-inset-bottom));border-top:1px solid #e8ebf0}.modal :is(.invoice-edit-footer,.order-footer){position:static}body:has(.modal-backdrop) .pwa-status{display:none}}.billing-tabs{display:flex;gap:6px;border-bottom:1px solid #dfe5ee;margin-bottom:20px}.billing-tabs [role=tab]{border:0;border-bottom:3px solid transparent;background:transparent;color:#64748b;padding:13px 16px;font:inherit;font-weight:650;cursor:pointer}.billing-tabs [aria-selected=true]{color:#a50618;border-bottom-color:#d90820;background:#fff1f2}.billing-tabs [role=tab]:focus-visible{outline:2px solid #d90820;outline-offset:-2px}.billing-create-panel{border:1px solid #e1e6ee;border-radius:14px;background:#fff}.billing-create-panel .billing-dispatch-form{max-width:1200px;margin:0 auto}.billing-create-panel .order-footer{position:static;padding-top:18px;border-top:1px solid #e1e6ee}.billing-empty{margin:0 0 18px;padding:14px;background:#f8fafc;border-radius:9px;color:#64748b}@media(max-width:600px){.billing-tabs [role=tab]{padding:12px 10px;font-size:13px}.billing-create-panel .billing-dispatch-form{padding:14px}}.bulk-order-picker{border:1px solid #e1e6ee;border-radius:12px;overflow:hidden;background:#fff}.bulk-order-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#f8fafc;border-bottom:1px solid #e1e6ee;font-size:13px}.bulk-check{display:flex;align-items:center;gap:8px;cursor:pointer}.bulk-order-list{display:flex;flex-direction:column;max-height:420px;overflow:auto}.bulk-order-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid #eef1f5;cursor:pointer}.bulk-order-row:last-child{border-bottom:0}.bulk-order-row>div{display:flex;flex-direction:column;gap:2px;min-width:0}.bulk-order-row span,.bulk-order-row small{color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bulk-order-row.disabled{opacity:.55;cursor:not-allowed;background:#fafafa}.bulk-billing-form textarea{width:100%;resize:vertical}@media(max-width:700px){.bulk-order-row{grid-template-columns:auto minmax(0,1fr)}.bulk-order-row>strong{grid-column:2}}.pwa-status{position:fixed;bottom:max(12px,env(safe-area-inset-bottom));right:max(12px,env(safe-area-inset-right));z-index:1000;display:grid;gap:8px;max-width:min(390px,calc(100vw - 24px));pointer-events:none}.pwa-status>*{pointer-events:auto}.pwa-notice,.pwa-install{padding:12px;background:#fff;color:#172033;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 4px 18px #0002;font-size:14px;line-height:1.5}.pwa-install{justify-self:end}.pwa-install p{margin:8px 0 0}.pwa-notice .btn{margin-top:8px}@media(display-mode:standalone){body{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}}@media print{.pwa-status{display:none!important}}.pwa-status.pwa-status-inline{position:static;max-width:760px;width:100%;margin:0 auto 16px;pointer-events:auto}.pwa-status-inline:empty{display:none}.pwa-status-inline .pwa-install{justify-self:stretch;padding:10px 12px;box-shadow:none}.pwa-status-inline .pwa-install>.btn{min-height:44px}.pwa-status-inline .pwa-notice{box-shadow:none}.pwa-status-inline #pwa-install-help{overflow-wrap:anywhere}.pwa-status.pwa-status-header{position:relative;inset:auto;margin-left:auto;flex:0 0 auto;max-width:100%;pointer-events:auto;z-index:40}.pwa-status-header:empty{display:none}.pwa-status-header .pwa-install{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.pwa-status-header .pwa-install>.btn{min-height:44px;white-space:nowrap}.pwa-status-header #pwa-install-help{position:absolute;top:calc(100% + 8px);right:0;width:min(340px,calc(100vw - 24px));max-height:60dvh;overflow:auto;padding:14px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 4px 18px #0002;overflow-wrap:anywhere}.pwa-status-header #pwa-install-help .btn{margin-top:12px}.pwa-status-header .pwa-notice{max-width:min(340px,calc(100vw - 24px));white-space:normal}.customer-bottom-nav{display:none}.customer-order,.customer-orders{max-width:760px;margin:auto}.customer-order-fields{border:0;padding:0;margin:0;min-width:0}.customer-order-item,.customer-orders>.panel{margin:16px 0}.customer-item-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.customer-item-heading h2{font-size:1.05rem;margin:0}.customer-quantity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.customer-quantity-grid label,.customer-notes{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:14px;font-weight:600}.customer-quantity-grid input,.customer-notes textarea{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;border:1px solid #d9deea;border-radius:9px;padding:12px;background:#fff;color:inherit;font:inherit;font-size:16px;min-height:48px}.customer-quantity-grid input:focus,.customer-notes textarea:focus{outline:2px solid var(--brand-red,#d90820);outline-offset:2px}.customer-quantity-grid input:disabled{background:#f3f4f6;color:#687384;cursor:not-allowed}.customer-quantity-grid input[type=number]{-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.customer-quantity-grid input::-webkit-inner-spin-button,.customer-quantity-grid input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.customer-notes{margin:24px 0}.customer-notes textarea{min-height:88px}.customer-order-submit{padding:16px 0}.customer-order-submit .btn,.customer-order-cta{min-height:48px;width:100%;justify-content:center}.customer-order-cta{margin-bottom:20px}.customer-shell .record-line{gap:12px;flex-wrap:wrap;overflow-wrap:anywhere}.customer-shell .page-wrap{min-width:0}@media(max-width:767px){.customer-shell .page-wrap{padding:16px 12px 110px}.customer-shell .content{min-width:0;width:100%}.customer-shell .topbar{gap:8px;padding:10px 12px}.customer-shell .topbar .muted,.customer-shell .top-user{display:none}.customer-shell h1{font-size:1.5rem}.customer-shell .btn,.customer-shell select,.customer-shell input,.customer-shell .search-select-trigger{min-height:44px}.customer-shell input,.customer-shell select,.customer-shell textarea{font-size:16px;max-width:100%;min-width:0}.customer-shell .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-shell .dashboard-grid,.customer-shell .form-grid{grid-template-columns:minmax(0,1fr)}.customer-shell .span-2{grid-column:1}.customer-shell .portal-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.customer-shell .portal-actions a{padding:14px;text-align:center}.customer-shell .table-scroll{overflow:visible}.customer-shell .table-card table,.customer-shell .table-card tbody,.customer-shell .table-card tr,.customer-shell .table-card td{display:block;width:100%;min-width:0}.customer-shell .table-card thead{display:none}.customer-shell .table-card tr{padding:12px;border-bottom:1px solid #dce3eb;box-sizing:border-box}.customer-shell .table-card td{display:flex;justify-content:space-between;gap:12px;border:0;padding:7px 0;white-space:normal;box-sizing:border-box;overflow-wrap:anywhere}.customer-shell .table-card td[data-label]:not([data-label=""]):before{content:attr(data-label);font-weight:600;flex:0 0 32%}.customer-shell .toolbar,.customer-shell .date-range-toolbar,.customer-shell .page-header{flex-wrap:wrap}.customer-shell .modal{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:90dvh;overflow:auto}.customer-shell .customer-bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;background:#fff;border-top:1px solid #dce3eb;padding:8px 8px calc(8px + env(safe-area-inset-bottom));justify-content:space-around;gap:4px}.customer-bottom-nav a{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:48px;font-size:12px;text-decoration:none;color:#506075;border-radius:10px}.customer-bottom-nav a.active{background:#edf5ff;color:#174e91;font-weight:700}.customer-shell .customer-order-submit{position:sticky;bottom:76px;background:#fff;padding:12px 0;z-index:2}}.customer-review-item{border:1px solid #e2e8f0;border-radius:12px;padding:16px;margin:12px 0;overflow-wrap:anywhere}.customer-review-item h3{margin:0 0 8px;font-size:16px;color:var(--brand-ink,#282125)}.customer-review-item p{margin:8px 0;color:#506075}.customer-review-item small{display:block;margin-top:8px;color:#506075}@media(max-width:900px){html{touch-action:pan-x pan-y}body input,body select,body textarea{font-size:16px!important}}
