html:has(body.weather-warning-atlas-page),
body.weather-warning-atlas-page {
  max-width: 100%;
  overflow-x: hidden;
}

.weather-warning-atlas-page {
  --wwa-ink: #142638;
  --wwa-muted: #617286;
  --wwa-line: #dce5eb;
  --wwa-surface: #ffffff;
  --wwa-soft: #f4f8fa;
  --wwa-clear: #2f9d62;
  --wwa-level1: #e3b341;
  --wwa-level2: #e77b30;
  --wwa-level3: #c94444;
  --wwa-nodata: #9aa6b2;
  color: var(--wwa-ink);
  background: #f7fafb;
  max-width: 100%;
  overflow-x: clip;
}

.wwa-page { padding: 28px 0 64px; }
.wwa-page *, .wwa-page *::before, .wwa-page *::after { box-sizing: border-box; }
.wwa-page button, .wwa-page a { -webkit-tap-highlight-color: transparent; }

.wwa-hero {
  padding: 28px clamp(24px, 3vw, 42px);
  border: 1px solid var(--wwa-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 12%, rgba(61, 148, 183, .12), transparent 32%),
    linear-gradient(145deg, #fff 0%, #f1f7f9 100%);
  box-shadow: 0 18px 46px rgba(25, 54, 73, .08);
}

.wwa-breadcrumbs { display: flex; gap: 8px; align-items: center; margin-bottom: 22px; color: var(--wwa-muted); font-size: .82rem; }
.wwa-breadcrumbs a { color: #2b708e; text-decoration: none; }
.wwa-breadcrumbs a:hover { text-decoration: underline; }
.wwa-hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, .75fr); gap: clamp(24px, 3vw, 42px); align-items: center; }
.wwa-eyebrow { margin: 0 0 8px; color: #28728e; font-size: .73rem; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; }
.wwa-hero__grid > div, .wwa-trust > div { min-width: 0; }
.wwa-hero h1 { max-width: 720px; margin: 0; color: #10283a; font-size: clamp(1.85rem, 2.4vw, 2.45rem); line-height: 1.14; letter-spacing: -.03em; overflow-wrap: normal; text-wrap: balance; }
.wwa-hero__lead { max-width: 700px; margin: 12px 0 0; color: #4d6275; font-size: clamp(.92rem, 1vw, 1rem); line-height: 1.6; overflow-wrap: break-word; text-wrap: pretty; }
.wwa-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.wwa-chips span { padding: 7px 11px; border: 1px solid #d4e3e9; border-radius: 999px; background: rgba(255,255,255,.76); color: #345669; font-size: .78rem; font-weight: 700; }
.wwa-trust { display: flex; width: 100%; max-width: 100%; min-width: 0; gap: 14px; align-items: flex-start; align-self: center; padding: 19px; border: 1px solid #cfe0e8; border-radius: 18px; background: rgba(255,255,255,.82); }
.wwa-trust__icon { display: grid; flex: 0 0 32px; height: 32px; place-items: center; border-radius: 50%; background: #e3f1f5; color: #1f718e; font-family: Georgia, serif; font-weight: 800; }
.wwa-trust h2 { margin: 0 0 8px; font-size: 1rem; line-height: 1.3; }
.wwa-trust p { margin: 0; color: var(--wwa-muted); font-size: .82rem; line-height: 1.58; overflow-wrap: anywhere; }

.wwa-section { margin-top: 30px; padding: 26px; border: 1px solid var(--wwa-line); border-radius: 24px; background: var(--wwa-surface); box-shadow: 0 18px 46px rgba(25, 54, 73, .07); }
.wwa-section__head { display: flex; justify-content: space-between; gap: 28px; align-items: flex-start; margin-bottom: 20px; }
.wwa-section__head h2, .wwa-sources h2 { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; letter-spacing: -.02em; }
.wwa-section__head p:not(.wwa-eyebrow), .wwa-sources > div:first-child > p:last-child { max-width: 720px; margin: 8px 0 0; color: var(--wwa-muted); font-size: .91rem; line-height: 1.62; }
.wwa-update { flex: 0 0 190px; padding: 12px 14px; border: 1px solid var(--wwa-line); border-radius: 14px; background: var(--wwa-soft); text-align: right; }
.wwa-update span, .wwa-update small { display: block; color: var(--wwa-muted); font-size: .69rem; }
.wwa-update strong { display: block; margin: 3px 0; font-size: .82rem; }
.wwa-head-tools { display: grid; flex: 0 0 236px; gap: 9px; }
.wwa-head-tools .wwa-update { width: 100%; text-align: left; }
.wwa-download { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; padding: 10px 15px; border: 1px solid #176e8d; border-radius: 13px; background: linear-gradient(135deg, #176b88, #1f8ca9); color: #fff; font: inherit; font-size: .8rem; font-weight: 780; box-shadow: 0 12px 26px rgba(23,107,136,.2); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
.wwa-download svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wwa-download:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 17px 32px rgba(23,107,136,.27); }
.wwa-download:focus-visible { outline: 3px solid rgba(44,137,174,.34); outline-offset: 3px; }
.wwa-download:disabled { opacity: .5; cursor: wait; box-shadow: none; }
.wwa-export-status { color: var(--wwa-muted); font-size: .65rem; line-height: 1.45; }
.wwa-export-status.is-success { color: #177347; }
.wwa-export-status.is-error { color: #a72f2f; }

.wwa-tabs { display: inline-flex; gap: 5px; margin-bottom: 14px; padding: 4px; border-radius: 13px; background: #edf3f6; }
.wwa-tab { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 9px 15px; border: 0; border-radius: 10px; background: transparent; color: #526679; font: inherit; font-size: .85rem; font-weight: 740; cursor: pointer; }
.wwa-tab span { display: grid; width: 26px; height: 21px; place-items: center; border-radius: 5px; background: #dce6eb; font-size: .62rem; letter-spacing: .05em; }
.wwa-tab.is-active { background: #fff; color: #174d65; box-shadow: 0 3px 12px rgba(24, 65, 85, .11); }
.wwa-tab.is-active span { background: #dceff5; color: #146682; }
.wwa-tab:focus-visible { outline: 3px solid rgba(44, 137, 174, .34); outline-offset: 2px; }

.wwa-workspace { display: grid; grid-template-columns: minmax(0, 2.12fr) minmax(300px, .88fr); gap: 18px; align-items: start; }
.wwa-map-card, .wwa-legend { min-width: 0; border: 1px solid var(--wwa-line); border-radius: 18px; background: #fff; overflow: hidden; }
.wwa-map-stage { position: relative; background: #eaf0f2; }
.wwa-map { width: 100%; height: clamp(460px, 50vw, 590px); max-height: 590px; background: #edf2f4; }
.wwa-map:focus-visible { outline: 3px solid #55a6c3; outline-offset: -3px; }
.wwa-map-status { position: absolute; z-index: 500; top: 14px; left: 60px; display: flex; max-width: calc(100% - 138px); min-height: 42px; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.76); border-radius: 11px; background: rgba(255,255,255,.93); box-shadow: 0 8px 24px rgba(19, 46, 61, .17); backdrop-filter: blur(9px); }
.wwa-map-status strong { font-size: .76rem; line-height: 1.3; }
.wwa-map-status__dot { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--wwa-nodata); box-shadow: 0 0 0 4px rgba(154,166,178,.17); }
.wwa-map-status.is-active .wwa-map-status__dot { background: var(--wwa-level3); box-shadow: 0 0 0 4px rgba(201,68,68,.14); }
.wwa-map-status.is-clear .wwa-map-status__dot { background: var(--wwa-clear); box-shadow: 0 0 0 4px rgba(47,157,98,.14); }
.wwa-map-status.is-nodata .wwa-map-status__dot, .wwa-map-status.is-loading .wwa-map-status__dot { background: var(--wwa-nodata); }
.wwa-map-status.is-loading .wwa-map-status__dot { animation: wwa-pulse 1.3s ease-in-out infinite; }
.wwa-map-cue { position: absolute; z-index: 450; right: 12px; bottom: 12px; max-width: 220px; padding: 7px 10px; border-radius: 8px; background: rgba(21,41,53,.78); color: #fff; font-size: .67rem; line-height: 1.4; pointer-events: none; }
.wwa-map-mini-legend { position: absolute; z-index: 500; top: 14px; right: 14px; display: flex; gap: 6px; padding: 6px; border: 1px solid rgba(255,255,255,.78); border-radius: 12px; background: rgba(255,255,255,.92); box-shadow: 0 8px 24px rgba(19,46,61,.14); backdrop-filter: blur(9px); pointer-events: none; }
.wwa-map-mini-legend__item { display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px; color: #314c5b; font-size: .59rem; font-weight: 760; white-space: nowrap; }
@keyframes wwa-pulse { 50% { opacity: .35; } }

.wwa-hazard-marker-shell { border: 0; background: transparent; }
.wwa-hazard-marker { --marker-level: var(--wwa-level1); display: grid; width: 44px; height: 44px; place-items: center; border: 3px solid #fff; border-radius: 50% 50% 50% 12px; background: var(--marker-level); color: #fff; box-shadow: 0 7px 18px rgba(20,43,56,.28), 0 0 0 2px color-mix(in srgb, var(--marker-level) 48%, transparent); transform: rotate(-45deg); }
.wwa-hazard-marker.is-level1 { --marker-level: var(--wwa-level1); }
.wwa-hazard-marker.is-level2 { --marker-level: var(--wwa-level2); }
.wwa-hazard-marker.is-level3 { --marker-level: var(--wwa-level3); }
.wwa-hazard-marker__inner { display: grid; width: 29px; height: 29px; place-items: center; transform: rotate(45deg); }
.wwa-hazard-marker svg, .wwa-hazard-symbol svg, .wwa-warning-card__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wwa-hazard-marker svg .is-rain, .wwa-hazard-symbol svg .is-rain, .wwa-warning-card__icon svg .is-rain { stroke: #bcecff; }
.wwa-hazard-marker svg .is-lightning, .wwa-hazard-symbol svg .is-lightning, .wwa-warning-card__icon svg .is-lightning { fill: #fff3a6; stroke: #fff3a6; }

.wwa-map .leaflet-control-zoom { overflow: hidden; border: 1px solid #d3dfe5; border-radius: 10px; box-shadow: 0 8px 20px rgba(20,45,59,.13); }
.wwa-map .leaflet-control-zoom a { display: grid; width: 38px; height: 38px; place-items: center; color: #244c60; line-height: 38px; }
.wwa-map .leaflet-control-attribution { max-width: 72%; padding: 2px 5px; background: rgba(255,255,255,.84); font-size: 8px; }
.wwa-map .leaflet-tooltip { padding: 6px 9px; border: 0; border-radius: 8px; box-shadow: 0 5px 18px rgba(21,43,55,.19); color: #18394a; font-size: .72rem; font-weight: 720; }
.wwa-map .leaflet-popup-content-wrapper { overflow: hidden; border: 1px solid #d8e2e7; border-radius: 15px; box-shadow: 0 16px 44px rgba(17,41,55,.22); }
.wwa-map .leaflet-popup-content { width: min(370px, calc(100vw - 76px)) !important; margin: 0; }
.wwa-map .leaflet-popup-close-button { z-index: 2; display: grid; width: 40px !important; height: 40px !important; padding: 0 !important; place-items: center; top: 7px; right: 7px; border-radius: 50%; background: rgba(255,255,255,.94); color: #263e4b; font-size: 24px !important; line-height: 1 !important; }
.wwa-popup { padding: 17px; }
.wwa-popup__head { padding-right: 42px; }
.wwa-popup__head small { display: block; margin-bottom: 3px; color: var(--wwa-muted); font-size: .67rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.wwa-popup h3 { margin: 0; color: #122f3f; font-size: 1.02rem; line-height: 1.3; }
.wwa-popup__badge, .wwa-detail__badge { display: inline-flex; margin-top: 10px; padding: 5px 8px; border-radius: 999px; background: #eef2f4; color: #556775; font-size: .68rem; font-weight: 780; }
.wwa-popup__badge.is-clear, .wwa-detail__badge.is-clear { background: #e4f5eb; color: #167345; }
.wwa-popup__badge.is-level1, .wwa-detail__badge.is-level1 { background: #fff5d8; color: #82600c; }
.wwa-popup__badge.is-level2, .wwa-detail__badge.is-level2 { background: #fff0e2; color: #a04b12; }
.wwa-popup__badge.is-level3, .wwa-detail__badge.is-level3 { background: #fde8e8; color: #a72f2f; }
.wwa-popup p { margin: 11px 0 0; color: #526575; font-size: .78rem; line-height: 1.55; }
.wwa-popup dl { display: grid; grid-template-columns: 58px 1fr; gap: 5px 9px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid #e6ecef; font-size: .7rem; line-height: 1.4; }
.wwa-popup dt { color: #7a8995; }
.wwa-popup dd { margin: 0; color: #2f4654; font-weight: 680; overflow-wrap: anywhere; }
.wwa-popup button { width: 100%; min-height: 40px; margin-top: 12px; border: 0; border-radius: 9px; background: #1d708d; color: #fff; font: inherit; font-size: .73rem; font-weight: 750; cursor: pointer; }

.wwa-warning-list { margin-top: 16px; }
.wwa-warning-list__head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.wwa-warning-list__head small { display: block; color: #1b708b; font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.wwa-warning-list__head h4 { margin: 3px 0 0; color: #15384a; font-size: 1rem; line-height: 1.3; }
.wwa-warning-list__head > strong { flex: 0 0 auto; padding: 6px 9px; border: 1px solid #cfe0e7; border-radius: 999px; background: #f3f8fa; color: #245b70; font-size: .66rem; white-space: nowrap; }
.wwa-warning-list__note { margin: 9px 0 0 !important; padding: 9px 11px; border-left: 3px solid #2b7e99; border-radius: 0 9px 9px 0; background: #eef6f8; color: #486574 !important; font-size: .68rem !important; line-height: 1.45 !important; }
.wwa-warning-list__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 12px; }
.wwa-warning-card { min-width: 0; padding: 13px; border: 1px solid #dce6ea; border-radius: 13px; background: #fff; box-shadow: 0 5px 16px rgba(27,61,78,.06); }
.wwa-warning-card.is-primary { border-color: #79afc0; box-shadow: 0 0 0 2px rgba(37,119,146,.10), 0 8px 22px rgba(27,61,78,.09); }
.wwa-warning-card__head { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 9px; align-items: center; }
.wwa-warning-card__icon { display: grid; width: 38px; height: 38px; place-items: center; padding: 7px; border-radius: 11px; background: var(--wwa-nodata); color: #fff; }
.wwa-warning-card.is-level1 .wwa-warning-card__icon { background: #bd9329; }
.wwa-warning-card.is-level2 .wwa-warning-card__icon { background: #cc641f; }
.wwa-warning-card.is-level3 .wwa-warning-card__icon { background: #b93838; }
.wwa-warning-card__heading { min-width: 0; }
.wwa-warning-card__heading small, .wwa-warning-card__heading strong { display: block; }
.wwa-warning-card__heading small { color: #69808d; font-size: .59rem; font-weight: 780; letter-spacing: .04em; text-transform: uppercase; }
.wwa-warning-card.is-primary .wwa-warning-card__heading small { color: #176b87; }
.wwa-warning-card__heading strong { margin-top: 2px; color: #17384a; font-size: .76rem; line-height: 1.35; overflow-wrap: anywhere; }
.wwa-warning-card__level { padding: 5px 7px; border-radius: 999px; background: #eef2f4; color: #566d79; font-size: .6rem; font-weight: 800; white-space: nowrap; }
.wwa-warning-card.is-level1 .wwa-warning-card__level { background: #fff3cc; color: #7b5b0c; }
.wwa-warning-card.is-level2 .wwa-warning-card__level { background: #ffead8; color: #99470f; }
.wwa-warning-card.is-level3 .wwa-warning-card__level { background: #fde3e3; color: #a62b2b; }
.wwa-warning-card > p { margin: 10px 0 0; color: #506776; font-size: .7rem; line-height: 1.52; }
.wwa-warning-card dl { display: grid; grid-template-columns: 55px minmax(0, 1fr); gap: 4px 8px; margin: 10px 0 0; padding-top: 9px; border-top: 1px solid #e7edef; font-size: .64rem; line-height: 1.4; }
.wwa-warning-card dt { color: #7a8b95; }
.wwa-warning-card dd { min-width: 0; margin: 0; color: #314b59; font-weight: 680; overflow-wrap: anywhere; }
.wwa-warning-list.is-compact { margin-top: 13px; }
.wwa-warning-list.is-compact .wwa-warning-list__head h4 { font-size: .88rem; }
.wwa-warning-list.is-compact .wwa-warning-list__items { display: grid; grid-template-columns: 1fr; max-height: 290px; padding: 2px 6px 2px 2px; overflow: auto; scrollbar-color: #9eb7c2 #edf3f5; scrollbar-width: thin; }
.wwa-warning-list.is-compact .wwa-warning-card { padding: 11px; box-shadow: none; }
.wwa-warning-list.is-compact .wwa-warning-card__head { grid-template-columns: 34px minmax(0, 1fr) auto; }
.wwa-warning-list.is-compact .wwa-warning-card__icon { width: 34px; height: 34px; padding: 6px; }
.wwa-warning-list.is-compact .wwa-warning-card > p { font-size: .67rem; }

.wwa-summary { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--wwa-line); border-bottom: 1px solid var(--wwa-line); }
.wwa-summary > div { display: grid; grid-template-columns: 10px auto 1fr; gap: 8px; align-items: center; min-width: 0; padding: 13px 15px; }
.wwa-summary > div + div { border-left: 1px solid var(--wwa-line); }
.wwa-summary__dot { width: 8px; height: 8px; border-radius: 50%; }
.wwa-summary__dot--active { background: var(--wwa-level3); }
.wwa-summary__dot--clear { background: var(--wwa-clear); }
.wwa-summary__dot--nodata { background: var(--wwa-nodata); }
.wwa-summary strong { font-size: 1rem; }
.wwa-summary small { color: var(--wwa-muted); font-size: .7rem; overflow-wrap: anywhere; }

.wwa-detail { min-height: 146px; padding: 18px; background: #fbfcfd; }
.wwa-detail__empty { display: flex; gap: 13px; align-items: center; min-height: 106px; }
.wwa-detail__empty > span { display: grid; flex: 0 0 38px; height: 38px; place-items: center; border-radius: 50%; background: #e6f0f4; color: #24728e; }
.wwa-detail h3 { margin: 0; font-size: 1rem; }
.wwa-detail p { margin: 5px 0 0; color: var(--wwa-muted); font-size: .79rem; line-height: 1.55; }
.wwa-detail__top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.wwa-detail__top small { color: #668091; font-size: .68rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.wwa-detail__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.wwa-detail__grid div { padding: 10px; border: 1px solid #e2e9ed; border-radius: 10px; background: #fff; }
.wwa-detail__grid span { display: block; color: #788894; font-size: .64rem; }
.wwa-detail__grid strong { display: block; margin-top: 3px; color: #314b59; font-size: .72rem; line-height: 1.4; overflow-wrap: anywhere; }
.wwa-detail__source { margin-top: 12px !important; padding-top: 11px; border-top: 1px solid #e2e9ed; }

.wwa-legend { max-height: 805px; padding: 18px; overflow: auto; scrollbar-width: thin; }
.wwa-legend header h2 { margin: 0; font-size: 1.2rem; }
.wwa-legend header p:not(.wwa-eyebrow) { margin: 7px 0 0; color: var(--wwa-muted); font-size: .78rem; line-height: 1.55; }
.wwa-levels { display: grid; gap: 7px; margin-top: 16px; }
.wwa-levels > div { display: flex; gap: 10px; align-items: center; padding: 9px; border: 1px solid #e2e9ed; border-radius: 10px; }
.wwa-levels i { flex: 0 0 24px; width: 24px; height: 24px; border: 4px solid rgba(255,255,255,.62); border-radius: 7px; box-shadow: 0 0 0 1px rgba(43,61,71,.09); }
.wwa-levels i.is-clear { background: var(--wwa-clear); }
.wwa-levels i.is-level1 { background: var(--wwa-level1); }
.wwa-levels i.is-level2 { background: var(--wwa-level2); }
.wwa-levels i.is-level3 { background: var(--wwa-level3); }
.wwa-levels i.is-nodata { background: var(--wwa-nodata); }
.wwa-levels span { min-width: 0; }
.wwa-levels strong, .wwa-levels small { display: block; }
.wwa-levels strong { font-size: .76rem; }
.wwa-levels small { margin-top: 2px; color: var(--wwa-muted); font-size: .65rem; line-height: 1.35; }
.wwa-icon-legend { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--wwa-line); }
.wwa-icon-legend h3 { margin: 0 0 9px; color: #244656; font-size: .8rem; }
.wwa-icon-legend__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.wwa-icon-legend__item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; align-items: center; min-width: 0; padding: 7px; border: 1px solid #e2e9ed; border-radius: 10px; background: #f9fbfc; color: #455e6c; font-size: .63rem; line-height: 1.3; }
.wwa-hazard-symbol { display: grid; width: 34px; height: 34px; place-items: center; padding: 5px; border-radius: 10px; background: #1f708e; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.24); }
.wwa-scale { margin-top: 16px; border-top: 1px solid var(--wwa-line); }
.wwa-scale summary { min-height: 44px; padding: 14px 2px 8px; color: #244656; font-size: .8rem; font-weight: 780; cursor: pointer; }
.wwa-scale > p { margin: 3px 0 11px; color: var(--wwa-muted); font-size: .67rem; line-height: 1.5; }
.wwa-hazards { display: grid; gap: 8px; }
.wwa-hazard { border: 1px solid #e1e8ec; border-radius: 10px; overflow: hidden; }
.wwa-hazard h3 { margin: 0; padding: 8px 10px; background: #f3f7f8; color: #294858; font-size: .71rem; }
.wwa-hazard dl { margin: 0; }
.wwa-hazard dl > div { display: grid; grid-template-columns: 27px 1fr; min-height: 35px; align-items: stretch; }
.wwa-hazard dl > div + div { border-top: 1px solid #e6ecef; }
.wwa-hazard dt { display: grid; place-items: center; margin: 0; color: #fff; font-size: .62rem; font-weight: 800; }
.wwa-hazard .is-level1 dt { background: #bd9329; }
.wwa-hazard .is-level2 dt { background: #ca641f; }
.wwa-hazard .is-level3 dt { background: #ad3535; }
.wwa-hazard dd { margin: 0; padding: 7px 9px; color: #4e616e; font-size: .64rem; line-height: 1.42; white-space: pre-line; }
.wwa-scale__footnote { padding: 9px; border-radius: 9px; background: #eef5f7; color: #49616f !important; }

.wwa-sources { margin-top: 24px; padding: 24px; border: 1px solid var(--wwa-line); border-radius: 22px; background: #fff; }
.wwa-source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.wwa-source-grid article { display: flex; flex-direction: column; gap: 5px; padding: 15px; border: 1px solid #dce6ea; border-radius: 13px; background: #f8fafb; }
.wwa-source-grid strong { font-size: .85rem; }
.wwa-source-grid span { color: var(--wwa-muted); font-size: .74rem; line-height: 1.5; }
.wwa-source-grid a { color: #1f6f8e; font-size: .7rem; font-weight: 730; text-decoration: none; }
.wwa-source-grid a:hover { text-decoration: underline; }
.wwa-disclaimer { margin: 14px 0 0; padding: 11px 13px; border-left: 3px solid #6ba1b6; background: #f1f7f9; color: #536b78; font-size: .72rem; line-height: 1.55; }

@media (max-width: 1040px) {
  .wwa-workspace { grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr); }
  .wwa-map { height: 520px; }
}

@media (max-width: 900px) {
  .wwa-hero__grid { grid-template-columns: 1fr; }
  .wwa-trust { max-width: 640px; }
  .wwa-workspace { grid-template-columns: 1fr; }
  .wwa-map { height: 520px; }
  .wwa-legend { max-height: none; }
  .wwa-hazards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wwa-warning-list__items { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wwa-page { padding: 14px 0 42px; }
  .wwa-hero, .wwa-section, .wwa-sources { width: calc(100% - 20px); padding: 18px; border-radius: 18px; }
  .wwa-hero h1 { font-size: clamp(1.65rem, 7.5vw, 2.15rem); }
  .wwa-hero__lead { font-size: .92rem; }
  .wwa-section__head { display: block; }
  .wwa-head-tools { width: 100%; margin-top: 14px; }
  .wwa-update { width: 100%; text-align: left; }
  .wwa-download { width: 100%; }
  .wwa-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .wwa-tab { justify-content: center; padding-inline: 9px; }
  .wwa-map { height: 420px; max-height: none; }
  .wwa-map-status { top: 10px; left: 56px; max-width: calc(100% - 112px); }
  .wwa-map-mini-legend { top: auto; right: 9px; bottom: 9px; }
  .wwa-map-mini-legend__item span:last-child { display: none; }
  .wwa-map-cue { display: none; }
  .wwa-summary > div { grid-template-columns: 8px auto; padding: 11px 8px; }
  .wwa-summary small { grid-column: 1 / -1; font-size: .61rem; }
  .wwa-detail__top { display: block; }
  .wwa-detail__grid { grid-template-columns: 1fr; }
  .wwa-warning-list__head { display: block; }
  .wwa-warning-list__head > strong { display: inline-flex; margin-top: 8px; }
  .wwa-warning-card__head { grid-template-columns: 36px minmax(0, 1fr); }
  .wwa-warning-card__level { grid-column: 2; justify-self: start; }
  .wwa-hazards, .wwa-source-grid { grid-template-columns: 1fr; }
  .wwa-icon-legend__grid { grid-template-columns: 1fr; }
  .wwa-map .leaflet-control-attribution { max-width: 84%; }
}

@media (max-width: 380px) {
  .wwa-hero, .wwa-section, .wwa-sources { width: calc(100% - 12px); padding: 14px; }
  .wwa-map { height: 380px; }
  .wwa-map-status { max-width: calc(100% - 60px); padding: 8px 9px; }
  .wwa-map-status strong { font-size: .68rem; }
  .wwa-summary small { font-size: .57rem; }
}

@media (prefers-reduced-motion: reduce) {
  .wwa-map-status.is-loading .wwa-map-status__dot { animation: none; }
  .wwa-page *, .wwa-page *::before, .wwa-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
