/* HP-2R Checkpoint 3: approved structure with final layout polish. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font: 16px/1.7 var(--font); color: var(--body); background: var(--white); overflow-wrap: break-word; }
button, input, select { font: inherit; }
a { color: var(--action); text-underline-offset: .25em; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--primary); }
h1, h2 { font-family: var(--font-heading); }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.5; letter-spacing: .035em; text-wrap: balance; }
h3 { font-size: 1.125rem; line-height: 1.6; }
p + p { margin-top: 12px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: var(--content-width); margin-inline: auto; padding-inline: 32px; }
.map_wrap { max-width: var(--map-width); margin-inline: auto; padding-inline: 32px; }
.eyebrow { color: var(--action); font-size: .875rem; font-weight: 600; letter-spacing: .13em; margin-bottom: 16px; }
.fine_print, .scope_note { font-size: .9375rem; color: var(--muted); line-height: 1.75; }
.ui_icon { display: block; width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.screen_reader_only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip_link { position: absolute; left: 16px; top: -80px; z-index: 30; background: var(--white); padding: 12px 20px; }
.skip_link:focus { top: 8px; }
.site_header { position: absolute; inset: 0 0 auto; z-index: 20; background: linear-gradient(180deg, #ffffffb8, #ffffff00); }
.header_inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.wordmark { color: var(--primary); display: inline-flex; align-items: center; gap: 14px; text-decoration: none; white-space: nowrap; min-height: 44px; }
.brand_mark { width: 64px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.brand_type { display: flex; flex-direction: column; }
.brand_name { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; letter-spacing: .12em; line-height: 1.5; }
.brand_tagline { font-size: .75rem; letter-spacing: .08em; line-height: 1.6; }
.site_nav { display: flex; align-items: center; gap: 28px; }
.site_nav a { display: flex; align-items: center; min-width: 44px; min-height: 44px; color: var(--primary); text-decoration: none; font-size: .9375rem; font-weight: 600; }
.site_nav a:hover { color: var(--action); text-decoration: underline; }
.site_nav .nav_search { width: 44px; justify-content: center; }
.mobile_search, .menu_toggle { display: none; }
.hero { position: relative; isolation: isolate; min-height: 580px; background: #e7f1f7; overflow: hidden; }
.hero_visual { position: absolute; inset: 0; pointer-events: none; }
.hero_visual picture { display: block; width: 100%; height: 100%; }
.hero_visual img { --hero-image-position: right bottom; position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-image-position, right bottom); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #fff 0%, #fffffff2 24%, #ffffffb3 43%, #ffffff26 64%, #ffffff00 78%); pointer-events: none; }
.hero_visual figcaption { position: absolute; z-index: 1; right: 24px; bottom: 12px; padding: 4px 10px; border-radius: 6px; background: #ffffffdc; font-size: .8125rem; color: var(--muted); }
.hero_inner { padding-top: 126px; padding-bottom: 48px; }
.hero_copy { max-width: 640px; }
.hero_eyebrow { font-family: Georgia, serif; font-size: .875rem; letter-spacing: .14em; margin-bottom: 14px; }
.hero h1 { font-size: clamp(3.5rem, 4.5vw, 4rem); line-height: 1.3; letter-spacing: .065em; font-weight: 600; margin-bottom: 20px; }
.hero h1 span { color: var(--action); }
.hero_lead { color: var(--primary); font-family: var(--font-heading); font-size: 1.125rem; line-height: 1.8; letter-spacing: .04em; }
.hero_actions { display: flex; align-items: stretch; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: 8px; font-size: 1rem; font-weight: 700; text-decoration: none; line-height: 1.5; }
.primary { background: var(--action); color: var(--white); }
.primary:hover { background: var(--primary); }
.secondary { color: var(--primary); background: #ffffffed; border-color: var(--control-border); }
.secondary:hover { background: var(--pale); }
.hero_actions .button { min-height: 58px; }
.hero_actions .primary { min-width: 216px; }
.hero_actions .secondary { min-width: 270px; }
.hero_note { font-size: .875rem; color: var(--muted); margin-top: 14px; }
.hero_note a { color: inherit; display: inline-block; min-height: 24px; }
.service { background: var(--white); border-bottom: 1px solid #e9eff4; }
.service_points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 22px; }
.trust_item { display: flex; align-items: center; gap: 18px; padding-inline: 22px; }
.trust_item:first-child { padding-left: 0; }
.trust_item + .trust_item { border-left: 1px solid var(--border); }
.trust_icon { width: 62px; height: 62px; border-radius: 50%; background: #edf6ff; color: var(--action); display: grid; place-items: center; flex: 0 0 auto; }
.trust_icon .ui_icon { width: 32px; height: 32px; }
.trust_item h3 { font-size: 1rem; letter-spacing: .025em; text-wrap: balance; margin-bottom: 3px; }
.trust_item p { color: var(--muted); font-size: .875rem; }
.section_heading { display: flex; align-items: center; gap: 24px; margin-bottom: 22px; }
.section_heading > .eyebrow { border-left: 3px solid #2495e8; padding-left: 14px; flex: 0 0 auto; margin: 0; font-family: Georgia, serif; font-size: .8125rem; line-height: 1.7; letter-spacing: .12em; }
.section_heading_main { min-width: 0; }
.section_heading h2 { font-size: clamp(1.375rem, 2.1vw, 1.75rem); font-weight: 700; letter-spacing: .025em; line-height: 1.5; }
.section_heading_main > p { margin-top: 3px; color: var(--muted); font-size: .9375rem; }
.section_heading_note { margin-left: auto; text-align: right; max-width: 300px; font-size: .875rem; color: var(--muted); }
.section_heading_note p + p { margin-top: 3px; }
.heading_action { margin-left: auto; min-height: 44px; font-size: .875rem; padding: 8px 20px; flex: 0 0 auto; }
.risk_section { background: linear-gradient(180deg, #f1f7fc, #f7fafc); padding-block: 40px 24px; }
.map_layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 18px; align-items: stretch; }
.map_column, .map_panel { min-width: 0; border: 1px solid var(--border); border-radius: 8px; background: var(--white); box-shadow: 0 3px 15px #15364c05; }
.map_column { overflow: hidden; }
.map_stage { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 10px; padding: 14px; height: 464px; background: #ecf1f5; }
.map_preview { height: 100%; overflow: hidden; position: absolute; inset: 0; background: #edf2f5; isolation: isolate; }
.map_canvas { position: absolute; inset: 0; width: 100%; height: 100%; background: #edf2f5; font-family: var(--font-body); }
.map_placeholder > svg { display: block; }
.map_placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 142px 28px 40px; }
.map_placeholder > .ui_icon { width: 52px; height: 52px; color: #6991a8; margin-bottom: 16px; }
.map_placeholder > p:first-of-type { font-family: var(--font-heading); font-size: 1.5rem; color: var(--primary); margin-bottom: 6px; }
.map_search { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 1002; max-width: 610px; border: 1px solid #d4e0e9; border-radius: 6px; background: #fffffff2; box-shadow: 0 3px 14px #15364c12; padding: 0 10px; }
.map_search_toggle { position: absolute; top: 14px; left: 14px; z-index: 1002; min-height: 44px; padding: 8px 12px; display: inline-flex; align-items: center; gap: 7px; background: white; color: var(--primary); border: 1px solid var(--control-border); border-radius: 6px; box-shadow: 0 2px 8px #15364c12; font-weight: 700; }
.map_search_toggle .ui_icon { width: 20px; height: 20px; }
.map_search_results { position: absolute; top: calc(100% + 66px); left: 0; right: 0; max-height: min(240px, 40svh); overflow-y: auto; overscroll-behavior: contain; padding: 8px; border: 1px solid var(--border); border-radius: 6px; background: white; box-shadow: 0 3px 14px #15364c12; }
.map_search:not(:focus-within) .map_search_results { display: none; }
.map_search .map_search_close { flex: 0 0 44px; width: 44px; padding: 0; color: var(--primary); font-size: 1.5rem; }
.search_field { display: flex; align-items: center; gap: 10px; }
.search_field > .ui_icon { width: 20px; color: #7290a6; }
.search_field input { width: 0; flex: 1 1 auto; min-width: 0; padding: 12px 0; border: 0; background: transparent; color: var(--primary); min-height: 48px; font-size: .9375rem; }
.search_field input::placeholder { color: #5c7082; }
.search_field button { color: var(--action); border: 0; border-left: 1px solid var(--border); background: transparent; min-height: 44px; padding: 6px 10px 6px 16px; font-size: .9375rem; font-weight: 700; }
.search_status { font-size: .8125rem; margin-block: 0 5px; }
.map_search:not(:focus-within) .region_results { display: none; }
.map_search:not(:focus-within) .search_status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.region_results { display: flex; gap: 6px; flex-wrap: wrap; }
.region_result { min-height: 44px; text-align: left; border: 1px solid #dbe5ed; border-radius: 6px; background: var(--white); padding: 6px 10px; color: var(--primary); font-size: .875rem; line-height: 1.5; }
.region_result span { display: block; color: var(--muted); font-size: .75rem; }
.region_result:hover, .region_result[aria-pressed="true"] { background: #eef7ff; border-color: #72a6d0; }
.map_toolbar { position: absolute; top: 76px; left: 14px; z-index: 900; display: flex; flex-direction: row; gap: 2px; border: 1px solid var(--border); border-radius: 6px; background: var(--white); overflow: hidden; box-shadow: 0 2px 8px #15364c0d; }
.map_stage:has(#map_search_panel[hidden]) .map_toolbar { top: 14px; left: 110px; }
.map_toolbar button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: var(--white); color: var(--primary); padding: 8px; font-size: 1.375rem; }
.map_toolbar button + button { border-left: 1px solid var(--border); }
.map_toolbar button:hover { background: var(--pale); }
/* Local Leaflet panes stay inside this map; overlays remain above the tiles. */
.map_canvas .leaflet-control-attribution { max-width: calc(100% - 12px); margin: 0 6px 5px; padding: 3px 6px; font-size: 12px; line-height: 1.45; background: #ffffffed; color: #324a5e; white-space: normal; }
.map_canvas .leaflet-control-attribution a { color: #14597a; text-decoration: underline; }
.map_canvas .leaflet-tooltip { font-size: 12px; font-family: inherit; white-space: normal; max-width: 180px; }
.map_interaction { position: absolute; z-index: 900; bottom: 64px; left: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--control-border); border-radius: 6px; color: var(--primary); background: #fffffff2; font: inherit; font-size: 13px; }
.map_interaction[aria-pressed="true"] { color: white; background: var(--primary); }
.basemap_feedback { position: absolute; z-index: 900; left: 72px; right: 14px; bottom: 38px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; background: #fffffff2; box-shadow: 0 2px 8px #15364c0d; }
.basemap_feedback p { margin: 0; font-size: 13px; line-height: 1.5; }
.basemap_feedback .text_button { min-height: 44px; margin: 0; }
.map_placeholder { position: relative; pointer-events: none; }

.map_feedback { display: flex; align-items: start; gap: 12px; padding: 12px 16px 0; }
.map_feedback > p { flex: 1; font-size: .875rem; }
.text_button { min-height: 44px; border: 0; color: var(--action); background: transparent; text-decoration: underline; text-underline-offset: .25em; padding: 8px 0; text-align: left; font-size: .875rem; }
.map_feedback > .text_button { flex: 0 0 auto; margin-top: -7px; }
.map_selection { padding: 3px 16px 6px; font-size: .8125rem; min-height: 24px; }
.map_readout { margin: 0 16px; font-size: .875rem; border-top: 1px solid var(--border); border-bottom: 0; }
.map_readout > summary { min-height: 44px; padding-block: 10px; color: var(--primary); }
.map_legend { font-size: .875rem; color: var(--muted); padding-bottom: 12px; }
.preview_legend_label { color: var(--body); font-weight: 700; font-size: .875rem; margin-bottom: 8px; }
.preview_legend_gradient { height: 10px; border: 1px solid #7d7293; max-width: 360px; }
.preview_legend_range { display: flex; justify-content: space-between; max-width: 360px; font-variant-numeric: tabular-nums; }
.map_legend .fine_print { font-size: .8125rem; }
.map_values { margin: 8px 0 16px; font-size: .9375rem; border-top: 1px solid var(--border); }
.map_values label { display: block; margin-block: 8px; }
.map_values select { min-height: 44px; max-width: 100%; width: 100%; padding: 8px 12px; background: var(--white); border: 1px solid var(--control-border); color: var(--body); }
.map_values p { padding-block: 8px 12px; }
.map_panel { padding: 22px 20px 12px; }
.selected_location { display: flex; gap: 12px; align-items: start; }
.location_icon { width: 25px; height: 30px; margin-top: 5px; color: var(--primary); }
.selected_label { font-size: .75rem; margin-bottom: 2px; letter-spacing: .07em; }
#selected_region_name { font-family: var(--font-heading); font-size: clamp(1.5rem, 2vw, 1.75rem); line-height: 1.45; letter-spacing: .07em; }
#selected_municipality { font-size: .8125rem; margin-top: 3px; }
.region_detail { width: calc(100% - 37px); margin: 14px 0 20px 37px; min-height: 44px; font-size: .875rem; padding-inline: 12px; justify-content: space-between; }
.hazard_group { border-top: 1px solid var(--border); padding-top: 14px; }
.hazard_group h4 { font-size: 1rem; border-left: 4px solid var(--action); padding-left: 10px; }
.hazard_hint { font-size: .8125rem; color: var(--muted); margin-top: 6px; line-height: 1.65; }
.hazard_list { margin-top: 8px; }
.hazard_row { display: flex; align-items: center; gap: 10px; min-height: 54px; border-bottom: 1px solid #edf1f5; }
.hazard_row:last-child { border-bottom: 0; }
.hazard_icon, .axis_icon { width: 38px; height: 38px; border-radius: 50%; background: #edf6ff; color: var(--action); display: grid; place-items: center; flex: 0 0 auto; }
.hazard_label { flex: 1; min-width: 0; }
.hazard_label strong { font-size: .9375rem; font-weight: 700; }
.hazard_description { font-size: .8125rem; color: var(--muted); line-height: 1.6; margin-top: 1px; }
.hazard_status { margin-left: auto; flex: 0 0 auto; font-size: .8125rem; color: var(--muted); background: #f1f3f5; border-radius: 6px; padding: 3px 6px; }
.hazard_status.is_available { color: #0868a4; background: #edf7ff; }
.flood_controls { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: 0 0 auto; }
.flood_controls .hazard_status { font-size: 12px; }
.flood_toggle { min-height: 44px; padding: 6px 9px; border: 1px solid var(--control-border); border-radius: 6px; background: white; color: var(--primary); font: inherit; font-size: 13px; cursor: pointer; }
.flood_toggle[aria-pressed="true"] { border-color: #7962a8; background: #f1edf7; }
.flood_toggle:disabled { cursor: default; opacity: .6; }
/* UX-1: a disclosure inside the map, using the original live layer controls. */
.mobile_layer_controls { display: none; }
@media (max-width: 1023px) {
  #desktop_layer_host { display: none; }
  .mobile_layer_controls { display: block; position: absolute; z-index: 1001; inset: 110px 10px 52px 62px; pointer-events: none; }
  .map_layers_toggle { position: absolute; bottom: 0; right: 0; display: flex; align-items: center; gap: 6px; min-height: 52px; max-width: 100%; padding: 6px 10px; border: 1px solid var(--control-border); border-radius: 6px; background: var(--white); color: var(--primary); box-shadow: 0 2px 10px #15364c20; font: inherit; font-size: 14px; font-weight: 700; pointer-events: auto; }
  .map_layers_toggle .ui_icon { width: 20px; height: 20px; }
  .map_layers_toggle small { display: block; font-size: 11px; line-height: 1.5; font-weight: 400; }
  .map_layers_panel { position: absolute; right: 0; bottom: 58px; width: min(280px, 100%); max-height: calc(100% - 58px); display: flex; flex-direction: column; border: 1px solid var(--control-border); border-radius: 6px; background: var(--white); box-shadow: 0 3px 16px #15364c25; pointer-events: auto; overflow: hidden; }
  .map_layers_header { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 4px 6px 4px 10px; border-bottom: 1px solid var(--border); background: var(--pale); }
  .map_layers_header h3 { font-size: 14px; line-height: 1.5; }
  .map_layers_header p { font-size: 12px; line-height: 1.4; color: var(--muted); }
  .map_layers_header button { flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 6px; background: transparent; color: var(--primary); font-size: 24px; }
  .map_layers_scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; padding: 6px 10px; }
  .map_layers_hint { font-size: 11px; line-height: 1.6; color: var(--muted); }
  .map_layers_panel .hazard_row { flex-wrap: wrap; gap: 4px 6px; padding: 8px 0; }
  .map_layers_panel .hazard_icon { width: 28px; height: 28px; flex-basis: 28px; }
  .map_layers_panel .hazard_icon .ui_icon { width: 18px; height: 18px; }
  .map_layers_panel .hazard_label strong { font-size: 14px; }
  .map_layers_panel .hazard_description { font-size: 11px; line-height: 1.5; }
  .map_layers_panel .flood_controls { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; width: 100%; }
  .map_layers_panel .hazard_status { font-size: 11px; max-width: 100%; overflow-wrap: anywhere; }
  .map_layers_panel .flood_controls .hazard_status { margin-left: 0; }
  .map_layers_panel .flood_toggle { margin-left: auto; }
  .map_layers_panel .flood_toggle { font-size: 12px; min-height: 44px; }
}
.flood_legend, .flood_message { margin: 0 16px 12px; padding: 12px; border: 1px solid #d9d0e5; border-radius: 6px; background: #faf8fc; overflow-wrap: anywhere; }
.flood_legend p + p { margin-top: 6px; }
.flood_swatch { display: inline-block; width: 22px; height: 12px; margin-right: 7px; background: #7962a85c; border: 1px solid #7962a8; }
.probability_gradient { height: 12px; margin-top: 6px; max-width: 360px; border: 1px solid #a77d55; background: linear-gradient(to right, rgb(255,255,204), rgb(189,0,38)); }
.probability_labels { display: flex; justify-content: space-between; max-width: 360px; font-size: 12px; font-variant-numeric: tabular-nums; }
.ground_keys { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 12px; }
.ground_key { display: inline-flex; align-items: center; }
.ground_swatch { display: inline-block; width: 18px; height: 12px; margin-right: 6px; border: 1px solid #59636b; }
.mesh_popup { font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.mesh_popup p { margin: 6px 0; }
.map_preview .leaflet-popup-content { max-width: 230px; margin: 12px; }
.flood_source_details { border: 0; margin-top: 6px; }
.flood_source_details summary { min-height: 44px; font-size: 13px; }
@media (max-width: 767px) {
  .flood_legend { padding: 10px; }
  .flood_legend .fine_print { font-size: 12px; line-height: 1.5; }
  .flood_legend .preview_legend_label { font-size: 13px; line-height: 1.5; margin-bottom: 6px; }
  .flood_source_details { margin-top: 2px; }
}
[data-hazard-id="ground"] .hazard_icon, [data-axis-id="ground_deformation"] .axis_icon { color: #a87948; background: #fbf6ee; }
[data-hazard-id="fire"] .hazard_icon, [data-axis-id="fire_spread"] .axis_icon { color: #dd4c32; background: #fff2ee; }
[data-hazard-id="evacuation"] .hazard_icon, [data-axis-id="evacuation_continuity"] .axis_icon { color: #198247; background: #edf8ef; }
[data-axis-id="shaking"] .axis_icon { color: #dd4950; background: #fff1f2; }
.region_facts { border-top: 1px solid var(--border); border-bottom: 0; font-size: .875rem; margin-top: 12px; }
.region_facts > summary { color: var(--action); min-height: 44px; }
#selected_scope { margin-top: 6px; font-size: .8125rem; }
.selected_metrics { padding: 0; margin-block: 12px; font-variant-numeric: tabular-nums; }
.selected_metrics dt { font-size: .8125rem; color: var(--muted); }
.selected_metrics dd { margin: 2px 0 12px; color: var(--primary); font-weight: 700; font-size: 1.5rem; }
.selected_metrics dd small { display: block; font-weight: 400; font-size: .75rem; color: var(--muted); }
#selected_updated { font-size: .75rem; padding-bottom: 12px; }
.region_notice:not(:empty) { padding-block: 8px; font-size: .9375rem; color: var(--muted); }
.map_caution { padding-top: 12px; font-size: .8125rem; color: var(--muted); }
.perspectives { padding-block: 40px 48px; }
.axis_heading { gap: 20px; }
.axis_heading h2 { font-size: clamp(1.25rem, 1.9vw, 1.625rem); }
.axis_list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.axis_card { display: flex; flex-direction: column; min-width: 0; padding: 18px 14px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); box-shadow: 0 4px 15px #15364c06; }
.axis_card_heading { display: flex; align-items: center; gap: 8px; min-height: 50px; }
.axis_icon { width: 40px; height: 40px; }
.axis_icon .ui_icon { width: 26px; height: 26px; }
.axis_card h3 { font-size: 1rem; letter-spacing: .015em; line-height: 1.55; }
.axis_status { display: flex; flex-direction: column; align-items: start; gap: 4px; margin-top: 12px; padding: 0; min-height: 0; color: var(--primary); line-height: 1.65; }
/* This semantic status slot can later host an approved attention label and meter. */
.axis_status_primary { display: inline-flex; max-width: 100%; padding: 2px 7px; border-radius: 6px; background: #eef5fa; color: var(--primary); font-size: .8125rem; font-weight: 600; line-height: 1.6; }
.axis_status_secondary { display: block; padding-left: 7px; color: var(--muted); font-size: .8125rem; font-weight: 400; line-height: 1.6; }
.axis_limit { font-size: .9375rem; color: var(--muted); line-height: 1.75; min-height: 105px; margin-block: 12px 8px; }
.axis_detail { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 600; text-decoration: none; margin-top: auto; color: var(--action); gap: 12px; }
.axis_detail:hover { text-decoration: underline; }
.axis_note { font-size: .8125rem; margin-top: 14px; }
.text_link { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.6; margin-top: 8px; font-size: 1rem; }

/* HP-2R Checkpoint 2: compact editorial sections and replaceable image slots. */
.area_report { padding-block: 40px 48px; background: var(--white); }
.report_layout { display: grid; grid-template-columns: minmax(0, 27fr) minmax(0, 28fr) minmax(0, 45fr); gap: 20px; align-items: start; border: 1px solid var(--border); border-radius: 8px; padding: 10px; box-shadow: 0 3px 15px #15364c05; }
.image_slot { position: relative; overflow: hidden; border-radius: 6px; background: #e5eef3; }
.image_slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--image-position, center); }
.image_slot figcaption { position: absolute; bottom: 7px; left: 7px; right: 7px; width: fit-content; max-width: calc(100% - 14px); padding: 3px 6px; background: #fffffff2; color: var(--muted); border-radius: 6px; font-size: .75rem; line-height: 1.6; }
.report_photo { aspect-ratio: 6 / 5; }
.report_region { min-width: 0; padding-block: 5px; }
.report_region .eyebrow { margin-bottom: 2px; font-size: .75rem; }
.report_region h3 { font-family: var(--font-heading); font-size: 2rem; font-weight: 600; letter-spacing: .05em; line-height: 1.5; }
.report_municipality { color: var(--muted); font-size: .9375rem; }
.report_summary { font-size: .9375rem; color: var(--muted); line-height: 1.8; margin-top: 14px; }
.report_scope { font-size: .875rem; color: var(--muted); line-height: 1.7; margin-top: 10px; }
.report_scope span { display: block; font-size: .75rem; letter-spacing: .04em; color: var(--primary); font-weight: 700; }
.report_cta { margin-top: 14px; min-height: 44px; padding: 8px 15px; font-size: .875rem; width: 100%; justify-content: space-between; }
.report_analysis { min-width: 0; }
.report_comment { display: flex; gap: 14px; background: linear-gradient(120deg, #e9f4fc, #f2f8fc); border: 1px solid #d5e7f4; border-radius: 8px; padding: 20px; }
.report_comment_icon { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--action); }
.report_comment h3 { font-size: 1.125rem; margin-bottom: 7px; }
.report_comment p { font-size: .9375rem; color: var(--muted); line-height: 1.8; }
.report_comment .report_evaluation { font-size: .8125rem; color: var(--primary); margin-top: 8px; }
.report_topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.report_topic { position: relative; display: block; min-width: 0; min-height: 112px; padding: 11px 10px 25px; border: 1px solid var(--border); border-radius: 6px; color: var(--muted); text-decoration: none; }
.report_topic:hover { background: #f4f9fc; border-color: var(--control-border); }
.report_topic h4 { display: flex; align-items: start; gap: 6px; font-size: .8125rem; line-height: 1.55; }
.report_topic .ui_icon { width: 18px; height: 18px; color: var(--action); }
.report_topic:nth-child(2) .ui_icon { color: #a87948; }
.report_topic:nth-child(3) .ui_icon { color: #198247; }
.report_topic p { font-size: .8125rem; line-height: 1.7; margin-top: 5px; }
.topic_arrow { position: absolute; right: 10px; bottom: 5px; color: var(--action); }
.report_context { font-size: .8125rem; color: var(--muted); margin-top: 9px; line-height: 1.7; }
.future { padding-block: 40px 44px; background: #f1f6fa; }
.future_grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.future_card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: var(--white); box-shadow: 0 4px 14px #15364c06; }
.future_photo { aspect-ratio: 2 / 1; border-radius: 0; }
.future_photo figcaption { font-size: .75rem; }
.future_card_body { display: flex; flex: 1; align-items: stretch; gap: 12px; padding: 15px 14px 14px; }
.future_card_body > div { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 128px; }
.future_icon { display: grid; align-self: start; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; color: var(--action); background: #edf6ff; }
.future_icon .ui_icon { width: 27px; height: 27px; }
.future_card h3 { font-size: 1rem; line-height: 1.6; margin-bottom: 3px; }
.future_card p { font-size: .875rem; line-height: 1.75; color: var(--muted); }
.future_status { display: inline-block; align-self: start; background: #f1f4f6; color: var(--muted); border-radius: 6px; padding: 2px 7px; font-size: .8125rem; margin-top: auto; }
.future_note { color: var(--muted); font-size: .8125rem; margin-top: 12px; }
.guide { padding-block: 40px; background: var(--white); }
.guide .section_heading { margin-bottom: 20px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0; list-style: none; }
.steps li { display: flex; position: relative; align-items: center; gap: 14px; padding-right: 22px; min-width: 0; }
.step_number { display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; color: var(--action); background: #edf6ff; border-radius: 50%; font-family: var(--font-heading); font-size: 1.875rem; line-height: 1; }
.step_icon { color: var(--primary); width: 32px; height: 32px; }
.steps h3 { font-size: 1rem; }
.steps p { font-size: .875rem; color: var(--muted); line-height: 1.7; margin-top: 3px; }
.step_arrow { position: absolute; right: -3px; top: 50%; transform: translateY(-50%); font-size: 1.25rem; color: var(--action); }
.site_footer { background: var(--primary); color: var(--white); padding-block: 26px 14px; }
.site_footer h2, .site_footer h3 { color: var(--white); }
.site_footer a { color: #edf5fb; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; }
.site_footer a:hover { color: var(--white); text-decoration: underline; }
.site_footer :focus-visible { outline-color: #a8d9ff; }
.footer_top { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 16px; }
.footer_wordmark { text-decoration: none; gap: 12px; flex: 0 0 auto; }
.footer_wordmark img { width: 52px; height: 40px; filter: grayscale(1) brightness(0) invert(1); }
.footer_wordmark > span { display: flex; flex-direction: column; }
.footer_name { font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.5; letter-spacing: .12em; }
.footer_tagline { font-size: .75rem; letter-spacing: .13em; color: #d0deea; }
.footer_nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 0 22px; }
.footer_nav a { font-size: .875rem; text-decoration: none; }
details { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; min-height: 44px; padding-block: 12px; }
.footer_disclosures { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; border-top: 1px solid #456079; padding-block: 4px; }
.site_footer details { border-color: #456079; font-size: .875rem; min-width: 0; }
.footer_disclosures > details { border-bottom: 0; align-self: start; }
.footer_disclosures > details > summary { color: #d4e3ef; }
.footer_detail_body { padding-bottom: 14px; color: #d4e3ef; line-height: 1.9; }
.footer_detail_body details p { padding-block: 4px 14px; }
.footer_detail_body > p + p { margin-top: 12px; }
.source_list { list-style: none; padding: 0; margin: 4px 0 16px; display: grid; gap: 16px; color: #d4e3ef; }
.source_list .source_row { border-top: 1px solid #456079; padding-top: 12px; min-width: 0; }
.source_list p { margin-top: 4px; }
.site_footer .fine_print { color: #d4e3ef; font-size: .8125rem; }
.source_list a { font-size: .875rem; overflow-wrap: anywhere; }
.footer_bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid #456079; padding-top: 4px; font-size: .75rem; color: #d4e3ef; }
.footer_bottom > p > span { display: inline-block; margin-left: 16px; }
.footer_legal { display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer_legal a { text-decoration: none; }
@media (max-width: 1199px) {
  .site_nav { gap: 18px; }
  .brand_name { font-size: 1.5rem; }
  .brand_mark { width: 54px; }
  .trust_item { gap: 12px; padding-inline: 16px; }
  .trust_icon { width: 48px; height: 48px; }
  .trust_item h3 { font-size: .9375rem; }
  .trust_item p { font-size: .8125rem; }
  .section_heading { gap: 16px; }
  .section_heading_note { max-width: 230px; }
  .axis_card { padding-inline: 10px; }
  .axis_card_heading { flex-direction: column; align-items: start; min-height: 78px; gap: 6px; }
  .map_panel { padding-inline: 16px; }
  .hazard_row { gap: 7px; }
  .hazard_icon { width: 30px; height: 30px; }
  .region_detail { width: 100%; margin-left: 0; }
  .report_layout { gap: 16px; }
  .report_comment { padding: 16px; gap: 10px; }
  .report_comment_icon { width: 32px; height: 32px; }
  .report_topics { gap: 6px; }
  .report_topic { padding-inline: 8px; }
  .future_grid { gap: 14px; }
  .future_card_body { padding-inline: 12px; gap: 9px; }
  .future_icon { width: 36px; height: 36px; }
  .steps li { gap: 10px; }
  .step_number { width: 40px; height: 40px; }
  .step_icon { width: 26px; height: 26px; }
  .steps h3 { font-size: .9375rem; }
  .footer_nav { gap: 0 16px; }
}
@media (max-width: 1023px) {
  .header_inner { gap: 12px; }
  .site_nav { gap: 12px; }
  .site_nav a { font-size: .8125rem; }
  .brand_name { font-size: 1.375rem; }
  .brand_mark { width: 44px; height: 38px; }
  .wordmark { gap: 10px; }
  .hero h1 { font-size: 56px; }
  .section_heading_note { max-width: none; width: 100%; margin-left: 0; text-align: left; }
  .axis_heading { flex-wrap: wrap; row-gap: 6px; }
  .axis_list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .axis_card { padding: 18px 16px 10px; }
  .axis_card_heading { flex-direction: row; align-items: center; min-height: 44px; gap: 10px; }
  .map_layout { grid-template-columns: minmax(0, 1fr); }
  .map_panel { padding: 20px; }
  #region_content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 0 28px; align-items: start; }
  .selected_location, .region_detail, .region_facts { grid-column: 1; }
  .hazard_group { grid-column: 2; grid-row: 1 / 5; border-top: 0; border-left: 1px solid var(--border); padding: 0 0 0 24px; }
  .region_detail { margin-top: 16px; }
  .area_report .section_heading, .future .section_heading, .guide .section_heading { flex-wrap: wrap; row-gap: 6px; }
  .area_report .section_heading_main, .future .section_heading_main, .guide .section_heading_main { flex: 1 1 auto; }
  .area_report .section_heading_note, .future .section_heading_note, .guide .section_heading_note { flex-basis: 100%; width: auto; }
  .report_layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding: 14px; }
  .report_analysis { grid-column: 1 / -1; }
  .report_region { padding: 10px 8px 0 0; }
  .report_topics { gap: 10px; }
  .report_topic { min-height: 100px; padding: 12px 12px 24px; }
  .future_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .future_card_body { gap: 12px; padding: 16px; }
  .future_icon { width: 44px; height: 44px; }
  .steps { gap: 20px; }
  .steps li { align-items: start; flex-wrap: wrap; gap: 10px; padding-right: 12px; }
  .steps li > div { flex-basis: 100%; }
  .steps h3 { font-size: 1rem; }
  .step_arrow { top: 22px; }
  .footer_top { align-items: start; }
  .footer_nav { max-width: 370px; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 16px; }
  .wrap, .map_wrap { padding-inline: 20px; }
  .header_inner { display: grid; grid-template-columns: minmax(0, 1fr) 44px 52px; min-height: 84px; gap: 8px; padding-block: 10px; }
  .wordmark { margin-right: 0; gap: 8px; min-width: 0; }
  .brand_mark { width: 42px; height: 36px; }
  .brand_name { font-size: 1.25rem; letter-spacing: .08em; }
  .brand_tagline { display: none; }
  .mobile_search { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 50px; text-decoration: none; color: var(--primary); border: 1px solid var(--control-border); border-radius: 8px; background: #ffffffed; }
  .menu_toggle { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; width: 52px; min-height: 50px; padding: 4px 0; border: 1px solid var(--control-border); border-radius: 8px; background: #ffffffed; color: var(--primary); font-size: .75rem; line-height: 1.3; }
  .menu_toggle > span { white-space: nowrap; }
  .menu_toggle .ui_icon { width: 22px; height: 18px; }
  .menu_toggle[aria-expanded="true"] { background: #edf6ff; border-color: var(--action); }
  .site_nav { display: none; grid-column: 1 / -1; width: 100%; border: 1px solid var(--border); padding: 8px 12px; flex-direction: column; align-items: stretch; gap: 0; background: #fffffffa; border-radius: 6px; }
  .site_nav.is_open { display: flex; }
  .site_nav a { padding: 8px; min-height: 48px; font-size: .9375rem; }
  .site_nav .nav_search { width: 100%; justify-content: start; }
  .hero { display: flex; flex-direction: column; min-height: 0; background: var(--white); }
  .hero_visual { position: relative; inset: auto; width: 100%; aspect-ratio: 8 / 5; }
  .hero_visual img { --hero-image-position: center; z-index: auto; }
  .hero_inner { width: 100%; padding-top: 116px; padding-bottom: 28px; }
  .hero_copy { max-width: 500px; }
  .hero::before { display: none; }
  .hero_visual figcaption { bottom: 9px; right: 12px; font-size: .75rem; }
  .hero h1 { font-size: 40px; line-height: 1.4; letter-spacing: .035em; margin-bottom: 18px; }
  .hero_eyebrow { font-size: .75rem; letter-spacing: .09em; }
  .hero_lead { font-size: 1rem; letter-spacing: 0; }
  .hero_actions { margin-top: 24px; gap: 10px; }
  .hero_actions .button { min-height: 52px; padding: 10px 16px; font-size: .9375rem; }
  .hero_note { font-size: .8125rem; }
  .service_points { grid-template-columns: 1fr; padding-block: 10px; }
  .trust_item, .trust_item:first-child { padding: 12px 0; gap: 14px; }
  .trust_item + .trust_item { border-left: 0; border-top: 1px solid #e8eef3; }
  .trust_item h3 { font-size: 1rem; }
  .trust_item p { font-size: .8125rem; }
  .trust_icon { width: 44px; height: 44px; }
  .trust_icon .ui_icon { width: 26px; height: 26px; }
  .risk_section { padding-block: 32px 20px; }
  .section_heading { flex-wrap: wrap; align-items: start; gap: 6px 12px; margin-bottom: 18px; }
  .section_heading > .eyebrow { width: 100%; padding-left: 10px; font-size: .75rem; }
  .section_heading h2 { font-size: 1.375rem; line-height: 1.55; text-wrap: pretty; }
  .section_heading_main { width: 100%; }
  .section_heading_main > p { font-size: .875rem; }
  .heading_action { margin-left: 0; padding: 8px 16px; margin-top: 4px; }
  .map_layout { gap: 14px; }
  .map_stage { height: 360px; padding: 10px; }
  .map_search { padding-inline: 9px; }
  .search_field { gap: 8px; }
  .search_field input { font-size: 1rem; min-height: 44px; padding-block: 10px; }
  .search_field button { min-width: 44px; padding-inline: 8px 0; font-size: .875rem; }
  .search_field > .ui_icon { width: 18px; }
  .map_search { padding-bottom: 0; }
  .region_result { font-size: .8125rem; padding: 8px 9px; white-space: nowrap; }
  .region_result span { display: none; }
  .region_results { gap: 6px; }
  .search_status { font-size: .875rem; line-height: 1.6; margin-bottom: 4px; }
  .map_search:has(.region_result[aria-pressed="true"]):not(:has(#catalog_retry:not([hidden]))) .search_status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
  .basemap_feedback { left: 62px; right: 10px; bottom: 128px; padding: 7px 9px; }
  .map_feedback { flex-wrap: wrap; gap: 3px 12px; padding-inline: 12px; }
  .map_feedback > p { flex-basis: 100%; }
  .map_feedback > .text_button { margin-top: 0; }
  .map_selection { padding-inline: 12px; }
  .map_readout { margin-inline: 12px; }
  .map_panel { padding: 20px 16px 12px; }
  #region_content { display: block; }
  #selected_region_name { font-size: 1.75rem; }
  .region_detail { width: 100%; margin: 16px 0 20px; }
  .hazard_group { border-left: 0; border-top: 1px solid var(--border); padding: 14px 0 0; }
  .hazard_icon { width: 38px; height: 38px; }
  .hazard_row { gap: 12px; min-height: 56px; }
  .hazard_label strong { font-size: 1rem; }
  .hazard_description, .hazard_status { font-size: .8125rem; }
  .map_caution { font-size: .75rem; }
  .perspectives { padding-block: 32px 40px; }
  .axis_list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .axis_card { padding: 16px 12px 8px; }
  .axis_card_heading { flex-direction: column; align-items: start; min-height: 76px; gap: 6px; }
  .axis_card h3 { font-size: 1rem; }
  .axis_status { margin-top: 10px; }
  .axis_limit { font-size: .9375rem; min-height: 0; }
  .axis_detail { font-size: .875rem; }
  .axis_note { font-size: .75rem; }
  h2 { font-size: 1.75rem; }
  .area_report { padding-block: 32px 36px; }
  .report_layout { display: flex; flex-direction: column; gap: 18px; padding: 10px; }
  .report_photo { width: 100%; aspect-ratio: 8 / 5; }
  .report_region { padding: 0 6px; }
  .report_region h3 { font-size: 1.875rem; }
  .report_region, .report_analysis { width: 100%; }
  .report_comment { padding: 16px; }
  .report_comment_icon { width: 36px; height: 36px; }
  .report_topics { grid-template-columns: 1fr; gap: 8px; }
  .report_topic { display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); align-items: center; gap: 12px; min-height: 80px; padding: 12px 28px 12px 12px; }
  .report_topic h4 { font-size: .875rem; }
  .report_topic p { font-size: .8125rem; margin-top: 0; }
  .topic_arrow { top: 50%; bottom: auto; transform: translateY(-50%); }
  .report_context { padding-inline: 3px; }
  .future { padding-block: 32px 36px; }
  .future_grid { gap: 12px; }
  .future_photo { aspect-ratio: 4 / 3; }
  .future_card_body { display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: 36px 1fr auto; padding: 12px; gap: 8px; min-height: 164px; }
  .future_card_body > div { display: contents; }
  .future_card_body h3 { grid-column: 2; grid-row: 1; align-self: center; margin-bottom: 0; }
  .future_card_body p { grid-column: 1 / -1; }
  .future_card_body .future_status { grid-column: 1 / -1; justify-self: start; }
  .future_icon { width: 36px; height: 36px; }
  .future_icon .ui_icon { width: 24px; height: 24px; }
  .future_card h3 { font-size: 1rem; }
  .future_card p { font-size: .875rem; }
  .future_status { align-self: start; margin-top: auto; }
  .future_photo figcaption { font-size: .75rem; bottom: 4px; left: 4px; right: 4px; padding: 2px 4px; max-width: calc(100% - 8px); }
  .guide { padding-block: 32px 36px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps li { flex-wrap: nowrap; align-items: center; gap: 12px; padding-right: 0; }
  .steps li > div { flex-basis: auto; min-width: 0; }
  .step_number { width: 42px; height: 42px; font-size: 1.625rem; }
  .step_icon { width: 28px; height: 28px; }
  .step_arrow { left: 12px; right: auto; top: auto; bottom: -27px; transform: rotate(90deg); font-size: 1rem; }
  .site_footer { padding-block: 26px 16px; }
  .footer_top { display: block; margin-bottom: 12px; }
  .footer_name { font-size: 1.375rem; }
  .footer_nav { display: grid; grid-template-columns: 1fr 1fr; max-width: none; margin-top: 16px; gap: 0 20px; }
  .footer_nav a { font-size: .9375rem; }
  .footer_disclosures { grid-template-columns: 1fr; gap: 0; }
  .footer_disclosures > details { border-bottom: 1px solid #456079; }
  .footer_disclosures > details:last-child { border-bottom: 0; }
  .footer_disclosures summary { font-size: .9375rem; }
  .footer_bottom { display: block; padding-top: 12px; }
  .footer_bottom > p > span { display: block; margin-left: 0; }
  .footer_legal { margin-top: 4px; gap: 0 16px; font-size: .8125rem; }
}
@media (max-width: 479px) {
  .hero_actions { display: grid; }
  .hero_actions .button { width: 100%; min-width: 0; }
}
@media (max-width: 359px) {
  .wrap, .map_wrap { padding-inline: 16px; }
  .header_inner { gap: 8px; }
  .brand_mark { width: 32px; height: 30px; }
  .brand_name { font-size: 1.125rem; letter-spacing: .05em; }
  .brand_tagline { font-size: .75rem; }
  .wordmark { gap: 6px; }
  .hero h1 { font-size: 33px; letter-spacing: .02em; }
  .hero_lead { font-size: 1rem; }
  .hero_eyebrow { font-size: .75rem; }
  .axis_list { grid-template-columns: 1fr; }
  .axis_card_heading { flex-direction: row; align-items: center; min-height: 50px; }
  .axis_card { padding: 18px 16px 8px; }
  .axis_card h3 { font-size: 1rem; }
  .axis_limit { font-size: .9375rem; min-height: 0; }
  .axis_detail { font-size: .875rem; }
  .map_stage { height: 330px; }
  .future_grid { grid-template-columns: 1fr; }
  .future_card_body { display: flex; flex-direction: row; padding: 14px; gap: 12px; min-height: 0; }
  .future_card_body > div { display: flex; flex-direction: column; min-height: 106px; }
  .future_card_body h3 { align-self: auto; margin-bottom: 3px; }
  .report_topic { grid-template-columns: 1fr; gap: 5px; }
  .report_topic p { padding-left: 24px; }
  .steps li { gap: 10px; }
  .steps h3 { font-size: 1rem; }
  .steps p { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 767px) {
  .map_stage { height: clamp(390px, 60svh, 480px); }
}

/* Independent facility symbols and compact, readable detail disclosures. */
.shelter_marker { background: transparent; border: 0; display: grid; place-items: center; }
.shelter_symbol { font-size: 25px; line-height: 1; text-shadow: -1px -1px white, 1px -1px white, -1px 1px white, 1px 1px white; }
.shelter_emergency { color: #b45b16; }
.shelter_designated { color: #27649a; }
.shelter_coincident::before { content: ""; position: absolute; top: 21px; width: 12px; height: 2px; background: currentColor; }
.shelter_emergency.shelter_coincident::before { left: 22px; }
.shelter_designated.shelter_coincident::before { left: 10px; }
.shelter_coincident::after { content: ""; position: absolute; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.shelter_emergency.shelter_coincident::after { left: 31px; }
.shelter_designated.shelter_coincident::after { left: 7px; }
.shelter_legend_symbol { font-size: 21px; flex: none; }
.shelter_marker:focus-visible { outline: 3px solid #132b49; outline-offset: -3px; border-radius: 5px; background: #ffffffd9; }
.shelter_legend { padding: 12px 14px; margin-top: 10px; border: 1px solid var(--border); border-radius: 6px; background: #f3f7fb; font-size: .8125rem; overflow-wrap: anywhere; }
.shelter_legend p { margin: 4px 0; }
.shelter_legend_title { display: flex; align-items: center; gap: 8px; }
.shelter_legend summary, .shelter_facilities summary { min-height: 44px; align-content: center; cursor: pointer; color: #183e65; }
.shelter_facilities { margin: 6px 0 10px; padding: 0 14px; border: 1px solid var(--border); border-radius: 6px; font-size: .8125rem; overflow-wrap: anywhere; }
.shelter_list_item { border-top: 1px solid #dce5ed; }
.shelter_popup { color: #182f46; font-size: .8125rem; line-height: 1.6; overflow-wrap: anywhere; }
.shelter_popup p { margin: 7px 0; }
.leaflet-popup-content:has(.shelter_popup) { max-height: 220px; overflow-y: auto; overscroll-behavior: contain; margin-top: 44px; }
.leaflet-container .leaflet-popup:has(.shelter_popup) a.leaflet-popup-close-button { width: 44px; height: 44px; font-size: 24px; line-height: 44px; }
.shelter_facilities summary:focus-visible, .shelter_legend summary:focus-visible, .leaflet-popup-close-button:focus-visible { outline: 3px solid #27649a; outline-offset: 2px; }
.map_layers_scroll:focus-visible { outline: 2px solid #27649a; outline-offset: -2px; }

/* Public UI finish: shared spacing, readable copy and stable map controls. */
body { text-rendering: optimizeLegibility; }
.site_header { position: relative; background: var(--white); border-bottom: 1px solid var(--border); }
.header_inner { min-height: 92px; gap: 20px; padding-block: 16px; }
.wordmark { min-width: 0; white-space: normal; gap: 12px; }
.brand_type { min-width: 0; }
.brand_name, .site_name { display: block; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; line-height: 1.5; letter-spacing: .04em; overflow-wrap: anywhere; }
.brand_mark { width: 48px; height: 42px; }
.site_nav { gap: clamp(12px,1.5vw,24px); flex: 0 0 auto; }
.site_nav a { font-size: .875rem; }
.hero { min-height: 520px; }
.hero_inner { padding-block: 70px 76px; }
.hero_copy { max-width: 620px; }
.hero_lead { font-family: var(--font); line-height: 1.9; }
.hero_actions { gap: 12px; }
.hero_note.region_choices { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.region_choices a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 12px; border: 1px solid var(--border); background: #ffffffed; border-radius: 8px; color: var(--primary); text-decoration: none; }
.region_choices a:hover { border-color: var(--action); background: var(--pale); }
.service_points { padding-block: 26px; }
.trust_item { min-width: 0; }
.trust_item p { font-size: .875rem; line-height: 1.8; }
.risk_section, .area_report, .future, .guide, .perspectives { padding-block: 56px; }
.section_heading { align-items: flex-start; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 26px; }
.section_heading > .eyebrow { margin-top: 8px; }
.section_heading_main { flex: 1 1 320px; }
.section_heading h2 { line-height: 1.6; }
.heading_action { margin-left: auto; }
.map_usage_hint { color: var(--muted); font-size: .9375rem; margin-bottom: 18px; line-height: 1.8; }
.map_column, .map_panel, .axis_card, .report_layout, .future_card { border-radius: 12px; box-shadow: var(--shadow); }
.map_stage { height: 520px; }
.map_toolbar, .map_stage:has(#map_search_panel[hidden]) .map_toolbar { top: auto; left: 14px; bottom: 54px; }
.map_search_results { top: calc(100% + 8px); max-height: 180px; }
.region_result { white-space: normal; max-width: 100%; }
.search_field { gap: 8px; }
.search_field input { font-size: 1rem; }
.map_stage .map_toolbar :focus-visible { outline-offset: -4px; }
.basemap_feedback { position: static; margin: 12px 16px 0; padding: 12px; box-shadow: none; background: var(--pale); }
.map_feedback { align-items: center; flex-wrap: wrap; }
.map_feedback > .text_button { margin-top: 0; }
.map_selection, .map_caution { font-size: .875rem; line-height: 1.85; }
.map_readout { padding-bottom: 8px; }
.map_readout > summary { font-weight: 600; }
.map_panel { padding: 24px; }
.region_detail { width: 100%; margin-left: 0; }
.hazard_hint, .hazard_description, .hazard_status, .flood_controls .hazard_status { font-size: .875rem; }
.hazard_row { flex-wrap: wrap; padding-block: 12px; gap: 8px 10px; align-items: flex-start; }
.hazard_label { flex: 1 1 140px; }
.hazard_status { white-space: normal; max-width: 100%; }
.flood_controls { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; width: 100%; gap: 8px; }
.flood_controls .hazard_status { margin-left: 0; }
.flood_toggle { font-size: .875rem; min-height: 44px; }
.axis_list { gap: 16px; }
.axis_card { padding: 24px 18px 16px; }
.axis_card_heading { align-items: flex-start; min-height: 64px; }
.axis_limit { min-height: 0; line-height: 1.85; }
.axis_status_primary, .axis_status_secondary, .axis_note { font-size: .875rem; }
.axis_detail { justify-content: flex-start; margin-top: 16px; }
.axis_note { padding: 14px 16px; border-left: 3px solid var(--action); background: var(--pale); border-radius: 0 8px 8px 0; line-height: 1.85; }
.report_layout { padding: 18px; gap: 24px; }
.report_comment { background: var(--pale); }
.report_topic p, .report_topic h4, .report_context, .future_note { font-size: .875rem; }
.report_topic { padding-bottom: 32px; }
.future_card_body { padding: 20px 16px; }
.future_status { margin-top: 16px; }
.site_footer { padding-block: 36px 24px; }
.footer_top { align-items: flex-start; flex-wrap: wrap; }
.footer_wordmark { min-width: 0; max-width: 100%; flex-shrink: 1; }
.footer_name { letter-spacing: .04em; overflow-wrap: anywhere; }
.footer_bottom { align-items: flex-start; flex-direction: column; gap: 12px; padding-top: 16px; }
.footer_legal { gap: 0 20px; font-size: .875rem; }
.site_footer .fine_print { font-size: .875rem; }
@media (min-width:768px) and (max-width:1199px) {
  .header_inner { flex-wrap: wrap; gap: 10px 20px; }
  .site_nav { flex-basis: 100%; justify-content: space-between; border-top: 1px solid #e9eff4; padding-top: 6px; }
}
@media (max-width:1023px) {
  .axis_list { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .axis_card_heading { flex-direction: column; }
  .map_toolbar, .map_stage:has(#map_search_panel[hidden]) .map_toolbar { bottom: 168px; }
  .mobile_layer_controls { inset: 14px 14px 54px; }
  .map_layers_panel { width: min(340px,100%); max-height: calc(100% - 58px); }
  .map_layers_header { padding: 8px 8px 8px 14px; }
  .map_layers_hint, .map_layers_panel .hazard_description, .map_layers_panel .hazard_status, .map_layers_toggle small { font-size: .8125rem; }
  .map_layers_scroll { padding: 8px 14px; }
  .map_layers_toggle { max-width: min(260px,100%); }
  .map_interaction { bottom: 54px; left: 14px; }
  .report_layout { gap: 20px; }
}
@media (max-width:767px) {
  .header_inner { min-height: 80px; grid-template-columns: minmax(0,1fr) 44px 52px; gap: 8px; padding-block: 12px; }
  .wordmark { gap: 8px; }
  .brand_mark { width: 34px; height: 34px; }
  .brand_name, .site_name { font-size: 1.0625rem; letter-spacing: .02em; }
  .site_header .site_nav { max-height: 65svh; overflow-y: auto; }
  .site_nav a { font-size: .9375rem; }
  .hero { min-height: 0; }
  .hero_inner { padding-block: 36px 32px; }
  .hero h1 { font-size: clamp(2rem,8.8vw,2.75rem); line-height: 1.5; }
  .hero_lead { font-size: 1rem; }
  .hero_visual { aspect-ratio: 8 / 5; }
  .hero_note.region_choices { gap: 6px; font-size: .875rem; }
  .region_choices > span { flex-basis: 100%; }
  .hero_actions .button { font-size: 1rem; }
  .risk_section, .perspectives, .area_report, .future, .guide { padding-block: 40px; }
  .section_heading { gap: 8px 16px; margin-bottom: 20px; }
  .section_heading > .eyebrow { margin-top: 0; }
  .section_heading_main { flex-basis: 100%; }
  .heading_action { margin-left: 0; }
  .map_usage_hint { font-size: .875rem; }
  .map_stage { height: clamp(430px,65svh,520px); }
  .map_search { left: 12px; right: 12px; top: 12px; padding-inline: 8px; }
  .search_field > .ui_icon { display: none; }
  .map_search_results { max-height: 140px; }
  .map_interaction { max-width: 112px; font-size: .8125rem; }
  .map_layers_toggle { max-width: calc(100% - 116px); font-size: .8125rem; padding-inline: 8px; }
  .map_layers_toggle .ui_icon { display: none; }
  .map_feedback, .map_panel { padding-inline: 16px; }
  .basemap_feedback { margin-inline: 16px; }
  .axis_list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .axis_card { padding: 20px 16px; }
  .axis_card_heading { flex-direction: row; align-items: center; min-height: 44px; }
  .axis_icon { width: 36px; height: 36px; }
  .axis_icon .ui_icon { width: 24px; height: 24px; }
  .axis_limit { font-size: .9375rem; }
  .report_layout { padding: 14px; }
  .report_comment_icon { width: 30px; height: 30px; }
  .future_card_body { display: flex; flex-direction: row; min-height: 0; padding: 16px; }
  .future_card_body > div { display: flex; min-height: 0; }
  .future_status { margin-top: 12px; }
  .footer_wordmark img { width: 36px; height: 36px; }
  .footer_name { font-size: 1.125rem; }
  .footer_tagline { font-size: .75rem; letter-spacing: .04em; }
}
@media (max-width:599px) {
  .axis_list, .future_grid { grid-template-columns: minmax(0,1fr); }
  .future_photo { aspect-ratio: 2 / 1; }
}

.brand_name > span { display: inline-block; white-space: nowrap; }

/* Final scope: readable supporting copy and one clear layer entry per device. */
.fine_print, .scope_note, .map_usage_hint, .map_selection, .map_caution,
.hazard_hint, .hazard_description, .axis_note, .axis_status_secondary,
.report_context, .future_note, .hero_note, .region_source_hint { color: var(--muted); font-size: .9375rem; line-height: 1.85; }
#selected_municipality, #selected_scope, #selected_updated,
.selected_metrics dt, .selected_metrics dd small { font-size: .9375rem; color: var(--muted); line-height: 1.85; }
.region_page .region_source_hint, .region_page .region_metric_note,
.region_page .region_metric details, .region_page .region_section_heading > p,
.region_page .region_map_summary .fine_print { font-size: .9375rem; line-height: 1.85; color: var(--muted); }
.terms_intro > p, .terms_draft_notice p { font-size: 1rem; color: var(--body); line-height: 1.9; }
.desktop_layer_card, .region_page .region_layer_details { margin-top: 20px; border: 0; font-size: 1rem; }
.desktop_layer_card > summary, .region_page .desktop_layer_card > summary { padding: 14px 16px; min-height: 56px; border: 2px solid var(--action); border-radius: 8px; background: var(--pale); color: var(--primary); font-size: 1rem; font-weight: 700; line-height: 1.65; }
.desktop_layer_card > summary:hover { background: #e0eef8; }
.desktop_layer_card[open] > summary { border-radius: 8px 8px 0 0; }
.desktop_layer_card > summary small { display: block; padding-left: 18px; color: var(--muted); font-size: .875rem; font-weight: 400; }
.desktop_layer_card .hazard_group { border: 1px solid var(--border); border-top: 0; padding: 8px 14px; border-radius: 0 0 8px 8px; }
.desktop_layer_card .hazard_list { margin-top: 0; }
.desktop_layer_card .hazard_label strong { font-size: 1rem; }
.desktop_layer_card .flood_controls { flex-wrap: nowrap; }
.hazard_status, .flood_controls .hazard_status { font-size: .875rem; color: var(--muted); }
.hazard_status[data-state="visible"] { color: #15542e; background: #e8f4ec; font-weight: 700; }
.hazard_status[data-state="hidden"] { background: #edf1f4; }
.flood_toggle { min-width: 76px; min-height: 44px; font-size: .9375rem; font-weight: 700; }
.flood_toggle[aria-pressed="true"] { color: var(--white); border-color: var(--action); background: var(--action); }
.map_layer_note { color: var(--muted); font-size: .9375rem; line-height: 1.85; padding-block: 12px 4px; }
.map_layer_note a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 12px; }
@media(max-width:1023px) {
  .desktop_layer_card { display: none; }
  .mobile_layer_controls { inset: 12px 12px 84px; }
  .map_interaction { bottom: 84px; }
  .map_layers_toggle { min-height: 56px; border: 2px solid var(--action); background: var(--pale); color: var(--primary); padding: 6px 8px; font-size: .9375rem; }
  .map_layers_toggle[aria-expanded="true"] { background: var(--action); color: var(--white); }
  .map_layers_toggle[aria-expanded="true"] small { color: var(--white); }
  .map_layers_toggle small { color: var(--muted); font-size: .8125rem; white-space: normal; }
  .map_layers_panel { bottom: 64px; width: min(340px,100%); max-height: calc(100% - 64px); border: 1px solid var(--action); border-radius: 10px; }
  .map_layers_header { padding: 6px 8px 6px 12px; }
  .map_layers_header h3 { font-size: 1rem; }
  .map_layers_header p { font-size: .875rem; color: var(--muted); }
  .map_layers_scroll { padding: 4px 10px; }
  .map_layers_panel .hazard_list { margin-top: 0; }
  .map_layers_panel .hazard_row { display: grid; grid-template-columns: minmax(0,1fr) 76px; grid-template-rows: auto auto; column-gap: 8px; row-gap: 2px; padding-block: 8px; min-height: 66px; }
  .map_layers_panel .hazard_row > .hazard_icon, .map_layers_panel .hazard_row > .map_symbol { display: none; }
  .map_layers_panel .hazard_label { grid-column: 1; grid-row: 1; min-width: 0; font-size: .875rem; line-height: 1.5; }
  .map_layers_panel .hazard_label strong { font-size: .875rem; line-height: 1.5; }
  .map_layers_panel .hazard_description { display: none; }
  .map_layers_panel .flood_controls { display: contents; }
  .map_layers_panel .hazard_status { grid-column: 1; grid-row: 2; justify-self: start; margin: 0; font-size: .875rem; line-height: 1.5; padding: 1px 5px; }
  .map_layers_panel .flood_toggle { grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0; min-width: 76px; width: 76px; font-size: .875rem; padding: 6px 8px; }
}
@media(max-width:767px) { .map_layers_toggle { max-width: calc(100% - 108px); } }
@media(max-width:1023px) and (max-height:600px) {
  .map_stage { height: clamp(330px,75svh,430px); }
  .map_layers_scroll { overflow-y: auto; overscroll-behavior: contain; }
}

/* 2026-10-13: layer heading stays clear; existing controls return on close. */
@media(max-width:1023px) {
  .map_stage:has(#map_layers_panel:not([hidden])) .map_search_toggle,
  .map_stage:has(#map_layers_panel:not([hidden])) .map_toolbar { visibility: hidden; }
}

/* Final owner choice: original type scale/weights, natural short-copy wrapping. */
.trust_item p, .axis_limit, .axis_status_secondary, .axis_detail,
.region_metric_note, .region_metric_value small, .region_buy_card p,
.region_summary_item p, .region_lead, .region_source_hint,
.map_usage_hint, .map_caution, .map_layer_note, .fine_print { text-wrap: pretty; }
.trust_item p, .axis_limit, .axis_detail, .region_metric_note { text-wrap: balance; }

/* Public-name fit; no application or map restyling. */
@media(max-width:767px){.site_header .wordmark{white-space:normal;min-width:0}.site_header .brand_type{min-width:0}.site_header .brand_name,.site_header .site_name{display:block;white-space:normal;overflow-wrap:anywhere}.site_header .wordmark img{flex-shrink:0}}
