/* Resource Navigator 1.0: behaviour-layer CSS only. Every colour, font and radius comes from the host's
   tokens (--accent --warm --text --muted-ink --line --surface --paper --mono). A host restyles by changing
   tokens, never by editing this file (the vendored copy is hash-checked). */
[data-nav] .rec[hidden], [data-nav] section.cat[hidden] { display: none }
[data-nav] .rec.is-for { box-shadow: inset 4px 0 0 var(--warm); }
[data-nav] .rec.is-for .for-tag { display: inline-flex }
[data-nav] .for-tag { display: none }
[data-nav] [aria-pressed="true"], [data-nav] [aria-current="true"] { background: var(--accent); color: var(--paper); border-color: var(--accent) }
[data-nav] [aria-pressed="true"] small, [data-nav] [aria-current="true"] small { color: inherit; opacity: .85 }
[data-nav] .nav-js { display: none }
[data-nav].nav-live .nav-js { display: flex }
[data-nav][data-view="table"] .nav-list, [data-nav][data-view="map"] .nav-list { display: none }
.nav-tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; background: var(--surface) }
.nav-tbl th, .nav-tbl td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top }
.nav-tbl thead th { position: sticky; top: 0; background: var(--surface); z-index: 1 }
.nav-tbl thead button { all: unset; cursor: pointer; font: 600 12.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-ink) }
.nav-tbl thead th[aria-sort="ascending"] button::after { content: " \2191" }
.nav-tbl thead th[aria-sort="descending"] button::after { content: " \2193" }
.nav-tbl tr.is-for th { box-shadow: inset 4px 0 0 var(--warm) }
.nav-tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; max-height: 75vh }
.nav-map-stage { height: min(70vh, 560px); border-radius: 12px; border: 1px solid var(--line); overflow: hidden }
.nav-map-msg { padding: 24px; color: var(--muted-ink) }
.nav-pin span { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 2px solid var(--paper); box-shadow: 0 1px 4px rgba(0,0,0,.35) }
.nav-pin span[data-cat="food"] { background: var(--warm) }
.nav-pin span[data-cat="shelter"], .nav-pin span[data-cat="crisis"] { background: var(--hue-operate) }
.nav-pin span[data-approx] { background: transparent; border: 3px solid var(--accent) }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted-ink) }
@media (prefers-reduced-motion: reduce) { .leaflet-fade-anim .leaflet-popup, .leaflet-zoom-anim .leaflet-zoom-animated { transition: none !important } }
