.weather-studio {
  background:#111d32; color:#ecf3ff; border:1px solid #263d59; border-radius:14px; overflow:hidden;
  box-shadow:0 14px 30px #15203326;
}
.weather-studio-head,.weather-tools,.weather-timeline,.weather-map-notes {
  padding:10px clamp(12px,2vw,22px);
}
.weather-studio-head,.weather-tools,.weather-timeline,.weather-forecast-head,.weather-chart-head,.weather-views,.weather-metrics {
  display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px;
}
.weather-studio-head,.weather-tools,.weather-forecast-head,.weather-chart-head { justify-content:space-between; }
.weather-studio-head { padding-top:15px; border-bottom:1px solid #344763; }
.weather-studio h2,.weather-forecast h2,.weather-reporting h2 { font-size:clamp(1.65rem,4.5vw,2.65rem); letter-spacing:-.035em; }
.weather-studio button,.weather-coordinates button,.weather-metrics button {
  border:1px solid #61778f; background:#213552; color:#fff; border-radius:6px;
  font:inherit; font-size:.83rem; font-weight:700; min-height:38px; padding:6px 11px; cursor:pointer;
}
.weather-studio button:hover,.weather-coordinates button:hover,.weather-metrics button:hover { background:#344e71; }
.weather-studio button:disabled { cursor:default; opacity:.57; }
#weather-export,.weather-metrics button[aria-pressed="true"] { background:#baf2e3; color:#132c3f; border-color:#baf2e3; }
#weather-export:not(:disabled):hover,.weather-metrics button[aria-pressed="true"]:hover { background:#dcfff6; }
.weather-tools { border-bottom:1px solid #344763; }
.weather-tools fieldset { display:flex; gap:4px 10px; flex-wrap:wrap; border:0; margin:0; padding:0; min-width:0; }
.weather-tools legend { color:#bfd0e8; padding:0; font-size:.75rem; }
.weather-tools label { display:flex; align-items:center; gap:5px; min-height:38px; cursor:pointer; font-size:.9rem; }
.weather-tools input { width:17px; height:17px; accent-color:#97e3ce; }
#weather-map { height:clamp(310px,64svh,675px); background:#d9e8eb; z-index:0; }
#weather-map.leaflet-container { font-family:inherit; }
#weather-map .leaflet-control-attribution { font-size:10px; }
.weather-wind-icon {
  display:grid; place-items:center; border-radius:50%; background:#11233f; border:1px solid #defbf5;
  color:#d2fbf2; box-shadow:0 1px 4px #07132555;
}
.weather-wind-arrow { font:bold 20px/1 system-ui,sans-serif; }
.weather-timeline { background:#182940; border-block:1px solid #344763; }
#weather-frame,#weather-hour { accent-color:#97e3ce; min-height:32px; }
#weather-frame { flex:1; min-width:64px; margin-inline:0; }
#weather-radar-time { margin-inline-start:auto; color:#c9d8ea; font-size:.82rem; font-variant-numeric:tabular-nums; }
.weather-map-notes { color:#c4d3e7; font-size:.85rem; }
.weather-map-notes p { margin:0 0 3px; }
.weather-map-notes p:empty { display:none; }
.weather-forecast {
  background:#fff; color:#13243d; margin-block:28px; border:1px solid #d4dce6;
  border-top:4px solid #2645be; padding:clamp(14px,2.6vw,28px);
}
.weather-forecast-head h2 { margin-right:auto; }
.weather-forecast-head label,.weather-coordinates label { font-size:.85rem; font-weight:700; }
.weather-forecast select,.weather-coordinates input {
  background:#f0f4fb; color:#11233f; border:1px solid #8091a6; border-radius:5px; font:inherit;
  min-height:40px; padding:5px 9px; max-width:100%;
}
.weather-coordinates { margin-top:12px; }
.weather-coordinates summary,.weather-periods summary,.weather-alert summary { cursor:pointer; }
.weather-coordinates form { display:flex; flex-wrap:wrap; gap:8px; align-items:end; margin-top:8px; }
.weather-coordinates label { display:grid; gap:3px; }
.weather-coordinates input { width:8.5rem; }
#weather-official,.weather-sources { font-size:.85rem; }
#weather-forecast-status { color:#465672; margin:.6em 0 .2em; }
.weather-alerts,.weather-hourly,.weather-outlook { margin-top:19px; }
.weather-forecast h3,.weather-reporting h3 { font-size:clamp(1.23rem,2.9vw,1.6rem); }
#weather-alert-list>p { color:#465672; margin:6px 0; }
.weather-alert { margin-top:7px; background:#fff2d8; border:1px solid #e6c983; border-left:4px solid #af5d00; padding:9px 12px; }
.weather-alert summary span { margin-inline-start:10px; font-size:.85rem; }
.weather-alert p { margin:.5em 0; white-space:pre-line; }
.weather-hourly { background:#111d32; color:#ecf3ff; padding:clamp(12px,2vw,20px); border-radius:10px; }
.weather-chart-head { align-items:baseline; }
.weather-metrics button { min-height:36px; }
#weather-chart { width:100%; display:block; cursor:crosshair; margin-top:6px; }
.weather-grid-line { stroke:#52657c; stroke-width:1; }
.weather-axis { fill:#e0eafa; font:16px system-ui,sans-serif; }
.weather-chart-cursor { stroke:#d6e1f0; stroke-dasharray:4 4; }
#weather-hour { width:100%; }
.weather-hour-readout { display:flex; flex-wrap:wrap; column-gap:12px; color:#d1deef; font-size:.86rem; }
.weather-hour-readout strong { color:#fff; }
.weather-periods {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr)); gap:8px; margin-top:9px;
  align-items:start;
}
.weather-periods details { border:1px solid #d0dbeb; border-radius:6px; background:#f2f5fb; padding:8px; }
.weather-periods details[open] { border-color:#516b9b; }
.weather-periods summary span,.weather-periods summary strong { font-weight:700; }
.weather-periods summary strong,.weather-periods summary small { display:block; }
.weather-periods summary strong { color:#2446a6; font-size:1.6rem; line-height:1.1; }
.weather-periods p { margin:.6em 0 0; font-size:.9rem; }
.weather-heading {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem}
.weather-heading a {
  color:#fff;border:1px solid #99b0bf;font-size:.9rem;font-weight:700;
  text-decoration:none;padding:.65rem .85rem;display:inline-flex;gap:.5rem;
}
.weather-heading a:hover {background:#28445d;color:#fff;text-decoration:underline}
.weather-reporting {margin-block:1.4rem 1.75rem}
.weather-lead {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:center;
  gap:clamp(.9rem,3vw,2.1rem);padding-bottom:clamp(.9rem,3vw,1.8rem);border-bottom:3px solid #142a40;
}
.weather-lead h2 {font-size:clamp(1.85rem,4.3vw,3.7rem);line-height:1.02;margin:.4rem 0;letter-spacing:-.04em}
.weather-lead-copy>p:last-child {font-size:clamp(1rem,1.75vw,1.18rem);max-width:52ch;color:#304457;margin:.55rem 0 0}
.weather-lead .story-image {margin:0;width:100%}
.weather-lead .story-image img {width:100%;height:auto;object-fit:contain;max-height:none;display:block}
.weather-story-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.7rem,2vw,1.35rem);margin-top:.9rem}
.weather-story {display:flex;flex-direction:column;background:#fffef9;border:1px solid #cdd6db}
.weather-story>div {padding:.85rem}
.weather-story .desk {margin:0 0 .25rem;color:#813227}
.weather-story h3 {line-height:1.09;letter-spacing:-.015em}
.weather-story p:not(.desk) {color:#354858;margin:.48rem 0 0}
.weather-story>.desk-card-photo {width:100%;height:clamp(9rem,17vw,14rem);object-fit:contain;background:#fff;border-bottom:1px solid #cdd6db}
.weather-briefing-links {display:flex;flex-wrap:wrap;gap:.45rem .9rem;align-items:baseline;background:#e9f0f3;border-left:3px solid #2c756a;padding:.75rem 1rem;margin:1.3rem 0}
.weather-briefing-links h2,.weather-earlier h2 {font-size:1.45rem;margin:0}
.weather-briefing-links a {font-size:.88rem;color:#164368}
.weather-earlier {margin-top:1.35rem}
.weather-local-tools {scroll-margin-top:6rem;border:1px solid #b5c6d0;background:#f2f6f8;padding:0 clamp(.7rem,2vw,1.1rem);margin-bottom:1.5rem}
.weather-local-tools>summary {padding:.85rem 0;cursor:pointer;font:700 1.3rem/1.2 Georgia,serif;color:#142a40}
.weather-local-tools :is(.weather-studio,.weather-current,.weather-forecast,.weather-history) {scroll-margin-top:6rem}
#weather-tools-status:empty {display:none}
.weather-sources {margin-bottom:1rem}
@media (max-width:700px) {
  .weather-lead,.weather-story-grid {grid-template-columns:minmax(0,1fr)}
  .weather-story {display:grid;grid-template-columns:minmax(0,1fr)}
  .weather-story>.desk-card-photo {height:clamp(10rem,52vw,16rem)}
  .weather-briefing-links h2 {width:100%}
  .weather-forecast-head h2 {flex-basis:100%}
}
@media (max-width:430px) {
  .weather-studio-head h2 { flex-basis:100%; }
  #weather-radar-time { flex-basis:100%; margin-inline-start:0; }
  .weather-metrics { gap:5px; }
  .weather-metrics button { padding-inline:7px; }
}

.weather-location { max-width:660px; margin-top:1.15rem; }
.weather-location > label { display:block; font-size:.89rem; font-weight:750; margin-bottom:.28rem; }
.weather-location > div { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.45rem; }
.weather-location input {
  width:100%; min-height:46px; padding:.65rem .75rem; border:1px solid #8195ac;
  border-radius:5px; color:#11233f; background:#fff; font:inherit;
}
.weather-location button,.weather-history button {
  min-height:44px; padding:.45rem .75rem; border:1px solid #24477a; border-radius:5px;
  font:700 .87rem system-ui,sans-serif; color:#fff; background:#152c45; cursor:pointer;
}
.weather-location button:hover,.weather-history button:hover { background:#28577f; }
.weather-location .weather-location-status,.weather-location-status,.weather-source-line { font-size:.85rem; }
.weather-location-status:empty { display:none; }
.weather-location-results { display:flex; flex-wrap:wrap; list-style:none; gap:.4rem; margin:.55rem 0; padding:0; max-width:660px; }
.weather-location-results button {
  min-height:44px; border:1px solid #9db0c3; background:#f2f6f8; padding:.38rem .65rem;
  border-radius:4px; color:#152c45; cursor:pointer; font-size:.9rem; font-weight:650;
}
.weather-location-results button:hover { background:#dceaf4; }
.weather-jumps { display:flex; flex-wrap:wrap; align-items:center; gap:.3rem .55rem; margin-top:.85rem; }
.weather-jumps a {
  display:inline-flex; align-items:center; min-height:38px; padding:.2rem .62rem;
  color:#152c45; background:#edf3f8; border:1px solid #bdccdb; border-radius:4px;
  font-size:.83rem; font-weight:700; text-decoration:none;
}
.weather-jumps a:hover { background:#dfeaf3; }
.weather-current,.weather-history {
  margin-block:18px; padding:clamp(14px,3vw,25px); color:#13243d;
  border:1px solid #c4d0de; border-top:4px solid #326d8f; background:#fff;
}
.weather-current h2,.weather-history h2 { font-size:clamp(1.55rem,4vw,2.5rem); letter-spacing:-.025em; overflow-wrap:anywhere; }
#weather-current-status,#weather-reports-status { color:#455970; font-size:.87rem; }
.weather-current-readings,.weather-history-summary { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,105px),1fr)); gap:.5rem; }
.weather-current-readings > div,.weather-history-summary > div { padding:.55rem .65rem; background:#eef5fa; border-radius:4px; }
.weather-current-readings span,.weather-history-summary span { display:block; font-size:.8rem; color:#344e69; }
.weather-current-readings strong,.weather-history-summary strong { display:block; font-size:clamp(1.04rem,3vw,1.38rem); line-height:1.3; }
.weather-current-readings > div:first-child { background:#d8edf0; }
.weather-history-head { display:flex; flex-wrap:wrap; gap:.65rem; align-items:center; justify-content:space-between; }
.weather-history-range { display:flex; flex-wrap:wrap; gap:.35rem; }
.weather-history-range button { color:#13243d; background:#eef5fa; border-color:#9db0c3; }
.weather-history-range button:hover { color:#fff; }
.weather-history-range button[aria-pressed="true"] { color:#fff; background:#152c45; border-color:#152c45; }
.weather-history h3 { margin:0 0 .55rem; font-size:clamp(1.2rem,3.5vw,1.5rem); }
.weather-history-observations,.weather-history-events { margin-top:1rem; }
#weather-history-slider-label { display:block; font-size:.88rem; font-weight:700; margin-top:.8rem; }
#weather-history-slider { width:100%; margin-inline:0; min-height:30px; accent-color:#326d8f; }
#weather-history-reading { display:block; color:#344e69; font-size:.9rem; font-variant-numeric:tabular-nums; }
#weather-reports details { padding:.63rem 0; border-block-start:1px solid #d6e0e9; }
#weather-reports details summary { cursor:pointer; font-weight:700; }
#weather-reports details p { margin:.38rem 0; font-size:.9rem; }
#weather-reports-more { margin-top:.6rem; }
#weather-report-map { color:#ffe7a0; }
.weather-source-line { color:#455970; margin-bottom:0; }
.weather :is(.weather-current,.weather-studio,.weather-forecast,.weather-history) { scroll-margin-top:14px; }
@media (max-width:360px) {
  .weather-location button { padding-inline:.53rem; }
  .weather-location input { padding-inline:.5rem; }
}
.weather-storm-update {margin-top:.9rem;border-left:3px solid #2c756a}
.weather-storm-update {display:grid;grid-template-columns:minmax(0,11rem) minmax(0,1fr)}
.weather-storm-update>.desk-card-photo {height:auto;aspect-ratio:4/3;border-bottom:0;align-self:center}
@media(max-width:640px) {
  .weather-storm-update {grid-template-columns:minmax(0,1fr)}
  .weather-storm-update>.desk-card-photo {height:clamp(10rem,52vw,16rem);aspect-ratio:auto;border-bottom:1px solid #cdd6db}
}
