:root{font:100%/1.55 system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}.layout{--background: #eef4f9;--surface: #fff;--text: #162e43;--muted: #425b70;--line: #aebfcc;--accent: #17597f;background:var(--background);color:var(--text);min-height:100vh}.layout[data-theme=dark]{color-scheme:dark;--background: #101d2b;--surface: #172a3d;--text: #e6f2fb;--muted: #bed1df;--line: #567089;--accent: #8bd6ff}.wrap{width:min(100% - 2rem,68rem);margin-inline:auto}header{background:#10263a;color:#f2f9ff;padding-block:.75rem}.header,.controls,.chart-heading{display:flex;flex-wrap:wrap;align-items:end;gap:.75rem}h1{margin:0 auto 0 0;font-size:clamp(1.15rem,4vw,1.8rem)}h1 span{color:#a6d8f3;font-weight:500}h2{font-size:1.1rem;margin:0 0 .75rem}main{padding-block:1.25rem}.card{background:var(--surface);border:1px solid var(--line);border-radius:.8rem;padding:1rem;margin-bottom:1rem}.login{max-width:26rem;margin-inline:auto;display:grid;gap:1rem}label{display:grid;gap:.25rem;color:inherit}button,input,select{min-height:2.75rem;border:1px solid var(--line);border-radius:.5rem;background:var(--surface);color:var(--text);font:inherit;padding:.35rem .65rem;max-width:100%}button,summary{cursor:pointer}button[aria-pressed=true]{outline:2px solid var(--accent)}.primary{background:#17597f;color:#fff}:focus-visible{outline:3px solid #a8692f;outline-offset:3px}.controls label{min-width:7rem}summary+.controls{padding-top:.75rem}.notice{border-inline-start:4px solid #c47a28;padding-inline-start:.75rem}.source,small{color:var(--muted)}.chart-heading{justify-content:space-between}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:start}th,td{padding:.5rem;text-align:start;border-bottom:1px solid var(--line);white-space:nowrap}footer{padding-block:0 1.5rem}a{color:var(--accent)}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}details>button,details>form,details fieldset{margin-top:.85rem}fieldset{border:1px solid var(--line);border-radius:.5rem;min-width:0}.toggle{display:flex;align-items:center}.toggle input{min-height:auto}.weather-graphs{min-width:0}.graph-controls{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;padding:.65rem}.periods{display:inline-flex;gap:.2rem;background:var(--background);padding:.2rem;border-radius:.6rem}.periods button[aria-pressed=true]{background:var(--accent);color:var(--surface);outline-offset:-2px}.graph-settings{width:100%}.graph-options{display:flex;flex-wrap:wrap;gap:.35rem .8rem}.graph-options p{width:100%;margin:0}.graph-card{padding:.65rem;margin-bottom:.65rem}.graph-card h2{margin:0 0 .3rem}.series-buttons,.series-key,.reference-key{display:flex;flex-wrap:wrap;gap:.3rem .65rem;margin:0;padding:0}.series-buttons button{font-size:.875rem;min-height:2rem;padding:.18rem .42rem}.series-buttons button[aria-pressed=true]{outline:none;border-color:var(--accent)}.series-buttons button[aria-pressed=false]{color:var(--muted);text-decoration:line-through}.series-key,.reference-key,.chart-note,.coverage{font-size:.875rem;overflow-wrap:anywhere}.reference-key{list-style:none;padding-block:.2rem}.series-swatch{display:inline-block;width:.65em;height:.65em;border-radius:2px;margin-inline-end:.35em;vertical-align:.05em}.chart{height:14.5rem;width:100%;min-width:0;touch-action:pan-y}.chart-with-slider{height:16rem}.chart-note,.coverage{margin:.2rem 0 .4rem}.wind-references p{margin:.25rem 0 .75rem}.reference-fields{display:grid;grid-template-columns:minmax(5rem,2fr) minmax(4rem,1fr) auto auto;align-items:end;gap:.35rem;margin-bottom:.5rem}.reference-fields input{width:100%}@media(max-width:430px){.wrap{width:calc(100% - 1rem)}.card{margin-bottom:.65rem}.chart{height:13.25rem}.chart-with-slider{height:14.75rem}.reference-fields{grid-template-columns:minmax(5rem,2fr) minmax(4rem,1fr)}}.header{align-items:center}.icon-button{min-width:2.75rem;font-size:1.25rem;padding:.2rem}.station-picker{display:flex;flex:0 1 25rem;align-items:end;gap:.45rem;min-width:0}.station-picker label{flex:1;min-width:0}.station-picker select{width:100%}.app-dialog{width:min(42rem,calc(100% - 1rem));max-height:calc(100dvh - 1rem);background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:.8rem;padding:0 1rem 1rem;overflow-wrap:anywhere}.app-dialog::backdrop{background:#10263a99}.dialog-heading{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:.75rem;background:var(--surface);padding-block:.75rem}.dialog-heading h2{margin:0}.menu-items{display:grid;gap:.65rem}.menu-items>.card{margin:0}.menu-items>label select{width:fit-content}.graph-settings{margin-top:.65rem}.station-settings>*+*,.station-settings fieldset+fieldset{margin-top:.75rem}.station-settings .controls label{flex:1 1 9rem}.station-settings input{width:100%}.station-settings input[type=checkbox]{width:auto}.altitude-settings form+form{margin-top:1.25rem}.altitude-actions{margin-block:.65rem}[data-view=favorites] main{padding-block:.35rem}[data-view=favorites]>header{padding-block:.4rem}.favorites-heading,.favorite-toolbar,.favorite-card-head,.favorite-tools,.favorite-meta{display:flex;align-items:center;justify-content:space-between;gap:.35rem}.favorite-toolbar{flex-wrap:wrap;justify-content:flex-start}.favorite-toolbar .history-toggle{white-space:nowrap}.favorite-legend-button{margin-inline-start:auto}.favorites-heading h2,.favorite-card h3{margin:0}.favorites-heading,.favorite-toolbar{margin-block-end:.3rem}.favorite-tools{justify-content:flex-end;flex-wrap:wrap}.favorite-tools .refresh-control small{max-width:9rem;line-height:1.15}.favorite-periods{display:flex;gap:.2rem}.favorite-periods button[aria-pressed=true]{background:var(--accent);color:var(--surface);outline-offset:-2px}.favorite-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));gap:.4rem;overflow-anchor:none}.favorite-card{margin:0;padding:.35rem .55rem .45rem;min-width:0;--history-bar:#2274ae;--forecast-bar:#8060bc;--today-bg:#e5eaf7}[data-theme=dark] .favorite-card{--history-bar:#64a9e2;--forecast-bar:#b798ed;--today-bg:#293b5e}.favorite-card h3{min-width:0}.favorite-title{display:block;padding:0;min-height:2.5rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;text-align:start;color:var(--accent);font-weight:700;background:transparent}.favorite-title:hover{text-decoration:underline}.favorite-remove{color:var(--accent);flex-shrink:0}.favorite-meta{justify-content:flex-start;font-size:.76rem;color:var(--muted)}.favorite-meta .favorite-period-total{margin-inline-start:auto;white-space:nowrap;color:var(--text);font-size:.97rem}.favorite-status{border:0;background:transparent;display:flex;align-items:center;gap:.24rem;min-height:1.8rem;padding:0 .2rem;font-size:inherit;white-space:nowrap}.freshness-dot{width:.53rem;height:.53rem;border-radius:50%;background:#89939a}[data-freshness=fresh] .freshness-dot{background:#40a456}[data-freshness=stale] .freshness-dot{background:#da881c}[data-freshness=error] .freshness-dot{background:#d74d60}.favorite-rank{margin:0;font-size:.75rem}.favorite-totals,.favorite-palette{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.21rem;margin:.11rem 0 0}.favorite-palette{grid-template-columns:repeat(6,minmax(0,1fr));margin-block:.4rem .8rem}.favorite-totals.forecast-only{grid-template-columns:repeat(3,minmax(0,1fr))}.favorite-totals>div,.favorite-palette>span,.snow-total{padding:.11rem .12rem;background:var(--snow-band,var(--background));color:var(--snow-text,var(--text));border-radius:.3rem;text-align:center}[data-band=zero]{--snow-band:#eef4fa;--snow-text:#000}[data-band=trace]{--snow-band:#deeffa;--snow-text:#000}[data-band=ten]{--snow-band:#bde0f5;--snow-text:#000}[data-band=twenty]{--snow-band:#8fcce9;--snow-text:#000}[data-band=thirty]{--snow-band:#63bdde;--snow-text:#000}[data-band=forty]{--snow-band:#38aad2;--snow-text:#000}[data-theme=dark] [data-band=zero]{--snow-band:#101e2b;--snow-text:#fff}[data-theme=dark] [data-band=trace]{--snow-band:#1b394e;--snow-text:#fff}[data-theme=dark] [data-band=ten]{--snow-band:#215473;--snow-text:#fff}[data-theme=dark] [data-band=twenty]{--snow-band:#24779b;--snow-text:#fff}[data-theme=dark] [data-band=thirty]{--snow-band:#49a5cb;--snow-text:#000}[data-theme=dark] [data-band=forty]{--snow-band:#93dff9;--snow-text:#000}.favorite-totals dt{font-size:.66rem}.favorite-totals dd{margin:0;font-size:.83rem;font-weight:700;white-space:nowrap}.favorite-plot{position:relative}.favorite-bars{display:grid;grid-template-columns:repeat(var(--day-count),minmax(0,1fr));padding-top:.7rem}.favorite-bars button{position:relative;display:grid;grid-template-rows:2.65rem auto;justify-items:center;min-height:0;min-width:0;padding:0;border:0;border-radius:0;background:transparent;--bar-color: var(--forecast-bar)}.favorite-bars .past{--bar-color: var(--history-bar)}.favorite-bars button.today{background:var(--today-bg);border-inline-start:2px solid var(--line)}.favorite-bars button[aria-pressed=true]{outline-offset:-1px;z-index:1}.favorite-bar-space{align-self:stretch;display:flex;align-items:end;justify-content:center;width:100%;border-bottom:1px solid var(--line)}.favorite-bar{position:relative;display:block;border-radius:2px 2px 0 0;width:68%;height:var(--bar-height);min-height:2px;background:var(--bar-color)}.favorite-bar.missing{background:transparent}.favorite-bars .partial .favorite-bar{background:repeating-linear-gradient(135deg,var(--bar-color) 0 2px,var(--surface) 2px 4px)}.favorite-bar>span{position:absolute;left:50%;bottom:100%;transform:translate(-50%);font:700 clamp(.49rem,2.3vw,.63rem)/1 system-ui,sans-serif;white-space:nowrap;letter-spacing:-.055em}.favorite-bar sup{line-height:0;font-size:.7em}.favorite-bar-date{display:block;margin-top:.13rem;font:600 .66rem/1.05 system-ui,sans-serif}.favorite-bar-date small{display:block;font-size:.57rem}.favorite-reading{position:absolute;z-index:3;inset-inline:.2rem;bottom:calc(100% - .3rem);margin:0;padding:.3rem .45rem;border:1px solid var(--line);border-radius:.45rem;background:var(--surface);font-size:.77rem}.favorite-reading button{min-height:2rem;margin-inline-start:.2rem}.favorite-info .dialog-heading h2{overflow-wrap:anywhere}.favorite-legend{padding-inline-start:1.2rem}.favorite-info-icon{display:inline-grid;place-items:center;width:1.05rem;height:1.05rem;border:1.5px solid currentColor;border-radius:50%;font:700 .75rem/1 system-ui,sans-serif}@media(max-width:600px){.favorite-region{display:none}.favorite-card{padding-block:.24rem .34rem}.favorite-title,.favorite-remove{min-height:2.25rem}.favorite-status{min-height:1.5rem}.favorite-totals dt{white-space:nowrap}.favorite-bars{padding-top:.6rem}.favorite-tools>button{font-size:.82rem;padding-inline:.45rem}.favorite-toolbar .favorite-periods{gap:.15rem}.favorite-periods button{font-size:.78rem;padding-inline:.25rem}.favorite-toolbar .history-toggle{font-size:.78rem;gap:.18rem}.favorite-toolbar .history-toggle input{margin:0}.favorite-bars button{grid-template-rows:2.35rem auto}.favorite-bar>span{font-size:.53rem}}@media(max-width:375px){.favorite-periods button{padding-inline:.17rem;font-size:.75rem}}@media(max-width:345px){.favorite-toolbar .history-toggle{order:1}}.forecast-navigation{position:sticky;top:0;z-index:2;padding-block:.2rem;background:var(--background)}.refresh-control{display:flex;align-items:center;gap:.35rem}.refresh-control small{font-size:.75rem}.forecast-navigation{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.favorites-heading{flex-wrap:wrap}.detail-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(6rem,1fr));gap:.35rem;margin-block:.5rem}.detail-totals .snow-total{padding:.35rem .4rem;border:1px solid var(--line)}.detail-totals .snow-total[data-band=zero]{--snow-band:#e2ebf3}[data-theme=dark] .detail-totals .snow-total[data-band=zero]{--snow-band:#17293b}.snow-total h2{margin:0;font-size:.76rem}.snow-total strong{font-size:1.16rem;white-space:nowrap}.history-preferences{margin:0 0 .75rem}.history-toggle{font-size:.84rem;min-height:2.7rem}.history-help{font-size:.8rem;margin:.25rem 0 .4rem}.history-help p{margin:.25rem 0}@media(max-width:430px){.detail-totals{grid-template-columns:repeat(3,minmax(0,1fr))}}[data-view=forecast] main{padding-block:.65rem}[data-view=forecast]>header{padding-block:.55rem}.detail-station{padding:.6rem;margin-bottom:.45rem}.detail-meta{display:flex;flex-wrap:wrap;gap:.12rem .7rem;font-size:.78rem;line-height:1.35}.station-admin-list{display:grid;gap:.5rem;margin-block:.75rem;padding:0;list-style:none}.station-admin-list li{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem;overflow-wrap:anywhere}.station-admin-list li>div{min-width:0}.station-admin-actions{display:flex;flex-wrap:wrap;gap:.4rem}.station-admin-actions button{min-height:44px;min-width:44px}.station-collection{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.25rem .65rem}.station-collection dd{margin:0}.navigation-dialog{scrollbar-gutter:stable;overscroll-behavior:contain}.navigation-dialog .dialog-heading{justify-content:start;border-bottom:1px solid var(--line);margin-bottom:.65rem}.navigation-dialog .dialog-heading h2{flex:1;font-size:1.18rem}.navigation-dialog .dialog-heading h2:focus{outline:none}.nav-icon{width:1.2rem;height:1.2rem;flex:none;vertical-align:middle}.nav-row{display:grid;grid-template-columns:1.35rem minmax(0,1fr) 1rem;align-items:center;gap:.75rem;width:100%;min-height:3rem;padding:.5rem .55rem;border:0;border-radius:.35rem;text-align:start;font-weight:550}.nav-row:hover{background:var(--background)}.nav-row>.nav-icon:first-child{color:var(--accent)}.nav-row>.nav-icon:last-child{width:1rem}.nav-group{margin:1rem .55rem .15rem;color:var(--muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.075em}.nav-version{color:var(--muted);margin:1rem .55rem .2rem;font-size:.82rem}.nav-secondary,.hybrid-admin{margin-top:.75rem}.admin-reauth{display:grid;gap:.75rem;max-width:24rem}.panel-language{max-width:16rem}.station-counts{margin:.55rem 0}.station-filters{display:grid;gap:.65rem;grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.station-filters input,.station-filters select{width:100%;min-width:0}.station-create{margin-block:.65rem}.station-meta,.initial-legend{color:var(--muted);font-size:.86rem}.initial-legend{border-inline-start:2px solid var(--line);padding-inline-start:.65rem}.station-admin-list{gap:0}.station-admin-list li{border-block-end:1px solid var(--line);padding-block:.5rem}.station-admin-actions{justify-content:flex-end}.station-admin-actions button{font-size:.9rem}@media(max-width:430px){.navigation-dialog{padding-inline:.7rem}.navigation-dialog .dialog-heading{gap:.45rem}.station-create{gap:.4rem}.station-create button{padding-inline:.5rem}}.guide-search{margin-block:.65rem}.guide-search input{width:100%}.guide-index{display:grid;gap:.12rem}.guide-intro,.guide-article>h3{margin-block:.35rem .55rem}.guide-back{display:inline-flex;align-items:center;gap:.35rem;margin-block:.25rem .65rem}.guide-article ol{padding-inline-start:1.35rem}.guide-article li{margin-block:.45rem}.guide-snow-scale{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem}.guide-snow-scale span{padding:.5rem .3rem;border:1px solid var(--line);border-radius:.45rem;text-align:center;font-weight:650}.guide-snow-scale [data-band]{background:var(--snow-band);color:var(--snow-text)}.pwa-update{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;column-gap:1rem;row-gap:.45rem;margin-block:.55rem;padding:.65rem .8rem;border:1px solid var(--line);border-inline-start:4px solid var(--accent);border-radius:.5rem;background:var(--surface)}.pwa-update>div:first-child{flex:1 1 20rem;min-width:0}.pwa-update p,.pwa-update-menu p{margin:.2rem 0}.pwa-update-actions{display:flex;flex-wrap:wrap;gap:.4rem}.pwa-update-menu{color:var(--muted);padding:.3rem .5rem .6rem}
