:root{color-scheme:light;--ink:#26352e;--muted:#7a857f;--line:#e5eae7;--paper:#fff;--bg:#f6f8f7;--green:#237b59;--green-soft:#eaf4ee;--red:#ba514c;--red-soft:#fbefed;--amber:#b1822f;--amber-soft:#fcf4e4;--teal:#358b8c;--blue:#5086ac;--violet:#8c7bb0}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 "Segoe UI",Arial,sans-serif;letter-spacing:0}button,input,select,textarea{font:inherit;letter-spacing:0}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.43;cursor:not-allowed}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{color:inherit}svg.lucide{width:18px;height:18px;flex:none}button svg.lucide{pointer-events:none}h1,h2,h3,p{margin:0}h1{font-size:27px;line-height:1.25;font-weight:650}h2{font-size:16px;font-weight:650}h3{font-size:14px;font-weight:650;margin:27px 0 12px}strong{font-weight:600}small{font-size:11px}button:focus-visible,a:focus-visible{outline:2px solid var(--green);outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #237b5933;border-color:#7baf93}input,select,textarea{color:var(--ink);border:1px solid #dce3de;background:white;border-radius:5px;padding:9px 11px;min-width:0}input[type=number]{font-variant-numeric:tabular-nums}input[type=checkbox]{width:16px;height:16px;accent-color:var(--green);cursor:pointer}textarea{resize:vertical}input[type=search]::-webkit-search-cancel-button{cursor:pointer}[hidden]{display:none!important}
.app-shell{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:100vh}.sidebar{height:100vh;position:sticky;top:0;background:#192c25;color:#e0e8e2;display:flex;flex-direction:column;padding:28px 14px 16px;z-index:20}.brand{display:flex;gap:12px;align-items:center;padding:0 10px 31px}.brand-symbol{height:40px;width:40px;border:1px solid #617b6d;border-radius:7px;display:grid;place-items:center;background:#293e33}.brand-symbol svg{width:23px;height:23px;color:#d5e3d5}.brand strong{font-size:27px;font-weight:700;line-height:1;display:block;color:#fff}.brand-dot{color:#a6ca7d}.brand small{display:block;margin-top:7px;font-size:8px;color:#9aad9f;font-weight:600}.workspace-label{font-size:9px;color:#7d9685;padding:13px 12px 15px;line-height:1.2;font-weight:600}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;align-items:center;gap:12px;border-radius:5px;min-height:44px;padding:10px 12px;font-size:12px;color:#becdc3;position:relative}.nav-item>span{flex:1}.nav-item>svg{width:17px;height:17px;color:#90a99a}.nav-item:hover{background:#263c31}.nav-item.active{color:#fff;background:#344c3d}.nav-item.active::before{content:"";width:3px;height:17px;background:#b5d38f;position:absolute;left:0;border-radius:2px}.nav-item.active>svg{color:#d4e4bf}.nav-item b{font-size:10px;line-height:20px;min-width:20px;text-align:center;border-radius:4px;background:#ffffff0d;color:#c8d6ca;font-weight:500}.sidebar-bottom{margin-top:auto;padding:24px 8px 0;display:flex;align-items:center;gap:7px;font-size:9px;color:#8da493;border-top:1px solid #ffffff0b}.demo-light{height:5px;width:5px;border-radius:50%;background:#b0bf83}.version{margin-left:auto;color:#647e6d}.main{min-width:0;padding:27px 30px 0}.topbar{display:flex;justify-content:space-between;align-items:center;gap:22px;min-height:55px;margin-bottom:22px}.page-heading{display:flex;gap:14px;align-items:center;min-width:0}.breadcrumb{font-size:9px;font-weight:600;color:#8a948d;margin-bottom:6px}.breadcrumb>span:first-child{padding:0 9px;color:#b6bdb8}.breadcrumb>span:last-child{color:#657c6b}.demo-tag{border:1px solid #dbdfcf;background:#f2f4e9;color:#81855e;font-size:9px;line-height:22px;padding:0 7px;border-radius:4px;white-space:nowrap;align-self:flex-end;margin-bottom:2px}.top-actions{display:flex;align-items:center;gap:12px}.search-field{display:flex;align-items:center;gap:8px;color:#8b978e}.search-field input{width:185px;border:0;background:none;font-size:11px;padding:8px 0}.search-field svg{width:15px;height:15px}.button{min-height:36px;padding:8px 13px;border:1px solid #dce3de;background:#fff;border-radius:5px;font-size:11px;line-height:18px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:normal;text-align:center}.button:hover{background:#f0f4f1}.button svg{width:15px;height:15px}.button.primary{background:var(--green);border-color:var(--green);color:white}.button.primary:hover{background:#1b6749}.button.small{min-height:30px;font-size:10px;padding:5px 9px}.button.danger{color:var(--red)}.icon-button{padding:0;display:inline-grid;place-items:center;width:34px;height:34px;min-width:34px;border:1px solid transparent;background:transparent;border-radius:5px;color:#7b8b80}.icon-button:hover{background:#eaf0ec;border-color:#dfe8e1}.icon-button.compact{width:26px;min-width:26px;height:28px}.icon-button.compact svg{height:14px;width:14px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;color:var(--green);font-size:11px;padding:4px 0;font-weight:600}.text-button svg{width:14px;height:14px}.text-button:hover{color:#144c37;text-decoration:underline}.mobile-menu{display:none}.date-strip{display:flex;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);min-height:53px;gap:18px;margin-bottom:0}.date-controls{display:flex;align-items:center;gap:5px}.date-controls input{border:0;background:transparent;font-size:11px;max-width:133px;padding:6px 3px;font-weight:600}.date-controls .text-button{margin-left:7px;font-size:10px}.date-description{text-transform:capitalize;font-size:11px;color:var(--muted)}.shift-label{margin-left:auto;display:flex;align-items:center;gap:6px;color:var(--muted);font-size:10px}.dot{width:5px;height:5px;display:inline-block;border-radius:50%;background:var(--green)}.metrics-band{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line);padding:26px 0 24px}.metric{padding:0 26px;border-right:1px solid var(--line);min-width:0}.metric:first-child{padding-left:0}.metric:last-child{border-right:0;padding-right:0}.metric>span{font-size:11px;color:#79867d}.metric>div{display:flex;align-items:baseline;gap:9px;line-height:1.3;margin:7px 0 6px}.metric strong{font-size:31px;font-weight:600;white-space:nowrap;line-height:1.2}.metric-unit{font-size:12px;color:#94a095}.metric>small{font-size:10px;color:var(--muted);display:block}.text-green{color:var(--green)!important}.text-red{color:var(--red)!important}.text-amber{color:var(--amber)!important}.subtle{color:var(--muted);font-size:11px}.strong{font-weight:600}.number{text-align:right!important;font-variant-numeric:tabular-nums}.nowrap{white-space:nowrap}.mono{font-family:Consolas,"Courier New",monospace;font-size:11px}.push-right{margin-left:auto}.full-width{width:100%}
.overview-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px;border-bottom:1px solid var(--line)}.unframed{min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:23px 0 16px;min-height:65px}.section-heading>div:first-child{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;min-width:0}.section-heading h2{font-size:15px}.section-heading .subtle{font-size:10px}.attention-section{border-left:1px solid var(--line);padding-left:24px;min-width:0}.attention-section .section-heading>div:first-child{display:block}.attention-section .section-heading .subtle{display:block;margin-top:5px}.table-wrap{overflow-x:auto;overscroll-behavior-x:contain;width:100%;max-width:100%}table{width:100%;border-collapse:collapse;font-size:11px;line-height:1.5}th{font-size:9px;font-weight:500;color:#88958b;background:#f0f4f1;white-space:nowrap;padding:10px 12px;text-align:left;border-bottom:1px solid var(--line)}th:first-child{border-radius:4px 0 0 0}th:last-child{border-radius:0 4px 0 0}td{padding:15px 12px;border-bottom:1px solid var(--line);vertical-align:middle}td:first-child,th:first-child{padding-left:10px}td:last-child,th:last-child{padding-right:10px}td>strong{display:block}td>small{display:block;margin-top:4px;color:#8b978f;font-size:9px}tr:last-child>td{border-bottom:0}.clickable{cursor:pointer}.clickable:hover td{background:#eef3ef}.station-cell{display:flex;align-items:center;gap:9px;min-width:140px}.station-cell strong{font-size:11px;white-space:nowrap}.station-cell small{display:block;color:var(--muted);font-size:9px;margin-top:2px}.station-icon{width:31px;height:31px;display:grid;place-items:center;border-radius:5px;background:#eaf2ef;color:var(--green);flex:none}.station-icon svg{width:16px;height:16px}.station-icon.teal{background:#e6f1ef;color:#458b86}.station-icon.blue{background:#e8eef4;color:#6489ae}.station-icon.gray{background:#ecefeb;color:#839083}.station-icon.amber{background:#f8f0e3;color:#b08b49}.station-icon.violet{background:#efebf5;color:#9380b3}.station-icon.green{background:#e9f2e9;color:#7b9b6d}.load-table td{padding-top:12px;padding-bottom:12px}.load-table th:nth-child(2){width:39%}.load-line{display:flex;gap:10px;align-items:center;min-width:160px}.load-line>strong{font-size:10px;min-width:33px;text-align:right;font-weight:500}.load-bar{height:6px;background:#e7ede8;display:flex;position:relative;width:100%;min-width:85px;border-radius:2px}.bar-done{background:#659b7c;border-radius:2px 0 0 2px}.bar-planned{background:#ccdaca}.load-bar b{width:2px;height:12px;background:#bac4b8;position:absolute;top:-3px;transform:translateX(-2px)}.chart-legend{display:flex;gap:17px;align-items:center;flex-wrap:wrap;font-size:9px;color:var(--muted);padding:17px 0 22px}.chart-legend>span{display:flex;align-items:center;gap:6px}.legend-dot{width:7px;height:7px;border-radius:2px;display:inline-block}.legend-dot.done{background:#659b7c}.legend-dot.planned{background:#ccdaca}.legend-line{width:2px;height:10px;background:#bac4b8}.attention-list{display:flex;flex-direction:column}.attention-item{display:flex;align-items:flex-start;gap:11px;padding:17px 0;border:0;border-bottom:1px solid var(--line);background:none;text-align:left;width:100%;color:var(--ink)}.attention-item:hover{background:#eef3ef}.attention-item>span:nth-child(2){flex:1;min-width:0}.attention-item strong{display:block;font-size:11px;line-height:1.6}.attention-item small{font-size:9px;color:#7f8b83;display:block;margin-top:5px}.attention-time{display:block;font-size:9px;color:#9ba59d;margin-top:10px}.attention-item>svg{width:12px;height:12px;margin-top:4px;color:#98a89d}.attention-icon{width:27px;height:27px;min-width:27px;display:grid;place-items:center;border-radius:5px;background:var(--red-soft);color:var(--red);margin-top:2px}.attention-icon.amber{background:var(--amber-soft);color:var(--amber)}.attention-icon svg{width:14px;height:14px}.attention-link{margin:18px 0 20px}.badge{font-size:9px;line-height:19px;min-height:19px;display:inline-flex;align-items:center;justify-content:center;padding:1px 7px;border-radius:4px;background:#edf0ed;color:#7a877d;white-space:nowrap;font-weight:500}.badge.green{background:var(--green-soft);color:#4c8967}.badge.red{background:var(--red-soft);color:var(--red)}.badge.amber{background:var(--amber-soft);color:var(--amber)}.badge.blue{background:#eaf0f7;color:#6487b4}.badge.gray{background:#ecefed;color:#7b877e}.batch-section{border-bottom:1px solid var(--line);padding-bottom:10px}.batch-table{min-width:820px}.batch-table td{padding-top:13px;padding-bottom:13px}.batch-table th:nth-child(2){width:26%}.cell-arrow{width:24px;color:#abb6ad}.cell-arrow svg{width:13px;height:13px}.product-cell{display:flex;align-items:center;gap:10px;min-width:170px}.product-cell strong{font-size:11px;display:block}.product-cell small{font-size:9px;color:#8e9b91;display:block;margin-top:3px;font-family:Consolas,monospace}.product-thumb{width:37px;height:37px;min-width:37px;background:#edf2ee;border:1px solid #e2e9e3;border-radius:4px;display:grid;place-items:center}.product-thumb>svg{width:32px;height:30px}.product-thumb.large{width:95px;height:95px}.product-thumb.large>svg{width:85px;height:80px}.mini-track{height:3px;background:#e7ede8;width:55px;margin-top:7px;margin-left:auto;border-radius:1px;overflow:hidden}.mini-track span{display:block;background:#87ad91;height:100%}.bottom-band{padding:18px 0 10px}.tomorrow-note{display:flex;align-items:center;gap:12px}.tomorrow-note>svg{color:#9b9870;width:21px;height:21px}.tomorrow-note>div{flex:1}.tomorrow-note strong{font-size:11px;display:block}.tomorrow-note span{font-size:10px;color:#859387;display:block;margin-top:3px}.page-footer{display:flex;justify-content:space-between;gap:20px;padding:25px 0 18px;font-size:9px;color:#a0aba2}.page-footer>span:first-child{font-size:8px;font-weight:600}.view-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);margin:17px 0 0;padding:0 0 13px}.tabs{display:flex;align-items:stretch;gap:22px;min-width:0;overflow-x:auto}.tabs>button{border:0;background:none;color:#86948a;padding:12px 0;font-size:12px;white-space:nowrap;position:relative;display:flex;align-items:center;gap:7px}.tabs>button.active{color:var(--green);font-weight:600}.tabs>button.active::after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--green)}.filter-row{display:flex;align-items:center;gap:12px;padding:17px 0;flex-wrap:wrap}.select-label{display:inline-flex;align-items:center;gap:7px;color:#798b7d}.select-label>svg{width:14px;height:14px}.select-label select{padding:7px 9px;font-size:11px;border-radius:4px}.event-list{border-top:1px solid var(--line)}.event-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:13px 1px}.event-row>span:nth-child(2){flex:1;min-width:0}.event-row strong{font-size:11px;display:block}.event-row small{font-size:9px;color:var(--muted);display:block;margin-top:3px}.event-row time{font-size:10px;color:#8c9a90}.event-dot{width:25px;height:25px;background:#edf2ee;color:#819987;display:grid;place-items:center;border-radius:50%;flex:none}.event-dot svg{width:12px;height:12px}.segmented{display:inline-flex;padding:3px;background:#edf1ee;border:1px solid #e2e7e3;border-radius:5px;gap:3px}.segmented>button{border:0;background:none;padding:5px 10px;border-radius:3px;font-size:10px;display:flex;gap:6px;align-items:center;color:#829087}.segmented>button svg{width:13px;height:13px}.segmented>button.selected{background:white;color:var(--ink);box-shadow:0 1px 3px #213b2910}.week-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid var(--line);border-radius:5px;overflow:hidden}.day-cell{text-align:left;border:0;border-right:1px solid var(--line);background:transparent;padding:18px;display:flex;flex-direction:column;gap:7px}.day-cell:last-child{border-right:0}.day-cell:hover,.day-cell.selected{background:#eef5ef}.day-cell>span:first-child{font-size:11px;text-transform:capitalize;color:#6d8373}.day-cell>strong{font-size:23px;font-weight:600;margin:7px 0 0}.day-cell>strong small{font-size:11px;color:var(--muted);font-weight:400}.day-cell>small{font-size:10px;color:var(--muted)}.day-cell>.badge{align-self:flex-start;margin-top:9px}.products-table td{padding-top:23px;padding-bottom:23px}.products-table .product-thumb{width:55px;height:55px;min-width:55px}.products-table .product-thumb>svg{width:48px;height:45px}.purchase-summary{display:flex;gap:28px;align-items:center;justify-content:space-between;padding:19px 0 26px}.purchase-summary>div:first-child{display:flex;flex-direction:column;gap:3px}.purchase-summary>div:first-child>strong{font-size:27px;font-weight:600}.purchase-summary small{font-size:10px;color:var(--muted)}.budget-field{display:flex;flex-direction:column;gap:7px;font-size:10px;color:var(--muted)}.budget-field input{max-width:145px;font-size:15px;background:var(--paper)}.budget-remaining{display:flex;flex-direction:column;gap:7px}.budget-remaining strong{font-size:19px;font-weight:500}.check-cell{width:32px}.batch-links{display:flex;gap:2px;flex-direction:column;align-items:flex-start}.batch-links>.text-button{padding:1px 0;font-size:9px;font-weight:400}.station-title{display:flex;align-items:center;gap:12px;padding:19px 0 25px;border-bottom:1px solid var(--line)}.station-title .station-icon{width:42px;height:42px}.station-title .station-icon svg{height:22px;width:22px}.station-title h2{font-size:21px;font-weight:600;margin-bottom:2px}.station-jobs{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;padding:22px 0}.job-card{border:1px solid var(--line);border-radius:6px;padding:18px;background:var(--paper)}.job-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.job-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:25px 0}.job-counts>div{display:flex;flex-direction:column;gap:7px}.job-counts span{font-size:10px;color:var(--muted)}.job-counts strong{font-size:24px;font-weight:500}.job-actions{display:flex;gap:10px;align-items:center;justify-content:space-between}.empty{padding:45px 15px!important;text-align:center!important;color:var(--muted);font-size:12px}
dialog{color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:7px;box-shadow:0 18px 70px #15271d25;padding:0;width:570px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 35px)}dialog::backdrop{background:#18342746;backdrop-filter:blur(2px)}#modal-form{padding:22px 25px}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.dialog-heading h2{font-size:19px;font-weight:600;line-height:1.4}.dialog-actions{border-top:1px solid var(--line);display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:25px;padding-top:18px}.dialog-actions .button{min-height:38px}.form-field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;font-size:11px}.form-field>span{color:#788b7d;font-size:10px}.form-field input,.form-field select,.form-field textarea{width:100%;font-size:12px;min-height:38px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.form-summary{display:flex;gap:12px;align-items:center;font-size:11px;line-height:1.7;padding:14px;background:#f1f5f2;border-radius:5px;margin:10px 0 20px;color:#6e8374}.form-summary>span{min-width:0}.form-summary strong{display:block;color:#456652;font-size:11px}.form-summary>svg{width:21px;height:21px;color:#72977c}.form-error{color:var(--red);background:var(--red-soft);font-size:12px;padding:12px;border-radius:4px}.drawer{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:540px;max-width:calc(100vw - 14px);border-radius:0;border:0;padding:23px 28px;overflow-y:auto;box-shadow:-10px 0 50px #15271d19}.drawer .dialog-heading{margin-bottom:25px}.eyebrow{font-size:9px;font-weight:600;color:#8a9b8e}.detail-hero{display:flex;gap:19px;align-items:center;margin:8px 0 24px}.detail-hero>div{min-width:0}.detail-hero h2{font-size:23px;line-height:1.3;margin:9px 0}.detail-hero p{color:var(--muted)}.detail-title{font-size:24px;line-height:1.3;margin:12px 0}.detail-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;margin:23px 0;gap:15px}.detail-stats>div{display:flex;flex-direction:column;gap:7px}.detail-stats span{color:var(--muted);font-size:10px}.detail-stats strong{font-size:17px;font-weight:500}.detail-list{display:grid;grid-template-columns:110px minmax(0,1fr);font-size:12px;row-gap:13px;margin:23px 0}.detail-list dt{color:var(--muted)}.detail-list dd{margin:0;overflow-wrap:break-word}.route-list{margin-top:9px}.route-step{display:flex;gap:13px;align-items:center;position:relative;padding:13px 0}.route-step:not(:last-child)::after{position:absolute;content:"";width:1px;height:18px;background:var(--line);bottom:-9px;left:13px}.route-step-number{height:28px;width:28px;min-width:28px;display:grid;place-items:center;border:1px solid #dfe7e0;border-radius:50%;font-size:10px;color:#869b8b;background:white;z-index:1}.route-step-number.complete{background:var(--green-soft);color:var(--green);border-color:#dceee1}.route-step-number svg{height:13px;width:13px}.route-step>div{flex:1;min-width:0}.route-step>div>strong{font-size:12px;display:block}.route-step small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.route-step>strong{font-size:11px}.route-total{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:15px 0;color:var(--muted)}.route-total strong{color:var(--ink)}.detail-note{font-size:12px;color:#7e8c82;background:#f3f6f3;padding:15px;line-height:1.8;border-radius:4px;margin:22px 0;white-space:pre-wrap;overflow-wrap:break-word}.drawer-actions{display:flex;gap:10px;flex-wrap:wrap;margin:25px 0 14px}.drawer-secondary{display:flex;justify-content:space-between;gap:15px;padding-top:15px}.bom-list>div{display:flex;align-items:center;gap:15px;justify-content:space-between;border-bottom:1px solid var(--line);padding:12px 0;font-size:11px}.bom-list>div>span{flex:1;min-width:0}.bom-list>div>strong{text-align:right;white-space:nowrap;font-weight:500}.settings-actions{display:flex;flex-direction:column;gap:12px}.file-label{cursor:pointer}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#243b2e;color:#f3f9f3;box-shadow:0 8px 28px #112c3020;padding:12px 20px;border-radius:6px;font-size:12px;z-index:200;max-width:calc(100vw - 30px);text-align:center;pointer-events:none}.mobile-scrim{position:fixed;inset:0;background:#172f2466;z-index:15}
@media(min-width:1600px){.main{padding-left:40px;padding-right:40px}.overview-grid{grid-template-columns:minmax(0,1fr) 330px;gap:30px}.attention-section{padding-left:30px}table{font-size:12px}th{font-size:10px}.station-cell strong,.product-cell strong{font-size:12px}.metric strong{font-size:34px}.metric>span{font-size:12px}.metric>small{font-size:11px}.load-table td{padding-top:14px;padding-bottom:14px}.attention-item strong{font-size:12px}.attention-item small{font-size:10px}.attention-item{padding:20px 0}.sidebar{padding-top:32px}.nav-item{font-size:13px}}
@media(max-width:1250px){.app-shell{grid-template-columns:192px minmax(0,1fr)}.sidebar{padding-left:9px;padding-right:9px}.main{padding:24px 23px 0}.overview-grid{grid-template-columns:minmax(0,1fr) 245px;gap:19px}.attention-section{padding-left:19px}.top-actions{gap:8px}.search-field input{width:135px}.metric{padding:0 19px}.metric strong{font-size:29px}.section-heading>div:first-child{gap:5px 10px}.load-table th:nth-child(2){width:32%}.load-line{min-width:120px}.load-table .station-cell{min-width:123px;gap:7px}.load-table .station-cell strong{font-size:10px}.load-table .station-icon{width:26px;height:26px}.load-table td,.load-table th{padding-left:7px;padding-right:7px}.brand{padding-left:8px;gap:9px}.brand small{font-size:7px}}
@media(max-width:1050px){.topbar{align-items:flex-start}.top-actions{gap:5px}.search-field{display:none}.metric{padding:0 14px}.metric strong{font-size:27px}.metric>span{font-size:10px}.metric>small{font-size:9px}.overview-grid{grid-template-columns:1fr}.attention-section{border-left:0;border-top:1px solid var(--line);padding-left:0}.attention-section>.section-heading{padding-top:18px}.attention-section .section-heading>div:first-child{display:flex;align-items:center;gap:12px}.attention-list{display:grid;grid-template-columns:1fr 1fr;gap:24px}.attention-item{padding-top:5px;padding-bottom:12px;border-bottom:0}.attention-link{margin:8px 0 15px}.chart-legend{padding-bottom:15px}.load-table .station-cell strong{font-size:12px}.load-table .station-cell{gap:10px;min-width:160px}.load-table .station-icon{width:31px;height:31px}.load-line{min-width:170px}.view-toolbar{align-items:flex-start}.tabs{gap:15px}.tabs button{font-size:11px}.purchase-summary{gap:17px;flex-wrap:wrap}.purchase-summary>div:first-child>strong{font-size:23px}.week-grid{overflow-x:auto}.day-cell{padding:13px}.day-cell>span:first-child{font-size:10px}.job-card{padding:15px}.station-jobs{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}}
@media(max-width:760px){.app-shell{grid-template-columns:minmax(0,1fr)}.sidebar{position:fixed;left:0;top:0;width:232px;transform:translateX(-100%);transition:transform .18s ease}.sidebar.opened{transform:translateX(0)}.sidebar .brand small{font-size:8px}.mobile-menu{display:inline-grid;margin-left:-5px}.main{padding:20px 18px 0}.topbar{margin-bottom:20px;gap:10px}.page-heading{gap:9px;flex-wrap:wrap;align-items:center}.breadcrumb{font-size:8px}.breadcrumb>span:first-child{padding:0 5px}h1{font-size:24px}.demo-tag{font-size:8px;line-height:20px;align-self:center;margin:0}.top-actions .primary{min-width:34px;width:34px;padding:0;min-height:34px}.top-actions .primary>span{display:none}.top-actions>.icon-button{display:none}.date-strip{min-height:48px;gap:8px}.date-description{display:none}.date-controls{gap:3px}.date-controls input{font-size:11px;width:126px;max-width:126px}.date-controls .text-button{font-size:9px;margin-left:5px}.shift-label{font-size:9px;gap:5px}.metrics-band{grid-template-columns:repeat(2,minmax(0,1fr));padding:0}.metric{padding:20px 14px!important;border-bottom:1px solid var(--line)}.metric:nth-child(2){border-right:0}.metric:nth-child(3),.metric:nth-child(4){border-bottom:0}.metric:nth-child(odd){padding-left:0!important}.metric:nth-child(even){padding-right:0!important}.metric>span{font-size:11px}.metric strong{font-size:29px}.metric>small{font-size:10px}.metric-unit{font-size:11px}.section-heading{padding-top:21px;padding-bottom:14px}.section-heading h2{font-size:14px}.section-heading>div:first-child{gap:3px 8px}.section-heading .subtle{font-size:9px}.section-heading>.text-button{font-size:10px;white-space:nowrap}.load-table .station-cell{min-width:135px}.load-table .station-cell strong{font-size:10px}.load-line{min-width:130px;gap:8px}.load-table td,.load-table th{padding-right:8px;padding-left:7px}.load-table td{padding-top:12px;padding-bottom:12px}.load-table .station-cell{gap:7px}.load-table .station-icon{height:27px;width:27px}.load-table th:nth-child(2){width:40%}.load-table th:last-child{min-width:95px}.chart-legend{font-size:8px;gap:12px}.attention-list{gap:18px}.attention-item{gap:8px}.attention-icon{height:23px;width:23px;min-width:23px}.attention-item strong{font-size:10px}.attention-item small{font-size:8px;line-height:1.5}.attention-time{font-size:8px}.attention-item>svg{display:none}.tomorrow-note{align-items:flex-start;gap:9px}.tomorrow-note>svg{width:18px;height:18px;margin-top:2px}.tomorrow-note>div{min-width:0}.tomorrow-note strong{font-size:10px}.tomorrow-note span{font-size:9px}.tomorrow-note>.text-button{font-size:10px;white-space:nowrap;align-self:center}.view-toolbar{gap:12px;flex-direction:column}.view-toolbar>.button{align-self:flex-start}.tabs{width:100%;gap:19px}.tabs>button{font-size:11px}.filter-row{gap:8px}.filter-row .subtle{margin-left:0;display:block;width:100%;font-size:9px}.filter-row .select-label select{font-size:10px}.week-grid{grid-template-columns:repeat(5,minmax(110px,1fr))}.segmented>button{font-size:9px;padding:5px 7px}.segmented>button svg{display:none}.purchase-summary{display:grid;grid-template-columns:1fr 1fr;gap:20px}.purchase-summary>.button{justify-self:end;align-self:center}.budget-field input{width:100%;max-width:100%}.purchase-summary>.budget-field{max-width:160px;justify-self:end}.purchase-summary>div:first-child>strong{font-size:26px}.budget-remaining strong{font-size:18px}.station-title{gap:9px;flex-wrap:wrap}.station-title h2{font-size:18px}.station-title>.button{font-size:10px;margin-left:auto}.station-title .station-icon{width:35px;height:35px}.station-jobs{grid-template-columns:1fr}.job-card{padding:18px}.job-counts{margin:22px 0}.drawer{padding:22px;max-width:calc(100vw - 10px)}.detail-hero{gap:14px}.detail-hero h2{font-size:21px}.product-thumb.large{width:78px;min-width:78px;height:78px}.product-thumb.large>svg{width:68px;height:65px}.detail-stats{gap:10px}.detail-stats strong{font-size:16px}.detail-list{grid-template-columns:90px minmax(0,1fr);font-size:11px}.detail-title{font-size:22px}.route-step{gap:10px}.route-step>div>strong{font-size:11px}.route-step>strong{font-size:10px}.drawer-actions .button{font-size:10px}.drawer-secondary .text-button{font-size:10px}#modal-form{padding:20px}.dialog-heading{gap:10px}.dialog-heading h2{font-size:18px}.form-grid{gap:0 12px}.dialog-actions{gap:8px}.dialog-actions .button{font-size:11px;padding-left:10px;padding-right:10px}.page-footer{padding-top:23px}.toast{font-size:11px}}
@media(min-width:761px){table{font-size:12px}th{font-size:10px}.nav-item{font-size:13px}.product-cell strong,.station-cell strong,.attention-item strong{font-size:12px}.station-cell small,.product-cell small,.attention-item small{font-size:10px}.badge{font-size:10px}.button{font-size:12px}.metric>span{font-size:12px}}
@media(max-width:760px){.sidebar{visibility:hidden;pointer-events:none;transition:none}.sidebar.opened{visibility:visible;pointer-events:auto}.top-actions>.icon-button{display:inline-grid}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
