.beta-base-tiles{filter:saturate(.55) contrast(.98)}
/* Rotation is provided by the geographic engine, including pointer coordinates. */
.leaflet-rotate-pane,.leaflet-norotate-pane{position:absolute;left:0;top:0}
.leaflet-rotate-pane{z-index:200}.leaflet-norotate-pane{z-index:400}
.beta-gps-holder .beta-gps-direction{transition:none}
.beta-city-label{border:0;background:none;text-align:center;font:900 15px/24px 'Nunito',system-ui,sans-serif;color:#172b28;white-space:nowrap;text-shadow:0 0 3px #fff,1px 1px 1px #fff,-1px -1px 1px #fff,1px -1px 1px #fff,-1px 1px 1px #fff;pointer-events:none}
.beta-gps-holder,.beta-poi-holder{border:0;background:none}
.beta-gps-dot{display:block;width:26px;height:26px;border:3px solid white;border-radius:50%;background:radial-gradient(circle at 32% 24%,#fff4ce 0%,#ffc87b 15%,#f5903b 40%,#d55c19 78%,#b74713 100%);box-shadow:0 0 0 7px #f0923426,0 3px 12px #562e3b50;position:relative}
.beta-gps-dot:after{content:'';position:absolute;inset:3px 5px auto 5px;height:5px;background:#fff9;border-radius:50%;filter:blur(.5px)}
.beta-gps-holder{--gps-heading:0deg}
.beta-gps-direction{position:absolute;inset:0;transform:rotate(var(--gps-heading));transition:transform .6s ease;pointer-events:none;visibility:hidden}
.beta-gps-direction>span{position:absolute;left:-10px;bottom:15px;width:50px;height:60px;clip-path:polygon(50% 100%,0 15%,50% 0,100% 15%);background:linear-gradient(to top,#f58938c9,#fba34b18);border-radius:50% 50% 0 0}
.beta-gps-holder[data-heading=known] .beta-gps-direction{visibility:visible}
.beta-gps-pulse{position:absolute;inset:-5px;border:2px solid #ef862d88;border-radius:50%;opacity:0;pointer-events:none}
.beta-gps-holder[data-signal=fresh] .beta-gps-pulse{animation:beta-gps-live 2.4s ease-out infinite}
.beta-gps-holder[data-signal=stale] .beta-gps-dot{filter:grayscale(.85);box-shadow:0 2px 8px #253b3a50}
@keyframes beta-gps-live{0%{transform:scale(.8);opacity:.7}80%,100%{transform:scale(1.65);opacity:0}}
@media(prefers-reduced-motion:reduce){.beta-gps-pulse{animation:none!important}.beta-gps-direction{transition:none}}
.beta-map-poi{width:32px;height:32px;display:grid;place-items:center;background:#296da3;border:2px solid white;border-radius:12px 12px 12px 3px;box-shadow:0 2px 6px #173d3a36;transform:rotate(-45deg);color:white}
.beta-map-poi svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transform:rotate(45deg)}
.beta-map-poi.camp{background:#287d56}.beta-map-poi.water{background:#0889a1}.beta-map-poi.electric{background:#ac751c}.beta-map-poi.dump{background:#3775bc}.beta-map-poi.spot,.beta-map-poi.laundry{background:#775d99}
#map{background:#dbe5e0;font-family:'Nunito',system-ui,sans-serif}
#map .leaflet-control-attribution{background:#fffffff0;color:#3d5550;font-size:10px;max-width:85vw;line-height:1.4;padding:2px 6px;border-radius:6px 0 0 0}
#map .leaflet-control-attribution a{color:#245e50}
#map .leaflet-tooltip{font:700 14px/1.3 'Nunito',system-ui,sans-serif;color:#183d3a;border-color:#d5dfd9;border-radius:9px;padding:8px 12px;box-shadow:0 3px 12px #183d3a18}
@media(max-width:760px) and (orientation:portrait){
  body[data-beta-guiding=true][data-sheet=compact] .control-panel .discovery-panel .service-filters{display:none}
}
.network-toggle{position:absolute;z-index:450;left:30px;bottom:68px;min-height:48px;display:flex;align-items:center;gap:9px;padding:8px 14px;border:1px solid #b7ccc0;border-radius:14px;background:#fffefa;color:#244e46;box-shadow:0 3px 14px #1c45391c;text-align:left}
.network-toggle .icon{width:24px;height:24px}.network-toggle strong{display:block;font-size:16px;line-height:1.1;font-weight:950}.network-toggle small{display:block;font-size:11px;line-height:1.4;font-weight:750;max-width:100px}
.network-toggle[aria-pressed=true]{background:#176b58;border-color:#176b58;color:#fff}.network-toggle[data-status=error]{color:#795336;border-color:#cbb69c}
.network-dialog{width:min(440px,calc(100vw - 28px));max-height:85dvh;overflow:auto;border:1px solid #dce3da;border-radius:22px;padding:24px;background:#fffefa;color:#213b37;box-shadow:0 20px 80px #173d3640}
.network-dialog::backdrop{background:#183d3a66}.network-dialog h2{font-size:23px}.network-dialog>p{font-size:15px;color:#63766f;margin-top:12px}.network-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}
.network-choices button{min-height:56px;padding:10px;border:1px solid #cdd8ce;border-radius:12px;background:#eef4eb;font-size:16px;font-weight:850;color:#244e46}.network-choices button:hover{background:#dfeee2}
@media(max-width:760px) and (orientation:portrait){.network-toggle{left:14px;bottom:calc(var(--sheet-height) + var(--safe-bottom) + 18px);padding:7px 11px}body[data-sheet=expanded] .network-toggle{visibility:hidden}.network-dialog{padding:20px}}
@media(max-height:520px) and (orientation:landscape){.network-toggle{left:12px;bottom:34px;min-height:44px;padding:6px 11px}}
.places-toggle{bottom:128px;gap:7px}.places-toggle strong{font-size:13px}.places-toggle .icon{width:22px;height:22px}.places-toggle .eye-slash{display:none}.places-toggle[aria-pressed=false] .eye-slash{display:block}
@media(max-width:760px) and (orientation:portrait){.places-toggle{bottom:calc(var(--sheet-height) + var(--safe-bottom) + 78px)}}
@media(max-height:520px) and (orientation:landscape){.places-toggle{bottom:88px}}
.network-probe{position:absolute;inset:0;z-index:440;cursor:crosshair;touch-action:none;user-select:none;-webkit-user-select:none;outline:0}
.network-probe-cursor{position:absolute;width:28px;height:28px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 2px #173d3a,0 2px 10px #0006;transform:translate(-50%,-50%);pointer-events:none}
.network-probe-cursor::before,.network-probe-cursor::after{content:'';position:absolute;background:#fff;box-shadow:0 0 1px #000}.network-probe-cursor::before{left:11px;top:-7px;width:2px;height:38px}.network-probe-cursor::after{top:11px;left:-7px;height:2px;width:38px}
/* Keep only the map and operator reading while inspecting coverage. */
body[data-network-probing=true] .control-panel,
body[data-network-probing=true] .map-actions,
body[data-network-probing=true] .places-toggle,
body[data-network-probing=true] .map-top-note,
body[data-network-probing=true] .map-bottom-note,
body[data-network-probing=true] .map-welcome,
body[data-network-probing=true] .map-stage::after,
body[data-network-probing=true] .leaflet-popup-pane,
body[data-network-probing=true] .leaflet-tooltip-pane,
body[data-network-probing=true] .leaflet-control-zoom,
body[data-network-probing=true] .leaflet-overlay-pane,
body[data-network-probing=true] .beta-poi-holder,
body[data-network-probing=true] .beta-gps-holder,
body[data-network-probing=true] .toast{display:none}
body[data-network-probing=true] .app-frame{grid-template-columns:minmax(0,1fr)}
body[data-network-probing=true] .map-stage{position:fixed;inset:0;width:100%;height:100%;height:100dvh}
body[data-network-probing=true] .leaflet-bottom{bottom:0}
body[data-network-probing=true] #network-toggle{visibility:visible;left:max(14px,env(safe-area-inset-left,0px));bottom:calc(26px + var(--safe-bottom));width:214px;max-width:calc(100vw - 30px);max-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 42px);overflow-y:auto;align-items:flex-start;background:#fffefa;color:#244e46;border:2px solid #176b58}
body[data-network-probing=true] #network-toggle small{max-width:none;font-size:12px;white-space:normal}#network-close-hint{margin-top:7px;font-weight:650!important;color:#62776e}
.network-reading{display:grid;gap:3px;margin-top:10px}.network-reading[hidden]{display:none}.network-reading>span:not(.network-bars){font-size:19px;font-weight:950;line-height:1.2}.network-reading>small{font-size:10px!important;font-weight:650!important}
.network-bars{height:30px;display:flex;align-items:flex-end;gap:5px}.network-bars i{display:block;width:12px;background:#d6ded9;border-radius:3px}.network-bars i:nth-child(1){height:9px}.network-bars i:nth-child(2){height:16px}.network-bars i:nth-child(3){height:23px}.network-bars i:nth-child(4){height:30px}.network-bars[data-level="1"] i:nth-child(1){background:#b77918}.network-bars[data-level="2"] i:nth-child(-n+3),.network-bars[data-level="3"] i{background:#178064}
/* Keep a real margin beyond notches, including installed iPhone landscape. */
.map-stage .network-toggle{left:calc(14px + env(safe-area-inset-left,0px));max-width:calc(100% - 88px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px))}
.map-stage .map-actions{right:calc(20px + var(--safe-right))}
body[data-network-probing=true] #network-toggle{left:calc(14px + env(safe-area-inset-left,0px));max-width:calc(100% - 28px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px))}

/* Real perspective camera; the discovery map remains available as fallback. */
#navigation-map{position:absolute;inset:0;z-index:2;background:#14232c}
#navigation-map[hidden]{display:none}
body[data-navigation3d=true] #map{visibility:hidden}
body[data-navigation3d=true] .map-stage::after{display:none}
.maplibregl-ctrl-attrib{font-size:10px!important;max-width:80vw;background:#16252de8!important;color:#d1dfdf!important}
.maplibregl-ctrl-attrib a{color:#bfe3db!important}
.beta-native-gps{width:28px;height:28px}
.current-road-marker{width:0!important;height:0!important;pointer-events:none!important;z-index:610}
.current-road-marker[hidden],body[data-network-probing=true] .current-road-marker{display:none!important}
.current-road-shield{position:absolute;left:0;top:0;display:block;min-width:39px;max-width:160px;box-sizing:border-box;padding:3px 7px;transform:translate(-50%,calc(-100% - 18px));border:1.5px solid #fff;border-radius:5px;background:#ba172c;color:#fff;font:950 15px/1.15 'Nunito',system-ui,sans-serif;text-align:center;white-space:nowrap;box-shadow:0 2px 5px #00192466;text-shadow:none;pointer-events:none}
.current-road-shield[data-kind=departmental]{background:#ffd24e;color:#1b2329;border-color:#f9f6dc}
.current-road-shield[data-kind=other]{background:#275345;color:#fff}
.current-road-shield[data-kind=street]{background:#f7f6f0;color:#17303b;min-width:90px;width:max-content;white-space:normal;font-size:12px;font-weight:850;line-height:1.2;overflow-wrap:anywhere}
.guidance-panel{display:grid;grid-template-columns:88px minmax(0,1fr);gap:6px 10px;align-items:center;grid-column:1/-1;margin:10px 0;background:#172d39;color:#fff;border-radius:14px;padding:10px}
.guidance-diagram{width:88px;height:88px;align-self:center}
.guidance-diagram svg{width:100%;height:100%}
.guidance-copy{min-width:0;display:flex;flex-direction:column;gap:3px;overflow-wrap:anywhere}
body[data-theme=night] #route-stop{background:#263c45;color:#edf7f4;border-color:#567278}
.guidance-copy .route-instruction{font-size:19px!important;line-height:1.14!important;color:#fff!important;font-weight:900;margin:0!important}
#guidance-distance{font-size:21px;line-height:1.1;color:#ffca65;font-weight:950}
#guidance-road{font-size:15px;line-height:1.2;color:#fff}
#guidance-toward{font-size:16px;font-weight:850;line-height:1.17;color:#fff0c3}
#guidance-detail{grid-column:1/-1;font-size:10px;line-height:1.2;color:#b9cbd3}
#guidance-detail[hidden],.guidance-copy [hidden]{display:none}
.mapped-speed{display:flex;position:absolute;z-index:430;top:26px;left:22px;gap:5px;align-items:center;pointer-events:none}
.mapped-speed strong{display:grid;place-items:center;width:52px;height:52px;border:5px solid #cf292d;border-radius:50%;color:#171717;background:#fff;font:950 23px/1 'Nunito',sans-serif;box-shadow:0 2px 8px #0004}
.mapped-speed span{font-size:10px;font-weight:850;line-height:1.2;max-width:76px;padding:4px 5px;background:#142631e6;color:#fff;border-radius:5px}
body[data-beta-guiding=true] .mapped-speed{display:flex}
.speed-warning{position:absolute;z-index:610;pointer-events:none;top:26px;left:22px;display:flex;align-items:center;gap:7px;width:260px;max-width:calc(100% - 104px);padding:6px 9px;border:1px solid #ff5a5a;border-radius:12px;background:#7e001573;color:#fff;box-shadow:0 2px 10px #3400001a}
.speed-warning[hidden]{display:none}
.speed-warning svg{width:44px;height:42px;flex:none;fill:#ffd9d933;stroke:#ff3f49;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
.speed-warning .exclamation{stroke:#fff;stroke-width:5;fill:none}
.speed-warning strong{font-size:16px;line-height:1.15;display:block;text-shadow:0 1px 2px #62000d}
.speed-warning small{font-size:13px;display:block;font-weight:850}
#navigation-flash{position:fixed;inset:0;background:#0009;z-index:9900;pointer-events:none}
body[data-network-probing=true] :is(.mapped-speed,.speed-warning){display:none}
@media(max-width:760px) and (orientation:portrait){
 body[data-beta-guiding=true] .route-panel{overflow-y:auto;max-height:43dvh;padding:9px 10px;gap:5px}
 body[data-beta-guiding=true] .guidance-panel{margin:0;grid-template-columns:64px minmax(0,1fr);gap:4px 7px;padding:7px 8px;border-radius:10px}
 body[data-beta-guiding=true] .guidance-diagram{width:64px;height:64px}
 body[data-beta-guiding=true] .guidance-copy .route-instruction{font-size:17px!important}
 body[data-beta-guiding=true] #guidance-distance{font-size:19px}
 body[data-beta-guiding=true] #guidance-toward{font-size:14px}
 body[data-beta-guiding=true] .route-heading h2{font-size:12px}
 body[data-beta-guiding=true] .route-metrics{padding-top:4px;gap:5px;background:transparent}
 body[data-beta-guiding=true] .route-metrics>div{flex-direction:row;align-items:baseline;gap:4px}
 body[data-beta-guiding=true] .route-metrics span{display:none}
 .mapped-speed{top:var(--nav-banner-bottom,235px);left:calc(20px + var(--safe-left))}
 .mapped-speed strong{width:44px;height:44px;font-size:20px;border-width:4px}
 .mapped-speed span{max-width:62px;font-size:9px}
 .speed-warning{top:var(--nav-banner-bottom,235px);left:calc(20px + var(--safe-left));max-width:calc(100% - 104px - var(--safe-left) - var(--safe-right))}
 .speed-warning strong{font-size:14px}
}
@media(max-height:520px) and (orientation:landscape){
 body[data-beta-guiding=true] .route-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;padding:8px}
 body[data-beta-guiding=true] .route-heading{grid-column:1;grid-row:1;min-width:0;padding:0}
 body[data-beta-guiding=true] .route-heading :is(.eyebrow,.route-emblem){display:none}
 body[data-beta-guiding=true] .route-heading h2{font-size:12px}
 body[data-beta-guiding=true] .route-actions{grid-column:2;grid-row:1;position:static;margin:0;gap:4px}
 body[data-beta-guiding=true] .route-actions button{padding:6px;min-width:40px;min-height:44px;font-size:11px}
 body[data-beta-guiding=true] .guidance-panel{grid-template-columns:54px minmax(0,1fr);padding:7px;gap:5px;margin:0}
 body[data-beta-guiding=true] .guidance-diagram{width:54px;height:64px}
 body[data-beta-guiding=true] .guidance-copy .route-instruction{font-size:16px!important}
 body[data-beta-guiding=true] #guidance-distance{font-size:17px;white-space:nowrap}
 body[data-beta-guiding=true] :is(#guidance-road,#guidance-toward){font-size:13px}
 body[data-beta-guiding=true] .route-metrics{grid-column:1/-1;gap:6px;padding:4px 0}
 body[data-beta-guiding=true] .route-metrics strong{font-size:15px}
 body[data-beta-guiding=true] .route-metrics span,body[data-beta-guiding=true] :is(.route-cost,.route-note){display:none}
}
