:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--teal-950:#062f32;--teal-900:#073f42;--teal-800:#07585b;--teal-700:#007b7e;--teal-500:#00b8b8;--teal-100:#d9f5f3;--teal-50:#effbfa;--orange-600:#c94f00;--orange-500:#ff6a00;--orange-100:#ffe6d3;--orange-50:#fff6ef;--ink:#10292b;--ink-soft:#496365;--ink-muted:#526c6d;--surface:#fff;--surface-soft:#f4f8f7;--line:#dce9e7;--line-strong:#c5d9d6;--focus:#c94f00;--success:#0f766e;--success-soft:#e7f7f3;--warning:#9a4a00;--warning-soft:#fff4e8;--danger:#a53119;--danger-soft:#fff0ec;--font-sans:"Inter", "Avenir Next", "Segoe UI", sans-serif;--font-mono:"SFMono-Regular", Consolas, "Liberation Mono", monospace;--header-height:72px;--sidebar-width:432px;--radius-sm:12px;--radius-md:20px;--radius-lg:32px;--shadow-sm:0 8px 24px #062f3212;--shadow-md:0 24px 60px #062f321f;--shadow-lg:0 40px 100px #062f322e;--ease-standard:cubic-bezier(.22, 1, .36, 1);--duration-fast:.16s;--duration-standard:.22s;--z-map:0;--z-overlay:10;--z-header:40;--z-dialog:100}*,:before,:after{box-sizing:border-box}html,body{width:100%;min-width:320px;min-height:100%;margin:0}html{background:var(--surface-soft)}body{min-height:100dvh;color:var(--ink);background:var(--surface-soft);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font-size:14px;line-height:1.5;overflow:hidden}body::selection{color:var(--teal-950);background:var(--orange-100)}button,input,select,textarea{color:inherit;font:inherit}button,a,summary,label,select{-webkit-tap-highlight-color:transparent}button,summary,select{touch-action:manipulation}button:not(:disabled),summary,select,label[for]{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}img,svg{max-width:100%;display:block}a{color:inherit;text-decoration:none}h1,h2,h3,p,dl,dd,ul{margin:0}ul{padding:0;list-style:none}[hidden]{display:none!important}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.skip-link{z-index:1000;color:#fff;background:var(--teal-950);transition:transform var(--duration-fast) ease;border-radius:8px;padding:10px 16px;font-weight:700;position:fixed;top:12px;left:12px;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}.sr-only{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.fleet-shell{grid-template-rows:var(--header-height) minmax(0, 1fr);width:100%;height:100dvh;min-height:620px;display:grid;overflow:hidden}.fleet-header{z-index:var(--z-header);min-width:0;min-height:var(--header-height);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff5;border-bottom:1px solid #062f3217;justify-content:space-between;align-items:center;gap:24px;padding:0 24px;display:flex;position:relative;box-shadow:0 8px 30px #062f320b}.fleet-alert{z-index:calc(var(--z-dialog) - 1);top:calc(var(--header-height) + 12px);width:min(440px,100vw - 32px);min-height:52px;color:var(--danger);background:var(--danger-soft);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);border:1px solid #a531193d;grid-template-columns:22px minmax(0,1fr) 44px;align-items:center;gap:10px;padding:8px 8px 8px 14px;font-size:.82rem;font-weight:650;display:grid;position:fixed;right:16px}.fleet-alert>svg,.fleet-alert button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.fleet-alert button{width:44px;height:44px;color:inherit;background:0 0;border:0;border-radius:10px;place-items:center;padding:0;display:grid}.fleet-alert button:hover{background:#a5311914}.fleet-brand-group,.fleet-session{align-items:center;min-width:0;display:flex}.fleet-brand-group{gap:16px}.fleet-brand{align-items:center;min-height:44px;display:inline-flex}.fleet-brand img{width:150px;height:auto}.fleet-brand-divider{background:var(--line);width:1px;height:32px}.fleet-product{gap:1px;min-width:0;display:grid}.fleet-product-kicker,.panel-eyebrow{color:var(--teal-700);letter-spacing:.12em;text-transform:uppercase;font-size:.68rem;font-weight:800;line-height:1.3}.fleet-product strong{color:var(--teal-950);letter-spacing:-.01em;font-size:.94rem}.fleet-session{justify-content:flex-end;gap:10px}.operator-identity{max-width:240px;color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:600;overflow:hidden}.link-status,.panel-status{min-height:36px;color:var(--ink-muted);background:var(--surface-soft);border:1px solid var(--line);white-space:nowrap;transition:color var(--duration-fast) ease, background-color var(--duration-fast) ease, border-color var(--duration-fast) ease;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:7px 12px;font-size:.75rem;font-weight:700;display:inline-flex}.connection-mark{background:currentColor;border-radius:50%;flex:none;width:8px;height:8px;box-shadow:0 0 0 4px #526c6d1a}.link-status.live,.link-status[data-state=live]{color:var(--success);background:var(--success-soft);border-color:#0f766e3d}.link-status.live .connection-mark,.link-status[data-state=live] .connection-mark{box-shadow:0 0 0 4px #0f766e1f}.link-status.fault,.link-status[data-state=reconnecting]{color:var(--warning);background:var(--warning-soft);border-color:#9a4a003d}.button,.icon-button,.tab,.follow-toggle,.action-btn,.pending-actions button,.action-footer button{transition:color var(--duration-fast) ease, background-color var(--duration-fast) ease, border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease, opacity var(--duration-fast) ease, transform var(--duration-fast) ease;border:1px solid #0000;font-weight:700}.button{border-radius:999px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:10px 18px;line-height:1.2;display:inline-flex}.button svg,.icon-button svg,.follow-toggle svg{stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}.button-primary{color:#fff;background:var(--teal-900);box-shadow:0 10px 24px #073f422e}.button-primary:hover:not(:disabled){background:var(--teal-800);box-shadow:0 14px 30px #073f423d}.button-primary:active:not(:disabled){transform:translateY(1px)}.button-danger{color:#fff;background:var(--danger);border-color:var(--danger);box-shadow:0 10px 24px #a531192e}.button-danger:hover:not(:disabled){background:#842715;border-color:#842715}.button-stop{min-width:90px;color:var(--danger);background:var(--surface);border-color:#a531193d}.button-stop:hover:not(:disabled){background:var(--danger-soft);border-color:#a5311961}.fleet-workspace{grid-template-columns:var(--sidebar-width) minmax(0, 1fr);min-width:0;min-height:0;display:grid}.fleet-sidebar{z-index:2;background:var(--surface);border-right:1px solid var(--line);flex-direction:column;min-width:0;min-height:0;display:flex;position:relative;box-shadow:12px 0 36px #062f320e;container:fleet-sidebar/inline-size}.fleet-metrics{background:var(--surface-soft);border-bottom:1px solid var(--line);flex:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px 16px;display:grid}.metric{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);align-content:space-between;min-width:0;min-height:70px;padding:10px 11px;display:grid;box-shadow:0 4px 14px #062f3209}.metric-total{grid-column:span 1}.metric-drivers{grid-column:span 2}.metric dt{min-width:0;color:var(--ink-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.69rem;font-weight:700;line-height:1.25;overflow:hidden}.metric dd{color:var(--teal-950);font-variant-numeric:tabular-nums;letter-spacing:-.035em;font-size:1.23rem;font-weight:750;line-height:1.05}.metric-success dd,.driver-count-routed{color:var(--success)}.metric-warning dd,.driver-count-free{color:var(--warning)}.driver-split{align-items:baseline;gap:6px;display:flex}.driver-count-divider{color:var(--line-strong);font-weight:500}.fleet-tabs{background:var(--surface);border-bottom:1px solid var(--line);flex:none;grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12px;display:grid}.tab{min-width:0;min-height:50px;color:var(--ink-muted);background:0 0;border:0;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-size:.84rem;display:inline-flex;position:relative}.tab:hover:not(:disabled){color:var(--teal-800);background:var(--teal-50)}.tab.active,.tab[aria-selected=true]{color:var(--teal-950)}.tab.active:after,.tab[aria-selected=true]:after{content:"";background:var(--orange-500);border-radius:999px 999px 0 0;height:3px;position:absolute;bottom:-1px;left:18px;right:18px}.tab-badge{min-width:21px;height:21px;color:var(--teal-950);background:var(--orange-100);font-variant-numeric:tabular-nums;border:1px solid #c94f0029;border-radius:999px;place-items:center;padding:0 6px;font-size:.65rem;font-weight:800;display:inline-grid}.fleet-panels{flex:auto;min-height:0;display:flex;position:relative}.fleet-panel{background:var(--surface);flex-direction:column;width:100%;min-width:0;min-height:0;display:none}.fleet-panel.active,.fleet-panel:not([hidden]){display:flex}.panel-header{background:var(--surface);border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;gap:16px;min-height:65px;padding:12px 16px;display:flex}.panel-header>div,.route-inspector-header>div,.action-head>div{min-width:0}.panel-header h2,.route-inspector-header h3{color:var(--teal-950);letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:1rem;font-weight:750;line-height:1.2;overflow:hidden}.panel-status{min-height:30px;color:var(--teal-800);background:var(--teal-50);padding:5px 10px;font-size:.68rem}.route-workspace{background:var(--surface-soft);flex:auto;grid-template-rows:minmax(0,1fr);min-height:0;display:grid}.route-workspace:has(.route-inspector:not([hidden])){grid-template-rows:minmax(156px,38%) minmax(260px,62%)}.route-list-shell,.optimize-list-shell{flex-direction:column;min-width:0;min-height:0;display:flex}.route-list,.optimize-list,.route-inspector-body{overscroll-behavior:contain;scrollbar-color:var(--line-strong) transparent;scrollbar-width:thin;min-width:0;min-height:0;overflow:auto}.route-list,.optimize-list{flex:auto;padding:12px}.route-list>*+*,.optimize-list>*+*{margin-top:0}.route-inspector{background:var(--surface);border-top:1px solid var(--line-strong);flex-direction:column;min-width:0;min-height:0;display:flex;box-shadow:0 -14px 34px #062f3212}.route-inspector-header{border-bottom:1px solid var(--line);flex:none;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:8px;min-height:64px;padding:10px 16px 10px 12px;display:grid}.route-inspector-body{flex:auto;padding:14px}.virtual-spacer{pointer-events:none;width:100%}.route-row{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);width:100%;height:80px;transition:border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease, background-color var(--duration-fast) ease;margin-bottom:8px;position:relative;overflow:hidden;box-shadow:0 5px 16px #062f320b}.route-row:hover{box-shadow:var(--shadow-sm);border-color:#007b7e4d}.route-row.is-open{box-shadow:inset 3px 0 0 var(--orange-500), var(--shadow-sm);border-color:#007b7e57}.route-row:focus-within,.stop-card:focus-within{border-color:var(--focus);box-shadow:inset 0 0 0 2px var(--focus), var(--shadow-sm)}.route-row-button{width:100%;height:100%;min-height:44px;color:var(--ink);text-align:left;border-radius:inherit;background:0 0;border:0;grid-template-columns:44px minmax(0,1fr) auto 18px;align-items:center;gap:9px;padding:9px 10px;display:grid}.route-row-button:hover{background:var(--teal-50)}.route-row-main{gap:2px;min-width:0;display:grid}.route-meta{color:var(--ink-muted);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;font-size:.66rem;line-height:1.35;overflow:hidden}.progress-track{background:var(--line);border-radius:999px;width:100%;height:4px;margin-top:3px;display:block;overflow:hidden}.progress-track>span{background:var(--teal-500);border-radius:inherit;height:100%;display:block}.route-fraction{color:var(--ink-muted);font-variant-numeric:tabular-nums;align-items:baseline;font-size:.7rem;display:flex}.route-fraction strong{color:var(--teal-950);font-size:.88rem}.route-chevron{width:18px;height:18px;color:var(--ink-muted);fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;transition:color var(--duration-fast) ease, transform var(--duration-fast) var(--ease-standard)}.route-row.is-open .route-chevron{color:var(--orange-600);transform:rotate(90deg)}.route-inspector-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.route-inspector-summary>div{background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;min-width:0;padding:9px}.route-inspector-summary span,.route-inspector-summary strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.route-inspector-summary span{color:var(--ink-muted);letter-spacing:.04em;text-transform:uppercase;font-size:.62rem;font-weight:750}.route-inspector-summary strong{color:var(--teal-950);font-variant-numeric:tabular-nums;margin-top:4px;font-size:.75rem}.route-inspector-summary strong.is-success{color:var(--success)}.route-inspector-summary strong.is-warning{color:var(--warning)}.route-inspector-tools{justify-content:flex-end;margin:10px 0;display:flex}.stop-list,.parcel-list{gap:8px;display:grid}.stop-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);content-visibility:auto;contain-intrinsic-size:76px;min-width:0;overflow:clip}.stop-card.is-delivered{border-color:#0f766e38}.stop-summary{width:100%;min-height:68px;color:var(--ink);text-align:left;background:0 0;border:0;grid-template-columns:32px minmax(0,1fr) auto 18px;align-items:center;gap:8px;padding:9px 10px;display:grid}.stop-summary:hover{background:var(--teal-50)}.stop-order{color:#fff;background:var(--teal-800);width:32px;height:32px;box-shadow:0 0 0 1px var(--line-strong);font-variant-numeric:tabular-nums;border:2px solid #fff;border-radius:10px;place-items:center;font-size:.69rem;font-weight:800;display:grid}.stop-card.is-delivered .stop-order{background:var(--success)}.stop-summary-main{gap:3px;min-width:0;display:grid}.stop-summary-main strong,.stop-summary-main span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stop-summary-main strong{color:var(--teal-950);font-size:.75rem}.stop-summary-main span,.stop-parcel-count{color:var(--ink-muted);font-variant-numeric:tabular-nums;font-size:.64rem}.stop-parcel-count{white-space:nowrap}.stop-summary>svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;transition:transform var(--duration-fast) var(--ease-standard)}.stop-summary[aria-expanded=true]>svg{transform:rotate(180deg)}.stop-detail{background:var(--surface-soft);border-top:1px solid var(--line);padding:10px}.stop-detail .stop-actions{justify-content:flex-end;margin-top:0;margin-bottom:9px}.parcel-row{background:var(--surface);border:1px solid var(--line);content-visibility:auto;contain-intrinsic-size:106px;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;min-width:0;padding:10px;display:grid}.parcel-row>div:first-child{gap:3px;min-width:0;display:grid}.parcel-row>div:first-child>span{color:var(--ink-muted);overflow-wrap:anywhere;font-size:.68rem}.parcel-tracking{color:var(--teal-900);font-family:var(--font-mono);overflow-wrap:anywhere;font-size:.67rem}.parcel-row .parcel-actions{grid-column:1/-1;justify-content:flex-end;margin-top:0;display:flex}.status-chip{min-height:26px;color:var(--ink-soft);background:var(--surface-soft);border:1px solid var(--line);white-space:nowrap;border-radius:999px;align-items:center;padding:4px 8px;font-size:.61rem;font-weight:750;line-height:1.2;display:inline-flex}.status-chip[data-status=delivered],.status-chip[data-status=delivered_to_sender]{color:var(--success);background:var(--success-soft);border-color:#0f766e33}.status-chip[data-status=out_for_delivery]{color:var(--warning);background:var(--warning-soft);border-color:#9a4a0033}.status-chip[data-status=delivery_failed]{color:var(--danger);background:var(--danger-soft);border-color:#a5311933}.show-more{width:100%;margin-top:9px}.inline-empty{color:var(--ink-muted);text-align:center;padding:16px;font-size:.74rem}.button-small{min-height:44px;padding:8px 12px;font-size:.7rem}.button-secondary{color:var(--teal-900);background:var(--surface);box-shadow:none;border-color:#007b7e4d}.button-secondary:hover:not(:disabled){background:var(--teal-50);border-color:#007b7e75}.button-danger-quiet{color:var(--danger);background:var(--danger-soft);box-shadow:none;border-color:#a5311938}.button-danger-quiet:hover:not(:disabled){background:#ffe2db;border-color:#a5311961}.setting-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);justify-content:space-between;align-items:center;gap:12px;min-width:0;min-height:76px;padding:12px;display:flex;box-shadow:0 5px 16px #062f320a}.setting-card>div{min-width:0}.setting-card h3,.pending-card h3{color:var(--teal-950);font-size:.79rem}.setting-card p,.pending-card p{color:var(--ink-muted);overflow-wrap:anywhere;margin-top:3px;font-size:.68rem;line-height:1.42}.optimize-list .pending-card{grid-template-columns:minmax(0,1fr) auto;align-content:space-between;align-items:start;gap:8px;width:100%;height:140px;min-height:140px;max-height:140px;margin-bottom:8px;display:grid}.optimize-list .pending-card>div:first-child{min-width:0}.optimize-list .pending-actions{grid-column:1/-1;margin-top:2px}.empty-state{min-height:220px;color:var(--ink-muted);text-align:center;align-content:center;justify-items:center;gap:8px;padding:30px 20px;display:grid}.empty-state>svg{width:48px;height:48px;color:var(--teal-700);background:var(--teal-50);border:1px solid var(--teal-100);fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;border-radius:15px;padding:12px}.empty-state h3{color:var(--teal-950);font-size:.88rem}.empty-state p{max-width:280px;font-size:.73rem;line-height:1.55}.icon-button{width:44px;height:44px;color:var(--teal-800);background:var(--teal-50);border-color:var(--line);border-radius:var(--radius-sm);place-items:center;padding:0;display:inline-grid}.icon-button:hover:not(:disabled){color:var(--teal-950);background:var(--teal-100);border-color:#007b7e3d}.optimize-workspace{background:var(--surface-soft);flex:auto;grid-template-rows:auto minmax(0,1fr);min-height:0;display:grid}.optimize-settings{gap:8px;padding:12px 12px 4px;display:grid}.route-card,.approval-card,.pending-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);min-width:0;transition:border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease, background-color var(--duration-fast) ease;overflow:clip;box-shadow:0 5px 16px #062f320b}.route-card:hover,.route-card[open],.route-card.is-selected{box-shadow:var(--shadow-sm);border-color:#007b7e4d}.route-card[open],.route-card.is-selected{box-shadow:inset 3px 0 0 var(--orange-500), var(--shadow-sm)}.route-summary{grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:80px;padding:12px;list-style:none;display:grid}.route-summary::-webkit-details-marker{display:none}.driver-avatar{width:44px;height:44px;color:var(--teal-800);background:var(--teal-50);border:1px solid var(--teal-100);border-radius:var(--radius-sm);font-variant-numeric:tabular-nums;place-items:center;font-size:.79rem;font-weight:800;display:grid}.route-ident,.parcel-info,.stop-content{min-width:0}.route-name,.pending-name,.approval-title{color:var(--teal-950);text-overflow:ellipsis;white-space:nowrap;font-size:.83rem;font-weight:750;line-height:1.3;overflow:hidden}.route-sub,.pending-meta,.approval-sub{color:var(--ink-muted);overflow-wrap:anywhere;margin-top:3px;font-size:.7rem;line-height:1.42}.route-sub,.pending-meta{font-variant-numeric:tabular-nums}.route-progress{justify-items:end;gap:6px;min-width:70px;display:grid}.progress-frac{color:var(--teal-950);font-variant-numeric:tabular-nums;font-size:.8rem;font-weight:750}.progress-frac em{color:var(--ink-muted);font-style:normal;font-weight:600}.progress-bar{background:var(--line);border-radius:999px;width:70px;height:4px;overflow:hidden}.progress-fill{background:var(--teal-500);border-radius:inherit;height:100%}.route-body{background:var(--surface-soft);border-top:1px solid var(--line);padding:14px}.stat-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px;display:grid}.stat{background:var(--surface);border:1px solid var(--line);border-radius:10px;min-width:0;padding:9px}.stat span{color:var(--ink-muted);letter-spacing:.04em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:.62rem;font-weight:750;display:block;overflow:hidden}.stat b{color:var(--teal-950);font-variant-numeric:tabular-nums;margin-top:4px;font-size:.76rem;display:block}.stat b.warn{color:var(--warning)}.stat b.ok{color:var(--success)}.route-tools,.stop-tags,.stop-actions,.parcel-actions,.pop-meta{flex-wrap:wrap;gap:7px;display:flex}.route-tools{justify-content:flex-end;margin-bottom:12px}.stops{gap:0;display:grid}.stop{content-visibility:auto;contain-intrinsic-size:160px;grid-template-columns:32px minmax(0,1fr);gap:11px;min-width:0;padding-bottom:16px;display:grid}.stop:last-child{padding-bottom:0}.stop-rail{grid-template-rows:32px minmax(0,1fr);justify-items:center;min-height:100%;display:grid}.stop-node{color:#fff;background:var(--teal-800);width:32px;height:32px;box-shadow:0 0 0 1px var(--line-strong);font-variant-numeric:tabular-nums;border:2px solid #fff;border-radius:10px;place-items:center;font-size:.71rem;font-weight:800;display:grid}.stop.delivered .stop-node{background:var(--success)}.stop-thread{background:var(--line-strong);width:2px;min-height:14px;margin-top:3px}.stop:last-child .stop-thread{display:none}.stop-content{padding-top:3px}.stop-addr{color:var(--teal-950);overflow-wrap:anywhere;font-size:.8rem;font-weight:700;line-height:1.4}.stop-tags,.stop-actions,.parcels{margin-top:9px}.tag,.chip,.pop-chip{min-height:25px;color:var(--ink-soft);background:var(--surface-soft);border:1px solid var(--line);font-variant-numeric:tabular-nums;border-radius:999px;align-items:center;padding:3px 8px;font-size:.62rem;font-weight:750;line-height:1.2;display:inline-flex}.tag.eta,.chip.out,.pop-chip.out,.tag.status-out{color:var(--warning);background:var(--warning-soft);border-color:#9a4a002e}.chip.delivered,.pop-chip.ok,.tag.status-delivered{color:var(--success);background:var(--success-soft);border-color:#0f766e2e}.chip.failed{color:var(--danger);background:var(--danger-soft);border-color:#a531192e}.chip.pending{color:var(--ink-soft)}.parcels{gap:7px;display:grid}.parcel{background:var(--surface);border:1px solid var(--line);content-visibility:auto;contain-intrinsic-size:88px;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:9px 10px;display:grid}.parcel-actions{grid-column:1/-1;justify-content:flex-end}.parcel-track{color:var(--teal-900);font-family:var(--font-mono);overflow-wrap:anywhere;font-size:.68rem;font-weight:650}.parcel-recipient{color:var(--ink-muted);overflow-wrap:anywhere;margin-top:3px;font-size:.69rem}.action-btn,.pending-actions button,.action-footer button{min-height:44px;color:var(--ink-soft);background:var(--surface);border-color:var(--line-strong);border-radius:10px;justify-content:center;align-items:center;padding:8px 11px;font-size:.7rem;display:inline-flex}.action-btn:hover:not(:disabled),.pending-actions button:hover:not(:disabled),.action-footer button:hover:not(:disabled),.action-btn.primary-action,.pending-actions .accept,.action-footer .submit{color:var(--teal-900);background:var(--teal-50);border-color:#007b7e47}.action-btn.danger,.pending-actions .cancel,.action-footer .danger{color:var(--danger);background:var(--danger-soft);border-color:#a5311938}.approval-card,.pending-card{padding:12px}.approval-top,.pending-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.approval-top>div,.pending-head>div{min-width:0}.switch{align-items:center;width:48px;min-width:48px;height:44px;display:inline-flex;position:relative}.switch input{z-index:1;opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.switch span{background:var(--surface-soft);border:1px solid var(--line-strong);width:46px;height:26px;transition:background-color var(--duration-fast) ease, border-color var(--duration-fast) ease;border-radius:999px;display:block;position:relative}.switch span:after{content:"";background:var(--ink-muted);width:18px;height:18px;transition:background-color var(--duration-fast) ease, transform var(--duration-fast) var(--ease-standard);border-radius:50%;position:absolute;top:3px;left:3px}.switch input:checked+span{background:var(--teal-100);border-color:#007b7e5c}.switch input:checked+span:after{background:var(--teal-800);transform:translate(20px)}.switch input:focus-visible+span{outline:3px solid var(--focus);outline-offset:3px}.pending-list{gap:8px;display:grid}.pending-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.pending-actions button{min-height:44px;font-size:.74rem}.empty{text-align:center;align-content:center;justify-items:center;gap:9px;min-height:220px;padding:32px 20px;display:grid}.empty-glyph{width:48px;height:48px;color:var(--teal-700);background:var(--teal-50);border:1px solid var(--teal-100);border-radius:15px;place-items:center;margin-bottom:3px;display:grid}.empty-glyph svg{stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.empty h3{color:var(--teal-950);font-size:.9rem}.empty p{max-width:280px;color:var(--ink-muted);font-size:.76rem;line-height:1.55}.fleet-map-panel{z-index:var(--z-map);background:#e9f1ef;min-width:0;min-height:0;position:relative;overflow:hidden}.fleet-map{position:absolute;inset:0}.map-overlay{z-index:var(--z-overlay);pointer-events:none;align-items:flex-start;gap:8px;max-width:calc(100% - 96px);display:flex;position:absolute;top:16px;left:16px}.map-legend,.follow-toggle{color:var(--ink-soft);border-radius:var(--radius-sm);box-shadow:var(--shadow-sm);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);pointer-events:auto;background:#fffffff5;border:1px solid #062f3221}.map-legend{padding:10px 12px}.map-legend ul{align-items:center;gap:13px;display:flex}.map-legend li{white-space:nowrap;align-items:center;gap:6px;font-size:.7rem;font-weight:700;display:inline-flex}.legend-symbol{background:var(--teal-800);border:2px solid #fff;border-radius:50%;flex:none;width:11px;height:11px;display:block;box-shadow:0 0 0 1px #062f3238}.legend-driver{border-radius:3px 50% 50%;transform:rotate(-45deg)}.legend-pickup{background:var(--orange-600);border-radius:3px;transform:rotate(45deg)}.legend-delivered{background:var(--success)}.follow-toggle{white-space:nowrap;align-items:center;gap:8px;min-height:44px;padding:8px 12px;font-size:.72rem;display:inline-flex}.follow-toggle:hover:not(:disabled){color:var(--teal-900);background:#fff;border-color:#007b7e47}.follow-toggle[aria-pressed=true]{color:var(--teal-900);background:var(--teal-50);border-color:#007b7e5c}.follow-mark{place-items:center;width:22px;height:22px;display:grid}.follow-mark svg{width:19px;height:19px}.maplibregl-ctrl-top-right{top:8px;right:8px}.maplibregl-ctrl-group{border-radius:var(--radius-sm);box-shadow:var(--shadow-sm);border:1px solid #062f3221;overflow:hidden}.maplibregl-ctrl-group button{background-color:#fffffff5;width:44px;height:44px}.maplibregl-ctrl-group button+button{border-top-color:var(--line)}.maplibregl-popup{max-width:min(320px,100vw - 32px)!important}.maplibregl-popup-content{min-width:210px;color:var(--ink);background:var(--surface);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);font:.76rem/1.5 var(--font-sans);border:1px solid #062f321f;padding:13px 14px}.pop-parcels{overscroll-behavior:contain;max-height:240px;overflow:auto}.maplibregl-popup-close-button{width:44px;height:44px;color:var(--ink-muted);border-radius:8px;place-items:center;font-size:21px;display:grid}.maplibregl-popup-close-button:hover{color:var(--teal-900);background:var(--teal-50)}.maplibregl-popup-tip{border-top-color:var(--surface)!important;border-bottom-color:var(--surface)!important}.pop-stop{min-width:210px;max-width:280px}.pop-order{color:var(--teal-700);letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px;font-size:.65rem;font-weight:800}.pop-stop strong{color:var(--teal-950);overflow-wrap:anywhere;padding-right:20px;font-size:.82rem;line-height:1.4;display:block}.pop-meta{margin-top:8px}.pop-driver,.pop-sub{color:var(--ink-muted);margin-top:7px;font-size:.7rem}.pop-parcels{gap:7px;margin-top:9px;display:grid}.pop-parcel{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.pop-mono{min-width:0;color:var(--teal-800);font-family:var(--font-mono);overflow-wrap:anywhere;font-size:.67rem}dialog{color:var(--ink);background:0 0;border:0;padding:0}dialog[open]{display:grid}dialog::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#062f32a8}.auth-dialog,.action-dialog{z-index:var(--z-dialog);width:min(100% - 32px,520px);max-width:none;max-height:calc(100dvh - 32px);margin:auto;overflow:visible}.auth-surface,.action-sheet{background:var(--surface);border-radius:var(--radius-md);width:100%;max-height:calc(100dvh - 32px);box-shadow:var(--shadow-lg);overscroll-behavior:contain;border:1px solid #ffffff85;overflow:auto}.auth-surface{padding:30px}.auth-brand{border-bottom:1px solid var(--line);align-items:center;gap:14px;padding-bottom:24px;display:flex}.auth-brand img{width:142px;height:auto}.auth-brand span{color:var(--ink-soft);border-left:1px solid var(--line);padding-left:14px;font-size:.79rem;font-weight:700}.auth-heading{padding:28px 0 24px}.auth-heading .panel-eyebrow{align-items:center;gap:9px;display:flex}.auth-heading .panel-eyebrow>span{background:var(--orange-500);border-radius:999px;width:24px;height:3px}.auth-heading h2{max-width:390px;color:var(--teal-950);letter-spacing:-.045em;text-wrap:balance;margin-top:12px;font-size:clamp(1.65rem,4vw,2.15rem);font-weight:750;line-height:1.08}.auth-heading>p:last-child{max-width:420px;color:var(--ink-soft);margin-top:13px;font-size:.88rem;line-height:1.65}.auth-form{gap:16px;display:grid}.field,.action-form label{min-width:0;color:var(--ink);gap:7px;font-size:.76rem;font-weight:750;display:grid}.field input,.action-form input,.action-form select,.action-form textarea{width:100%;min-width:0;min-height:48px;color:var(--ink);background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-sm);transition:border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease, background-color var(--duration-fast) ease;outline:0;padding:10px 13px;font-size:1rem}.field input:hover,.action-form input:hover,.action-form select:hover,.action-form textarea:hover{border-color:#007b7e6b}.field input:focus,.action-form input:focus,.action-form select:focus,.action-form textarea:focus{border-color:var(--teal-500);box-shadow:0 0 0 4px #00b8b821}.field input[aria-invalid=true],.action-form input[aria-invalid=true],.action-form select[aria-invalid=true]{border-color:var(--danger);box-shadow:0 0 0 4px #a5311917}.fault-text{min-height:20px;color:var(--danger);font-size:.76rem;font-weight:650;line-height:1.5}.fault-text:empty{min-height:0}.auth-actions{margin-top:2px;display:grid}.auth-actions .button{width:100%;min-height:50px}.auth-actions .button svg{transition:transform var(--duration-fast) ease}.auth-actions .button:hover:not(:disabled) svg{transform:translate(3px)}.action-dialog{width:min(100% - 32px,660px)}.action-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:18px;min-height:84px;padding:18px 20px;display:flex}.action-title{color:var(--teal-950);letter-spacing:-.025em;margin-top:4px;font-size:1.18rem;font-weight:750}.action-sub{color:var(--ink-muted);overflow-wrap:anywhere;margin-top:5px;font-size:.75rem;line-height:1.5}.action-close{flex:none}.action-form{gap:16px;padding:18px 20px 20px;display:grid}.action-error{color:var(--danger);background:var(--danger-soft);border-radius:var(--radius-sm);border:1px solid #a5311938;margin:14px 20px 0;padding:10px 12px;font-size:.8rem;font-weight:650;line-height:1.45}.action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.action-grid .wide{grid-column:1/-1}.action-form input,.action-form select,.action-form textarea{min-height:44px;font-size:.86rem}.action-form input[type=checkbox]{width:20px;min-height:20px;accent-color:var(--teal-800);padding:0}.check-row{grid-column:1/-1;align-items:center;min-height:44px;gap:9px!important;display:flex!important}.action-note{color:var(--ink-soft);background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius-sm);padding:12px 13px;font-size:.76rem;line-height:1.55}.action-footer{justify-content:flex-end;gap:8px;padding-top:2px;display:flex}.action-footer button{min-height:44px;padding-inline:16px;font-size:.76rem}@container fleet-sidebar (width<=395px){.fleet-metrics{padding-inline:12px}.route-list,.optimize-list{padding-inline:10px}.route-summary{grid-template-columns:40px minmax(0,1fr) auto;gap:9px;padding-inline:10px}.driver-avatar{width:40px;height:40px}}@media (width<=1279px){:root{--sidebar-width:390px}.fleet-header{padding-inline:20px}.operator-identity{max-width:180px}}@media (width<=1023px){:root{--header-height:68px}body{overflow:auto}.fleet-shell{height:auto;min-height:100dvh;overflow:visible}.fleet-header{padding-inline:16px;position:sticky;top:0}.fleet-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:52dvh minmax(680px, calc(100dvh - var(--header-height)))}.fleet-map-panel{grid-row:1}.fleet-sidebar{border-top:1px solid var(--line);border-right:0;grid-row:2;min-height:680px;box-shadow:0 -14px 34px #062f3212}.fleet-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.metric-total,.metric-drivers{grid-column:span 1}.map-overlay{max-width:calc(100% - 80px)}.route-workspace:has(.route-inspector:not([hidden])){grid-template-rows:minmax(190px,42%) minmax(260px,58%)}}@media (width<=767px){:root{--header-height:64px}.fleet-header,.fleet-brand-group{gap:10px}.fleet-brand img{width:116px}.fleet-brand-divider,.fleet-product-kicker,.operator-identity{display:none}.fleet-product strong{font-size:.78rem}.fleet-session{gap:7px}.link-status{min-height:40px;padding-inline:10px}.button-stop{width:44px;min-width:44px;padding:0}.button-stop span{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.fleet-workspace{grid-template-rows:42dvh minmax(720px, calc(100dvh - var(--header-height)))}.fleet-sidebar{min-height:720px}.fleet-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-total{grid-column:span 1}.metric-drivers{grid-column:span 2}.map-overlay{gap:6px;max-width:calc(100% - 68px);display:grid;top:10px;left:10px}.map-legend{padding:8px 9px}.map-legend ul{grid-template-columns:repeat(2,auto);gap:6px 12px;display:grid}.follow-toggle{width:max-content;min-height:44px;padding-block:7px}.action-form input,.action-form select,.action-form textarea{font-size:16px}.action-dialog,.auth-dialog{width:min(100% - 20px,660px);max-height:calc(100dvh - 20px)}.auth-surface,.action-sheet{max-height:calc(100dvh - 20px)}.action-grid{grid-template-columns:minmax(0,1fr)}.action-grid .wide,.check-row{grid-column:auto}}@media (width<=520px){.fleet-header{padding-inline:12px}.fleet-product{display:none}.link-status{font-size:.69rem}.fleet-metrics{gap:7px;padding:11px 12px}.metric{min-height:67px;padding:9px}.panel-header{padding-inline:12px}.route-list,.optimize-list{padding:10px}.route-workspace:has(.route-inspector:not([hidden])){grid-template-rows:minmax(150px,34%) minmax(330px,66%)}.route-inspector-body{padding:12px}.auth-dialog,.action-dialog{width:100%;height:100dvh;max-height:none;margin:0}.auth-surface,.action-sheet{width:100%;min-height:100dvh;max-height:100dvh;padding-bottom:max(20px, env(safe-area-inset-bottom));border:0;border-radius:0}.auth-surface{padding-top:max(26px, env(safe-area-inset-top));padding-inline:20px}.action-head{padding-top:max(18px, env(safe-area-inset-top))}.stat-strip{grid-template-columns:minmax(0,1fr)}}@media (width<=380px){.fleet-brand img{width:104px}.link-status{padding-inline:8px}.connection-mark{width:7px;height:7px}}@media (width<=1023px) and (orientation:landscape) and (width>=700px){body{overflow:hidden}.fleet-shell{height:100dvh;overflow:hidden}.fleet-workspace{grid-template-rows:minmax(0,1fr);grid-template-columns:370px minmax(0,1fr)}.fleet-sidebar,.fleet-map-panel{grid-row:1;min-height:0}.fleet-sidebar{border-top:0;border-right:1px solid var(--line);grid-column:1}.fleet-map-panel{grid-column:2}.fleet-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-drivers{grid-column:span 2}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (forced-colors:active){.connection-mark,.legend-symbol,.progress-fill,.stop-node,.auth-heading .panel-eyebrow>span,.tab.active:after,.tab[aria-selected=true]:after{forced-color-adjust:none}.route-card[open],.route-card.is-selected{outline:2px solid canvastext}}
