/* Roadwise Drive: canvas first. The rest of the app keeps its original layout. */
body.drive-mode{background:#eef2ef}.drive-mode .workspace{margin-left:76px}.drive-mode .sidebar:not(.open){width:76px;padding:22px 12px}.drive-mode .sidebar:not(.open) .brand{justify-content:center}.drive-mode .sidebar:not(.open) .brand>span,.drive-mode .sidebar:not(.open) .brand-caption,.drive-mode .sidebar:not(.open) .nav-label,.drive-mode .sidebar:not(.open) .nav-pill,.drive-mode .sidebar:not(.open) .sidebar-bottom{display:none}.drive-mode .sidebar:not(.open) nav{margin-top:38px;gap:10px}.drive-mode .sidebar:not(.open) nav a{font-size:0;justify-content:center;padding:13px 8px}.drive-mode .sidebar:not(.open) .nav-icon{font-size:23px}.drive-mode .sidebar.open{width:236px}.drive-mode .topbar{height:54px;padding:0 22px;background:#f8faf7;backdrop-filter:none;gap:18px}.drive-mode .menu-button{display:inline-flex;font-size:21px;width:30px;align-items:center;justify-content:center}.drive-mode .topbar .global-search{max-width:300px}.drive-mode #main{max-width:none;padding:14px 20px 8px;outline:none}.drive-mode .footer{display:none}.drive-shell{--drive-ink:#233c3d;--drive-muted:#637778;--drive-green:#c4efb8;color:var(--drive-ink);height:calc(100dvh - 82px);min-height:630px;display:grid;grid-template-rows:55px minmax(280px,1fr) 96px 48px 27px;max-width:none;margin:0 auto}.drive-shell *{box-sizing:border-box}.drive-shell button,.drive-shell select,.drive-shell input{font:inherit}.drive-shell button{cursor:pointer;transition:background .12s,box-shadow .12s;touch-action:manipulation}.drive-shell button:disabled{opacity:.42;cursor:not-allowed}.drive-shell button:focus-visible,.drive-shell select:focus-visible,.drive-shell input:focus-visible,.drive-shell canvas:focus-visible{outline:3px solid #8bba68;outline-offset:3px}.drive-shell [hidden]{display:none!important}.drive-titlebar{display:flex;align-items:flex-start;gap:26px}.drive-kicker{font-size:9px;letter-spacing:2px;font-weight:750;color:#71847c}.drive-title h1{font-size:23px;line-height:1.1;letter-spacing:-.7px;margin:3px 0 0;white-space:nowrap}.drive-version{display:inline-block;font-size:10px;letter-spacing:0;padding:4px 6px;margin-left:8px;background:#dbe7dd;border-radius:5px;vertical-align:middle;color:#51725c}.drive-lesson-form{align-self:center;margin-top:-8px;min-width:0}.drive-lesson-form select{font-size:13px;font-weight:600;border:1px solid #d7e1d8;background:#f8faf7;border-radius:9px;padding:9px 28px 9px 12px;max-width:310px;width:100%;color:#304c45;min-height:40px}.drive-heading-actions{display:flex;margin-left:auto;align-self:center;margin-top:-8px;gap:7px}.drive-heading-actions button{border:1px solid #d6e0d7;background:#f8faf7;border-radius:8px;min-width:38px;height:38px;padding:0 11px;font-size:13px;color:#365147}.drive-stage{position:relative;border-radius:16px 16px 0 0;overflow:hidden;background:#dee9e1;border:1px solid #c7d6cc;border-bottom:0;min-height:0;isolation:isolate}.drive-stage>canvas{display:block;width:100%;height:100%;position:absolute;inset:0;touch-action:none}.drive-loading{position:absolute;inset:0;background:#e7eee7;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:10px;z-index:8;padding:28px;text-align:center}.drive-loading strong{font-size:18px}.drive-loading span{font-size:12px;max-width:380px}.drive-hud{position:absolute;left:18px;top:17px;display:flex;align-items:center;gap:15px;background:#f7faf2ed;border:1px solid #ffffffaa;border-radius:12px;padding:9px 14px;color:#243d3b;box-shadow:0 4px 18px #142c3b12;pointer-events:none}.drive-gear-readout{font-size:27px;font-weight:700;line-height:1;background:#e4eadf;border-radius:6px;padding:7px 9px;min-width:34px;text-align:center}.drive-speed strong{font-size:25px;font-variant-numeric:tabular-nums;line-height:1}.drive-speed small{display:block;font-size:8px;margin-top:3px;color:#6b7e77}.drive-state{border-left:1px solid #d4ded3;padding-left:14px;font-size:11px;line-height:1.2}.drive-state i{display:inline-block;width:6px;height:6px;background:#639978;border-radius:50%;margin-right:5px}.drive-state small{display:block;font-size:9px;margin-top:5px;color:#7a8a81}.drive-cameras{position:absolute;right:18px;top:17px;display:flex;gap:3px;background:#f7faf2ed;padding:4px;border:1px solid #ffffff99;border-radius:10px;box-shadow:0 4px 18px #142c3b12}.drive-cameras button{border:0;background:transparent;border-radius:6px;padding:8px 10px;color:#6a7f74;font-size:11px;font-weight:600;min-height:34px}.drive-cameras button[aria-pressed=true]{background:#25473f;color:#ecf7e9}.drive-shell kbd{font:inherit;font-size:10px;border:1px solid #75857633;border-radius:4px;padding:1px 4px;opacity:.75}.drive-cameras kbd{font-size:8px;margin-left:4px;border-color:currentColor;opacity:.45}.drive-view-tools{position:absolute;right:18px;top:80px;display:grid;gap:7px}.drive-view-tools button{width:35px;height:35px;border:1px solid #ffffff99;border-radius:8px;background:#f6f9f0ed;color:#325445;font-size:21px;line-height:1;box-shadow:0 3px 14px #142c3b10}.drive-world-label{position:absolute;top:0;left:0;pointer-events:none;font-size:9px;line-height:1;letter-spacing:1.3px;font-weight:800;padding:6px 8px;border-radius:5px;white-space:nowrap;opacity:1;will-change:transform}.drive-you-label{background:#f1f5e5;color:#285b50;box-shadow:0 2px 5px #12363422}.drive-target-label{background:#bdeab0e6;color:#315a40}.drive-coach{position:absolute;left:18px;bottom:32px;width:340px;padding:14px 17px 13px;background:#fafcf6f2;border:1px solid #ffffffc9;border-radius:12px;box-shadow:0 6px 25px #17383115}.drive-coach-top{display:flex;align-items:center;justify-content:space-between}.drive-coach-kicker{font-size:8px;letter-spacing:1.3px;font-weight:750;color:#6c8175}.drive-coach-top button{height:20px;width:23px;padding:0;border:0;background:none;color:#698273;font-size:18px}.drive-phases{display:flex;gap:7px;margin:7px 0 11px}.drive-phases span{font-size:8px;font-weight:650;color:#8c9b90;padding:4px 6px;border-radius:5px;background:#ecf1e9}.drive-phases span[data-current=true]{background:#d9edce;color:#446147}.drive-coach>strong{display:block;font-size:16px;font-weight:680;letter-spacing:-.25px;line-height:1.3}.drive-coach p{font-size:11px;line-height:1.55;color:#60776b;margin:6px 0 0;max-width:100%}.drive-coach[data-kind=stop]{border-left:4px solid #c26a4b}.drive-coach[data-kind=warning]{border-left:4px solid #c7984b}.drive-coach[data-kind=success]{border-left:4px solid #629763}.drive-coach-restore{position:absolute;bottom:35px;left:18px;background:#f6f9f0;border:1px solid #d2e0ce;border-radius:8px;padding:9px 11px;font-size:11px;color:#375c49}.drive-metrics{position:absolute;right:18px;bottom:74px;display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;background:#f5f8efe8;border:1px solid #ffffff88;border-radius:10px;padding:11px 14px;pointer-events:none}.drive-metrics span{display:block;font-size:9px;color:#718679}.drive-metrics strong{display:block;font-size:20px;font-variant-numeric:tabular-nums;font-weight:650;color:#335347;line-height:1.3;margin-top:3px}.drive-metrics small{grid-column:1/-1;font-size:7px;color:#89998c;letter-spacing:.2px}.drive-legend{position:absolute;right:18px;bottom:31px;display:flex;align-items:center;gap:12px;color:#294b40;font-size:9px;background:#f5f8efe6;padding:8px 10px;border-radius:7px}.drive-legend span{display:flex;align-items:center;gap:5px}.drive-legend i{height:5px;width:14px;border-radius:3px}.drive-legend .rear{background:#389c82}.drive-legend .front{background:#d49243}.drive-legend small{font-size:8px;color:#6e8375}.drive-camera-hint{position:absolute;left:18px;bottom:10px;font-size:9px;color:#516d5e;background:#eaf1e1a8;padding:2px 6px;border-radius:3px;pointer-events:none}.drive-console{display:flex;align-items:center;gap:24px;background:#233e3e;padding:15px 24px;border-radius:0 0 14px 14px;color:#ecf2e8;box-shadow:0 8px 15px #1e433711}.drive-gears{display:flex;gap:5px;padding-right:21px;border-right:1px solid #5a747044}.drive-gears button{border:1px solid #62837a55;background:#2c4848;color:#bdd1c8;border-radius:8px;width:39px;height:50px;font-size:17px;font-weight:650}.drive-gears button[aria-pressed=true]{background:#dcebd1;border-color:#dcebd1;color:#2c5549}.drive-steering{display:flex;align-items:center;gap:10px;flex:1;min-width:240px;max-width:560px}.drive-steer-arrow{background:#385352;border:1px solid #5c777166;color:#d4e4d9;border-radius:7px;min-width:34px;height:40px;font-size:17px;touch-action:none!important}.drive-steer-arrow.held{background:#668e7d}.drive-wheel{width:64px;height:64px;flex-shrink:0;cursor:ew-resize;touch-action:none}.drive-wheel svg{width:100%;height:100%;fill:none;stroke:#d3e2d8;stroke-width:4;transform-origin:center}.drive-steer-range{flex:1;min-width:80px}.drive-steer-range>div{display:flex;justify-content:space-between;gap:5px;font-size:10px;white-space:nowrap}.drive-steer-range output{color:#b6ccbc;font-size:9px}.drive-steer-range small{font-size:8px;color:#8ba99c;display:block}.drive-steer-range input{width:100%;margin:7px 0 3px;accent-color:#c4efb8;cursor:ew-resize;height:15px;touch-action:none}.drive-center{background:none;border:0;border-left:1px solid #69867e44;padding:5px 0 5px 12px;color:#c4d9ca;font-size:10px;height:44px}.drive-center kbd{display:block;max-width:17px;margin:4px auto 0;border-color:#80988c}.drive-pedals{display:flex;gap:10px;margin-left:auto}.drive-pedal{height:62px;border:1px solid #adc8aa55;border-radius:10px;min-width:160px;padding:10px 20px;touch-action:none!important;user-select:none;-webkit-user-select:none}.drive-pedal strong{font-size:14px;display:block;font-weight:650}.drive-pedal small{font-size:8px;display:block;margin-top:5px}.drive-accelerator{background:#c4edb5;color:#2d5543;box-shadow:inset 0 -4px 0 #a9cb9b}.drive-accelerator[data-active=true]{background:#a6d294;box-shadow:inset 0 3px 0 #8fb781;transform:translateY(1px)}.drive-brake{background:#435956;border-color:#7c8c7755;color:#e9e9cf;min-width:83px;padding:10px 14px;box-shadow:inset 0 -3px 0 #304744}.drive-brake[data-active=true]{background:#9e795a}.drive-actionbar{display:flex;align-items:center;justify-content:space-between;gap:15px}.drive-session-actions{display:flex;gap:8px}.drive-session-actions button,.drive-assists button{font-size:10px;border:0;background:transparent;color:#547361;border-radius:5px;padding:6px 9px;min-height:34px}.drive-session-actions button:hover,.drive-assists button:hover{background:#dce6d9}.drive-session-actions button:first-child{font-weight:700;background:#e2eadc}.drive-assists{display:flex;align-items:center;gap:15px;font-size:10px;color:#5f7c69}.drive-assists label{display:flex;align-items:center;gap:6px;cursor:pointer}.drive-assists input{accent-color:#597e58;width:14px;height:14px}.drive-assists button[aria-pressed=true]{color:#3c6546;background:#e0eadb}.drive-bottomline{display:flex;align-items:center;gap:20px;font-size:9px;color:#82907e;border-top:1px solid #d9e2d5;white-space:nowrap;overflow:hidden}.drive-bottomline>span:last-child{margin-left:auto}.drive-keyboard-guide{display:flex;align-items:center;gap:5px}.drive-bottomline kbd{font-size:8px;padding:0 4px}.drive-session-message{color:#526d5c;text-overflow:ellipsis;overflow:hidden;font-size:9px}.drive-extras{display:flex;align-items:center;gap:20px;padding:15px 2px 10px;font-size:10px;color:#829480}.drive-extras button{border:0;background:none;color:#698368;padding:6px 0;font-size:10px}.drive-extras a{color:#56735f}.drive-extras>span{margin-left:auto}.drive-context-loss{position:absolute;inset:30% 20% auto;background:#f9fbf2;border:1px solid #c1d2b8;padding:25px;z-index:12;border-radius:12px;text-align:center;box-shadow:0 5px 30px #20353022}.drive-context-loss p{font-size:13px}.drive-context-loss button{background:#345b4e;border:0;color:white;padding:10px 15px;border-radius:7px}.drive-dialog{width:min(680px,calc(100vw - 28px));max-height:calc(100dvh - 44px);padding:28px;border:1px solid #d5e1cc;background:#f8faf3;color:#2d4b40;border-radius:18px;box-shadow:0 24px 80px #152c3744;overflow:auto}.drive-dialog::backdrop{background:#142e37a0;backdrop-filter:blur(4px)}.drive-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px}.drive-dialog h2{font-size:27px;letter-spacing:-.8px;line-height:1.2;margin:6px 0 0}.drive-dialog-heading>button{border:0;background:#e7eddf;border-radius:50%;width:32px;height:32px;color:#5b795f;font-size:24px;line-height:1;flex-shrink:0}.drive-dialog>p,.drive-dialog section p{font-size:12px;line-height:1.75;color:#67816c}.drive-dialog form{margin-top:20px}.drive-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.drive-settings-grid label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#5c765e;font-weight:600}.drive-settings-grid select{font-size:12px;border:1px solid #cbdcc3;border-radius:8px;background:white;min-height:44px;padding:9px;color:#365444;width:100%}.drive-dialog-note{padding:13px 15px;background:#eaf0e3;border-radius:8px;font-size:11px!important;line-height:1.7;color:#6b836d;margin:18px 0}.drive-primary{border:0;background:#2e594b;color:#eef6e8;border-radius:8px;padding:12px 18px;font-size:12px}.drive-settings-links{border-top:1px solid #d9e2d0;margin-top:22px;padding-top:17px;display:flex;gap:17px;flex-wrap:wrap;font-size:11px}.drive-settings-links a,.drive-help-footer a{color:#477054}.drive-help-dialog{width:min(800px,calc(100vw - 28px))}.drive-help-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.drive-dialog h3{font-size:15px;font-weight:700;margin:10px 0}.drive-help-boundaries{border-top:1px solid #d5e1ce;padding-top:15px;margin-top:7px}.drive-help-footer{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:16px}.drive-help-footer button,.drive-review-actions>button:not(.drive-primary){font-size:11px;background:#e7efdf;border:1px solid #cbdbbd;border-radius:7px;padding:10px 12px;color:#557650}.drive-help-footer a{font-size:11px;margin-left:auto}.drive-compare-dialog{width:min(970px,calc(100vw - 28px))}.drive-branches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}.drive-branch{background:white;border:1px solid #d5e3cc;border-radius:11px;padding:10px;min-width:0}.drive-branch canvas{display:block;width:100%;height:175px;border-radius:6px}.drive-branch h3{font-size:13px;margin:13px 0 6px}.drive-branch p{font-size:10px;line-height:1.6;margin:6px 0;color:#6d826b}.drive-branch .drive-branch-result{font-size:11px;color:#456544;font-weight:600}.drive-branch[data-blocked=true]{border-color:#d6aa8d}.drive-branch[data-blocked=true] .drive-branch-result{color:#ad6947}.drive-branch button{width:100%;background:#eaf1e2;border:1px solid #d3e2c6;border-radius:6px;color:#4f724a;font-size:11px;padding:9px 5px;margin-top:7px}.drive-review-canvas{display:block;width:100%;height:300px;border-radius:10px;background:#d8e5d7}.drive-review-label{font-size:11px;display:flex;justify-content:space-between;gap:15px;margin-top:18px}.drive-dialog input[type=range]{width:100%;accent-color:#5d8651;margin-top:15px}.drive-review-actions{display:flex;gap:10px;flex-wrap:wrap}.drive-focus #parking-drive{position:fixed;inset:0;z-index:99;background:#edf2e9;height:100dvh;min-height:0;padding:12px 16px;grid-template-rows:48px minmax(180px,1fr) 96px 43px 25px}.drive-focus .sidebar,.drive-focus .topbar,.drive-focus .drive-extras{display:none}.drive-focus{overflow:hidden}
@media(min-width:1700px){.drive-coach{width:380px;padding:18px 21px}.drive-coach>strong{font-size:19px}.drive-coach p{font-size:12px}.drive-shell{grid-template-rows:60px minmax(350px,1fr) 106px 50px 28px}.drive-console{gap:35px}}
@media(max-width:1150px){.drive-console{gap:15px;padding:14px 16px}.drive-wheel{width:51px;height:51px}.drive-pedal{min-width:128px;padding:8px 13px}.drive-brake{min-width:70px}.drive-gears{padding-right:14px;gap:3px}.drive-gears button{width:32px;height:45px}.drive-steering{gap:7px}.drive-steer-range small{font-size:7px}.drive-bottomline>span:last-child{display:none}.drive-coach{width:305px}.drive-legend small{display:none}.drive-titlebar{gap:20px}.drive-keyboard-guide{display:none}.drive-stage{border-radius:12px 12px 0 0}}
@media(max-width:800px){.drive-mode .workspace{margin-left:0}.drive-mode .sidebar:not(.open){display:none}.drive-mode .sidebar.open{display:flex;transform:none;inset:54px auto 0 0;height:calc(100dvh - 54px)}.drive-mode .topbar{height:48px;padding:0 13px}.drive-mode .topbar .global-search{display:none}.drive-mode .topbar .location{margin-left:auto}.drive-mode #main{padding:8px 10px}.drive-shell{height:calc(100dvh - 64px);min-height:670px;grid-template-rows:51px minmax(270px,1fr) 136px 47px 24px}.drive-titlebar{gap:14px}.drive-title h1{font-size:21px}.drive-heading-actions{gap:5px}.drive-heading-actions button{height:35px;min-width:34px;padding:0 8px}.drive-heading-actions button>span{display:none}.drive-lesson-form{flex:1}.drive-lesson-form select{max-width:none;font-size:11px;padding-left:9px}.drive-console{display:grid;grid-template-columns:auto 1fr;grid-template-rows:54px 54px;gap:6px 14px;padding:10px 14px}.drive-gears{grid-row:2;grid-column:1;border-right:none;padding:0}.drive-gears button{height:45px;width:34px}.drive-steering{grid-row:1;grid-column:1/-1;max-width:none;min-width:0;gap:10px}.drive-wheel{width:48px;height:48px}.drive-steer-range small{font-size:8px}.drive-pedals{grid-row:2;grid-column:2;margin-left:0;justify-content:stretch;gap:8px}.drive-pedal{height:48px;min-width:100px;flex:1;padding:5px 10px}.drive-pedal strong{font-size:13px}.drive-pedal small{font-size:8px;margin-top:3px}.drive-brake{min-width:65px;flex:.5}.drive-hud{left:12px;top:12px;padding:7px 9px;gap:10px}.drive-gear-readout{font-size:20px;padding:6px 7px}.drive-speed strong{font-size:21px}.drive-state{display:none}.drive-cameras{top:12px;right:12px;padding:3px;gap:0}.drive-cameras button{padding:7px 8px;font-size:10px;min-height:30px}.drive-cameras kbd{display:none}.drive-view-tools{right:12px;top:61px;gap:6px}.drive-view-tools button{width:32px;height:32px;font-size:19px}.drive-coach{left:12px;bottom:28px;padding:10px 12px;width:275px}.drive-phases{margin:5px 0 7px;gap:5px}.drive-coach>strong{font-size:14px}.drive-coach p{font-size:10px;line-height:1.45}.drive-coach-kicker{font-size:7px}.drive-coach-top button{height:16px}.drive-metrics{right:12px;bottom:168px;padding:7px 10px;gap:5px 12px}.drive-metrics strong{font-size:15px}.drive-metrics span{font-size:8px}.drive-metrics small{display:none}.drive-legend{display:none}.drive-camera-hint{bottom:8px;left:12px;font-size:8px}.drive-session-actions{gap:2px}.drive-session-actions button{font-size:9px;padding:6px 7px}.drive-assists{gap:5px;font-size:9px}.drive-assists button{font-size:9px;padding:5px 6px}.drive-assists label{gap:4px}.drive-bottomline{font-size:8px;gap:6px}.drive-bottomline>span:last-child{display:none}.drive-session-message{font-size:8px}.drive-extras{gap:12px;flex-wrap:wrap;font-size:9px;padding:8px 2px}.drive-extras>span{display:none}.drive-extras button{font-size:9px}.drive-dialog{padding:22px}.drive-dialog h2{font-size:24px}.drive-help-grid{grid-template-columns:1fr;gap:5px}.drive-branches{grid-template-columns:1fr}.drive-branch{display:grid;grid-template-columns:135px 1fr;column-gap:12px;padding:9px}.drive-branch canvas{grid-column:1;grid-row:1/5;height:150px}.drive-branch h3,.drive-branch p,.drive-branch button{grid-column:2}.drive-branch h3{margin:2px 0 3px}.drive-branch button{margin-top:4px}.drive-branch p{margin:3px 0}.drive-settings-links{flex-direction:column;gap:12px}.drive-review-canvas{height:230px}.drive-focus #parking-drive{padding:8px;grid-template-rows:47px minmax(200px,1fr) 136px 43px 22px}.drive-context-loss{inset:25% 10% auto;padding:18px}}
@media(max-width:460px){.drive-titlebar{gap:8px}.drive-title h1{font-size:18px}.drive-title .drive-kicker{font-size:7px;letter-spacing:1px}.drive-version{font-size:8px;margin-left:5px;padding:3px 4px}.drive-heading-actions{gap:4px}.drive-heading-actions button{min-width:29px;width:29px;padding:0;font-size:13px}.drive-heading-actions [data-drive-action=focus]{display:none}.drive-lesson-form select{font-size:10px;padding:8px 20px 8px 7px;min-height:35px}.drive-shell{min-height:620px}.drive-session-actions button{font-size:9px;padding:5px 5px}.drive-session-actions [data-drive-action=review] span,.drive-session-actions [data-drive-action=restart] span{display:none}.drive-session-actions [data-drive-action=review],.drive-session-actions [data-drive-action=restart]{font-size:16px;min-width:26px}.drive-assists{gap:5px}.drive-assists label{font-size:8px}.drive-assists input{width:12px;height:12px}.drive-assists button{font-size:8px}.drive-coach{width:260px}.drive-steer-range output{font-size:8px}.drive-console{gap:5px 11px;padding:9px 10px}.drive-center{font-size:9px;padding-left:9px}.drive-steer-arrow{min-width:31px}.drive-steering{gap:8px}.drive-gears button{width:30px}.drive-settings-grid{grid-template-columns:1fr}.drive-settings-grid select{font-size:11px}.drive-branch{grid-template-columns:115px 1fr}.drive-branch canvas{height:155px}.drive-mode .breadcrumb{font-size:8px}.drive-mode .topbar{gap:12px}}
@media(max-height:600px) and (min-width:600px){.drive-mode .topbar{height:42px}.drive-mode #main{padding:4px 10px}.drive-shell{height:calc(100dvh - 50px);min-height:360px;grid-template-rows:43px minmax(150px,1fr) 70px 38px 19px}.drive-console{display:flex;padding:8px 12px;gap:10px}.drive-steering{min-width:190px}.drive-wheel{width:44px;height:44px}.drive-steer-range small{display:none}.drive-pedal{height:48px;min-width:110px}.drive-brake{min-width:62px}.drive-gears button{width:28px;height:40px}.drive-coach{bottom:22px;width:250px;padding:8px 11px}.drive-phases,.drive-coach p{display:none}.drive-coach>strong{font-size:12px}.drive-metrics{bottom:27px;right:56px;padding:6px 10px}.drive-metrics small,.drive-legend{display:none}.drive-camera-hint{bottom:5px}.drive-hud{top:9px;left:10px;padding:5px 8px}.drive-cameras{top:9px;right:10px}.drive-view-tools{right:10px;top:55px;gap:3px}.drive-view-tools button{width:28px;height:28px}.drive-focus #parking-drive{grid-template-rows:42px minmax(100px,1fr) 70px 36px 19px}}

/* Override the app-wide 44px form-control minimum for steering sliders. */
.drive-shell input[type=range]{min-height:0;padding:0}.drive-steer-range label{margin:0;display:inline;font-size:10px}.drive-stage.coach-collapsed .drive-coach{display:none}.drive-coach [data-drive-hazard-clear]{font-size:10px;padding:5px 8px;margin-top:5px;color:#78482d;border:1px solid #ddc1ab;background:#f5e4d3;border-radius:5px}
@media(max-width:800px) and (min-height:601px){
 .drive-stage:not(.coach-collapsed)>canvas{height:calc(100% - 112px)}
 .drive-coach{left:0;right:0;bottom:0;width:auto;height:112px;border-radius:0;padding:10px 14px;background:#f7faf1;border:0;border-top:1px solid #dae4d3;box-shadow:none}
 .drive-coach .drive-phases{display:none}.drive-coach>strong{font-size:13px;margin-top:5px}.drive-coach p{font-size:10px;line-height:1.45;margin-top:5px}.drive-coach-top button{width:30px;height:24px;margin-top:-5px;margin-bottom:-4px}
 .drive-metrics{display:none}.drive-camera-hint{bottom:116px;font-size:7px;max-width:calc(100% - 20px)}.drive-stage.coach-collapsed .drive-camera-hint{bottom:8px}
 .drive-coach [data-drive-hazard-clear]{position:absolute;right:10px;top:36px}.drive-coach[data-kind=stop] p{max-width:220px}
}

.drive-stage>canvas:focus-visible{outline:3px solid #b3d794;outline-offset:-4px}
