/* Spaced-county district maps (DistrictIslandsMap): State Senate and Assembly on Election Results and the Voting
   District Map (Robert, 2026-11-05). Counties pulled apart by page-colored gaps like Child Care by County, districts
   inside them; neon outline on the district pointed at; picked districts gold; party shading when asked. */
.dim-map{position:relative;margin:6px -4% 0;width:108%}
.dim-map svg{display:block;width:100%;height:auto}
.dim-district{fill:#2e5c9e;stroke:#d4a83a;stroke-width:.7;cursor:pointer}
.dim-district.picked{fill:#d4a83a;stroke:#2e5c9e}
.dim-gaps{fill:none;stroke:var(--page-bg);stroke-width:5;stroke-linejoin:round;stroke-linecap:round}
.dim-hot{fill:none;stroke:#39ff14;stroke-width:2.5;stroke-linejoin:round}
.dim-labels text{fill:var(--map-label-gold);font:700 10px var(--font-body);stroke:none}
.dim-frame .lm-map-download{position:absolute;top:0;right:0;z-index:5}
.dim-frame .lm-map-download .download-icon-button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid var(--blue);border-radius:6px;background:var(--blue);color:#fff;cursor:pointer}
.dim-frame .lm-map-download .download-icon-button svg{width:16px;height:16px}
.dim-district.party-D{fill:#2166ac}
.dim-district.party-R{fill:#c0392b}
.dim-district.party-O{fill:#8a8f94}
.dim-district.picked{fill:#d4a83a}
/* Source of the district lines, under the map at the right (Robert, 2026-11-07). */
.dim-source{margin:2px 0 0;text-align:right;color:var(--muted);font-size:11px}
/* Election drop-down (Robert, 2026-11-07): styled by the tab buttons' own rule in political-maps.css; only its place here. */
.pm-tabs .pm-election{margin-left:auto;margin-right:10px}
.pm-election + .pm-tabs-badge{margin-left:0}
