.live-scrutiny-map{margin:18px 0;padding:20px;border:1px solid #dce3ec;border-radius:12px;background:#fff;color:#162438}
.live-scrutiny-map>h2{font-size:20px;margin:0 0 6px}.live-scrutiny-map>p{font-size:12px;color:#62758f;margin:0 0 14px}
.live-map-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.8fr);gap:16px;align-items:start}.live-map-graphic{min-width:0;background:#edf3f6;border-radius:10px;text-align:center;overflow:hidden}.live-map-graphic svg{display:block;width:100%;height:auto;max-height:610px}.live-map-district{cursor:pointer}.live-map-district path{transition:fill .2s;stroke-linejoin:round}.live-map-district:hover path,.live-map-district[aria-pressed=true] path{stroke:#263a55;stroke-width:6}.live-map-district text{font:700 19px system-ui,sans-serif;fill:#102030;stroke:#fff;stroke-width:5px;paint-order:stroke;stroke-linejoin:round;pointer-events:none}.live-map-district:focus-visible{outline:3px solid #345de1;outline-offset:2px}
.live-map-detail{min-width:0;background:#f4f7fb;border:1px solid #dce3ec;border-radius:9px;padding:14px;overflow:auto}.live-map-detail h3{font-size:16px;margin:0 0 5px}.live-map-detail p{font-size:12px;margin:4px 0 10px;color:#60718a}.live-map-detail table{width:100%;border-collapse:collapse;font-size:12px}.live-map-detail th,.live-map-detail td{padding:8px 4px;text-align:right;border-bottom:1px solid #dce3ec}.live-map-detail th:first-child,.live-map-detail td:first-child{text-align:left}.live-map-detail th{font-size:10px;color:#718197}
.live-map-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;padding:12px}.live-map-tiles button{display:grid;gap:4px;text-align:left;background:#fff;color:#162438;border:1px solid #dce3ec;border-left:5px solid var(--district-color);border-radius:6px;padding:10px;cursor:pointer}.live-map-tiles button[aria-pressed=true]{outline:2px solid #345de1}.live-map-tiles small{font-size:10px;color:#64758b}
html[data-theme="dark"] .live-scrutiny-map{background:#1a293d;color:#e5edf8;border-color:#40536d}html[data-theme="dark"] .live-scrutiny-map>p{color:#bdcce0}html[data-theme="dark"] .live-map-graphic{background:#233750}html[data-theme="dark"] .live-map-detail{background:#233750;border-color:#40536d}html[data-theme="dark"] .live-map-detail :is(p,th){color:#c2d2e8}html[data-theme="dark"] .live-map-detail :is(th,td){border-color:#40536d}html[data-theme="dark"] .live-map-tiles button{background:#263951;color:#e5edf8;border-color:#40536d;border-left-color:var(--district-color)}html[data-theme="dark"] .live-map-tiles small{color:#b8c8db}
@media(max-width:600px){.live-scrutiny-map{padding:14px}.live-map-layout{grid-template-columns:1fr}.live-map-graphic svg{max-height:480px}.live-map-detail{padding:12px}}
.live-map-detail th{background:transparent}
html[data-theme="dark"] .live-map-detail th{background:transparent;color:#c2d2e8}
.live-boundary-district,.live-boundary-territory{fill:none;stroke:#111820;stroke-linejoin:round;stroke-linecap:round;pointer-events:none}.live-boundary-district{stroke-width:2.5;stroke-dasharray:9 7}.live-boundary-territory{stroke-width:7}.live-boundary-key{display:flex;gap:16px;flex-wrap:wrap;align-items:center;font-size:12px}.live-boundary-key span{display:inline-flex;gap:7px;align-items:center}.live-boundary-key i{width:26px;border-top:4px solid #111820}.live-boundary-key .district-key i{border-top:2px dashed #111820}html[data-theme=dark] .live-boundary-key i{border-color:#d4e5f2}
