.explore-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 18px 0 16px; align-items: center; }
.explore-intro h2 { font-size: 32px; line-height: 1.2; margin: 0; }
.explore-intro h1 { font-size: 26px; line-height: 1.2; margin: 0; overflow-wrap: anywhere; }
.place-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 12px; font-size: 12px; color: #59685e; }
.place-breadcrumbs a { color: #355c45; }
.place-directory { margin: 0 0 10px; font-size: 12px; color: #536157; }
.place-directory a { color: #355c45; }
.place-directory summary { cursor: pointer; font-weight: 650; width: fit-content; }
.place-directory > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 20px; padding: 14px 0; }
.place-directory a { overflow-wrap: anywhere; }
.explore-intro .news-kicker { margin-bottom: 8px; }
.explore-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; border-top: 1px solid #b9c6be; border-bottom: 1px solid #b9c6be; padding: 10px 0; }
.explore-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-width: 0; flex: 1; }
.explore-filter label, .time-dates label { display: grid; gap: 6px; font-size: 11px; font-weight: 750; color: #4e5d54; min-width: 0; }
.time-dates input { width: 100%; min-width: 0; height: 40px; border: 1px solid #b9c6be; border-radius: 4px; padding: 0 10px; font: inherit; font-size: 13px; background: white; color: #17211c; }
.explore-filter fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.explore-filter legend { padding: 0; margin-bottom: 6px; font-size: 11px; font-weight: 750; color: #4e5d54; }
.dataset-switch { display: flex; width: fit-content; max-width: 100%; padding: 3px; background: #e7ece9; border-radius: 6px; }
.dataset-switch label { position: relative; flex: auto; cursor: pointer; }
.dataset-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dataset-switch span { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 7px 12px; min-height: 34px; border-radius: 4px; font-size: 13px; font-weight: 650; color: #56625b; }
.dataset-switch svg { width: 18px; height: 18px; flex-shrink: 0; }
.dataset-switch input:checked + span { background: white; color: #183d2c; box-shadow: 0 1px 3px #17211c1a; }
.dataset-switch input:focus-visible + span { outline: 2px solid #247254; outline-offset: 1px; }
.dataset-field legend, .hazard-field legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hazard-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; max-width: 100%; padding: 8px 12px; border: 1px solid #b9c6be; border-radius: 4px; background: white; color: #263c30; font-size: 12px; font-weight: 650; cursor: pointer; }
.hazard-trigger span { min-width: 0; overflow-wrap: anywhere; text-align: left; }
.hazard-trigger svg { width: 16px; height: 16px; flex: 0 0 16px; }
.hazard-trigger:hover { background: #f4f7f5; }
.hazard-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 20px; overflow: auto; border: 1px solid #b9c6be; border-radius: 6px; background: white; color: #17211c; box-shadow: 0 12px 48px #17211c30; }
.hazard-dialog::backdrop { background: rgba(24, 38, 30, .3); }
.hazard-dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.hazard-dialog h2 { margin: 0; font-size: 18px; line-height: 1.3; }
.hazard-dialog > header button { flex: 0 0 auto; }
.hazard-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
.hazard-options label { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px; border-radius: 4px; font-size: 13px; font-weight: 500; color: #3b4941; cursor: pointer; }
.hazard-options label:hover { background: #f0f5f2; }
.hazard-options span { overflow-wrap: anywhere; }
.hazard-options input { width: 16px; height: 16px; margin: 0; flex: 0 0 16px; accent-color: #28674b; cursor: pointer; }
.hazard-options input:focus-visible { outline: 2px solid #247254; outline-offset: 3px; }
.hazard-options svg { width: 18px; height: 18px; flex-shrink: 0; color: #66766c; }
.hazard-options input:checked ~ span { color: #17211c; }
.hazard-options input[value="wildfire"]:checked + svg { color: #c44831; }
.hazard-options input[value="flood"]:checked + svg { color: #267eae; }
.hazard-options input[value="heavy_rain"]:checked + svg, .hazard-options input[value="thunderstorm"]:checked + svg { color: #5461a7; }
.hazard-options .hazard-all { grid-column: 1 / -1; font-weight: 700; border-bottom: 1px solid #e3e9e5; border-radius: 0; padding-bottom: 12px; margin-bottom: 4px; }
.hazard-dialog footer { display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid #e3e9e5; padding-top: 16px; margin-top: 14px; }
.hazard-dialog footer button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 12px; border: 1px solid #b9c6be; border-radius: 4px; font-size: 13px; font-weight: 650; cursor: pointer; }
.hazard-dialog footer svg { width: 17px; height: 17px; flex: 0 0 17px; }
.hazard-cancel { background: white; color: #3b4941; }
.hazard-dialog .hazard-apply { background: #28674b; border-color: #28674b; color: white; }
.hazard-trigger:focus-visible, .hazard-dialog button:focus-visible { outline: 2px solid #247254; outline-offset: 3px; }
.explore-region-mode .explore-intro { grid-template-columns: minmax(0, 1fr) auto auto; padding: 10px 0; gap: 8px 18px; }
.explore-region-mode .explore-intro h2 { font-size: 26px; }
.explore-region-mode .explore-intro .news-kicker { display: none; }
.explore-region-mode .explore-intro .place-search { display: none; }
.explore-region-mode #clear-region { justify-self: end; font-size: 12px; color: #58695e; }
#place-feedback:empty { display: none; }
.chronicle-time { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 18px; }
.time-dates { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.time-dates input { font-size: 16px; }
.time-controls { display: flex; align-items: center; gap: 8px; margin: 0; min-width: 0; max-width: 100%; }
#time-trigger { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; min-width: 0; min-height: 40px; padding: 6px 8px; border: 0; border-radius: 4px; background: transparent; color: #263c30; cursor: pointer; font-size: 12px; font-weight: 700; }
#time-trigger:hover { background: #e7ece9; }
#time-trigger:focus-visible { outline: 2px solid #247254; outline-offset: 2px; }
#time-trigger svg { width: 16px; height: 16px; flex-shrink: 0; }
#time-play { flex-shrink: 0; }
#time-play:disabled { display: none; }
#time-summary { font-weight: 400; color: #56695e; }
.time-ranges { position: relative; height: 52px; display: flex; justify-content: space-between; background: linear-gradient(#bac9c0, #bac9c0) center 36px / calc(100% - 16px) 4px no-repeat; }
.time-ranges label { min-width: 0; font-size: 11px; color: #4e5d54; }
.time-ranges input { position: absolute; bottom: 0; left: 0; width: 100%; height: 32px; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; pointer-events: none; }
.time-ranges input::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid white; background: #247254; pointer-events: auto; cursor: ew-resize; }
.time-ranges input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; border: 2px solid white; background: #247254; pointer-events: auto; cursor: ew-resize; }
.time-ranges input:focus-visible { outline: 2px solid #247254; outline-offset: 2px; }
#time-caption { grid-column: 1 / -1; font-size: 12px; color: #3c5949; min-height: 16px; }
.coverage-note { margin: 9px 0 0; font-size: 11px; line-height: 1.45; color: #65726a; }
.explore-error { color: #a22e26; font-size: 13px; }
#explore-map { height: 440px; background: #dfe6e1; }
.explore-layout .news-card { min-height: 0; }
.explore-layout .news-timeline:has(> .news-empty)::before { display: none; }
.explore-layout .news-empty { border: 0; background: transparent; text-align: left; padding: 16px 0; margin: 0; }
.explore-layout { margin-top: 16px; }
.explore-layout .is-placeholder, .explore-layout .is-placeholder .news-card-visual { height: 96px; min-height: 96px; }
.explore-layout .news-card-copy { min-height: 170px; }
.explore-layout .news-card-copy h3 { font-size: 20px; overflow-wrap: anywhere; }
.explore-layout .news-card-copy p { font-size: 13px; }
.explore-layout .news-card[data-record="event"] .news-card-media { height: 90px; min-height: 90px; }
.explore-layout .news-card[data-record="event"] .news-card-visual { height: 90px; min-height: 90px; background: #e1ece6; color: #28674b; }
.explore-layout .news-card[data-record="event"] .news-card-visual svg { color: #28674b; stroke: currentColor; width: 40px; height: 40px; }
.explore-layout .news-map-panel header strong { white-space: normal; overflow-wrap: anywhere; }
.explore-layout .news-map-panel header a { flex-shrink: 0; }
.explore-layout .news-map-panel footer { min-height: 65px; }
#close-map-preview { display: none; }
.explore-marker { display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid white; border-radius: 50%; background: #28674b; color: white; box-shadow: 0 2px 5px #17211c50; }
.explore-marker[data-kind="wildfire"] { background: #c44831; }
.explore-marker[data-kind="flood"] { background: #267eae; }
.explore-marker[data-kind="earthquake"] { background: #79574e; }
.explore-marker[data-kind="thunderstorm"], .explore-marker[data-kind="heavy_rain"] { background: #5461a7; }
.explore-marker svg { width: 19px; height: 19px; }
.explore-marker[data-tone="ended"], .explore-marker[data-tone="archived"], .explore-marker[data-tone="unknown"] { background: #68716e; }
.explore-marker[data-tone="contained"] { background: #267eae; }
.explore-marker[data-tone="unverified"], .explore-marker[data-tone="probable"] { background: #a36916; }
.chronicle-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #31533f; }
.chronicle-status svg { width: 16px; height: 16px; flex: 0 0 16px; }
.chronicle-status[data-tone="ended"], .chronicle-status[data-tone="archived"], .chronicle-status[data-tone="unknown"] { color: #626c67; }
.chronicle-status[data-tone="contained"] { color: #246a91; }
.chronicle-status[data-tone="unverified"], .chronicle-status[data-tone="probable"] { color: #88540d; }
.chronicle-status-date { display: block; margin-top: 4px; color: #65726a; font-size: 11px; }
.explore-filter .chronicle-options, .chronicle-options { margin: 16px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid #e3e9e5; min-width: 0; }
.chronicle-options legend { font-size: 13px; font-weight: 650; padding: 0; }
.chronicle-options label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; font-weight: 500; cursor: pointer; }
.chronicle-options input { flex: 0 0 16px; width: 16px; height: 16px; margin: 0; accent-color: #28674b; }
.chronicle-options p { font-size: 12px; line-height: 1.5; margin: 4px 0; color: #65726a; }
.explore-popup { display: grid; gap: 9px; max-width: 240px; }
.explore-popup a { color: #21684b; }
.explore-body [hidden] { display: none !important; }
.explore-map-mode .explore-page { width: 100%; padding-bottom: 0; }
.explore-map-mode .explore-intro { padding: 16px 24px; }
.explore-map-mode .explore-intro > a { justify-self: start; }
.explore-map-mode .explore-intro > div, .explore-map-mode .explore-intro .place-search { display: none; }
.explore-map-mode .explore-controls { padding: 12px 24px; }
.explore-map-mode .explore-layout { display: flex; flex-direction: column; margin-top: 0; gap: 0; }
.explore-map-mode .news-map-panel { width: 100%; position: static; border-radius: 0; border-width: 0 0 1px; order: -1; }
.explore-map-mode #explore-map { height: max(420px, calc(100dvh - 380px)); }
.explore-map-mode .news-stream { width: min(100% - 40px, 1060px); margin: 32px auto; }
@media (min-width: 561px) {
  .dataset-switch span { white-space: nowrap; }
}
@media (min-width: 821px) and (max-width: 1100px) {
  .explore-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
  .explore-layout .news-timeline { padding-left: 22px; }
  .explore-layout .news-timeline::before { left: 5px; }
  .explore-layout .news-card { width: 100%; }
  .explore-layout .news-timeline-label { position: static; width: 100%; padding: 12px; align-items: start; text-align: left; }
  .explore-layout .news-card::after { left: -17px; right: auto; width: 17px; }
  .explore-layout .news-card::before { left: -25px; right: auto; }
}
@media (max-width: 820px) {
  .explore-intro { padding-top: 18px; gap: 12px; }
  .explore-intro h2 { font-size: 26px; }
  .place-search { grid-column: 1 / -1; grid-row: 2; }
  .dataset-switch { width: fit-content; max-width: 100%; }
  #explore-map { height: 280px; }
  .explore-layout .news-map-panel { position: sticky; top: 0; z-index: 400; }
  .explore-body:not(.explore-map-mode):not(.show-map-preview) .news-map-panel { display: none; }
  .show-map-preview:not(.explore-map-mode) #close-map-preview { display: inline-flex; flex-shrink: 0; }
  .explore-layout .news-map-panel > header { padding: 8px 12px; }
  .explore-layout .news-map-panel > footer { min-height: 36px; padding: 4px 12px; }
  .explore-map-mode .explore-layout .news-map-panel { position: static; }
}
@media (max-width: 560px) {
  .explore-layout .news-card .is-placeholder { display: none; }
  .explore-intro { grid-template-columns: minmax(0, 1fr); }
  .explore-intro h2 { font-size: 25px; }
  .explore-intro > a { justify-self: start; }
  .explore-region-mode .explore-intro { grid-template-columns: minmax(0, 1fr) auto; }
  .explore-region-mode .explore-intro > div { grid-column: 1 / -1; }
  .explore-region-mode .explore-intro h2 { font-size: 23px; }
  .explore-region-mode .explore-intro h1 { font-size: 23px; }
  .place-directory > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .explore-region-mode #open-live { grid-column: 1; grid-row: 2; font-size: 12px; }
  .explore-region-mode #clear-region { grid-column: 2; grid-row: 2; }
  .explore-controls { gap: 6px 12px; }
  .explore-filter { display: contents; }
  .dataset-field { flex-basis: 100%; }
  .time-controls { flex: 1; }
  #time-trigger { margin-left: auto; }
  #time-trigger > span:first-of-type { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .dataset-switch { width: fit-content; }
  .dataset-switch span { font-size: 12px; padding: 7px 9px; }
  .hazard-dialog { padding: 16px; }
  .hazard-options { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .hazard-dialog footer { position: sticky; bottom: -16px; background: white; padding: 12px 0; margin-bottom: -16px; }
  .time-dates { grid-template-columns: minmax(0, 1fr) auto; }
  .time-dates label { grid-column: 1; }
  #time-reset { grid-column: 2; grid-row: 2; }
  .explore-layout #explore-map { height: 200px; }
  .explore-map-mode #explore-map { height: 60dvh; min-height: 340px; }
  .explore-map-mode .explore-controls { padding: 12px; }
  .explore-layout .news-stream-header { align-items: start; gap: 12px; }
  .explore-layout .news-stream-header strong { font-size: 16px; }
  .news-stream-header a { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .explore-layout .news-card { transition: none; transform: none; }
}
