/* Presidential results by county (presidential-elections.php, views counties, county-change, county). Loads after css/archive-pres.css.
   Colour steps come from the .pe-sd1..3 and .pe-sr1..3 classes there; tokens only (css/vf-tokens.css). */

.pe-cmap { max-height: 620px; width: 100%; height: auto; }
.pe-cmap .ac-dist-p { stroke-width: .5; }
.pe-cmap a:focus-visible { outline: 3px solid var(--vf-blue); outline-offset: 1px; }
.pe-cmap a:focus-visible .ac-dist-p, .pe-cmap a:hover .ac-dist-p { stroke: var(--vf-ink); stroke-width: 1.6; }
.ac-legend li.pe-sd1, .ac-legend li.pe-sd2, .ac-legend li.pe-sd3, .ac-legend li.pe-sr1, .ac-legend li.pe-sr2, .ac-legend li.pe-sr3 { --ac-line: var(--ac-fill); }

.pe-notes-box { max-width: 70ch; margin: 8px 0 0; color: var(--vf-ink-2); font-size: .88rem; line-height: 1.5; }
.pe-notes-box summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--vf-blue-text); }
.pe-notes { margin: 4px 0 0; padding-left: 1.6rem; }
.pe-notes li { margin: 0 0 6px; }
.pe-cap { padding: 8px 0 4px; color: var(--vf-ink); font: 700 1rem var(--vf-font-head); text-align: left; caption-side: top; }
.pe-table .pe-fn { vertical-align: super; }
