/* SEQ Weather unified map -- test build styles. Scoped under .seqwmt-app so nothing
   leaks into, or is affected by, the active theme. */

.seqwmt-app, .seqwmt-app *, .seqwmt-app *::before, .seqwmt-app *::after {
  box-sizing: border-box;
}
.seqwmt-app {
  --seqwmt-ink: #10202c;
  --seqwmt-muted: #5c7284;
  --seqwmt-line: #d7e2e8;
  --seqwmt-panel-bg: #ffffff;
  --seqwmt-emergency: #b32121;
  --seqwmt-watch: #e36a1f;
  --seqwmt-advice: #c99716;
  --seqwmt-information: #4a90d9;
  --seqwmt-outage-unplanned: #6f4c00;
  --seqwmt-outage-planned: #9a6a08;
  position: relative;
  margin: 20px 0;
  /* Break out of the theme's centred column to the full window (see map-test.js for --seqwmt-vw). */
  --seqwmt-w: min(var(--seqwmt-vw, 100vw), 2200px);
  width: var(--seqwmt-w);
  margin-left: calc(50% - var(--seqwmt-w) / 2);
  padding-inline: clamp(12px, 2vw, 32px);
  font: 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--seqwmt-ink);
}

/* ---- Page-level tabs (ui/tabs.js) -- Map vs. Model Explorer vs. Climate, not map layers.
   Also reused as-is for Model Explorer's own sub-tabs (Advanced / Ensemble Guidance),
   .seqwmt-subtabs below the map -- same generic ui/tabs.js pattern, a second independent
   instance, same visual language. ---- */

