.precinct-overview .remaining-selection-diagram{border:1px solid var(--area-line);border-top:5px solid var(--area-gold);background:#fff}
.precinct-overview .remaining-selection-flow{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:36px 36px 32px;gap:54px;counter-reset:none}
.precinct-overview .remaining-selection-flow>li{position:relative;min-width:0}
.precinct-overview .remaining-selection-flow>li:not(:last-child)::after{content:'→';position:absolute;right:-40px;top:40px;font-size:2rem;color:var(--area-teal)}
.precinct-overview .remaining-selection-art{height:122px;display:grid;place-items:center;margin-bottom:22px;color:var(--area-navy);background:linear-gradient(180deg,#fff,#eef4f1)}
.precinct-overview .remaining-selection-art svg{height:112px;width:180px;max-width:100%}
.precinct-overview .remaining-selection-flow>li:last-child .remaining-selection-art{background:linear-gradient(180deg,#fff,#f8f1df)}
.precinct-overview .remaining-selection-flow h3{font-size:1.2rem;line-height:1.3;margin:0 0 14px;color:var(--area-navy)}
.precinct-overview .remaining-selection-flow p{font-size:.9rem;line-height:1.65;margin:0;color:var(--area-muted)}
.precinct-overview .remaining-selection-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 36px;background:var(--area-navy);color:#fff}
.precinct-overview .remaining-selection-footer p{margin:0;display:flex;align-items:center;flex-wrap:wrap;gap:10px 22px}
.precinct-overview .remaining-selection-footer strong{font-size:1.2rem}
.precinct-overview .remaining-selection-footer p span{color:#d6e3e6;font-size:.83rem}
.precinct-overview .remaining-selection-footer a{color:#f2ce83;font-size:.83rem;white-space:nowrap;font-weight:750}

.precinct-overview .remaining-selection-footer p{display:block;line-height:1.7;font-size:.9rem}
.precinct-overview .remaining-selection-footer strong{font-size:inherit}
.precinct-overview .remaining-selection-art svg{width:100%;max-width:260px}
.precinct-overview .remaining-selection-source{margin-top:16px!important}
.precinct-overview .remaining-selection-source a{color:var(--area-teal);font-weight:750;font-size:.8rem}
.precinct-topographic-stage{position:relative;height:clamp(360px,48vw,650px);background:#eef3f4;isolation:isolate}
.precinct-topographic-live{position:absolute;inset:0;width:100%;height:100%;z-index:1}
.precinct-topographic-fallback{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden}
.precinct-topographic-fallback img{height:100%;object-fit:cover}
.precinct-topographic-stage.is-ready .precinct-topographic-fallback{display:none}
.precinct-topographic-live img.leaflet-tile{width:256px;height:256px;max-width:none!important}
.precinct-topographic-live img.leaflet-image-layer{max-width:none!important}
.precinct-map-tools{display:flex;gap:14px;justify-content:space-between;align-items:center;padding:14px 18px;border-top:1px solid var(--area-line);background:white}
.precinct-map-tools p{margin:0;font-size:.75rem;line-height:1.5;color:var(--area-muted)}
.precinct-map-tools button{flex-shrink:0;padding:10px 14px;border:1px solid var(--area-teal);background:white;color:var(--area-teal);font:inherit;font-size:.75rem;font-weight:750;cursor:pointer}
.precinct-map-tools button:focus-visible{outline:3px solid var(--area-gold);outline-offset:3px}
/* A hover can change content, but never the map's geometry or the title's width. */
.precinct-election-title{display:block}
.precinct-election-status-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px}
.precinct-election-status-row .certified-chip{white-space:nowrap;flex-shrink:0}
.precinct-election-title h3{margin-top:12px}
.precinct-election-title h3 .precinct-number{font:inherit;color:inherit;letter-spacing:inherit;text-transform:none;white-space:nowrap}
.precinct-election-map-card figure{align-self:start;grid-template-rows:auto auto}
.precinct-interactive-map{grid-template-rows:auto auto}
.precinct-interactive-map svg{height:clamp(340px,38vw,540px);min-height:0}
.precinct-election-facts dt{min-height:2.6em}
.precinct-election-facts dd{white-space:nowrap;font-variant-numeric:tabular-nums}
.precinct-sources-section .precinct-history-note{display:block;margin-top:18px;padding:16px;font-size:.78rem}
.precinct-sources-section .precinct-history-note p{margin-bottom:0}
@media(max-width:900px){.precinct-overview .remaining-selection-flow{gap:36px;padding:28px}.precinct-overview .remaining-selection-flow>li:not(:last-child)::after{right:-29px;font-size:1.6rem}}
@media(max-width:620px){.precinct-overview .remaining-selection-flow{grid-template-columns:1fr;gap:44px;padding:26px 22px}.precinct-overview .remaining-selection-flow>li:not(:last-child)::after{content:'↓';top:auto;right:auto;left:calc(50% - 12px);bottom:-38px}.precinct-overview .remaining-selection-art{height:100px;margin-bottom:16px}.precinct-overview .remaining-selection-art svg{height:96px}.precinct-overview .remaining-selection-footer{padding:22px}.precinct-map-tools{align-items:start;flex-direction:column}.precinct-interactive-map svg{height:300px}.precinct-election-title h3{font-size:1.5rem}}

.precinct-overview [data-overview-precinct]{white-space:nowrap}
.precinct-overview .remaining-selection-flow>li:first-child .remaining-selection-art svg{filter:var(--area-outline-mark-shadow)}
.precinct-overview .remaining-selection-flow>li:first-child .remaining-selection-art path{stroke:var(--area-navy)}
