/* The data panel shares the same 16:9 stage as the actual satellite imagery. */
.is-hero .hero-message{left:5.4%;top:27%;max-width:65%}
.hero-message h1{font-size:clamp(28px,4.35vw,82px);line-height:1.13;letter-spacing:-.05em}
.hero-message h1 em{color:#36aa3e}
.hero-message p{font-size:clamp(12px,1.05vw,19px);margin:23px 0}
.hero-eyebrow{display:flex;align-items:center;gap:9px;font-size:9px;margin-bottom:23px}
.hero-eyebrow i{height:5px;width:5px;border-radius:50%;background:var(--accent)}
#explore-analysis span{line-height:1}
.is-hero .viewer-controls>.mode-switch{display:flex}
.is-hero .viewer-shade{background:linear-gradient(90deg,#03090ff5 0%,#03090fe0 31%,#03090f72 59%,#03090f25 100%),linear-gradient(180deg,#03090fbd,transparent 24%,transparent 60%,#03090ff5)}
.viewer-topbar{left:4%;right:4%}
#radar-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;opacity:.85}
#station-markers{position:absolute;inset:0;z-index:2;pointer-events:none}
.station-dot{position:absolute;transform:translate(-50%,-50%);border:0;background:none;padding:12px;pointer-events:auto;cursor:pointer}
.station-dot i{display:block;width:7px;height:7px;border-radius:50%;background:#c8f191;box-shadow:0 0 0 4px #0a211ca0,0 0 0 5px #36aa3e40}
.station-dot.rain i{background:#59eac0;box-shadow:0 0 0 6px #59eac030,0 0 22px #59eac080}
.station-dot.stale i{background:#ad9166;box-shadow:0 0 0 4px #4b402d55}
.station-dot span{position:absolute;left:28px;top:7px;font:8px var(--mono);white-space:nowrap;background:#071319c9;color:#d8e7de;padding:4px 6px}
.station-dot.updated i:after{content:'';position:absolute;inset:8px;border:1px solid #36aa3e;border-radius:50%;animation:measurement-arrived 2s ease-out 2}
@keyframes measurement-arrived{0%{transform:scale(.5);opacity:1}100%{transform:scale(3);opacity:0}}
.is-hero #station-markers{opacity:.65}
.weather-card{position:absolute;right:4%;top:18%;width:24%;min-width:245px;z-index:3;padding:20px;background:linear-gradient(135deg,#0d1d23e6,#071219d9);border:1px solid #adc2b42b;backdrop-filter:blur(16px);box-shadow:0 20px 60px #0002}
.card-topline{display:flex;align-items:center;justify-content:space-between;font:9px var(--mono);letter-spacing:.08em;color:#acbfbc;gap:10px}
.state-tag{font-size:7px;color:#36aa3e;border:1px solid #36aa3e35;padding:4px 5px;white-space:nowrap}
.weather-card h2{font-size:clamp(21px,2vw,34px);font-weight:450;letter-spacing:-.045em;line-height:1.2;margin:10px 0}
.forecast-eyebrow{font:8px var(--mono);letter-spacing:.06em;color:#9aa9aa;margin-top:18px}
.weather-card p{font-size:11px;color:#a2b3b5;line-height:1.5;margin:0 0 14px;min-height:35px}
.lead-switch{display:flex;padding:3px;border:1px solid #ffffff1f;gap:3px}
.lead-switch button{flex:1;white-space:nowrap;padding:7px 4px;border:0;color:#9eafb4;font:10px var(--mono);background:transparent}
.lead-switch button[aria-pressed=true]{background:#36aa3e;color:#152118}
.lead-switch button:disabled{cursor:not-allowed;opacity:.33}
.forecast-caption{font:8px var(--mono);color:#98abaa;display:flex;align-items:center;justify-content:space-between;margin-top:9px;gap:8px}
#refresh-weather{border:0;background:none;font-size:17px;color:#c5d99a;line-height:1}
.rain-legend{display:flex;align-items:center;gap:9px;font:7px var(--mono);color:#91a6a8;margin-top:16px}
.rain-legend i{height:3px;flex:1;background:linear-gradient(90deg,#38757a,#56dbaa,#d4f66e)}
.weather-card.is-forecast{border-style:dashed;border-color:#8dcbea88}.is-forecast .forecast-eyebrow{color:#8dcbea}.is-forecast .rain-legend i{background:linear-gradient(90deg,#5aa0e6,#bef5e6)}
.station-peek{padding:12px 0;margin-top:12px;border-top:1px solid #ffffff16;display:grid;grid-template-columns:1fr auto;gap:9px}
.station-peek>span:first-child{font:8px var(--mono);color:#97ada9;align-self:center;letter-spacing:.06em}
.station-peek strong{font-size:22px;font-weight:450;font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.station-peek small{font:8px var(--mono);letter-spacing:0;color:#98aca9}
.station-peek>span:last-child{grid-column:1/-1;font:8px var(--mono);color:#9aaeb1;line-height:1.5}
.details-link{border:0;border-top:1px solid #ffffff16;padding:12px 0 0;display:flex;justify-content:space-between;width:100%;background:none;color:#c9d7c2;font-size:10px}
.details-link span{color:#36aa3e}
.pipeline{position:absolute;left:5.4%;right:4%;bottom:11%;z-index:3;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #c4d8c731;padding-top:19px;gap:34px}
.pipeline-step{display:flex;align-items:flex-start;gap:15px;position:relative;min-width:0}
.step-number{font:11px var(--mono);color:#7b8d8c;padding-top:1px}
.pipeline-step>div{display:flex;flex-direction:column;gap:7px;min-width:0}
.step-label{font:8px var(--mono);letter-spacing:.15em;color:#a8bd98}
.pipeline-step strong{font-size:17px;font-weight:450;letter-spacing:-.02em;color:#e3eadd}
.step-status{font:8px var(--mono);color:#8da3a5;line-height:1.5}
.step-signal{display:block;width:5px;height:5px;position:absolute;top:4px;right:8px;border-radius:50%;background:#6b8083}
.pipeline-step[data-state=ready] .step-signal{background:#36aa3e;box-shadow:0 0 10px #36aa3e40}
.pipeline-step[data-state=working] .step-signal{background:#36aa3e;animation:signal-working 1s ease-in-out infinite}
.pipeline-step[data-state=error] .step-signal{background:#d7b275}
@keyframes signal-working{50%{opacity:.2}}
body[data-weather-mode=current] .viewer-bottom{bottom:3.4%;left:5.4%;right:4%}
body[data-weather-mode=current] .viewer-caption{padding-left:0;font-size:9px;margin:0}
body[data-weather-mode=current] .viewer-footnote{padding-left:0;margin-top:8px}
body[data-weather-mode=current] .map-playback,body[data-weather-mode=current] .time-labels{display:none}
body[data-weather-mode=event] .weather-card,body[data-weather-mode=event] .pipeline,body[data-weather-mode=event] #radar-canvas,body[data-weather-mode=event] #station-markers{display:none}
body[data-weather-mode=event] .hero-message{top:28%}
body[data-weather-mode=event] .hero-message h1{font-size:clamp(27px,4.8vw,91px)}
.fullscreen-view:not(.is-hero) .weather-card{top:21%;width:25%}
.fullscreen-view:not(.is-hero) .pipeline{left:4%;right:34%;bottom:13%;gap:20px}
.fullscreen-view:not(.is-hero) .pipeline-step{gap:9px}
.fullscreen-view:not(.is-hero) .pipeline-step strong{font-size:14px}
.fullscreen-view:not(.is-hero) .pipeline-step .step-label{font-size:7px}
dialog{color:#e6eee5;background:#0b171e;border:1px solid #8bb69744;width:min(950px,92vw);max-height:88svh;padding:38px;box-shadow:0 30px 100px #0009;font-family:var(--sans)}
dialog::backdrop{background:#02090cc4;backdrop-filter:blur(8px)}
.method-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.method-header .hero-eyebrow{font-size:9px;margin-bottom:14px}
.method-header h2{font-size:32px;letter-spacing:-.04em;font-weight:450;margin:0}
#close-method{border:1px solid #ffffff30;font-size:22px;line-height:1;background:none;padding:5px 9px;color:#cddaab}
dialog p{font-size:13px;line-height:1.8;color:#a7babb}
.station-table-wrap{overflow:auto;margin:26px 0 35px}
table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap;text-align:left}
th{font:9px var(--mono);color:#acc49f;padding:12px 14px 12px 0;border-bottom:1px solid #ffffff30}
td{padding:13px 14px 13px 0;border-bottom:1px solid #ffffff14;color:#c3d4d0;font-variant-numeric:tabular-nums}
.method-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px}
.method-grid h3{font-size:22px;letter-spacing:-.03em;font-weight:450;margin:12px 0}
.method-sources{border-top:1px solid #ffffff25;display:flex;flex-wrap:wrap;gap:25px;padding-top:22px;margin-top:24px;font:9px var(--mono);color:#c2d9a3}
@media(min-width:1600px){.weather-card{padding:30px}.card-topline{font-size:11px}.state-tag{font-size:8px}.forecast-eyebrow{font-size:9px;margin-top:30px}.weather-card p{font-size:13px;min-height:42px}.lead-switch button{font-size:12px;padding:9px 4px}.forecast-caption{font-size:10px}.rain-legend{font-size:9px}.station-peek>span:first-child{font-size:10px}.station-peek strong{font-size:27px}.station-peek small,.station-peek>span:last-child{font-size:10px}.details-link{font-size:12px}.pipeline{padding-top:25px}.pipeline-step strong{font-size:21px}.step-label,.step-status{font-size:10px}.hero-eyebrow{font-size:11px}}
@media(max-width:1100px){.weather-card{top:21%;padding:17px;min-width:215px;width:25%}.weather-card h2{font-size:21px}.forecast-eyebrow{margin-top:17px}.weather-card p{font-size:10px;margin-bottom:14px}.station-peek{padding:12px 0 10px;margin-top:12px;display:block}.station-peek strong{display:block;margin:7px 0}.station-peek>span:last-child{font-size:7px}.rain-legend{margin-top:10px;gap:6px}.pipeline{bottom:12%;padding-top:14px;gap:25px}.pipeline-step strong{font-size:14px}.step-label{font-size:7px}.step-status{font-size:7px}.hero-message h1{font-size:4.4vw}.hero-message p{font-size:11px;margin:15px 0}.hero-eyebrow{font-size:8px;margin-bottom:18px}.step-number{font-size:9px}.pipeline-step{gap:9px}}
@media(max-width:760px){.weather-card{top:23%;width:27%;min-width:0;padding:12px}.card-topline{font-size:7px;display:block}.state-tag{display:none}.forecast-eyebrow{font-size:6px;margin-top:14px}.weather-card h2{font-size:18px}.weather-card p{font-size:8px;min-height:0;margin-bottom:10px}.lead-switch{gap:1px;padding:2px}.lead-switch button{font-size:7px;padding:5px 1px}.forecast-caption{font-size:6px;margin-top:5px}.rain-legend,.station-peek,.details-link{display:none}.pipeline{bottom:15%;gap:12px;padding-top:12px}.pipeline-step strong{font-size:10px}.step-number{font-size:7px}.step-label{font-size:6px;letter-spacing:.08em}.step-status{font-size:6px}.pipeline-step>div{gap:5px}.step-signal{right:0;width:3px;height:3px}.hero-message p{font-size:9px;margin:11px 0}.hero-eyebrow{font-size:6px;margin-bottom:12px}.hero-message h1{font-size:4.5vw}.is-hero .hero-message{top:28%;left:5.4%}#explore-analysis{font-size:9px;padding-bottom:6px;gap:18px}.viewer-topbar{top:5%;gap:8px}.fullscreen-view .mode-switch button{font-size:8px;padding:5px 6px}#hero-toggle{font-size:8px;padding:6px 7px}.fullscreen-view .brand{font-size:18px}.fullscreen-view .brand svg{width:18px;height:20px}.fullscreen-view .region-switch{display:none}.fullscreen-view #aesch-marker span{font-size:7px}.station-dot span{font-size:6px;padding:2px 3px;left:25px;top:10px}.station-dot i{width:5px;height:5px}body[data-weather-mode=current] .viewer-caption{font-size:7px}body[data-weather-mode=current] .viewer-footnote{margin-top:4px}.fullscreen-view:not(.is-hero) .pipeline{right:34%;gap:9px}.fullscreen-view:not(.is-hero) .pipeline-step strong{font-size:9px}.fullscreen-view:not(.is-hero) .pipeline-step .step-label{font-size:5px}.fullscreen-view:not(.is-hero) .weather-card{width:27%}.fullscreen-view:not(.is-hero) .step-number{display:none}dialog{padding:24px}.method-header h2{font-size:27px}.method-grid{grid-template-columns:1fr;gap:18px}}
@media(max-width:480px){.fullscreen-view .brand{font-size:12px;gap:3px}.fullscreen-view .brand svg{width:14px}.fullscreen-view .mode-switch button{font-size:6px;padding:5px}#hero-toggle{font-size:6px;padding:6px}#fullscreen-button{width:22px;height:24px}.viewer-controls{gap:4px}.weather-card{padding:8px;top:25%;right:3%}.weather-card h2{font-size:12px;margin:6px 0}.forecast-eyebrow{font-size:5px;margin-top:9px}.weather-card p{font-size:6px;margin-bottom:8px;line-height:1.45}.card-topline{font-size:5px}.lead-switch button{font-size:5px;padding:4px 0}.forecast-caption{font-size:5px}.hero-message p{font-size:7px}.hero-eyebrow{display:none}#explore-analysis{font-size:7px}.pipeline{left:5.4%;right:3%;gap:10px;bottom:15%;padding-top:9px}.pipeline-step{gap:5px}.pipeline-step strong{font-size:8px}.step-number,.step-label{font-size:5px}.step-status{font-size:5px}.step-signal{display:none}body[data-weather-mode=current] .viewer-caption{font-size:5px}.fullscreen-view .real-data{font-size:5px}.viewer-footnote a{font-size:5px}#refresh-weather{font-size:12px}.viewer-bottom{bottom:4%}.station-dot span{display:none}}
@media(prefers-reduced-motion:reduce){.station-dot.updated i:after,.pipeline-step[data-state=working] .step-signal{animation:none}}
@media(max-width:1000px){.weather-card,.fullscreen-view:not(.is-hero) .weather-card{top:20%;width:27%;min-width:0;padding:14px}.station-peek,.rain-legend{display:none}.weather-card p{font-size:9px;min-height:0;line-height:1.5;margin-bottom:12px}.weather-card h2{font-size:20px}.forecast-eyebrow{font-size:7px;margin-top:15px}.card-topline{font-size:7px}.forecast-caption{font-size:7px}.details-link{display:flex;font-size:8px;padding-top:9px;margin-top:10px}.lead-switch button{font-size:8px;padding:6px 2px}.is-hero .hero-message{top:24%}.hero-eyebrow{font-size:7px;margin-bottom:14px}.hero-message h1{font-size:4.3vw}.hero-message p{font-size:9px;margin:12px 0}#explore-analysis{font-size:10px;padding-bottom:7px}.pipeline{bottom:13%}.pipeline-step strong{font-size:12px}.step-status{font-size:6px}}
@media(max-width:760px){.weather-card,.fullscreen-view:not(.is-hero) .weather-card{padding:10px;top:21%}.weather-card h2{font-size:17px}.forecast-eyebrow{font-size:6px;margin-top:10px}.weather-card p{font-size:8px;margin-bottom:8px}.card-topline{font-size:6px}.forecast-caption{font-size:6px}.lead-switch button{font-size:7px;padding:5px 1px}.details-link{font-size:7px;padding-top:7px;margin-top:7px}.pipeline-step strong{font-size:10px}.pipeline{bottom:15%}.hero-message p{font-size:8px;margin:10px 0}#explore-analysis{font-size:8px}.hero-eyebrow{font-size:6px;margin-bottom:10px}.pipeline-step>div{gap:4px}.fullscreen-view .mode-switch button{font-size:7px}}
@media(max-width:480px){.weather-card,.fullscreen-view:not(.is-hero) .weather-card{padding:7px;top:24%}.weather-card h2{font-size:11px;margin:5px 0}.weather-card p{font-size:6px;margin-bottom:6px}.card-topline,.forecast-eyebrow{font-size:5px}.forecast-eyebrow{margin-top:8px}.lead-switch button{font-size:5px;padding:3px 0}.forecast-caption{font-size:4px;margin-top:4px}.details-link{font-size:5px;padding-top:5px;margin-top:5px}.hero-message p{display:none}#explore-analysis{font-size:6px;margin-top:13px}.is-hero .hero-message{top:30%}.pipeline-step strong{font-size:8px}.step-status{font-size:5px}.fullscreen-view .mode-switch button{font-size:6px}.hero-message h1{font-size:4.3vw}.pipeline{bottom:16%;padding-top:7px}}
@media(min-width:761px) and (max-width:1000px){.is-hero .hero-message{top:22%}.weather-card,.fullscreen-view:not(.is-hero) .weather-card{top:18%}.weather-card h2{font-size:18px}.weather-card p{font-size:8px;margin-bottom:10px}.forecast-eyebrow{margin-top:12px}.details-link{margin-top:7px;padding-top:7px}#explore-analysis span{font-size:14px;line-height:1}#explore-analysis{line-height:1.4}}
@media(max-width:760px){#explore-analysis span{font-size:12px;line-height:1}#explore-analysis{line-height:1.4}}
@media(max-width:480px){.weather-card,.fullscreen-view:not(.is-hero) .weather-card{top:23%;padding:7px}.weather-card p,.weather-card .forecast-eyebrow{display:none}.weather-card h2{font-size:11px;margin:7px 0}.forecast-caption{font-size:4px}.details-link{margin-top:4px;padding-top:4px}}
@media(max-width:480px){.is-hero .hero-message{top:26%}.pipeline,.fullscreen-view:not(.is-hero) .pipeline{bottom:11%}.pipeline .step-status{line-height:6px;max-height:12px;overflow:hidden}}
