
.gmap.hl{container:gmap/inline-size;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0}
.gmap.hl .gsvg{display:block;width:100%;height:auto;aspect-ratio:975/610;overflow:visible}
.gmap.hl .gs{cursor:pointer;text-decoration:none}
.gmap.hl .gs .gp{fill:var(--c-same);fill-opacity:1;stroke:var(--c-card);stroke-width:1;vector-effect:non-scaling-stroke}
.gmap.hl .gs.t-lower .gp{fill:var(--c-lower-fill)}
.gmap.hl .gs.t-higher .gp{fill:var(--c-higher-fill)}
.gmap.hl .gs.t-nodata .gp,.gmap.hl .gs.t-pending .gp{fill:var(--c-map-nodata);stroke:var(--c-map-nodata-edge)}
.gmap.hl .gs.t-none .gp{fill:var(--c-same)}
.gmap.hl .gs.t-out .gp{fill:var(--c-map-out)}
/* a state inside a locator's view (its neighbours) gets a darker edge, so it stands out from the quiet rest */
.gmap.hl .gs.in .gp{stroke:var(--c-muted);stroke-width:1.25}
.gmap.hl .gs #gp-HI,.gmap.hl .gs #gp-AK{stroke:var(--c-quiet-mark);stroke-width:1}
.gmap.hl .gs .gn{font-size:0;fill:transparent}
.gmap.hl .gs .gl,.gmap.hl .gs .gv{font-family:var(--sans,system-ui,sans-serif);text-anchor:middle;pointer-events:none;display:none}
.gmap.hl .gs .gl{font-size:22px;font-weight:600;fill:var(--c-on-same)}
.gmap.hl .gs .gv{font-size:21px;font-weight:600;fill:var(--c-on-same)}
.gmap.hl .gs.t-lower .gl,.gmap.hl .gs.t-higher .gl,.gmap.hl .gs.t-lower .gv,.gmap.hl .gs.t-higher .gv{font-weight:700;fill:var(--c-on-mark)}
.gmap.hl .gs .gtag{display:none;fill:none}
/* the hatch pattern kept in the markup for older maps (no highlight map uses it): token fills */
.gmap.hl .gh-a{fill:var(--c-nodata)}
.gmap.hl .gh-b{fill:var(--c-line-strong)}
/* a quiet state whose shape is too narrow for its figure shows its abbreviation only (.nar); a coloured one keeps it on its tag */
.gmap.hl .gs:not(.t-lower):not(.t-higher) .gv.nar{display:none!important}
.gmap.hl .gs.t-lower .gtag{fill:var(--c-lower-fill)}
.gmap.hl .gs.t-higher .gtag{fill:var(--c-higher-fill)}
.gmap.hl .gs .gm{font:700 48px/1 var(--sans,system-ui,sans-serif);text-anchor:middle;fill:var(--c-on-mark);pointer-events:none}
.gmap.hl .gs:focus{outline:none}
.gmap.hl .gs:hover .gp{stroke:var(--c-mark);stroke-width:2}
.gmap.hl .gs:focus-visible .gp,.no-js .gmap.hl .gs:focus .gp{stroke:var(--c-focus);stroke-width:3}
.gmap.hl .gs.is-sel .gp{stroke:var(--c-mark);stroke-width:2}
.gmap.hl .gring,.gmap.hl .gring2{display:none;fill:none;pointer-events:none;vector-effect:non-scaling-stroke}
.gmap.hl .gring2{stroke:var(--c-pick);stroke-width:7}
.gmap.hl .gring{stroke:var(--c-mark);stroke-width:2}
.gmap.hl .gring.on,.gmap.hl .gring2.on{display:block}
.gmap.hl .gchips{list-style:none;margin:2px 0 0;padding:0;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px}
.gmap.hl .gchips::before{content:"Small states:";flex:0 0 100%;font:400 .90625rem/1.3 var(--sans,system-ui,sans-serif);color:var(--c-muted)}
.gmap.hl .gchips li{flex:none}
.gmap.hl .chip-s{position:relative;display:flex;align-items:center;justify-content:center;gap:4px;min-width:46px;min-height:44px;padding:0 8px;border-radius:6px;text-decoration:none;color:var(--c-on-same);background:var(--c-same);box-shadow:none;font:600 .90625rem/1 var(--sans,system-ui,sans-serif);cursor:pointer}
.gmap.hl .chip-s b{font:700 .9375rem/1 var(--sans,system-ui,sans-serif);color:inherit}
.gmap.hl .chip-s.t-lower{background:var(--c-lower-fill);color:var(--c-on-mark)}
.gmap.hl .chip-s.t-higher{background:var(--c-higher-fill);color:var(--c-on-mark)}
.gmap.hl .chip-s.t-nodata,.gmap.hl .chip-s.t-pending{background:var(--c-map-nodata);box-shadow:inset 0 0 0 1px var(--c-map-nodata-edge)}
.gmap.hl .chip-s.t-out{background:var(--c-map-out)}
.gmap.hl .chip-s:hover{outline:2px solid var(--c-brand);outline-offset:1px}
.gmap.hl .chip-s.is-sel,.gmap.hl .chip-s.is-me{outline:3px solid var(--c-pick);outline-offset:0;box-shadow:0 0 0 5px var(--c-ink)}
.gmap.hl .chip-s [data-fig]:empty{display:none}
@container gmap (min-width:650px){
  .gmap.hl .gs .gl,.gmap.hl .gs .gv{display:block}
  .gmap.hl .gs.t-lower .gtag,.gmap.hl .gs.t-higher .gtag{display:block}
  .gmap.hl .gs .gm{display:none}
}
@media (forced-colors:active){.gmap.hl .gs .gp{stroke:CanvasText}}
/* the hub's grid view of the same map (research_states/_tile_map inside .maps.hl): the same "no data" look, no hatch */
.maps.hl .tl.t-nodata{background:var(--c-map-nodata);box-shadow:inset 0 0 0 1px var(--c-map-nodata-edge)}

