/* Driving keeps controls compact and the actual road visible. */
#driving-ui[hidden]{display:none}#driving-ui{position:absolute;inset:0;z-index:12;pointer-events:none;color:var(--ink)}#driving-ui button{pointer-events:auto;min-height:44px}#driving-ui .round-button{min-width:44px;width:44px;height:44px}body[data-driving=true] .toast{bottom:240px}body[data-driving=true] .journey-sidebar,body[data-driving=true] #trip-sheet,body[data-driving=true] .main-nav,body[data-driving=true] .map-category-bar,body[data-driving=true] .map-milo,body[data-driving=true] .map-locate{display:none!important}body[data-driving=true] .route-map__controls{bottom:250px;right:18px}body[data-driving=true] .route-map__attribution{max-width:90%;top:auto;bottom:3px;font-size:9px}body[data-driving=true] .route-map__status{display:none}.drive-top{position:absolute;top:14px;left:18px;max-width:520px;width:calc(100% - 36px);background:var(--green);color:white;box-shadow:0 8px 30px #153b3840;border-radius:23px;padding:14px 18px}.drive-mode{display:inline-block;font-size:10px;letter-spacing:.5px;text-transform:uppercase;font-weight:750;opacity:.9;margin-bottom:9px}.drive-mode.replay{background:#f4dfb0;color:#563d14;border-radius:20px;padding:5px 10px;opacity:1}.drive-maneuver{display:flex;align-items:center;gap:17px}.drive-maneuver>div:first-child{width:48px;height:52px;flex-shrink:0;display:grid;place-items:center}.drive-maneuver svg{width:43px;height:43px}.drive-maneuver strong{font-size:29px;letter-spacing:-.8px}.drive-maneuver h2{font-size:17px;margin:4px 0 0;line-height:1.3;overflow-wrap:anywhere;max-width:380px;font-weight:600}.drive-top p{font-size:11px;margin:10px 0 0;line-height:1.5}.drive-top p:empty{display:none}.drive-lanes{display:flex;gap:6px;padding:10px 0 0 65px}.drive-lanes span{display:inline-flex;justify-content:center;align-items:center;min-width:30px;height:29px;border:1px solid #ffffff40;color:#ffffff75;border-radius:7px;font-size:21px}.drive-lanes .valid{background:#fff;color:var(--green);border-color:#fff}.drive-tools{position:absolute;right:18px;top:190px;display:flex;flex-direction:column;gap:8px}.drive-tools button{background:#fffffff7;box-shadow:var(--shadow);border:0}.drive-tools button[aria-pressed=true]{color:var(--green);box-shadow:0 0 0 2px #a5c5b6,var(--shadow)}.drive-bottom{position:absolute;bottom:22px;left:18px;max-width:520px;width:calc(100% - 36px);border-radius:22px;background:#fffffff8;box-shadow:0 7px 25px #143c3030;padding:16px 18px;pointer-events:auto}.drive-destination{display:flex;flex-direction:column;gap:3px;overflow:hidden;padding-bottom:11px;border-bottom:1px solid var(--line)}.drive-destination span{font-size:11px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.drive-destination strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.drive-facts{display:flex;gap:20px;align-items:center;margin:13px 0}.drive-facts>div{display:flex;flex-direction:column;gap:5px}.drive-facts strong{font-size:19px;letter-spacing:-.3px}.drive-facts small{font-size:10px;color:var(--muted)}#driving-speed{margin-left:auto;border:2px solid var(--line);border-radius:50%;min-width:48px;max-width:64px;height:48px;text-align:center;display:grid;place-items:center;font-size:12px;font-weight:700}#driving-speed:empty{display:none}.drive-action-row{display:flex;gap:8px;flex-wrap:wrap}.drive-action-row button{font-size:12px;padding:9px 12px;flex:1;justify-content:center}.drive-action-row button[hidden]{display:none}#driving-ui[data-uncertain=true] .drive-top{background:#665947}.drive-launch{background:var(--green-soft);padding:14px;border-radius:16px;margin-bottom:14px}.drive-launch p{font-size:11px;color:var(--muted);line-height:1.6;margin:8px 0}.drive-launch-actions{display:flex;flex-direction:column;gap:8px}.drive-launch-actions button{justify-content:center;min-height:46px}.drive-map-apps>summary{font-size:12px;min-height:44px;display:flex;align-items:center;cursor:pointer}@media(min-width:801px){.drive-top{left:24px;top:24px}.drive-bottom{left:24px;bottom:24px}.drive-tools{top:24px;right:24px}body[data-driving=true] .route-map__controls{bottom:42px;right:24px}}@media(max-width:380px){.drive-top,.drive-bottom{left:10px;width:calc(100% - 20px);padding:12px 14px}.drive-top{top:10px}.drive-maneuver{gap:11px}.drive-maneuver strong{font-size:26px}.drive-maneuver h2{font-size:15px}.drive-bottom{bottom:20px}.drive-facts{gap:12px;margin:10px 0}.drive-facts strong{font-size:17px}.drive-tools{right:11px;top:185px}.drive-action-row button{font-size:11px;padding:8px}.drive-action-row .icon{width:16px;height:16px}}@media(max-height:670px){.drive-top{padding:10px 13px}.drive-mode{margin-bottom:4px}.drive-maneuver strong{font-size:23px}.drive-maneuver h2{font-size:14px}.drive-bottom{padding:10px 13px}.drive-destination{padding-bottom:7px}.drive-facts{margin:8px 0}.drive-tools{top:160px}.drive-top p{margin-top:5px}.drive-lanes{padding-top:5px}}@media(prefers-reduced-motion:no-preference){.drive-tools button{transition:background-color .15s,transform .15s}.drive-tools button:active{transform:scale(.94)}}
