/* Original compact cockpit. The map keeps the center; controls stay in the drawer. */
.beta-gps-holder{width:40px;height:48px;pointer-events:none!important;overflow:visible}
.beta-native-gps{width:40px;height:48px}
.beta-camper{position:absolute;inset:0;display:grid;place-items:center;transform:rotate(var(--gps-heading));transform-origin:50% 50%;filter:drop-shadow(0 3px 3px #0c1b257a);transition:transform .35s linear}
.beta-camper svg{width:36px;height:50px;overflow:visible}
.beta-gps-holder .beta-gps-pulse{inset:9px 3px;border-color:#ffa64275}
.beta-gps-holder[data-signal=stale] .beta-camper{filter:grayscale(.85) drop-shadow(0 2px 3px #14273580);opacity:.7}
.beta-gps-holder[data-heading=unknown] .beta-camper{opacity:.7}
.beta-vehicle-road{position:absolute;left:50%;top:50%;transform:translate(var(--road-x,0px),var(--road-y,44px));pointer-events:none}
.beta-vehicle-road[hidden]{display:none}
.beta-vehicle-road .current-road-shield{transform:translate(-50%,-50%);max-width:124px;font-size:13px;padding:3px 6px;line-height:1.1;box-shadow:0 2px 5px #0008}
.beta-vehicle-road .current-road-shield[data-kind=street]{font-size:10px;max-height:32px;overflow:hidden}
.traffic-signal-marker{width:16px;height:28px;pointer-events:none!important;filter:drop-shadow(0 1px 2px #0008)}
.traffic-signal-marker svg{display:block;width:100%;height:100%}
body[data-network-probing=true] .traffic-signal-marker{display:none}
.mapped-speed{width:90px;height:94px;display:block;background:none;gap:0}
.speedometer{--dial:#ffca64;--speed-fill:0;position:absolute;left:0;top:10px;width:80px;height:80px;border-radius:50%;border:1px solid #7b8993;background:radial-gradient(ellipse at 30% 0%,#607786 0,transparent 45%),radial-gradient(circle at 50% 58%,#162a34,#08131b 78%);box-shadow:inset 0 1px 2px #e2f0f580,inset 0 -3px 5px #000,0 3px 7px #00101b70;color:var(--dial);text-align:center;font-variant-numeric:tabular-nums}
.speedometer::after{content:'';position:absolute;inset:2px 4px 48%;border-radius:50% 50% 42% 42%;background:linear-gradient(170deg,#e1edf52b,transparent);pointer-events:none}
.speed-arc{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke-linecap:round}
.dial-track{stroke:#52606b;stroke-width:3;opacity:.75}
#dial-progress{stroke:url(#dial-amber);stroke-width:4;stroke-dasharray:calc(var(--speed-fill)*100) 100;filter:drop-shadow(0 0 2px #ffaf3755);transition:stroke-dasharray .45s ease}
.dial-ticks{stroke:#b3c1c6;stroke-width:1.5;opacity:.75}
#gps-speed{position:absolute;top:21px;left:4px;right:4px;font:950 27px/1 'Nunito',sans-serif;text-shadow:0 1px 0 #000,0 0 12px #ffb73635}
.speedometer>small{position:absolute;top:48px;left:0;right:0;font-size:9px;color:#d5e2e6;font-weight:800}
.speedometer>em{position:absolute;bottom:8px;left:0;right:0;font-size:6.5px;letter-spacing:.45px;font-style:normal;font-weight:950}
.speed-sign{position:absolute;top:0;right:0}
.speed-sign #speed-limit{width:31px;height:31px;min-width:31px;border:3px solid #db263b;font-size:14px;box-shadow:0 1px 5px #0007}
.speed-sign #speed-limit-label{width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);max-width:1px}
.speedometer[data-level=normal]{--dial:#d5f6e7}.speedometer[data-level=near]{--dial:#ffd14b;box-shadow:inset 0 1px 2px #ffffbf80,0 0 0 2px #c68b28,0 3px 9px #00101b66}
.speedometer[data-level=over]{--dial:#ff666f;border-color:#ff5a65;animation:dial-over 1.2s ease-in-out infinite}
.speedometer[data-level=over] #dial-progress{stroke:#ff4e59}.speedometer[data-known=false]{--dial:#afbec5}
@keyframes dial-over{0%,100%{box-shadow:inset 0 0 14px #bf122544,0 0 0 1px #f84d5e,0 3px 7px #0005}50%{box-shadow:inset 0 0 22px #ee183466,0 0 0 3px #ff5867,0 0 14px #f5264755}}
body[data-overspeed=true] .speed-warning{top:calc(var(--nav-banner-bottom,180px) + 99px);max-width:calc(100% - 40px - var(--safe-left) - var(--safe-right))}
.journey-summary{display:none;flex:none}
body[data-beta-route=true] .journey-summary{display:block}
.journey-summary .route-metrics,body[data-beta-guiding=true] .journey-summary .route-metrics{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0;padding:2px 2px 6px;background:none;grid-column:auto}
.journey-summary .route-metrics>div{display:block;min-width:0}
.journey-summary .route-metrics strong{font-size:14px!important;white-space:nowrap;color:var(--ink)}
.journey-summary .route-metrics span{display:none}
.route-panel,body[data-beta-guiding=true] .route-panel{padding:7px 9px;gap:2px;max-height:35dvh}
.route-panel .route-heading,body[data-beta-guiding=true] .route-heading{min-height:12px;margin:0;padding:0}
.route-panel .route-heading h2{font-size:10px;margin:0}.route-panel .route-emblem,.route-panel .eyebrow{display:none}
.guidance-panel,body[data-beta-guiding=true] .guidance-panel{grid-template-columns:58px minmax(0,1fr);gap:3px 7px;padding:4px 6px;border-radius:9px}
.guidance-diagram,body[data-beta-guiding=true] .guidance-diagram{width:58px;height:58px}
.guidance-copy .route-instruction,body[data-beta-guiding=true] .guidance-copy .route-instruction{font-size:16px!important;line-height:1.12!important}
#guidance-distance,body[data-beta-guiding=true] #guidance-distance{font-size:18px}
#guidance-road,body[data-beta-guiding=true] #guidance-road{font-size:12px}#guidance-toward,body[data-beta-guiding=true] #guidance-toward{font-size:11px;line-height:1.15}
.route-panel :is(.route-cost,.route-note){display:none}
.guidance-lanes{grid-column:1/-1;display:flex;justify-content:center;gap:3px;padding:2px 0}
.guidance-lanes[hidden]{display:none}
.guidance-lane{flex:0 1 44px;min-width:0;border-left:1px dashed #87979e80;color:#8a9ca6}
.guidance-lane:first-child{border-left:0}.guidance-lane svg{display:block;width:100%;height:38px}
.guidance-lane[data-use=active]{color:#ffd06c;background:#ffbf4c14;border-radius:6px}.guidance-lane[data-use=valid]{color:#f5e6bf}
.guidance-panel:has(.guidance-lanes:not([hidden])){grid-template-columns:1fr}
.guidance-panel:has(.guidance-lanes:not([hidden])) .guidance-diagram{display:none}
.guidance-panel:has(.guidance-lanes:not([hidden])) .guidance-copy{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;align-items:center}
.guidance-panel:has(.guidance-lanes:not([hidden])) #guidance-road{grid-column:1/-1}.guidance-panel:has(.guidance-lanes:not([hidden])) #guidance-toward{grid-column:1/-1}
.carousel-controls{display:flex;align-items:center;justify-content:space-between;height:20px;flex:none;margin-top:-2px;color:var(--muted)}
.carousel-controls button{background:none;border:0;color:inherit;font-size:10px;font-weight:800;min-height:24px;padding:2px 4px;cursor:pointer}.carousel-controls span{font-size:10px}
body[data-sheet=expanded] .carousel-controls{display:none}
.discovery-panel,body[data-beta-guiding=true] .discovery-panel,body[data-beta-guiding=true][data-sheet=compact] .discovery-panel{height:calc(190px + var(--safe-bottom));padding:20px 10px calc(7px + var(--safe-bottom))}
body{--sheet-height:190px}
.bottom-tools{gap:4px;margin-bottom:3px}.bottom-tools>button,.bottom-tools #route-voice,body[data-beta-guiding=true] .bottom-tools #route-voice{height:44px;min-height:44px}
.bottom-tools>button .icon{width:19px;height:19px}.bottom-tools>button>span{font-size:9px}.bottom-tools #dev-open>span{font-size:10px}
.sheet-toggle,body[data-beta-guiding=true][data-sheet=compact] .sheet-toggle,body[data-beta-guiding=true] .sheet-toggle{height:20px}
.discovery-panel .stop-card,body[data-beta-guiding=true][data-sheet=compact] .stop-card{max-width:none;width:100%;height:100%;padding:4px 7px}
.discovery-panel .stop-title{font-size:12px}.discovery-panel .stop-services{margin-top:3px}.discovery-panel .stop-services .service{min-height:18px;padding:2px 4px}
body[data-sheet=expanded] .discovery-panel{height:76dvh}
.map-style-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.map-style-choices button{min-height:96px;border:2px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);font-weight:900}.map-style-choices button svg{width:44px;height:44px;display:block;margin:0 auto 5px}.map-style-choices button[aria-pressed=true]{border-color:#e49d35;background:#ffe6b433}
@media(max-height:650px) and (orientation:portrait){.discovery-panel,body[data-beta-guiding=true] .discovery-panel,body[data-beta-guiding=true][data-sheet=compact] .discovery-panel{height:calc(180px + var(--safe-bottom))}body{--sheet-height:180px}.route-panel,body[data-beta-guiding=true] .route-panel{top:calc(5px + var(--safe-top))}.guidance-diagram,body[data-beta-guiding=true] .guidance-diagram{height:48px;width:48px}.guidance-panel,body[data-beta-guiding=true] .guidance-panel{grid-template-columns:48px minmax(0,1fr)}body[data-sheet=expanded] .discovery-panel{height:76dvh}}
@media(max-height:520px) and (orientation:landscape){.discovery-panel,body[data-beta-guiding=true] .discovery-panel,body[data-beta-guiding=true][data-sheet=compact] .discovery-panel{left:calc(10px + var(--safe-left));width:290px;transform:none;max-height:51dvh}.route-panel,body[data-beta-guiding=true] .route-panel{width:290px;max-height:44dvh}.mapped-speed{left:auto;right:calc(12px + var(--safe-right));top:calc(10px + var(--safe-top))}body[data-sheet=expanded] .discovery-panel{height:85dvh;max-height:85dvh}}
@media(prefers-reduced-motion:reduce){.beta-camper,#dial-progress{transition:none}.speedometer[data-level=over]{animation:none;box-shadow:0 0 0 3px #ff5867}}

/* Keep the compact card horizontal and complete, with no lower-card sliver. */
body[data-sheet=compact] .nearby-list,body[data-beta-guiding=true][data-sheet=compact] .nearby-list{display:flex;flex-flow:row nowrap;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;min-height:0;flex:1;gap:8px;padding:0 0 1px;scrollbar-width:none}
body[data-sheet=compact] .nearby-list .stop-card{flex:0 0 100%;scroll-snap-align:start;min-width:0;height:100%;overflow:hidden}
.carousel-controls{position:relative;height:26px;margin-top:0;gap:5px}.carousel-controls button{min-height:30px}.carousel-controls #express-open{color:#e8b75f;font-size:10px;margin-left:auto}#express-open{display:none}body[data-beta-route=true] #express-open{display:block}
.express-dialog{max-width:440px}.express-dialog h2{font-size:23px}.express-modes{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.express-modes button{border:2px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);padding:12px 8px;cursor:pointer}.express-modes button[aria-pressed=true]{border-color:#dca14b;background:#dfb65219}.express-modes svg{display:block;width:32px;height:32px;margin:0 auto 7px;fill:none;stroke:currentColor;stroke-width:2}.express-modes strong,.express-modes small{display:block}.express-modes strong{font-size:21px}.express-modes small{font-size:12px}.express-result{display:flex;flex-direction:column;gap:5px;width:100%;margin:10px 0;padding:13px;text-align:left;border:1px solid var(--line);border-radius:13px;background:var(--paper);color:var(--ink);cursor:pointer}.express-result>strong{font-size:16px}.express-reach{font-size:17px;font-weight:900;color:#d39126}.express-result small,#express-status{font-size:12px;line-height:1.5}.express-add{font-size:13px;font-weight:900;color:#2c8a6f}.express-dialog>.button{width:100%;margin-top:12px}
.journey-summary .route-metrics,body[data-beta-guiding=true] .journey-summary .route-metrics{line-height:18px;padding:0 2px 2px}.journey-summary .route-metrics strong{line-height:18px!important}
.carousel-controls{height:20px}.carousel-controls button{min-height:24px}
.guidance-panel:has(.guidance-lanes:not([hidden])) #route-instruction{grid-column:2;grid-row:1;margin:0!important}.guidance-panel:has(.guidance-lanes:not([hidden])) #guidance-distance{grid-row:1}.guidance-panel:has(.guidance-lanes:not([hidden])) #guidance-road{grid-row:2;grid-column:1}.guidance-panel:has(.guidance-lanes:not([hidden])) #guidance-toward{grid-row:2;grid-column:2}
body[data-sheet=compact] .stop-top{min-height:0}.discovery-panel .stop-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.discovery-panel .stop-distances{max-width:148px;flex-shrink:0}.discovery-panel .stop-detour{font-size:9px;line-height:1.15}

body[data-sheet=compact] .stop-distances{display:grid;grid-template-columns:auto auto;gap:1px 4px;align-items:baseline;max-width:148px}body[data-sheet=compact] .stop-detour{grid-column:1/-1}body[data-sheet=compact] .stop-access{font-size:9px;white-space:nowrap}
.carousel-controls button{white-space:nowrap;min-width:0}.carousel-controls #info-page{flex:none}
@media(max-width:360px),(max-height:520px) and (orientation:landscape){.express-question{display:none}.carousel-controls{gap:3px}.carousel-controls button{font-size:9px!important}.discovery-panel .stop-distances{max-width:132px}}
.bottom-tools>button .icon,.secondary-tools>button .icon{width:30px!important;height:30px!important;stroke-width:2.4;filter:drop-shadow(0 1px 0 #ffffff50)}
.bottom-tools>button>span,.secondary-tools>button>span{display:none!important}
.bottom-tools>button,.secondary-tools>button{min-height:48px!important;height:48px!important;border-width:1.5px;gap:0!important}
.bottom-tools #network-toggle>span{display:block!important}
.bottom-tools #network-toggle strong{font-size:14px;line-height:1.1}
.bottom-tools #network-toggle small{display:none!important}
.bottom-tools #network-toggle-icon:not([hidden]){width:30px!important;height:30px!important}
.bottom-tools #network-toggle:has(#network-toggle-icon:not([hidden]))>span{display:none!important}
.service-target-pin{width:54px;height:54px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border:3px solid #fff;border-radius:14px 14px 14px 2px;background:linear-gradient(145deg,#218df0,#0955b4);box-shadow:0 4px 16px #001f4870;color:#fff;pointer-events:none}
.service-target-pin svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linejoin:round;stroke-linecap:round}
.service-target-holder{background:none;border:0}
.service-arrival{margin-top:5px;padding:7px 9px;background:#e7f2ff;color:#104b85;border-radius:10px;font-size:12px;line-height:1.25}
.service-arrival>span{display:none}.service-arrival p{margin:0}.service-arrival button{min-height:44px;padding:6px 14px;margin-top:4px;border:0;border-radius:9px;background:#115fac;color:#fff;font-family:inherit;font-weight:800;font-size:14px;line-height:1.2}
body[data-theme=night] .service-arrival{background:#123553;color:#dfedff}
body[data-service-arrival=true] .guidance-diagram svg{fill:none;stroke:#83c6ff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
body[data-service-arrival=true] .route-panel{max-height:none}
body[data-service-arrival=true] .guidance-copy .route-instruction{font-size:14px!important}

/* Read the approaching junction from left to right, in both day and night. */
.guidance-lanes{background:#10242f;border-radius:9px;padding:5px 4px;gap:2px}
.guidance-lane{flex:1 1 44px;max-width:62px;color:#fff;border-color:#ffffff60}
.guidance-lane svg{height:48px}
.guidance-lane[data-use=active]{color:#ffb52e;background:#ffad2424;box-shadow:inset 0 -3px #ffb52e}
.guidance-lane[data-use=valid]{color:#ffd57a;background:#ffad2410}
.guidance-panel:has(.guidance-lanes:not([hidden])) #guidance-toward{font-size:14px;font-weight:900;line-height:1.15}
.guidance-panel:has(.guidance-lanes:not([hidden])) #guidance-road{font-size:15px;color:#ffd06c}
.guidance-panel:has(.guidance-lanes:not([hidden])) #guidance-detail{font-size:12px;color:#fff;font-weight:800}
.guidance-panel:has(.guidance-lanes[data-recommended=false]:not([hidden])){grid-template-columns:44px minmax(0,1fr)}
.guidance-panel:has(.guidance-lanes[data-recommended=false]:not([hidden])) .guidance-diagram{display:block;width:44px;height:44px}
.guidance-panel:has(.guidance-lanes[data-recommended=false]:not([hidden])) .guidance-copy{display:flex}
.route-panel:has(.guidance-lanes:not([hidden])),body[data-beta-guiding=true] .route-panel:has(.guidance-lanes:not([hidden])){max-height:none}
@media(max-width:360px){.guidance-lane svg{height:40px}.guidance-panel:has(.guidance-lanes:not([hidden])) #guidance-toward{font-size:12px}}
@media(max-height:520px) and (orientation:landscape){.route-panel:has(.guidance-lanes:not([hidden])),body[data-beta-guiding=true] .route-panel:has(.guidance-lanes:not([hidden])){width:min(380px,45vw)}.guidance-lane svg{height:40px}}

.beta-map-label{display:block;background:none;border:0;pointer-events:none;text-align:center;font:900 15px/24px 'Nunito',system-ui,sans-serif;color:#101b25;text-shadow:0 0 3px #fff,1px 1px #fff,-1px -1px #fff,1px -1px #fff,-1px 1px #fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.beta-map-label.is-stop{font-size:12px;line-height:20px;color:#103f64}
.beta-label-holder{background:none;border:0;pointer-events:none!important}
body[data-theme=night] .beta-map-label{color:#fff;text-shadow:0 0 3px #101b25,1px 1px #101b25,-1px -1px #101b25,1px -1px #101b25,-1px 1px #101b25}
body[data-network-probing=true] .beta-label-holder{display:none}
body[data-service-arrival=true] .service-arrival{margin:2px 0 0;padding:5px 7px;font-size:11px}
body[data-service-arrival=true] #service-arrival-confirm{width:100%}

/* A deliberate pull reveals navigation details; the map keeps following. */
.motorway-service-alert{display:grid;grid-template-columns:28px minmax(0,1fr) 60px;gap:6px;align-items:center;flex:1 0 auto;min-height:88px;padding:3px 5px;margin-top:2px;border:1px solid #80b7db;border-radius:12px;background:#e9f5ff;color:#123d59}
.motorway-service-alert[hidden]{display:none}.motorway-service-alert>.icon{width:28px;height:28px;color:#086abd}
.motorway-service-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.motorway-service-copy strong{font-size:13px;line-height:1.2}.motorway-service-copy>span{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.motorway-service-copy small{font-size:10px;line-height:1.2}
.motorway-service-actions{display:flex;flex-direction:column;gap:4px}.motorway-service-actions button{display:grid;place-items:center;min-height:44px;height:44px;border:1.5px solid;border-radius:10px;padding:4px;cursor:pointer}.motorway-service-actions .icon{width:28px;height:28px;stroke-width:3;pointer-events:none}.motorway-service-actions #motorway-service-go{background:#dbf7e5;color:#096c40;border-color:#60ad82}.motorway-service-actions #motorway-service-dismiss{background:#ffeded;color:#a71f27;border-color:#d57379}.motorway-service-actions button:focus-visible{outline:3px solid #123d59;outline-offset:2px}
body[data-service-ahead=true][data-sheet=compact] :is(.nearby-list,.carousel-controls){display:none!important}
body[data-theme=night] .motorway-service-alert{background:#12334c;color:#e6f4ff;border-color:#286993}body[data-theme=night] .motorway-service-alert>.icon{color:#85ceff}
body[data-theme=night] .motorway-service-actions #motorway-service-go{background:#183e31;color:#7ce4a2;border-color:#4b9e6d}body[data-theme=night] .motorway-service-actions #motorway-service-dismiss{background:#48272f;color:#ff9aa3;border-color:#bf6571}body[data-theme=night] .motorway-service-actions button:focus-visible{outline-color:#e6f4ff}
.sheet-toggle,body[data-beta-guiding=true] .sheet-toggle,body[data-beta-guiding=true][data-sheet=compact] .sheet-toggle{height:44px;min-height:44px;width:100%;left:0;transform:none;touch-action:none;user-select:none}
.sheet-toggle small{font-size:12px}.sheet-toggle:after{content:'⌃';font:900 22px/1 system-ui;color:var(--ink);margin-left:5px}
.sheet-toggle[aria-expanded=true]:after{content:'⌄'}
.discovery-panel,body[data-beta-guiding=true] .discovery-panel,body[data-beta-guiding=true][data-sheet=compact] .discovery-panel{padding-top:44px;height:calc(214px + var(--safe-bottom))}
body[data-sheet=expanded] .discovery-panel,body[data-beta-guiding=true][data-sheet=expanded] .discovery-panel{height:80dvh;max-height:calc(100dvh - 18px - var(--safe-top));padding-top:0;overscroll-behavior:contain;scroll-padding-top:44px}
body[data-sheet=expanded] .sheet-toggle,body[data-beta-guiding=true][data-sheet=expanded] .sheet-toggle{position:sticky;top:0;left:auto;transform:none;flex:none;background:var(--white);z-index:800}
body[data-sheet=expanded] .planned-stops:not([hidden]){display:block;margin:12px 0;order:0}
.trip-sheet-title{font-size:18px;margin:0 0 10px;color:var(--ink)}
.planned-copy{display:flex;flex-direction:column;gap:4px;padding:10px 0}.planned-copy strong{font-size:15px}.planned-distance{font-size:16px;font-weight:900;color:var(--ink)}.planned-included,.trip-sheet-help{font-size:12px;line-height:1.4;color:var(--muted)}.trip-sheet-help{margin:7px 0}
.planned-stop .text-button{min-width:54px;min-height:44px}.planned-arrival{border-bottom:0}
body[data-sheet=expanded] .journey-summary .route-metrics strong{font-size:19px!important}
body[data-sheet=expanded] .journey-summary .route-metrics span{display:block;font-size:11px}
body[data-sheet=expanded] .discovery-panel .stop-card{height:auto;min-height:105px;flex:none;padding:12px 10px;overflow:visible}
body[data-sheet=expanded] .stop-top{display:grid;grid-template-columns:35px minmax(0,1fr)}
body[data-sheet=expanded] .stop-top .stop-icon{display:grid;grid-column:1;grid-row:1;width:30px;height:30px;place-items:center}
body[data-sheet=expanded] .stop-top .stop-title{grid-column:2;grid-row:1;align-self:center}
body[data-sheet=expanded] .stop-distances{grid-column:2;max-width:none;display:flex;flex-direction:column;align-items:flex-start;gap:3px}
body[data-sheet=expanded] .stop-distance{font-size:18px;margin-left:0;text-align:left}body[data-sheet=expanded] .stop-detour,body[data-sheet=expanded] .stop-access{font-size:13px;line-height:1.35;white-space:normal;max-width:none;text-align:left}
body[data-sheet=expanded] .stop-title{display:block;font-size:15px;overflow:visible}
@media(max-height:650px) and (orientation:portrait){body[data-sheet=compact] .discovery-panel,body[data-beta-guiding=true][data-sheet=compact] .discovery-panel{height:calc(204px + var(--safe-bottom))}}
@media(max-height:520px) and (orientation:landscape){body[data-sheet=compact] .discovery-panel,body[data-beta-guiding=true][data-sheet=compact] .discovery-panel{height:calc(195px + var(--safe-bottom));max-height:51dvh}body[data-sheet=expanded] .discovery-panel,body[data-beta-guiding=true][data-sheet=expanded] .discovery-panel{height:90dvh;max-height:90dvh;width:min(410px,calc(100vw - 24px))}}
/* Keep both 44 px alert actions inside the drawer, including small iPhones. */
body[data-service-ahead=true][data-sheet=compact] .discovery-panel,body[data-beta-guiding=true][data-service-ahead=true][data-sheet=compact] .discovery-panel{height:calc(232px + var(--safe-bottom));max-height:calc(100dvh - 100px)}
