.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}}.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}.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}}.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}}.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}}.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}}: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}}.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}: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}}.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}
