.driving{overflow:hidden}.drive-screen{--dock-height:310px;position:fixed;inset:0;height:100dvh;background:#e9eee1;isolation:isolate}.drive-map{position:absolute;inset:0;background:#e9eee1}.drive-top{position:absolute;z-index:700;left:12px;right:12px;top:max(10px,env(safe-area-inset-top));pointer-events:none}.drive-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.drive-meta button,.drive-meta span{pointer-events:auto;background:#fffdf9;border-radius:25px;font-size:12px;padding:8px 14px;box-shadow:0 2px 8px #213b321a}.drive-meta button{min-height:42px}.drive-turn{pointer-events:auto;background:#154e3c;color:white;display:flex;gap:16px;align-items:center;border-radius:22px;padding:17px 20px;box-shadow:0 3px 16px #213b3226;min-height:100px}.drive-turn>span{font-size:42px;line-height:1;width:44px;text-align:center;flex:none}.drive-turn strong{display:block;font-size:23px;line-height:1.16;letter-spacing:-.5px;overflow-wrap:anywhere}.drive-turn p{font-size:14px;color:#e2ecdc;margin-bottom:5px}.drive-controls{position:absolute;right:16px;bottom:calc(var(--dock-height) + 30px);z-index:700;display:grid;justify-items:end;gap:9px}.drive-controls button{box-shadow:0 2px 10px #203b3226;border:0;background:#fffdf9}.drive-controls #gps-follow{width:48px;height:48px;border-radius:50%;font-size:26px;padding:0}.drive-controls #gps-heading,.drive-controls #gps-toggle{font-size:12px;border-radius:25px;max-width:130px}.drive-layers{position:absolute;left:16px;bottom:calc(var(--dock-height) + 30px);z-index:700;border:0;box-shadow:0 2px 10px #203b3226;border-radius:25px;font-size:13px}.drive-layers[aria-pressed=true]{background:#154e3c;color:white}.drive-map-credit{position:absolute;left:8px;bottom:calc(var(--dock-height) + 3px);z-index:700;background:#fffdf9;padding:2px 5px;border-radius:4px}.drive-map-credit img{display:block}.drive-bottom{position:absolute;z-index:800;bottom:0;left:0;right:0;background:#fffdf9;border-radius:26px 26px 0 0;padding:8px 18px max(12px,env(safe-area-inset-bottom));box-shadow:0 -4px 25px #203b3220}.drive-handle{height:4px;width:36px;background:#cbd3c6;border-radius:5px;margin:0 auto 12px}.drive-trip{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.drive-trip strong{font-size:28px;letter-spacing:-1px;line-height:1}.drive-trip p{font-size:12px;color:#52665b;margin-top:4px}.drive-trip>span{font-size:12px;font-weight:900;background:#edf2e7;border-radius:25px;padding:8px 12px;white-space:nowrap}.drive-customer{border-top:1px solid #e2e7dc;padding-top:12px;display:flex;gap:10px;align-items:center}.drive-number{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#e8efdf;flex:none}.drive-customer h1{font-size:20px;line-height:1.15;letter-spacing:-.4px;overflow-wrap:anywhere}.drive-customer p{font-size:12px;color:#53665c;margin-top:3px}.drive-info{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;border:0;background:#f0f2e9;border-radius:12px;margin:10px 0;padding:10px 12px;min-height:44px;font-size:13px;text-align:left}.drive-info span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drive-info b{white-space:nowrap}.drive-actions{display:grid;grid-template-columns:54px 1fr;gap:10px}.drive-actions button{min-height:55px;border-radius:13px;font-size:17px;border:0}.drive-actions #prev{background:#e7eae3;font-size:25px;padding:0}.drive-queue{font-size:10px;color:#52665b;margin-top:6px;text-align:center}.drive-receipt{font-size:12px;color:#16613c;margin:5px 0 10px}.drive-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:600px;max-height:88dvh;overflow:auto;border-radius:25px 25px 0 0;border:0;padding:22px 22px max(22px,env(safe-area-inset-bottom));background:#fffdf9}.drive-sheet::backdrop{background:#16392d66}.drive-sheet h2{font-size:24px;margin:8px 0}.drive-sheet p{font-size:14px;line-height:1.5;margin:8px 0;color:#52665b}.drive-sheet .sheet-kicker{font-size:12px;text-transform:uppercase;letter-spacing:1px;font-weight:900}.drive-sheet .sheet-close{float:right;border:0;border-radius:50%;background:#eef1e7;font-size:22px;width:44px;height:44px;padding:0}.drive-sheet dl{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin:24px 0}.drive-sheet dl div:last-child{grid-column:1/-1}.drive-sheet dt{font-size:12px;color:#53665c}.drive-sheet dd{margin:4px 0 0;font-weight:800;overflow-wrap:anywhere}.drive-sheet>.primary,.drive-sheet>#failed{width:100%;margin-top:15px;min-height:52px}.drive-sheet label{margin:20px 0}.drive-sheet .preview{max-height:30dvh}.driving #toast{z-index:4000;bottom:calc(50dvh - 20px)}.drive-screen.satellite .city-label{background:#fffdf9d9;border-radius:4px}@media(min-width:701px){.drive-screen{max-width:600px;margin:auto;border-left:1px solid #ccd5cc;border-right:1px solid #ccd5cc}.driving{background:#eaece5}}@media(max-height:700px){.drive-turn{min-height:80px;padding:12px 15px}.drive-turn strong{font-size:19px}.drive-meta{margin-bottom:5px}.drive-trip{margin-bottom:8px}.drive-handle{margin-bottom:8px}.drive-info{margin:7px 0}.drive-bottom{padding-top:6px}.drive-controls{gap:5px}.drive-customer h1{font-size:18px}.drive-actions button{min-height:48px}}

.drive-gps-status{margin:8px 0 0;padding:10px 14px;border-radius:14px;background:#fff4d9;color:#513d17;font-size:14px;line-height:1.4;box-shadow:0 3px 16px #0002}.drive-gps-status[hidden]{display:none}

.drive-info span{white-space:normal;overflow-wrap:anywhere;text-align:left}.drive-info b{flex-shrink:0}.drive-driver-note{margin:0 0 10px;font-size:14px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere;max-height:18vh;overflow:auto}

.gps-turn-cue{display:grid;place-items:center;width:38px;height:38px;border:3px solid white;border-radius:50%;background:#246fcd;color:white;font-size:25px;font-weight:900;box-shadow:0 2px 10px #0005}

.drive-address-link{color:inherit;text-decoration:none;display:inline-block;min-height:44px;align-content:center}.drive-address-link span{font-size:.7em;color:#147447}.drive-address-link:focus-visible{outline:3px solid #147447;outline-offset:3px;border-radius:4px}

.drive-screen #gps-heading{display:none}.drive-meta #connection,.drive-meta #overview{display:grid;place-items:center;width:44px;height:44px;padding:0;flex:none}.drive-meta #connection{color:#147447}.drive-meta #connection.offline{color:#b23a32}.drive-trip{justify-content:flex-start;gap:12px;white-space:nowrap;margin-bottom:10px}.drive-trip strong,.drive-trip>span{font-size:18px;line-height:1.3;letter-spacing:0;padding:0;background:none;border-radius:0;font-weight:800}.drive-trip i{font-style:normal;font-size:16px;color:#b9c2b7}.drive-screen [hidden]{display:none!important}

.drive-customer>div{min-width:0;flex:1}.drive-navigate{margin-left:auto;flex:0 0 auto;max-width:112px;min-height:44px;padding:8px 10px;border:0;border-radius:12px;background:#f0f2e9;font-size:12px;line-height:1.3;text-align:center}.drive-navigate span{display:block}

.drive-navigate{width:44px;height:44px;max-width:none;padding:10px;display:grid;place-items:center;border-radius:50%;background:#edf2e7;color:#154e3c}.drive-navigate:hover{background:#dfe9d8}.drive-navigate:focus-visible{outline:3px solid #147447;outline-offset:3px}.drive-turn{min-height:0;padding:12px 16px;gap:12px;border-radius:18px}.drive-turn>span{font-size:32px;width:34px}.drive-turn p{font-size:24px;line-height:1.1;font-weight:900;color:#fff;margin:0 0 3px;letter-spacing:-.4px}.drive-turn p:empty{display:none}.drive-turn strong{font-size:19px;line-height:1.15;letter-spacing:-.2px}@media(max-height:700px){.drive-turn{min-height:0;padding:10px 14px}.drive-turn p{font-size:23px}.drive-turn strong{font-size:18px}}

.drive-top{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:stretch}.drive-turn{min-width:0}.drive-turn>div{min-width:0}.drive-menu-trigger{pointer-events:auto;display:grid;place-items:center;min-height:44px;width:44px;padding:0;border:0;border-radius:15px;background:#154e3c;color:white;box-shadow:0 3px 16px #213b3226}.drive-menu-trigger:focus-visible{outline:3px solid #dce8d0;outline-offset:2px}.drive-gps-status{grid-column:1/-1;margin:0}.drive-screen #drive-menu{inset:max(64px,calc(env(safe-area-inset-top) + 64px)) 12px auto auto;width:min(340px,calc(100vw - 24px));max-height:calc(100dvh - 100px);margin:0;padding:18px;border-radius:20px;box-shadow:0 10px 40px #16392d40}.drive-screen #drive-menu::backdrop{background:#16392d33}.drive-screen #drive-menu h2{font-size:20px}.drive-screen #drive-menu .stack>button{min-height:44px;text-align:left}.drive-screen #drive-menu #gps-heading{display:block}.drive-menu-connection{display:flex;align-items:center;gap:8px;font-size:13px}.drive-menu-connection #connection{display:flex;color:#147447}.drive-menu-connection #connection.offline{color:#b23a32}@media(min-width:701px){.drive-screen #drive-menu{right:calc((100vw - 600px)/2 + 12px)}}

/* Compact controls; troubleshooting stays folded until needed. */
.drive-screen #drive-menu{width:min(310px,calc(100vw - 24px));padding:16px;border-radius:20px}
.settings-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.drive-screen #drive-menu h2{font-size:18px;margin:0 0 3px}.settings-driver{font-size:12px;color:#52665b}.settings-header .sheet-close{flex:none}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.settings-grid button{min-height:48px;padding:10px 8px;border:0;background:#edf2e7;border-radius:12px;font-size:13px;line-height:1.25;text-align:center}.settings-grid button[aria-pressed=true]{background:#154e3c;color:white}
.settings-status{display:flex;align-items:center;gap:8px;margin:12px 0;color:#52665b;font-size:11px;line-height:1.4}.settings-status #connection{display:flex;flex:none;color:#147447}.settings-status #connection.offline{color:#b23a32}
.motion-rate-setting{display:flex!important;align-items:center;justify-content:space-between;gap:10px;margin:8px 0 14px!important;font-size:13px;font-weight:800;color:#173c30}.motion-rate-setting small{display:block;margin-top:3px;font-size:11px;font-weight:400;line-height:1.35;color:#52665b}.motion-rate-setting select{flex:none;width:112px;min-height:44px;padding:7px;border:1px solid #cad5c9;border-radius:10px;background:#fffdf9;color:#173c30;font:inherit;font-size:12px}
.plan-switch{display:flex;align-items:center;gap:10px;margin:10px 0 14px;font-size:13px;font-weight:800;color:#173c30}.plan-switch select{min-width:0;flex:1;min-height:44px;padding:7px;border:1px solid #cad5c9;border-radius:10px;background:#fffdf9;color:#173c30;font:inherit;font-size:13px}.drive-screen #drive-menu .plan-switch{margin:0 0 12px}.driver-shell>.plan-switch{margin:12px 18px}
.settings-details{border-top:1px solid #e2e7dc;border-bottom:1px solid #e2e7dc}.settings-details summary{min-height:44px;align-content:center;font-size:13px;font-weight:800;cursor:pointer}.drive-screen #drive-menu .settings-details p{font-size:12px;margin:8px 0}.settings-tools{display:grid;gap:6px}.settings-tools button{min-height:44px;text-align:left;font-size:13px;padding:8px 12px}.settings-tools p:empty{display:none}.settings-logout{border:0;background:none;min-height:44px;font-size:13px;padding:10px 0;margin-top:3px}
.drive-recenter{position:absolute;z-index:750;right:14px;bottom:calc(var(--dock-height) + 25px);min-width:122px;min-height:54px;padding:9px 12px;border:2px solid #fff;border-radius:17px;display:flex;align-items:center;justify-content:center;gap:7px;background:#edfff0;color:#104b31;box-shadow:0 6px 23px #0a211bbb,0 0 0 1px #237349;white-space:nowrap;font-size:13px;font-weight:900}.drive-recenter svg{flex:none}.drive-recenter:focus-visible{outline:3px solid #147447;outline-offset:3px}
.settings-rotation-hint{font-size:12px!important;line-height:1.35;color:#52665b;margin:12px 2px 0!important}
.drive-stop-list{display:grid;gap:6px;margin-top:14px}.drive-sheet .drive-stop{width:100%;min-height:64px;padding:12px;text-align:left;align-items:center;border:1px solid #e1e6db;border-radius:12px;background:transparent}.drive-stop-text{flex:1;min-width:0}.drive-stop-text strong{display:block;overflow-wrap:anywhere}.drive-stop-text small{display:block;font-size:13px;font-weight:600;line-height:1.5;margin-top:3px}.drive-stop-arrow{flex:none;font-size:22px}.drive-sheet .drive-stop[aria-current]{border-color:#147447;box-shadow:inset 3px 0 #147447}html[data-theme=dark] .drive-sheet .drive-stop{border-color:var(--line);background:var(--soft)}html[data-theme=dark] .drive-sheet .drive-stop[aria-current]{border-color:var(--accent);box-shadow:inset 3px 0 var(--accent)}
.drive-sheet .drive-stop[data-delivery-status=delivered]{background:#e8f4e9;border-color:#abd6b4;color:#17452c}.drive-sheet .drive-stop[data-delivery-status=pending],.drive-sheet .drive-stop[data-delivery-status=failed]{background:#fff0db;border-color:#edc68c;color:#624014}.drive-sheet .drive-stop[aria-current]{outline:2px solid #147447;outline-offset:-2px}.drive-sheet .drive-stop[data-delivery-status=delivered] .number{background:#cae6cf;color:#17452c}.drive-sheet .drive-stop[data-delivery-status=pending] .number,.drive-sheet .drive-stop[data-delivery-status=failed] .number{background:#f8d8a8;color:#624014}html[data-theme=dark] .drive-sheet .drive-stop[data-delivery-status=delivered]{background:#274a35;border-color:#538760;color:#edf8ee}html[data-theme=dark] .drive-sheet .drive-stop[data-delivery-status=pending],html[data-theme=dark] .drive-sheet .drive-stop[data-delivery-status=failed]{background:#503923;border-color:#ab7743;color:#fff1dc}html[data-theme=dark] .drive-sheet .drive-stop[data-delivery-status=delivered] .number{background:#38674a;color:#f0fbf1}html[data-theme=dark] .drive-sheet .drive-stop[data-delivery-status=pending] .number,html[data-theme=dark] .drive-sheet .drive-stop[data-delivery-status=failed] .number{background:#78532d;color:#fff1dc}
.drive-remaining-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 0;padding:10px 12px;border-radius:12px;background:#fff0db;color:#624014}.drive-remaining-summary button{padding:8px 10px;border-color:#d8a765;color:#624014;background:#fff8ed;font-size:13px}.drive-remaining-list{list-style:none;padding:0;margin:14px 0 18px;max-height:32dvh;overflow:auto;display:grid;gap:7px}.drive-remaining-list li{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid #edc68c;border-radius:12px;background:#fff0db;color:#624014;font-weight:800}.drive-remaining-list b{display:grid;place-items:center;min-width:32px;height:32px;border-radius:9px;background:#f8d8a8}.drive-remaining-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:10px}.drive-remaining-actions button{min-height:52px;padding:10px;font-size:14px}html[data-theme=dark] .drive-remaining-summary,html[data-theme=dark] .drive-remaining-list li{background:#503923;border-color:#ab7743;color:#fff1dc}html[data-theme=dark] .drive-remaining-summary button,html[data-theme=dark] .drive-remaining-list b{background:#78532d;color:#fff1dc;border-color:#ab7743}@media(max-width:360px){.drive-remaining-actions{grid-template-columns:1fr}}

.drive-gps-prompt{position:absolute;z-index:760;left:50%;top:max(175px,calc((100dvh - var(--dock-height))/2));transform:translate(-50%,-50%);width:min(340px,calc(100% - 40px));min-height:92px;display:flex;align-items:center;gap:13px;padding:14px 16px;border:1px solid #dce7d8;border-radius:20px;background:#fffdf9;color:#173c30;text-align:left;box-shadow:0 12px 35px #102b2380;cursor:pointer}.drive-gps-prompt-icon{width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:14px;background:#e4f0df;color:#147447;font-size:29px;line-height:1}.drive-gps-prompt-copy{min-width:0;flex:1}.drive-gps-prompt-copy strong{display:block;font-size:16px;line-height:1.2}.drive-gps-prompt-copy small{display:block;margin-top:4px;color:#147447;font-size:13px;font-weight:800;line-height:1.2}.drive-gps-prompt-arrow{font-size:23px;color:#147447}.drive-gps-prompt:focus-visible{outline:3px solid #147447;outline-offset:3px}.drive-gps-prompt:hover{background:#f3f8ef}html[data-theme=dark] .drive-gps-prompt{background:#20382d;color:#f5fbf2;border-color:#476451}html[data-theme=dark] .drive-gps-prompt:hover{background:#2a4637}html[data-theme=dark] .drive-gps-prompt-icon{background:#315d42;color:#d5f2d8}html[data-theme=dark] .drive-gps-prompt-copy small,html[data-theme=dark] .drive-gps-prompt-arrow{color:#9cdbab}

.map-detail-setting{display:flex;align-items:center;gap:10px;min-height:48px;margin-top:4px;font-size:13px;font-weight:800;cursor:pointer}.map-detail-setting input{width:18px;height:18px;margin:0;accent-color:#147447;flex:none}.map-detail-setting input:disabled+span{opacity:.55}.map-detail-setting input:focus-visible{outline:3px solid #147447;outline-offset:3px}
.drive-mapbox-credit{min-width:0;min-height:0;display:grid;place-items:center;padding:0;background:transparent!important;box-shadow:none}.drive-mapbox-credit img{display:block;height:30px;width:auto;max-width:140px}
.drive-screen.mapbox-active .drive-mapbox-credit{top:auto;bottom:calc(var(--dock-height) + 6px)}.drive-screen.mapbox-active .drive-top{top:max(10px,env(safe-area-inset-top))}

/* Quick access to the route list from the driving status row. */
.drive-trip .drive-trip-stops{margin-left:auto;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:0 12px;border:1px solid #c8d9cb;border-radius:12px;background:#e8f1e7;color:#154e3c;font-size:13px;font-weight:800;line-height:1;white-space:nowrap;cursor:pointer;flex:none}
.drive-trip .drive-trip-stops:hover{background:#d9e9d8}
.drive-trip .drive-trip-stops:focus-visible{outline:3px solid #147447;outline-offset:2px}
html[data-theme=dark] .drive-trip .drive-trip-stops{background:#284235;color:#d4f4df;border-color:#4d735b}
@media(max-width:360px){.drive-trip{gap:6px}.drive-trip strong,.drive-trip>span{font-size:16px}.drive-trip .drive-trip-stops{padding:0 9px;font-size:12px}.drive-trip .trip-stops-verb{display:none}}
.drive-screen .drive-map.mapboxgl-map{position:absolute;inset:0;z-index:0;font-family:inherit}
.drive-screen.mapbox-gl-active .drive-top{top:max(10px,env(safe-area-inset-top))}
.drive-screen.mapbox-gl-active .mapboxgl-ctrl-bottom-left,.drive-screen.mapbox-gl-active .mapboxgl-ctrl-bottom-right{bottom:calc(var(--dock-height) + 6px);z-index:600}
.drive-screen.mapbox-gl-active .mapboxgl-ctrl-bottom-left .mapboxgl-ctrl{margin:0 0 0 8px}
.drive-screen.mapbox-gl-active .mapboxgl-ctrl-bottom-right{max-width:calc(100% - 114px)}
.drive-screen.mapbox-gl-active .mapboxgl-ctrl-bottom-right .mapboxgl-ctrl{margin:0 8px 0 0}
.drive-screen.mapbox-gl-active .mapboxgl-ctrl-attrib{max-width:100%;font-size:10px;line-height:1.3;white-space:normal;padding:0;background:transparent!important;color:#173c30;text-shadow:0 1px 2px #fff,0 0 4px #fff}
.drive-screen.mapbox-gl-active .mapboxgl-ctrl-attrib a{white-space:nowrap;color:inherit;text-shadow:inherit}
.drive-screen.mapbox-gl-active.satellite .mapboxgl-ctrl-attrib{color:white;text-shadow:0 1px 2px #000,0 0 5px #000}
.drive-screen.mapbox-gl-active .mapboxgl-ctrl-attrib-button{display:none!important}
.drive-screen.mapbox-gl-active .mapboxgl-popup{z-index:650}
.drive-screen.mapbox-gl-active .mapboxgl-popup-content{background:#fffdf9;color:#173c30;border-radius:12px;padding:16px}
.nybakat-gl-pin{display:grid;place-items:center;cursor:pointer}
.nybakat-gl-pin .pin{display:grid;place-items:center}
.drive-sheet .map-engine-status{font-size:12px;margin:0 0 12px}
.drive-sheet .map-engine-status:empty{display:none}

/* The three delivery controls fit the same thumb-reachable row. */
.drive-actions-delivery{grid-template-columns:44px minmax(76px,.65fr) minmax(0,1.35fr);gap:8px}
.drive-actions-delivery button{padding:10px 8px;font-size:15px;line-height:1.15;min-height:56px}
.drive-actions .drive-failure{background:#fff0db;color:#624014;border:1px solid #edc68c;font-weight:800}
.drive-actions button:focus-visible,.drive-failure-reasons button:focus-visible,.drive-run-prompt:focus-visible,.drive-run-confirm:focus-visible{outline:3px solid #147447;outline-offset:3px}
.drive-failure-reasons{display:grid;gap:8px;margin:16px 0}
.drive-failure-reasons button{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;min-height:52px;padding:12px 14px;border:1px solid #edc68c;border-radius:13px;background:#fff0db;color:#624014;font-size:15px}
.drive-failure-sheet textarea{width:100%;font:inherit;resize:vertical}
.drive-run-prompt{position:absolute;z-index:760;left:50%;top:max(190px,calc((100dvh - var(--dock-height))/2));transform:translate(-50%,-50%);width:min(300px,calc(100% - 48px));min-height:112px;display:grid;grid-template-columns:40px 1fr;column-gap:12px;align-items:center;padding:20px;border:1px solid #78a187;border-radius:22px;background:#154e3c;color:#fff;text-align:left;box-shadow:0 8px 28px #102b2359}
.drive-run-prompt>span{grid-row:1/3;font-size:34px;text-align:center}.drive-run-prompt strong{font-size:23px;line-height:1.2}.drive-run-prompt small{font-size:13px;font-weight:600;margin-top:5px}
.drive-start-list{list-style:none;padding:0;margin:18px 0;display:grid;gap:8px}
.drive-start-list li{display:flex;align-items:center;gap:12px;min-height:62px;padding:12px;border:1px solid #dce7d8;border-radius:13px}
.drive-start-list li>b{display:grid;place-items:center;min-width:34px;height:34px;background:#e8efdf;color:#173c30;border-radius:10px}
.drive-start-list span{min-width:0}.drive-start-list strong{display:block;overflow-wrap:anywhere}.drive-start-list small{display:block;margin-top:3px;color:#52665b;font-size:13px}
/* Keep the start action visible while the inspection content scrolls. */
.drive-start-sheet{padding:0;overflow:hidden}
.drive-start-sheet[open]{display:flex;flex-direction:column}
.drive-start-content{min-height:0;overflow:auto;overscroll-behavior:contain;padding:22px}
.drive-start-content:focus-visible{outline:3px solid #147447;outline-offset:-4px}
.drive-start-footer{flex:none;padding:12px 22px max(22px,env(safe-area-inset-bottom));border-top:1px solid var(--line,#dce7d8);background:inherit}
.drive-start-sheet .drive-run-confirm{width:100%;min-height:56px;font-size:19px;margin-top:12px}.drive-start-sheet .drive-start-note{font-size:13px;margin:0}
.drive-start-footer .error:empty{display:none}
.drive-delivery-feedback{position:fixed;inset:0;z-index:4500;display:grid;place-items:center;pointer-events:none;background:#102b231a}
.drive-feedback-card{display:grid;justify-items:center;gap:12px;padding:24px 32px;border-radius:24px;background:#fffdf9;color:#147447;box-shadow:0 8px 30px #102b2340;animation:delivery-pop 220ms ease-out}
.drive-feedback-card strong{font-size:23px}.drive-feedback-card svg path{stroke-dasharray:45;stroke-dashoffset:45;animation:delivery-check 350ms 80ms ease-out forwards}
.bread-finale{position:fixed;inset:0;z-index:6000;overflow:hidden;display:grid;place-items:center;pointer-events:none;background:#123d30f5;color:#fff4d9;animation:bread-finale-enter 160ms ease-out}
.bread-finale-rain{position:absolute;inset:0;overflow:hidden}
.bread-finale-piece{position:absolute;top:-70px;left:var(--x);width:var(--size);height:var(--size);animation:bread-finale-fall var(--fall) linear 13 both;animation-delay:var(--delay);will-change:transform}
.bread-finale-piece svg{display:block;width:100%;height:100%}
.bread-finale-copy{position:relative;max-width:calc(100% - 32px);padding:24px;text-align:center;border-radius:32px;background:#123d30e8;box-shadow:0 0 65px 25px #123d30b8;animation:delivery-pop 220ms ease-out}
.bread-finale-copy p{margin:0 0 14px;font-size:14px;font-weight:800;font-variation-settings:"wght" 800;letter-spacing:.12em;text-transform:uppercase;color:#eecf9c}
.bread-finale-copy h2{margin:0;font-size:clamp(32px,9vw,64px);font-weight:900;font-variation-settings:"wght" 900;line-height:1.05;letter-spacing:-.04em;color:inherit}
.bread-finale-copy>span{display:block;margin-top:18px;font-size:19px;font-weight:700;font-variation-settings:"wght" 700}
.bread-finale-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0 0;padding-top:18px;border-top:1px solid #eed6a955}
.bread-finale-stats>div{min-width:0}.bread-finale-stats dt{font-size:12px;line-height:1.3;color:#eecf9c}
.bread-finale-stats dd{margin:7px 0 0;font-size:20px;line-height:1.2;font-weight:800;font-variation-settings:"wght" 800;overflow-wrap:anywhere}
@media(max-height:480px){.bread-finale-copy{padding:16px}.bread-finale-copy p{margin-bottom:8px;font-size:12px}.bread-finale-copy h2{font-size:32px}.bread-finale-copy>span{margin-top:8px;font-size:16px}.bread-finale-stats{margin-top:14px;padding-top:12px}}
@keyframes bread-finale-fall{from{transform:translate3d(0,0,0) rotate(0)}to{transform:translate3d(var(--drift),calc(100dvh + 150px),0) rotate(var(--spin))}}
@keyframes bread-finale-enter{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.bread-finale,.bread-finale-copy,.bread-finale-piece{animation:none}.bread-finale-piece{top:var(--still-y);opacity:.5;transform:rotate(var(--spin));will-change:auto}}
@keyframes delivery-pop{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}
@keyframes delivery-check{to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){.drive-feedback-card,.drive-feedback-card svg path{animation:none}.drive-feedback-card svg path{stroke-dashoffset:0}}
html[data-theme=dark] .drive-actions .drive-failure,html[data-theme=dark] .drive-failure-reasons button{background:#503923;color:#fff1dc;border-color:#ab7743}
html[data-theme=dark] .drive-start-list li{border-color:var(--line)}html[data-theme=dark] .drive-start-list li>b{background:var(--soft);color:var(--ink)}html[data-theme=dark] .drive-start-list small{color:var(--sub)}
html[data-theme=dark] .drive-feedback-card{background:#20382d;color:#9cdbab}
.driver-home h1{font-size:30px;line-height:1.2;letter-spacing:-.6px;overflow-wrap:anywhere}.driver-home .access-brand>div{gap:8px}.driver-home .access-brand button{min-height:44px}.driver-home .access-kicker{line-height:1.5}.driver-home-card{margin-top:24px}.driver-home-card .access-muted{margin:0 0 12px}.driver-home-start{font-size:14px;color:#52665b;margin-bottom:24px}.driver-home-card button{min-height:52px}.driver-home-history{margin-top:28px;padding-top:12px;border-top:1px solid #d6dfd0}.driver-home-history summary{min-height:48px}.driver-home-history form{margin-top:12px}.driver-home-history select{width:100%;min-height:48px}.driver-home-history button{min-height:48px}.driver-home-refresh{min-height:44px;margin-top:24px;background:transparent}.driver-home-offline{padding:12px;margin-top:16px;background:#fff0db;color:#624014;border-radius:12px;font-size:14px;line-height:1.5}.driver-home #queue-status:empty{display:none}html[data-theme=dark] .driver-home-start{color:var(--sub)}html[data-theme=dark] .driver-home-history{border-color:var(--line)}html[data-theme=dark] .driver-home-offline{background:#503923;color:#fff1dc}
@media(max-width:380px){.driver-home .access-brand .logo{width:86px}.driver-home .access-brand button{padding:10px}.driver-home h1{font-size:27px}}
