.map-card { margin-bottom: 19px; scroll-margin-top: 96px; }
.map-jump { margin-left: auto; font-size: 12px; color: var(--accent); white-space: nowrap; }
.map-layout { display: grid; grid-template-columns: minmax(0,1fr) 285px; gap: 24px; }
.map-canvas-column { min-width: 0; }
.map-controls { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.map-controls .mono { color: var(--muted); font-size: 12px; padding: 0 5px; min-width: 42px; }
.map-controls button { font-size: 13px; }
.regional-map { position: relative; height: 560px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #0c1418; }
.regional-map > svg { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.regional-map > svg:active { cursor: grabbing; }
.map-region { stroke: #92b49e; stroke-width: .7px; cursor: pointer; }
.map-region.map-context { opacity: .3; pointer-events: none; stroke-width: .45px; }
.map-region:hover,.map-region:focus { stroke: #f5ecd9; stroke-width: 2px; outline: none; }
.map-region.is-selected { stroke: #e5b696; stroke-width: 2.5px; }
.map-north { position: absolute; top: 15px; right: 17px; color: var(--muted); font: 12px var(--mono); pointer-events: none; }
.map-tooltip { position: absolute; max-width: min(280px,calc(100% - 16px)); z-index: 3; padding: 13px 15px; border: 1px solid #c5f2d550; border-radius: 7px; background: #18251ff5; box-shadow: 0 8px 25px #0005; pointer-events: none; font-size: 12px; line-height: 1.7; }
.map-tooltip strong,.map-tooltip span,.map-tooltip small { display: block; }
.map-tooltip strong { color: var(--accent); margin-bottom: 5px; overflow-wrap: anywhere; }
.map-tooltip span { color: var(--text); }.map-tooltip small { color: var(--muted); font-size: 10px; margin-top: 5px; }
.map-load-status { position: absolute; top: 45%; width: 100%; text-align: center; color: var(--muted); font-size: 13px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 16px; color: var(--muted); font-size: 11px; }
.map-legend > span:first-child { flex-basis: 100%; color: var(--text); }
.map-legend-item { display: inline-flex; align-items: center; gap: 5px; }
.map-legend-item i { display: inline-block; height: 12px; width: 16px; border: 1px solid #92b49e60; }
.map-sidebar { border-left: 1px solid var(--line); padding-left: 24px; }
.map-picker { flex-direction: column; align-items: stretch; font-size: 12px; }
.map-picker select { width: 100%; font-size: 12px; }
.map-detail { margin: 25px 0 20px; }
.map-detail h3 { font-size: 21px; font-weight: 500; line-height: 1.4; margin: 10px 0 17px; overflow-wrap: anywhere; }
.map-detail .eyebrow { font-size: 9px; }
.map-detail-value { display: block; font: 36px var(--mono); color: var(--accent); }
.map-detail-note,.map-empty { font-size: 12px; line-height: 1.9; color: var(--muted); margin-top: 12px; }
.map-detail-stats { display: grid; grid-template-columns: 1fr auto; gap: 13px 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 11px; }
.map-detail-stats dt { color: var(--muted); }.map-detail-stats dd { font-family: var(--mono); margin: 0; }
.map-attribution a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.map-card .chart-note { font-size: 11px; }.map-card .chart-head p { font-size: 11px; }
.map-controls button:focus-visible,.regional-map > svg:focus-visible,.map-picker select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 1050px) { .map-layout { grid-template-columns: minmax(0,1fr) 250px; gap: 18px; }.map-sidebar { padding-left: 18px; }.regional-map { height: 470px; } }
@media (max-width: 700px) { .map-layout { grid-template-columns: 1fr; }.regional-map { height: 420px; }.map-sidebar { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }.map-detail { margin-top: 20px; }.map-detail-stats { font-size: 12px; } }
@media (max-width: 360px) { .regional-map { height: 350px; }.map-controls { gap: 6px; }.map-controls .analysis-control { padding: 8px 10px; } }
