:root{--bg:#06141b;--panel:rgba(7,28,36,.96);--panel-solid:#0a2029;--panel-soft:rgba(11,43,53,.92);--ink:#effafa;--muted:#9ab0b5;--line:rgba(172,214,217,.18);--accent:#43d6cf;--accent-soft:rgba(67,214,207,.13);--danger:#ff7769;--shadow:0 16px 44px rgba(0,0,0,.32);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:dark}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden;background:var(--bg);color:var(--ink)}body{font-size:14px}button,input,select{font:inherit;color:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}[hidden]{display:none!important}a{color:inherit;text-decoration:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.app-shell{height:100%;display:flex;flex-direction:column}.topbar{position:relative;z-index:50;height:58px;flex:0 0 58px;display:flex;align-items:center;gap:24px;padding:0 16px;border-bottom:1px solid var(--line);background:#061820}.brand{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.08em}.brand img{width:34px;height:34px}.brand span{display:grid}.brand small{font-size:10px;color:var(--muted);letter-spacing:.12em}.nav{display:flex;align-items:center;gap:5px}.nav a{min-height:40px;display:flex;align-items:center;padding:0 14px;border-radius:10px;color:var(--muted);font-size:13px;font-weight:750}.nav a:hover,.nav a.active{background:var(--accent-soft);color:var(--ink)}.top-status{margin-left:auto;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.status-dot{width:8px;height:8px;border-radius:50%;background:#d3a64e}.status-dot.live{background:#4fd48a}.status-dot.warn{background:#ffb34d}.round-button{width:40px;height:40px;border:1px solid var(--line);border-radius:11px;background:transparent}.bottom-nav{display:none}
.marine-stage{position:relative;flex:1;min-height:0;background:#14313b;--panel:rgba(7,28,36,.96);--panel-solid:#0a2029;--ink:#effafa;--muted:#9ab0b5;--line:rgba(172,214,217,.18)}.marine-stage.day{--panel:rgba(247,252,251,.97);--panel-solid:#f7fcfb;--panel-soft:rgba(238,248,247,.97);--ink:#102b32;--muted:#536d72;--line:rgba(32,79,87,.2);--shadow:0 16px 44px rgba(15,51,56,.2)}#marineMap,#particleCanvas{position:absolute;inset:0;width:100%;height:100%}#particleCanvas{z-index:1;pointer-events:none}.maplibregl-ctrl-top-right,.maplibregl-ctrl-bottom-right{z-index:2}.maplibregl-canvas{outline:0}.maplibregl-ctrl-top-right{top:12px;right:10px}.maplibregl-ctrl-group{overflow:hidden;border:1px solid var(--line)!important;border-radius:12px!important;background:var(--panel-solid)!important;box-shadow:var(--shadow)!important}.maplibregl-ctrl-group button{width:40px!important;height:40px!important}.maplibregl-ctrl-attrib{font-size:10px!important;background:rgba(4,17,22,.78)!important;color:#b9cacc}.maplibregl-ctrl-attrib a{color:#eaf5f5}
.map-fallback{position:absolute;z-index:20;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(440px,calc(100% - 32px));padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--panel-solid);box-shadow:var(--shadow);text-align:center}.map-fallback strong{font-size:18px}.map-fallback p{color:var(--muted);line-height:1.5}.fallback-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.fallback-actions button{min-height:44px;border:1px solid var(--line);border-radius:10px;background:var(--accent-soft);padding:0 14px}
.marine-stage.day .map-fallback{color:#102b32}.marine-stage.day .map-fallback p{color:#465f65}.marine-stage.day .fallback-actions button{border-color:#6a8f95;background:#d8f3f0;color:#102b32;font-weight:750}
.harbour-marker{width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;padding:0}.harbour-pin{width:29px;height:29px;display:grid;place-items:center;border:1px solid rgba(224,250,250,.72);border-radius:50% 50% 50% 8px;transform:rotate(-45deg);background:rgba(4,38,47,.92);box-shadow:0 5px 13px rgba(0,0,0,.35);font-size:14px}.harbour-pin::first-letter{transform:rotate(45deg)}.camera-marker{width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(4,38,47,.92);box-shadow:0 5px 13px rgba(0,0,0,.35);font-size:18px}.station-mini-popup .maplibregl-popup-content{min-width:150px;padding:0;border:1px solid var(--line);border-radius:11px;background:var(--panel-solid);color:var(--ink);box-shadow:var(--shadow)}.station-pop{display:grid;gap:3px;padding:9px}.station-pop b{font-size:11px}.station-pop strong{font-size:16px}.station-pop small,.station-pop span{color:var(--muted);font-size:10px}.station-pop button{min-height:36px;margin-top:4px;border:1px solid var(--line);border-radius:8px;background:var(--accent-soft);font-size:11px}.saved-route{display:grid;gap:6px;padding:10px 0;border-bottom:1px solid var(--line)}.saved-route b,.saved-route small{display:block}.saved-route b{font-size:12px}.saved-route small{color:var(--muted);font-size:10px}.saved-route div{display:flex;gap:6px}.saved-route button{min-height:38px;border:1px solid var(--line);border-radius:8px;background:transparent;padding:0 10px;font-size:11px}
.layer-rail{position:absolute;z-index:18;left:12px;top:12px;display:flex;align-items:stretch;gap:8px;max-width:calc(100% - 118px);padding:6px;border:1px solid var(--line);border-radius:15px;background:var(--panel);box-shadow:var(--shadow);overflow-x:auto;scrollbar-width:none}.layer-rail::-webkit-scrollbar{display:none}.layer-group{display:flex;gap:3px;flex:0 0 auto}.layer-group+.layer-group{padding-left:8px;border-left:1px solid var(--line)}.layer-rail button{position:relative;min-width:58px;height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:0 8px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted)}.layer-rail button span{font-size:16px;line-height:1}.layer-rail button b{font-size:11px;font-weight:780;white-space:nowrap}.layer-rail button:hover{background:rgba(145,185,190,.09);color:var(--ink)}.layer-rail button.active,.layer-rail button.option-active{border-color:rgba(67,214,207,.42);background:var(--accent-soft);color:var(--ink)}.layer-utility button{min-width:56px;color:var(--muted)}.layer-rail button:disabled{opacity:.45;cursor:not-allowed}
.marine-hud{position:absolute;z-index:12;left:12px;top:80px;width:min(300px,calc(100% - 24px));max-height:min(58vh,540px);border:1px solid var(--line);border-radius:15px;background:var(--panel);box-shadow:var(--shadow);overflow:hidden}.overview-panel-scroll{height:100%;max-height:inherit;overflow:auto;overscroll-behavior:contain;padding:13px;scrollbar-width:thin}.hud-kicker{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;font-weight:850;letter-spacing:.08em}.hud-kicker i{flex:1;height:1px;background:var(--line)}.overview-filter{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:10px}.overview-filter button{min-height:34px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--muted);font-size:11px}.overview-filter button.active{border-color:rgba(67,214,207,.45);background:var(--accent-soft);color:var(--ink)}.hud-values{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.hud-values>div{min-width:0;padding:10px;border:1px solid var(--line);border-radius:11px;background:rgba(120,160,168,.06)}.hud-values small,.hud-values span,.hud-values em{display:block}.hud-values small{color:var(--muted);font-size:11px}.hud-values strong{display:block;margin-top:4px;font-size:18px}.hud-values span,.hud-values em{margin-top:3px;color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hud-values em{font-style:normal}.hud-trend{margin-top:10px;padding:10px;border-top:1px solid var(--line)}.hud-trend small,.hud-trend strong,.hud-trend span{display:block}.hud-trend small{color:var(--accent);font-size:10px;font-weight:800}.hud-trend strong{margin-top:4px;font-size:13px}.hud-trend span{margin-top:3px;color:var(--muted);font-size:11px}.overview-highlights{margin-top:10px;border-top:1px solid var(--line);padding-top:10px}.overview-highlights>header{display:flex;align-items:end;justify-content:space-between;gap:8px}.overview-highlights header small,.overview-highlights header b{display:block}.overview-highlights header small{color:var(--accent);font-size:10px}.overview-highlights header b{margin-top:2px;font-size:12px}.overview-highlights header span{color:var(--muted);font-size:10px}.overview-highlights details{margin-top:6px;border:1px solid var(--line);border-radius:10px;overflow:hidden}.overview-highlights summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:8px 10px;cursor:pointer}.overview-highlights summary::-webkit-details-marker{display:none}.overview-highlights summary span b,.overview-highlights summary span small,.overview-highlights summary em,.overview-highlights summary em small{display:block}.overview-highlights summary span b{font-size:12px}.overview-highlights summary span small,.overview-highlights summary em small{color:var(--muted);font-size:10px}.overview-highlights summary em{font-style:normal;text-align:right;font-size:11px}.overview-rank-list{border-top:1px solid var(--line)}.overview-rank-row{display:grid;grid-template-columns:24px 1fr auto;gap:7px;align-items:center;padding:8px 9px;border-bottom:1px solid rgba(160,200,204,.09)}.overview-rank-row>span{min-width:0}.overview-rank-row strong,.overview-rank-row small{display:block}.overview-rank-row strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.overview-rank-row small{margin-top:2px;color:var(--muted);font-size:10px}.overview-rank-row em{font-style:normal;text-align:right;font-size:11px}.overview-empty,#hudSource{color:var(--muted);font-size:11px;line-height:1.45}
.map-legend{position:absolute;z-index:12;right:12px;bottom:138px;width:200px;padding:11px 12px;border:1px solid var(--line);border-radius:13px;background:var(--panel);box-shadow:var(--shadow)}.map-legend header{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.map-legend header b{font-size:13px;letter-spacing:.04em}.map-legend header span{color:var(--accent);font-size:13px;font-weight:850}.map-legend>i{display:block;height:8px;margin-top:9px;border-radius:99px}.map-legend>div{display:flex;justify-content:space-between;margin-top:5px;color:var(--muted);font-size:11px}.legend-ticks,.legend-model-note{margin:7px 0 0;color:var(--muted);font-size:10px;line-height:1.35}.legend-model-note{padding-top:7px;border-top:1px solid var(--line)}body.weather-layer-off .map-legend,body.weather-layer-off .marine-hud,body.weather-layer-off .time-dock{display:none}
.time-dock{position:absolute;z-index:13;left:50%;bottom:12px;transform:translateX(-50%);width:min(760px,calc(100% - 260px));min-height:112px;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:8px;padding:9px 10px;border:1px solid var(--line);border-radius:15px;background:var(--panel);box-shadow:var(--shadow)}.time-dock>button{width:42px;height:42px;border:1px solid var(--line);border-radius:11px;background:transparent;font-size:20px}.timeline-main{min-width:0;display:grid;grid-template-rows:24px 24px 27px 22px 15px;gap:2px}.timeline-head{display:flex;align-items:center;gap:8px}.timeline-head b{font-size:12px}.timeline-head span{color:var(--accent);font-size:10px;font-weight:850}.timeline-head button{margin-left:auto;width:32px;height:28px;border:1px solid var(--line);border-radius:8px;background:var(--accent-soft)}.timeline-days{display:flex;min-width:0}.timeline-days button{flex:var(--hours,1);min-width:0;border:0;border-bottom:2px solid var(--line);background:transparent;color:var(--muted);font-size:10px}.timeline-days button.active{border-color:var(--accent);color:var(--ink)}.timeline-range{position:relative;min-width:0}.timeline-range input{position:absolute;z-index:2;inset:0;width:100%;height:27px;margin:0;opacity:.01;cursor:ew-resize}.time-ticks{height:100%;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.forecast-ribbon-wrap{position:relative;overflow:hidden;border-radius:6px}#forecastRibbon{width:100%;height:22px;display:block}.forecast-ribbon-wrap>i{position:absolute;top:0;bottom:0;width:2px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.35)}.timeline-foot{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:10px}.measured-key,.forecast-key{display:inline-block;width:10px;height:3px;margin:0 3px 2px 6px;background:#fff}.forecast-key{background:var(--accent)}
.time-dock>.time-prev{grid-column:1;grid-row:1}.time-dock>.timeline-main{grid-column:2;grid-row:1;min-width:0}.time-dock>.time-next{grid-column:3;grid-row:1}
.route-tools{position:absolute;z-index:20;left:12px;top:12px;display:flex;align-items:center;gap:6px;padding:6px;border:1px solid var(--line);border-radius:14px;background:var(--panel);box-shadow:var(--shadow)}.route-tools button{min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:10px;background:transparent;padding:0 11px;font-size:12px}.route-tools button:disabled{opacity:.4}.route-toolbar-summary{padding:0 6px;color:var(--muted);font-size:12px;font-weight:750}.route-more-trigger{font-weight:900}.route-more-menu{position:absolute;z-index:24;left:12px;top:70px;width:230px;padding:8px;border:1px solid var(--line);border-radius:13px;background:var(--panel-solid);box-shadow:var(--shadow)}.route-more-menu button,.route-more-speed{width:100%;min-height:44px;display:flex;align-items:center;gap:8px;padding:0 11px;border:0;border-radius:9px;background:transparent;text-align:left}.route-more-menu button:hover{background:var(--accent-soft)}.route-more-menu .danger{color:var(--danger)}.route-more-speed input{margin-left:auto;width:64px}.route-empty-hint{position:absolute;z-index:8;left:50%;top:82px;transform:translateX(-50%);margin:0;padding:8px 12px;border:1px solid var(--line);border-radius:99px;background:var(--panel);color:var(--muted);font-size:12px}.route-readout{position:absolute;z-index:15;left:50%;bottom:12px;transform:translateX(-50%);display:flex;align-items:center;gap:13px;padding:8px 10px;border:1px solid var(--line);border-radius:13px;background:var(--panel);box-shadow:var(--shadow)}.route-readout>span{font-weight:850}.route-readout>div{padding-left:12px;border-left:1px solid var(--line)}.route-readout small,.route-readout b{display:block}.route-readout small{color:var(--muted);font-size:10px}.route-readout b{margin-top:2px;font-size:12px}.route-readout label{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:11px}.route-readout input{width:58px}.route-point{width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;padding:0;touch-action:none}.route-point span{width:12px;height:12px;display:grid;place-items:center;border:2px solid #f5ffff;border-radius:50%;background:#0d7c7b;color:transparent;box-shadow:0 2px 7px rgba(0,0,0,.6)}.route-point.start span{background:#42d395}.route-point.end span{background:#f4c65e}.route-point:hover span,.route-point:focus-visible span{transform:scale(1.35)}.leg-marker{padding:3px 6px;border:1px solid rgba(226,250,249,.55);border-radius:7px;background:rgba(3,22,28,.82);color:#f3ffff;font-size:10px;font-weight:850;white-space:nowrap}.route-crosshair,.route-target-bar,.route-bearing-popover{display:none!important}.leg-table{display:none}.route-layer-drawer,.pro-drawer{position:absolute;z-index:23;left:12px;top:70px;width:310px;max-height:calc(100% - 90px);overflow:auto;padding:13px;border:1px solid var(--line);border-radius:15px;background:var(--panel-solid);box-shadow:var(--shadow)}.pro-drawer>header,.route-layer-drawer>header{display:flex;justify-content:space-between;align-items:start}.pro-drawer header small,.pro-drawer header h2{display:block;margin:0}.pro-drawer header small{color:var(--accent);font-size:10px}.pro-drawer header h2{font-size:16px}.pro-drawer header button{width:40px;height:40px;border:0;border-radius:9px;background:rgba(130,170,177,.1)}.route-layer-list{display:grid;gap:5px}.route-layer-list label{min-height:44px;display:flex;align-items:center;gap:9px;padding:0 9px;border:1px solid var(--line);border-radius:9px}.nav-note,.route-layer-note{color:var(--muted);font-size:11px;line-height:1.5}
.route-insert{width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;padding:0;touch-action:none}.route-insert span{width:24px;height:24px;display:grid;place-items:center;border:1px solid rgba(230,255,255,.8);border-radius:50%;background:rgba(3,35,43,.9);color:#efffff;font-size:16px;box-shadow:0 3px 9px rgba(0,0,0,.45)}
.route-crosshair:not([hidden]){position:absolute;z-index:19;width:30px;height:30px;display:block!important;transform:translate(-50%,-50%);pointer-events:none}.route-crosshair::before,.route-crosshair::after{content:'';position:absolute;left:50%;top:50%;background:#f5ffff;box-shadow:0 0 0 1px rgba(0,0,0,.5)}.route-crosshair::before{width:30px;height:2px;transform:translate(-50%,-50%)}.route-crosshair::after{width:2px;height:30px;transform:translate(-50%,-50%)}.route-target-bar:not([hidden]){position:absolute;z-index:21;bottom:auto;display:flex!important;transform:translate(-50%,-100%);gap:5px;padding:5px;border:1px solid var(--line);border-radius:12px;background:var(--panel-solid);box-shadow:var(--shadow)}.route-bearing-button,.route-add-point{min-height:44px;border:1px solid var(--line);border-radius:9px;background:var(--accent-soft);padding:5px 10px}.route-bearing-button b,.route-bearing-button span,.route-bearing-button em{display:block}.route-bearing-button b{font-size:13px}.route-bearing-button span,.route-bearing-button em{color:var(--muted);font-size:9px;font-style:normal}.route-bearing-popover:not([hidden]){position:absolute;z-index:25;left:12px;top:70px;width:min(340px,calc(100% - 24px));display:grid!important;grid-template-columns:1fr auto auto;gap:6px;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--panel-solid);box-shadow:var(--shadow)}.route-bearing-popover label span{display:block;color:var(--muted);font-size:10px}.route-bearing-popover input{width:100%;height:34px;border:1px solid var(--line);border-radius:8px;background:rgba(120,160,168,.08);padding:0 8px}.route-bearing-popover button{min-width:58px;min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--accent-soft)}
@media(pointer:coarse){.route-insert{width:50px;height:50px}.route-point{width:44px;height:44px}}
@media(pointer:coarse){.maplibregl-ctrl-group button{width:44px!important;height:44px!important}}
.inspect-sheet{position:absolute;z-index:25;left:50%;bottom:138px;transform:translateX(-50%);width:min(700px,calc(100% - 28px));max-height:min(650px,calc(100% - 160px));overflow:auto;overscroll-behavior:contain;padding:15px;border:1px solid var(--line);border-radius:17px;background:var(--panel-solid);box-shadow:0 24px 70px rgba(0,0,0,.45)}.sheet-close{position:sticky;z-index:3;float:right;top:0;width:42px;height:42px;border:0;border-radius:10px;background:rgba(130,170,177,.12);font-size:20px}.inspect-head{padding-right:48px}.inspect-head small{color:var(--accent);font-size:10px;font-weight:850;letter-spacing:.08em}.inspect-head h2{margin:4px 0 2px;font-size:21px}.inspect-head p{margin:0;color:var(--muted);font-size:12px}.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:7px;margin-top:12px}.metric-grid>div{padding:10px;border:1px solid var(--line);border-radius:10px;background:rgba(120,160,168,.06)}.metric-grid small,.metric-grid b{display:block}.metric-grid small{color:var(--muted);font-size:10px;text-transform:uppercase}.metric-grid b{margin-top:4px;font-size:13px}.source-age{margin:10px 0 0;color:var(--muted);font-size:11px;line-height:1.45}.inspect-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.inspect-actions button,.inspect-actions a{min-height:44px;display:flex;align-items:center;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:rgba(120,160,168,.07);font-size:12px;font-weight:800}.inspect-actions .primary{border-color:rgba(67,214,207,.5);background:var(--accent-soft)}
.station-chart{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.station-chart>header{display:flex;align-items:end;justify-content:space-between;gap:10px}.station-chart header small,.station-chart header b{display:block}.station-chart header small{color:var(--accent);font-size:10px}.station-chart header b{margin-top:2px;font-size:13px}.station-chart header>span{color:var(--muted);font-size:10px}.station-chart-tabs{display:flex;gap:5px;margin-top:9px;overflow:auto}.station-chart-tabs button{min-height:38px;padding:0 13px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--muted);font-size:11px}.station-chart-tabs button.active{border-color:rgba(67,214,207,.55);background:var(--accent-soft);color:var(--ink)}.station-chart-canvas{height:190px;margin-top:8px;border:1px solid var(--line);border-radius:11px;background:rgba(3,18,24,.34);overflow:hidden;touch-action:none}.station-chart-canvas svg{width:100%;height:100%;display:block}.chart-grid line{stroke:rgba(170,210,214,.13);stroke-width:1}.chart-grid text,.chart-time-start,.chart-time-end,.chart-now-label{fill:var(--muted);font-size:10px}.chart-time-end{text-anchor:end}.chart-now-label{text-anchor:middle}.chart-measure,.chart-forecast{fill:none;stroke-linecap:round;stroke-linejoin:round}.chart-measure{stroke:#fff;stroke-width:3}.chart-forecast{stroke:var(--accent);stroke-width:2.5}.measure-dot{fill:#fff}.forecast-dot{fill:var(--accent)}.measure-bar{fill:#fff}.forecast-bar{fill:var(--accent);opacity:.85}.chart-now{stroke:rgba(255,255,255,.55);stroke-dasharray:4 4}.chart-selected{stroke:#f5c85e;stroke-width:2}.station-chart-tooltip{min-height:32px;display:flex;align-items:center;margin-top:6px;padding:0 10px;border-radius:8px;background:var(--accent-soft);font-size:11px}
.camera-tabs{display:flex;gap:5px;margin:12px 0 7px;overflow:auto}.camera-tabs button{min-height:42px;flex:0 0 auto;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--muted);font-size:11px}.camera-tabs button.active{border-color:rgba(67,214,207,.55);background:var(--accent-soft);color:var(--ink)}.camera-tabs button:disabled{opacity:.45}.camera-stage{position:relative;width:100%;aspect-ratio:16/9;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:#020b0f}.camera-stage video,.camera-stage iframe,.camera-stage img{width:100%;height:100%;border:0;object-fit:cover}.camera-stage>span,.camera-stage>a{color:#c0d4d7;font-size:12px}.camera-stage.loading::before{content:"Tengist…";position:absolute;z-index:2;inset:0;display:grid;place-items:center;background:rgba(2,11,15,.6);color:#dceeee}.camera-poster{position:relative;width:100%;height:100%;padding:0;border:0;background:#020b0f}.camera-poster img{opacity:.82}.camera-poster span{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);min-height:40px;display:flex;align-items:center;padding:0 14px;border:1px solid rgba(238,255,255,.6);border-radius:99px;background:rgba(3,22,29,.9);white-space:nowrap}.media-expand{position:absolute;z-index:4;right:8px;top:8px;min-height:36px;border:1px solid rgba(230,255,255,.5);border-radius:8px;background:rgba(3,22,29,.86);padding:0 10px}.station-camera-context{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.station-camera-context>header{display:flex;justify-content:space-between;align-items:end}.station-camera-context header small,.station-camera-context header b{display:block}.station-camera-context header small{color:var(--accent);font-size:10px}.station-camera-context header b{font-size:12px}.station-camera-context header>span{color:var(--muted);font-size:10px}.camera-context-list{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}.camera-context-list>button{min-width:0;overflow:hidden;padding:0;border:1px solid var(--line);border-radius:10px;background:rgba(120,160,168,.06);text-align:left}.camera-context-list img{width:100%;height:64px;object-fit:cover}.camera-context-list>button>span{display:block;padding:7px}.camera-context-list em,.camera-context-list b,.camera-context-list small{display:block}.camera-context-list em{color:var(--accent);font-size:10px;font-style:normal}.camera-context-list b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.camera-context-list small,.camera-context-meta{color:var(--muted);font-size:10px;line-height:1.4}
.harbour-browser,.station-browser{position:absolute;z-index:22;left:12px;top:80px;width:min(360px,calc(100% - 24px));max-height:calc(100% - 104px);display:flex;flex-direction:column;overflow:hidden;padding:12px;border:1px solid var(--line);border-radius:15px;background:var(--panel-solid);box-shadow:var(--shadow)}.harbour-browser>header,.station-browser>header{display:flex;align-items:center;justify-content:space-between}.harbour-browser header small,.harbour-browser header b,.station-browser header small,.station-browser header b{display:block}.harbour-browser header small,.station-browser header small{color:var(--accent);font-size:10px}.harbour-browser header b,.station-browser header b{font-size:12px}.browser-close{width:42px;height:42px;border:0;border-radius:9px;background:rgba(130,170,177,.1);font-size:20px}.browser-tabs,.camera-filters{display:flex;gap:5px;margin-top:9px}.browser-tabs button,.camera-filters button{min-height:40px;flex:1;border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--muted);font-size:11px}.browser-tabs button.active,.camera-filters button.active{background:var(--accent-soft);color:var(--ink)}.harbour-search{display:block;margin-top:8px}.harbour-search input{width:100%;height:42px;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:rgba(120,160,168,.06)}.station-tools{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:7px}.station-tools label span{display:block;color:var(--muted);font-size:10px}.station-tools select,.station-tools button{height:40px;border:1px solid var(--line);border-radius:8px;background:rgba(120,160,168,.06);padding:0 9px}.harbour-list,.station-list{min-height:0;overflow:auto;overscroll-behavior:contain;margin-top:8px}.harbour-list>button,.station-list>button{width:100%;min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 9px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left}.harbour-list>button:hover,.station-list>button:hover{background:var(--accent-soft)}.harbour-list b,.harbour-list small,.station-list b,.station-list small{display:block}.harbour-list b,.station-list b{font-size:12px}.harbour-list small,.station-list small{margin-top:3px;color:var(--muted);font-size:10px}.harbour-list em,.station-list em{font-style:normal;font-size:11px}.list-more{width:100%;min-height:46px;border:1px solid var(--line);border-radius:9px;background:var(--accent-soft)}
.inspect-sheet,.appearance-panel,.harbour-browser,.station-browser,.pro-drawer,.route-layer-drawer{resize:none}.appearance-panel{position:absolute;z-index:24;left:12px;top:80px;width:310px;max-height:calc(100% - 96px);overflow:auto;padding:13px;border:1px solid var(--line);border-radius:15px;background:var(--panel-solid);box-shadow:var(--shadow)}.appearance-panel>header{display:flex;align-items:center;justify-content:space-between}.appearance-panel header small,.appearance-panel header b{display:block}.appearance-panel header small{color:var(--accent);font-size:10px}.appearance-panel header b{font-size:13px}.appearance-header-actions{display:flex;gap:4px}.appearance-header-actions button{width:40px;height:40px;border:0;border-radius:9px;background:rgba(130,170,177,.1)}.appearance-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:10px}.appearance-presets button{min-height:40px;border:1px solid var(--line);border-radius:9px;background:transparent;font-size:11px}.appearance-presets button:hover{background:var(--accent-soft)}.contrast-toggle{min-height:52px;display:flex;align-items:center;gap:9px;margin-top:8px;padding:7px 9px;border:1px solid var(--line);border-radius:10px}.contrast-toggle b,.contrast-toggle small{display:block}.contrast-toggle b{font-size:12px}.contrast-toggle small{margin-top:2px;color:var(--muted);font-size:10px}.appearance-sliders{display:grid;gap:8px;margin-top:10px}.appearance-sliders label>span{display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.appearance-sliders output{color:var(--ink)}.appearance-sliders input{width:100%;height:28px;accent-color:var(--accent)}.appearance-actions{margin-top:8px}.appearance-actions button{width:100%;min-height:42px;border:1px solid var(--line);border-radius:9px;background:transparent}.appearance-note{display:block;margin-top:8px;color:var(--muted);font-size:10px}.appearance-panel.minimized>*:not(header){display:none}.appearance-panel.minimized{height:auto!important;min-height:0!important}
.managed-panel{position:absolute}.panel-grip{position:absolute;z-index:8;left:50%;top:2px;transform:translateX(-50%);width:58px;height:10px;border:0;border-radius:99px;background:rgba(150,190,194,.23);cursor:grab}.panel-resizer{position:absolute;z-index:8;right:1px;bottom:1px;width:28px;height:28px;border:0;background:linear-gradient(135deg,transparent 53%,rgba(170,210,214,.55) 54%,rgba(170,210,214,.55) 60%,transparent 61%);cursor:nwse-resize}.panel-resize-bottom{position:absolute;z-index:8;left:50%;bottom:1px;transform:translateX(-50%);width:64px;height:10px;border:0;border-radius:99px;background:rgba(150,190,194,.2);cursor:ns-resize}.panel-interacting{user-select:none}.overview-panel-scroll{touch-action:pan-y}
.toast{position:fixed;z-index:100;left:50%;bottom:22px;transform:translateX(-50%);max-width:calc(100% - 24px);padding:10px 14px;border:1px solid var(--line);border-radius:99px;background:#09232c;box-shadow:var(--shadow);font-size:12px}.restore-ui{position:absolute;z-index:80;left:12px;top:12px;min-height:44px;border:1px solid var(--line);border-radius:10px;background:var(--panel-solid);padding:0 13px}.dialog,.media-dialog{width:min(680px,calc(100% - 24px));max-height:calc(100% - 24px);overflow:auto;border:1px solid var(--line);border-radius:16px;background:var(--panel-solid);color:var(--ink);box-shadow:var(--shadow)}.dialog::backdrop,.media-dialog::backdrop{background:rgba(0,8,12,.72)}.dialog form label,.dialog form input{display:block}.dialog form input{width:100%;height:44px;margin-top:6px;padding:0 10px;border:1px solid var(--line);border-radius:9px;background:rgba(120,160,168,.08)}.dialog form>div{display:flex;justify-content:flex-end;gap:7px;margin-top:12px}.dialog button{min-height:44px;border:1px solid var(--line);border-radius:9px;background:transparent;padding:0 13px}.dialog button.primary{background:var(--accent-soft)}.media-dialog{padding:13px}.media-close{float:right;width:44px;height:44px;border:0;border-radius:9px;background:rgba(130,170,177,.1)}.media-dialog header small,.media-dialog header b{display:block}.media-dialog header small{color:var(--accent);font-size:10px}.media-stage{margin-top:10px}.media-dialog p{color:var(--muted);font-size:11px}body.ui-hidden .topbar,body.ui-hidden .marine-hud,body.ui-hidden .layer-rail,body.ui-hidden .appearance-panel,body.ui-hidden .map-legend,body.ui-hidden .time-dock,body.ui-hidden .bottom-nav,body.ui-hidden .maplibregl-ctrl-top-right,body.ui-hidden .maplibregl-ctrl-bottom-right,body.ui-hidden .route-tools,body.ui-hidden .route-readout,body.ui-hidden .route-empty-hint,body.ui-hidden .harbour-browser,body.ui-hidden .station-browser{display:none!important}
body.route-mode .marine-hud,body.route-mode .time-dock,body.route-mode .layer-rail,body.route-mode .map-legend,body.route-mode #particleCanvas{display:none}body.route-mode.route-weather-open #particleCanvas{display:block}body.harbours-mode .marine-hud,body.harbours-mode .time-dock,body.harbours-mode .map-legend{display:none}
@media(max-width:850px){.topbar{height:54px;flex-basis:54px;padding:0 9px}.brand img{width:30px;height:30px}.brand small,.nav,.top-status span{display:none}.top-status{margin-left:auto}.round-button{width:40px;height:40px}.bottom-nav{position:absolute;z-index:55;left:0;right:0;bottom:0;height:calc(62px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,1fr);padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--line);background:#061820}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#829ba0;font-size:11px;font-weight:750}.bottom-nav a i{font-size:17px;font-style:normal}.bottom-nav a.active{color:var(--accent)}.marine-stage{padding-bottom:calc(62px + env(safe-area-inset-bottom))}.maplibregl-ctrl-top-right{top:66px;right:6px}.maplibregl-ctrl-group button{width:36px!important;height:36px!important}.layer-rail{left:6px;right:6px;top:6px;max-width:none;padding:4px;border-radius:13px;gap:4px}.layer-group+.layer-group{padding-left:4px}.layer-rail button{min-width:52px;height:44px;padding:0 6px}.layer-rail button span{font-size:14px}.layer-rail button b{font-size:10px}.marine-hud{left:6px;top:61px;width:218px;max-height:38vh}.overview-panel-scroll{padding:10px}.hud-values{grid-template-columns:1fr}.hud-values>div:nth-child(2),.hud-trend,.overview-highlights,#hudSource{display:none}.hud-values strong{font-size:16px}.map-legend{right:6px;bottom:172px;width:160px;padding:9px}.time-dock{left:6px;right:6px;bottom:calc(68px + env(safe-area-inset-bottom));transform:none;width:auto;min-height:94px;grid-template-columns:36px 1fr 36px;padding:6px;gap:5px}.time-dock>button{width:36px;height:36px}.timeline-main{grid-template-rows:22px 21px 24px 18px}.timeline-head b{font-size:11px}.timeline-days button,.time-ticks{font-size:9px}.timeline-foot{display:none}#forecastRibbon{height:18px}.inspect-sheet{left:6px;right:6px;bottom:calc(68px + env(safe-area-inset-bottom));transform:none;width:auto;max-height:calc(100% - 80px - env(safe-area-inset-bottom));padding:12px}.metric-grid{grid-template-columns:1fr 1fr}.station-chart-canvas{height:170px}.camera-context-list{display:flex;overflow:auto}.camera-context-list>button{flex:0 0 70%}.camera-context-list img{height:72px}.harbour-browser,.station-browser,.appearance-panel,.pro-drawer,.route-layer-drawer{left:6px;right:6px;top:58px;width:auto;max-height:calc(100% - 132px - env(safe-area-inset-bottom))}.appearance-panel{top:auto;bottom:calc(68px + env(safe-area-inset-bottom));max-height:min(66vh,540px);border-radius:17px}.appearance-presets button,.contrast-toggle{min-height:44px}.route-tools{left:6px;right:6px;top:6px;justify-content:flex-start}.route-tools button{min-width:44px}.route-toolbar-summary{margin-left:auto}.route-empty-hint{top:64px;max-width:calc(100% - 16px);white-space:nowrap}.route-readout{left:6px;right:6px;bottom:calc(68px + env(safe-area-inset-bottom));transform:none;justify-content:center}.route-readout>div,.route-readout label{display:none}.route-point{width:44px;height:44px}.route-point span{width:11px;height:11px}.leg-marker{font-size:10px}.panel-resizer{display:none}.panel-grip{width:70px;height:11px}.toast{bottom:calc(72px + env(safe-area-inset-bottom))}}
@media(max-width:520px){.layer-secondary button b{max-width:46px;overflow:hidden;text-overflow:ellipsis}.layer-rail button{min-width:50px}.layer-utility button{min-width:46px}.map-legend{width:148px}.station-chart>header>span{display:none}.camera-stage{aspect-ratio:16/10}.inspect-head h2{font-size:18px}.metric-grid small{font-size:10px}.route-more-menu{left:6px;top:58px}.route-readout{padding:7px}.route-empty-hint{font-size:11px}.overview-highlights header span{display:none}}
@media(max-height:560px) and (max-width:950px){.marine-hud{display:none}.time-dock{min-height:72px}.timeline-days,#forecastRibbon{display:none}.timeline-main{grid-template-rows:24px 24px}.map-legend{bottom:144px}.inspect-sheet{bottom:calc(64px + env(safe-area-inset-bottom));max-height:calc(100% - 72px - env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Pointer hardening shared by compact iPhone and coarse-pointer tablets. */
.managed-panel>.panel-grip{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none}
.managed-panel>.panel-resizer,.managed-panel>.panel-resize-e,.managed-panel>.panel-resize-bottom,#graphDockHandle{touch-action:none}
.panel-resize-e{position:absolute;z-index:8;top:18px;right:0;width:14px;height:calc(100% - 36px);border:0;background:transparent;cursor:ew-resize}
.refresh-button{min-width:36px;min-height:36px;border:1px solid var(--line);border-radius:10px;background:transparent;color:inherit;font-weight:750}
.refresh-button.is-loading{opacity:.55}
#stationRefresh{margin-top:8px}
#forecastCursor{will-change:left}
body.rain-focus-mode .harbour-marker,body.rain-focus-mode .camera-marker{display:none!important}body.rain-focus-mode .buoy-marker{display:none!important}
@media(max-width:599px){.managed-panel>.panel-resizer{display:none}.appearance-panel{bottom:calc(68px + env(safe-area-inset-bottom))}}
@media (pointer:coarse) and (min-width:600px){.managed-panel>.panel-resizer{display:block;width:44px;height:44px}.appearance-sliders{grid-template-columns:1fr 1fr}}

/* v8.12.1 hardening: visible keyboard focus and collision-safe information panels. */
.maplibregl-canvas:focus-visible{outline:3px solid #6ff7ed;outline-offset:-4px;box-shadow:inset 0 0 0 5px rgba(3,28,35,.72)}
.marine-stage.day .maplibregl-canvas:focus-visible{outline-color:#006b73;box-shadow:inset 0 0 0 5px rgba(255,255,255,.82)}
.marine-hud{max-height:min(58vh,calc(100% - 220px));overflow:hidden}
.overview-panel-scroll{height:100%;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.layer-rail{max-width:calc(100% - 24px);overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin}
.layer-group{flex:0 0 auto}
.station-chart-tabs{overflow-x:auto;scrollbar-width:thin;padding-bottom:3px}
.station-chart-tabs button{flex:0 0 auto}
.station-chart-tabs button:disabled{opacity:.42;cursor:not-allowed}
.camera-stage.loading::after{content:'Tengist við streymi…';position:absolute;left:50%;bottom:12px;transform:translateX(-50%);padding:6px 10px;border-radius:99px;background:rgba(4,20,27,.82);color:#eaffff;font-size:11px;white-space:nowrap}
.camera-retry{min-height:44px;border:1px solid var(--line);border-radius:9px;background:var(--accent-soft);padding:0 14px}
@media(max-width:850px){
  .marine-hud{width:min(270px,calc(100% - 12px));max-height:calc(100% - 228px - env(safe-area-inset-bottom));overflow:hidden}
  .hud-values{grid-template-columns:1fr 1fr}
  .hud-values>div:nth-child(2),.hud-trend,.overview-highlights,#hudSource{display:block}
  .overview-highlights{margin-top:9px}
  .layer-rail{overflow-x:auto}
}

/* v8.26.3 — skýrt grunnkort og tvö lítil, bein dropdown. */
.primary-layer-switcher{grid-template-columns:minmax(76px,1fr) minmax(76px,1fr) 82px 94px 66px}
.quick-select{position:relative;min-width:0;height:44px;display:grid;align-content:center;padding:3px 7px;border:1px solid rgba(180,222,225,.14);border-radius:9px;background:rgba(133,177,182,.06);overflow:hidden}.quick-select>span{display:block;color:var(--muted);font-size:7px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;pointer-events:none}.quick-select select{width:100%;min-width:0;height:20px;border:0;background:transparent;color:var(--ink);font-size:10px;font-weight:800;outline:0;cursor:pointer}.quick-select option{background:#102b34;color:#effafa}
@media(max-width:850px){.primary-layer-switcher{grid-template-columns:1fr 1fr 69px 79px 54px}.quick-select{height:38px;padding:2px 5px}.quick-select>span{font-size:6px}.quick-select select{font-size:8px}.layer-rail .primary-layer-switcher .layer-menu-trigger{padding:0 3px}.layer-rail .primary-layer-switcher .layer-menu-trigger>span,.layer-rail .primary-layer-switcher .layer-menu-trigger>i{display:none}}
@media(max-width:380px){.primary-layer-switcher{grid-template-columns:1fr 1fr 62px 70px 48px}.quick-select{padding:2px 3px}.quick-select select{font-size:7px}}

/* v9.1.0 — föst ein röð; engin skörun og tímalína alltaf ofan við aðalvalmynd. */
.layer-rail{width:min(500px,calc(100% - 24px));height:52px;overflow:visible}
.primary-layer-switcher{width:100%;height:52px;overflow:hidden}
.quick-extremes{top:70px}
.time-dock{z-index:54}
@media(max-width:850px){
  .layer-rail{left:7px;right:7px;width:auto;height:44px;overflow:visible}
  .primary-layer-switcher{height:44px;overflow:hidden}
  .quick-extremes{top:52px}
  .time-dock{z-index:54;bottom:calc(70px + env(safe-area-inset-bottom))}
  .bottom-nav{z-index:55}
}

/* v8.21.3 clean shell: one navigation, compact overlays, reliable hide-all and an unmistakable LAND workspace. */
body.ui-hidden .marine-stage>:not(#marineMap):not(#landMap):not(#particleCanvas):not(#restoreUi){display:none!important}
body.ui-hidden #restoreUi{display:block!important;position:fixed;z-index:200;left:12px;top:12px}
.land-identity{position:absolute;z-index:1;left:50%;top:16px;transform:translateX(-50%);display:flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid rgba(20,76,79,.22);border-radius:999px;background:rgba(249,253,251,.95);box-shadow:0 5px 18px rgba(7,29,34,.13);color:#123b41}

/* v9 professional draggable bottom sheet: one dock owns graphs + timeline. */
body.v9-map-first .weather-graph-system{position:fixed;z-index:54;left:50%;right:auto;bottom:calc(10px + env(safe-area-inset-bottom) + var(--atlas-visual-bottom,0px));transform:translateX(-50%);width:min(980px,calc(100% - 24px));height:var(--graph-dock-height,116px);max-height:calc(var(--atlas-visual-height,100dvh) - 74px);display:flex;flex-direction:column;gap:0;border:1px solid rgba(160,204,209,.24);border-radius:16px;background:rgba(4,23,31,.97);box-shadow:0 18px 52px rgba(0,0,0,.42);overflow:hidden;pointer-events:auto;touch-action:none}
body.v9-map-first .weather-graph-system.dock-animate{transition:height 220ms cubic-bezier(.2,.85,.2,1)}
body.v9-map-first .weather-graph-system.dock-dragging{transition:none;user-select:none}
body.graph-dock-dragging{user-select:none;overscroll-behavior:none}
.graph-dock-handle{position:relative;flex:none;height:52px;min-height:52px;display:flex;align-items:center;justify-content:center;gap:10px;border:0;border-bottom:1px solid rgba(160,204,209,.16);background:linear-gradient(180deg,rgba(11,42,52,.98),rgba(5,25,34,.86));color:var(--muted);cursor:ns-resize;touch-action:none}
.graph-dock-handle span{position:absolute;top:9px;left:50%;width:48px;height:4px;transform:translateX(-50%);border-radius:99px;background:rgba(180,220,223,.45)}
.graph-dock-handle b{margin-top:12px;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.graph-dock-handle:hover span,.graph-dock-handle:focus-visible span{background:var(--accent)}
.graph-dock-handle:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
body.v9-map-first .weather-graph-system .graph-panel{flex:1 1 auto;height:auto!important;min-height:0!important;max-height:none!important;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;overflow:hidden}
body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .graph-panel{display:none!important}
body.v9-map-first .weather-graph-system[data-dock-mode="compact"] .graph-track-canvas{height:96px}
body.v9-map-first .weather-graph-system .graph-panel-head{height:42px;padding:6px 10px;border-bottom:1px solid rgba(160,204,209,.16)}
body.v9-map-first .weather-graph-system #graphPanelBody{height:100%;max-height:none!important;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding-bottom:6px}
body.v9-map-first .weather-graph-system .graph-track{min-height:150px;padding:8px 10px 10px}
body.v9-map-first .weather-graph-system .graph-track-canvas{height:112px}
body.v9-map-first .weather-graph-system[data-dock-mode="graph"] .graph-track-canvas,body.v9-map-first .weather-graph-system[data-dock-mode="full"] .graph-track-canvas{height:136px}
body.v9-map-first .weather-graph-system .graph-empty{height:112px}
body.v9-map-first .weather-graph-system .time-dock{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;flex:none;width:100%!important;height:120px;min-height:120px!important;display:grid!important;grid-template-columns:44px 1fr 44px;gap:8px;padding:8px 10px calc(10px + env(safe-area-inset-bottom));border:0;border-top:1px solid rgba(160,204,209,.18);border-radius:0;background:rgba(2,16,23,.92);box-shadow:none}
body.v9-map-first .weather-graph-system .time-dock>button{width:42px;height:42px;align-self:center}
body.v9-map-first .timeline-main{grid-template-rows:26px 20px 40px 20px 0;gap:1px}
body.v9-map-first .timeline-head{gap:8px}
body.v9-map-first .timeline-head b{font-size:12px;font-variant-numeric:tabular-nums}
body.v9-map-first .timeline-head span{font-size:9px}
body.v9-map-first .timeline-now{min-width:48px!important;width:auto!important;padding:0 9px;text-transform:uppercase}
body.v9-map-first .timeline-range{height:40px;touch-action:none}
body.v9-map-first .timeline-range input{height:56px;top:-8px;opacity:.001;touch-action:none}
body.v9-map-first .time-ticks{position:absolute;left:0;right:0;top:19px;height:4px;border:0;background:linear-gradient(90deg,rgba(166,205,210,.26),rgba(166,205,210,.56),rgba(166,205,210,.26));border-radius:999px;font-size:10px}
body.v9-map-first .time-ticks span{position:relative;top:10px}
body.v9-map-first .timeline-range::before{content:'';position:absolute;z-index:1;left:var(--now-pct,50%);top:15px;width:8px;height:8px;transform:translateX(-50%);border-radius:50%;background:rgba(255,255,255,.58);box-shadow:0 0 0 3px rgba(255,255,255,.1)}
body.v9-map-first .timeline-range::after{content:'';position:absolute;z-index:2;left:var(--selected-pct,0%);top:11px;width:14px;height:14px;transform:translateX(-50%);border-radius:50%;background:#fff;box-shadow:0 0 0 4px rgba(84,214,200,.22),0 2px 8px rgba(0,0,0,.55)}
.timeline-bubble{position:absolute;z-index:5;left:var(--selected-pct,0%);bottom:31px;min-width:72px;transform:translate(-50%,-18px);display:none;padding:5px 8px;border:1px solid rgba(220,252,252,.38);border-radius:9px;background:rgba(2,16,23,.96);box-shadow:0 8px 22px rgba(0,0,0,.45);text-align:center;pointer-events:none}
.timeline-bubble b,.timeline-bubble span{display:block}.timeline-bubble b{font-size:13px}.timeline-bubble span{margin-top:1px;color:var(--muted);font-size:9px;white-space:nowrap}
body.timeline-scrubbing .timeline-bubble,body.v9-map-first .timeline-range:hover .timeline-bubble{display:block}
body.v9-map-first .forecast-ribbon-wrap{height:18px;margin-top:0}
body.v9-map-first #forecastRibbon{height:18px}
body.v9-map-first .timeline-foot{display:none}
body.v9-map-first .weather-graph-system[data-dock-mode="timeline"]{height:var(--graph-dock-height,116px)}
body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .graph-dock-handle{height:44px;min-height:44px}
body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .time-dock{height:72px;min-height:72px!important;padding-top:5px}
body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .forecast-ribbon-wrap{display:none}
body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .timeline-main{grid-template-rows:24px 40px}
body.v9-map-first .layer-rail{bottom:calc(var(--graph-system-height,116px) + 18px + env(safe-area-inset-bottom) + var(--atlas-visual-bottom,0px))}
body.v9-map-first .inspect-sheet{bottom:calc(var(--graph-system-height,116px) + 18px + env(safe-area-inset-bottom) + var(--atlas-visual-bottom,0px))!important}
body.ui-hidden .weather-graph-system,body.route-mode .weather-graph-system,body.harbours-mode .weather-graph-system,body.land-mode .weather-graph-system{display:none!important}
@media(max-width:700px){body.v9-map-first .weather-graph-system{left:8px;right:8px;width:auto;transform:none;bottom:calc(6px + env(safe-area-inset-bottom) + var(--atlas-visual-bottom,0px));border-radius:15px}.graph-dock-handle{height:54px;min-height:54px}body.v9-map-first .weather-graph-system .time-dock{height:118px;min-height:118px!important;grid-template-columns:38px 1fr 38px;padding:7px 7px calc(9px + env(safe-area-inset-bottom));gap:5px}body.v9-map-first .weather-graph-system .time-dock>button{width:38px;height:38px}.timeline-bubble{transform:translate(-50%,-28px)}body.v9-map-first .weather-graph-system .graph-track{min-height:142px;padding:7px 7px 9px}body.v9-map-first .weather-graph-system .graph-track-canvas,body.v9-map-first .weather-graph-system[data-dock-mode="graph"] .graph-track-canvas,body.v9-map-first .weather-graph-system[data-dock-mode="full"] .graph-track-canvas{height:126px}body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .time-dock{height:74px;min-height:74px!important}body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .timeline-main{grid-template-rows:24px 40px}.timeline-head .timeline-day-select{display:none!important}}
@media(prefers-reduced-motion:reduce){body.v9-map-first .weather-graph-system.dock-animate{transition:none!important}}
.land-identity b{font-size:10px;letter-spacing:.12em}.land-identity span{font-size:10px;color:#526f73}
.land-terrain-badge{top:56px}
.reset-page{display:grid;place-items:center;min-height:100%;padding:20px;background:#07171f;color:#effafa}
.reset-card{width:min(420px,100%);padding:32px;border:1px solid rgba(172,214,217,.18);border-radius:20px;background:#0a2029;text-align:center;box-shadow:0 18px 60px rgba(0,0,0,.35)}
.reset-card img{width:64px;height:64px}.reset-card small{display:block;margin-top:14px;color:#43d6cf;font-weight:800}.reset-card h1{margin:8px 0;font-size:24px}.reset-card p{margin:0;color:#9ab0b5;line-height:1.5}
@media(max-width:850px){
  .land-identity{top:65px;left:10px;transform:none;padding:6px 9px}.land-terrain-badge{display:none}
}

.land-category-filter{display:flex;gap:5px;overflow-x:auto;margin:0 0 9px;padding-bottom:2px;scrollbar-width:none}.land-category-filter button{flex:0 0 auto;min-height:36px;padding:0 10px;border:1px solid rgba(145,194,195,.18);border-radius:999px;background:transparent;color:#9db4b7;font-size:10px}.land-category-filter button.active{border-color:#45d8cf;background:rgba(69,216,207,.14);color:#efffff}.land-layer-toggles{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:12px}.land-layer-toggles label,.land-layer-toggles a,.land-road-status{display:flex;align-items:center;gap:8px;min-height:48px;padding:8px 10px;border:1px solid rgba(145,194,195,.18);border-radius:10px;background:rgba(145,194,195,.055);color:#efffff}.land-layer-toggles input{width:18px;height:18px;accent-color:#45d8cf}.land-layer-toggles span,.land-layer-toggles b,.land-layer-toggles small{display:block}.land-layer-toggles b{font-size:10px}.land-layer-toggles small{margin-top:2px;color:#8fa9ad;font-size:8px;line-height:1.3}.land-place-card>strong{display:block;margin-top:3px;color:#b8d2d4;font-size:10px}.land-place-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:10px}.land-place-actions button,.land-place-actions a{display:grid;place-items:center;min-height:40px;padding:0 7px;border:1px solid rgba(83,220,210,.25);border-radius:8px;background:rgba(83,220,210,.08);color:#efffff;font-size:9px}.land-road-status{display:grid;grid-template-columns:1fr auto;gap:3px 8px;margin-bottom:10px}.land-road-status b{font-size:10px}.land-road-status span{grid-column:1/-1;color:#e5bd69;font-size:9px;line-height:1.35}.land-road-status a{color:#53dcd2;font-size:9px}

@media(max-width:520px){.land-layer-toggles{grid-template-columns:1fr}.land-place-actions{grid-template-columns:1fr 1fr}}
@media(max-height:560px) and (max-width:950px){.marine-hud{display:block;max-height:calc(100% - 156px - env(safe-area-inset-bottom))}}

/* v8.12.2 iPhone chrome: more map, one-tap hide and compact timeline. */
.mobile-hide-ui,.overview-collapse-toggle{display:none}
body.ui-hidden .inspect-sheet,body.ui-hidden .pro-drawer,body.ui-hidden .route-layer-drawer,body.ui-hidden .route-more-menu,body.ui-hidden .route-bearing-popover,body.ui-hidden .route-target-bar,body.ui-hidden .route-crosshair,body.ui-hidden .mobile-hide-ui{display:none!important}
@media(max-width:599px){
  .topbar{gap:8px}
  .mobile-hide-ui{display:grid;place-items:center;flex:0 0 40px;font-size:19px}
  .overview-collapse-toggle{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;margin:-7px -6px -7px 0;border:1px solid var(--line);border-radius:9px;background:var(--accent-soft);font-size:15px}
  .marine-hud{width:min(270px,calc(100% - 12px));max-height:min(46vh,380px)}
  .marine-hud.mobile-collapsed{width:min(226px,calc(100% - 86px))!important;height:48px!important;min-height:48px!important;max-height:48px!important;overflow:hidden}
  .marine-hud.mobile-collapsed .overview-panel-scroll{height:48px;overflow:hidden;padding:0 10px}
  .marine-hud.mobile-collapsed .hud-kicker{height:48px}
  .marine-hud.mobile-collapsed .overview-filter,
  .marine-hud.mobile-collapsed .hud-values,
  .marine-hud.mobile-collapsed .hud-trend,
  .marine-hud.mobile-collapsed .overview-highlights,
  .marine-hud.mobile-collapsed #hudSource,
  .marine-hud.mobile-collapsed .panel-grip,
  .marine-hud.mobile-collapsed .panel-resizer,
  .marine-hud.mobile-collapsed .panel-resize-bottom{display:none!important}
  .time-dock{bottom:calc(68px + env(safe-area-inset-bottom));height:76px;min-height:76px;padding:4px 6px;grid-template-columns:44px 1fr 44px;gap:5px;border-radius:13px}
  .time-dock>button{width:44px;height:44px;border-radius:9px;font-size:18px}
  .timeline-main{grid-template-rows:40px 28px;gap:0}
  .timeline-days,.forecast-ribbon-wrap,.timeline-foot{display:none!important}
  .timeline-head{gap:5px;min-width:0}
  .timeline-head b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
  .timeline-head span{flex:0 0 auto;font-size:9px}
  .timeline-head button{flex:0 0 44px;width:44px;height:44px;font-size:12px}
  .timeline-range,.timeline-range input{height:28px}
  .time-ticks{font-size:8px}
  .map-legend{bottom:calc(152px + env(safe-area-inset-bottom));width:148px;padding:8px}
  .restore-ui{left:8px;top:calc(8px + env(safe-area-inset-top));min-height:42px;border-radius:99px;padding:0 14px}
}
.leg-weather b,.leg-weather small{display:block}

/* v8.13.0 ATLAS LAND — isolated, lazy-loaded land map and touch-first tools. */
#landMap{position:absolute;inset:0;z-index:2;background:#dfe8e5}
#landMap[hidden],.land-ui[hidden]{display:none!important}
.land-ui{position:absolute;z-index:40;inset:0;pointer-events:none}
.land-ui button,.land-ui input,.land-sheet{pointer-events:auto}
body.land-mode #marineMap,body.land-mode #particleCanvas,body.land-mode .map-fallback,body.land-mode .marine-hud,body.land-mode .layer-rail,body.land-mode .basemap-rail,body.land-mode .appearance-panel,body.land-mode .map-legend,body.land-mode .time-dock,body.land-mode .route-tools,body.land-mode .route-readout,body.land-mode .route-empty-hint,body.land-mode .route-target-bar,body.land-mode .route-crosshair,body.land-mode .harbour-browser,body.land-mode .station-browser{display:none!important}
body.land-mode .marine-stage{background:#dfe8e5}
body.ui-hidden .land-ui{display:none!important}
body.land-mode .topbar{background:rgba(5,23,29,.96)}
body.land-mode .brand small{color:#8fb2b5}
.land-search{position:absolute;left:16px;top:16px;width:min(440px,calc(100% - 112px));display:grid;grid-template-columns:1fr 48px 48px;gap:7px;padding:7px;border:1px solid rgba(20,76,79,.24);border-radius:16px;background:rgba(249,253,251,.97);box-shadow:0 12px 38px rgba(7,29,34,.2);color:#12333a;pointer-events:auto}
.land-search label{min-width:0}.land-search input{width:100%;height:48px;padding:0 12px;border:0;outline:0;background:transparent;color:#12333a;font:600 14px/1.2 system-ui}.land-search input::placeholder{color:#688185}.land-search>button{width:48px;height:48px;border:0;border-radius:11px;background:#e5f1ef;color:#123b41;font-size:20px}.land-search>button:first-of-type{background:#0b746f;color:#fff;font-size:24px}.land-search>button:active{transform:scale(.97)}
.land-search-results{position:absolute;left:0;right:0;top:70px;max-height:min(56vh,440px);overflow:auto;padding:7px;border:1px solid rgba(20,76,79,.2);border-radius:14px;background:#f8fcfa;box-shadow:0 18px 46px rgba(6,26,31,.25)}.land-search-results>button{width:100%;min-height:58px;display:block;padding:9px 11px;border:0;border-bottom:1px solid rgba(20,76,79,.12);background:transparent;color:#12333a;text-align:left}.land-search-results>button:hover,.land-search-results>button:focus-visible{background:#e2f2ef}.land-search-results b,.land-search-results small{display:block}.land-search-results b{font-size:13px}.land-search-results small{margin-top:4px;color:#607a7e;font-size:10px;line-height:1.35}.land-search-results p{margin:10px;color:#607a7e;font-size:12px}
.land-map-tools{position:absolute;right:16px;top:16px;display:grid;gap:7px;pointer-events:auto}.land-map-tools>button{width:48px;height:48px;border:1px solid rgba(20,76,79,.24);border-radius:13px;background:rgba(249,253,251,.97);box-shadow:0 8px 24px rgba(7,29,34,.16);color:#12333a;font-weight:850}.land-map-tools>button[aria-pressed=true]{background:#0b746f;color:#fff}.land-style-menu{position:absolute;right:56px;top:110px;width:130px;padding:6px;border:1px solid rgba(20,76,79,.22);border-radius:12px;background:#f8fcfa;box-shadow:0 12px 34px rgba(7,29,34,.23)}.land-style-menu button{width:100%;min-height:42px;border:0;border-radius:8px;background:transparent;color:#16383e;text-align:left;padding:0 11px}.land-style-menu button:hover{background:#e2f2ef}
.land-sheet{position:absolute;left:16px;bottom:16px;width:min(420px,calc(100% - 32px));max-height:calc(100% - 104px);display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(127,180,181,.28);border-radius:18px;background:rgba(5,27,34,.96);box-shadow:0 18px 60px rgba(0,12,17,.38);color:#efffff}.land-sheet-grip{height:27px;display:grid;place-items:center;flex:0 0 27px;border:0;background:transparent}.land-sheet-grip i{width:52px;height:5px;border-radius:99px;background:rgba(175,213,214,.3)}.land-sheet>header{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:15px 16px 11px;border-bottom:1px solid rgba(145,194,195,.15)}.land-sheet>header small,.land-sheet>header b{display:block}.land-sheet>header small{color:#53dcd2;font-size:10px;letter-spacing:.12em}.land-sheet>header b{margin-top:3px;font-size:15px}.land-sheet>header>span{color:#96afb2;font-size:10px;text-align:right}.land-sheet>header>span[data-kind=loading]{color:#f4c85b}.land-sheet>header>span[data-kind=warning],.land-sheet>header>span[data-kind=error]{color:#ff987f}
.land-modes{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:9px 10px}.land-modes button{min-width:0;height:53px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid rgba(145,194,195,.16);border-radius:10px;background:rgba(140,180,184,.04);color:#8fa9ad;font-size:10px;font-weight:750}.land-modes button i{font-size:17px;font-style:normal}.land-modes button.active{border-color:rgba(83,220,210,.58);background:rgba(83,220,210,.13);color:#efffff}
.land-content{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 12px 12px}.land-help{margin:2px 1px 10px;color:#9db4b7;font-size:11px;line-height:1.45}.land-place-card,.land-pending-mark,.land-route-summary,.land-measure-summary{padding:13px;border:1px solid rgba(145,194,195,.18);border-radius:12px;background:rgba(155,198,201,.055)}.land-place-card small,.land-place-card b,.land-place-card span,.land-place-card em,.land-pending-mark strong,.land-pending-mark span,.land-route-summary strong,.land-route-summary span,.land-measure-summary strong,.land-measure-summary span{display:block}.land-place-card small{color:#53dcd2;font-size:9px;letter-spacing:.1em}.land-place-card b,.land-pending-mark strong,.land-route-summary strong,.land-measure-summary strong{margin-top:3px;font-size:16px}.land-place-card span,.land-place-card em,.land-pending-mark span,.land-route-summary span,.land-measure-summary span{margin-top:4px;color:#9db4b7;font-size:10px;font-style:normal;line-height:1.45}.land-place-card em{color:#68d7d0}.land-favourites{margin-top:12px}.land-favourites>header{display:flex;align-items:center;justify-content:space-between}.land-favourites>header b{font-size:11px}.land-favourites>header button{min-height:36px;border:0;background:transparent;color:#9db4b7;font-size:10px}.land-favourites article{display:grid;grid-template-columns:1fr 42px;border-bottom:1px solid rgba(145,194,195,.13)}.land-favourites article>button{min-width:0;min-height:48px;border:0;background:transparent;color:#efffff;text-align:left}.land-favourites article>button:last-child{text-align:center;font-size:18px;color:#9db4b7}.land-favourites b,.land-favourites small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.land-favourites b{font-size:11px}.land-favourites small,.land-favourites p{color:#8fa9ad;font-size:9px}.land-actions{display:flex;gap:6px;margin-top:10px}.land-actions button{min-height:44px;flex:1;border:1px solid rgba(145,194,195,.22);border-radius:9px;background:rgba(145,194,195,.06);color:#efffff;font-size:11px}.land-actions button:disabled{opacity:.35}.land-actions button:not(:disabled):active{background:rgba(83,220,210,.18)}
.land-featured{margin:0 0 10px}.land-featured>header{display:flex;justify-content:space-between;align-items:center;margin:0 1px 6px}.land-featured>header b{font-size:11px}.land-featured>header span{color:#7f9b9e;font-size:9px}.land-featured>div{display:flex;gap:6px;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin}.land-featured button{flex:0 0 auto;min-height:44px;padding:6px 10px;border:1px solid rgba(145,194,195,.18);border-radius:9px;background:rgba(145,194,195,.05);color:#efffff;text-align:left}.land-featured button b,.land-featured button small{display:block}.land-featured button b{font-size:10px}.land-featured button small{margin-top:2px;color:#8fa9ad;font-size:8px}.land-featured button:active{background:rgba(83,220,210,.15)}.land-saved-routes{padding-top:10px;border-top:1px solid rgba(145,194,195,.13)}
.land-route-weather{margin-top:9px;padding:10px;border-left:3px solid #53dcd2;background:rgba(83,220,210,.07)}.land-route-weather small,.land-route-weather span,.land-route-weather em{display:block}.land-route-weather small{color:#53dcd2;font-size:9px}.land-route-weather span{margin-top:6px;color:#dceced;font-size:10px;line-height:1.4}.land-route-weather span b{display:inline-block;min-width:38px;color:#fff}.land-route-weather em{margin-top:8px;color:#9db4b7;font-size:9px;line-height:1.4}.land-sheet>footer{display:flex;justify-content:space-between;gap:8px;padding:8px 12px;border-top:1px solid rgba(145,194,195,.12);color:#718e92;font-size:8px}.land-sheet canvas{display:block;width:100%;height:110px;margin-top:8px;border-radius:10px;background:rgba(0,10,14,.25)}
.land-sheet.collapsed{height:78px;min-height:78px;max-height:78px}.land-sheet.collapsed>header,.land-sheet.collapsed .land-content,.land-sheet.collapsed>footer{display:none}.land-sheet.collapsed .land-modes{padding-top:0}.land-sheet.collapsed .land-modes button{height:44px;flex-direction:row}.land-sheet.collapsed .land-modes button i{font-size:15px}
.land-marker{display:grid;place-items:center;width:34px;height:34px;border:2px solid rgba(255,255,255,.94);border-radius:50%;box-shadow:0 3px 12px rgba(0,14,20,.4);font:800 11px/1 system-ui;cursor:pointer}.land-route-marker{background:#08746f;color:#fff}.land-measure-marker{background:#f4c85b;color:#17343a}.land-place-marker{width:28px;height:28px;background:#153f48;color:#5ce1d7}.land-selection-marker{width:38px;height:38px;background:#fff;color:#08746f;font-size:17px}.land-marker:focus-visible{outline:3px solid #102f37;outline-offset:2px}
.land-mark-dialog p{color:var(--muted);font-size:11px}.land-mark-dialog form>label+label{margin-top:10px}
body.land-mode #landMap .maplibregl-ctrl-top-right{top:16px;right:76px}body.land-mode #landMap .maplibregl-ctrl-bottom-right{bottom:14px;right:14px}body.land-mode #landMap .maplibregl-canvas:focus-visible{outline:3px solid #08746f;outline-offset:-4px}

@media(max-width:850px){
  .bottom-nav{grid-template-columns:repeat(4,1fr)}
  body.land-mode #landMap .maplibregl-ctrl-top-right{top:76px;right:7px}
  body.land-mode #landMap .maplibregl-ctrl-bottom-right{bottom:calc(66px + env(safe-area-inset-bottom));right:6px}
  .land-search{left:7px;top:7px;width:calc(100% - 70px);grid-template-columns:1fr 44px;padding:5px;border-radius:13px}.land-search input{height:44px}.land-search>button{width:44px;height:44px}.land-search #landHideUi{position:fixed;right:7px;top:7px;background:rgba(249,253,251,.97);color:#12333a}
  .land-map-tools{right:7px;top:65px}.land-map-tools>button{width:44px;height:44px}.land-style-menu{right:50px;top:101px}
  .land-sheet{left:7px;right:7px;bottom:calc(69px + env(safe-area-inset-bottom));width:auto;max-height:min(54vh,470px);border-radius:18px 18px 13px 13px}.land-sheet-grip{height:27px;display:grid;place-items:center;flex:0 0 27px;border:0;background:transparent}.land-sheet-grip i{width:52px;height:5px;border-radius:99px;background:rgba(175,213,214,.3)}.land-sheet>header{padding:3px 13px 8px}.land-sheet>header b{font-size:13px}.land-modes{padding:7px}.land-modes button{height:48px}.land-content{padding:0 9px 9px}.land-sheet>footer{display:none}
  .land-sheet.collapsed{height:78px;min-height:78px}.land-sheet.collapsed>header,.land-sheet.collapsed .land-content{display:none}.land-sheet.collapsed .land-modes{padding-top:0}.land-sheet.collapsed .land-modes button{height:44px;flex-direction:row}.land-sheet.collapsed .land-modes button i{font-size:15px}
}
@media(max-width:380px){.land-modes button{font-size:9px}.land-modes button i{font-size:15px}.land-sheet.collapsed .land-modes button{gap:1px}.land-search input{font-size:12px}}
@media(max-height:600px) and (max-width:850px){.land-sheet{max-height:46vh}.land-sheet:not(.collapsed)>header{display:none}.land-content{max-height:calc(46vh - 62px)}}

/* v8.24 LAND — interactive place explorer */
.land-place-card{padding:0;overflow:hidden;background:#092832}
.land-place-hero{position:relative;height:176px;margin:0;overflow:hidden;background:linear-gradient(135deg,#0d625f,#183f4b)}
.land-place-hero img{display:block;width:100%;height:100%;object-fit:cover}
.land-place-hero::after{content:"";position:absolute;inset:auto 0 0;height:55%;background:linear-gradient(transparent,rgba(3,20,27,.72));pointer-events:none}
.land-place-hero figcaption{position:absolute;z-index:1;right:9px;bottom:7px;color:#fff;font-size:8px;text-shadow:0 1px 4px #000}
.land-place-hero-empty{display:grid;place-items:center;height:92px;background:radial-gradient(circle at 25% 20%,rgba(83,220,210,.3),transparent 38%),linear-gradient(135deg,#0a4448,#102c3a)}
.land-place-hero-empty span{color:rgba(234,255,254,.82);font-size:12px;font-weight:900;letter-spacing:.22em}
.land-place-body{padding:14px}
.land-place-body>small{color:#53dcd2;font-size:9px;letter-spacing:.1em}
.land-place-body>b{display:block;margin-top:4px;font-size:17px}
.land-place-body>p{margin:9px 0 0;color:#b8cdd0;font-size:11px;line-height:1.5}
.land-place-heading{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:start}.land-place-heading small,.land-place-heading b,.land-place-heading strong{display:block}.land-place-heading small{color:#53dcd2;font-size:9px;letter-spacing:.1em}.land-place-heading b{margin-top:3px;color:#fff;font-size:20px;line-height:1.15}.land-place-heading strong{margin-top:4px;color:#a8c1c4;font-size:10px;font-weight:600}.land-place-heading-actions{display:flex;gap:5px}.land-place-heading-actions button{width:40px;height:40px;border:1px solid rgba(83,220,210,.3);border-radius:50%;background:rgba(83,220,210,.08);color:#d9eeee;font-size:22px}.land-place-heading-actions button:first-child{color:#f4c85b;font-size:24px}.land-place-heading-actions button[aria-pressed=true]{background:rgba(244,200,91,.16);border-color:#f4c85b}
.land-place-facts{display:grid;gap:5px;margin-top:11px;padding-top:10px;border-top:1px solid rgba(145,194,195,.15)}.land-place-facts span{color:#a9c3c6;font-size:9px;line-height:1.4}
.land-place-card .land-place-actions{grid-template-columns:repeat(3,1fr)}.land-place-card .land-place-actions button:first-child{background:#08746f;border-color:#31cfc4;font-weight:800}.land-place-card .land-place-actions a:last-child:nth-child(7){grid-column:auto}
.land-featured>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.land-featured button{min-width:0;min-height:66px;padding:9px 10px}.land-featured button span{display:block;margin-bottom:3px;color:#53dcd2;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.land-featured button b,.land-featured button small{white-space:normal}.land-featured button small{line-height:1.35}
.land-sheet.detail-open{width:min(460px,calc(100% - 32px))}.land-sheet.detail-open .land-featured,.land-sheet.detail-open .land-category-filter,.land-sheet.detail-open .land-layer-toggles,.land-sheet.detail-open .land-help,.land-sheet.detail-open [data-land-panel="explore"]>.land-favourites{display:none}
@media(max-width:600px){.land-sheet.detail-open{top:92px;bottom:calc(69px + env(safe-area-inset-bottom));max-height:none}.land-sheet.detail-open>header{display:none}.land-sheet.detail-open .land-modes{display:none}.land-sheet.detail-open .land-content{padding:7px}.land-place-hero{height:190px}.land-place-card .land-place-actions{grid-template-columns:repeat(2,1fr)}.land-featured>div{display:flex;overflow-x:auto}.land-featured button{flex:0 0 158px}.land-place-heading b{font-size:19px}}

/* v8.15.0: six-day forecast chooser and terrain-map refinements. */
.timeline-day-select{display:none}
.timeline-day-select select{height:32px;max-width:120px;border:1px solid var(--line);border-radius:8px;background:var(--panel-solid);padding:0 7px;color:var(--ink);font-size:10px;font-weight:800}
.overview-highlights header>button{min-height:34px;border:1px solid var(--line);border-radius:8px;background:transparent;padding:0 9px;color:var(--muted);font-size:10px}.overview-highlights header>button[aria-pressed=true]{border-color:rgba(67,214,207,.45);background:var(--accent-soft);color:var(--ink)}
.layer-more-toggle button{min-width:58px}
.station-sun-summary{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0}.station-sun-summary>div{padding:10px;border:1px solid var(--line);border-radius:10px;background:rgba(242,190,73,.07)}.station-sun-summary small,.station-sun-summary b{display:block}.station-sun-summary small{color:var(--muted);font-size:8px;letter-spacing:.05em}.station-sun-summary b{margin-top:4px;font-size:15px}
.land-style-menu{top:165px;width:168px}
.land-terrain-badge{position:absolute;left:50%;top:16px;transform:translateX(-50%);pointer-events:none;padding:6px 10px;border:1px solid rgba(20,76,79,.2);border-radius:999px;background:rgba(249,253,251,.9);box-shadow:0 6px 20px rgba(7,29,34,.12);color:#31575d;font-size:9px;font-weight:800;letter-spacing:.04em}
@media(max-width:599px){
  .layer-more-toggle button{min-width:52px}
  .timeline-head b{display:none}
  .timeline-day-select{display:block;min-width:0;margin-left:auto}
  .timeline-day-select select{display:block;width:100%;max-width:116px;height:36px}
  .land-style-menu{right:50px;top:148px}
  .land-terrain-badge{display:none}
  .station-sun-summary{grid-template-columns:1fr 1fr;margin:8px 0}.station-sun-summary>div{padding:8px}
}

/* v8.15.0: simple-first interface. Advanced data stays available behind one menu. */
.layer-rail{overflow:visible;max-width:calc(100% - 118px)}
.layer-information{position:fixed;z-index:70;left:12px;top:132px;width:min(460px,calc(100vw - 24px));max-height:calc(100vh - 160px);overflow:auto;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--panel-solid);box-shadow:0 22px 68px rgba(0,0,0,.46)}
.layer-information>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.layer-information>header small,.layer-information>header b{display:block}.layer-information>header small{color:var(--accent);font-size:9px;letter-spacing:.1em}.layer-information>header b{margin-top:2px;font-size:14px}
.layer-information>header>button{min-width:40px!important;width:40px;height:40px!important;border-radius:10px!important;background:rgba(130,170,177,.1)!important;font-size:20px}
.layer-information section+section{margin-top:12px}.layer-information section>strong{display:block;margin:0 0 6px;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.06em}
.layer-information section>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.layer-information section button{min-width:0;height:58px;border:1px solid var(--line);background:rgba(130,170,177,.04)}
.layer-information section button:hover{background:var(--accent-soft)}
.marine-hud.overview-collapsed{width:244px;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden}
.marine-hud.overview-collapsed .overview-panel-scroll{height:auto;overflow:hidden;padding:10px}
.marine-hud.overview-collapsed .overview-filter,.marine-hud.overview-collapsed .hud-values>div:nth-child(2),.marine-hud.overview-collapsed .hud-trend,.marine-hud.overview-collapsed .overview-highlights,.marine-hud.overview-collapsed #hudSource,.marine-hud.overview-collapsed .panel-grip,.marine-hud.overview-collapsed .panel-resizer,.marine-hud.overview-collapsed .panel-resize-bottom{display:none!important}
.marine-hud.overview-collapsed .hud-values{display:block;margin-top:7px}.marine-hud.overview-collapsed .hud-values>div:first-child{padding:8px 10px}.marine-hud.overview-collapsed .hud-values strong{font-size:17px}

@media(max-width:850px){
  .layer-rail{max-width:none;right:auto;width:auto;overflow:visible}
  .layer-information{left:6px;right:6px;top:116px;width:auto;max-height:calc(100vh - 200px);padding:11px}
  .layer-information section>div{grid-template-columns:repeat(3,minmax(0,1fr))}
  .marine-hud.overview-collapsed{top:58px;width:194px!important;height:auto!important;min-height:0!important;max-height:none!important}
  .marine-hud.overview-collapsed .overview-panel-scroll{height:auto!important;padding:8px}
  .marine-hud.overview-collapsed .hud-kicker{height:auto!important;min-height:32px}
  .marine-hud.overview-collapsed .hud-values{display:block!important;margin-top:4px}
  .marine-hud.overview-collapsed .hud-values>div:first-child{display:block!important;padding:6px 8px}
  .marine-hud.overview-collapsed .hud-values small{font-size:9px}.marine-hud.overview-collapsed .hud-values strong{font-size:15px}.marine-hud.overview-collapsed .hud-values span,.marine-hud.overview-collapsed .hud-values em{font-size:9px}
}

@media(max-width:599px){
  .topbar{height:50px;flex-basis:50px}.brand img{width:28px;height:28px}.brand{gap:7px}.round-button{width:38px;height:38px}
  .layer-rail{top:5px;left:5px;padding:3px;gap:2px;border-radius:12px}.layer-rail button{min-width:52px;height:42px;padding:0 5px}.layer-rail button span{font-size:13px}.layer-rail button b{font-size:9px}.layer-group+.layer-group{padding-left:2px}
  .layer-information{top:105px;max-height:calc(100vh - 184px)}
  .time-dock{left:5px;right:5px;bottom:calc(66px + env(safe-area-inset-bottom));height:58px;min-height:58px;padding:3px 5px;grid-template-columns:40px 1fr 40px;gap:4px;border-radius:12px}
  .time-dock>button{width:40px;height:40px;font-size:17px}.timeline-main{grid-template-rows:26px 18px;gap:0}.timeline-head{gap:4px}.timeline-head b{display:block;flex:1;font-size:9px}.timeline-head>span{display:none}.timeline-head button{display:none}.timeline-day-select{margin-left:0}.timeline-day-select select{width:94px;max-width:94px;height:25px;padding:0 4px;font-size:8px}.timeline-range,.timeline-range input{height:18px}.time-ticks{font-size:7px}
  .map-legend{right:5px;bottom:calc(130px + env(safe-area-inset-bottom));width:126px;padding:7px 8px;border-radius:11px}.map-legend header b,.map-legend header span{font-size:10px}.map-legend>i{height:6px;margin-top:5px}.map-legend>div{font-size:8px;margin-top:3px}.legend-ticks,.legend-model-note{display:none!important}
  .bottom-nav{height:calc(60px + env(safe-area-inset-bottom))}.marine-stage{padding-bottom:calc(60px + env(safe-area-inset-bottom))}
}

@media(max-width:360px){.layer-rail button{min-width:49px}.layer-information section>div{grid-template-columns:repeat(2,minmax(0,1fr))}.marine-hud.overview-collapsed{width:182px!important}}

/* v8.16.0: one-row controls, reserved map zones and regional overview. */
.build-version{padding:3px 6px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:9px;font-weight:800;white-space:nowrap}
.layer-rail{right:auto;width:max-content;max-width:calc(100% - 118px);overflow:visible}
.marine-hud:not(.panel-custom){top:80px;bottom:auto;max-height:min(52vh,calc(100% - 228px))}
.time-dock{width:min(700px,calc(100% - 540px));min-width:420px}
.layer-information:not([hidden]){display:block}
@media(max-width:1050px) and (min-width:851px){
  .time-dock{width:min(620px,calc(100% - 390px));min-width:360px}
  .map-legend{width:174px}
  .marine-hud:not(.panel-custom){width:270px}
}
@media(max-width:850px){
  .build-version{display:none}
  .layer-rail{right:6px;width:auto;max-width:none;overflow-x:auto}
  .marine-hud:not(.panel-custom){top:61px;bottom:auto;max-height:min(42vh,calc(100% - 238px - env(safe-area-inset-bottom)))}
  .time-dock{width:auto;min-width:0}
}
@media(max-width:599px){
  .marine-hud:not(.panel-custom){top:54px;bottom:auto;max-height:min(36vh,calc(100% - 190px - env(safe-area-inset-bottom)))}
  .marine-hud.overview-collapsed{bottom:auto}
  .layer-information{top:102px;bottom:calc(130px + env(safe-area-inset-bottom));max-height:none}
}

/* v8.17.0: fixed safe zones. The primary map panels no longer compete for the same pixels. */
.layer-information{bottom:136px;max-height:none}
@media(max-width:1300px) and (min-width:851px){
  .time-dock{left:290px;right:220px;transform:none;width:auto;min-width:0}
}
@media(max-width:850px){.layer-information{bottom:calc(168px + env(safe-area-inset-bottom))}}
@media(max-width:599px){.layer-information{bottom:calc(130px + env(safe-area-inset-bottom))}}

/* v8.21.3: one continuous history/now/forecast control and deterministic layer selection. */
.timeline-head .timeline-now{width:auto;min-width:48px;margin-left:auto;padding:0 9px;color:var(--ink);font-size:10px;font-weight:850}
.timeline-head #timePlay{margin-left:0}
.timeline-head .timeline-now:disabled{border-color:rgba(67,214,207,.4);background:var(--accent-soft);color:var(--accent);opacity:1;cursor:default}
#timeKind[data-phase="history"]{color:#b8c7ca}#timeKind[data-phase="forecast"]{color:#56e0d8}
.timeline-days button[data-phase="history"]{border-color:rgba(184,199,202,.28)}.timeline-days button[data-phase="now"]{font-weight:900}.timeline-days button[data-phase="forecast"]{border-color:rgba(67,214,207,.28)}
.timeline-days button.active[data-phase="history"]{border-color:#c2d0d2}.timeline-days button.active[data-phase="now"],.timeline-days button.active[data-phase="forecast"]{border-color:var(--accent)}
.timeline-range{--now-pct:33.33%;--selected-pct:33.33%;border-radius:7px;background:linear-gradient(90deg,rgba(174,191,194,.14) 0,var(--now-pct),rgba(67,214,207,.12) var(--now-pct),rgba(67,214,207,.12) 100%)}
.timeline-range::before{content:"";position:absolute;z-index:1;top:0;bottom:0;left:var(--now-pct);width:2px;transform:translateX(-1px);background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.35);pointer-events:none}
.timeline-range::after{content:"";position:absolute;z-index:2;left:var(--selected-pct);top:50%;width:11px;height:11px;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:50%;background:#087e7a;box-shadow:0 2px 8px rgba(0,0,0,.42);pointer-events:none}
.timeline-range input{z-index:3}.time-ticks{position:relative;z-index:1;padding:0 4px;pointer-events:none}.time-ticks span{white-space:nowrap}
.history-key{display:inline-block;width:10px;height:3px;margin:0 3px 2px 6px;background:#aebfc2}
body.info-layers-open .marine-hud{visibility:hidden}
.camera-filters{flex:0 0 auto;min-height:40px}.harbour-list{overflow-x:hidden}.camera-tabs{min-width:0;scrollbar-width:none}
.station-list>.list-more,.harbour-list>.list-more{width:100%;min-height:46px}
#overviewPanel .overview-panel-scroll{max-height:inherit;overflow-y:auto!important;overflow-x:hidden}
#overviewPanel .overview-highlights{max-height:none!important;overflow:visible!important}
#overviewPanel .overview-rank-list{touch-action:pan-y!important}

@media(max-width:599px){
  .layer-rail button{min-width:48px;padding:0 4px}.layer-more-toggle button{min-width:46px}.layer-rail button b{font-size:8.5px}
  .time-dock{height:54px;min-height:54px;grid-template-columns:36px 1fr 36px;padding:3px 4px}
  .time-dock>button{width:36px;height:36px}
  .timeline-main{grid-template-rows:25px 19px}
  .timeline-head b,.timeline-head>span,.timeline-head #timePlay{display:none}
  .timeline-head .timeline-now{display:block;order:2;min-width:42px;width:42px;height:25px;margin-left:auto;padding:0 3px;font-size:8px}
  .timeline-day-select{display:block;order:1;flex:1;margin:0;min-width:0}
  .timeline-day-select select{width:100%;max-width:none;height:25px;padding:0 5px;font-size:8px}
  .timeline-days,.forecast-ribbon-wrap,.timeline-foot{display:none!important}
  .timeline-range,.timeline-range input{height:19px}.time-ticks{font-size:7px}
  .map-legend{bottom:calc(122px + env(safe-area-inset-bottom))}
  .layer-information{bottom:calc(124px + env(safe-area-inset-bottom))}
  body.info-layers-open .map-legend,body.overview-expanded .map-legend{visibility:hidden}
}

@media(max-width:350px){
  .layer-rail button{min-width:45px}.layer-rail button span{font-size:12px}.layer-rail button b{font-size:8px}
  .timeline-head .timeline-now{min-width:38px;width:38px}.timeline-day-select select{font-size:7.5px}
}

/* v8.21: kortið er vinnuflöturinn; tíminn er létt stýring en ekki stórt spjald. */
.time-dock{
  width:min(720px,calc(100% - 48px));min-width:0;min-height:68px;height:68px;
  padding:5px 7px;border-color:rgba(154,207,216,.22);border-radius:12px;
  background:linear-gradient(180deg,rgba(5,27,35,.78),rgba(5,24,31,.9));
  box-shadow:0 5px 18px rgba(0,8,12,.22);}
.time-dock>button{width:38px;height:38px;border-color:rgba(154,207,216,.2);background:rgba(5,25,32,.42)}
.timeline-main{grid-template-rows:24px 22px 13px;gap:2px}
.timeline-days,.forecast-ribbon-wrap{display:none}
.timeline-range,.timeline-range input{height:22px}.time-ticks{border:0;font-size:9px}
.timeline-foot{font-size:9px;line-height:13px}.timeline-foot span:nth-child(2){display:none}
.bottom-nav{grid-template-columns:repeat(5,1fr)}
.bottom-nav a{min-width:0}

@media(max-width:850px){
  .time-dock{left:7px;right:7px;bottom:calc(64px + env(safe-area-inset-bottom));width:auto;height:58px;min-height:58px;padding:3px 5px;grid-template-columns:38px 1fr 38px}
  .time-dock>button{width:38px;height:38px}
  .timeline-main{grid-template-rows:25px 20px;gap:0}
  .timeline-foot,.timeline-days,.forecast-ribbon-wrap{display:none!important}
  .bottom-nav a{font-size:9px}.bottom-nav a i{font-size:15px}
  .map-legend{bottom:calc(132px + env(safe-area-inset-bottom))}
}

/* v8.26.0 — einfalt veðurflæði: eitt lagaval og einn tímasleði. */
.layer-rail{z-index:18;left:12px;right:auto;top:12px;width:214px;max-width:calc(100% - 24px);padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}
.layer-rail .layer-menu-trigger{width:100%;min-width:0;height:52px;display:grid;grid-template-columns:34px 1fr 18px;align-items:center;gap:8px;padding:0 12px;border:1px solid rgba(180,222,225,.2);border-radius:12px;background:rgba(8,29,37,.96);box-shadow:0 8px 24px rgba(0,9,13,.3);text-align:left}.layer-menu-trigger>span:nth-child(2),.layer-menu-trigger small,.layer-menu-trigger b{display:block}.layer-menu-trigger small{font-size:8px;letter-spacing:.1em}.layer-menu-trigger b{font-size:13px}.layer-menu-trigger>i{font-style:normal}.layer-menu-trigger[aria-expanded="true"]>i{transform:rotate(180deg)}
.layer-information{z-index:60;position:absolute;left:0;right:auto;top:60px;bottom:auto;width:320px;max-width:calc(100vw - 24px);max-height:calc(100vh - 142px);overflow:auto;padding:10px;border:1px solid rgba(180,222,225,.2);border-radius:13px;background:#14262c;box-shadow:0 18px 44px rgba(0,8,12,.52)}
.layer-information>header{position:sticky;z-index:2;top:-10px;display:flex;align-items:center;justify-content:space-between;margin:-10px -10px 6px;padding:12px;background:#14262c;border-bottom:1px solid var(--line)}.layer-information section{margin:0;padding:8px 0;border:0}.layer-information section+section,.layer-information details+section{border-top:1px solid var(--line)}.layer-information section>strong{display:block;margin:0 8px 5px;color:var(--muted);font-size:9px;letter-spacing:.1em;text-transform:uppercase}.layer-information section>div{display:grid;grid-template-columns:1fr;gap:2px}
.layer-information section button{width:100%;min-width:0;min-height:47px;display:grid;grid-template-columns:28px 1fr 26px;align-items:center;gap:7px;padding:5px 8px;border:0;border-radius:8px;background:transparent;text-align:left}.layer-information section button>span:first-child{font-size:18px;text-align:center}.layer-information section button>span:nth-child(2),.layer-information section button b,.layer-information section button small{display:block}.layer-information section button b{font-size:13px}.layer-information section button small{margin-top:2px;color:var(--muted);font-size:10px}.layer-information section button>i{width:20px;height:20px;display:grid;place-items:center;border:1px solid rgba(157,196,200,.32);border-radius:3px;color:transparent;font-size:13px;font-style:normal}.layer-information section button.active>i,.layer-information section button[aria-pressed="true"]>i{border-color:#58e3d2;background:#58e3d2;color:#072026}.layer-information section button.active{background:rgba(88,227,210,.08)}.layer-information details{border-top:1px solid var(--line)}.layer-information details summary{min-height:42px;display:flex;align-items:center;padding:0 8px;color:var(--muted);font-size:11px;font-weight:800;cursor:pointer}
.time-dock{left:50%;right:auto;bottom:16px;transform:translateX(-50%);width:min(820px,calc(100% - 64px));height:106px;min-height:106px;grid-template-columns:52px 1fr 52px;gap:8px;padding:8px 10px;border-radius:14px;background:rgba(12,31,38,.96)}.time-dock>button{width:48px;height:48px;border:0;border-radius:50%;background:#59e1d2;color:#062128;font-size:31px}.timeline-main{grid-template-rows:25px 25px 27px;gap:3px}.timeline-head b{display:block;flex:1;min-width:0;font-size:11px}.timeline-head>span{display:block;font-size:9px}.timeline-head #timePlay{display:block;margin-left:auto;width:32px;height:26px}.timeline-head .timeline-now{display:block;order:initial;width:auto;min-width:46px;height:26px;margin-left:0;padding:0 8px;font-size:9px}.timeline-day-select{display:none!important}.timeline-days{display:flex!important;height:25px;overflow:hidden;border-radius:4px;background:#e8b400}.timeline-days button{height:25px;border:0!important;border-right:1px solid rgba(44,36,0,.18)!important;background:transparent!important;color:#2b260d!important;font-size:9px;font-weight:800}.timeline-days button.active{background:#ffe24d!important;color:#111!important;box-shadow:inset 0 -3px 0 #087d78}.timeline-range,.timeline-range input,.time-ticks{height:27px}.timeline-range{border-radius:0;background:transparent}.timeline-range::after{width:15px;height:15px;background:#168fca}.time-ticks{padding:0 5px;border-top:3px solid rgba(112,222,213,.7);border-bottom:0;font-size:9px}.timeline-foot,.forecast-ribbon-wrap{display:none!important}
@media(max-width:850px){.layer-rail{left:7px;top:7px;width:162px;max-width:calc(100% - 64px)}.layer-rail .layer-menu-trigger{height:46px;grid-template-columns:28px 1fr 14px;padding:0 9px}.layer-information{position:fixed;left:7px;right:7px;top:61px;bottom:auto;width:auto;max-width:none;max-height:calc(100dvh - 138px - env(safe-area-inset-bottom));padding:8px}.time-dock{left:7px;right:7px;bottom:calc(67px + env(safe-area-inset-bottom));transform:none;width:auto;height:91px;min-height:91px;grid-template-columns:45px 1fr 45px;gap:5px;padding:6px}.time-dock>button{width:43px;height:43px}.timeline-main{grid-template-rows:24px 24px 25px;gap:2px}.timeline-head b{display:block;font-size:9px}.timeline-head>span{display:block;font-size:8px}.timeline-head #timePlay{display:block}.timeline-head .timeline-now{display:block;min-width:39px;width:auto;height:24px}.timeline-days{display:flex!important;height:24px}.timeline-days button{height:24px;font-size:8px}.timeline-range,.timeline-range input,.time-ticks{height:25px}.map-legend{bottom:calc(166px + env(safe-area-inset-bottom))}}
@media(max-width:430px){.timeline-head>span{display:none}.time-dock{grid-template-columns:43px 1fr 43px}.timeline-days button{font-size:7px}.time-ticks span:nth-child(even){display:none}}

/* v8.26.0 — skýr grunnkort, rólegra veðuryfirlag og tungumálaval. */
.language-toggle{min-width:42px;height:38px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:rgba(116,173,179,.09);color:var(--ink);font-size:11px;font-weight:900;letter-spacing:.08em}.language-toggle:hover{background:var(--accent-soft)}
.basemap-rail{position:absolute;z-index:44;left:238px;top:12px;width:190px;max-width:calc(100% - 452px)}
.basemap-trigger{width:100%;height:52px;display:grid;grid-template-columns:30px 1fr 16px;align-items:center;gap:7px;padding:0 11px;border:1px solid rgba(180,222,225,.2);border-radius:12px;background:rgba(8,29,37,.96);color:var(--ink);box-shadow:0 8px 24px rgba(0,9,13,.3);text-align:left}.basemap-trigger>span:nth-child(2),.basemap-trigger small,.basemap-trigger b{display:block}.basemap-trigger small{color:var(--muted);font-size:8px;letter-spacing:.1em}.basemap-trigger b{font-size:12px}.basemap-trigger>i{font-style:normal}.basemap-trigger[aria-expanded="true"]>i{transform:rotate(180deg)}
.basemap-menu{position:absolute;left:0;top:60px;width:300px;max-width:calc(100vw - 24px);padding:10px;border:1px solid rgba(180,222,225,.2);border-radius:13px;background:#14262c;box-shadow:0 18px 44px rgba(0,8,12,.52)}.basemap-menu header{display:flex;align-items:center;justify-content:space-between;margin:-10px -10px 6px;padding:12px;border-bottom:1px solid var(--line)}.basemap-menu header small,.basemap-menu header b{display:block}.basemap-menu header small{color:var(--accent);font-size:9px}.basemap-menu header b{font-size:13px}.basemap-menu header button{width:38px;height:38px;border:0;border-radius:8px;background:rgba(130,170,177,.1);color:var(--ink);font-size:22px}.basemap-menu>button{width:100%;min-height:50px;display:grid;grid-template-columns:30px 1fr 24px;align-items:center;gap:8px;padding:6px 8px;border:0;border-radius:9px;background:transparent;color:var(--ink);text-align:left}.basemap-menu>button:hover,.basemap-menu>button.active{background:rgba(88,227,210,.09)}.basemap-menu>button span:first-child{text-align:center;font-size:18px}.basemap-menu>button b,.basemap-menu>button small{display:block}.basemap-menu>button b{font-size:13px}.basemap-menu>button small{margin-top:2px;color:var(--muted);font-size:10px}.basemap-menu>button i{width:20px;height:20px;display:grid;place-items:center;border:1px solid rgba(157,196,200,.32);border-radius:4px;color:transparent;font-style:normal}.basemap-menu>button.active i{border-color:#58e3d2;background:#58e3d2;color:#072026}.basemap-menu>p{margin:8px 6px 2px;color:var(--muted);font-size:10px;line-height:1.4}
.legend-meaning{margin:7px 0 0;color:var(--ink);font-size:10px;font-weight:750;line-height:1.35}.map-legend{background:rgba(8,29,37,.94)}
body.weather-layer-off .marine-hud,body.weather-layer-off .time-dock,body.weather-layer-off .map-legend,body.weather-layer-off #particleCanvas{display:none!important}
body.ui-hidden .basemap-rail{display:none!important}
@media(max-width:850px){.language-toggle{height:38px;min-width:40px;padding:0 8px}.basemap-rail{left:auto;right:7px;top:7px;width:146px;max-width:calc(50% - 10px)}.basemap-trigger{height:46px;grid-template-columns:24px 1fr 12px;padding:0 8px}.basemap-trigger small{font-size:7px}.basemap-trigger b{font-size:10px}.basemap-menu{position:fixed;left:7px;right:7px;top:61px;width:auto;max-width:none}.map-legend{background:rgba(8,29,37,.9)}}
@media(max-width:380px){.layer-rail{width:145px}.basemap-rail{width:145px}.basemap-trigger>span:first-child{display:none}.basemap-trigger{grid-template-columns:1fr 12px}}

/* Station history/forecast scrubber */
.station-chart-tooltip{min-height:42px;justify-content:space-between;gap:10px;margin-top:9px;padding:0 12px}.station-chart-tooltip span{color:var(--muted)}.station-chart-tooltip b{flex:none;color:var(--ink);font-size:13px}.station-chart-slider{min-height:46px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;margin-top:5px;color:var(--muted);font-size:10px}.station-chart-slider input{width:100%;height:34px;margin:0;accent-color:var(--accent);touch-action:pan-x}.station-chart-slider input::-webkit-slider-thumb{width:26px;height:26px}.station-chart-slider input:disabled{opacity:.4}
@media(max-width:520px){.station-chart-tooltip{align-items:flex-start;flex-direction:column;gap:2px;padding:8px 11px}.station-chart-tooltip b{font-size:14px}.station-chart-slider{gap:7px}}

/* v8.26.0 — eitt kortaval, hreint sjókort fyrst og samræmd lög. */
.layer-rail{width:236px}.layer-information{width:380px}.layer-information section>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.layer-information section button{min-height:54px}.layer-information .simple-appearance{padding-bottom:2px}.map-menu-presets{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;margin:4px 0 7px!important}.map-menu-presets button{display:grid!important;grid-template-columns:1fr!important;min-height:40px!important;padding:5px!important;text-align:center!important;border:1px solid var(--line)!important}.appearance-advanced{margin-top:2px}.appearance-panel{top:72px}.basemap-rail{display:none!important}
@media(max-width:850px){.layer-rail{width:190px;max-width:calc(100% - 62px)}.layer-information{left:7px;right:7px;width:auto}.layer-information section>div{grid-template-columns:repeat(2,minmax(0,1fr))}.layer-information section button{min-height:52px}.layer-menu-trigger b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.appearance-panel{top:auto}}
@media(max-width:370px){.layer-rail{width:176px}.layer-information section button{grid-template-columns:24px 1fr 20px;padding:5px}.layer-information section button small{font-size:9px}}

/* v8.26.1 — sjókort fyrst, aðeins Hviður/Rigning á aðalskjá. */
.layer-rail{width:auto;max-width:calc(100% - 24px)}
.primary-layer-switcher{display:grid;grid-template-columns:repeat(3,minmax(74px,1fr));gap:4px;padding:4px;border:1px solid rgba(180,222,225,.2);border-radius:14px;background:rgba(8,29,37,.94);box-shadow:0 8px 24px rgba(0,9,13,.28);}
.layer-rail .primary-layer-switcher>button,.layer-rail .primary-layer-switcher .layer-menu-trigger{min-width:0;width:auto;height:44px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted);box-shadow:none;text-align:center}
.layer-rail .primary-layer-switcher>button span{font-size:14px}.layer-rail .primary-layer-switcher>button b{display:block;font-size:12px}.layer-rail .primary-layer-switcher>button.active{border-color:rgba(88,227,210,.52);background:rgba(88,227,210,.14);color:#f5ffff}.layer-rail .primary-layer-switcher .layer-menu-trigger[aria-expanded=true]{background:rgba(145,185,190,.13);color:#f5ffff}.layer-menu-trigger>i{font-size:10px}
.quick-extremes{position:absolute;z-index:14;left:12px;top:74px;width:min(322px,calc(100% - 24px));display:grid;grid-template-columns:1fr 1fr;gap:6px;pointer-events:none}
.quick-extremes button{min-width:0;min-height:68px;padding:9px 11px;border:1px solid rgba(180,222,225,.2);border-radius:12px;background:rgba(8,29,37,.88);box-shadow:0 6px 18px rgba(0,9,13,.22);color:var(--ink);text-align:left;pointer-events:auto;}.quick-extremes button.active{border-color:rgba(88,227,210,.55)}.quick-extremes small,.quick-extremes strong,.quick-extremes span{display:block}.quick-extremes small{color:var(--accent);font-size:8px;font-weight:850;letter-spacing:.06em}.quick-extremes strong{margin-top:3px;font-size:16px}.quick-extremes span{margin-top:2px;overflow:hidden;color:var(--muted);font-size:9px;white-space:nowrap;text-overflow:ellipsis}
.marine-hud{display:none!important}
.map-legend{width:174px;padding:9px 10px}.legend-meaning,.legend-model-note,.legend-ticks{display:none!important}
body.route-mode .quick-extremes,body.harbours-mode .quick-extremes,body.land-mode .quick-extremes,body.ui-hidden .quick-extremes{display:none!important}
body.info-layers-open .quick-extremes{visibility:hidden}
@media(max-width:850px){.layer-rail{left:7px;right:7px;top:7px;width:auto;max-width:none}.primary-layer-switcher{grid-template-columns:1fr 1fr 74px}.layer-rail .primary-layer-switcher>button,.layer-rail .primary-layer-switcher .layer-menu-trigger{height:42px;padding:0 7px}.quick-extremes{left:7px;top:62px;width:min(304px,calc(100% - 70px));gap:5px}.quick-extremes button{min-height:61px;padding:7px 9px}.quick-extremes strong{font-size:15px}.map-legend{right:7px;width:136px;padding:7px 8px}.map-legend header b,.map-legend header span{font-size:10px}.map-legend>i{height:6px;margin-top:6px}.map-legend>div{font-size:8px}}
@media(max-width:380px){.layer-rail{width:auto}.primary-layer-switcher{grid-template-columns:1fr 1fr 66px}.layer-rail .primary-layer-switcher>button b{font-size:10px}.quick-extremes{width:calc(100% - 76px)}}

/* v8.26.2 — einn augljós vinnuflötur, engin aukaspjöld á kortinu. */
.quick-extremes{top:70px;width:min(430px,calc(100% - 24px));grid-template-columns:1fr 1fr;gap:5px}
.quick-extremes button{min-height:42px;display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;align-items:center;column-gap:7px;padding:5px 9px;border-radius:9px;background:rgba(8,29,37,.82)}
.quick-extremes small{grid-column:1;font-size:7px}.quick-extremes strong{grid-column:2;grid-row:1/3;margin:0;font-size:14px}.quick-extremes span{grid-column:1;margin:1px 0 0;font-size:8px}
.map-legend{display:none!important}
.top-status .build-version{display:none}
@media(max-width:850px){
  .topbar{gap:7px}.top-status,.mobile-hide-ui,#themeToggle{display:none!important}.brand{margin-right:auto}.brand span{font-size:15px}.language-toggle{width:42px}
  .primary-layer-switcher{grid-template-columns:1fr 1fr 62px;padding:3px;border-radius:11px}.layer-rail .primary-layer-switcher>button,.layer-rail .primary-layer-switcher .layer-menu-trigger{height:38px;border-radius:8px}.layer-rail .primary-layer-switcher>button span{display:none}.layer-rail .primary-layer-switcher>button b{font-size:11px}
  .quick-extremes{left:7px;right:7px;top:53px;width:auto}.quick-extremes button{min-height:39px;padding:4px 8px}.quick-extremes strong{font-size:13px}
  #marineMap>.maplibregl-control-container .maplibregl-ctrl-top-right{display:none}
  .bottom-nav{height:calc(56px + env(safe-area-inset-bottom))}.marine-stage{padding-bottom:calc(56px + env(safe-area-inset-bottom))}.bottom-nav a{gap:0;font-size:9px}.bottom-nav a i{font-size:13px}
  .time-dock{bottom:calc(58px + env(safe-area-inset-bottom));height:52px;min-height:52px;grid-template-columns:34px 1fr 34px;padding:3px 4px}.time-dock>button{width:34px;height:34px;font-size:18px}.timeline-head b{font-size:9px}.timeline-head #timePlay{width:28px;height:24px}.timeline-main{grid-template-rows:24px 18px}.timeline-range,.timeline-range input,.time-ticks{height:18px}
  .layer-information{top:53px;bottom:calc(58px + env(safe-area-inset-bottom));max-height:none;border-radius:14px 14px 0 0}
}

/* ATLAS v9 P0 — GottVeður-inspired map-first shell */
body.v9-map-first .nav,
body.v9-map-first .bottom-nav,
body.v9-map-first .quick-extremes,
body.v9-map-first #overviewPanel { display:none !important; }
body.v9-map-first .topbar { height:58px; padding:8px 12px; background:rgba(7,23,31,.97);  }
body.v9-map-first .brand span small { display:none; }
body.v9-map-first #hideUiQuick,body.v9-map-first #themeToggle{display:none!important}
.tools-button{min-height:42px;padding:0 14px;border:1px solid rgba(180,222,225,.22);border-radius:11px;background:#12323a;color:var(--ink);font-size:12px;font-weight:850}.tools-button[aria-expanded=true]{border-color:rgba(88,227,210,.55);background:rgba(88,227,210,.14)}
.tools-menu{position:absolute;z-index:75;top:10px;right:10px;width:292px;max-height:calc(100% - 20px);overflow:auto;padding:8px;border:1px solid rgba(180,222,225,.24);border-radius:14px;background:#10272f;box-shadow:0 18px 48px rgba(0,8,12,.48)}.tools-menu>header{position:sticky;z-index:2;top:-8px;display:flex;align-items:center;justify-content:space-between;margin:-8px -8px 5px;padding:10px 11px;background:#10272f;border-bottom:1px solid var(--line)}.tools-menu header small,.tools-menu header b{display:block}.tools-menu header small{color:var(--accent);font-size:8px;letter-spacing:.1em}.tools-menu header b{font-size:14px}.tools-menu header button{width:40px;height:40px;border:0;border-radius:9px;background:rgba(130,170,177,.1);color:var(--ink);font-size:22px}.tools-menu>button{width:100%;min-height:54px;display:grid;grid-template-columns:30px 1fr;align-items:center;gap:8px;padding:6px 9px;border:0;border-radius:9px;background:transparent;color:var(--ink);text-align:left}.tools-menu>button:hover,.tools-menu>button:focus-visible{background:rgba(88,227,210,.1)}.tools-menu>button>span:first-child{text-align:center;font-size:18px}.tools-menu>button b,.tools-menu>button small{display:block}.tools-menu>button b{font-size:13px}.tools-menu>button small{margin-top:2px;color:var(--muted);font-size:10px;line-height:1.3}
body.v9-map-first .layer-rail { left:50%; right:auto; bottom:112px; top:auto; transform:translateX(-50%); width:min(94vw,760px); }
body.v9-map-first .primary-layer-switcher { display:flex; flex-direction:row; gap:6px; padding:6px; border-radius:16px; background:rgba(7,23,31,.97);  overflow-x:auto; }
body.v9-map-first .primary-layer-switcher>button,
body.v9-map-first .primary-layer-switcher>.quick-select { min-width:max-content; }
body.v9-map-first .primary-layer-switcher>button { min-width:78px; }
body.v9-map-first .primary-layer-switcher>.quick-select { min-width:104px; }
body.v9-map-first .layer-information { bottom:58px; top:auto; max-height:min(66vh,620px); overflow:auto; }
body.v9-map-first .time-dock { left:50%; right:auto; bottom:12px; transform:translateX(-50%); width:min(96vw,980px); border-radius:18px; }
body.v9-map-first .forecast-ribbon-wrap,
body.v9-map-first .timeline-foot { display:none; }
body.v9-map-first .inspect-sheet { left:auto; right:12px; bottom:124px; transform:none; width:min(430px,calc(100% - 24px)); max-height:calc(100% - 146px); border-radius:16px; }
body.v9-map-first .point-coords { font-variant-numeric:tabular-nums; opacity:.8; }
.point-forecast-table{min-width:560px;margin-top:10px;border:1px solid var(--line);border-radius:10px;overflow:hidden;font-variant-numeric:tabular-nums}.point-forecast-row{display:grid;grid-template-columns:1.35fr repeat(5,1fr);gap:8px;align-items:center;min-height:36px;padding:6px 9px;border-top:1px solid var(--line);font-size:11px}.point-forecast-row:first-child{border-top:0}.point-forecast-head{position:sticky;top:0;background:var(--panel-solid);color:var(--muted);font-size:9px;text-transform:uppercase}.point-forecast-row time{font-weight:750}.point-forecast-row:nth-child(odd):not(.point-forecast-head){background:rgba(120,160,168,.05)}#pointForecast48h{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.selected-point-marker{width:18px;height:18px;border:3px solid #fff;border-radius:50%;background:#0b9f98;box-shadow:0 0 0 5px rgba(11,159,152,.24),0 4px 14px rgba(0,0,0,.45)}
.buoy-marker{min-width:42px;height:42px;display:flex;align-items:center;justify-content:center;gap:3px;border:1px solid rgba(222,251,255,.9);border-radius:21px;background:rgba(5,48,61,.94);color:#eaffff;padding:0 8px;box-shadow:0 5px 15px rgba(0,0,0,.38);font:800 12px/1 system-ui,sans-serif}.buoy-marker span{color:#55e3d8;font-size:18px}.buoy-marker b{white-space:nowrap;font-size:10px}
@media(max-width:700px){
  body.v9-map-first .top-status { display:none; }
  body.v9-map-first .topbar { height:52px; }
  body.v9-map-first .language-toggle{display:none}.tools-button{min-height:40px;padding:0 11px;font-size:11px}.tools-menu{position:fixed;left:8px;right:8px;top:60px;width:auto;max-height:calc(100dvh - 76px);border-radius:14px}
  body.v9-map-first .layer-rail { bottom:102px; width:calc(100vw - 16px); }
  body.v9-map-first .quick-select span { display:none; }
  body.v9-map-first .time-dock { bottom:8px; width:calc(100vw - 16px); }
  body.v9-map-first .timeline-head { gap:6px; }
  body.v9-map-first .timeline-day-select { display:none; }
  body.v9-map-first .inspect-sheet { left:8px !important; right:8px !important; bottom:110px !important; top:auto !important; width:auto !important; max-height:40dvh; overflow:auto; padding:10px; }
  body.v9-map-first .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.metric-grid>div{padding:7px}.metric-grid b{font-size:12px}
  .point-forecast-table{min-width:520px}.point-forecast-row{min-height:42px}
  body.v9-map-first .layer-rail{overflow:hidden}.primary-layer-switcher{scrollbar-width:none}.primary-layer-switcher::-webkit-scrollbar{display:none}
}

/* v9 synchronized multi-track station graphs. The existing time dock remains the master clock. */
.weather-graph-system{position:absolute;z-index:13;left:50%;bottom:12px;transform:translateX(-50%);width:min(96vw,980px);display:flex;flex-direction:column;gap:5px;--track-a:#54d6c8;--track-b:#f4b455;--track-c:#76a9ff;--track-d:#e982c8;--track-e:#a9da67;pointer-events:none}
.weather-graph-system>*{pointer-events:auto}
body.v9-map-first .weather-graph-system .time-dock{position:relative;left:auto;right:auto;bottom:auto;transform:none;width:100%;min-height:82px;border-radius:15px;box-shadow:none}
.graph-panel{max-height:min(42vh,390px);overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;background:var(--panel);box-shadow:var(--shadow);}
.graph-panel-head{height:38px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 8px 4px 11px;border-bottom:1px solid var(--line)}
.graph-panel-head small,.graph-panel-head b{display:block}.graph-panel-head small{color:var(--accent);font-size:8px;letter-spacing:.08em}.graph-panel-head b{font-size:11px}
.graph-panel-head button,.graph-add{min-height:30px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--muted);padding:0 10px;font-size:10px;font-weight:800}
.graph-pick-hint{flex:none;min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 8px 5px 11px;border-bottom:1px solid color-mix(in srgb,var(--accent) 35%,var(--line));background:color-mix(in srgb,var(--accent) 10%,var(--panel));color:var(--ink);font-size:10px;font-weight:800}.graph-pick-hint[hidden]{display:none}.graph-pick-hint button{min-height:26px;border:1px solid var(--line);border-radius:7px;background:var(--panel-solid);color:var(--muted);padding:0 9px;font-size:9px;font-weight:800}.weather-graph-system.graph-picking .graph-panel{border-color:color-mix(in srgb,var(--accent) 55%,var(--line))}
#graphPanelBody{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.graph-track{position:relative;min-height:94px;padding:6px 8px 5px;border-bottom:1px solid var(--line)}
.graph-track-head{display:flex;align-items:center;gap:6px;min-width:0;height:30px}.graph-track-head select{height:29px;max-width:144px;border:1px solid var(--line);border-radius:7px;background:var(--panel-solid);color:var(--ink);padding:0 22px 0 7px;font-size:10px;font-weight:800}.graph-track-source{flex:none;color:var(--muted);font-size:8px;text-transform:uppercase}.graph-track-chips{flex:1;min-width:0;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}.graph-track-chips::-webkit-scrollbar{display:none}.graph-station-chip{flex:none;max-width:170px;display:inline-flex;align-items:center;gap:4px;min-height:24px;border:1px solid color-mix(in srgb,var(--station-colour) 48%,transparent);border-radius:99px;background:color-mix(in srgb,var(--station-colour) 12%,transparent);color:var(--ink);padding:0 5px 0 7px;font-size:9px}.graph-station-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.graph-station-chip i{flex:none;width:6px;height:6px;border-radius:50%;background:var(--station-colour)}.graph-station-chip button{flex:none;width:18px;height:18px;border:0;background:transparent;color:var(--muted);padding:0}.graph-track-add{flex:none;height:29px;border:1px solid var(--line);border-radius:7px;background:var(--panel-solid);color:var(--ink);padding:0 8px;font-size:9px;font-weight:800}.graph-track-add[aria-expanded="true"]{border-color:var(--accent);color:var(--accent)}.graph-track-remove{flex:none;width:28px;height:28px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:17px}
.graph-track-add-menu{position:absolute;z-index:20;top:38px;right:36px;min-width:178px;padding:5px;border:1px solid var(--line);border-radius:10px;background:var(--panel-solid);box-shadow:var(--shadow)}.graph-track-add-menu[hidden]{display:none}.graph-track-add-menu button{width:100%;min-height:34px;border:0;border-radius:7px;background:transparent;color:var(--ink);padding:0 9px;text-align:left;font-size:10px;font-weight:800}.graph-track-add-menu button:hover,.graph-track-add-menu button:focus-visible{background:color-mix(in srgb,var(--accent) 12%,transparent)}
.graph-track-canvas{height:58px;position:relative;overflow:hidden;border-radius:7px}.graph-track-canvas svg{position:absolute;inset:0;display:block;width:100%;height:100%}.graph-grid-line{stroke:rgba(160,205,209,.12);stroke-width:1}.graph-track-canvas .graph-line-observed,.graph-track-canvas .graph-line-forecast{fill:none;stroke:var(--line-colour);stroke-width:2.1;vector-effect:non-scaling-stroke}.graph-track-canvas .graph-line-forecast{stroke-dasharray:5 4;opacity:.78}.graph-now-line{stroke:rgba(238,250,250,.26);stroke-width:1;stroke-dasharray:2 3}.graph-time-cursor{stroke:#fff;stroke-width:1.5;filter:drop-shadow(0 0 2px rgba(0,0,0,.9));vector-effect:non-scaling-stroke}.graph-cursor-overlay{position:absolute;inset:0;pointer-events:none}.graph-cursor-anchor{position:absolute;width:8px;height:8px;border-radius:50%;background:var(--line-colour);border:2px solid rgba(248,255,255,.98);box-shadow:0 1px 5px rgba(0,0,0,.65);transform:translate(-50%,-50%)}.graph-cursor-readout{position:absolute;min-height:18px;display:inline-flex;align-items:center;gap:4px;padding:1px 5px;border:1px solid color-mix(in srgb,var(--line-colour) 65%,rgba(255,255,255,.24));border-radius:6px;background:rgba(3,18,24,.9);box-shadow:0 1px 5px rgba(0,0,0,.36);white-space:nowrap;color:var(--ink);font-size:9px;line-height:1;z-index:2}.graph-cursor-readout.left{transform:translate(calc(-100% - 6px),-50%)}.graph-cursor-readout.right{transform:translate(6px,-50%)}.graph-cursor-readout i{width:6px;height:6px;border-radius:50%;background:var(--line-colour)}.graph-cursor-readout b{font-size:10px;font-weight:900;font-variant-numeric:tabular-nums}.graph-empty{height:58px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:10px}.graph-empty button{min-height:30px;border:1px solid var(--line);border-radius:7px;background:var(--panel-solid);color:var(--accent);padding:0 9px;font-size:9px;font-weight:800}.graph-add{margin:5px 8px 7px}.graph-add:disabled{opacity:.45}
.graph-selected-values{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}.graph-value-group{display:inline}.graph-value-item{white-space:nowrap}.graph-value-kind{font-size:7px;text-transform:uppercase}
.weather-graph-system.graphs-collapsed .graph-panel{max-height:38px}.weather-graph-system.graphs-collapsed #graphPanelBody,.weather-graph-system.graphs-collapsed .graph-pick-hint{display:none}.weather-graph-system.graphs-collapsed .graph-panel-head{border-bottom:0}
body.ui-hidden .weather-graph-system,body.route-mode .weather-graph-system,body.harbours-mode .weather-graph-system,body.land-mode .weather-graph-system{display:none!important}
body.v9-map-first.weather-layer-off .weather-graph-system .time-dock{display:grid!important}
body.v9-map-first .layer-rail{bottom:calc(var(--graph-system-height,112px) + 18px)}
body.v9-map-first .inspect-sheet{bottom:calc(var(--graph-system-height,112px) + 18px);max-height:calc(100% - var(--graph-system-height,112px) - 36px)}
.station-graph-action{display:flex;align-items:center;gap:5px;margin-top:7px}.station-graph-action select,.station-graph-action button{min-height:34px;border:1px solid var(--line);border-radius:8px;background:var(--panel-solid);color:var(--ink);padding:0 8px;font-size:10px}.station-graph-action select{min-width:0;max-width:155px}.station-graph-action button{font-weight:800}.station-graph-selected .station-mini-popup-content{outline:1px solid var(--accent)}
@media(max-width:700px){
  .weather-graph-system{left:8px;right:8px;bottom:8px;transform:none;width:auto;gap:3px}.graph-panel{max-height:min(39dvh,320px)}
  .graph-panel-head{height:36px}.graph-panel-head b{display:none}.graph-pick-hint{min-height:32px;font-size:9px}.graph-track{min-height:88px;padding:4px 6px 5px}.graph-track-head{gap:4px;height:29px}.graph-track-head select{max-width:105px}.graph-track-source{display:none}.graph-track-add{width:82px;padding:0 5px}.graph-track-remove{width:25px}.graph-station-chip{max-width:118px}.graph-track-add-menu{top:35px;right:30px;min-width:174px}.graph-track-canvas{height:56px}.graph-empty{height:56px}.graph-cursor-readout{font-size:8.5px;padding:1px 4px}.graph-cursor-readout b{font-size:9.5px}
  body.v9-map-first .weather-graph-system .time-dock{height:52px;min-height:52px;padding:3px 4px}
  body.v9-map-first .layer-rail{bottom:calc(var(--graph-system-height,60px) + 8px)}body.v9-map-first .inspect-sheet{bottom:calc(var(--graph-system-height,60px) + 8px)!important;max-height:40dvh}
}
@media(max-width:430px){.graph-track-head select{max-width:94px}.graph-track-add{width:76px;font-size:8.5px}.graph-station-chip{max-width:104px}.graph-panel-head button{padding:0 7px}}
@media(max-width:360px){.graph-track-head select{max-width:86px}.graph-track-add{width:68px;padding:0 3px}.graph-track-remove{width:22px}.graph-track-add-menu{right:25px;min-width:164px}}


/* v9 graph/timeline visibility fix — values stay readable in-plot and the master slider stays above iOS Safari chrome. */
.graph-cursor-summary{position:absolute;z-index:4;left:6px;right:6px;top:3px;display:flex;align-items:center;gap:4px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;pointer-events:none}.graph-cursor-summary::-webkit-scrollbar{display:none}.graph-cursor-summary>span{flex:none;max-width:210px;min-height:19px;display:inline-flex;align-items:center;gap:4px;padding:1px 5px;border:1px solid color-mix(in srgb,var(--line-colour) 52%,rgba(255,255,255,.18));border-radius:6px;background:rgba(3,18,24,.9);box-shadow:0 1px 4px rgba(0,0,0,.32);font-variant-numeric:tabular-nums}.graph-cursor-summary i{flex:none;width:6px;height:6px;border-radius:50%;background:var(--line-colour)}.graph-cursor-summary em{max-width:96px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:8px;font-style:normal}.graph-cursor-summary b{white-space:nowrap;color:var(--ink);font-size:10px;font-weight:900}.graph-cursor-overlay{z-index:3}.graph-cursor-readout{z-index:5}
@media(max-width:700px){
  body.v9-map-first .weather-graph-system{position:fixed;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom) + var(--atlas-visual-bottom,0px));width:auto;max-height:calc(var(--atlas-visual-height,100dvh) - 64px);transform:none;gap:3px}
  body.v9-map-first .graph-panel{flex:0 1 auto;max-height:min(32dvh,270px,calc(var(--atlas-visual-height,100dvh) - 142px))}
  body.v9-map-first #graphPanelBody{max-height:calc(min(32dvh,270px,calc(var(--atlas-visual-height,100dvh) - 142px)) - 36px);overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
  body.v9-map-first .weather-graph-system .time-dock{flex:none;height:58px;min-height:58px;padding:4px 5px}
  body.v9-map-first .layer-rail{overflow:visible;bottom:calc(var(--graph-system-height,60px) + 14px + env(safe-area-inset-bottom) + var(--atlas-visual-bottom,0px))}
  body.v9-map-first .primary-layer-switcher{overflow-x:auto;overflow-y:hidden;scroll-padding-inline:6px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  body.v9-map-first .inspect-sheet{bottom:calc(var(--graph-system-height,60px) + 14px + env(safe-area-inset-bottom) + var(--atlas-visual-bottom,0px))!important;max-height:min(40dvh,calc(var(--atlas-visual-height,100dvh) - var(--graph-system-height,60px) - 90px))}
  .graph-cursor-summary{top:2px;left:4px;right:4px;gap:3px}.graph-cursor-summary>span{max-width:150px;min-height:18px;padding:1px 4px}.graph-cursor-summary em{max-width:68px;font-size:7.5px}.graph-cursor-summary b{font-size:9.5px}
  .graph-cursor-readout{display:none}
}

/* v9.1.0 — banner, fixed-center timeline, one information surface. */
html,body{height:100dvh;max-width:100%;overflow-x:hidden}
body.v9-map-first,body.v9-map-first .app-shell{height:100dvh;min-height:100dvh}
body.v9-map-first .topbar{height:auto;min-height:52px;padding:calc(6px + env(safe-area-inset-top)) 10px 6px}
body.v9-map-first .topbar .nav{display:flex!important;align-items:center;gap:2px;min-width:0;overflow:auto}
body.v9-map-first .topbar .nav a,body.v9-map-first .topbar .nav .nav-tool{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 8px;border:0;border-radius:10px;background:transparent;color:var(--ink);font:800 12px/1 system-ui,sans-serif}
body.v9-map-first .topbar .nav a.active,body.v9-map-first .topbar .nav .nav-tool[aria-expanded="true"]{background:rgba(89,225,210,.16);color:#effafa}
body.v9-map-first .brand small.build-version{display:inline!important;margin-left:6px;color:var(--muted);font-size:10px;letter-spacing:0;font-weight:700}
body.v9-map-first .timeline-days{display:flex!important;overflow:hidden;gap:4px;height:44px;align-items:center;scrollbar-width:none;touch-action:none}
body.v9-map-first .timeline-days button{min-height:44px;min-width:64px;flex:none;padding:0 8px}
body.v9-map-first .timeline-range{position:relative;overflow:hidden;height:48px;touch-action:none}
body.v9-map-first .timeline-cursor{position:absolute;z-index:4;left:50%;top:2px;bottom:2px;width:2px;transform:translateX(-50%);background:#59e1d2;pointer-events:none;box-shadow:0 0 0 1px rgba(0,0,0,.35)}
body.v9-map-first .timeline-track{position:absolute;left:0;top:0;height:100%;transition:transform 160ms linear}
body.timeline-scrubbing .timeline-track{transition:none}
body.v9-map-first .timeline-track .tick{position:absolute;top:6px;width:1px;height:8px;background:rgba(180,220,223,.4)}
body.v9-map-first .timeline-track .tick.major{height:16px;background:#effafa}
body.v9-map-first .timeline-track .tick.history{background:rgba(174,191,194,.28)}
body.v9-map-first .timeline-track .tick.history b{color:#91a4a7;opacity:.72}
body.v9-map-first .timeline-track .tick.midnight{width:2px;height:22px;background:#59e1d2}
body.v9-map-first .timeline-track .tick b{position:absolute;top:16px;left:50%;transform:translateX(-50%);font-size:10px;font-weight:800;color:#d7eef0}
body.v9-map-first .timeline-range::after,body.v9-map-first .timeline-range::before{display:none}
body.v9-map-first .weather-graph-system[data-dock-mode="timeline"]{height:auto}
body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .time-dock{height:132px!important;min-height:132px!important}
body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .timeline-main{grid-template-rows:26px 44px 48px!important}
body.v9-map-first .time-dock>button{width:44px!important;height:44px!important;border-radius:12px!important;background:rgba(130,170,177,.12)!important;color:var(--ink)!important;font-size:13px!important}
body.v9-map-first #graphPanelBody,body.v9-map-first .inspect-sheet,body.v9-map-first .tools-menu,body.v9-map-first .station-hours{touch-action:pan-y;overscroll-behavior:contain}
body.v9-map-first .station-tabs{display:flex;gap:6px;margin:8px 0}
body.v9-map-first .station-tabs button{min-height:44px;flex:1;border:1px solid rgba(180,222,225,.2);border-radius:10px;background:transparent;color:var(--ink);font-weight:800}
body.v9-map-first .station-tabs button.active{background:rgba(89,225,210,.16)}
body.v9-map-first .station-tabs.station-vi-tabs{flex-wrap:wrap}
body.v9-map-first .station-tabs.station-vi-tabs button{flex:1 1 46%;min-height:40px;padding:6px 8px;font-size:12px;line-height:1.25;white-space:normal}
.station-vi-links{display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:14px;max-width:none;min-width:0}
.station-vi-links button{border:0;background:transparent;color:var(--accent);font:700 13px/1.2 system-ui,sans-serif;text-align:right;text-decoration:underline;text-underline-offset:3px;padding:0;min-height:32px;white-space:nowrap}
.station-vi-links button.active{color:var(--ink);text-decoration-thickness:2px}
.obs-table-wrap{overflow:auto;max-height:min(62vh,640px);-webkit-overflow-scrolling:touch}
.obs-table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}
.obs-table th,.obs-table td{padding:5px 6px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
.obs-table th:first-child,.obs-table td:first-child,.obs-table .obs-day td{text-align:left}
.obs-table th{position:sticky;top:0;background:var(--panel-solid);color:var(--muted);font-size:10px;font-weight:750}
.obs-table .obs-day td{padding-top:10px;color:var(--accent);font-weight:800}
.station-info dl{margin:8px 0 0}
.station-info div{display:grid;grid-template-columns:8.2em minmax(0,1fr);gap:8px;padding:8px 0;border-bottom:1px solid var(--line)}
.station-info dt{color:var(--muted);font-size:12px}
.station-info dd{margin:0;font-weight:750}
body.v9-map-first .station-hours{display:grid;gap:6px}
body.v9-map-first .hour-row{display:grid;grid-template-columns:1.2fr repeat(4,minmax(0,.8fr));gap:4px 8px;padding:8px;border-radius:10px;background:rgba(120,160,168,.08)}
body.v9-map-first .hour-row small{grid-column:1/-1;color:var(--muted)}
body.v9-map-first .hours-boundary{margin:0 0 6px;color:var(--accent);font-size:11px;font-weight:800}
body.v9-map-first .tool-group{margin:8px 4px 2px;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
body.v9-map-first .weather-graph-system #graphPanelBody{display:flex;flex-direction:column;height:100%;max-height:none!important;overflow:hidden!important}
body.v9-map-first .weather-graph-system #graphTrackList{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}
body.v9-map-first .weather-graph-system .graph-add{flex:none}
body.v9-map-first .weather-graph-system .graph-track{flex:1 1 0;min-height:0;display:flex;flex-direction:column}
body.v9-map-first .weather-graph-system .graph-track-canvas,body.v9-map-first .weather-graph-system .graph-empty{flex:1 1 auto;height:auto!important;min-height:72px}
body.v9-map-first .weather-graph-system .graph-panel-head{cursor:grab;touch-action:none}
body.v9-map-first .weather-graph-system.dock-floating{z-index:70}
.graph-track-resize{flex:none;position:relative;height:16px;margin:0 12px;border:0;border-radius:99px;background:transparent;cursor:ns-resize;touch-action:none}
.graph-track-resize::before{content:'';position:absolute;left:50%;top:6px;width:46px;height:4px;transform:translateX(-50%);border-radius:99px;background:rgba(180,220,223,.5)}
@media(max-width:700px){
  body.v9-map-first .graph-panel{flex:1 1 auto!important;max-height:none!important}
  body.v9-map-first #graphPanelBody{max-height:none!important;overflow:hidden!important}
  body.v9-map-first .weather-graph-system .graph-track{min-height:0}
  body.v9-map-first .weather-graph-system .graph-track-canvas,body.v9-map-first .weather-graph-system .graph-empty,body.v9-map-first .weather-graph-system[data-dock-mode="graph"] .graph-track-canvas,body.v9-map-first .weather-graph-system[data-dock-mode="full"] .graph-track-canvas,body.v9-map-first .weather-graph-system[data-dock-mode="compact"] .graph-track-canvas{height:auto!important;min-height:72px}
  body.v9-map-first .inspect-sheet.station-sheet .panel-grip,body.v9-map-first .inspect-sheet.station-sheet .panel-resizer{display:none!important}
  body.v9-map-first .managed-panel>.panel-resizer,body.v9-map-first .managed-panel>.panel-resize-e{display:block!important}
}
@media(max-width:899px){
  body.v9-map-first .tools-menu{position:fixed;z-index:80;left:0;right:0;bottom:0;top:auto;width:auto;max-height:min(78dvh,680px);border-radius:18px 18px 0 0;padding-bottom:calc(12px + env(safe-area-inset-bottom));overflow:auto}
  body.v9-map-first .tools-menu>button{min-height:48px}
  /* Keep the station sheet above the timeline dock so the time slider stays usable. */
  body.v9-map-first .inspect-sheet.station-sheet{
    position:fixed!important;
    z-index:52;
    left:0!important;
    right:0!important;
    top:auto!important;
    width:auto!important;
    bottom:calc(var(--graph-system-height,116px) + 10px + env(safe-area-inset-bottom) + var(--atlas-visual-bottom,0px))!important;
    height:var(--inspect-sheet-height,72dvh);
    max-height:min(88dvh,calc(var(--atlas-visual-height,100dvh) - var(--graph-system-height,116px) - 48px))!important;
    padding:12px 12px 14px;
    border-radius:18px 18px 0 0;
    overflow:hidden;
  }
  body.v9-map-first .inspect-sheet.station-sheet[data-snap="compact"]{--inspect-sheet-height:34dvh}
  body.v9-map-first .inspect-sheet.station-sheet[data-snap="reading"]{--inspect-sheet-height:72dvh}
  body.v9-map-first .inspect-sheet.station-sheet[data-snap="full"]{--inspect-sheet-height:min(88dvh,calc(var(--atlas-visual-height,100dvh) - var(--graph-system-height,116px) - 48px))}
}
@media(min-width:900px){
  body.v9-map-first .tools-menu{position:fixed;z-index:80;top:68px;right:12px;bottom:calc(var(--graph-system-height,150px) + 18px);left:auto;width:min(420px,34vw);max-height:none}
  body.v9-map-first .inspect-sheet.station-sheet{position:fixed!important;z-index:60;top:68px!important;right:12px!important;bottom:calc(var(--graph-system-height,150px) + 18px)!important;left:auto!important;width:min(560px,44vw)!important;max-height:none!important;overflow:auto}
  body.v9-map-first .inspect-sheet.station-sheet>.sheet-close{position:absolute;top:8px;right:8px;float:none;z-index:4}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head{display:grid;grid-template-columns:minmax(0,1fr) 36px;grid-template-areas:"kicker kicker" "title title" "links refresh" "trust trust" "time time";align-items:center;column-gap:8px;row-gap:2px;padding-right:42px}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head small{grid-area:kicker}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head h2{grid-area:title}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head .station-vi-links{grid-area:links;justify-content:flex-start}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head #stationTrust{grid-area:trust}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head #stationInspectTime{grid-area:time}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head .refresh-button{grid-area:refresh;width:36px;height:36px;min-height:36px;margin:0;padding:0}
}
.station-chart-steps{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;margin-top:8px}
.station-chart-steps button{min-height:44px;padding:0 10px;border:1px solid rgba(89,225,210,.55);border-radius:12px;background:rgba(89,225,210,.14);color:var(--ink);font:850 15px/1 system-ui,sans-serif;touch-action:manipulation;-webkit-user-select:none;user-select:none}
.station-chart-steps button[data-station-step="now"]{min-width:72px}
.station-chart-steps button:disabled{opacity:.38}
@media(max-width:899px){
  /* One scroll surface on iPhone: #inspectContent scrolls; nested panels grow with content. */
  body.v9-map-first .inspect-sheet.station-sheet{display:flex;flex-direction:column;overflow:hidden}
  body.v9-map-first .inspect-sheet.station-sheet>.sheet-close{position:absolute;top:8px;right:8px;float:none;z-index:5}
  body.v9-map-first .inspect-sheet.station-sheet>#inspectContent{
    flex:1 1 auto;
    min-height:0;
    display:block;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    padding-bottom:18px;
    touch-action:pan-y;
  }
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head,body.v9-map-first .inspect-sheet.station-sheet .station-tabs{flex:none}
  body.v9-map-first .inspect-sheet.station-sheet [data-station-panel]:not([hidden]){display:block;min-height:0;overflow:visible;height:auto}
  body.v9-map-first .inspect-sheet.station-sheet [data-station-panel="graph"]:not([hidden]){display:block;overflow:visible;height:auto}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head{display:grid;grid-template-columns:minmax(0,1fr) 36px;grid-template-areas:"kicker kicker" "title title" "links refresh" "trust trust" "time time";align-items:center;column-gap:8px;row-gap:0;padding-right:42px}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head small{grid-area:kicker}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head h2{grid-area:title;margin:0;font-size:18px;line-height:1.1}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head .station-vi-links{grid-area:links;justify-content:flex-start}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head #stationTrust{grid-area:trust}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head #stationInspectTime{grid-area:time}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head p{margin:0;font-size:11px;line-height:1.25}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head .refresh-button{grid-area:refresh;width:36px;height:36px;min-height:36px;margin:0;padding:0;font-size:18px}
  body.v9-map-first .inspect-sheet.station-sheet .station-tabs button{min-height:32px;padding:2px 8px}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head .station-vi-links{flex-wrap:wrap;justify-content:flex-start;gap:6px 10px}
  body.v9-map-first .inspect-sheet.station-sheet .station-graph-action{margin:0;position:static}
  body.v9-map-first .inspect-sheet.station-sheet .station-graph-action [data-chart-metric]{display:none}
  body.v9-map-first .inspect-sheet.station-sheet .station-graph-action [data-add-station-graph]{min-height:32px}
  body.v9-map-first .inspect-sheet.station-sheet .station-sun-summary{display:none}
  body.v9-map-first .inspect-sheet.station-sheet .station-sun-summary>div{padding:4px 8px}
  body.v9-map-first .inspect-sheet.station-sheet .station-sun-summary b{margin-top:1px;font-size:13px}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart-tooltip{flex-direction:row;align-items:center;min-height:30px;margin-top:4px;padding:0 10px;font-size:11px}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart{display:flex;flex-direction:column;height:auto;min-height:0;margin-top:2px;padding-top:0;overflow:visible}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart-canvas{order:-1}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart>header,body.v9-map-first .inspect-sheet.station-sheet .station-chart-tooltip,body.v9-map-first .inspect-sheet.station-sheet .station-chart-scrub,body.v9-map-first .inspect-sheet.station-sheet .station-chart-now-row,body.v9-map-first .inspect-sheet.station-sheet .station-chart-hint,body.v9-map-first .inspect-sheet.station-sheet .station-chart-steps{order:2}
  body.v9-map-first .inspect-sheet.station-sheet .station-tabs.station-vi-tabs{margin:2px 0}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart>header{margin:0}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart-tabs{display:none}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart-hint{display:none}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart-now-row{margin-top:4px}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart-now-row button{min-height:34px;min-width:84px}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart-canvas{
    display:block;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin-top:6px;
    overflow:visible!important;
    touch-action:pan-y;
  }
  body.v9-map-first .inspect-sheet.station-sheet .station-obs-stack{
    display:flex;
    flex-direction:column;
    gap:10px;
    height:auto;
    min-height:0;
    overflow:visible!important;
    touch-action:pan-y;
  }
  body.v9-map-first .inspect-sheet.station-sheet .station-obs-panel{flex:none}
  body.v9-map-first .inspect-sheet.station-sheet .station-obs-panel svg{height:188px!important;min-height:188px;max-height:none;touch-action:pan-y}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart-scrub{
    position:sticky;
    top:0;
    z-index:4;
    margin:6px 0 0;
    margin-right:0;
    padding:6px 0 4px;
    background:linear-gradient(180deg,rgba(5,27,34,.98) 70%,rgba(5,27,34,.88));
  }
  body.v9-map-first .inspect-sheet.station-sheet .station-chart-scrub>button{min-height:36px;min-width:56px;font-size:12px}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart-steps{margin-top:0;margin-right:0}
  body.v9-map-first .inspect-sheet.station-sheet>.panel-resize-e{display:none!important}
  body.v9-map-first .inspect-sheet.station-sheet>.panel-resizer{display:none!important}
}
body.v9-map-first .time-ticks{display:none!important}
body.v9-map-first .time-dock,body.v9-map-first .timeline-range,body.v9-map-first .timeline-track,body.v9-map-first .timeline-days,body.v9-map-first .timeline-head,body.v9-map-first .timeline-track .tick b{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
body.v9-map-first .timeline-range input{pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
body.v9-map-first .timeline-track .tick b{top:18px;font-size:9px;font-variant-numeric:tabular-nums;letter-spacing:0;white-space:nowrap}
body.v9-map-first .timeline-track .tick b{display:flex;flex-direction:column;align-items:center;line-height:1.15}
body.v9-map-first .timeline-track .tick-step{display:block;margin-top:2px;color:var(--muted);font-size:8px;font-weight:700}
@media(max-width:700px){body.v9-map-first .timeline-track .tick-step.tick-step{display:none}}
body.v9-map-first .timeline-track .tick.first b{left:0;transform:none;align-items:flex-start}
body.v9-map-first .timeline-track .tick.last b{left:auto;right:0;transform:none;align-items:flex-end}
body.v9-map-first .tools-menu,body.v9-map-first .layer-information{z-index:98!important}
body.v9-map-first .weather-graph-system.dock-moving{z-index:99!important}
body.v9-map-first .managed-panel.panel-interacting{z-index:99!important}
.panel-interacting{user-select:none;-webkit-user-select:none}
.station-chart-ranges{display:flex;gap:6px;margin-top:8px;overflow:auto;scrollbar-width:thin}
.station-chart-ranges button{flex:0 0 auto;min-height:36px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--muted);font:750 12px/1 system-ui,sans-serif}
.station-chart-ranges button.active{border-color:rgba(67,214,207,.55);background:var(--accent-soft);color:var(--ink)}
.station-chart-ranges button:disabled{opacity:.38}
body.v9-map-first .station-chart-canvas{height:auto;min-height:180px;max-height:min(70vh,640px);overflow:auto;touch-action:pan-y;overscroll-behavior:contain}
.station-obs-stack{display:flex;flex-direction:column;gap:6px}
.station-obs-panel{margin:0;border:1px solid var(--line);border-radius:11px;background:rgba(3,18,24,.34);padding:6px 4px 2px}
.station-obs-panel header{display:flex;justify-content:space-between;gap:8px;align-items:baseline;padding:0 6px}
.station-obs-panel header b{font-size:12px;font-weight:750}
.station-obs-panel header span{color:var(--muted);font-size:10px;text-align:right}
.station-obs-panel header i{display:inline-block;width:8px;height:8px;margin-right:4px;border-radius:2px;vertical-align:middle}
.station-obs-panel svg{width:100%;height:148px;display:block}
.station-chart-canvas{--line-colour:#ff5d5d}
.station-chart-canvas .station-obs-panel .chart-measure,
.station-chart-canvas .station-obs-panel .graph-line-observed:not(.direction-mark){
  fill:none;
  stroke:var(--line-colour,#ff5d5d);
  stroke-width:2.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
}
.station-chart-canvas .station-obs-panel .chart-forecast,
.station-chart-canvas .station-obs-panel .graph-line-forecast{
  fill:none;
  stroke:var(--line-colour,var(--accent));
  stroke-width:2.2;
  stroke-dasharray:5 4;
  opacity:.92;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
}
.station-obs-panel .chart-grid line{stroke:rgba(160,205,209,.16)}
.station-obs-panel .chart-grid text,.station-obs-panel .obs-time,.station-obs-panel .chart-now-label{fill:#9fb4b8;font-size:11px}
.station-obs-panel .chart-now{stroke:#f2d15a;stroke-width:1.4}
.station-obs-panel .chart-selected{stroke:#fff;stroke-width:1.4}
.station-obs-panel .direction-mark{fill:none;stroke:var(--line-colour,#e7a6ff);stroke-width:1.7}
.station-obs-panel .measure-dot{fill:var(--line-colour,#ff5d5d);stroke:#102026;stroke-width:.5}
.station-chart-scrub{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin-top:10px}
.station-chart-scrub input[type="range"]{width:100%;height:36px;margin:0;accent-color:var(--accent);touch-action:pan-x}
.station-chart-scrub>button{min-height:42px;min-width:64px;padding:0 10px;border:1px solid rgba(89,225,210,.55);border-radius:12px;background:rgba(89,225,210,.14);color:var(--ink);font:850 13px/1 system-ui,sans-serif;touch-action:manipulation}
.station-chart-scrub>button:disabled{opacity:.38}
.station-chart-now-row{display:flex;justify-content:center;margin-top:8px}
.station-chart-now-row button{min-height:40px;min-width:96px;padding:0 16px;border:1px solid rgba(89,225,210,.45);border-radius:999px;background:rgba(89,225,210,.1);color:var(--ink);font:800 14px/1 system-ui,sans-serif}
.station-chart-now-row button:disabled{opacity:.38}
.station-chart-hint{margin:6px 2px 0;color:var(--muted);font-size:11px;line-height:1.35;text-align:center}
.measured-map-note{position:absolute;z-index:40;left:12px;top:72px;max-width:min(340px,calc(100% - 24px));margin:0;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:rgba(8,29,37,.94);color:#f4f7f8;font:750 12px/1.35 system-ui,sans-serif;pointer-events:none;box-shadow:var(--shadow)}
.measured-map-note[hidden]{display:none}
body.measured-pending #measuredMapNote{border-color:rgba(244,200,91,.75)}
#surfaceLoadingNote{top:112px}
.past-measure-hint{margin:2px 8px 0;color:#d5ece8;font:650 11px/1.3 system-ui,sans-serif;text-align:center}
.past-measure-hint[hidden]{display:none}
body.measured-time #particleCanvas{opacity:0}
.forecast-view{display:flex;flex-direction:column;min-height:0;margin-top:8px;padding:8px;border-radius:12px;background:#f4f7f8;color:#16323a}
.forecast-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.forecast-ranges,.forecast-links{display:flex;align-items:center;gap:4px;min-width:0}
.forecast-ranges button{min-height:34px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#3e5960;font:750 13px/1 system-ui,sans-serif}
.forecast-ranges button.active{background:#16323a;color:#fff}
.forecast-links{justify-content:flex-end;flex-wrap:wrap}
.forecast-links button{min-height:34px;padding:0 4px;border:0;background:transparent;color:#2f6572;font:650 12px/1 system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px}
.forecast-trust,.forecast-note{margin:6px 2px 0;font-size:11px;line-height:1.35;color:#3d5960}
.forecast-trust b{letter-spacing:.04em}
.forecast-scroll{flex:1 1 auto;min-height:0;max-height:min(62vh,640px);margin-top:8px;overflow:auto;touch-action:pan-x pan-y;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.forecast-track{display:flex;flex-direction:column;gap:8px;min-width:100%}
.forecast-card{border:1px solid #d5e2e6;border-radius:10px;background:#fff;padding:4px 2px 2px}
.forecast-card header{display:flex;justify-content:space-between;gap:8px;align-items:baseline;padding:2px 8px 0}
.forecast-card header b{font-size:13px;font-weight:750;color:#16323a}
.forecast-card header span{color:#5c7278;font-size:10px;text-align:right}
.forecast-card header i{display:inline-block;width:8px;height:8px;margin:0 3px 0 6px;border-radius:2px;vertical-align:middle}
.forecast-card svg{width:100%;height:auto;display:block}
.forecast-card .forecast-grid line{stroke:#e3ecee}
.forecast-card .forecast-axis,.forecast-card .forecast-speed{fill:#5d7278;font-size:11px;font-family:system-ui,sans-serif}
.forecast-card .forecast-date{fill:#6a8086;font-size:10px;font-family:system-ui,sans-serif}
.forecast-card .forecast-midnight{stroke:#b7c6cb;stroke-dasharray:2 3}
.forecast-card .forecast-cursor{stroke:#102830;stroke-width:1.5}
.forecast-card .forecast-arrow{color:#3e4c52}
.forecast-empty{margin:8px;color:#5c7278;font-size:12px}
.forecast-table{display:flex;flex-direction:column}
.forecast-table-row{display:grid;grid-template-columns:1.3fr repeat(5,1fr);gap:4px;padding:6px 8px;border-top:1px solid #e6eef0;font-size:11px;font-variant-numeric:tabular-nums}
.forecast-table-row.head{color:#5c7278;font-size:10px}
.point-now{margin-top:10px}
@media(max-width:899px){
  body.v9-map-first .inspect-sheet.forecast-sheet{position:fixed!important;z-index:72;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:auto!important;height:78dvh;max-height:78dvh!important;border-radius:18px 18px 0 0;overflow:hidden;display:flex;flex-direction:column;padding:12px 12px calc(12px + env(safe-area-inset-bottom))}
  body.v9-map-first .inspect-sheet.forecast-sheet>.sheet-close{position:absolute;top:8px;right:8px;float:none}
  body.v9-map-first .inspect-sheet.forecast-sheet>#inspectContent{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}
  body.v9-map-first .inspect-sheet.forecast-sheet .forecast-view{flex:1 1 auto;min-height:0}
  body.v9-map-first .inspect-sheet.forecast-sheet .forecast-scroll{max-height:none}
  body.v9-map-first .inspect-sheet.station-sheet [data-station-panel="forecast"]:not([hidden]){display:flex;flex-direction:column;overflow:auto}
  body.v9-map-first .inspect-sheet.station-sheet .forecast-view{flex:1 1 auto;min-height:320px}
  body.v9-map-first .inspect-sheet.station-sheet .forecast-scroll{max-height:none;min-height:240px;padding-bottom:52px}
  body.v9-map-first .inspect-sheet.station-sheet .forecast-toolbar{position:sticky;top:0;z-index:1;background:#f4f7f8}
}
@media(max-width:899px){
  body.v9-map-first .inspect-sheet.station-sheet .station-chart-tabs{display:none}
  body.v9-map-first .station-chart-canvas{max-height:none!important}
}
.climate-legend{position:absolute;z-index:13;right:12px;bottom:248px;width:232px;padding:10px 11px;border:1px solid var(--line);border-radius:13px;background:rgba(8,29,37,.96);box-shadow:var(--shadow);color:var(--ink)}
body.weather-layer-off .climate-legend{bottom:138px}
.climate-legend header{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.climate-legend header b{font-size:13px}
.climate-legend header span{color:#f0c14a;font-size:12px;font-weight:800}
.climate-kicker,.climate-note{margin:6px 0 0;color:#d5ece8;font-size:10px;line-height:1.35}
.climate-kicker{font-weight:800;letter-spacing:.02em}
.climate-legend>i{display:block;height:8px;margin-top:8px;border-radius:99px}
.climate-legend>div:not(.climate-heights){display:flex;justify-content:space-between;margin-top:4px;color:var(--muted);font-size:11px}
.climate-heights{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}
.climate-heights button{min-height:32px;padding:0 7px;border:1px solid var(--line);border-radius:8px;background:transparent;color:inherit;font-size:11px}
.climate-heights button[aria-pressed="true"]{background:#f0c14a;color:#1a1404;border-color:#f0c14a}
.climate-legend label{display:flex;flex-direction:column;gap:4px;margin-top:8px;font-size:11px;color:var(--muted)}
.climate-legend select{height:32px;border:1px solid var(--line);border-radius:8px;background:#102a33;color:var(--ink);font-size:12px}
.climate-legend a{display:inline-block;margin-top:8px;color:#8de4d8;font-size:11px;font-weight:750}
.climate-popup{display:flex;flex-direction:column;gap:4px;max-width:240px;color:#102026}
.climate-popup small{font-size:10px;font-weight:800;letter-spacing:.03em}
.climate-popup b{font-size:14px}
.climate-popup p{margin:0;font-size:12px;line-height:1.35}
body.route-mode .climate-legend,body.land-mode .climate-legend{display:none!important}
@media(max-width:850px){
  .climate-legend{right:6px;bottom:calc(210px + env(safe-area-inset-bottom));width:176px;padding:8px}
  body.weather-layer-off .climate-legend{bottom:calc(118px + env(safe-area-inset-bottom))}
  .climate-legend header b,.climate-legend header span{font-size:11px}
  .climate-heights button{min-height:28px;padding:0 5px;font-size:10px}
}
@media(max-width:520px){
  .climate-legend{width:158px}
  .climate-note{font-size:9px}
}
.forecast-readout{margin:6px 2px 0;padding:6px 8px;border-radius:8px;background:#16323a;color:#f4f7f8;font:750 12px/1.3 system-ui,sans-serif}
.forecast-readout[hidden]{display:none}
.forecast-card svg,.station-obs-panel svg{touch-action:pan-y;cursor:crosshair}
.station-obs-panel .obs-outlier text{fill:#f2d15a;font-size:10px;font-weight:700;paint-order:stroke;stroke:#102026;stroke-width:2px}
.station-obs-panel .obs-outlier circle{stroke:#102026;stroke-width:.6}
.forecast-summary svg{height:228px;min-height:220px}
.forecast-card:not(.forecast-summary):not(.forecast-table-card) svg{height:168px;min-height:148px}
.forecast-track{width:100%}
body.v9-map-first .inspect-sheet.forecast-sheet{display:flex;flex-direction:column;overflow:hidden}
body.v9-map-first .inspect-sheet.forecast-sheet>#inspectContent{flex:1 1 auto;min-height:0;overflow:auto;display:block}
body.v9-map-first .inspect-sheet.forecast-sheet .forecast-view{display:block;min-height:0}
body.v9-map-first .inspect-sheet.forecast-sheet .forecast-scroll{min-height:228px;max-height:none;overflow:visible}
@media(max-width:899px){
  body.v9-map-first .inspect-sheet.forecast-sheet{height:88dvh;max-height:88dvh!important}
  body.v9-map-first .inspect-sheet.forecast-sheet .point-now{margin-top:12px}
}
@media(min-width:900px){
  body.v9-map-first .inspect-sheet.station-sheet{display:flex;flex-direction:column;overflow:hidden}
  body.v9-map-first .inspect-sheet.station-sheet>#inspectContent{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto;padding-right:36px;box-sizing:border-box}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head,body.v9-map-first .inspect-sheet.station-sheet .station-tabs{flex:none}
  body.v9-map-first .inspect-sheet.station-sheet [data-station-panel="graph"]:not([hidden]){flex:none;min-height:0;height:auto;display:flex;flex-direction:column;overflow:visible}
  body.v9-map-first .inspect-sheet.station-sheet .station-sun-summary{display:none}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart-tabs{display:none}
  body.v9-map-first .inspect-sheet.station-sheet .station-graph-action [data-chart-metric]{display:none}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart{flex:none;min-height:0;height:auto;display:flex;flex-direction:column;margin-top:4px;padding-top:4px;overflow:visible}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart>header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
  body.v9-map-first .inspect-sheet.station-sheet .station-graph-action{position:static;margin:0;flex:none;z-index:auto}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart-canvas{flex:0 0 auto;min-height:0;height:auto!important;max-height:none!important;margin-top:4px;overflow:visible!important}
  body.v9-map-first .inspect-sheet.station-sheet{top:52px!important;bottom:calc(var(--graph-system-height, 112px) + 8px)!important;padding-top:6px;padding-bottom:6px}
  body.v9-map-first .inspect-sheet.station-sheet>#inspectContent{display:flex;flex-direction:column}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head h2{font-size:18px;line-height:1.1;margin:0}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head .station-vi-links{flex-wrap:wrap;align-items:center;gap:8px 12px}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head .station-graph-action{position:static;margin:0;flex:none}
  body.v9-map-first .inspect-sheet.station-sheet .station-tabs.station-vi-tabs{margin:4px 0}
  body.v9-map-first .inspect-sheet.station-sheet .station-tabs.station-vi-tabs button{min-height:34px;padding:4px 8px}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart{display:flex;flex-direction:column;min-height:0}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart-canvas{order:-1}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart>header,body.v9-map-first .inspect-sheet.station-sheet .station-chart-tooltip,body.v9-map-first .inspect-sheet.station-sheet .station-chart-scrub,body.v9-map-first .inspect-sheet.station-sheet .station-chart-now-row,body.v9-map-first .inspect-sheet.station-sheet .station-chart-hint,body.v9-map-first .inspect-sheet.station-sheet .station-chart-steps{order:2}
  body.v9-map-first .inspect-sheet.station-sheet .station-obs-stack{overflow:visible}
  body.v9-map-first .inspect-sheet.station-sheet .station-obs-stack{padding-bottom:28px}
  body.v9-map-first .inspect-sheet.station-sheet .station-obs-panel svg{height:124px}
}
@media(min-width:900px) and (min-height:900px){
  body.v9-map-first .inspect-sheet.station-sheet .station-obs-panel svg{height:148px}
}

/* Station choice, colour wash and the leading reading live in the same bar as Vindur / Hviður / Úrkoma. */
body.v9-map-first .layer-rail{height:auto!important;display:flex;flex-direction:column;gap:6px;overflow:visible}
@media(min-width:900px){body.v9-map-first .layer-rail{top:12px;bottom:auto}}
.layer-bar-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,280px);gap:6px;align-items:center;min-height:44px;padding:4px;border:1px solid rgba(180,222,225,.2);border-radius:14px;background:rgba(7,23,31,.97)}
.dock-lead{display:flex;align-items:baseline;gap:8px;margin:0;min-height:32px;padding:2px 8px 0;overflow:hidden;color:#f5ffff}
.dock-lead b{font-size:22px;font-weight:850;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.dock-lead-unit{color:#9db4b7;font-size:12px;font-weight:800}
.dock-lead-name{min-width:0;margin-left:auto;overflow:hidden;color:#d7e8e9;font-size:13px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
.station-mode-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;min-height:40px}
.station-mode-row button{min-height:40px;border:1px solid transparent;border-radius:10px;background:rgba(133,177,182,.1);color:#9db4b7;padding:0 6px;font-size:13px;font-weight:800}
.station-mode-row button.active{border-color:rgba(88,227,210,.52);background:rgba(88,227,210,.16);color:#f5ffff}
.wash-row{display:grid;grid-template-columns:72px minmax(0,1fr);gap:6px;align-items:center}
body:not(.wash-layer) .wash-row{display:none}
body:not(.wash-layer) .layer-bar-tools{grid-template-columns:minmax(0,1fr)}
.layer-bar-tools .bar-opacity>span{color:#9db4b7;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.layer-rail .layer-bar-tools #colorOverlayToggle{min-width:0;width:100%;height:40px;display:flex;flex-direction:row;align-items:center;justify-content:center;padding:0 8px;border:1px solid transparent;border-radius:10px;background:transparent;color:#9db4b7;font-size:14px;font-weight:800}
.layer-rail .layer-bar-tools #colorOverlayToggle.active{border-color:rgba(88,227,210,.52);background:rgba(88,227,210,.16);color:#f5ffff}
.layer-bar-tools .bar-opacity{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;min-height:40px;margin:0}
.layer-bar-tools .bar-opacity input{width:100%;height:40px;margin:0;accent-color:#43d6cf;touch-action:pan-x}
.layer-bar-tools .bar-opacity output{min-width:34px;color:#f5ffff;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}

.phone-tabs,.phone-sea,.phone-roads{display:none}
/* v9.4.0 — iPhone tabs: map, stations, sea, roads, cameras. */
@media(max-width:899px){
  body.v9-map-first .graph-dock-handle,
  body.v9-map-first .graph-selected-values,
  body.v9-map-first .timeline-days,
  body.v9-map-first .timeline-day-select,
  body.v9-map-first .past-measure-hint{display:none!important}
  body.v9-map-first .weather-graph-system{height:auto!important;max-height:none!important;touch-action:manipulation}
  body.v9-map-first .weather-graph-system .time-dock{height:44px!important;min-height:44px!important;padding:0 8px!important}
  body.v9-map-first .weather-graph-system .timeline-main{grid-template-rows:18px 24px!important}
  body.v9-map-first .weather-graph-system .timeline-head b{font-size:16px!important;font-weight:850}
  body.v9-map-first .weather-graph-system .timeline-head>span{font-size:11px!important;font-weight:800}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart-tooltip{flex-direction:column!important;align-items:flex-start!important;height:auto!important;min-height:0!important;white-space:normal!important;gap:2px}
  body.v9-map-first .inspect-sheet.station-sheet .station-chart-tooltip b{white-space:normal!important;line-height:1.35;font-size:13px}
}
.station-now-line{display:none}
@media(max-width:899px){
  body.v9-map-first .top-status,body.v9-map-first .brand small.build-version{display:none!important}
  body.v9-map-first .topbar{height:0!important;min-height:0!important;flex-basis:0!important;padding:0!important;border:0!important;overflow:visible!important;background:transparent!important}
  body.v9-map-first .topbar>*{display:none!important}
  body.v9-map-first #globalRefresh{display:flex!important;position:fixed;z-index:60;top:12px;right:12px;width:44px;height:44px;border-radius:22px;background:#0c161c;color:#fff}
  body.v9-map-first .topbar .nav{margin-left:auto;padding:2px;border-radius:12px;background:rgba(118,118,128,.24)}
  body.v9-map-first .topbar .nav a,body.v9-map-first .topbar .nav .nav-tool{min-height:36px;min-width:0;padding:0 10px;border-radius:9px;font-size:14px}
  body.v9-map-first .topbar .nav a.active,body.v9-map-first .topbar .nav .nav-tool[aria-expanded="true"]{background:rgba(99,99,102,.92);color:#fff}
  body.v9-map-first .layer-rail{
    left:0!important;
    right:0!important;
    top:auto!important;
    bottom:calc(var(--graph-system-height,72px) + var(--phone-tab-height,50px))!important;
    width:auto!important;
    max-width:none!important;
    transform:none!important;
    height:auto!important;
    overflow:visible!important;
    gap:10px;
    padding:8px 16px 12px;
    border:0;
    border-radius:22px 22px 0 0;
    background:#0c161c;
    box-shadow:0 -12px 32px rgba(0,0,0,.28);
  }
  body.v9-map-first .layer-rail::before{content:"";display:block;width:36px;height:5px;margin:0 auto;border-radius:99px;background:rgba(255,255,255,.28)}
  body.v9-map-first .weather-graph-system{
    left:0!important;
    right:0!important;
    bottom:var(--phone-tab-height,50px)!important;
    width:auto!important;
    transform:none!important;
    border:0;
    border-radius:0;
    background:#0c161c;
    box-shadow:none;
  }
  body.v9-map-first .map-legend{display:none!important}
  body.v9-map-first .maplibregl-ctrl-top-right{top:auto!important;right:12px!important;bottom:calc(var(--graph-system-height,72px) + var(--phone-rail-height,160px) + var(--phone-tab-height,50px) + 12px)!important}
  body.v9-map-first .maplibregl-ctrl-group button{width:44px!important;height:44px!important}
  body.v9-map-first .dock-lead{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:end;column-gap:8px;row-gap:0;padding:2px 4px 0}
  body.v9-map-first .dock-lead b{font-size:40px;line-height:.9}
  body.v9-map-first .dock-lead-unit{font-size:16px;padding-bottom:5px}
  body.v9-map-first .dock-lead-name{grid-column:1/-1;margin:6px 0 0;color:#f5ffff;font-size:17px;font-weight:800}
  body.v9-map-first .layer-bar-tools{grid-template-columns:minmax(0,1fr);gap:10px;border:0;background:transparent;padding:0;box-shadow:none}
  body.v9-map-first.wash-layer .layer-bar-tools{grid-template-columns:minmax(0,1fr)}
  body.v9-map-first .station-mode-row,body.v9-map-first .primary-layer-switcher{display:flex!important;align-items:stretch;width:100%;gap:2px;padding:2px!important;border:0!important;border-radius:12px;background:rgba(118,118,128,.24)!important;box-shadow:none!important;overflow:hidden!important}
  body.v9-map-first .station-mode-row button,body.v9-map-first .primary-layer-switcher>button{flex:1 1 0;min-width:0!important;width:auto!important;height:44px!important;min-height:44px;margin:0;padding:0 4px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#fff!important;font-size:14px!important;font-weight:700;box-shadow:none!important}
  body.v9-map-first .station-mode-row button.active,body.v9-map-first .primary-layer-switcher>button.active{background:rgba(99,99,102,.95)!important;color:#fff!important}
  body.v9-map-first.wash-layer .wash-row{display:flex;align-items:center;gap:10px;grid-template-columns:none;height:44px;margin:0}
  body.v9-map-first .wash-row .bar-opacity{flex:1;min-width:0}
  body.v9-map-first .wash-row .bar-opacity>span{display:none}
  body.v9-map-first .wash-row #colorOverlayToggle{flex:none;width:72px;height:36px;border-radius:18px}
  body.v9-map-first .primary-layer-switcher>button[data-layer]::before{display:none}
  body.v9-map-first .weather-graph-system .time-dock{border-top:1px solid rgba(255,255,255,.08)}
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .timeline-head b{font-size:22px!important;line-height:1}
  body.v9-map-first .primary-layer-switcher>.quick-select{display:none!important}
  body.v9-map-first .primary-layer-switcher>button>span{display:none!important}
  body.v9-map-first .primary-layer-switcher>button b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
  body.v9-map-first .primary-layer-switcher .layer-menu-trigger{
    display:flex!important;
    min-width:72px!important;
    width:auto!important;
    height:44px!important;
    flex:0 0 72px;
    padding:0 8px!important;
    grid-template-columns:none!important;
  }
  body.v9-map-first .primary-layer-switcher .layer-menu-trigger b{display:block!important;font-size:14px!important}
  body.v9-map-first .time-dock>button{font-size:0!important}
  body.v9-map-first .time-dock .time-prev::before,body.v9-map-first .time-dock .time-next::before{font-size:32px;line-height:1;font-weight:500}
  body.v9-map-first .time-dock .time-prev::before{content:"‹"}
  body.v9-map-first .time-dock .time-next::before{content:"›"}

  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"]{height:auto!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .graph-dock-handle{
    height:32px!important;
    min-height:32px!important;
  }
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .graph-dock-handle b{margin-top:10px;font-size:9px}
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .time-dock{
    height:44px!important;
    min-height:44px!important;
    padding:0 8px!important;
  }
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .time-dock>button{
    width:44px!important;
    height:44px!important;
    border-radius:22px!important;
  }
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .timeline-days,
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .past-measure-hint{display:none!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .timeline-main{grid-template-rows:18px 24px!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .timeline-head{height:30px;min-height:0}
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .timeline-head b{font-size:16px}
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .timeline-head>span{font-size:11px}
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .timeline-now,
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] #timePlay{min-height:24px;height:24px}

  body.v9-map-first:has(.inspect-sheet.station-sheet:not([hidden])) .weather-graph-system,
  body.v9-map-first:has(.inspect-sheet.station-sheet:not([hidden])) .layer-rail{display:none!important}

  body.v9-map-first .inspect-sheet.station-sheet{
    top:auto!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    width:auto!important;
    height:58dvh!important;
    max-height:58dvh!important;
    border-radius:18px 18px 0 0;
    padding:10px 12px calc(12px + env(safe-area-inset-bottom));
  }
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head{
    grid-template-areas:"kicker kicker" "title refresh" "now now" "trust trust" "time time" "links links"!important;
    row-gap:1px;
  }
  body.v9-map-first .inspect-sheet.station-sheet .station-now-line{
    display:flex;
    grid-area:now;
    align-items:baseline;
    gap:10px;
    margin:2px 0 0;
    overflow:hidden;
    color:var(--ink);
    font-size:20px;
    font-weight:850;
    line-height:1.15;
    font-variant-numeric:tabular-nums;
  }
  body.v9-map-first .inspect-sheet.station-sheet .station-now-line span{color:var(--muted);font-size:13px;font-weight:750}
  body.v9-map-first .inspect-sheet.station-sheet .station-now-line span b{color:var(--ink);font-size:16px}
  body.v9-map-first .inspect-sheet.station-sheet .inspect-head .station-vi-links{
    flex-wrap:nowrap;
    overflow-x:auto;
    gap:10px;
    scrollbar-width:none;
  }
  body.v9-map-first .inspect-sheet.station-sheet .station-tabs.station-vi-tabs{
    flex-wrap:nowrap!important;
    overflow-x:auto;
    margin:6px 0 4px;
    scrollbar-width:none;
  }
  body.v9-map-first .inspect-sheet.station-sheet .station-tabs.station-vi-tabs button{
    flex:1 1 auto;
    min-height:36px;
    padding:4px 8px;
    white-space:nowrap;
    font-size:12px;
  }
  body.v9-map-first .inspect-sheet.station-sheet:has([data-station-panel="forecast"]:not([hidden])) .station-tabs.station-vi-tabs{display:none!important}
  body.v9-map-first .inspect-sheet.station-sheet [data-station-panel="forecast"]:not([hidden]){display:block!important;overflow:visible!important;height:auto!important}
  body.v9-map-first .inspect-sheet.station-sheet .forecast-view{display:block!important;flex:none!important;height:auto!important;min-height:0!important}
  body.v9-map-first .inspect-sheet.station-sheet .forecast-scroll{display:block!important;flex:none!important;height:auto!important;min-height:240px!important;max-height:none!important;overflow:visible!important}
  body.v9-map-first #marineMap>.maplibregl-control-container .maplibregl-ctrl-top-right{display:block!important;top:8px;right:8px}
  body.v9-map-first #marineMap .maplibregl-ctrl-group button{width:44px!important;height:44px!important}
  body.v9-map-first #marineMap .maplibregl-canvas-container,body.v9-map-first #marineMap .maplibregl-canvas{touch-action:none!important}
  body.v9-map-first .phone-tabs{position:fixed;z-index:80;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);height:calc(50px + env(safe-area-inset-bottom));padding:0 0 env(safe-area-inset-bottom);background:#0c161c;border-top:1px solid rgba(255,255,255,.12)}
  body.v9-map-first .phone-tabs button{min-height:44px;border:0;background:transparent;color:rgba(255,255,255,.55);font-size:12px;font-weight:750}
  body.v9-map-first .phone-tabs button.active{color:#fff}
  body.v9-map-first[data-phone-tab="sea"] .station-mode-row,body.v9-map-first[data-phone-tab="roads"] .station-mode-row,body.v9-map-first[data-phone-tab="cameras"] .station-mode-row{display:none!important}
  body.v9-map-first .phone-sea,body.v9-map-first .phone-roads{display:none}
  body.v9-map-first[data-phone-tab="sea"] .primary-layer-switcher{display:none!important}
  body.v9-map-first[data-phone-tab="sea"] .phone-sea{display:flex!important;gap:2px;padding:2px;border-radius:12px;background:rgba(118,118,128,.24)}
  body.v9-map-first[data-phone-tab="sea"] .phone-sea button{flex:1;height:44px;border:0;border-radius:10px;background:transparent;color:#fff;font-size:14px;font-weight:700}
  body.v9-map-first[data-phone-tab="sea"] .phone-sea button.active{background:rgba(99,99,102,.95)}
  body.v9-map-first[data-phone-tab="roads"] .phone-roads{display:flex;align-items:center;justify-content:center;height:44px;border-radius:12px;background:rgba(118,118,128,.24);color:#fff;font-size:15px;font-weight:750}
  body.v9-map-first[data-phone-tab="stations"] .dock-lead,body.v9-map-first[data-phone-tab="stations"] .primary-layer-switcher,body.v9-map-first[data-phone-tab="stations"] .wash-row,body.v9-map-first[data-phone-tab="stations"] .weather-graph-system,body.v9-map-first[data-phone-tab="cameras"] .layer-rail,body.v9-map-first[data-phone-tab="cameras"] .weather-graph-system{display:none!important}
  body.v9-map-first[data-phone-tab="stations"] .layer-rail{top:0!important;bottom:auto!important;z-index:40;border-radius:0;padding:8px 12px}
  body.v9-map-first[data-phone-tab="stations"] .station-mode-row{display:flex!important}
  body.v9-map-first[data-phone-tab="stations"] .maplibregl-ctrl-top-right,body.v9-map-first[data-phone-tab="cameras"] .maplibregl-ctrl-top-right{display:none!important}
  body.v9-map-first .station-browser,body.v9-map-first .harbour-browser{left:0!important;right:0!important;top:72px!important;bottom:var(--phone-tab-height,50px)!important;width:auto!important;max-height:none!important;border:0;border-radius:0;z-index:30}
  body.v9-map-first[data-phone-tab="cameras"] .harbour-browser{top:0!important}
  body.v9-map-first .station-list button,body.v9-map-first .harbour-list button{min-height:52px;font-size:16px}
  body.v9-map-first .topbar .nav{display:none!important}
  body.v9-map-first .timeline-track{display:none!important}
  body.v9-map-first #timePlay{display:none!important}
  body.v9-map-first .layer-rail{gap:6px;padding:6px 12px 8px}
  body.v9-map-first .layer-rail::before{display:none}
  body.v9-map-first .dock-lead{display:flex;align-items:baseline;min-height:0;padding:0 2px;column-gap:6px}
  body.v9-map-first .dock-lead b{font-size:28px;line-height:1}
  body.v9-map-first .dock-lead-unit{font-size:14px;padding-bottom:1px}
  body.v9-map-first .dock-lead-name{grid-column:auto;margin:0 0 0 auto;font-size:15px;font-weight:750}
  body.v9-map-first .timeline-range{height:32px!important;background:linear-gradient(rgba(255,255,255,.28),rgba(255,255,255,.28)) center/100% 2px no-repeat}
  body.v9-map-first .weather-graph-system{height:auto!important;max-height:none!important;overflow:visible!important}
  body.v9-map-first .weather-graph-system .graph-panel{display:flex!important;flex:none!important;max-height:84px!important;overflow:hidden!important}
  body.v9-map-first .weather-graph-system .graph-panel-head{display:none!important}
  body.v9-map-first #toggleGraphPanel,body.v9-map-first .graph-track-resize,body.v9-map-first .graph-add{display:none!important}
  body.v9-map-first .weather-graph-system #graphPanelBody{display:block!important;height:auto!important;max-height:84px!important;overflow:auto!important;touch-action:pan-y}
  body.v9-map-first .weather-graph-system .graph-track{flex:none!important;height:auto!important;min-height:0!important;overflow:hidden}
  body.v9-map-first .weather-graph-system .graph-track-head{height:28px!important;min-height:28px;flex-wrap:nowrap}
  body.v9-map-first .weather-graph-system .graph-track-canvas,body.v9-map-first .weather-graph-system .graph-empty{flex:none!important;height:48px!important;min-height:48px!important;max-height:48px!important}
  body.v9-map-first .station-mode-row button,body.v9-map-first .primary-layer-switcher>button{height:40px!important;min-height:40px}
  body.v9-map-first.wash-layer .wash-row{height:36px}
  body.v9-map-first .dock-lead b{font-size:22px}
  body.v9-map-first .layer-rail{left:8px!important;right:8px!important;bottom:calc(var(--graph-system-height,120px) + var(--phone-tab-height,50px) + 8px)!important;gap:4px;padding:8px 12px 6px;border-radius:18px 18px 0 0}
  body.v9-map-first .weather-graph-system{left:8px!important;right:8px!important;bottom:calc(var(--phone-tab-height,50px) + 8px)!important;border-radius:0 0 18px 18px}
  body.v9-map-first .station-mode-row{position:absolute;top:8px;right:12px;z-index:2;display:flex!important;width:auto;min-height:0;padding:0!important;background:transparent!important}
  body.v9-map-first .station-mode-row button{display:none!important;height:28px!important;min-height:28px;width:auto!important;flex:none;padding:0 10px!important;font-size:13px!important;border-radius:14px!important;background:rgba(118,118,128,.4)!important}
  body.v9-map-first .station-mode-row button.active{display:inline-flex!important}
  body.v9-map-first[data-phone-tab="stations"] .station-mode-row{position:static;width:100%;background:rgba(118,118,128,.24)!important;padding:2px!important}
  body.v9-map-first[data-phone-tab="stations"] .station-mode-row button{display:flex!important;width:auto!important;flex:1 1 0;height:40px!important;min-height:40px}
  body.v9-map-first .dock-lead{padding-right:78px}
  body.v9-map-first .weather-graph-system .graph-track-head select,body.v9-map-first .weather-graph-system .graph-track-source,body.v9-map-first .weather-graph-system .graph-track-remove{display:none!important}
  body.v9-map-first .weather-graph-system .graph-track-head{display:flex!important;height:24px!important;min-height:24px;align-items:center}
  body.v9-map-first .weather-graph-system .graph-track-add{display:flex!important;width:36px;min-height:24px;height:24px;padding:0}
  body.v9-map-first .weather-graph-system .graph-panel{max-height:68px!important}
  body.v9-map-first .weather-graph-system #graphPanelBody{max-height:68px!important;overflow:hidden!important}
  body.v9-map-first .weather-graph-system .graph-track-canvas,body.v9-map-first .weather-graph-system .graph-empty{height:40px!important;min-height:40px!important;max-height:40px!important}
  body.v9-map-first .time-dock>button{width:36px!important;height:36px!important}
}

/* v9.4.0 — one responsive bottom dock and continuous centre-cursor timeline. */
body.v9-map-first .weather-graph-system{height:var(--graph-dock-height,116px)!important;max-height:calc(var(--atlas-visual-height,100dvh) - 48px)!important;overflow:hidden!important}
body.v9-map-first .graph-dock-handle{display:flex!important;touch-action:none;flex:none}
body.v9-map-first .timeline-days{display:flex!important;visibility:visible!important;overflow:hidden;touch-action:none;scrollbar-width:none}
body.v9-map-first .timeline-range{overflow:hidden;touch-action:none}
body.v9-map-first .timeline-cursor{left:50%!important;z-index:5}
body.v9-map-first .timeline-bubble{left:50%!important;z-index:6}
body.v9-map-first .timeline-track{display:block!important;will-change:transform}
body.v9-map-first .timeline-track .tick.minor{top:8px;height:5px;background:rgba(215,238,240,.35)}
body.v9-map-first .timeline-track .tick.minor.history,body.v9-map-first .timeline-track .tick.major.history{background:rgba(174,191,194,.28)}
body.v9-map-first .timeline-track .tick.history b{color:#91a4a7;opacity:.72}
body.v9-map-first .timeline-band{position:absolute;top:0;height:100%;display:flex;align-items:flex-end;justify-content:center;padding-bottom:2px;background:rgba(126,164,169,.09);border-inline:1px solid rgba(126,164,169,.13);color:#8ea8ab;font:700 8px/1 system-ui;pointer-events:none}
body.v9-map-first .timeline-track .tick-hour{white-space:nowrap}
body.v9-map-first .weather-graph-system #graphTrackList{overflow-y:auto!important;align-content:start}
body.v9-map-first .weather-graph-system .graph-track{flex:0 0 auto!important;height:160px!important;min-height:160px!important}
body.v9-map-first .weather-graph-system .graph-track-canvas,body.v9-map-first .weather-graph-system .graph-empty{flex:none!important;height:120px!important;min-height:120px!important;max-height:120px!important}
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .graph-panel{display:none!important}
@media(max-width:899px){
 body.v9-map-first .weather-graph-system{left:0!important;right:0!important;bottom:var(--phone-tab-height,50px)!important;width:auto!important;border-radius:16px 16px 0 0!important;touch-action:auto!important}
 body.v9-map-first .weather-graph-system .time-dock{height:116px!important;min-height:116px!important;padding:4px 8px!important}
 body.v9-map-first .weather-graph-system .timeline-main{grid-template-rows:24px 38px 42px!important}
 body.v9-map-first .weather-graph-system .graph-panel{display:flex!important;flex:1 1 auto!important;max-height:none!important;min-height:0;overflow:hidden!important}
 body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .graph-panel{display:none!important}
 body.v9-map-first .weather-graph-system #graphPanelBody{display:flex!important;height:100%!important;max-height:none!important;overflow:hidden!important}
 body.v9-map-first .weather-graph-system #graphTrackList{display:flex!important;overflow-y:auto!important}
 body.v9-map-first .weather-graph-system .graph-track{height:136px!important;min-height:136px!important}
 body.v9-map-first .weather-graph-system .graph-track-canvas,body.v9-map-first .weather-graph-system .graph-empty{height:96px!important;min-height:96px!important;max-height:96px!important}
 body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"]{height:var(--graph-dock-height,116px)!important}
 body.v9-map-first .timeline-days button{min-height:36px;height:36px}
}

/* v9.4.0 round B — coherent fixed-height graph sheet. */
body.v9-map-first .tools-wash-row{display:grid;grid-template-columns:auto 1fr;gap:8px;padding:8px 12px;align-items:center}
body.v9-map-first .tools-wash-row .bar-opacity{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center}
body.v9-map-first .weather-graph-system>.dock-lead{flex:none;min-height:32px;margin:0;padding:4px 12px;border-bottom:1px solid var(--line)}
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"]>.dock-lead{display:flex}
body.v9-map-first .graph-list-hint{margin:12px;color:var(--muted);font-size:12px;line-height:20px}
body.v9-map-first .timeline-days{position:relative;flex:none;overflow:hidden!important;will-change:transform;z-index:8}
body.v9-map-first .timeline-days button{position:absolute;top:0;height:100%;min-width:0!important;border:0;border-left:1px solid rgba(160,205,209,.2)!important;border-radius:0!important;background:transparent!important;color:var(--muted)!important;font-size:10px;font-weight:600;pointer-events:auto}
body.v9-map-first .timeline-days button.active{color:var(--ink)!important;font-weight:850;text-decoration:underline;text-underline-offset:3px}
body.v9-map-first .timeline-range{z-index:1}.timeline-track,.timeline-cursor,.timeline-bubble{pointer-events:none}
body.v9-map-first .weather-graph-system .graph-track{height:88px!important;min-height:88px!important}
body.v9-map-first .weather-graph-system .graph-track-head{height:22px!important;min-height:22px!important}
body.v9-map-first .weather-graph-system .graph-track-canvas{height:64px!important;min-height:64px!important;max-height:64px!important}
@media(max-width:899px){
 body.v9-map-first .layer-rail{bottom:calc(var(--graph-system-height,180px) + var(--phone-tab-height,50px) + 8px)!important;border-radius:18px!important}
 body.v9-map-first .layer-rail .layer-bar-tools{display:none!important}
 body.v9-map-first .weather-graph-system[data-dock-mode="full"]~.layer-rail,body.v9-map-first:has(.weather-graph-system[data-dock-mode="full"]) .layer-rail{display:none!important}
 body.v9-map-first .weather-graph-system .graph-track{height:88px!important;min-height:88px!important}
 body.v9-map-first .weather-graph-system .graph-track-canvas{height:64px!important;min-height:64px!important;max-height:64px!important}
 body.v9-map-first .timeline-days{height:26px!important}
}

/* v9.4.0 B2: stable snap sheet. Only the outer sheet has a driven height. */
body.v9-map-first .weather-graph-system{display:flex!important;flex-direction:column;height:var(--graph-dock-height,180px)!important;max-height:none!important;overflow:hidden!important}
body.v9-map-first .graph-dock-handle{position:relative;z-index:20;flex:0 0 32px!important;height:32px!important;min-height:32px!important}
body.v9-map-first .weather-graph-system>.dock-lead{flex:0 0 32px;min-height:32px}
body.v9-map-first .weather-graph-system .graph-panel{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
body.v9-map-first .weather-graph-system #graphPanelBody{display:flex!important;flex:1 1 auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
body.v9-map-first .weather-graph-system #graphTrackList{flex:1 1 auto;min-height:0;overflow-y:auto!important}
body.v9-map-first .weather-graph-system .time-dock{flex:0 0 auto!important;height:auto!important;min-height:106px!important}
body.v9-map-first .timeline-days{height:30px!important;background:transparent!important;overflow:hidden!important;touch-action:none}
body.v9-map-first .timeline-days button{height:30px!important;color:var(--muted)!important;background:transparent!important;border:0!important;border-bottom:2px solid transparent!important;text-decoration:none!important}
body.v9-map-first .timeline-days button.active{color:var(--ink)!important;border-bottom-color:var(--accent)!important;text-decoration:none!important}
body.v9-map-first .timeline-range{height:36px!important;min-height:36px!important}
body.v9-map-first .timeline-main{grid-template-rows:24px 30px 36px!important;gap:2px}
@media(max-width:899px){
 body.v9-map-first .layer-rail{bottom:calc(var(--graph-dock-height,180px) + var(--phone-tab-height,50px) + 8px)!important}
 body.v9-map-first .weather-graph-system .time-dock{height:auto!important;min-height:106px!important;padding:4px 8px!important}
 body.v9-map-first .weather-graph-system .timeline-main{grid-template-rows:24px 30px 36px!important}
 body.v9-map-first .weather-graph-system .graph-panel{flex:1 1 auto!important;min-height:0!important;max-height:none!important}
 body.v9-map-first .weather-graph-system #graphPanelBody{height:auto!important;max-height:none!important;overflow-y:auto!important}
 body.v9-map-first .weather-graph-system .graph-track{height:88px!important;min-height:88px!important}
}

/* v9.4.0 B3: the ruler is wide, its viewport is not. */
body.v9-map-first .weather-graph-system .time-dock{grid-template-columns:44px minmax(0,1fr) 44px;min-width:0!important;max-width:100%}
body.v9-map-first .timeline-main,body.v9-map-first .timeline-range{width:100%;max-width:100%;min-width:0;overflow:hidden}
body.v9-map-first #timelineTouch{width:100%!important;max-width:100%;min-width:0}
body.v9-map-first .timeline-track,body.v9-map-first .timeline-days{max-width:none;flex:none}
body.v9-map-first .weather-graph-system .graph-track,body.v9-map-first .weather-graph-system .graph-track-canvas{max-width:100%;min-width:0;opacity:1!important;visibility:visible!important}
body.v9-map-first .weather-graph-system #graphTrackList{width:100%;max-width:100%}
@media(max-width:899px){
 body.v9-map-first .weather-graph-system .time-dock{grid-template-columns:38px minmax(0,1fr) 38px}
 body.v9-map-first .layer-rail{bottom:calc(var(--graph-dock-height,148px) + var(--phone-tab-height,50px) + 8px)!important}
}

/* v9.4.0 T1 — bounded timeline viewport and viewport-safe graph snaps. */
body.v9-map-first .weather-graph-system{bottom:max(4px,calc(10px + env(safe-area-inset-bottom) + var(--atlas-visual-bottom,0px)))!important}
body.v9-map-first .weather-graph-system .time-dock{grid-template-columns:44px minmax(0,1fr) 44px!important;min-width:0!important;contain:inline-size}
body.v9-map-first .weather-graph-system .timeline-main{min-width:0!important;contain:inline-size}
body.v9-map-first #timelineTouch{position:relative;width:100%!important;min-width:0!important;max-width:100%!important;contain:inline-size;overflow:hidden!important}
body.v9-map-first #timelineTouch{touch-action:none!important;overscroll-behavior:contain;-webkit-user-select:none;user-select:none}
body.v9-map-first #timelineTouch input{pointer-events:none}
body.v9-map-first #timelineTrack{position:absolute;max-width:none!important}
body.v9-map-first .timeline-days{max-width:none!important}
@media(max-width:899px){
 body.v9-map-first .weather-graph-system{bottom:var(--phone-tab-height,50px)!important}
 body.v9-map-first .weather-graph-system .time-dock{grid-template-columns:38px minmax(0,1fr) 38px!important}
 body.v9-map-first:has(.weather-graph-system:not([data-dock-mode="collapsed"])) .layer-rail{display:none!important}
}
body.v9-map-first .weather-graph-system #graphPanelBody{position:relative}
body.v9-map-first .weather-graph-system .graph-add{position:absolute;z-index:3;right:8px;bottom:8px;width:auto;margin:0}
/* v9.4.0 T1 fix: the timeline-main grid column must not size to the wide ruler */
body.v9-map-first .timeline-main{grid-template-columns:minmax(0,1fr)!important}
body.v9-map-first .timeline-main>*{min-width:0}
@media(max-width:899px){body.v9-map-first[data-dock-mode="full"] .layer-rail{display:none!important}}
/* v9.4.0 T7 — graph add actions live in the top layer, outside the scrolling track clip. */
body.v9-map-first .graph-track-add-menu[popover]{position:fixed;inset:auto;margin:0;z-index:1000;pointer-events:auto}

#dockColorToggle{display:none}
@media(max-width:899px){#dockColorToggle{display:inline-flex;align-items:center;justify-content:center;padding:3px 7px;font-size:11px;min-height:26px}#dockColorToggle[aria-pressed="true"]{color:var(--cyan,#63dce5)}}

/* v9.5.0: day and hour trellis share one fixed centre cursor. */
body.v9-map-first .weather-graph-system .timeline-main{grid-template-rows:24px 58px!important;overflow:hidden}
body.v9-map-first .timeline-range{height:58px!important;min-height:58px!important;overflow:hidden!important;touch-action:none}
body.v9-map-first .timeline-days{position:absolute;left:0;top:0;height:24px!important;overflow:visible!important;background:transparent!important;touch-action:none}
body.v9-map-first .timeline-days button{height:24px!important;font-size:11px;text-align:left;padding:0 8px;color:#dae8ed!important}
body.v9-map-first .timeline-days button[data-phase="forecast"]{color:#8fc8ff!important}
body.v9-map-first .timeline-track{top:26px;height:32px;transition:none!important}
body.v9-map-first .timeline-track .tick b{top:14px;font-size:10px}
body.v9-map-first .timeline-track .tick.major{top:0;height:9px}
body.v9-map-first .timeline-cursor{top:0;bottom:0;background:#359cff;width:2px;box-shadow:0 0 0 1px #092539}
body.v9-map-first .timeline-cursor::before{content:'';position:absolute;top:24px;left:-4px;width:10px;height:10px;border-radius:50%;background:#359cff;border:1px solid #e9f5ff}
body.v9-map-first #timeSlider{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
body.v9-map-first .timeline-bubble{display:none!important}

/* v9.5.7: show the exact scrubbed time at the fixed centre line. */
body.v9-map-first.timeline-scrubbing .timeline-bubble{display:block!important;left:50%!important;bottom:auto!important;top:-35px!important;min-width:128px;padding:6px 9px;transform:translateX(-50%)!important;border-color:rgba(89,225,210,.78);background:rgba(2,19,27,.97);box-shadow:0 7px 24px rgba(0,0,0,.55);white-space:nowrap}
body.v9-map-first.timeline-scrubbing .timeline-bubble b{font-size:12px;letter-spacing:.02em}
body.v9-map-first.timeline-scrubbing .timeline-bubble span{color:#73e7dc;font-size:9px;font-weight:800}
body.v9-map-first.timeline-scrubbing .timeline-cursor{width:3px!important;background:#6bf1e4!important;box-shadow:0 0 0 1px #08232b,0 0 16px rgba(107,241,228,.8)!important}
body.v9-map-first.timeline-scrubbing .timeline-cursor::before{background:#6bf1e4!important;box-shadow:0 0 0 4px rgba(107,241,228,.16)}

/* Make initial forecast rendering look intentional while the first frame is prepared. */
#surfaceLoadingNote{display:none}
body.surface-loading #surfaceLoadingNote{display:inline-flex;align-items:center;gap:8px;top:72px;left:50%;max-width:calc(100% - 32px);transform:translateX(-50%);border-color:rgba(89,225,210,.5);background:rgba(4,24,32,.94);font-size:11px;white-space:nowrap}
body.surface-loading #surfaceLoadingNote::before{content:'';width:12px;height:12px;flex:0 0 12px;border:2px solid rgba(160,239,235,.28);border-top-color:#67ebe0;border-radius:50%;animation:atlas-frame-spin .72s linear infinite}
@keyframes atlas-frame-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){body.v9-map-first.timeline-scrubbing .timeline-bubble{top:-32px!important;min-width:120px;padding:5px 8px}body.surface-loading #surfaceLoadingNote{top:64px;font-size:10px}}

/* v9.5.8: the fixed line is a persistent, precise time cursor — not a transient hint. */
body.v9-map-first .timeline-bubble{display:block!important;left:50%!important;bottom:auto!important;top:-35px!important;min-width:78px;padding:5px 8px;transform:translateX(-50%)!important;border-color:rgba(89,225,210,.56);background:rgba(2,19,27,.96);box-shadow:0 6px 18px rgba(0,0,0,.42);white-space:nowrap}
body.v9-map-first .timeline-bubble b{font-size:14px;letter-spacing:.04em;line-height:1}
body.v9-map-first .timeline-bubble span{margin-top:3px;color:#9bded8;font-size:8px;font-weight:850;letter-spacing:.05em}
body.v9-map-first .timeline-cursor{width:3px!important;background:#6bf1e4!important;box-shadow:0 0 0 1px #08232b,0 0 13px rgba(107,241,228,.55)!important}
@media(max-width:700px){body.v9-map-first .timeline-bubble{top:-32px!important;min-width:74px;padding:5px 7px}body.v9-map-first .timeline-bubble b{font-size:13px}}

/* v9.5.9: Gottvedur-style selected-time flag, anchored to the ruler's blue line. */
body.v9-map-first .timeline-bubble{position:fixed!important;z-index:70!important;display:block!important;min-width:0!important;padding:7px 10px!important;transform:translateX(-50%)!important;border:0!important;border-radius:3px!important;background:#0b4f80!important;box-shadow:0 5px 14px rgba(0,31,55,.34)!important;text-align:left!important;pointer-events:none}
body.v9-map-first .timeline-bubble::after{content:'';position:absolute;left:50%;bottom:-6px;width:10px;height:10px;transform:translateX(-50%) rotate(45deg);background:#0b4f80}
body.v9-map-first .timeline-bubble b{position:relative;z-index:1;display:block;color:#fff;font-size:11px!important;font-weight:900;line-height:1.15;letter-spacing:0!important}
body.v9-map-first .timeline-bubble span{position:relative;z-index:1;display:block;margin-top:3px;color:#fff!important;font-size:11px!important;font-weight:850;line-height:1.15;letter-spacing:0!important}
body.v9-map-first .timeline-cursor{z-index:7!important;width:3px!important;background:#1679da!important;box-shadow:0 0 0 1px rgba(0,55,104,.32)!important}
body.v9-map-first .timeline-cursor::before{top:-2px!important;left:-4px!important;width:9px!important;height:9px!important;border:0!important;border-radius:0!important;background:#1679da!important;box-shadow:none!important}
@media(max-width:700px){body.v9-map-first .timeline-bubble{padding:6px 8px!important}body.v9-map-first .timeline-bubble b,body.v9-map-first .timeline-bubble span{font-size:10px!important}}

body.v9-map-first #timeNow{text-transform:uppercase}

/* v9.6.1: keep the live loading state and each day label unmistakable. */
body.v9-map-first .timeline-days button{
  display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;
  line-height:28px!important;white-space:nowrap!important;
}
body.surface-loading #surfaceLoadingNote{
  position:fixed!important;z-index:95!important;top:118px!important;left:50%!important;
  display:inline-flex!important;align-items:center!important;min-height:34px!important;
  padding:0 12px!important;border:1px solid rgba(103,235,224,.58)!important;
  border-radius:18px!important;background:rgba(3,26,37,.96)!important;color:#e8ffff!important;
  box-shadow:0 7px 24px rgba(0,25,39,.34)!important;font-size:12px!important;font-weight:800!important;
}
body.surface-loading #surfaceLoadingNote::before{width:13px!important;height:13px!important;flex-basis:13px!important}
body.surface-loading #surfaceLoadingNote{display:none!important}
.app-boot-splash{position:absolute;z-index:90;left:50%;top:50%;display:flex;flex-direction:column;align-items:center;gap:7px;min-width:220px;transform:translate(-50%,-50%);padding:18px 20px;border:1px solid rgba(103,235,224,.48);border-radius:18px;background:rgba(3,25,34,.91);box-shadow:0 16px 42px rgba(0,13,20,.36);color:#efffff;text-align:center;pointer-events:none}.app-boot-splash i{width:25px;height:25px;border:3px solid rgba(141,234,228,.23);border-top-color:#67ebe0;border-radius:50%;animation:atlas-frame-spin .72s linear infinite}.app-boot-splash strong{font:800 13px/1.2 system-ui,sans-serif}.app-boot-splash span{color:#b9d4d4;font:600 11px/1.35 system-ui,sans-serif}.app-boot-splash[hidden]{display:none}
@media(max-width:700px){.app-boot-splash{top:46%;min-width:196px;padding:15px 16px}.app-boot-splash strong{font-size:12px}.app-boot-splash span{font-size:10px}}
@media(max-width:700px){
  body.v9-map-first .timeline-days button{line-height:27px!important}
  body.surface-loading #surfaceLoadingNote{top:108px!important;font-size:11px!important}
}

.surface-frame-trust{flex:none;margin:0;padding:3px 12px;color:#b8dfff;background:#0c1f26;font-size:10px;line-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.surface-frame-trust[hidden]{display:none}

body.v9-map-first #timePlay{display:inline-flex!important;flex:none;align-items:center;justify-content:center;width:28px;min-width:28px;height:26px;margin-left:0}
.surface-frame-trust{position:absolute;z-index:15;top:72px;left:12px;max-width:calc(100% - 80px);border-radius:7px;padding:5px 8px;white-space:normal}

body.v9-map-first .timeline-range::before,body.v9-map-first .timeline-range::after{display:none!important}
body.v9-map-first .timeline-range{background:none!important}
body.v9-map-first #timeTicks{display:none!important}

#timeDock:has(#timeSlider:focus-visible){outline:2px solid var(--cyan,#63dce5);outline-offset:2px}

/* Keep ruler marks in a separate vertical lane from hour labels. */
body.v9-map-first .timeline-track .tick.minor{top:0;height:5px}
body.v9-map-first .timeline-track .tick.major{top:0;height:9px}
body.v9-map-first .timeline-track .tick b{top:14px}
/* v9.5.3: forecast dock stays legible without obscuring the map. */
@media(min-width:900px){
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"]{height:132px!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .graph-dock-handle{flex-basis:26px!important;height:26px!important;min-height:26px!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"]>.dock-lead{flex-basis:28px!important;min-height:28px!important;padding:2px 12px!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .dock-lead b{font-size:19px!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .time-dock{min-height:78px!important;height:78px!important;padding:3px 10px!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .timeline-main{grid-template-rows:22px 48px!important}
}
/* Point forecasts open as a readable sheet with the map and time controls still available. */
#pointSheetHandle{display:none}
.point-now{grid-template-columns:repeat(2,minmax(0,1fr))}
.point-extra{margin:6px 0 14px}
.point-extra>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--muted);font-weight:700}
.point-extra>summary::before{content:'+';margin-right:8px}
.point-extra[open]>summary::before{content:'−'}
@media(max-width:700px){
  body.v9-map-first .inspect-sheet.point-sheet{position:fixed!important;top:auto!important;left:0!important;right:0!important;bottom:calc(50px + env(safe-area-inset-bottom))!important;width:auto!important;height:var(--point-sheet-height,58dvh)!important;max-height:88dvh!important;border-radius:18px 18px 0 0;padding:40px 14px 12px!important;box-sizing:border-box;z-index:86}
  body.v9-map-first .inspect-sheet.point-sheet>#inspectContent{min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;touch-action:pan-y;padding-right:0;-webkit-overflow-scrolling:touch}
  body.v9-map-first .inspect-sheet.point-sheet>#pointSheetHandle{display:flex;align-items:center;justify-content:center;position:absolute;left:48px;right:48px;top:0;height:40px;border:0;background:transparent;touch-action:none;cursor:ns-resize}
  #pointSheetHandle span{width:42px;height:5px;border-radius:4px;background:var(--muted)}
  body.v9-map-first .inspect-sheet.point-sheet>.sheet-close{width:44px;height:44px;top:0;right:4px;font-size:26px}
  body.v9-map-first .inspect-sheet.point-sheet>.panel-grip,body.v9-map-first .inspect-sheet.point-sheet>.panel-resizer,body.v9-map-first .inspect-sheet.point-sheet>.panel-resize-e{display:none!important}
  body.v9-map-first .inspect-sheet.point-sheet .inspect-head h2{font-size:20px;margin:2px 0}
  body.v9-map-first .inspect-sheet.point-sheet .point-now{grid-template-columns:repeat(2,minmax(0,1fr));margin:10px 0 14px}
  body.v9-map-first .inspect-sheet.point-sheet .point-now b{font-size:18px}
  body.v9-map-first .inspect-sheet.point-sheet .forecast-toolbar{flex-wrap:wrap;gap:8px}
  body.v9-map-first .inspect-sheet.point-sheet .forecast-ranges,body.v9-map-first .inspect-sheet.point-sheet .forecast-links{display:flex;flex-wrap:wrap;gap:6px}
  body.v9-map-first .inspect-sheet.point-sheet .forecast-toolbar button{min-height:40px}
}

/* v9.5.4: day choice is explicit; a map detail sheet keeps the clock compact. */
body.v9-map-first .timeline-day-select{display:block!important;margin-left:auto;order:2}
body.v9-map-first .timeline-day-select select{min-height:28px;max-width:190px;border:1px solid rgba(99,220,229,.42);border-radius:8px;background:rgba(8,38,48,.96);color:var(--ink);padding:0 8px;font:800 10px/1 system-ui}
body.v9-map-first .timeline-days button{white-space:nowrap}
@media(min-width:900px){
  body.v9-map-first:has(.inspect-sheet.station-sheet:not([hidden])) .weather-graph-system,
  body.v9-map-first:has(.inspect-sheet.point-sheet:not([hidden])) .weather-graph-system{height:92px!important}
  body.v9-map-first:has(.inspect-sheet.station-sheet:not([hidden])) .weather-graph-system .graph-dock-handle,
  body.v9-map-first:has(.inspect-sheet.point-sheet:not([hidden])) .weather-graph-system .graph-dock-handle,
  body.v9-map-first:has(.inspect-sheet.station-sheet:not([hidden])) .weather-graph-system>.dock-lead,
  body.v9-map-first:has(.inspect-sheet.point-sheet:not([hidden])) .weather-graph-system>.dock-lead,
  body.v9-map-first:has(.inspect-sheet.station-sheet:not([hidden])) .weather-graph-system .graph-panel,
  body.v9-map-first:has(.inspect-sheet.point-sheet:not([hidden])) .weather-graph-system .graph-panel{display:none!important}
  body.v9-map-first:has(.inspect-sheet.station-sheet:not([hidden])) .weather-graph-system .time-dock,
  body.v9-map-first:has(.inspect-sheet.point-sheet:not([hidden])) .weather-graph-system .time-dock{min-height:92px!important;height:92px!important;padding:5px 10px!important}
  body.v9-map-first:has(.inspect-sheet.station-sheet:not([hidden])) .weather-graph-system .timeline-main,
  body.v9-map-first:has(.inspect-sheet.point-sheet:not([hidden])) .weather-graph-system .timeline-main{grid-template-rows:26px 58px!important}
}
@media(max-width:899px){
  body.v9-map-first .timeline-day-select{display:block!important;margin-left:auto!important}
  body.v9-map-first .timeline-day-select select{max-width:132px;min-height:26px;font-size:9px}
}

/* v9.5.5: calm map-first chrome. Advanced controls remain available in existing menus. */
body.v9-map-first .layer-bar-tools{display:none!important}
body.v9-map-first #surfaceFrameTrust{max-width:min(510px,calc(100vw - 78px));white-space:normal;font-size:10px;line-height:1.4}
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"]{height:112px!important}
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"]>.dock-lead,
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .graph-panel{display:none!important}
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .graph-dock-handle{flex:0 0 20px!important;height:20px!important;min-height:20px!important;border-bottom:0}
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .graph-dock-handle b{font-size:9px!important}
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .time-dock{min-height:92px!important;height:92px!important;padding:2px 10px!important}
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-main{grid-template-rows:26px 58px!important}
@media(max-width:899px){
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"]{height:104px!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .time-dock{min-height:84px!important;height:84px!important;padding:2px 8px!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-main{grid-template-rows:24px 52px!important}
}

/* v9.5.6: the compact dock reads as a forecast progression, not a ruler. */
.timeline-insight{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;color:#a9c5c9;font-size:10px;font-weight:750;white-space:nowrap;overflow:hidden}
.timeline-insight span{overflow:hidden;text-overflow:ellipsis}.timeline-insight b{color:#f4ffff;font-variant-numeric:tabular-nums}.timeline-peak{color:#78dfe5}
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-days,
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-track .tick b,
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .past-measure-hint{display:none!important}
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-range{height:17px!important;min-height:17px!important;background:linear-gradient(rgba(211,240,242,.34),rgba(211,240,242,.34)) center/100% 1px no-repeat}
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-track{top:5px!important;height:12px!important}
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-track .tick{top:3px!important;height:6px!important}
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .forecast-ribbon-wrap{display:block!important;height:28px!important;border:1px solid rgba(111,219,225,.22);border-radius:8px;background:rgba(88,213,211,.05)}
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] #forecastRibbon{height:28px!important}
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-main{grid-template-rows:24px 17px 28px 18px!important;gap:2px!important}
@media(max-width:899px){
  .timeline-insight{gap:7px;font-size:8px}
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-main{grid-template-rows:21px 13px 24px 16px!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-range{height:13px!important;min-height:13px!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .forecast-ribbon-wrap,body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] #forecastRibbon{height:24px!important}
}

/* v9.6.0: a familiar Icelandic weather-map ruler.  Atlas keeps its own data,
   layers and map treatment; the chrome becomes a quiet, full-width time rail. */
body.v9-map-first .weather-graph-system,
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"],
body.v9-map-first .weather-graph-system[data-dock-mode="timeline"]{
  left:0!important;right:0!important;bottom:0!important;transform:none!important;
  width:100%!important;height:96px!important;max-height:none!important;
  border:1px solid #ccd9e3!important;border-radius:0!important;
  background:#fff!important;box-shadow:0 -3px 13px rgba(8,44,73,.2)!important;
  overflow:visible!important;touch-action:auto!important;
}
body.v9-map-first .weather-graph-system .graph-dock-handle,
body.v9-map-first .weather-graph-system>.dock-lead,
body.v9-map-first .weather-graph-system .graph-panel,
body.v9-map-first .weather-graph-system .forecast-ribbon-wrap,
body.v9-map-first .weather-graph-system .timeline-insight,
body.v9-map-first .weather-graph-system .past-measure-hint,
body.v9-map-first .weather-graph-system .timeline-foot{display:none!important}
body.v9-map-first .weather-graph-system .time-dock,
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .time-dock,
body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .time-dock{
  position:relative!important;display:grid!important;grid-template-columns:40px minmax(0,1fr) 40px!important;
  width:100%!important;height:94px!important;min-height:94px!important;margin:0!important;
  padding:0 10px!important;gap:7px!important;border:0!important;border-radius:0!important;
  background:#fff!important;box-shadow:none!important;
}
body.v9-map-first .weather-graph-system .time-dock>button{
  align-self:center!important;width:32px!important;height:30px!important;
  border:1px solid #cdd9e5!important;border-radius:2px!important;background:#fff!important;
  color:#145a91!important;box-shadow:none!important;font-size:22px!important;line-height:1!important;
}
body.v9-map-first .weather-graph-system .timeline-main,
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-main,
body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .timeline-main{
  position:relative!important;display:grid!important;grid-template-rows:29px 57px!important;
  min-width:0!important;overflow:visible!important;gap:0!important;
}
body.v9-map-first .timeline-head{
  position:relative!important;display:flex!important;align-items:center!important;height:29px!important;
  padding:0!important;border-bottom:1px solid #d6e0e9!important;background:#fff!important;
}
body.v9-map-first .timeline-head>b,
body.v9-map-first .timeline-head>span,
body.v9-map-first .timeline-day-select,
body.v9-map-first #dockColorToggle{display:none!important}
body.v9-map-first #timeNow{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:42px!important;height:26px!important;margin:0!important;border:1px solid #cdd9e5!important;
  border-radius:2px!important;background:#fff!important;color:#145a91!important;
  font-size:11px!important;font-weight:800!important;text-transform:none!important;
}
body.v9-map-first #timePlay{
  position:absolute!important;right:0!important;top:1px!important;display:inline-flex!important;
  width:28px!important;min-width:28px!important;height:26px!important;margin:0!important;
  border:1px solid #cdd9e5!important;border-radius:2px!important;background:#fff!important;color:#145a91!important;
}
body.v9-map-first .timeline-range,
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-range{
  position:relative!important;height:57px!important;min-height:57px!important;
  overflow:visible!important;background:#fbfcfe!important;touch-action:none!important;
}
body.v9-map-first .timeline-days{
  position:absolute!important;z-index:1!important;left:0!important;right:0!important;top:0!important;
  display:flex!important;height:28px!important;overflow:hidden!important;background:#fff!important;
}
body.v9-map-first .timeline-days button{
  height:28px!important;padding:0 7px!important;border:0!important;border-left:1px solid #d8e2eb!important;
  border-bottom:1px solid #d8e2eb!important;background:#fff!important;color:#205680!important;
  font-size:11px!important;font-weight:800!important;text-align:left!important;white-space:nowrap!important;
}
body.v9-map-first .timeline-days button:first-child{border-left:0!important}
body.v9-map-first .timeline-days button.active{background:#f1f7fb!important;color:#0c4f83!important;box-shadow:inset 0 -2px #1c73b5!important}
body.v9-map-first .timeline-days button[data-phase="forecast"]{color:#205680!important}
body.v9-map-first .timeline-track,
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-track{
  position:absolute!important;z-index:2!important;left:0!important;right:0!important;top:28px!important;
  height:29px!important;border:0!important;background:#fbfcfe!important;
}
body.v9-map-first .timeline-track .tick,
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-track .tick{
  top:0!important;width:1px!important;height:7px!important;background:#b6c7d5!important;
}
body.v9-map-first .timeline-track .tick.major,
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-track .tick.major{height:12px!important;background:#4c7799!important}
body.v9-map-first .timeline-track .tick b,
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-track .tick b{
  display:block!important;top:14px!important;transform:translateX(-50%)!important;color:#3b6585!important;
  font-size:9px!important;font-weight:800!important;line-height:1!important;
}
body.v9-map-first .timeline-cursor{
  z-index:8!important;top:-28px!important;bottom:0!important;width:2px!important;
  background:#176fc0!important;box-shadow:none!important;
}
body.v9-map-first .timeline-cursor::before{
  top:23px!important;left:-4px!important;width:10px!important;height:10px!important;
  border:1px solid #fff!important;border-radius:50%!important;background:#176fc0!important;
}
body.v9-map-first .timeline-bubble{
  z-index:71!important;border-radius:2px!important;background:#0d4f81!important;
  box-shadow:0 4px 12px rgba(2,42,71,.28)!important;text-align:center!important;
}
body.v9-map-first .timeline-bubble::after{background:#0d4f81!important}
body.v9-map-first .timeline-bubble b,
body.v9-map-first .timeline-bubble span{color:#fff!important;font-size:11px!important;font-weight:900!important;line-height:1.14!important}
body.v9-map-first .timeline-bubble span{margin-top:3px!important}
body.v9-map-first #marineMap .maplibregl-ctrl-group{
  overflow:hidden!important;border:1px solid #cedbe6!important;border-radius:3px!important;
  background:#fff!important;box-shadow:0 2px 10px rgba(4,39,67,.18)!important;
}
body.v9-map-first #marineMap .maplibregl-ctrl-group button{background:#fff!important;color:#13588e!important}
body.v9-map-first #marineMap .maplibregl-ctrl-group button+button{border-top:1px solid #d9e3eb!important}
@media(max-width:899px){
  body.v9-map-first .weather-graph-system,
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"],
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"]{
    bottom:calc(50px + env(safe-area-inset-bottom))!important;height:90px!important;
  }
  body.v9-map-first .weather-graph-system .time-dock,
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .time-dock,
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .time-dock{height:88px!important;min-height:88px!important;padding:0 6px!important}
  body.v9-map-first .weather-graph-system .timeline-main,
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-main,
  body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .timeline-main{grid-template-rows:27px 53px!important}
  body.v9-map-first .timeline-range,
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-range{height:53px!important;min-height:53px!important}
  body.v9-map-first .timeline-days{height:27px!important}
  body.v9-map-first .timeline-days button{height:27px!important;padding:0 4px!important;font-size:9px!important}
  body.v9-map-first .timeline-track,
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-track{top:27px!important;height:26px!important}
  body.v9-map-first .timeline-track .tick b,
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-track .tick b{font-size:8px!important}
  body.v9-map-first .timeline-cursor{top:-27px!important}
}

/* v9.6.2: the day row is a first-class part of the white timeline rail. */
body.v9-map-first .weather-graph-system .timeline-days,
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-days,
body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .timeline-days{
  position:absolute!important;z-index:3!important;left:0!important;right:auto!important;top:0!important;
  display:flex!important;visibility:visible!important;height:28px!important;overflow:hidden!important;
  background:#fff!important;
}
body.v9-map-first .weather-graph-system .timeline-days button,
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-days button,
body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .timeline-days button{
  display:block!important;height:28px!important;line-height:28px!important;padding:0 7px!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  color:#205680!important;background:#fff!important;border:0!important;border-left:1px solid #d8e2eb!important;
  border-bottom:1px solid #d8e2eb!important;font-size:11px!important;font-weight:800!important;text-align:left!important;
}
body.v9-map-first .weather-graph-system .timeline-days button.active{background:#f1f7fb!important;color:#0c4f83!important;box-shadow:inset 0 -2px #1c73b5!important}

/* v9.7.0: the ruler stays compact, while the existing graph dock can genuinely open. */
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"]{height:96px!important}
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .graph-dock-handle{position:absolute!important;z-index:20!important;display:flex!important;left:50%!important;top:-22px!important;width:84px!important;height:22px!important;min-height:22px!important;transform:translateX(-50%)!important;border:1px solid #ccd9e3!important;border-bottom:0!important;border-radius:8px 8px 0 0!important;background:#fff!important;color:#145a91!important;cursor:ns-resize!important}
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .graph-dock-handle span{top:5px!important;width:28px!important;height:3px!important;background:#6d96b5!important}
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .graph-dock-handle b{margin-top:9px!important;font-size:8px!important}
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .graph-panel{display:none!important}
body.v9-map-first .weather-graph-system[data-dock-mode="half"],
body.v9-map-first .weather-graph-system[data-dock-mode="full"],
body.v9-map-first .weather-graph-system[data-dock-mode="custom"]{left:50%!important;right:auto!important;bottom:12px!important;transform:translateX(-50%)!important;width:min(980px,calc(100% - 24px))!important;height:var(--graph-dock-height)!important;max-height:calc(var(--atlas-visual-height,100dvh) - 76px)!important;border:1px solid rgba(160,204,209,.3)!important;border-radius:16px!important;background:rgba(4,23,31,.98)!important;box-shadow:0 18px 52px rgba(0,0,0,.42)!important;overflow:hidden!important;touch-action:none!important}
body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .graph-dock-handle{position:relative!important;display:flex!important;flex:none!important;left:auto!important;top:auto!important;width:100%!important;height:44px!important;min-height:44px!important;transform:none!important;border:0!important;border-bottom:1px solid rgba(160,204,209,.16)!important;border-radius:0!important;background:linear-gradient(180deg,rgba(11,42,52,.98),rgba(5,25,34,.86))!important;color:var(--muted)!important;cursor:ns-resize!important}
body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .graph-dock-handle span{top:8px!important;background:rgba(180,220,223,.45)!important}
body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .graph-dock-handle b{margin-top:12px!important;font-size:10px!important}
body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"])>.dock-lead{display:flex!important}
body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .graph-panel{display:flex!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .time-dock{position:relative!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;width:100%!important;height:118px!important;min-height:118px!important;padding:7px 10px!important;background:rgba(2,16,23,.92)!important;border-top:1px solid rgba(160,204,209,.18)!important}
body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .timeline-main{grid-template-rows:26px 20px 40px 20px 0!important}
body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .timeline-days{background:transparent!important}
body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .timeline-days button{background:transparent!important;color:#b8d2dc!important;border-color:rgba(160,204,209,.18)!important}
body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .timeline-track{background:transparent!important}
body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .timeline-track .tick b{color:#b8d2dc!important}
body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .timeline-bubble{background:#0d4f81!important}

/* The More menu is intentionally a short control sheet; advanced tools remain available on demand. */
body.v9-map-first .layer-information{width:min(390px,calc(100vw - 24px));max-height:min(70vh,560px);overflow:auto!important;border-radius:14px!important}
body.v9-map-first .layer-information .more-essentials{display:block!important}
.more-overlay-row{display:flex;align-items:center;gap:10px;padding:8px 0}.more-overlay-row>button{flex:none!important;min-height:38px!important;padding:0 12px!important}.more-overlay-row label{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;flex:1;color:var(--muted);font-size:10px;font-weight:800}.more-overlay-row input{width:100%;accent-color:var(--accent)}.more-overlay-row output{min-width:30px;color:var(--ink);font-variant-numeric:tabular-nums}.advanced-layer-options{margin:6px 0;border-top:1px solid var(--line)}.advanced-layer-options>summary{cursor:pointer;padding:13px 3px;color:var(--muted);font-size:11px;font-weight:850;list-style:none}.advanced-layer-options>summary::-webkit-details-marker{display:none}.advanced-layer-options>summary::after{content:'⌄';float:right}.advanced-layer-options[open]>summary::after{content:'⌃'}
@media(max-width:899px){body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]){left:8px!important;right:8px!important;width:auto!important;bottom:56px!important;transform:none!important}body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .time-dock{grid-template-columns:38px minmax(0,1fr) 38px!important;height:104px!important;min-height:104px!important;padding:6px!important}body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .timeline-main{grid-template-rows:25px 19px 36px 18px 0!important}body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .graph-dock-handle{top:-20px!important}}
@media(max-width:899px){
  body.v9-map-first .weather-graph-system .timeline-days,
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-days{height:27px!important}
  body.v9-map-first .weather-graph-system .timeline-days button,
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-days button{height:27px!important;line-height:27px!important;padding:0 4px!important;font-size:9px!important}
}

/* Direct VÍ precipitation frames deliberately stay visually untouched. */
.official-precip-viewer{position:absolute;inset:0;z-index:4;display:grid;place-items:center;background:#eaf2f6;pointer-events:none;overflow:hidden}
.official-precip-viewer[hidden]{display:none}
.official-precip-viewer img{width:100%;height:100%;object-fit:contain;object-position:center;image-rendering:auto}
.official-precip-viewer p{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);margin:0;padding:6px 10px;border-radius:6px;background:rgba(5,43,78,.92);color:#fff;font-size:11px;font-weight:800;white-space:nowrap;box-shadow:0 2px 12px rgba(0,0,0,.18)}
.official-precip-viewer[data-ready="true"] p{display:none}
body.official-vedur-layer #particleCanvas{opacity:0!important}
@media(max-width:899px){.official-precip-viewer{background:transparent}.official-precip-viewer img{object-position:center top}.official-precip-viewer p{bottom:8px;max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis}}

/* Keep the short More sheet in the visible desktop safe area.  The map-first
   toolbar is top-aligned on wide screens, so anchoring this panel to its
   bottom could otherwise place the close button above the viewport. */
@media(min-width:900px){
  body.v9-map-first .layer-information{position:fixed!important;z-index:98!important;top:80px!important;bottom:auto!important;left:50%!important;right:auto!important;transform:translateX(-50%);width:min(390px,calc(100vw - 24px));max-height:calc(100vh - 104px)}
}

/* More must finish above the timeline dock.  Otherwise the lower sea-layer
   buttons look visible while the dock receives their clicks. */
@media(min-width:900px){
  body.v9-map-first .layer-information{bottom:auto!important;height:calc(100dvh - var(--graph-system-height,112px) - 162px)!important;max-height:none!important}
}

/* v9.11: More is only for data layers.  Map controls live behind Settings. */
.settings-menu-trigger{min-width:86px!important}.layer-information .layer-menu-section{display:block!important;padding:10px 0;border-top:1px solid var(--line)}.layer-information .layer-menu-section:first-of-type{border-top:0}.layer-menu-section>strong{display:block;margin:0 0 7px;color:var(--accent);font-size:10px;letter-spacing:.08em}.layer-menu-section>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.layer-menu-section button{min-width:0!important;min-height:54px!important;display:grid!important;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;text-align:left!important;padding:7px 8px!important;border:1px solid var(--line)!important;border-radius:9px!important;background:rgba(100,150,160,.06)!important}.layer-menu-section button>span:first-child{font-size:15px;text-align:center}.layer-menu-section button>span:nth-child(2){min-width:0}.layer-menu-section button b,.layer-menu-section button small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer-menu-section button b{font-size:11px}.layer-menu-section button small{margin-top:2px;color:var(--muted);font-size:9px}.layer-menu-section button>i{visibility:hidden;font-style:normal;color:var(--accent)}.layer-menu-section button.active>i{visibility:visible}.layer-menu-section button.active{border-color:rgba(67,214,207,.52)!important;background:var(--accent-soft)!important}.layer-menu-note{margin:10px 0 2px;color:var(--muted);font-size:10px;line-height:1.4}
body.v9-map-first .appearance-panel{z-index:99!important;width:min(390px,calc(100vw - 24px))!important;max-height:calc(100dvh - 104px)!important;overflow:auto!important}.settings-quick-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin:11px 0 8px}.settings-quick-actions button,.settings-toggles button{min-height:38px;border:1px solid var(--line);border-radius:8px;background:rgba(100,150,160,.08);color:var(--ink);font-size:10px;font-weight:780}.settings-quick-actions button.active{background:var(--accent-soft);border-color:rgba(67,214,207,.52)}.settings-opacity{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin:8px 0 13px;color:var(--muted);font-size:10px;font-weight:780}.settings-opacity input{width:100%;accent-color:var(--accent)}.settings-opacity output{color:var(--ink);font-variant-numeric:tabular-nums}.settings-toggles{padding:10px 0 12px;border-top:1px solid var(--line)}.settings-toggles>strong{display:block;margin-bottom:7px;color:var(--accent);font-size:10px;letter-spacing:.08em}.settings-toggles>div{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}
@media(max-width:899px){.layer-information .layer-menu-section>div{grid-template-columns:1fr 1fr}.layer-menu-section button{min-height:50px!important}body.v9-map-first .appearance-panel{left:8px!important;right:8px!important;top:auto!important;bottom:62px!important;width:auto!important;max-height:min(62dvh,560px)!important}}

.settings-quick-actions{grid-template-columns:1fr 1fr}
.settings-reference-layer button{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;text-align:left}.settings-reference-layer button span,.settings-reference-layer button b,.settings-reference-layer button small{display:block}.settings-reference-layer button b{font-size:11px}.settings-reference-layer button small{margin-top:2px;color:var(--muted);font-size:9px;font-weight:650;line-height:1.25}.settings-reference-layer button.active{border-color:rgba(67,214,207,.52);background:var(--accent-soft)}.settings-reference-layer button i{font-style:normal;color:var(--accent);font-size:15px}

/* Keep every scrollable map menu wholly above the live graph/timeline dock.
   The dock height changes when graphs expand, so use its measured CSS variable
   instead of a fixed phone/desktop pixel guess. */
@media(min-width:900px){
  body.v9-map-first .appearance-panel{position:fixed!important;top:80px!important;bottom:calc(var(--graph-system-height,112px) + 18px)!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain}
}
@media(max-width:899px){
  body.v9-map-first .layer-information,
  body.v9-map-first .appearance-panel{position:fixed!important;top:72px!important;bottom:calc(var(--graph-system-height,112px) + var(--phone-tab-height,50px) + 16px + env(safe-area-inset-bottom) + var(--atlas-visual-bottom,0px))!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  body.v9-map-first .layer-information{left:8px!important;right:8px!important;width:auto!important}
  body.v9-map-first .appearance-panel{left:8px!important;right:8px!important;width:auto!important}
}

/* v9.11.34 mobile interaction pass: keep controls readable and reachable rather
   than compressing six actions into the width of a phone.  These final rules
   deliberately override the older compact-toolbar experiments above. */
.timeline-graphs-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:30px;border:1px solid #cdd9e5;border-radius:6px;background:#fff;color:#145a91;font-weight:800}
.graph-cursor-time{flex:none;color:#dff8f6;font-size:9px;font-weight:900;font-variant-numeric:tabular-nums;white-space:nowrap}
.graph-cursor-summary small{margin-left:1px;color:var(--muted);font-size:7px;font-style:normal;text-transform:uppercase}
.graph-track-canvas{touch-action:pan-y}
@media(max-width:899px){
  body.v9-map-first .layer-rail{
    left:8px!important;right:8px!important;top:auto!important;
    bottom:calc(var(--graph-system-height,132px) + var(--phone-tab-height,50px) + 8px)!important;
    max-width:none!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;
    gap:5px!important;padding:6px!important;border-radius:16px 16px 0 0!important;overflow:visible!important;
  }
  body.v9-map-first .layer-rail .layer-bar-tools{display:block!important;width:100%!important;min-width:0!important}
  body.v9-map-first .primary-layer-switcher,
  body.v9-map-first .station-mode-row,
  body.v9-map-first[data-phone-tab="stations"] .station-mode-row{
    position:static!important;display:flex!important;align-items:stretch!important;width:100%!important;min-width:0!important;
    min-height:48px!important;gap:4px!important;padding:2px!important;border:0!important;border-radius:12px!important;
    background:rgba(118,118,128,.24)!important;overflow-x:auto!important;overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;touch-action:pan-x;
  }
  body.v9-map-first .primary-layer-switcher::-webkit-scrollbar,
  body.v9-map-first .station-mode-row::-webkit-scrollbar{display:none}
  body.v9-map-first .primary-layer-switcher>button,
  body.v9-map-first .station-mode-row button,
  body.v9-map-first[data-phone-tab="stations"] .station-mode-row button{
    display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;
    min-width:82px!important;width:auto!important;height:44px!important;min-height:44px!important;
    padding:0 13px!important;border:0!important;border-radius:10px!important;scroll-snap-align:start;
    white-space:nowrap!important;font-size:14px!important;touch-action:pan-x;
  }
  body.v9-map-first .primary-layer-switcher .layer-menu-trigger{min-width:94px!important}
  body.v9-map-first .station-mode-row button.active{background:rgba(99,99,102,.95)!important;color:#fff!important}
  /* Station filters are the one control group that must be immediately available:
     all four fit on a phone, while the longer layer row remains swipeable. */
  body.v9-map-first .station-mode-row,
  body.v9-map-first[data-phone-tab="stations"] .station-mode-row{overflow-x:visible!important}
  body.v9-map-first .station-mode-row button,
  body.v9-map-first[data-phone-tab="stations"] .station-mode-row button{flex:1 1 0!important;min-width:62px!important;padding:0 7px!important;font-size:13px!important}
  body.v9-map-first[data-phone-tab="stations"] .layer-rail{top:0!important;bottom:auto!important;border-radius:0!important}
  /* A half-open graph must not make the layer and station controls disappear.
     The user can still collapse or expand the graph without losing filters. */
  body.v9-map-first:has(.weather-graph-system[data-dock-mode="half"]) .layer-rail{display:flex!important}

  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"]{
    height:var(--graph-dock-height,132px)!important;min-height:132px!important;
  }
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .graph-dock-handle{display:none!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .time-dock{
    height:132px!important;min-height:132px!important;grid-template-columns:40px minmax(0,1fr) 40px!important;
    padding:6px 8px!important;
  }
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-main{
    grid-template-rows:34px 62px 18px!important;gap:1px!important;
  }
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-head{
    display:grid!important;grid-template-columns:48px minmax(0,1fr) 48px!important;align-items:center!important;gap:5px!important;
  }
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-head>#timeLabel,
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-head>#timeKind,
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-head>#dockColorToggle,
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-head>#timePlay{display:none!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-now,
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-graphs-toggle{
    display:flex!important;align-items:center!important;justify-content:center!important;width:48px!important;height:30px!important;
    min-height:30px!important;margin:0!important;border:1px solid #cdd9e5!important;border-radius:6px!important;
    background:#fff!important;color:#145a91!important;font-size:10px!important;font-weight:900!important;
  }
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-day-select{display:block!important;min-width:0!important;margin:0!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-day-select select{
    display:block!important;width:100%!important;max-width:none!important;height:30px!important;padding:0 6px!important;
    border:1px solid #cdd9e5!important;border-radius:6px!important;background:#fff!important;color:#145a91!important;
    font-size:10px!important;font-weight:850!important;
  }
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-range{height:62px!important;min-height:62px!important;overflow:visible!important}
  /* The exact time belongs to the scrubber, never fixed at the top of the map. */
  body.v9-map-first .weather-graph-system .timeline-bubble{position:absolute!important;top:-6px!important;left:50%!important;transform:translateX(-50%)!important;z-index:8!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-days{display:none!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-track{top:0!important;height:62px!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-cursor{top:0!important;bottom:0!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-bubble{
    position:absolute!important;z-index:90!important;top:-6px!important;transform:translate(-50%,-100%)!important;
  }
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .forecast-ribbon-wrap{height:18px!important}
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] #forecastRibbon{height:18px!important}

  body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .graph-track{height:166px!important;min-height:166px!important}
  body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .graph-track-canvas,
  body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .graph-empty{height:128px!important;min-height:128px!important;max-height:128px!important}
  body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .graph-cursor-readout{display:inline-flex!important}
  body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .graph-cursor-summary{top:4px!important}
}
@media(min-width:700px) and (max-width:1023px){
  body.v9-map-first .inspect-sheet.station-sheet{left:10px!important;right:10px!important;bottom:calc(var(--graph-system-height,112px) + 16px)!important;transform:none!important;width:auto!important;max-width:none!important;max-height:min(72dvh,680px)!important}
}

/* v9.11.39 — touch-first information architecture.  These rules sit last on
   purpose: earlier Atlas iterations contain several competing compact-toolbar
   experiments.  The controls below preserve their existing IDs and JS events. */
.primary-rail-hint,.timeline-day-affordance,.graph-mobile-help{display:none}
.layer-menu-intro{margin:7px 0 8px;color:var(--muted);font-size:10px;line-height:1.4}
.layer-menu-group{margin:6px 0;border:1px solid rgba(160,204,209,.18);border-radius:10px;background:rgba(100,150,160,.045);overflow:hidden}
.layer-menu-group>summary{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:46px;padding:7px 10px;cursor:pointer;list-style:none;color:var(--ink)}
.layer-menu-group>summary::-webkit-details-marker{display:none}
.layer-menu-group>summary>span b,.layer-menu-group>summary>span small{display:block}.layer-menu-group>summary>span b{font-size:12px}.layer-menu-group>summary>span small{margin-top:2px;color:var(--muted);font-size:9px;font-weight:700}.layer-menu-group>summary>em{display:inline-flex;align-items:center;gap:5px;color:var(--accent);font-size:9px;font-style:normal;font-weight:850}.layer-menu-group>summary>em::after{content:'⌄';font-size:13px}.layer-menu-group[open]>summary{border-bottom:1px solid var(--line);background:rgba(67,214,207,.065)}.layer-menu-group[open]>summary>em::after{content:'⌃'}
.layer-menu-group .layer-menu-section{padding:8px!important;border:0!important}.layer-menu-group .layer-menu-section>div,.layer-menu-group .advanced-layer-options>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.layer-menu-group .advanced-layer-options{margin:8px 0 0;border-top:1px solid var(--line)}.layer-menu-group .advanced-layer-options>summary{display:flex;align-items:center;justify-content:space-between;min-height:38px;padding:0 3px;color:var(--muted);font-size:10px;font-weight:800}.layer-menu-group .advanced-layer-options>summary small{color:var(--accent);font-size:9px}.layer-menu-group .advanced-layer-options>summary::after{content:'⌄';float:none}.layer-menu-group .advanced-layer-options[open]>summary::after{content:'⌃'}

@media(max-width:899px){
  /* The rail remains compact but now explains that it contains an intentional
     horizontal carousel.  The hint is text, not an animation, and never
     intercepts a swipe. */
  body.v9-map-first .layer-rail{gap:3px!important}
  body.v9-map-first .primary-layer-switcher{scroll-padding-inline:8px!important;scroll-snap-type:x mandatory!important;scrollbar-width:none!important}
  body.v9-map-first .primary-layer-switcher>button,body.v9-map-first .primary-layer-switcher>.quick-select{scroll-snap-align:start!important}
  body.v9-map-first .primary-layer-switcher::after{content:'';position:sticky;right:0;display:block;flex:0 0 22px;align-self:stretch;margin-left:-22px;pointer-events:none;background:linear-gradient(90deg,rgba(7,28,36,0),rgba(7,28,36,.96))}
  .primary-rail-hint{display:flex;align-items:center;justify-content:center;gap:5px;min-height:16px;margin:0 2px;color:#bed7db;font-size:9px;font-weight:760;letter-spacing:.015em;line-height:1.15;text-align:center;pointer-events:none}.primary-rail-hint span{color:var(--accent);font-size:12px;line-height:1}

  /* More opens as a concise control sheet.  Common weather layers are visible
     immediately; sea and specialist layers stay one native tap away. */
  body.v9-map-first .layer-information{top:auto!important;left:8px!important;right:8px!important;bottom:calc(var(--graph-system-height,132px) + var(--phone-tab-height,50px) + 24px + env(safe-area-inset-bottom) + var(--atlas-visual-bottom,0px))!important;width:auto!important;max-height:min(50dvh,410px)!important;padding:9px 10px!important;border-radius:16px!important;box-shadow:0 16px 42px rgba(0,0,0,.42)!important}
  body.v9-map-first .layer-information>header{min-height:38px!important;padding-bottom:5px!important}.layer-menu-intro{margin:4px 0 7px;font-size:9px;line-height:1.35}.layer-menu-group{margin:5px 0;border-radius:9px}.layer-menu-group>summary{min-height:42px;padding:6px 9px}.layer-menu-group .layer-menu-section{padding:7px!important}.layer-menu-group .layer-menu-section>div,.layer-menu-group .advanced-layer-options>div{gap:5px}.layer-menu-group .layer-menu-section button{min-height:46px!important;padding:5px 7px!important;grid-template-columns:18px minmax(0,1fr) auto!important}.layer-menu-group .layer-menu-section button>span:first-child{font-size:13px}.layer-menu-group .layer-menu-section button b{font-size:10px}.layer-menu-group .layer-menu-section button small{display:none!important}.layer-menu-group .advanced-layer-options{margin-top:7px}.layer-menu-group .advanced-layer-options>summary{min-height:34px;font-size:9px}.layer-menu-note{margin:7px 1px 1px!important;font-size:9px!important;line-height:1.3!important}

  /* The day picker is deliberately part of the phone's first timeline row.
     It carries a persistent 06:00 anchor without changing the selection logic. */
  body.v9-map-first .weather-graph-system .timeline-head,body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-head{display:grid!important;grid-template-columns:48px minmax(0,1fr) 48px!important;align-items:center!important;gap:5px!important;min-height:34px!important;height:34px!important}
  body.v9-map-first .weather-graph-system .timeline-head>#timeLabel,body.v9-map-first .weather-graph-system .timeline-head>#timeKind,body.v9-map-first .weather-graph-system .timeline-head>#dockColorToggle,body.v9-map-first .weather-graph-system .timeline-head>#timePlay{display:none!important}
  body.v9-map-first .weather-graph-system .timeline-now,body.v9-map-first .weather-graph-system .timeline-graphs-toggle{display:flex!important;align-items:center!important;justify-content:center!important;width:48px!important;height:30px!important;min-height:30px!important;margin:0!important;border:1px solid #cdd9e5!important;border-radius:6px!important;background:#fff!important;color:#145a91!important;font-size:10px!important;font-weight:900!important}
  body.v9-map-first .weather-graph-system .timeline-day-select{position:relative!important;display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;align-items:center!important;gap:4px!important;min-width:0!important;margin:0!important}
  body.v9-map-first .weather-graph-system .timeline-day-affordance{display:grid!important;grid-template-rows:1fr 1fr;align-content:center;justify-items:center;min-width:42px;height:30px;padding:3px 2px;border:1px solid #9bc6e5;border-radius:6px;background:#eaf5fc;color:#145a91;line-height:1}
  body.v9-map-first .weather-graph-system .timeline-day-affordance small{font-size:7px;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.timeline-day-affordance b{font-size:9px;font-variant-numeric:tabular-nums}
  body.v9-map-first .weather-graph-system .timeline-day-select select{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;height:30px!important;padding:0 4px!important;border:1px solid #cdd9e5!important;border-radius:6px!important;background:#fff!important;color:#145a91!important;font-size:10px!important;font-weight:850!important;text-overflow:ellipsis}
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-main{grid-template-rows:34px 62px 18px!important}
  body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .timeline-main{grid-template-rows:34px 42px 18px!important}
  body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .timeline-range{height:42px!important;min-height:42px!important}
  body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .timeline-track{top:0!important;height:42px!important}
  body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .timeline-days{display:none!important}
  body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .timeline-cursor{top:0!important;bottom:0!important}
  body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .timeline-bubble{top:-4px!important;transform:translate(-50%,-100%)!important}

  /* Put the exact time and graph values where a thumb is already looking. */
  body.v9-map-first .weather-graph-system .timeline-bubble{min-width:126px!important;max-width:calc(100vw - 102px)!important;padding:6px 8px!important;text-align:center!important}
  body.v9-map-first .weather-graph-system .timeline-bubble b,body.v9-map-first .weather-graph-system .timeline-bubble span{font-size:10px!important;font-variant-numeric:tabular-nums!important}
  body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .graph-mobile-help{display:block!important;flex:none;margin:0;padding:5px 10px;border-bottom:1px solid rgba(160,204,209,.14);color:#c7e6e5;background:rgba(67,214,207,.07);font-size:9px;font-weight:760;line-height:1.32}
  body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) #graphPanelBody{height:auto!important;min-height:0!important}
  body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .graph-track-canvas{outline:1px solid rgba(103,235,224,.2);outline-offset:-1px}
  body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .graph-cursor-summary{top:5px!important;left:6px!important;right:6px!important;padding:2px!important;border-radius:7px!important;background:rgba(3,18,24,.54)}
  body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .graph-cursor-summary>span{min-height:21px!important;padding:2px 5px!important}
  body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .graph-cursor-readout{display:inline-flex!important;min-height:20px!important;padding:2px 5px!important;font-size:9px!important}
}

@media(max-width:390px){
  body.v9-map-first .weather-graph-system .timeline-head,body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-head{grid-template-columns:44px minmax(0,1fr) 44px!important;gap:3px!important}
  body.v9-map-first .weather-graph-system .timeline-now,body.v9-map-first .weather-graph-system .timeline-graphs-toggle{width:44px!important;font-size:9px!important}
  body.v9-map-first .weather-graph-system .timeline-day-select{grid-template-columns:39px minmax(0,1fr)!important;gap:3px!important}
  body.v9-map-first .weather-graph-system .timeline-day-affordance{min-width:39px!important;font-size:8px!important}.timeline-day-affordance b{font-size:8px!important}
  body.v9-map-first .weather-graph-system .timeline-day-select select{font-size:9px!important}
}

/* The selector used to retain an old flex `order`, which pushed it into the
   right-hand graph slot on phones.  Place each control explicitly so the
   actual date is readable and every choice still lands on the 06:00 anchor. */
@media(max-width:899px){
  body.v9-map-first .weather-graph-system .timeline-head>.timeline-now{grid-column:1!important;grid-row:1!important;order:initial!important}
  body.v9-map-first .weather-graph-system .timeline-head>.timeline-day-select{display:block!important;grid-column:2!important;grid-row:1!important;order:initial!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important}
  body.v9-map-first .weather-graph-system .timeline-head>.timeline-day-select .timeline-day-affordance{display:none!important}
  body.v9-map-first .weather-graph-system .timeline-head>.timeline-day-select select{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;padding:0 7px!important;font-size:10px!important;text-overflow:ellipsis!important}
  body.v9-map-first .weather-graph-system .timeline-head>.timeline-graphs-toggle{grid-column:3!important;grid-row:1!important;order:initial!important}
  /* 34 + 42 + 18 pixels of timeline rows need a real 100px content area.
     The old 104px outer dock clipped the last ruler row when the graph dock
     was expanded on a 390px phone. */
  body.v9-map-first .weather-graph-system:not([data-dock-mode="collapsed"]) .time-dock{height:112px!important;min-height:112px!important;padding:6px!important}
}

/* Desktop keeps the same deliberate day choice as touch: it is an actual
   selector (not a decorative day heading) and always starts at 06:00. */
@media(min-width:900px){
  body.v9-map-first .weather-graph-system .timeline-day-select{display:block!important;flex:0 1 208px!important;min-width:156px!important;margin:0 4px!important}
  body.v9-map-first .weather-graph-system .timeline-day-select select{display:block!important;width:100%!important;max-width:none!important;height:30px!important;padding:0 8px!important;border:1px solid rgba(139,200,205,.48)!important;border-radius:7px!important;background:rgba(12,50,61,.94)!important;color:#e8ffff!important;font-size:10px!important;font-weight:850!important}
  body.v9-map-first .weather-graph-system .timeline-day-affordance{display:none!important}
}

/* Keep playback reachable alongside the day picker and preserved graph dock. */
@media(max-width:899px){
  body.v9-map-first .weather-graph-system .timeline-head,
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-head{grid-template-columns:44px minmax(0,1fr) 42px 32px!important;gap:4px!important}
  body.v9-map-first .weather-graph-system .timeline-now{width:44px!important}
  body.v9-map-first .weather-graph-system .timeline-graphs-toggle{width:42px!important}
  body.v9-map-first .weather-graph-system .timeline-head>#timePlay,
  body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-head>#timePlay{display:flex!important;grid-column:4!important;grid-row:1!important;width:32px!important;min-width:32px!important;height:30px!important;align-items:center;justify-content:center;border:1px solid #cdd9e5!important;border-radius:6px;background:#fff!important;color:#145a91!important}
}
/* 9.12.0: drawer geometry is owned by its three stops, never by graph content.
   ID specificity deliberately wins over the legacy neutral/regional sheets. */
body.v9-map-first #weatherGraphSystem {
  display:flex!important;flex-direction:column!important;box-sizing:border-box!important;
  height:var(--graph-dock-height,142px)!important;min-height:0!important;max-height:none!important;
  top:auto!important;bottom:calc(var(--graph-dock-bottom,8px) + var(--atlas-visual-bottom,0px))!important;
  left:50%!important;right:auto!important;width:min(980px,calc(100% - 16px))!important;
  transform:translateX(-50%)!important;padding:0!important;gap:0!important;overflow:visible!important;
}
body.v9-map-first #weatherGraphSystem #graphDockHandle {
  position:relative!important;display:flex!important;flex:0 0 32px!important;
  top:auto!important;left:auto!important;transform:none!important;width:100%!important;
  height:32px!important;min-height:32px!important;margin:0!important;touch-action:none!important;
}
body.v9-map-first #weatherGraphSystem #graphDockHandle span {top:5px!important}
body.v9-map-first #weatherGraphSystem #graphDockHandle b {margin-top:10px!important}
body.v9-map-first #weatherGraphSystem #graphDockMove {cursor:default!important}
body.v9-map-first #weatherGraphSystem #timeDock {display:grid!important;flex:0 0 108px!important;height:108px!important;min-height:108px!important;box-sizing:border-box!important}
body.v9-map-first #weatherGraphSystem[data-dock-mode="collapsed"] > :not(#graphDockHandle):not(#timeDock):not(#mapLayoutBar):not(#layoutStationPanel):not(#officialInsight) {display:none!important}
body.v9-map-first #weatherGraphSystem:not([data-dock-mode="collapsed"]) #graphPanel {display:flex!important;flex:1 1 0!important;height:auto!important;min-height:0!important;overflow:hidden!important}
body.v9-map-first #weatherGraphSystem #graphPanelBody {flex:1 1 0!important;height:auto!important;min-height:0!important;overflow:auto!important;overscroll-behavior:contain}
body.v9-map-first #weatherGraphSystem[data-dock-mode="half"] :is(#dockLead,#graphDockMove,#graphMobileHelp) {display:none!important}
body.v9-map-first #weatherGraphSystem[data-dock-mode="half"] #graphTrackList {height:auto!important;min-height:0!important;flex:1 0 auto!important}
body.v9-map-first:is(.ui-hidden,.route-mode,.harbours-mode,.land-mode) #weatherGraphSystem.weather-graph-system[data-dock-mode],
body.v9-map-first #weatherGraphSystem.weather-graph-system[data-dock-mode][hidden] {display:none!important}
/* Keep the map's upper half free when the drawer is expanded on a phone. */
@media(max-width:899px){
  body.v9-map-first:not([data-dock-mode="collapsed"]) .layer-rail {visibility:hidden!important;pointer-events:none!important}
}
/* A station gets the space above peek, with no duplicate card behind it. */
body.v9-map-first #inspectSheet.station-sheet {
  position:fixed!important;box-sizing:border-box!important;left:12px!important;right:12px!important;
  top:12px!important;bottom:calc(var(--graph-dock-bottom,8px) + 150px + var(--atlas-visual-bottom,0px))!important;
  width:auto!important;height:auto!important;max-height:none!important;max-width:none!important;
  transform:none!important;margin:0!important;overflow:hidden!important;
}
body.v9-map-first #inspectSheet.station-sheet #inspectContent {height:100%!important;min-height:0!important;overflow:auto!important;overscroll-behavior:contain}
@media(min-width:900px){
  body.v9-map-first #inspectSheet.station-sheet {left:12px!important;top:64px!important;width:calc(100vw - 24px)!important;padding:8px!important}
  body.v9-map-first #inspectSheet.station-sheet .inspect-head {
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(240px,.7fr)!important;
    grid-template-areas:"kicker compass" "title compass" "now compass" "trust action" "time links"!important;
    gap:2px 16px!important;padding-right:44px!important;
  }
  body.v9-map-first #inspectSheet.station-sheet .station-overview-visual {grid-area:compass;margin:0!important}
  body.v9-map-first #inspectSheet.station-sheet .station-now-line {grid-area:now}
  body.v9-map-first #inspectSheet.station-sheet .inspect-head>[data-add-station-graph] {grid-area:action;margin:0!important;min-height:30px!important;padding:4px!important}
  body.v9-map-first #inspectSheet.station-sheet #stationRefresh {position:absolute;right:52px;top:8px}
  body.v9-map-first #inspectSheet.station-sheet #inspectContent {padding-right:0!important}
  body.v9-map-first #inspectSheet.station-sheet .inspect-head {padding-right:72px!important}
  body.v9-map-first #inspectSheet.station-sheet .station-tabs {display:flex!important;flex-wrap:nowrap!important;margin:4px 0!important}
  body.v9-map-first #inspectSheet.station-sheet .station-tabs button {flex:1;min-width:0}
  body.v9-map-first #inspectSheet.station-sheet .station-obs-stack {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding-bottom:0!important}
  body.v9-map-first #inspectSheet.station-sheet .station-obs-panel {min-width:0;margin:0;padding:4px}
  body.v9-map-first #inspectSheet.station-sheet .station-obs-panel header {min-height:30px;flex-wrap:wrap;gap:2px;font-size:10px}
  body.v9-map-first #inspectSheet.station-sheet .station-obs-panel svg {height:78px!important;min-height:0!important}
  body.v9-map-first #inspectSheet.station-sheet .station-obs-panel svg text {font-size:18px!important}
  body.v9-map-first #inspectSheet.station-sheet .station-chart :is(header,.station-chart-tooltip,.station-chart-scrub,.station-chart-now-row) {margin:2px 0!important}
  body.v9-map-first #inspectSheet.station-sheet .station-compass {width:140px}
  body.v9-map-first #inspectSheet.station-sheet .station-compass svg {width:40px;height:40px}
  body.v9-map-first #inspectSheet.station-sheet .station-now-line {display:flex!important;gap:8px}
  body.v9-map-first #inspectSheet.station-sheet .inspect-head p {margin:0!important;line-height:1.35}
  body.v9-map-first #inspectSheet.station-sheet .station-chart {display:grid!important;grid-template-columns:minmax(0,1fr) 88px;gap:2px 8px}
  body.v9-map-first #inspectSheet.station-sheet .station-chart-canvas {grid-column:1/-1;order:0!important}
  body.v9-map-first #inspectSheet.station-sheet .station-chart>header {grid-column:1/-1;order:1!important;min-height:22px}
  body.v9-map-first #inspectSheet.station-sheet .station-chart>header>div {display:flex;align-items:baseline;gap:8px}
  body.v9-map-first #inspectSheet.station-sheet .station-chart-tooltip {grid-column:1/-1;order:2!important;min-height:0!important;display:block!important;padding:4px!important;white-space:normal!important}
  body.v9-map-first #inspectSheet.station-sheet .station-chart-tooltip b {font-size:11px!important;white-space:normal!important;line-height:1.35}
  body.v9-map-first #inspectSheet.station-sheet .station-chart-tooltip span {margin-right:8px}
  body.v9-map-first #inspectSheet.station-sheet .station-chart-scrub {grid-column:1;order:3!important}
  body.v9-map-first #inspectSheet.station-sheet .station-chart-now-row {grid-column:2;order:3!important}
  body.v9-map-first #inspectSheet.station-sheet .station-chart-hint {grid-column:1/-1;order:4!important;margin:0!important;font-size:10px}
}

/* v9.13.0 — D1 timeline readout: the selected instant and its real source run. */
body.v9-map-first .weather-graph-system,
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"],
body.v9-map-first .weather-graph-system[data-dock-mode="timeline"]{height:138px!important}
body.v9-map-first .weather-graph-system .time-dock,
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .time-dock,
body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .time-dock{height:136px!important;min-height:136px!important}
body.v9-map-first .weather-graph-system .timeline-main,
body.v9-map-first .weather-graph-system[data-dock-mode="collapsed"] .timeline-main,
body.v9-map-first .weather-graph-system[data-dock-mode="timeline"] .timeline-main{grid-template-rows:70px 57px!important}
body.v9-map-first .timeline-head{height:70px!important;display:flex!important;gap:12px!important;border:0!important;background:transparent!important}
body.v9-map-first .timeline-live-label{display:flex;min-width:0;flex:1;flex-direction:column;justify-content:center;padding:8px 12px;border-radius:8px;background:#173f59;color:#fff}
body.v9-map-first .timeline-live-label #timeLabel{display:block!important;color:#fff!important;font-size:25px!important;font-weight:850!important;line-height:1.05!important;white-space:nowrap}
body.v9-map-first #timelineMeta{display:block;color:#dcecf4;font-size:11px;font-weight:700;line-height:1.25;margin-top:5px;white-space:normal}
body.v9-map-first .timeline-actions{position:relative;display:flex;align-items:center;gap:7px;flex:0 0 auto}
body.v9-map-first .timeline-actions #timePlay{position:static!important}
body.v9-map-first .timeline-track .tick.midnight{width:2px!important;height:22px!important;background:#168fca!important}
body.v9-map-first .timeline-track .tick .tick-day{top:25px!important;min-width:48px;color:#145a91!important;font-size:9px!important;letter-spacing:.02em;white-space:nowrap}
.camera-views{display:flex;gap:4px;margin:10px 0 6px;overflow-x:auto;scrollbar-width:none}.camera-views button{flex:0 0 auto;min-height:32px;max-width:46%;padding:0 10px;border:1px solid var(--line);border-radius:99px;background:transparent;color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.camera-views button.active{border-color:rgba(67,214,207,.55);background:var(--accent-soft);color:var(--ink)}
.camera-views{flex-wrap:wrap;overflow:visible}.camera-views button{max-width:100%}
