:root{color-scheme:light;--ink:#192f35;--muted:#5a6969;--orange:#fc6c31;--line:#d9ded9;--paper:#f4f5f0;--white:#fff;--rail:226px;font:16px/1.45 "Inter","Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}
body{margin:0;min-width:300px}
button,input,select{font:inherit;color:inherit}
button,a{touch-action:manipulation}
button{cursor:pointer}
button:disabled{cursor:default}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #2f89a1;outline-offset:3px}
button{border:0;background:none}
a{color:inherit}
[hidden]{display:none!important}
.skip{position:fixed;top:8px;left:8px;transform:translateY(-160%);z-index:50;background:#fff;padding:10px}
.skip:focus{transform:none}
.rail{position:fixed;inset:0 auto 0 0;width:var(--rail);background:#192e34;color:#e7efeb;display:flex;flex-direction:column;z-index:4}
.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;margin:30px 24px 49px}
.brand img{width:45px;height:45px;flex:none}
.brand span{display:flex;flex-direction:column}
.brand b,.mobile-wordmark{font:900 italic 30px/.96 "Arial Black","Segoe UI",sans-serif;letter-spacing:-1.3px}
.brand small{font:700 8px/1.1 "Segoe UI",Arial,sans-serif;letter-spacing:1.18px;color:#bdc9c8;margin-top:6px;white-space:nowrap}
#main-nav{display:grid;gap:6px;padding:0 13px}
.nav-link{height:49px;display:flex;align-items:center;gap:14px;padding:0 17px;color:#bcc9c9;border-radius:6px;text-decoration:none;font-size:15px;font-weight:600;position:relative}
.nav-link svg{width:20px;height:20px;stroke-width:1.7}
.nav-link:hover,.guide-link:hover{background:#253d43;color:white}
.nav-link[aria-current=page]{color:#fff;background:#32464a}
.nav-link[aria-current=page]::before{content:"";position:absolute;left:0;top:13px;bottom:13px;width:3px;background:var(--orange);border-radius:2px}
.nav-link[aria-current=page] svg{color:#ff8c52}
.rail-foot{margin-top:auto}
.guide-link{display:flex;align-items:center;gap:13px;color:#c4cfcd;font-size:14px;text-align:left;margin:0 12px 13px;padding:12px 17px;border-radius:6px}
.guide-link svg{width:18px}
.company{min-height:83px;padding:16px 21px;border-top:1px solid #3a4c50;display:flex;align-items:center;gap:10px}
.company-icon{width:36px;height:36px;flex:none;display:grid;place-items:center;background:#344a4e;color:#d6e3dc;border-radius:8px}
.company small,.company strong{display:block}
.company small{font-size:11px;color:#bcc8c7;margin-bottom:1px}
.company strong{font-size:14px;overflow-wrap:anywhere}
.workspace{margin-left:var(--rail)}
.topline{height:66px;padding:0 clamp(22px,3.1vw,54px);background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}
.breadcrumb,.global-tools,.wallet,.mobile-wordmark,.region,.network,.inline-icon{display:flex;align-items:center}
.breadcrumb{gap:13px;font-size:13px;color:var(--muted)}
.breadcrumb svg:first-child{width:17px}.breadcrumb svg:nth-of-type(2){width:12px;color:#87938f}.breadcrumb strong{color:var(--ink);font-weight:650}
.global-tools{gap:16px}
.wallet{gap:9px;font-size:13px;border-radius:6px;padding:8px 4px}.wallet span{color:var(--muted)}.wallet:hover{background:#f3f6f0}.wallet b{font-variant-numeric:tabular-nums;font-size:15px}.wallet svg{color:#425854;width:19px}
.bell{width:37px;height:37px;position:relative;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:white}.bell:hover{background:#f4f5ee}.bell svg{width:18px}
.unread{position:absolute;right:-3px;top:-5px;min-width:16px;height:16px;border-radius:12px;background:#a33b13;color:white;font-size:10px;line-height:16px}
.mobile-wordmark{display:none}
.compact-guide{display:none}
main{max-width:1770px;margin:auto;padding:31px clamp(22px,3.1vw,54px) 36px}
main:focus{outline:none}
.page-intro{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(31px,3vw,45px);font-weight:730;line-height:1.07;letter-spacing:-1.95px}
.page-intro p{font-size:15px;color:var(--muted);margin-top:8px}
.network{gap:7px;background:#e6efe5;color:#355d44;font-size:12px;font-weight:650;border:1px solid #cddbc9;border-radius:20px;padding:5px 11px;white-space:nowrap}
.network>span,.flag>span{width:7px;height:7px;border-radius:50%;background:#428153}.network.off{color:#6c5348;background:#f8e6d9}.network.off>span{background:#ad532a}
.dashboard-grid,.lower-grid{display:grid;grid-template-columns:minmax(0,1.97fr) minmax(268px,1fr);gap:18px;align-items:stretch}
.box{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0}
.box-head{min-height:58px;padding:14px 19px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line)}
.box-head h2{font-size:17px;font-weight:740;letter-spacing:-.48px;display:flex;align-items:center;gap:9px}
.box-head h2 svg{width:19px;height:19px;color:#4d645f;stroke-width:1.8}
.region{gap:4px;font-size:12px;color:var(--muted)}.region svg{width:14px}
.map-box{display:flex;flex-direction:column}
#dispatch-map{position:relative;isolation:isolate;flex:1 0 auto;width:100%;height:clamp(302px,25vw,410px);background:#e7e9da;overflow:hidden}
.route-strip{display:flex;align-items:center;gap:13px;padding:14px 19px;min-height:66px;border-top:1px solid #d7ddd2}
.route-symbol,.goal-symbol,.order-symbol{display:grid;place-items:center;border-radius:8px;flex:none}
.route-symbol{width:35px;height:35px;background:#fff0e3;color:#ad481b}
.route-strip small,.goal-copy small,.meta-kicker{display:block;color:var(--muted);font-size:12px}
.route-strip strong{font-size:14px;display:flex;gap:7px;align-items:center}
.route-strip strong svg,.order-route svg{width:13px;color:#758580}
.route-distance{margin-left:auto;white-space:nowrap;font:600 13px/1.3 "Consolas",monospace;color:#566561}
.vehicle-box{display:flex;flex-direction:column}
.vehicle-box .box-head{border:0}
.unit-picture{position:relative;overflow:hidden;background:#d9dcd7;flex:1 0 auto;min-height:145px;height:clamp(145px,13.3vw,230px);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.unit-picture img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center 54%}
.flag{position:absolute;left:13px;bottom:12px;display:flex;align-items:center;gap:5px;font-size:11px;font-weight:700;color:#243b34;background:#fffffff0;border-radius:20px;padding:4px 9px;box-shadow:0 1px 4px #172d331a}.flag>span{width:6px;height:6px}.flag.busy>span{background:#eb6d30}
.unit-info{padding:16px 19px 18px}
.unit-info h3{font-size:clamp(19px,1.7vw,26px);font-weight:730;letter-spacing:-.8px;line-height:1.18}
.unit-meta{display:flex;gap:9px;flex-wrap:wrap;margin:6px 0 14px;color:var(--muted);font-size:13px}.unit-meta span+span:before{content:"·";margin-right:9px}
.unit-health,.goal-line{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#475955;gap:8px}.unit-health b,.goal-line b{font-variant-numeric:tabular-nums}
.bar-track{height:5px;border-radius:4px;background:#e8ede6;overflow:hidden;margin:7px 0 15px}
.bar-track span{display:block;height:100%;background:#6e9671;transition:width .3s}
.primary,.neutral-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:720;padding:11px 15px;min-height:42px;border-radius:6px}
.primary{color:#202c2b;background:var(--orange);border:1px solid #ee642a}.primary:hover{background:#ff7b43}.neutral-button{background:#fff;border:1px solid var(--line)}
.primary svg,.neutral-button svg{width:17px;height:17px}
.unit-info .primary{width:100%}
.mini-switch{max-width:95px;font-size:12px;border:1px solid var(--line);border-radius:4px;background:white}
.lower-grid{margin-top:20px}
.lower-card .box-head{min-height:53px}
.text-action{font-weight:650;color:#92502e;font-size:12px;text-decoration:underline;text-decoration-color:#d2b6a4;text-underline-offset:3px;padding:4px 0;white-space:nowrap}
.order-row{width:100%;display:flex;align-items:center;gap:13px;text-align:left;padding:16px 19px;background:white;color:var(--ink)}
.order-row+.order-row{border-top:1px solid #e8ece7}
.order-row:hover{background:#f7f8f3}
.order-symbol{width:38px;height:38px;background:#edf0e7;color:#506555}.order-symbol.alt{color:#436f84;background:#eaf1f4}
.order-route{display:flex;gap:7px;align-items:center;font-weight:700;font-size:14px}
.order-client{font-size:12px;color:var(--muted);display:block;margin-top:2px}
.order-payout{margin-left:auto;display:grid;justify-items:end;white-space:nowrap;font-size:14px;font-variant-numeric:tabular-nums}
.order-payout small{font-size:11px;color:var(--muted)}
.order-end{width:15px;color:#8a958e}
.goal-body{padding:17px 19px}.goal-intro{display:flex;align-items:center;gap:10px;margin-bottom:13px}
.goal-symbol{width:37px;height:37px;background:#f6ece0;color:#986734}
.goal-copy strong{font-size:14px}.goal-copy small{margin-top:1px}
.goal-body .bar-track{background:#edf0e8;margin-bottom:0}.goal-body .bar-track span{background:var(--orange)}
.receipt-line{padding:12px 18px;border-top:1px solid var(--line);display:flex;align-items:center;gap:6px;text-align:left;width:100%;font-size:13px}.receipt-line:hover{background:#f7f8f3}.receipt-line small{display:block;font-size:11px;color:var(--muted)}.receipt-line strong{display:flex;align-items:center;gap:4px}.receipt-line b{margin-left:auto}
.note-content{padding:25px;max-width:520px}
.note-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}
.note-head h2{font-size:23px;letter-spacing:-.7px}.note-head button{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%}
.note-content p{color:var(--muted);margin:12px 0}
.note-content ol{padding-left:22px;color:var(--muted)}.note-content li{padding:4px 0}
#dialog{width:min(550px,calc(100% - 28px));max-height:87dvh;border:1px solid var(--line);padding:0;border-radius:14px;background:white;color:var(--ink);box-shadow:0 15px 80px #122d3630;overscroll-behavior:contain}
#dialog::backdrop{background:#13272d88}
body:has(#dialog[open]){overflow:hidden}
#notices{position:fixed;bottom:20px;right:20px;max-width:min(400px,calc(100% - 30px));z-index:6;pointer-events:none}
.toast{background:var(--ink);color:white;padding:12px 15px;border-radius:8px;box-shadow:0 6px 25px #10202726;display:flex;align-items:center;gap:10px;font-size:14px}
.toast button{pointer-events:auto;font-size:13px;color:#ffc99f;text-decoration:underline}
.empty-line{padding:18px 19px;font-size:14px;color:var(--muted)}
#truck-popup{position:absolute;z-index:3;padding:9px 10px;border:1px solid var(--line);background:#fff;border-radius:8px;box-shadow:0 3px 15px #1d3c3629;font-size:12px}
.pop-truck{display:flex;align-items:center;gap:7px}.pop-truck img{width:45px;height:36px;object-fit:cover;border-radius:4px}.pop-truck small,#truck-popup>small{display:block;color:var(--muted)}.pop-truck button{padding:4px;line-height:0;align-self:start}
@media(min-width:1650px){.dashboard-grid,.lower-grid{grid-template-columns:minmax(0,2.25fr) minmax(320px,1fr)}}
@media(max-width:1200px){:root{--rail:194px}.brand{margin-left:18px}.topline{padding:0 23px}main{padding:27px 23px}.dashboard-grid,.lower-grid{gap:14px;grid-template-columns:minmax(0,1.75fr) minmax(243px,1fr)}.box-head,.route-strip,.unit-info,.goal-body,.order-row{padding-left:15px;padding-right:15px}}
@media(max-width:970px) and (min-width:761px){:root{--rail:77px}.brand{margin:23px auto 30px}.brand img{height:40px;width:40px}.brand span,.nav-link span,.company,.guide-link{display:none}#main-nav{padding:0 10px}.nav-link{justify-content:center;padding:0}.nav-link svg{width:22px;height:22px}}
@media(max-width:760px){:root{--rail:0px}.rail{top:auto;right:0;width:100%;background:#192e34;border-top:1px solid #304348;padding-bottom:env(safe-area-inset-bottom);z-index:5}.brand,.rail-foot{display:none}#main-nav{display:flex;gap:0;padding:0 6px}.nav-link{height:59px;border-radius:0;flex:1;flex-direction:column;justify-content:center;gap:3px;font-size:11px;padding:3px 0}.nav-link[aria-current=page]{background:#273e43}.nav-link[aria-current=page]::before{height:3px;width:26px;top:0;left:calc(50% - 13px);bottom:auto}.topline{height:56px;padding:0 16px}.mobile-wordmark{display:flex;gap:7px;font-size:21px}.mobile-wordmark img{width:28px;height:28px}.breadcrumb{display:none}.wallet span{display:none}.wallet b{font-size:14px}.global-tools{gap:9px}.bell{width:33px;height:33px}main{padding:22px 15px calc(82px + env(safe-area-inset-bottom))}.page-intro{margin-bottom:18px}.page-intro p{font-size:14px;max-width:310px;line-height:1.4}.page-intro h1{font-size:32px;letter-spacing:-1.4px}.network{font-size:11px;padding:4px 8px}.dashboard-grid,.lower-grid{grid-template-columns:1fr;gap:15px}.lower-grid{margin-top:15px}#dispatch-map{height:clamp(230px,52vw,330px)}.box-head{min-height:49px}.route-strip{min-height:57px;padding-top:10px;padding-bottom:10px}.vehicle-box{display:grid;grid-template-columns:minmax(112px,.75fr) 1.25fr}.vehicle-box .box-head{grid-column:1/-1;border-bottom:1px solid var(--line)}.unit-picture{width:100%;height:100%;min-height:150px;border:0;border-right:1px solid var(--line)}.unit-picture img{object-position:45% center}.unit-info{padding:13px}.unit-info h3{font-size:19px}.unit-meta{margin-bottom:8px;font-size:12px}.bar-track{margin:5px 0 10px}.unit-info .primary{padding:7px 10px;min-height:37px}.flag{left:7px;bottom:7px}.toast{margin-bottom:58px}.region{font-size:11px}.order-row{padding-block:12px}.box-head h2{font-size:16px}}
@media(max-width:390px){.network{display:none}.route-strip{gap:8px}.route-distance{font-size:12px}.unit-picture{min-height:130px}.unit-info h3{font-size:17px}.order-end{display:none}.wallet{gap:5px}}
@media(max-width:970px){.compact-guide{display:grid}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:0.01ms!important;transition-duration:0.01ms!important}}