.seqwmt-tabs, .seqwmt-subtabs {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  padding: 4px;
  background: #eef2f4;
  border-radius: 12px;
  width: fit-content;
}
.seqwmt-subtabs { margin-top: 6px; }
.seqwmt-tab {
  padding: 8px 16px;
  color: var(--seqwmt-muted);
  background: transparent;
  border: 0;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.seqwmt-tab.is-active { color: var(--seqwmt-ink); background: #fff; box-shadow: 0 1px 4px rgba(7,24,39,.12); }
.seqwmt-subtabpanel { padding-top: 4px; }
.seqwmt-tabpanel[hidden] { display: none; }

/* ---- Model Explorer tab (model-explorer/model-explorer.js) ---- */

.seqwmt-models-root { display: grid; gap: 10px; }

/* ---- Climate tab (climate/climate.js) ---- */

.seqwmt-climate-root { display: grid; gap: 10px; }
.seqwmt-climate-stale { margin: 0; padding: 8px 12px; color: #6f4c00; background: #fff3d6; border-radius: 10px; font-size: 12.5px; font-weight: 700; }
.seqwmt-climate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.seqwmt-climate-card { display: grid; gap: 8px; align-content: start; padding: 14px 16px; background: #fff; border: 1px solid var(--seqwmt-line); border-left: 5px solid #8a97a0; border-radius: 12px; }
.seqwmt-climate-card--orange { border-left-color: #ff7a1a; }
.seqwmt-climate-card--blue { border-left-color: #248dd1; }
.seqwmt-climate-card--slate { border-left-color: #69737b; }
.seqwmt-climate-card-title { margin: 0; color: var(--seqwmt-ink); font-size: 14px; font-weight: 800; }
.seqwmt-climate-headline { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.seqwmt-climate-headline strong { color: #06263e; font-size: 22px; font-weight: 800; }
.seqwmt-climate-phase { padding: 3px 10px; color: #fff; background: #69737b; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.seqwmt-climate-card--orange .seqwmt-climate-phase { background: #ff7a1a; }
.seqwmt-climate-card--blue .seqwmt-climate-phase { background: #248dd1; }
.seqwmt-climate-chart { width: 100%; height: auto; }
.seqwmt-climate-chart-line { fill: none; stroke: #126db2; stroke-width: 2; }
.seqwmt-climate-chart-zero { stroke: var(--seqwmt-line); stroke-width: 1; }
.seqwmt-climate-chart-threshold { stroke: #c3ccd2; stroke-width: 1; stroke-dasharray: 3 3; }
.seqwmt-climate-mjo-plot { width: 100%; max-width: 260px; height: auto; justify-self: center; }
.seqwmt-climate-mjo-axis { stroke: var(--seqwmt-line); stroke-width: 1; }
.seqwmt-climate-mjo-weak-circle { fill: none; stroke: #c3ccd2; stroke-width: 1; stroke-dasharray: 4 3; }
.seqwmt-climate-mjo-trail { fill: none; stroke: #7046a5; stroke-width: 1.5; opacity: .6; }
.seqwmt-climate-mjo-latest { fill: #7046a5; stroke: #fff; stroke-width: 2; }
.seqwmt-climate-updated { color: var(--seqwmt-muted); font-size: 11.5px; }
.seqwmt-models-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.seqwmt-models-field { display: grid; gap: 3px; font-size: 11px; color: var(--seqwmt-muted); font-weight: 700; }
.seqwmt-models-field[hidden] { display: none; }
.seqwmt-models-field select { min-height: 38px; padding: 6px 10px; color: var(--seqwmt-ink); background: #fff; border: 1px solid var(--seqwmt-line); border-radius: 9px; font-size: 13px; font-weight: 650; }
.seqwmt-models-hour-row { display: flex; align-items: center; gap: 10px; }
.seqwmt-models-hour-row .seqwmt-camera-archive-slider { flex: 1; }
.seqwmt-models-hour-label { flex: none; min-width: 11ch; color: var(--seqwmt-muted); font-size: 12px; font-weight: 700; text-align: right; }
.seqwmt-models-source { margin: 0; padding: 8px 10px; color: #315269; background: #eef7fb; border: 1px solid #c7e1ed; border-radius: 10px; font-size: 11.5px; line-height: 1.45; }
.seqwmt-models-status { margin: 0; color: var(--seqwmt-muted); font-size: 12.5px; }
.seqwmt-models-map { position: relative; height: clamp(540px, 76vh, 940px); border: 1px solid var(--seqwmt-line); border-radius: 16px; overflow: hidden; }
.seqwmt-models-legend { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #f7f9fa; border: 1px solid var(--seqwmt-line); border-radius: 12px; font-size: 12px; font-weight: 700; }
.seqwmt-models-legend-bar { flex: 1; height: 10px; border-radius: 999px; }
.seqwmt-models-legend-scale { display: flex; justify-content: space-between; flex: none; width: 120px; color: var(--seqwmt-muted); font-size: 10.5px; font-weight: 700; }
.seqwmt-models-pointer { display: grid; gap: 2px; padding: 10px 12px; background: #eef2f4; border-radius: 12px; }
.seqwmt-models-pointer strong { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--seqwmt-muted); }
.seqwmt-models-pointer span { font-size: 16px; font-weight: 800; color: var(--seqwmt-ink); }
.seqwmt-models-pointer small { color: var(--seqwmt-muted); font-size: 11px; }
.seqwmt-storm-profile-open { justify-self: start; margin-top: 5px; padding: 7px 11px; color: #fff; background: #0a6d8c; border: 0; border-radius: 8px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.seqwmt-storm-profile-open:hover, .seqwmt-storm-profile-open:focus-visible { background: #064d68; }
.seqwmt-advanced-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.seqwmt-advanced-chart-wrap { display: grid; gap: 6px; padding: 10px; background: #fff; border: 1px solid var(--seqwmt-line); border-radius: 12px; }
.seqwmt-advanced-chart-title { margin: 0; color: var(--seqwmt-ink); font-size: 12.5px; font-weight: 800; }
.seqwmt-profile-chart, .seqwmt-hodograph { width: 100%; height: auto; }
.seqwmt-profile-gridline { stroke: var(--seqwmt-line); stroke-width: 1; }
.seqwmt-profile-axis { fill: var(--seqwmt-muted); font-size: 9px; }
.seqwmt-profile-temperature { fill: none; stroke: #d62f45; stroke-width: 2; }
.seqwmt-profile-dewpoint { fill: none; stroke: #1f8a4c; stroke-width: 2; }
.seqwmt-hodograph-ring { fill: none; stroke: var(--seqwmt-line); stroke-width: 1; }
.seqwmt-hodograph-trail { fill: none; stroke: #126db2; stroke-width: 2; }
.seqwmt-hodograph-point { fill: #126db2; }
.seqwmt-hodograph-surface { fill: #d62f45; stroke: #fff; stroke-width: 1.5; }

.seqwmt-map {
  position: relative;
  z-index: 0;
  height: clamp(442px, 75vh, 978px);
  background: #dceaf1;
  border: 1px solid var(--seqwmt-line);
  border-radius: 16px;
  overflow: hidden;
}
.seqwmt-map .maplibregl-ctrl-attrib { font-size: 11px; }

.seqwmt-badge {
  margin: 8px 2px 0;
  color: var(--seqwmt-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.seqwmt-noscript { padding: 16px; color: var(--seqwmt-ink); background: #fff8ea; border-radius: 10px; }

/* ---- Layer panel: a column beside the map (stacks under it on narrow screens) ---- */

.seqwmt-live-stage { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 10px; align-items: start; }
@media (max-width: 900px) { .seqwmt-live-stage { grid-template-columns: 1fr; } }
.seqwmt-panel {
  /* Same look as the Model Explorer's side panel: a stack of flat grey cards, one per layer group. */
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  max-height: clamp(442px, 75vh, 978px);
  overflow-y: auto;
}
.seqwmt-panel-head {
  display: none; /* only shown as the mobile handle */
}
.seqwmt-panel-body { display: grid; gap: 10px; padding: 0; }
.seqwmt-panel-group { padding: 2px 4px 6px; background: #f7f9fa; border: 1px solid var(--seqwmt-line); border-radius: 12px; }
.seqwmt-panel-group-label {
  margin: 10px 14px 4px;
  color: var(--seqwmt-muted);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.seqwmt-panel-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 14px;
  cursor: pointer;
}
.seqwmt-panel-row input[type="checkbox"] { width: 18px; height: 18px; flex: none; accent-color: #126db2; }
.seqwmt-panel-row-label { flex: 1; min-width: 0; font-size: 13px; font-weight: 650; }
.seqwmt-panel-row-count {
  flex: none;
  padding: 1px 7px;
  color: #fff;
  background: #8a97a0;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
}
.seqwmt-panel-row-count.is-zero { background: #c3ccd2; }
.seqwmt-panel-row.is-planned .seqwmt-panel-row-label { color: var(--seqwmt-muted); }
.seqwmt-panel-row-status {
  flex: none;
  color: var(--seqwmt-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  /* A compact floating pill anchored at bottom-left, not a full-width bar -- MapLibre's own
     Navigation/Attribution controls live at bottom-right and bottom-left-scale (see
     map/init.js), and a full-bleed handle would sit behind or on top of them. Expanding
     grows the same pill upward into a card, so the two never fight over screen edges. */
  .seqwmt-panel {
    width: 100%;
    max-height: 44px;
    overflow: hidden;
    transition: max-height .18s ease;
  }
  .seqwmt-panel.is-open { max-height: 60vh; overflow-y: auto; }
  .seqwmt-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 44px;
    padding: 0 14px;
    color: var(--seqwmt-ink);
    background: #f7f9fa;
    border: 1px solid var(--seqwmt-line);
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
  }
  .seqwmt-panel.is-open .seqwmt-panel-head { margin-bottom: 10px; }
  .seqwmt-panel-head::after { content: '▲'; flex: none; color: var(--seqwmt-muted); font-size: 10px; transition: transform .18s ease; }
  .seqwmt-panel.is-open .seqwmt-panel-head::after { transform: rotate(180deg); }
  .seqwmt-panel-body { max-height: calc(60vh - 44px); overflow-y: auto; }
}

/* ---- Emergency Alerts ticker/list (no reliable geometry -- see layers/warnings-emergency.js) ---- */

.seqwmt-ticker {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  width: min(320px, calc(100% - 24px));
  max-height: 40%;
  overflow-y: auto;
  background: var(--seqwmt-panel-bg);
  border: 1px solid var(--seqwmt-line);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(7, 24, 39, .14);
}
.seqwmt-ticker[hidden] { display: none; }
.seqwmt-ticker-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--seqwmt-line);
  font-size: 12px;
  font-weight: 800;
}
.seqwmt-ticker-count {
  padding: 1px 7px;
  color: #fff;
  background: var(--seqwmt-information);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
}
.seqwmt-ticker-list { margin: 0; padding: 0; list-style: none; }
.seqwmt-ticker-item { padding: 8px 12px; border-top: 1px solid var(--seqwmt-line); cursor: pointer; }
.seqwmt-ticker-item:first-child { border-top: 0; }
.seqwmt-ticker-item:hover, .seqwmt-ticker-item:focus-visible { background: #f5f8fa; }
.seqwmt-ticker-item strong { display: block; font-size: 12.5px; }
.seqwmt-ticker-item small { color: var(--seqwmt-muted); font-size: 11px; }

/* ---- Markers (DOM, milestone-1 point icons: warnings / fires / outages) ---- */

.seqwmt-marker { background: transparent; border: 0; cursor: pointer; }
.seqwmt-marker-badge {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--seqwmt-marker-colour, #126db2);
  background: transparent;
  transition: transform .1s ease;
}
.seqwmt-marker-badge svg { width: 22px; height: 22px; fill: currentColor; filter: drop-shadow(0 0 1px #fff) drop-shadow(0 1px 1px rgba(7,24,39,.7)); }
.seqwmt-marker:hover .seqwmt-marker-badge, .seqwmt-marker.is-selected .seqwmt-marker-badge { transform: scale(1.18); }
.seqwmt-marker.is-selected .seqwmt-marker-badge { filter: drop-shadow(0 0 0 3px rgba(18,109,178,.35)); }

/* ---- Shared popup/card (ui/popup-card.js) ---- */

.maplibregl-popup-content { padding: 12px 14px; font: 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.seqwmt-card { display: grid; gap: 5px; min-width: 220px; max-width: 320px; color: var(--seqwmt-ink); }
.seqwmt-card-type {
  justify-self: start;
  padding: 3px 8px;
  color: #fff;
  background: #126db2;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.seqwmt-card-type.sev-emergency { background: var(--seqwmt-emergency); }
.seqwmt-card-type.sev-watch { background: var(--seqwmt-watch); }
.seqwmt-card-type.sev-advice { background: var(--seqwmt-advice); }
.seqwmt-card-type.sev-information { background: var(--seqwmt-information); }
.seqwmt-card-type.sev-planned { background: var(--seqwmt-outage-planned); }
.seqwmt-card-type.sev-unplanned { background: var(--seqwmt-outage-unplanned); }
.seqwmt-card-title { color: #06263e; font-size: 14.5px; font-weight: 800; }
.seqwmt-card-meta { color: var(--seqwmt-muted); font-size: 11.5px; }
.seqwmt-card-body { margin: 2px 0 0; padding: 0; list-style: none; }
.seqwmt-card-body li { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; font-size: 12px; }
.seqwmt-card-body li span:first-child { color: var(--seqwmt-muted); }
.seqwmt-card-description { margin: 2px 0 0; color: var(--seqwmt-ink); font-size: 12.5px; }
.seqwmt-card-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.seqwmt-card-links a { color: #126db2; font-size: 12px; font-weight: 700; text-decoration: none; }
.seqwmt-card-links a:hover { text-decoration: underline; }

.seqwmt-card-media { display: grid; gap: 5px; }
.seqwmt-card-media img { width: 100%; max-height: 180px; border-radius: 8px; object-fit: cover; background: var(--seqwmt-panel-bg, #eef2f4); }
.seqwmt-card-media-offline { margin: 0; padding: 40px 10px; color: var(--seqwmt-muted); background: #eef2f4; border-radius: 8px; font-size: 12px; text-align: center; }
.seqwmt-card-media-tabs { display: flex; flex-wrap: wrap; gap: 5px; }
.seqwmt-card-media-tab { padding: 3px 8px; color: var(--seqwmt-muted); background: #eef2f4; border: 0; border-radius: 999px; font-size: 10.5px; font-weight: 700; cursor: pointer; }
.seqwmt-card-media-tab.is-active { color: #fff; background: #126db2; }
.seqwmt-card-open-panel { justify-self: start; padding: 6px 12px; margin-top: 2px; color: #fff; background: #126db2; border: 0; border-radius: 999px; font-size: 12px; font-weight: 800; cursor: pointer; }
.seqwmt-card-open-panel:hover { background: #0d5a94; }

/* ---- Camera detail panel (ui/camera-panel.js) -- modal, not a map popup ---- */

.seqwmt-camera-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 24, 39, .55);
}
.seqwmt-camera-overlay[hidden] { display: none; }
.seqwmt-camera-dialog {
  display: grid;
  gap: 12px;
  width: min(640px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(7, 24, 39, .35);
}
.seqwmt-camera-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.seqwmt-camera-header h2 { margin: 0; color: #06263e; font-size: 1.1rem; }
.seqwmt-camera-close { width: 32px; height: 32px; flex: none; color: var(--seqwmt-muted); background: #eef2f4; border: 0; border-radius: 50%; font-size: 18px; line-height: 1; cursor: pointer; }
.seqwmt-camera-close:hover { background: #e2e8eb; }
.seqwmt-camera-body { display: grid; gap: 10px; }
.seqwmt-camera-switch { display: flex; flex-wrap: wrap; gap: 6px; }
.seqwmt-camera-switch[hidden] { display: none; }
.seqwmt-camera-switch-btn { padding: 5px 11px; color: var(--seqwmt-muted); background: #eef2f4; border: 0; border-radius: 999px; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.seqwmt-camera-switch-btn.is-active { color: #fff; background: #126db2; }
.seqwmt-camera-status { margin: 0; padding: 40px 10px; color: var(--seqwmt-muted); background: #eef2f4; border-radius: 10px; font-size: 13px; text-align: center; }
.seqwmt-camera-status[hidden] { display: none; }
.seqwmt-probe-comment { margin: 0; padding: 8px 10px; color: #4f2565; background: #f2e9f8; border-left: 4px solid #8a3fb0; border-radius: 5px; font-size: 13px; }
.seqwmt-camera-modes { display: flex; flex-wrap: wrap; gap: 6px; }
.seqwmt-camera-mode-btn { padding: 6px 12px; color: var(--seqwmt-muted); background: #eef2f4; border: 0; border-radius: 999px; font-size: 12px; font-weight: 750; cursor: pointer; }
.seqwmt-camera-mode-btn.is-active { color: #fff; background: #126db2; }
.seqwmt-camera-archive-btn { color: #7046a5; background: #f1ecf8; }
.seqwmt-camera-media { display: grid; min-height: 160px; }
.seqwmt-camera-media img, .seqwmt-camera-media video { width: 100%; max-height: 360px; border-radius: 10px; object-fit: contain; background: #10202c; }
.seqwmt-camera-loading { margin: 0; padding: 50px 10px; color: var(--seqwmt-muted); background: #eef2f4; border-radius: 10px; font-size: 13px; text-align: center; }
.seqwmt-progress { display: grid; gap: 5px; margin: 6px 0 4px; }
.seqwmt-progress[hidden] { display: none; }
.seqwmt-progress-text { color: var(--seqwmt-muted); font-size: 12px; font-weight: 700; }
.seqwmt-progress-bar { height: 6px; overflow: hidden; background: #dfe7ec; border-radius: 999px; }
.seqwmt-progress-fill { width: 0; height: 100%; background: #0b4f8f; border-radius: 999px; transition: width .15s ease; }
.seqwmt-progress-bar.is-indeterminate .seqwmt-progress-fill { width: 38%; animation: seqwmt-progress-slide 1.1s ease-in-out infinite; }
.seqwmt-loading-block { display: grid; gap: 10px; justify-items: center; align-content: center; }
.seqwmt-loading-block .seqwmt-progress-bar { width: min(220px, 70%); }
@keyframes seqwmt-progress-slide { 0% { margin-left: -38%; } 100% { margin-left: 100%; } }
@media (prefers-reduced-motion: reduce) { .seqwmt-progress-bar.is-indeterminate .seqwmt-progress-fill { width: 100%; animation: none; opacity: .5; } }
.seqwmt-camera-archive-nav { padding: 6px 12px; color: var(--seqwmt-ink); background: #eef2f4; border: 0; border-radius: 999px; font-size: 12px; font-weight: 750; cursor: pointer; }
.seqwmt-camera-archive-nav:disabled { color: #c3ccd2; cursor: default; }
.seqwmt-camera-archive-caption { color: var(--seqwmt-muted); font-size: 11.5px; white-space: nowrap; }
.seqwmt-camera-archive-options { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 8px; }
.seqwmt-camera-archive-option { display: flex; flex-direction: column; gap: 3px; color: var(--seqwmt-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.seqwmt-camera-archive-option select { padding: 6px 8px; color: var(--seqwmt-ink); background: #eef2f4; border: 0; border-radius: 6px; font-size: 12px; font-weight: 650; text-transform: none; }
.seqwmt-camera-archive-progress { display: block; margin: 0 0 6px; color: var(--seqwmt-muted); font-size: 11px; }
.seqwmt-camera-archive-scrub { display: flex; align-items: center; gap: 10px; }
.seqwmt-camera-archive-play { flex: none; padding: 8px 16px; color: #fff; background: #126db2; border: 0; border-radius: 999px; font-size: 12px; font-weight: 800; cursor: pointer; }
.seqwmt-camera-archive-play:hover { background: #0d5a94; }
.seqwmt-camera-archive-play:disabled { background: #c3ccd2; cursor: default; }
.seqwmt-camera-archive-scrub .seqwmt-camera-archive-slider { flex: 1 1 auto; margin: 0; }
.seqwmt-camera-readings {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--seqwmt-line);
}
.seqwmt-camera-readings-heading {
  margin: 4px 0 0;
  color: var(--seqwmt-muted);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.seqwmt-camera-readings-heading:first-child { margin-top: 0; }
.seqwmt-reading-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.seqwmt-reading-tile { position: relative; overflow: hidden; min-height: 76px; padding: 8px 9px 7px; color: #fff; background: #69737b; border-radius: 9px; }
.seqwmt-reading-tile--amber { background: #eba000; }
.seqwmt-reading-tile--orange { background: #dd9000; }
.seqwmt-reading-tile--blue { background: #0a4c91; }
.seqwmt-reading-tile--sky { background: #477da7; }
.seqwmt-reading-tile--navy { background: #06457f; }
.seqwmt-reading-tile--taupe { background: #9d9173; }
.seqwmt-reading-tile--charcoal { background: #3e3d3d; }
.seqwmt-reading-tile--grey { background: #666; }
.seqwmt-reading-tile--green { background: #397755; }
.seqwmt-reading-tile--slate { background: #69737b; }
.seqwmt-reading-label { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .01em; text-transform: capitalize; }
.seqwmt-reading-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 4px; min-height: 34px; margin-top: 6px; }
.seqwmt-reading-icon { font-size: 20px; font-weight: 700; line-height: 1; opacity: .95; }
.seqwmt-reading-value { display: flex; align-items: baseline; gap: 2px; min-width: 0; text-align: right; }
.seqwmt-reading-value strong { font-size: clamp(17px, 4vw, 22px); letter-spacing: -.03em; line-height: 1; overflow: hidden; text-overflow: ellipsis; }
.seqwmt-reading-value small { font-size: 9px; font-weight: 800; }
.seqwmt-camera-archive-slider { width: 100%; margin: 8px 0 0; accent-color: #126db2; }
.seqwmt-camera-credits { color: var(--seqwmt-muted); font-size: 11px; }

@media (max-width: 720px) {
  /* Full width minus equal gutters -- nothing else occupies the top corners on mobile
     (the layer panel moves to a bottom-left pill above), so the ticker doesn't need to
     reserve extra space on either side the way it does next to the desktop panel. */
  .seqwmt-ticker { top: 8px; left: 8px; width: calc(100% - 16px); max-height: 34%; }
}


/* v0.9: explicit live/forecast separation and competitor-informed product presentation. */
.seqwmt-section-intro { margin: 0 0 12px; padding: 14px 16px; border: 1px solid var(--seqwmt-line); border-radius: 14px; background: linear-gradient(135deg, #f8fbfc, #eef7fb); }
.seqwmt-section-intro span { display: block; color: #087b9a; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.seqwmt-section-intro h2 { margin: 3px 0 2px; color: var(--seqwmt-ink); font-size: clamp(20px, 3vw, 28px); }
.seqwmt-section-intro p { margin: 0; color: var(--seqwmt-muted); font-size: 13px; line-height: 1.45; }
.seqwmt-model-product { display: grid; gap: 3px; padding: 13px 15px; color: #eaf8ff; background: linear-gradient(135deg, #06263e, #0a4d68); border-radius: 14px; box-shadow: 0 8px 24px rgba(6,38,62,.14); }
.seqwmt-model-product-eyebrow { color: #55d8f0; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.seqwmt-model-product-title { font-size: clamp(17px, 2.8vw, 23px); line-height: 1.2; }
.seqwmt-model-product-meta { color: #bfd7e4; font-size: 12px; line-height: 1.4; }
.seqwmt-models-legend { align-items: stretch; flex-direction: column; gap: 7px; overflow-x: auto; }
.seqwmt-models-legend-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-width: max-content; }
.seqwmt-models-legend-heading small { color: var(--seqwmt-muted); font-weight: 500; }
.seqwmt-models-legend-steps { display: flex; min-width: max-content; }
.seqwmt-models-legend-step { display: grid; min-width: 58px; text-align: center; }
.seqwmt-models-legend-step i { display: block; height: 13px; border-right: 1px solid rgba(255,255,255,.55); }
.seqwmt-models-legend-step small { padding: 3px 4px 0; color: #315269; font-size: 9.5px; font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) {
  .seqwmt-section-intro { padding: 11px 12px; }
  .seqwmt-model-product { padding: 11px 12px; }
  .seqwmt-models-legend-heading { align-items: flex-start; flex-direction: column; gap: 1px; }
}


/* v0.10: click-through storm profile lightbox. */
html.seqwmt-dialog-open { overflow: hidden; }
.seqwmt-storm-profile-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 18, 30, .72);
  backdrop-filter: blur(4px);
}
.seqwmt-storm-profile-overlay[hidden] { display: none; }
.seqwmt-storm-profile-dialog {
  display: grid;
  gap: 12px;
  width: min(1120px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 18px;
  background: #f7fafc;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0,0,0,.38);
}
.seqwmt-storm-profile-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.seqwmt-storm-profile-heading { display: grid; gap: 2px; }
.seqwmt-storm-profile-eyebrow { color: #087b9a; font-size: 10.5px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.seqwmt-storm-profile-heading h2 { margin: 0; color: #06263e; font-size: clamp(19px, 3vw, 28px); line-height: 1.2; }
.seqwmt-storm-profile-close { width: 38px; height: 38px; flex: none; color: #315269; background: #e7f0f4; border: 0; border-radius: 50%; font-size: 25px; line-height: 1; cursor: pointer; }
.seqwmt-storm-profile-close:hover { color: #fff; background: #0a4d68; }
.seqwmt-storm-profile-meta { margin: 0; color: #315269; font-size: 12.5px; font-weight: 750; }
.seqwmt-storm-profile-status { margin: 0; padding: 9px 11px; color: #315269; background: #eaf4f8; border-left: 4px solid #17a8c7; border-radius: 8px; font-size: 12px; line-height: 1.45; }
.seqwmt-storm-profile-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.seqwmt-storm-profile-metric { display: grid; gap: 2px; padding: 9px 10px; background: #fff; border: 1px solid var(--seqwmt-line); border-radius: 10px; }
.seqwmt-storm-profile-metric small { color: var(--seqwmt-muted); font-size: 9.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.seqwmt-storm-profile-metric strong { color: #06263e; font-size: 15px; }
.seqwmt-storm-profile-charts .seqwmt-advanced-chart-wrap { min-width: 0; padding: 14px; }
.seqwmt-storm-profile-charts .seqwmt-advanced-chart-title { font-size: 14px; }
@media (max-width: 720px) {
  .seqwmt-models-map { height: clamp(480px, 72vh, 720px); }
  .seqwmt-storm-profile-overlay { align-items: end; padding: 0; }
  .seqwmt-storm-profile-dialog { width: 100%; max-height: 92vh; padding: 14px; border-radius: 18px 18px 0 0; }
  .seqwmt-storm-profile-charts { grid-template-columns: 1fr; }
}


/* v0.10.1: Australian Warning System hierarchy for Emergency Alert ticker. */
.seqwmt-ticker-head { color: #fff; background: #46798f; border-bottom-color: rgba(255,255,255,.28); }
.seqwmt-ticker.sev-advice .seqwmt-ticker-head { color: #3d3000; background: #f4d361; }
.seqwmt-ticker.sev-watch .seqwmt-ticker-head { color: #3c2100; background: #f0aa37; }
.seqwmt-ticker.sev-emergency .seqwmt-ticker-head,
.seqwmt-ticker.sev-critical .seqwmt-ticker-head { color: #fff; background: #8f0e16; }
.seqwmt-ticker-count { background: rgba(0,0,0,.28); box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.seqwmt-ticker-item { position: relative; display: grid; gap: 3px; overflow: hidden; }
.seqwmt-ticker-item > * { position: relative; z-index: 1; }
.seqwmt-ticker-severity { justify-self: start; padding: 2px 7px; color: #fff; background: #46798f; border-radius: 999px; font-size: 9px; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; }
.seqwmt-ticker-item.sev-advice { background: #fff7cf; }
.seqwmt-ticker-item.sev-advice .seqwmt-ticker-severity { color: #3d3000; background: #f4d361; }
.seqwmt-ticker-item.sev-watch { color: #2f1b00; background: repeating-linear-gradient(135deg, #f7bf52 0 18px, #f2a62d 18px 36px); }
.seqwmt-ticker-item.sev-watch .seqwmt-ticker-severity { color: #2f1b00; background: rgba(255,255,255,.72); }
.seqwmt-ticker-item.sev-emergency { color: #fff; background: #9c111b; animation: seqwmt-warning-pulse 1.25s ease-in-out infinite alternate; }
.seqwmt-ticker-item.sev-emergency small { color: #ffe1e3; }
.seqwmt-ticker-item.sev-emergency .seqwmt-ticker-severity { background: rgba(55,0,5,.48); box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.seqwmt-ticker-item.sev-critical { color: #fff; background: #5c0810; }
.seqwmt-ticker-item.sev-critical::before {
  position: absolute; inset: 0; z-index: 0; content: ''; pointer-events: none;
  background: repeating-linear-gradient(135deg, #ef1c2f 0 22px, #8e24c8 22px 44px);
  background-size: 62.23px 62.23px;
  animation: seqwmt-warning-stripes 1.4s linear infinite;
}
.seqwmt-ticker-item.sev-critical strong,
.seqwmt-ticker-item.sev-critical small { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.88); }
.seqwmt-ticker-item.sev-critical .seqwmt-ticker-severity { background: rgba(35,0,4,.62); box-shadow: 0 0 0 1px rgba(255,255,255,.45); }
@keyframes seqwmt-warning-pulse { from { background-color: #770a11; } to { background-color: #c31924; box-shadow: inset 0 0 24px rgba(255,110,110,.32); } }
@keyframes seqwmt-warning-stripes { from { background-position: 0 0; } to { background-position: 62.23px 0; } }
@media (prefers-reduced-motion: reduce) {
  .seqwmt-ticker-item.sev-emergency, .seqwmt-ticker-item.sev-critical::before { animation: none; }
}

/* ---- Model Explorer (convective forecast system) ---- */
.seqwmt-cv-banner { margin: 0; padding: 9px 12px; color: #664d03; background: #fff3cd; border: 1px solid #e7c976; border-radius: 10px; font-size: 12.5px; font-weight: 600; }
.seqwmt-cv-banner[data-level="down"] { color: #7a1c14; background: #fdecea; border-color: #f0b7b1; }
.seqwmt-cv-mode { display: inline-flex; border: 1px solid var(--seqwmt-line); border-radius: 9px; overflow: hidden; background: #fff; }
.seqwmt-cv-mode-btn { min-height: 38px; padding: 6px 14px; color: var(--seqwmt-ink); background: transparent; border: 0; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.seqwmt-cv-mode-btn + .seqwmt-cv-mode-btn { border-left: 1px solid var(--seqwmt-line); }
.seqwmt-cv-mode-btn.is-active { color: #fff; background: #0a6d8c; }
.seqwmt-cv-mode-btn:disabled { opacity: .45; cursor: not-allowed; }
.seqwmt-cv-display { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; }
.seqwmt-cv-check { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--seqwmt-ink); }
.seqwmt-cv-check small { color: var(--seqwmt-muted); }
.seqwmt-cv-info { display: grid; }
.seqwmt-cv-info:empty { display: none; }
.seqwmt-cv-info div { display: flex; justify-content: space-between; gap: 14px; padding: 4px 2px; border-top: 1px solid var(--seqwmt-line); font-size: 12px; }
.seqwmt-cv-info span { color: var(--seqwmt-muted); }
.seqwmt-cv-info b { text-align: right; font-weight: 650; }
.seqwmt-cv-legend-bar { height: 10px; border: 1px solid var(--seqwmt-line); border-radius: 4px; }
.seqwmt-cv-legend-ticks { display: flex; justify-content: space-between; color: var(--seqwmt-muted); font-size: 10.5px; font-weight: 700; }
.seqwmt-cv-note { margin: 0; color: var(--seqwmt-muted); font-size: 12px; line-height: 1.45; }
.seqwmt-cv-chip { display: inline-block; padding: 0 8px; color: #fff; border-radius: 9px; font-size: 11px; font-weight: 700; line-height: 18px; }
/* click readout (MapLibre popup) */
.seqwmt-cv-row { display: flex; justify-content: space-between; gap: 14px; padding: 2px 0; min-width: 200px; }
.seqwmt-cv-row span { color: #5a6774; }
.seqwmt-cv-levels { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 12px; }
.seqwmt-cv-levels th { padding: 2px 6px 2px 0; color: #5a6774; font-weight: 500; text-align: left; }
.seqwmt-cv-levels td { padding: 2px 6px 2px 0; }
.seqwmt-cv-levels i { color: #5a6774; }
.seqwmt-cv-chart-title { margin-top: 8px; color: #5a6774; font-size: 12px; }
.seqwmt-cv-timeline { margin-top: 8px; }
.seqwmt-cv-tl-btn { padding: 4px 10px; color: var(--seqwmt-ink); background: #f3f6f9; border: 1px solid #b9c4cf; border-radius: 5px; font: inherit; font-size: 12px; cursor: pointer; }
.seqwmt-cv-tl-box { margin-top: 6px; }
/* place forecast + ensemble panels */
.seqwmt-cv-headline { margin: 10px 0 8px; font-size: 16px; }
.seqwmt-cv-ensemble-table h4 { margin: 10px 0 0; font-size: 13px; }
.seqwmt-cv-ensemble-table { display: grid; gap: 6px; }
.seqwmt-cv-stage { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 10px; align-items: start; }
.seqwmt-cv-side { display: grid; gap: 10px; min-width: 0; }
.seqwmt-cv-side .seqwmt-models-legend-heading { flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; }
.seqwmt-cv-side .seqwmt-models-legend { overflow: visible; }
.seqwmt-cv-side .seqwmt-cv-info div { align-items: baseline; }
@media (max-width: 900px) { .seqwmt-cv-stage { grid-template-columns: 1fr; } }

/* ---- Climate tab: sections, tropical cyclone outlook, NOAA charts ---- */
.seqwmt-climate-root { gap: 22px; }
.seqwmt-climate-section { display: grid; gap: 12px; }
.seqwmt-climate-section-heading { display: grid; gap: 2px; }
.seqwmt-climate-section-heading span { color: var(--seqwmt-muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.seqwmt-climate-section-heading h3 { margin: 0; color: var(--seqwmt-ink); font-size: 19px; }
.seqwmt-climate-section-heading p { margin: 2px 0 0; color: var(--seqwmt-muted); font-size: 13px; line-height: 1.45; }
.seqwmt-climate-body { display: grid; gap: 10px; }
.seqwmt-climate-note { margin: 0; color: var(--seqwmt-muted); font-size: 12px; line-height: 1.45; }
.seqwmt-tropical-label { margin: 4px 0 -6px; color: var(--seqwmt-muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.seqwmt-tropical-subhead { margin: 0; color: var(--seqwmt-ink); font-size: 15px; }
.seqwmt-tropical-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.seqwmt-tropical-card { display: grid; gap: 7px; align-content: start; padding: 14px 16px; background: #fff; border: 1px solid var(--seqwmt-line); border-radius: 12px; }
.seqwmt-tropical-card h4 { margin: 0; color: var(--seqwmt-ink); font-size: 14px; font-weight: 800; }
.seqwmt-tropical-card p { margin: 0; font-size: 12.5px; line-height: 1.45; }
.seqwmt-tropical-meta { color: var(--seqwmt-muted); font-weight: 700; }
.seqwmt-tropical-advisory { border-left: 5px solid #8a97a0; }
.seqwmt-tropical-advisory.is-active { border-left-color: #ff7a1a; }
.seqwmt-tropical-advisory-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.seqwmt-tropical-risk { padding: 3px 10px; color: #fff; background: #69737b; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.seqwmt-tropical-risk--low { background: #c99716; }
.seqwmt-tropical-risk--medium { background: #e36a1f; }
.seqwmt-tropical-risk--high { background: #b32121; }
.seqwmt-tropical-graphic { width: 100%; height: auto; border: 1px solid var(--seqwmt-line); border-radius: 8px; background: #f7f9fa; }
.seqwmt-climate-track { width: 100%; max-width: 320px; height: auto; background: #eef3f6; border-radius: 8px; }
.seqwmt-climate-track-line { fill: none; stroke: #b32121; stroke-width: 1.6; stroke-dasharray: 4 3; }
.seqwmt-climate-track-now { fill: #b32121; stroke: #fff; stroke-width: 2; }
.seqwmt-climate-track-fc { fill: #e36a1f; stroke: #fff; stroke-width: 1.5; }
.seqwmt-climate-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.seqwmt-climate-figure { display: grid; gap: 8px; align-content: start; margin: 0; padding: 12px; background: #fff; border: 1px solid var(--seqwmt-line); border-radius: 12px; }
.seqwmt-climate-figure--wide { grid-column: 1 / -1; }
.seqwmt-climate-figure img { width: 100%; height: auto; border-radius: 8px; background: #f7f9fa; }
.seqwmt-climate-figure figcaption { display: grid; gap: 3px; font-size: 12.5px; line-height: 1.4; }
.seqwmt-climate-figure figcaption span { color: var(--seqwmt-muted); }
.seqwmt-climate-figure figcaption small { color: var(--seqwmt-muted); font-size: 11px; }

/* ---- Climate tab: Nino regions ---- */
.seqwmt-nino-chart-wrap { display: grid; gap: 8px; padding: 14px 16px; background: #fff; border: 1px solid var(--seqwmt-line); border-radius: 12px; }
.seqwmt-nino-chart { width: 100%; height: auto; }
.seqwmt-nino-grid { stroke: #e3e8ed; stroke-width: 1; }
.seqwmt-nino-threshold { stroke: #b3bcc3; stroke-width: 1; stroke-dasharray: 5 4; }
.seqwmt-nino-zero { stroke: #6f8796; stroke-width: 1.3; }
.seqwmt-nino-axis { fill: var(--seqwmt-muted); font-size: 11px; font-weight: 600; }
.seqwmt-nino-line { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.seqwmt-nino-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; font-size: 12px; font-weight: 700; color: var(--seqwmt-ink); }
.seqwmt-nino-legend li { display: flex; align-items: center; gap: 6px; }
.seqwmt-nino-legend i { display: inline-block; width: 18px; height: 4px; border-radius: 2px; }
.seqwmt-nino-grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.seqwmt-nino-card { display: grid; gap: 4px; align-content: start; padding: 12px 14px; background: #fff; border: 1px solid var(--seqwmt-line); border-left: 5px solid #8a97a0; border-radius: 12px; }
.seqwmt-nino-card--positive { border-left-color: #ff7a1a; }
.seqwmt-nino-card--negative { border-left-color: #248dd1; }
.seqwmt-nino-card.is-primary { box-shadow: 0 0 0 2px rgba(14, 95, 168, .25); }
.seqwmt-nino-card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.seqwmt-nino-card h4 { margin: 0; color: var(--seqwmt-ink); font-size: 14px; font-weight: 800; }
.seqwmt-nino-phase { padding: 2px 9px; color: #fff; background: #69737b; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.seqwmt-nino-card--positive .seqwmt-nino-phase { background: #ff7a1a; }
.seqwmt-nino-card--negative .seqwmt-nino-phase { background: #248dd1; }
.seqwmt-nino-value { color: #06263e; font-size: 24px; font-weight: 800; }
.seqwmt-nino-card p { margin: 0; color: var(--seqwmt-muted); font-size: 12px; line-height: 1.4; }
.seqwmt-nino-card small { color: var(--seqwmt-muted); font-size: 11.5px; }
.seqwmt-climate-subhead { margin: 6px 0 -2px; color: var(--seqwmt-ink); font-size: 15px; }

/* ---- SEQ Weather logo, bottom-left corner of both maps (same treatment as the Weather Room's) ---- */
.seqwmt-watermark { position: absolute; z-index: 6; left: 12px; bottom: 12px; width: min(16vw, 110px); height: auto; padding: 6px; background: rgba(7, 24, 39, .72); border-radius: 10px; pointer-events: none; }
@media (max-width: 720px) {
  .seqwmt-watermark { width: 76px; padding: 5px; }
  /* On the Live Map the layer panel takes the bottom-left corner on small screens. */
  .seqwmt-map .seqwmt-watermark { left: auto; right: 12px; bottom: auto; top: 12px; }
}

/* ---- Full-width layout ---- */
body:has(.seqwmt-app) { overflow-x: clip; } /* safety net: never a sideways scrollbar while --seqwmt-vw is unset */
.seqwmt-app .seqwmt-section-intro p { max-width: 900px; } /* keep reading lines short on a wide screen */
.seqwmt-models-controls { align-items: end; }
.seqwmt-models-map { height: clamp(560px, 78vh, 980px); }
.seqwmt-cv-displaybox { display: grid; gap: 8px; padding: 10px 12px; background: #f7f9fa; border: 1px solid var(--seqwmt-line); border-radius: 12px; }
.seqwmt-cv-displaybox .seqwmt-camera-archive-slider { width: 100%; }
.seqwmt-cv-displaybox .seqwmt-cv-check { flex-wrap: wrap; }

/* ---- Compact header area: get to the map without a page of scrolling ---- */
.seqwmt-app { margin-top: 8px; }
.seqwmt-tabs { margin-bottom: 8px; }
.seqwmt-app .seqwmt-section-intro { margin: 0 0 8px; padding: 0; background: none; border: 0; border-radius: 0; }
.seqwmt-app .seqwmt-section-intro span, .seqwmt-app .seqwmt-section-intro h2 { display: none; } /* the tab already names the section */
.seqwmt-app .seqwmt-section-intro p { font-size: 12.5px; }
.seqwmt-model-product { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; padding: 8px 14px; border-radius: 12px; }
.seqwmt-model-product-title { order: 1; font-size: 18px; }
.seqwmt-model-product-meta { order: 2; }
.seqwmt-model-product-eyebrow { order: 3; margin-left: auto; }
.seqwmt-cv-banner { padding: 6px 12px; font-size: 12px; }
.seqwmt-models-controls { align-items: end; gap: 8px 12px; }
.seqwmt-models-controls .seqwmt-models-hour-row { flex: 1 1 320px; min-height: 38px; }
/* The theme's page title and top padding, on pages hosting this tool only. */
body:has(.seqwmt-app) .seq-main { padding-block: 14px 40px; }
body:has(.seqwmt-app) .seq-page-header { margin-bottom: 6px; }
body:has(.seqwmt-app) .seq-page-header h1 { margin: 0; font-size: 1.6rem; }

/* ---- Side panel: the Multi-Model / Model spread switch; Ensemble guidance itself sits below the map ---- */
.seqwmt-cv-togglebox { display: grid; }
.seqwmt-cv-side .seqwmt-cv-mode { display: flex; width: 100%; }
.seqwmt-cv-side .seqwmt-cv-mode-btn { flex: 1; min-height: 34px; padding: 5px 10px; font-size: 12px; }
.seqwmt-cv-ensemble-table { max-width: 760px; }

/* ---- Point forecast lightbox (opened by clicking the Model Explorer map) ---- */
.seqwmt-lb { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 12px; background: rgba(7, 24, 39, .5); }
.seqwmt-lb[hidden] { display: none; }
.seqwmt-lb-dialog { display: flex; flex-direction: column; width: min(960px, 100%); max-height: min(92vh, 900px); background: #fff; color: var(--seqwmt-ink); border-radius: 16px; box-shadow: 0 24px 64px rgba(0, 0, 0, .4); overflow: hidden; }
.seqwmt-lb-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 18px 8px; }
.seqwmt-lb-title { margin: 0; font-size: 20px; }
.seqwmt-lb-subtitle { margin: 2px 0 0; color: var(--seqwmt-muted); font-size: 12.5px; }
.seqwmt-lb-close { flex: none; width: 36px; height: 36px; color: var(--seqwmt-ink); background: #eef2f4; border: 0; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.seqwmt-lb-close:hover { background: #dfe7ea; }
.seqwmt-lb-timebar { display: flex; align-items: center; gap: 10px; padding: 6px 18px 10px; }
.seqwmt-lb-timebar .seqwmt-camera-archive-slider { flex: 1; min-width: 0; }
.seqwmt-lb-time { flex: none; min-width: 12ch; color: var(--seqwmt-muted); font-size: 12px; font-weight: 700; text-align: right; }
.seqwmt-lb-body { flex: 1; min-height: 240px; overflow-y: auto; padding: 14px 18px 18px; }
.seqwmt-lb-empty { margin: 8px 0; color: var(--seqwmt-muted); }
.seqwmt-lb-figs { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 28px; margin-bottom: 12px; }
.seqwmt-lb-fig { flex: 1 1 340px; max-width: 480px; margin: 0; }
.seqwmt-lb-fig--hodo { flex: 0 1 260px; }
.seqwmt-lb svg { max-width: 100% !important; } /* the shared chart builders set an inline 340px cap */
.seqwmt-lb .seqwmt-cv-levels { max-width: 620px; font-size: 13px; }
/* the theme gives every table cell heavy padding and borders; keep this one light */
.seqwmt-lb .seqwmt-cv-levels th, .seqwmt-lb .seqwmt-cv-levels td { padding: 5px 10px 5px 0; border: 0; border-bottom: 1px solid #eef2f4; }
.seqwmt-lb .seqwmt-cv-levels th { color: var(--seqwmt-muted); font-weight: 700; }
@media (max-width: 720px) {
  .seqwmt-lb { padding: 0; align-items: end; }
  .seqwmt-lb-dialog { max-height: 94vh; border-radius: 16px 16px 0 0; }
  .seqwmt-lb-time { min-width: 0; font-size: 11px; }
}

/* ---- Climate tab on the full-width layout: compact, and two columns on wide screens ---- */
.seqwmt-climate-root { max-width: 1400px; margin-inline: auto; gap: 18px; }
.seqwmt-climate-section-heading h3 { font-size: 17px; }
.seqwmt-climate-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.seqwmt-climate-card { gap: 6px; padding: 10px 14px; }
.seqwmt-climate-headline strong { font-size: 20px; }
.seqwmt-climate-mjo-plot { max-width: 170px; }
.seqwmt-climate-figure img { max-height: 340px; object-fit: contain; }
.seqwmt-climate-figures { grid-template-columns: repeat(auto-fit, minmax(280px, 460px)); }
.seqwmt-tropical-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; }
.seqwmt-tropical-card { padding: 10px 14px; }
.seqwmt-nino-chart-wrap { padding: 10px 12px; }
.seqwmt-nino-grid-cards { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.seqwmt-nino-card { padding: 8px 10px; }
.seqwmt-nino-value { font-size: 20px; }
@media (min-width: 1100px) {
  .seqwmt-climate-root { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; align-items: start; }
  /* drivers span the top and the MJO charts the bottom; sea-surface temperature and the cyclone outlook sit side by side */
  .seqwmt-climate-root > .seqwmt-climate-section:first-child,
  .seqwmt-climate-root > .seqwmt-climate-section:last-child { grid-column: 1 / -1; }
}

/* ---- Pin card (MapLibre popup): compact Values / Timeline card with a Sounding button ---- */
.seqwmt-pp { width: min(316px, calc(78vw - 44px)); } /* the popup has 16px padding each side plus a 12px scrollbar, so the card sits inside it instead of spilling past it */
.seqwmt-pp-head { display: grid; gap: 1px; padding-right: 18px; margin-bottom: 6px; font-size: 12.5px; line-height: 1.35; }
.seqwmt-pp-head span { color: #5a6774; }
.seqwmt-pp-tabs { display: flex; gap: 2px; border-bottom: 1px solid #d7e2e8; }
.seqwmt-pp-tab { padding: 6px 12px; color: #5a6774; background: transparent; border: 0; border-bottom: 2px solid transparent; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.seqwmt-pp-tab.is-active { color: #10202c; border-bottom-color: #0a6d8c; }
.seqwmt-pp-body { height: 220px; overflow-y: auto; padding: 6px 2px 2px; } /* fixed, so the popup's size is known when it is placed */
.seqwmt-pp-group h3 { margin: 8px 0 2px; color: #5a6774; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.seqwmt-pp-group:first-child h3 { margin-top: 0; }
.seqwmt-pp-group .seqwmt-cv-row { min-width: 0; padding: 3px 0; font-size: 13px; }
.seqwmt-pp-sound { display: block; width: 100%; margin-top: 8px; padding: 8px 10px; color: #fff; background: #0a6d8c; border: 0; border-radius: 8px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.seqwmt-pp-sound:hover { background: #085a74; }
.seqwmt-pp-sound[hidden] { display: none; }

/* The pin card may extend past the map's edge instead of being cropped by it; the rounded corners
   are kept by clipping the canvas itself. */
.seqwmt-models-map { overflow: visible; }
.seqwmt-models-map .maplibregl-canvas-container, .seqwmt-models-map .maplibregl-canvas { border-radius: 15px; }
.seqwmt-models-map .maplibregl-canvas-container { overflow: hidden; }
.seqwmt-models-map .maplibregl-popup { z-index: 20; }

/* ---- Camera popup mode buttons: the same look as Camera Intelligence's ---- */
.seqwmt-camera-mode-btn { flex: 1 1 auto; min-height: 38px; padding: 8px 11px; color: #1f3549; background: #fff; border: 1px solid #b9c5d0; border-radius: 7px; font: 600 13px/1.2 inherit; }
.seqwmt-camera-mode-btn:hover { background: #f3f7fa; }
.seqwmt-camera-mode-btn.is-active { color: #fff; background: #0b4f8f; border-color: #0b4f8f; }
.seqwmt-camera-mode-btn:focus-visible { outline: 3px solid rgba(11, 79, 143, .28); outline-offset: 2px; }
.seqwmt-camera-mode-btn--live { display: inline-flex; align-items: center; justify-content: center; gap: 5px; color: #cc0000; border-color: #cc0000; }
.seqwmt-camera-mode-btn--live::before { content: ''; display: inline-block; order: -2; width: 9px; height: 9px; background: #ff0000; border-radius: 50%; animation: seqwmt-live-blink 1.2s steps(1, end) infinite; }
.seqwmt-camera-mode-btn--live:hover { background: #fdeaea; }
.seqwmt-camera-mode-btn--live.is-active { color: #fff; background: #ff0000; border-color: #cc0000; }
.seqwmt-camera-mode-btn--live.is-active::before { background: #fff; }
.seqwmt-camera-mode-btn--live.is-active:hover { background: #e60000; }
.seqwmt-camera-archive-btn { flex-basis: 100%; color: #fff; background: #6f4518; border-color: #6f4518; }
.seqwmt-camera-archive-btn:hover { background: #59380f; border-color: #59380f; }
@keyframes seqwmt-live-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .seqwmt-camera-mode-btn--live::before { animation: none; } }

/* ---- City forecasts layer: pills on the Live Map and the forecast card ---- */
.seqwmt-city { display: flex; align-items: center; gap: 4px; max-width: 170px; padding: 2px 8px 2px 3px; color: #10202c; background: rgba(255, 255, 255, .95); border: 1px solid #b9c5d0; border-radius: 999px; box-shadow: 0 1px 4px rgba(7, 24, 39, .28); font: inherit; cursor: pointer; z-index: 1; }
.seqwmt-city:hover, .seqwmt-city:focus-visible { background: #fff; border-color: #0b4f8f; z-index: 3; }
.seqwmt-city.is-storm { border-color: #d9762b; box-shadow: 0 0 0 2px rgba(217, 118, 43, .35), 0 1px 4px rgba(7, 24, 39, .28); }
.seqwmt-city.is-hidden { display: none; }
.seqwmt-city-icon { display: inline-flex; flex: none; width: 22px; height: 22px; }
.seqwmt-city-icon svg { width: 100%; height: 100%; }
.seqwmt-city-temp { font-size: 13px; font-weight: 800; }
.seqwmt-city-name { overflow: hidden; color: #39536a; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.seqwmt-marker.maplibregl-marker { z-index: 2; } /* hazard icons stay above the city pills */
.seqwmt-map .maplibregl-popup { z-index: 10; } /* above the layer panel (z-index 5), which otherwise covers the right side of a wide card */

/* forecast card (city forecasts layer) */
.seqwmt-cf { width: min(360px, 76vw); }
.seqwmt-cf-hero { display: flex; align-items: center; gap: 12px; padding-right: 18px; }
.seqwmt-cf-hero-glyph { display: inline-flex; flex: none; width: 58px; height: 58px; }
.seqwmt-cf-hero-glyph svg { width: 100%; height: 100%; }
.seqwmt-cf-hero-text { display: grid; gap: 0; min-width: 0; }
.seqwmt-cf-title { margin: 0; font-size: 15px; line-height: 1.2; }
.seqwmt-cf-hero-temp { font-size: 34px; line-height: 1.05; }
.seqwmt-cf-hero-cond { color: #39536a; font-size: 12.5px; }
.seqwmt-cf-headline { margin: 6px 0 8px; color: #5a6774; font-size: 12px; }
.seqwmt-cf-days { max-height: 310px; margin: 0; padding: 0 2px 0 0; overflow-y: auto; list-style: none; }
.seqwmt-cf-day { display: grid; grid-template-columns: 50px 26px 26px minmax(0, 1fr) 28px; align-items: center; gap: 0 6px; padding: 6px 0 4px; border-top: 1px solid #e3e8ed; }
.seqwmt-cf-day:first-child { border-top: 0; }
.seqwmt-cf-dayname { display: grid; line-height: 1.15; font-size: 12.5px; }
.seqwmt-cf-dayname small { color: #7a8794; font-size: 10.5px; }
.seqwmt-cf-glyph { display: inline-flex; width: 26px; height: 26px; }
.seqwmt-cf-glyph svg { width: 100%; height: 100%; }
.seqwmt-cf-lo { color: #5a6774; font-size: 12.5px; text-align: right; }
.seqwmt-cf-hi { font-size: 13px; font-weight: 800; }
.seqwmt-cf-track { position: relative; height: 8px; background: #e6ecf1; border-radius: 999px; }
.seqwmt-cf-range { position: absolute; top: 0; bottom: 0; min-width: 6px; border-radius: 999px; }
.seqwmt-cf-extras { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; grid-column: 4 / -1; margin-top: 3px; min-height: 12px; }
.seqwmt-cf-rain { display: inline-flex; align-items: center; gap: 5px; }
.seqwmt-cf-rainbar { display: inline-block; width: 46px; height: 5px; overflow: hidden; background: #e6ecf1; border-radius: 999px; }
.seqwmt-cf-rainbar i { display: block; height: 100%; background: #2f7fc1; border-radius: 999px; }
.seqwmt-cf-extras small { color: #5a6774; font-size: 11px; }
.seqwmt-cf-chip { padding: 0 8px; color: #fff; border-radius: 9px; font-size: 10.5px; font-weight: 700; line-height: 16px; }
.seqwmt-cf-note { margin: 8px 0 0; color: #7a8794; font-size: 10.5px; line-height: 1.4; }

/* ---- Dark frosted-glass look for the city forecast pills and card ---- */
.seqwmt-city { color: #fff; background: rgba(11, 27, 42, .7); border-color: rgba(255, 255, 255, .24); -webkit-backdrop-filter: blur(8px) saturate(1.4); backdrop-filter: blur(8px) saturate(1.4); box-shadow: 0 2px 8px rgba(3, 12, 22, .4); }
.seqwmt-city:hover, .seqwmt-city:focus-visible { background: rgba(11, 27, 42, .86); border-color: #7fc0f5; }
.seqwmt-city.is-storm { border-color: #f0a35c; box-shadow: 0 0 0 2px rgba(240, 163, 92, .4), 0 2px 8px rgba(3, 12, 22, .4); }
.seqwmt-city-name { color: #c9dcea; }
.seqwmt-glass .maplibregl-popup-content { color: #eaf3fa; background: rgba(11, 27, 42, .74); border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 12px 36px rgba(3, 12, 22, .5), inset 0 1px 0 rgba(255, 255, 255, .12); }
.seqwmt-glass .maplibregl-popup-close-button { color: #fff; font-size: 20px; }
.seqwmt-glass .maplibregl-popup-close-button:hover { background: rgba(255, 255, 255, .14); }
.seqwmt-glass.maplibregl-popup-anchor-top .maplibregl-popup-tip, .seqwmt-glass.maplibregl-popup-anchor-top-left .maplibregl-popup-tip, .seqwmt-glass.maplibregl-popup-anchor-top-right .maplibregl-popup-tip { border-bottom-color: rgba(11, 27, 42, .74); }
.seqwmt-glass.maplibregl-popup-anchor-bottom .maplibregl-popup-tip, .seqwmt-glass.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip, .seqwmt-glass.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip { border-top-color: rgba(11, 27, 42, .74); }
.seqwmt-glass.maplibregl-popup-anchor-left .maplibregl-popup-tip { border-right-color: rgba(11, 27, 42, .74); }
.seqwmt-glass.maplibregl-popup-anchor-right .maplibregl-popup-tip { border-left-color: rgba(11, 27, 42, .74); }
.seqwmt-glass .seqwmt-cf-title, .seqwmt-glass .seqwmt-cf-hero-temp, .seqwmt-glass .seqwmt-cf-hi { color: #fff; }
.seqwmt-glass .seqwmt-cf-hero-cond { color: #cfe0ec; }
.seqwmt-glass .seqwmt-cf-headline, .seqwmt-glass .seqwmt-cf-lo, .seqwmt-glass .seqwmt-cf-extras small { color: #a9bfd0; }
.seqwmt-glass .seqwmt-cf-dayname strong { color: #eaf3fa; }
.seqwmt-glass .seqwmt-cf-dayname small { color: #8ea6b8; }
.seqwmt-glass .seqwmt-cf-day { border-top-color: rgba(255, 255, 255, .1); }
.seqwmt-glass .seqwmt-cf-track { background: rgba(255, 255, 255, .14); }
.seqwmt-glass .seqwmt-cf-rainbar { background: rgba(255, 255, 255, .16); }
.seqwmt-glass .seqwmt-cf-rainbar i { background: #58a6ea; }
.seqwmt-glass .seqwmt-cf-note { color: #8ea6b8; }
.seqwmt-glass .seqwmt-cf-days { scrollbar-color: rgba(255, 255, 255, .35) transparent; scrollbar-width: thin; }

.seqwmt-fit-au { font-size: 11px; font-weight: 800; letter-spacing: .02em; color: #10202c; }

/* ---- Collapsible layer groups ---- */
.seqwmt-panel-group-label { display: flex; align-items: center; gap: 8px; width: calc(100% - 28px); padding: 4px 0; background: transparent; border: 0; font: inherit; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-align: left; cursor: pointer; }
.seqwmt-panel-group-label:hover .seqwmt-panel-group-name { color: var(--seqwmt-ink); }
.seqwmt-panel-group-label:focus-visible { outline: 2px solid #126db2; outline-offset: 2px; border-radius: 4px; }
.seqwmt-panel-group-name { flex: 1; }
.seqwmt-panel-group-summary { color: var(--seqwmt-muted); font-size: 10.5px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.seqwmt-panel-group-chevron { width: 7px; height: 7px; margin: 0 2px 3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s ease; }
.seqwmt-panel-group.is-collapsed .seqwmt-panel-group-chevron { margin-bottom: 0; transform: rotate(-45deg); }
.seqwmt-panel-group-rows[hidden] { display: none; }

/* ---- Live Map time player (map/timeline.js) ---- */
.seqwmt-timeline { position: absolute; z-index: 6; left: 150px; right: 150px; bottom: 42px; display: flex; align-items: center; gap: 10px; max-width: 660px; margin-inline: auto; padding: 8px 12px; color: #eaf3fa; background: rgba(11, 27, 42, .74); border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); box-shadow: 0 8px 24px rgba(3, 12, 22, .45); }
.seqwmt-timeline[hidden] { display: none; }
.seqwmt-timeline-play { flex: none; width: 34px; height: 34px; padding: 0; color: #0b1b2a; background: #eaf3fa; border: 0; border-radius: 50%; font-size: 13px; line-height: 1; cursor: pointer; }
.seqwmt-timeline-play:hover { background: #fff; }
.seqwmt-timeline-slider { flex: 1; min-width: 60px; accent-color: #58a6ea; }
.seqwmt-timeline-label { flex: none; min-width: 9.5em; font-size: 12px; font-weight: 700; text-align: right; }
.seqwmt-timeline-live { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; color: #c9dcea; background: transparent; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; font: inherit; font-size: 11px; font-weight: 800; letter-spacing: .04em; cursor: pointer; }
.seqwmt-timeline-live::before { content: ''; width: 8px; height: 8px; background: #7a8794; border-radius: 50%; }
.seqwmt-timeline-live.is-live { color: #fff; border-color: #ff5a5a; }
.seqwmt-timeline-live.is-live::before { background: #ff3b3b; }
.seqwmt-timeline-live:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 720px) {
  .seqwmt-timeline { left: 12px; right: 12px; bottom: 42px; max-width: none; gap: 8px; padding: 7px 10px; }
  .seqwmt-timeline-label { min-width: 0; font-size: 11px; }
}

/* ---- A layer's own pulldowns under its row (radar: which radar, what range) ---- */
.seqwmt-panel-options { display: grid; gap: 6px; padding: 0 14px 10px 42px; }
.seqwmt-panel-options[hidden] { display: none; }
.seqwmt-panel-option { display: grid; gap: 2px; color: var(--seqwmt-muted); font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.seqwmt-panel-option select { width: 100%; min-height: 34px; padding: 4px 8px; color: var(--seqwmt-ink); background: #fff; border: 1px solid var(--seqwmt-line); border-radius: 8px; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }

/* ---- Urgent warning bar above the map (ui/urgent-banner.js; ported from Weather Room's urgent-fire banner) ----
   The bar is a neutral dark strip; each warning inside it carries its own style by level:
   rank-1 Prepare to Leave (pulsing red), rank-2 Leave / Evacuate / Not Safe to Return (red + purple
   stripes), rank-3 Seek Shelter / Too Late to Leave (red + black hazard stripes). */
.seqwmt-urgent { position: relative; overflow: hidden; margin-bottom: 8px; color: #fff; background: #2b0b0f; border: 2px solid #66070d; border-radius: 12px; }
.seqwmt-urgent[hidden] { display: none; }
.seqwmt-urgent.has-critical { border-color: #7b1fa2; animation: seqwmt-urgent-glow .95s ease-in-out infinite alternate; }
.seqwmt-urgent-track { display: flex; width: max-content; min-width: 100%; }
.seqwmt-urgent-track.is-scrolling { animation: seqwmt-urgent-scroll var(--seqwmt-urgent-duration, 22s) linear infinite; }
.seqwmt-urgent:hover .seqwmt-urgent-track, .seqwmt-urgent:focus-within .seqwmt-urgent-track { animation-play-state: paused; }
.seqwmt-urgent-set { display: flex; flex: none; align-items: stretch; }
.seqwmt-urgent-item { position: relative; overflow: hidden; display: flex; align-items: center; flex: none; gap: 10px; min-height: 48px; padding: 10px 26px; color: #fff; background: #8f0e16; border: 0; border-right: 1px solid rgba(255,255,255,.35); font: inherit; white-space: nowrap; text-align: left; animation: seqwmt-urgent-pulse 1.25s ease-in-out infinite alternate; }
button.seqwmt-urgent-item { cursor: pointer; }
.seqwmt-urgent-item > * { position: relative; z-index: 1; }
.seqwmt-urgent-item strong { font-size: 13px; font-weight: 900; letter-spacing: .035em; }
.seqwmt-urgent-item span { font-size: 13px; font-weight: 700; }
button.seqwmt-urgent-item:hover, button.seqwmt-urgent-item:focus-visible { filter: brightness(1.18); outline: 2px solid #fff; outline-offset: -4px; }
/* rank 2 and 3: striped, the stripes travel */
.seqwmt-urgent-item.is-critical { min-height: 56px; background: #4f0a12; animation: none; }
.seqwmt-urgent-item.is-critical::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-size: 73.54px 73.54px; animation: seqwmt-urgent-stripes-fade .95s ease-in-out infinite alternate, seqwmt-urgent-stripes-travel 1.5s linear infinite; }
.seqwmt-urgent-item.rank-2::before { background-image: repeating-linear-gradient(135deg, #ef1c2f 0 26px, #8e24c8 26px 52px); }
.seqwmt-urgent-item.rank-3 { background: #1a0306; }
.seqwmt-urgent-item.rank-3::before { background-image: repeating-linear-gradient(135deg, #ef1c2f 0 26px, #14090b 26px 52px); }
.seqwmt-urgent-item.is-critical strong { font-size: 15px; letter-spacing: .06em; text-shadow: 0 1px 4px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.9); }
.seqwmt-urgent-item.is-critical span { text-shadow: 0 1px 3px rgba(0,0,0,.8); }
@keyframes seqwmt-urgent-pulse { from { background-color: #770a11; box-shadow: inset 0 0 0 rgba(255,75,75,0); } to { background-color: #c31924; box-shadow: inset 0 0 28px rgba(255,110,110,.3); } }
@keyframes seqwmt-urgent-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes seqwmt-urgent-stripes-fade { from { opacity: .5; } to { opacity: 1; } }
@keyframes seqwmt-urgent-stripes-travel { from { background-position: 0 0; } to { background-position: 73.54px 0; } }
@keyframes seqwmt-urgent-glow { from { box-shadow: 0 0 0 rgba(255,45,70,0); } to { box-shadow: 0 0 22px rgba(255,60,90,.75), 0 0 44px rgba(160,60,220,.4); } }
@media (max-width: 720px) { .seqwmt-urgent-item { padding: 10px 16px; min-height: 44px; } .seqwmt-urgent-item strong, .seqwmt-urgent-item span { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .seqwmt-urgent, .seqwmt-urgent-item, .seqwmt-urgent-item::before, .seqwmt-urgent-track.is-scrolling { animation: none !important; } }

/* ---- Model Explorer: synoptic chart + cyclone track overlays (model-explorer/synoptic-overlay.js) ---- */
.seqwmt-syn { display: grid; gap: 6px; }
.seqwmt-syn[hidden], .seqwmt-syn [hidden] { display: none !important; } /* the row/label styles set display and would otherwise override hidden */
.seqwmt-syn select { width: 100%; font: inherit; padding: 6px; border: 1px solid var(--seqwmt-line); border-radius: 6px; background: #fff; color: var(--seqwmt-ink); }
.seqwmt-syn-note { margin: 0; font-size: 11px; }
.seqwmt-syn-note[hidden] { display: none; }
.seqwmt-syn-storms { display: grid; gap: 4px; }
.seqwmt-syn-storms .seqwmt-cv-note { margin: 0; }
.seqwmt-syn-storm { padding-top: 4px; border-top: 1px solid var(--seqwmt-line); font-size: 12px; }
.seqwmt-syn-storm small { display: block; color: var(--seqwmt-muted); }

/* ---- Model Explorer pin card: headline value of the viewed layer ---- */
.seqwmt-pp-value { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 52px; margin: 2px 0 8px; padding: 8px 12px; background: #f1f7fb; border: 1px solid #d3e3ee; border-radius: 10px; }
.seqwmt-pp-value[hidden] { display: none; }
.seqwmt-pp-value span { min-width: 0; color: #3f5668; font-size: 12px; font-weight: 700; line-height: 1.3; }
.seqwmt-pp-value strong { flex: none; color: #0b2a42; font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; text-align: right; }
.seqwmt-pp-value strong.is-muted { color: #7a8794; font-size: 15px; font-weight: 700; letter-spacing: 0; }

/* ---- Pin card: chevron that hides / shows the Values and Timeline details ---- */
.seqwmt-pp-tabs { align-items: center; }
.seqwmt-pp-tabs.is-collapsed { border-bottom: 0; }
.seqwmt-pp-chev { flex: none; width: 30px; height: 30px; margin-left: auto; padding: 0; background: transparent; border: 0; border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.seqwmt-pp-chev:hover, .seqwmt-pp-chev:focus-visible { background: #eef3f7; outline: none; }
.seqwmt-pp-chev-icon { width: 9px; height: 9px; margin-top: 3px; border-right: 2px solid #5a6774; border-bottom: 2px solid #5a6774; transform: rotate(225deg); transition: transform .15s ease; } /* up: details are showing */
.seqwmt-pp-chev[aria-expanded="false"] .seqwmt-pp-chev-icon { margin-top: -3px; transform: rotate(45deg); } /* down: details are hidden */
.seqwmt-pp-body[hidden] { display: none; }

/* ---- Page header with the tabs built in (replaces the theme's page title; the Weather Room's look, kept compact) ---- */
body.seqwmt-page .seq-page-header { display: none; }
.seqwmt-hero { display: grid; gap: 12px; margin: 0 0 12px; padding: 14px 18px 14px; color: #eaf8ff; background: linear-gradient(135deg, #031a2e, #0a4d68); border-radius: 16px; box-shadow: 0 8px 24px rgba(6, 38, 62, .14); }
.seqwmt-hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.seqwmt-hero-copy { display: grid; gap: 2px; min-width: 0; }
.seqwmt-hero-eyebrow { color: #55d8f0; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.seqwmt-hero-title { margin: 0; color: #fff; font-size: clamp(22px, 3.2vw, 30px); font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.seqwmt-hero-sub { margin: 0; color: #bfd7e4; font-size: 13px; line-height: 1.4; }
.seqwmt-hero-pill { flex: none; padding: 4px 10px; color: #cfe9f6; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
/* the page tabs, on the dark header */
.seqwmt-hero .seqwmt-tabs { margin: 0; max-width: 100%; overflow-x: auto; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); }
.seqwmt-hero .seqwmt-tab { flex: none; color: #bfd7e4; }
.seqwmt-hero .seqwmt-tab:hover { color: #fff; }
.seqwmt-hero .seqwmt-tab.is-active { color: #06263e; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
@media (max-width: 720px) { .seqwmt-hero { padding: 12px 14px; gap: 10px; } .seqwmt-hero-sub { font-size: 12px; } .seqwmt-hero-pill { display: none; } }

/* ---- Header artwork (decorative weather shapes on the right of the header) ---- */
.seqwmt-hero { position: relative; overflow: hidden;
  /* a soft glow and a dot texture across the whole banner, so the space between the title and the artwork is not bare */
  background: radial-gradient(circle at 76% 45%, rgba(85, 216, 240, .17), transparent 46%), radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.3px) 0 0 / 14px 14px, linear-gradient(135deg, #031a2e, #0a4d68); }
.seqwmt-hero > *:not(.seqwmt-hero-art) { position: relative; z-index: 1; }
.seqwmt-hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: min(62%, 860px); height: 100%; pointer-events: none; z-index: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%); mask-image: linear-gradient(90deg, transparent 0, #000 34%); }
.seqwmt-hero-sweep { transform-origin: 0 0; animation: seqwmt-hero-sweep 7s linear infinite; }
@keyframes seqwmt-hero-sweep { to { transform: rotate(360deg); } }
@media (max-width: 720px) { .seqwmt-hero-art { display: none; } }
@media (prefers-reduced-motion: reduce) { .seqwmt-hero-sweep { animation: none; } }

/* ---- Xtras tab: Classic radar (xtras/classic-radar.js) ---- */
.seqwmt-xtras-root { display: grid; gap: 22px; }
.seqwmt-xtras-block { display: grid; gap: 12px; }
.seqwmt-xr { display: grid; gap: 10px; }
.seqwmt-xr .seqwmt-subtabs { margin: 0; }
.seqwmt-xr-panel { display: grid; gap: 10px; }
.seqwmt-xr-panel[hidden] { display: none; }
.seqwmt-xr-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.seqwmt-xr-field { display: grid; gap: 3px; min-width: 150px; }
.seqwmt-xr-field span { color: var(--seqwmt-muted); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.seqwmt-xr-field select { min-height: 38px; padding: 6px 10px; color: var(--seqwmt-ink); background: #fff; border: 1px solid var(--seqwmt-line); border-radius: 9px; font: inherit; font-size: 13px; font-weight: 600; }
.seqwmt-xr-status { margin: 0; color: var(--seqwmt-muted); font-size: 13px; font-weight: 600; }
/* Locked in width like the Weather Room's radar frame: a square no wider than 720px, so the radar (a square of ground) fills it edge to edge. */
.seqwmt-xr-panel--bureau > * { width: min(100%, 720px); margin-inline: auto; }
.seqwmt-xr-map { position: relative; aspect-ratio: 1; background: #dceaf1; border: 1px solid var(--seqwmt-line); border-radius: 14px; overflow: hidden; }
.seqwmt-xr-timebar { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: #f7f9fa; border: 1px solid var(--seqwmt-line); border-radius: 12px; }
.seqwmt-xr-timebar .seqwmt-camera-archive-slider { flex: 1; margin: 0; }
.seqwmt-xr-time { flex: none; min-width: 16em; font-size: 12.5px; text-align: right; }
.seqwmt-xr-legend { display: grid; gap: 6px; max-width: 520px; }
.seqwmt-xr-colours { display: flex; height: 14px; border-radius: 7px; overflow: hidden; }
.seqwmt-xr-colours i { flex: 1; }
.seqwmt-xr-legend-labels { display: flex; justify-content: space-between; color: var(--seqwmt-muted); font-size: 11.5px; font-weight: 700; }
.seqwmt-xr-legend small { color: var(--seqwmt-muted); font-size: 12px; }
.seqwmt-xr-credit { margin: 0; color: var(--seqwmt-muted); font-size: 12px; line-height: 1.45; }
.seqwmt-xr-windy { height: clamp(420px, 70vh, 820px); border: 1px solid var(--seqwmt-line); border-radius: 14px; overflow: hidden; background: #dceaf1; }
.seqwmt-xr-windy iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 720px) { .seqwmt-xr-field { flex: 1 1 140px; } .seqwmt-xr-time { min-width: 0; font-size: 11.5px; } .seqwmt-xr-timebar { flex-wrap: wrap; } }

/* ---- Under-map strip: the radar colour legend and the Bureau credit (layers/radar-mosaic.js) ---- */
.seqwmt-live-col { display: grid; gap: 8px; min-width: 0; align-content: start; }
.seqwmt-map-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 2px 4px; color: var(--seqwmt-muted); }
.seqwmt-map-foot[hidden] { display: none; }
.seqwmt-map-legend { display: flex; align-items: center; gap: 10px; }
.seqwmt-map-legend strong { color: var(--seqwmt-ink); font-size: 11.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.seqwmt-map-legend-scale { display: flex; width: 190px; height: 10px; border-radius: 5px; overflow: hidden; }
.seqwmt-map-legend-scale i { flex: 1; }
.seqwmt-map-legend-ends { display: flex; justify-content: space-between; margin-top: 1px; font-size: 10px; font-weight: 700; }
.seqwmt-map-credit { flex: 1 1 260px; margin: 0; font-size: 10.5px; line-height: 1.35; }
.seqwmt-map-note { flex-basis: 100%; }
.sf-map-stage { display: grid; grid-template-rows: 1fr auto; gap: 8px; }
.sf-map-foot { padding: 0 2px 2px; color: var(--sf-muted-dark, #9fbad0); }
.sf-map-foot .seqwmt-map-legend strong { color: var(--sf-text-dark, #eaf4fb); }

/* ---- Phones: the Layers bar goes above the map (it sits under it on wider screens) ---- */
@media (max-width: 720px) {
  .seqwmt-live-stage > .seqwmt-panel-root { order: -1; }
}

/* ---- Popups: readable warning text, and no overflow on phones ---- */
.maplibregl-popup { max-width: min(360px, calc(100% - 20px)) !important; } /* beats the width MapLibre writes on the element */
.maplibregl-popup-content { max-height: min(64vh, 520px); overflow-y: auto; overscroll-behavior: contain; overflow-wrap: anywhere; }
.seqwmt-card { min-width: 0; max-width: 100%; }
.seqwmt-card-body li span:last-child { min-width: 0; text-align: right; }
.seqwmt-rich { display: grid; gap: 6px; }
.seqwmt-rich p { margin: 0; }
.seqwmt-rich ul { display: grid; gap: 4px; margin: 0; padding-left: 18px; }
.seqwmt-rich ul ul { margin-top: 4px; padding-left: 16px; list-style: circle; }
.seqwmt-rich li { padding-left: 2px; font-size: 12.5px; line-height: 1.4; }
.seqwmt-rich a { color: #126db2; font-weight: 700; text-decoration: none; }
.seqwmt-rich a:hover { text-decoration: underline; }
.seqwmt-rich-notice { padding: 6px 8px; color: #5a3b00; background: #fff4d6; border-radius: 8px; font-size: 12px; font-weight: 700; }
.seqwmt-card-section { display: grid; gap: 4px; margin-top: 4px; padding-top: 6px; border-top: 1px solid var(--seqwmt-line); }
.seqwmt-card-section h4 { margin: 0; color: var(--seqwmt-muted); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

/* ---- Phones: the red warning bar stacks and wraps instead of scrolling sideways ---- */
@media (max-width: 720px) {
  .seqwmt-urgent-track, .seqwmt-urgent-track.is-scrolling { display: block; width: 100%; min-width: 0; animation: none; transform: none; }
  .seqwmt-urgent-set { display: block; width: 100%; }
  .seqwmt-urgent-set[aria-hidden="true"] { display: none; }
  .seqwmt-urgent-item { display: block; width: 100%; white-space: normal; padding: 10px 14px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .28); text-align: left; }
  .seqwmt-urgent-item:last-child { border-bottom: 0; }
  .seqwmt-urgent-item strong { display: block; font-size: 13px; }
  .seqwmt-urgent-item span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; }
}

/* ---- Camera archive player on phones: the slider gets a row of its own (the long time label no longer squeezes it) ---- */
@media (max-width: 720px) {
  .seqwmt-camera-archive-scrub { flex-wrap: wrap; row-gap: 8px; }
  .seqwmt-camera-archive-scrub .seqwmt-camera-archive-play { order: 1; }
  .seqwmt-camera-archive-scrub .seqwmt-camera-archive-caption { order: 2; flex: 1 1 0; min-width: 0; white-space: normal; text-align: right; line-height: 1.3; }
  .seqwmt-camera-archive-scrub .seqwmt-camera-archive-slider { order: 3; flex: 1 1 100%; width: 100%; height: 34px; margin: 0; } /* a full-width, finger-sized slider */
}

/* ---- Categorical products (Significant weather): a list of weather types instead of a colour gradient ---- */
.seqwmt-wt-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.seqwmt-wt-item { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 11.5px; font-weight: 650; line-height: 1.25; }
.seqwmt-wt-item i { flex: none; width: 14px; height: 14px; border: 1px solid rgba(7, 24, 39, .22); border-radius: 4px; }
.seqwmt-wt-runs { display: grid; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.seqwmt-wt-runs li { display: grid; grid-template-columns: 14px minmax(0, 1fr); column-gap: 8px; align-items: center; padding: 4px 6px; border-radius: 8px; font-size: 12.5px; }
.seqwmt-wt-runs li.is-current { background: #eef6fb; box-shadow: inset 0 0 0 1px #b9d7ea; }
.seqwmt-wt-runs li i { width: 14px; height: 14px; border: 1px solid rgba(7, 24, 39, .22); border-radius: 4px; }
.seqwmt-wt-runs li span { grid-column: 2; color: var(--seqwmt-muted); font-size: 11.5px; }

/* ---- Legend: the "What is this?" pulldown (descriptions.json) ---- */
.seqwmt-cv-about { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--seqwmt-line); }
.seqwmt-cv-about summary { cursor: pointer; color: var(--seqwmt-ink); font-size: 12.5px; font-weight: 700; list-style: revert; }
.seqwmt-cv-about summary:focus-visible { outline: 2px solid #126db2; outline-offset: 2px; border-radius: 4px; }
.seqwmt-cv-about p { margin: 6px 0 2px; color: var(--seqwmt-ink); font-size: 12.5px; font-weight: 400; line-height: 1.45; }
.seqwmt-cv-legend-unit { color: var(--seqwmt-muted); font-size: 11.5px; font-style: italic; }
.seqwmt-cv-about summary { font-size: 13px; }
.seqwmt-cv-about p { font-size: 13px; }

/* ==== Black glass popups, with a bigger close button ====
   Every map popup (warnings, fires, cameras, probes, outages, the Model Explorer pin card) in one dark, frosted look. The
   colour variables the cards already use are re-pointed inside the popup, so most text follows; the few fixed colours are
   overridden below. (City forecast popups carry their own .seqwmt-glass styling above, which this matches.) */
.seqwmt-app .maplibregl-popup-content {
  --seqwmt-ink: #eaf3fa; --seqwmt-muted: #a9bfd0; --seqwmt-line: rgba(255, 255, 255, .16);
  padding: 14px 16px; color: #eaf3fa;
  background: rgba(7, 12, 20, .82); border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px;
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .1);
  scrollbar-color: rgba(255, 255, 255, .35) transparent; scrollbar-width: thin;
}
.seqwmt-app .maplibregl-popup-anchor-top .maplibregl-popup-tip, .seqwmt-app .maplibregl-popup-anchor-top-left .maplibregl-popup-tip, .seqwmt-app .maplibregl-popup-anchor-top-right .maplibregl-popup-tip { border-bottom-color: rgba(7, 12, 20, .82); }
.seqwmt-app .maplibregl-popup-anchor-bottom .maplibregl-popup-tip, .seqwmt-app .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip, .seqwmt-app .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip { border-top-color: rgba(7, 12, 20, .82); }
.seqwmt-app .maplibregl-popup-anchor-left .maplibregl-popup-tip { border-right-color: rgba(7, 12, 20, .82); }
.seqwmt-app .maplibregl-popup-anchor-right .maplibregl-popup-tip { border-left-color: rgba(7, 12, 20, .82); }

/* the close button: a 40px round target with a big X (it was about 20px) */
.seqwmt-app .maplibregl-popup-close-button { top: 8px; right: 8px; width: 40px; height: 40px; padding: 0; color: #fff; font-size: 30px; font-weight: 300; line-height: 38px; text-align: center; background: rgba(255, 255, 255, .14); border: 0; border-radius: 50%; }
.seqwmt-app .maplibregl-popup-close-button:hover, .seqwmt-app .maplibregl-popup-close-button:focus-visible { background: rgba(255, 255, 255, .28); outline: none; }
.seqwmt-app .maplibregl-popup-content .seqwmt-card-type, .seqwmt-app .maplibregl-popup-content .seqwmt-card-title { max-width: calc(100% - 44px); } /* keep the title clear of the X */
.seqwmt-app .maplibregl-popup-content .seqwmt-card-type { max-width: none; }
.seqwmt-app .seqwmt-pp-head { padding-right: 46px; }

/* fixed colours inside the cards, re-done for dark */
.seqwmt-app .maplibregl-popup-content .seqwmt-card-title { color: #fff; }
.seqwmt-app .maplibregl-popup-content .seqwmt-card-links a, .seqwmt-app .maplibregl-popup-content .seqwmt-rich a { color: #7cc4ff; }
.seqwmt-app .maplibregl-popup-content .seqwmt-card-media-tab { color: #cfe0ec; background: rgba(255, 255, 255, .12); }
.seqwmt-app .maplibregl-popup-content .seqwmt-card-media-tab.is-active { color: #fff; background: #126db2; }
.seqwmt-app .maplibregl-popup-content .seqwmt-card-media-offline { color: #a9bfd0; background: rgba(255, 255, 255, .08); }
.seqwmt-app .maplibregl-popup-content .seqwmt-pp-head span, .seqwmt-app .maplibregl-popup-content .seqwmt-pp-group h3, .seqwmt-app .maplibregl-popup-content .seqwmt-cv-row span { color: #a9bfd0; }
.seqwmt-app .maplibregl-popup-content .seqwmt-pp-tabs { border-bottom-color: rgba(255, 255, 255, .18); }
.seqwmt-app .maplibregl-popup-content .seqwmt-pp-tab { color: #a9bfd0; }
.seqwmt-app .maplibregl-popup-content .seqwmt-pp-tab.is-active { color: #fff; border-bottom-color: #55d8f0; }
.seqwmt-app .maplibregl-popup-content .seqwmt-pp-value { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); }
.seqwmt-app .maplibregl-popup-content .seqwmt-pp-value span { color: #cfe0ec; }
.seqwmt-app .maplibregl-popup-content .seqwmt-pp-value strong { color: #fff; }
.seqwmt-app .maplibregl-popup-content .seqwmt-pp-value strong.is-muted { color: #8ea6b8; }
.seqwmt-app .maplibregl-popup-content .seqwmt-pp-chev:hover, .seqwmt-app .maplibregl-popup-content .seqwmt-pp-chev:focus-visible { background: rgba(255, 255, 255, .14); }
.seqwmt-app .maplibregl-popup-content .seqwmt-pp-chev-icon { border-color: #cfe0ec; }
.seqwmt-app .maplibregl-popup-content .seqwmt-wt-runs li.is-current { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.seqwmt-app .maplibregl-popup-content .seqwmt-wt-item i, .seqwmt-app .maplibregl-popup-content .seqwmt-wt-runs li i { border-color: rgba(255, 255, 255, .35); }

/* ---- Black glass sounding lightbox and its button (matches the glass popups) ---- */
.seqwmt-pp-sound { color: #eaf3fa; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); transition: background .15s, border-color .15s; }
.seqwmt-pp-sound:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .38); }
.seqwmt-pp-sound:focus-visible { outline: 2px solid #7cc4ff; outline-offset: 2px; }
.seqwmt-lb { background: rgba(2, 6, 12, .62); backdrop-filter: blur(3px); }
.seqwmt-lb-dialog {
  --seqwmt-ink: #eaf3fa; --seqwmt-muted: #a9bfd0; --seqwmt-line: rgba(255, 255, 255, .16);
  color: #eaf3fa; background: rgba(7, 12, 20, .84); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .6);
}
.seqwmt-lb-title { color: #fff; }
.seqwmt-lb-close { width: 44px; height: 44px; color: #fff; background: rgba(255, 255, 255, .14); font-size: 32px; line-height: 42px; }
.seqwmt-lb-close:hover { background: rgba(255, 255, 255, .28); }
.seqwmt-lb-header { padding-right: 14px; }
.seqwmt-lb .seqwmt-cv-levels th, .seqwmt-lb .seqwmt-cv-levels td { border-bottom-color: rgba(255, 255, 255, .12); }
.seqwmt-lb .seqwmt-cv-levels i { color: #a9bfd0; }
.seqwmt-lb .seqwmt-profile-temperature { stroke: #ff6b7f; }
.seqwmt-lb .seqwmt-profile-dewpoint { stroke: #4fd88a; }
.seqwmt-lb .seqwmt-hodograph-trail { stroke: #5db4ff; }
.seqwmt-lb .seqwmt-hodograph-point { fill: #5db4ff; }
.seqwmt-lb .seqwmt-hodograph-surface { fill: #ff6b7f; stroke: #0b1420; }
.seqwmt-lb .seqwmt-camera-archive-nav { color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); }
.seqwmt-lb .seqwmt-camera-archive-slider { accent-color: #7cc4ff; }
.seqwmt-lb-body { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; }

.seqwmt-map-legend[hidden] { display: none; }

/* A layer that belongs under another (Storm movement under the national radar) */
.seqwmt-panel-row.is-child { margin-left: 22px; padding-left: 10px; border-left: 2px solid rgba(18, 109, 178, .28); }
.seqwmt-panel-row.is-child .seqwmt-panel-row-label { font-weight: 600; }
.seqwmt-panel-row.is-parent-off { opacity: .5; }

/* Headings inside the glass popups: the theme colours h4 dark blue, which vanishes on the dark glass */
.seqwmt-app .maplibregl-popup-content .seqwmt-card-section h4 { color: #cfe3f4 !important; font-size: 11.5px; }
.seqwmt-app .maplibregl-popup-content h2, .seqwmt-app .maplibregl-popup-content h3 { color: #fff; }

/* Town forecast card: the "Right now" line from the nearest weather station */
.seqwmt-cf-now { margin: 8px 0 0; padding: 7px 10px; background: rgba(18, 109, 178, .1); border-radius: 8px; font-size: 13px; line-height: 1.35; }
.seqwmt-cf-now small { color: #5a6774; font-size: 11.5px; }
.seqwmt-glass .seqwmt-cf-now { background: rgba(255, 255, 255, .1); color: #eaf3fa; }
.seqwmt-glass .seqwmt-cf-now small { color: #a9bfd0; }
.seqwmt-cf-hero-now { color: #5a6774; font-size: 13px; font-weight: 600; }
.seqwmt-glass .seqwmt-cf-hero-now { color: #a9bfd0; }
.seqwmt-cf-today { margin: 8px 0 0; font-size: 13px; }
.seqwmt-glass .seqwmt-cf-today { color: #eaf3fa; }

/* The town forecast card needs more room than the other popups (its day rows were being cut off) */
.maplibregl-popup.seqwmt-glass { max-width: min(460px, calc(100% - 20px)) !important; }
.seqwmt-glass .maplibregl-popup-content { overflow-x: hidden; }

/* ---------- members: locked layers and tabs ---------- */
.seqwmt-panel-row.is-locked { opacity: .75; }
.seqwmt-panel-row-status.is-members { background: #fff4d6; color: #7a5200; text-decoration: none; }
.seqwmt-lock-card { max-width: 460px; margin: 40px auto; padding: 22px 24px; border: 1px solid #d6e0ea; border-radius: 12px; background: #fff; text-align: center; box-shadow: 0 4px 16px rgba(20, 35, 47, .1); }
.seqwmt-lock-card strong { font-size: 18px; }
.seqwmt-lock-card p { margin: 8px 0 14px; color: #53677a; }
.seqwmt-lock-actions { display: flex; justify-content: center; align-items: center; gap: 16px; }
.seqwmt-lock-btn { padding: 9px 20px; border-radius: 8px; background: #1792ff; color: #fff; font-weight: 700; text-decoration: none; }
.seqwmt-lock-link { font-weight: 600; }
.seqwmt-pp.is-compact .seqwmt-pp-body { height: auto; min-height: 56px; max-height: 220px; }

/* ---- the pop-up a locked layer opens ---- */
.seqwmt-panel-row.is-locked { cursor: pointer; opacity: 1; }
.seqwmt-panel-row.is-locked:hover { background: #fff8e1; }
.seqwmt-panel-row.is-locked .seqwmt-panel-row-label { opacity: .8; }
.seqwmt-panel-row-status.is-members { padding: 3px 10px; border-radius: 999px; border: 1px solid #fff0a0; color: #3a2500; font-weight: 800; letter-spacing: .01em; text-transform: none;
  background: linear-gradient(135deg, #fff1a6 0%, #f4c542 32%, #d9971a 62%, #f7d75e 100%); box-shadow: 0 0 0 1px rgba(122, 78, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .7); white-space: nowrap; }
body.seqwmt-modal-open { overflow: hidden; }
.seqwmt-modal { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; background: rgba(6, 24, 47, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: seqwmt-fade .15s ease-out; }
.seqwmt-modal-box { position: relative; width: min(420px, 100%); padding: 28px 26px 22px; border-radius: 18px; background: #fff; color: #14232f; font: 15px/1.5 "Segoe UI", system-ui, sans-serif; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); animation: seqwmt-pop .18s ease-out; }
.seqwmt-modal-x { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: #5a6f82; font-size: 26px; line-height: 1; cursor: pointer; }
.seqwmt-modal-x:hover { background: #eef3f7; }
.seqwmt-modal-chip { display: inline-block; padding: 4px 14px; margin-bottom: 12px; border-radius: 999px; border: 1px solid #fff0a0; color: #3a2500; font-weight: 800; font-size: 14px;
  background: linear-gradient(135deg, #fff1a6 0%, #f4c542 32%, #d9971a 62%, #f7d75e 100%); box-shadow: 0 0 0 1px rgba(122, 78, 0, .45), 0 2px 8px rgba(245, 179, 1, .45), inset 0 1px 0 rgba(255, 255, 255, .7); }
.seqwmt-modal-title { margin: 0 0 8px; font-size: 21px; line-height: 1.25; color: #0b2a42; }
.seqwmt-modal-text { margin: 0 0 10px; color: #3a5066; }
.seqwmt-modal-price { margin: 0 0 14px; font-weight: 800; color: #0b2a42; }
.seqwmt-modal-actions { display: grid; gap: 8px; margin-top: 6px; }
.seqwmt-modal-go { display: block; padding: 13px 16px; border-radius: 12px; background: linear-gradient(180deg, #2a9dff, #0e7ae0); color: #fff !important; font-weight: 800; font-size: 16px; text-decoration: none !important; box-shadow: 0 6px 16px rgba(14, 122, 224, .38); }
.seqwmt-modal-go:hover { filter: brightness(1.06); }
.seqwmt-modal-later { padding: 9px; border: 0; background: transparent; color: #5a6f82; font: 600 14px "Segoe UI", system-ui, sans-serif; cursor: pointer; }
.seqwmt-modal-later:hover { color: #0b2a42; text-decoration: underline; }
.seqwmt-modal-login { margin: 8px 0 0; font-size: 13.5px; color: #5a6f82; }
@keyframes seqwmt-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes seqwmt-pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .seqwmt-modal, .seqwmt-modal-box { animation: none; } }
.seqwmt-modal-logo { display: block; height: 58px; width: auto; margin: 0 auto 10px; }
.seqwmt-lock-logo { display: block; height: 52px; width: auto; margin: 0 auto 10px; }

/* the animated view and archive buttons when they belong to SEQWeather + */
.seqwmt-camera-plus { margin-left: 6px; padding: 0 7px; border-radius: 999px; border: 1px solid #fff0a0; color: #3a2500; font-style: normal; font-weight: 800; font-size: 12px; line-height: 1.5;
  background: linear-gradient(135deg, #fff1a6 0%, #f4c542 32%, #d9971a 62%, #f7d75e 100%); }

/* ---- Overview: the six product areas ---- */
.seqwmt-app.is-overview { --seqwmt-w: min(var(--seqwmt-vw, 100vw), 1180px); padding-inline: 16px; }
.seqwmt-hub { list-style: none; margin: 14px 0 8px; padding: 4px 14px; border: 1px solid var(--seqwmt-line, #dbe4ec); border-radius: 14px; background: #fff; box-shadow: 0 2px 12px rgba(7, 24, 39, .06); }
.seqwmt-hub-row + .seqwmt-hub-row { border-top: 1px solid #e8eef3; }
.seqwmt-hub-btn { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 4px; border: 0; background: none; text-align: left; font: inherit; color: var(--seqwmt-ink, #0b2a42); cursor: pointer; }
.seqwmt-hub-row.is-soon .seqwmt-hub-btn { cursor: default; opacity: .72; }
button.seqwmt-hub-btn:hover .seqwmt-hub-icon { background: #e3eef8; }
button.seqwmt-hub-btn:hover .seqwmt-hub-go { color: var(--seqwmt-ink, #0b2a42); transform: translateX(2px); }
.seqwmt-hub-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #eef3f7; transition: background .15s; }
.seqwmt-hub-icon svg { width: 20px; height: 20px; }
.seqwmt-hub-text { flex: 1 1 auto; display: grid; gap: 3px; min-width: 0; }
.seqwmt-hub-text strong { font-size: 16.5px; font-weight: 700; }
.seqwmt-hub-text small { font-size: 14px; color: #4a6073; line-height: 1.4; }
.seqwmt-hub-go { flex: none; font-size: 26px; line-height: 1; color: #9aaebd; transition: transform .15s, color .15s; }
.seqwmt-hub-soon { flex: none; padding: 3px 10px; border-radius: 999px; background: #eef3f7; color: #5a6f82; font-style: normal; font-size: 12px; font-weight: 700; }
@media (max-width: 560px) { .seqwmt-hub-btn { padding: 14px 0; gap: 11px; } .seqwmt-hub-soon { display: none; } .seqwmt-hub-row.is-soon .seqwmt-hub-text strong::after { content: ' · soon'; font-weight: 600; color: #5a6f82; font-size: 13px; } }

/* ---- Rainfall tab ---- */
.seqwmt-rain-root { max-width: 920px; margin: 0 auto; display: grid; gap: 12px; }
.seqwmt-rain-head h2 { margin: 4px 0 4px; font-size: 22px; color: var(--seqwmt-ink); }
.seqwmt-rain-head p { margin: 0; max-width: 700px; color: var(--seqwmt-muted); font-size: 14px; }
.seqwmt-rain-switch { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--seqwmt-line); border-radius: 22px; background: #fff; justify-self: start; }
.seqwmt-rain-area { padding: 7px 16px; border: 0; border-radius: 999px; background: none; color: var(--seqwmt-muted); font: 600 14px inherit; cursor: pointer; }
.seqwmt-rain-area.is-on { background: #0a4d68; color: #fff; }
.seqwmt-rain-summary { margin: 0; font-size: 15px; font-weight: 600; color: var(--seqwmt-ink); }
.seqwmt-rain-table { padding: 4px 14px; border: 1px solid var(--seqwmt-line); border-radius: 14px; background: #fff; box-shadow: 0 2px 12px rgba(7, 24, 39, .06); }
.seqwmt-rain-table:empty { display: none; }
.seqwmt-rain-row { display: grid; grid-template-columns: 26px minmax(110px, 1.1fr) minmax(80px, 2fr) 92px 70px; align-items: center; gap: 10px; padding: 9px 0; font-size: 14px; }
.seqwmt-rain-row + .seqwmt-rain-row { border-top: 1px solid #e8eef3; }
.seqwmt-rain-rank { color: #7b8d9c; font-size: 12.5px; }
.seqwmt-rain-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seqwmt-rain-bar { height: 10px; border-radius: 5px; background: #eef3f7; overflow: hidden; }
.seqwmt-rain-bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #7ab8e8, #2b5fb0); }
.seqwmt-rain-mm { text-align: right; font-variant-numeric: tabular-nums; }
.seqwmt-rain-when { color: #7b8d9c; text-align: right; font-size: 12px; }
.seqwmt-rain-credit, .seqwmt-rain-muted { margin: 0; color: #6a7f90; font-size: 12px; line-height: 1.45; }
.seqwmt-rain-card { padding: 14px 16px; border: 1px solid var(--seqwmt-line); border-radius: 14px; background: #fff; }
.seqwmt-rain-card h3 { margin: 0 0 8px; font-size: 16px; color: var(--seqwmt-ink); }
.seqwmt-rain-card p { margin: 6px 0 0; }
.seqwmt-rain-soon { background: #f7f9fa; color: #5a6f82; }
.seqwmt-rain-soon p { font-size: 14px; }
.seqwmt-rain-gauges { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.seqwmt-rain-gauges li { display: grid; grid-template-columns: minmax(120px, 1.2fr) auto 1fr; gap: 12px; align-items: baseline; font-size: 14px; }
.seqwmt-rain-gauges small { color: #7b8d9c; text-align: right; }
@media (max-width: 560px) { .seqwmt-rain-row { grid-template-columns: 22px 1fr 64px; } .seqwmt-rain-bar, .seqwmt-rain-when { display: none; } .seqwmt-rain-gauges li { grid-template-columns: 1fr auto; } .seqwmt-rain-gauges small { grid-column: 1 / -1; text-align: left; } }

.seqwmt-rain-item + .seqwmt-rain-item { border-top: 1px solid #e8eef3; }
.seqwmt-rain-item .seqwmt-rain-row { width: 100%; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.seqwmt-rain-item .seqwmt-rain-row:hover .seqwmt-rain-name { text-decoration: underline; }
.seqwmt-rain-row[aria-expanded="true"] .seqwmt-rain-name { color: #0a4d68; }
.seqwmt-rain-history { margin: 0 0 12px; padding: 12px; border-radius: 10px; background: #f5f9fc; display: grid; gap: 10px; }
.seqwmt-rain-totals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.seqwmt-rain-totals div { display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px solid #e2eaf0; }
.seqwmt-rain-totals small { color: #6a7f90; font-size: 11.5px; }
.seqwmt-rain-totals strong { font-size: 16px; font-variant-numeric: tabular-nums; }
.seqwmt-rain-lines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 560px) { .seqwmt-rain-totals { grid-template-columns: repeat(2, 1fr); } .seqwmt-rain-lines { grid-template-columns: 1fr; } }
.seqwmt-rain-soilbtns { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.seqwmt-rain-soilbtn { padding: 9px 16px; border: 1px solid #cdd9e2; border-radius: 10px; background: #f5f9fc; color: #0a4d68; font: 700 14px inherit; cursor: pointer; }
.seqwmt-rain-soilbtn:hover { background: #e3eef8; border-color: #9fbbd0; }

/* ---- Areas (Storm Lab, Ocean & Cyclones, Rain and soil): the strip of product buttons above the Model Explorer ---- */
.seqwmt-workspace { margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--seqwmt-line); border-radius: 14px; background: #fff; box-shadow: 0 2px 12px rgba(7, 24, 39, .06); display: grid; gap: 10px; }
.seqwmt-workspace[hidden] { display: none; } /* the grid above would otherwise show an empty box when no area is open */
.seqwmt-ws-head { display: grid; gap: 2px; }
.seqwmt-ws-head strong { font-size: 18px; color: var(--seqwmt-ink); }
.seqwmt-ws-head span { color: var(--seqwmt-muted); font-size: 14px; max-width: 760px; }
.seqwmt-ws-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.seqwmt-ws-group small { flex: 0 0 104px; color: #6a7f90; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.seqwmt-ws-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.seqwmt-ws-chip { padding: 7px 13px; border: 1px solid #cdd9e2; border-radius: 999px; background: #f5f9fc; color: #0a4d68; font: 600 13.5px inherit; cursor: pointer; }
.seqwmt-ws-chip:hover { background: #e3eef8; border-color: #9fbbd0; }
.seqwmt-ws-chip.is-on { background: #0a4d68; border-color: #0a4d68; color: #fff; }
@media (max-width: 560px) {
  /* On a phone each group is one row you swipe along, so the strip stays short and the map is not pushed off the screen. */
  .seqwmt-workspace { padding: 10px 12px; gap: 6px; }
  .seqwmt-ws-head span { display: none; }
  .seqwmt-ws-group { display: block; }
  .seqwmt-ws-group small { display: block; margin-bottom: 3px; }
  .seqwmt-ws-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px; padding: 0 12px 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .seqwmt-ws-chips::-webkit-scrollbar { display: none; }
  .seqwmt-ws-chip { flex: none; white-space: nowrap; }
}

/* ---- A docked sounding (Storm Lab): the sounding sits under the map as part of the page, not in a pop-up ---- */
[data-dock-sounding] .seqwmt-lb { position: static; z-index: auto; display: block; padding: 0; margin-top: 12px; background: none; }
[data-dock-sounding] .seqwmt-lb[hidden] { display: none; }
[data-dock-sounding] .seqwmt-lb-dialog { width: 100%; max-height: none; background: #0b1420; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 2px 12px rgba(7, 24, 39, .12); } /* solid, not the pop-up's see-through glass: there is no dark backdrop behind it */
[data-dock-sounding] .seqwmt-lb-dialog .seqwmt-lb-title { color: #fff; }
[data-dock-sounding] .seqwmt-lb-close { display: none; }
[data-dock-sounding] .seqwmt-lb-body { overflow: visible; }

/* ---- The Live drop-down in the tab bar: the live map, and the Observations (rain, temperatures) ---- */
.seqwmt-tab--grouped { display: none; }
.seqwmt-live-toggle { white-space: nowrap; }
.seqwmt-live-menu { position: fixed; z-index: 99990; display: grid; gap: 2px; min-width: 200px; padding: 6px; background: #fff; border: 1px solid var(--seqwmt-line); border-radius: 12px; box-shadow: 0 10px 30px rgba(7, 24, 39, .22); }
.seqwmt-live-menu[hidden] { display: none; }
.seqwmt-live-menu button { padding: 9px 12px; border: 0; border-radius: 8px; background: none; color: var(--seqwmt-ink); font: 650 14px inherit; text-align: left; cursor: pointer; }
.seqwmt-live-menu button:hover, .seqwmt-live-menu button:focus-visible { background: #eef3f7; outline: none; }
.seqwmt-live-menu button.is-active { background: #0a4d68; color: #fff; }
.seqwmt-live-menu-label { margin-top: 4px; padding: 6px 12px 2px; color: #6a7f90; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.seqwmt-live-menu-label ~ button { margin-left: 8px; }
.seqwmt-rain-fig { margin: 0; min-width: 0; }
.seqwmt-rain-fig figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0 0 2px; font-size: 13px; color: var(--seqwmt-ink); }
.seqwmt-rain-fig figcaption small { color: #6a7f90; font-size: 11.5px; }
.seqwmt-rain-fig svg { display: block; overflow: visible; }
.seqwmt-rain-plot { position: relative; }
.seqwmt-rain-tip { position: absolute; z-index: 3; display: grid; gap: 1px; padding: 5px 10px; border-radius: 8px; background: #0b1420; color: #fff; font-size: 12px; line-height: 1.25; white-space: nowrap; text-align: center; pointer-events: none; transform: translate(-50%, calc(-100% - 10px)); box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.seqwmt-rain-tip[hidden] { display: none; }
.seqwmt-rain-tip.is-below { transform: translate(-50%, 12px); }
.seqwmt-rain-tip strong { font-size: 14px; }
.seqwmt-rain-tip span { color: #bcd0e0; }
.seqwmt-lb-pic { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); }
.seqwmt-lb-pic-note { margin: 8px 0 0; color: var(--seqwmt-muted); font-size: 12px; line-height: 1.4; }
.seqwmt-lb-pic-img { display: block; width: 100%; max-width: 1100px; height: auto; margin-top: 10px; border-radius: 8px; background: #000; }
.seqwmt-rain-periods[hidden] { display: none; }

/* ---- the wind stream: a canvas laid over the map; it never takes clicks and sits under the map's own controls ---- */
.seqwmt-windstream { position: absolute; inset: 0; z-index: 2; pointer-events: none; } /* no drop-shadow: it blurred the thin lines into smears */

/* ---- Emergency Alert ticker: the expanded card inside a red (emergency or critical) item uses light text. It was dark text on dark red and could not be read. ---- */
.seqwmt-ticker-item.sev-emergency .seqwmt-card, .seqwmt-ticker-item.sev-critical .seqwmt-card { --seqwmt-ink: #fff; --seqwmt-muted: #ffe1e3; --seqwmt-line: rgba(255, 255, 255, .3); color: #fff; }
.seqwmt-ticker-item.sev-emergency .seqwmt-card-title, .seqwmt-ticker-item.sev-critical .seqwmt-card-title,
.seqwmt-ticker-item.sev-emergency .seqwmt-card-description, .seqwmt-ticker-item.sev-critical .seqwmt-card-description,
.seqwmt-ticker-item.sev-emergency .seqwmt-card-meta, .seqwmt-ticker-item.sev-critical .seqwmt-card-meta { color: #fff; }
.seqwmt-ticker-item.sev-emergency .seqwmt-card-links a, .seqwmt-ticker-item.sev-critical .seqwmt-card-links a { color: #fff; text-decoration: underline; }
.seqwmt-ticker-item.sev-emergency .seqwmt-card-type.sev-emergency, .seqwmt-ticker-item.sev-critical .seqwmt-card-type { background: rgba(55, 0, 5, .55); box-shadow: 0 0 0 1px rgba(255, 255, 255, .4); }
.seqwmt-ticker-item.sev-emergency .seqwmt-card-title, .seqwmt-ticker-item.sev-critical .seqwmt-card-title { text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }

/* ---- the Emergency Alerts header folds the list away ---- */
.seqwmt-ticker-head { cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.seqwmt-ticker-fold { position: relative; flex: none; margin: -6px 0 -6px 2px; width: 36px; height: 36px; border-radius: 50%; }
.seqwmt-ticker-fold::before { content: ''; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translate(-50%, -30%) rotate(225deg); transition: transform .15s; } /* a chevron pointing up: tap to fold the list away */
.seqwmt-ticker-head:hover .seqwmt-ticker-fold { background: rgba(255, 255, 255, .18); }
.seqwmt-ticker.is-collapsed .seqwmt-ticker-fold::before { transform: translate(-50%, -70%) rotate(45deg); } /* pointing down: tap to open it again */
.seqwmt-ticker.is-collapsed .seqwmt-ticker-list { display: none; }
.seqwmt-ticker.is-collapsed .seqwmt-ticker-head { border-bottom: 0; }
.seqwmt-ticker-head:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }

/* Temperatures: the order is a pair of chevrons above the readings. */
.seqwmt-sortbar { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: 4px 0 2px; font-size: 12px; font-weight: 700; color: var(--seqwmt-muted); }
.seqwmt-sortbar-chevrons { display: inline-flex; gap: 4px; }
.seqwmt-sortbar-btn { width: 36px; height: 32px; border: 1px solid #c9d4da; border-radius: 8px; background: #fff; color: var(--seqwmt-muted); font-size: 13px; line-height: 1; cursor: pointer; }
.seqwmt-sortbar-btn.is-on { background: #0b4f8f; border-color: #0b4f8f; color: #fff; }

/* The logo's cloud in the header art: greyed and faint so it sits in the background like the isobars and radar rings. It drifts slowly; every so often a
   flash lights it up in the logo's own colours; the small one rains. */
.seqwmt-hero-logo { filter: grayscale(1) brightness(1.7); opacity: .3; }
.seqwmt-hero-drift { animation: seqwmt-hero-drift 16s ease-in-out infinite alternate; }
.seqwmt-hero-drift-b { animation-duration: 21s; animation-delay: -6s; }
.seqwmt-hero-flash { transform-box: fill-box; transform-origin: 50% 0; opacity: 0; animation: seqwmt-hero-flash 6s linear infinite, seqwmt-hero-strike 6s linear infinite; }
.seqwmt-hero-rain { animation: seqwmt-hero-rain 1.1s linear infinite; }
@keyframes seqwmt-hero-drift { from { transform: translateX(-14px); } to { transform: translateX(14px); } }
@keyframes seqwmt-hero-strike { 0%, 78%, 93%, 100% { transform: translate(0, 0) rotate(0deg); } 79% { transform: translate(2.6px, -1px) rotate(1.8deg); } 80% { transform: translate(-3px, 1.2px) rotate(-2deg); } 81% { transform: translate(2.4px, 1.4px) rotate(1.6deg); } 82% { transform: translate(-2.6px, -1.2px) rotate(-1.8deg); } 83.2% { transform: translate(2.2px, .8px) rotate(1.4deg); } 84.5% { transform: translate(-2px, -.6px) rotate(-1.2deg); } 86% { transform: translate(1.4px, .4px) rotate(.8deg); } 88% { transform: translate(-.8px, 0) rotate(-.4deg); } 90.5% { transform: translate(.3px, 0) rotate(.1deg); } }
@keyframes seqwmt-hero-flash { 0%, 78%, 93%, 100% { opacity: 0; } 79% { opacity: 1; } 80.5% { opacity: .2; } 82% { opacity: 1; } 84% { opacity: .35; } 86% { opacity: .95; } 89% { opacity: .5; } 93% { opacity: 0; } }
@keyframes seqwmt-hero-rain { from { transform: translateY(-6px); opacity: 0; } 25% { opacity: .6; } to { transform: translateY(10px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .seqwmt-hero-drift, .seqwmt-hero-flash, .seqwmt-hero-rain { animation: none; } .seqwmt-hero-rain { opacity: .4; } }

/* The little cloud at the radar's centre turns with the beam. */
.seqwmt-hero-logo-mini { opacity: .6; }

/* A small full-colour logo cloud, drifting below the big grey one. */
.seqwmt-hero-colour { opacity: .88; }
/* While the bolt strikes, the logo's own colours come into the cloud (10%), flickering with the strike, then drain away again. */
.seqwmt-hero-tint { opacity: 0; animation: seqwmt-hero-tint 6s linear infinite; }
@keyframes seqwmt-hero-tint { 0%, 78%, 94%, 100% { opacity: 0; } 79.5% { opacity: .1; } 81% { opacity: .04; } 82.5% { opacity: .1; } 85% { opacity: .06; } 88% { opacity: .09; } 94% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .seqwmt-hero-tint { animation: none; } }

/* Model Explorer: the Run pulldown shows a warm edge when it is not the latest run. */
.seqwmt-models-field select.is-old { border-color: #c96f00; background: #fff6e5; }