/* the key row: one compact key per class, in a single row above the map (two rows on a phone) */
.gkeys{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;font:400 .96875rem/1.3 var(--sans,system-ui,sans-serif);color:var(--c-body)}
.gkeys li{display:inline-flex;align-items:center;gap:8px;min-height:28px;white-space:nowrap}
.gkeys .gk{display:inline-flex;align-items:center;justify-content:center;flex:none;width:22px;height:22px;border-radius:5px;background:var(--c-same);color:var(--c-ink);font:700 .9375rem/1 var(--sans,system-ui,sans-serif);font-style:normal}
.gkeys .gk.gk-lower{background:var(--c-lower-fill);color:var(--c-on-mark)}
.gkeys .gk.gk-higher{background:var(--c-higher-fill);color:var(--c-on-mark)}
.gkeys .gk.gk-nodata,.gkeys .gk.gk-pending{background:var(--c-map-nodata);box-shadow:inset 0 0 0 1px var(--c-map-nodata-edge);color:var(--c-muted)}
.gkeys .gk.gk-none{background:var(--c-same)}
.gkeys .gk.gk-ring{background:var(--c-card);border-radius:50%;box-shadow:inset 0 0 0 3px var(--c-pick),0 0 0 2px var(--c-ink);width:18px;height:18px;margin:2px}
.gkeys small{font:700 .96875rem/1.3 var(--sans,system-ui,sans-serif);color:var(--c-ink)}
.gkeys .gs-sep{color:var(--c-muted)}
.gkeys .gk[data-g]::before{content:attr(data-g)}
@media (max-width:40em){
  .gkeys{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}
  .gkeys li{white-space:normal;align-items:flex-start}
  .gkeys .gk{margin-top:-1px}
}
