/* NFR weather view: components are scoped to .weather-app to preserve the department's shared design. */
.weather-section{background:var(--cream)}
.weather-app{--wx-border:var(--line);--wx-muted:#526773;--wx-accent:var(--red);color:var(--ink)}
.weather-app .panel,.weather-app .period,.weather-app .site,.weather-app .area-tab,.weather-app .response-card{background:#fff;border:1px solid var(--wx-border);color:var(--ink);border-radius:var(--radius)}
.weather-app .panel{padding:1.5rem;min-width:0}
.weather-app .comparison{margin-bottom:1.2rem}
.weather-app .section-head{display:flex;justify-content:space-between;align-items:center;gap:.9rem;flex-wrap:wrap;margin-bottom:1rem}
.weather-app .section-head h2,.weather-app .panel h2{font-size:clamp(1.25rem,2.3vw,1.65rem);margin:0}
.weather-app .response-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.weather-app .response-card{padding:1.1rem;min-width:0}
.weather-app .response-card h3{font-size:1.3rem;margin:0 0 .6rem}
.weather-app .response-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.weather-app .response-metrics strong{display:block;font-size:1.45rem;color:var(--navy)}
.weather-app .response-metrics span{display:block;font-size:.87rem;color:var(--wx-muted)}
.weather-app .weather-badge,.weather-app .badge{display:inline-block;border:1px solid #bdcfd9;border-radius:5px;background:#eaf0f4;color:var(--navy);font-size:.82rem;font-weight:700;padding:.25rem .6rem}
.weather-app .status,.weather-app .muted,.weather-app .site small,.weather-app .area-tab span{font-size:.91rem;color:var(--wx-muted)}
.weather-app .status{margin:.6rem 0 0}
.weather-app .sites{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;margin:1.4rem 0}
.weather-app .site,.weather-app .area-tab{cursor:pointer;text-align:left;padding:1rem 1.2rem;font:inherit;transition:border-color .15s}
.weather-app .site strong,.weather-app .area-tab strong{font-size:1.05rem;display:block}
.weather-app .site small,.weather-app .area-tab span{display:block;margin-top:.25rem}
.weather-app .site[aria-pressed="true"],.weather-app .area-tab[aria-pressed="true"]{border:2px solid var(--red);background:#fff6f4;padding:calc(1rem - 1px) calc(1.2rem - 1px)}
.weather-app .area-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;margin:1.2rem 0}
.weather-app .weather-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1.2rem;margin:1.5rem 0 1rem}
.weather-app #location{font-size:clamp(1.5rem,3.3vw,2.1rem);margin-bottom:.3rem}
.weather-app .refresh{background:var(--red);border:2px solid var(--red);color:#fff;font-weight:700;border-radius:7px;padding:.55rem 1rem}
.weather-app .refresh:hover{background:var(--redhover)}
.weather-app .refresh:disabled{opacity:.55;cursor:wait}
.weather-app .weather-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:1.2rem}
.weather-app .temperature{font-size:clamp(3.8rem,8vw,5.5rem);line-height:1.12;font-weight:750;letter-spacing:-.05em;margin:1rem 0 .45rem;color:var(--navy)}
.weather-app .condition{font-size:1.18rem}
.weather-app .weather-eyebrow{font-weight:750;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;color:var(--navy2)}
.weather-app .weather-stats,.weather-app .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;border-top:1px solid var(--line);margin-top:1.1rem;padding-top:1.1rem}
.weather-app .weather-stat dt,.weather-app .stats dt,.weather-app .stat dt{font-size:.85rem;color:var(--wx-muted)}
.weather-app .weather-stat dd,.weather-app .stats dd,.weather-app .stat dd{margin:.15rem 0;font-size:1.15rem;font-weight:650}
.weather-app .alert,.weather-app .weather-notice{background:#fff7ec;border-left:4px solid #a7521f;padding:.75rem 1rem;margin:.8rem 0}
.weather-app .alert summary{cursor:pointer;font-weight:700}
.weather-app .alert p{white-space:pre-line}
.weather-app .radar{margin-top:1.25rem}
.weather-app .radar img{display:block;width:100%;height:auto;background:#e4edf2;min-height:150px;border-radius:6px}
.weather-app .forecast{margin-top:1.4rem}
.weather-app .periods{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.8rem;margin-top:1rem}
.weather-app .period{padding:1rem .75rem;min-width:0}
.weather-app .period h3{font-size:.99rem;margin:0 0 .5rem}
.weather-app .period .degrees{font-size:1.6rem;font-weight:750;color:var(--navy2)}
.weather-app .period p{font-size:.87rem}
.weather-app .hourly{overflow-x:auto;max-width:100%;margin-top:.8rem}
.weather-app table{border-collapse:collapse;width:100%;text-align:left}
.weather-app th,.weather-app td{padding:.65rem .8rem;border-bottom:1px solid var(--line);white-space:nowrap}
.weather-app th{font-size:.85rem;font-weight:700;color:var(--navy)}
.weather-app .trends{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}
.weather-app .trend{min-width:0}
.weather-app .trend svg{width:100%;height:auto;display:block}
.weather-app .trend h3{margin:0 0 .4rem}
.weather-app .daily{display:flex;gap:1.2rem;flex-wrap:wrap;margin-top:1rem}
.weather-app .tools{display:flex;gap:1rem;flex-wrap:wrap;margin:.8rem 0}
.weather-app .stale{border-left:4px solid #a7521f;background:#fff7ec;padding:.6rem .8rem}
.weather-app .chart-table{max-height:250px;overflow:auto}
.weather-app .freshness{border-left:4px solid #427b57;padding:.5rem .8rem;margin:.5rem 0;font-size:.9rem}
.weather-app .freshness.delayed{border-color:#a7521f;background:#fff7ec}
.weather-app .freshness.old{border-color:var(--red);background:#fff0f0}
.weather-app .error{color:#9b1e1e}
.weather-app .weather-attribution{border-top:1px solid var(--line);margin-top:2rem;padding-top:1rem;color:var(--wx-muted);display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.85rem}
.weather-app .weather-attribution a{color:#07527a}
.weather-app [hidden]{display:none!important}
@media(max-width:850px){.weather-app .weather-grid{grid-template-columns:1fr}.weather-app .periods{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.weather-app .response-cards,.weather-app .trends{grid-template-columns:1fr}.weather-app .periods,.weather-app .sites,.weather-app .area-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.weather-app .weather-toolbar{align-items:flex-start}.weather-app .weather-stats,.weather-app .stats{gap:.4rem}.weather-app .panel{padding:1rem}}
@media(prefers-reduced-motion:reduce){.weather-app *{transition:none!important}}
