.result-map-section{margin:0 0 2.5rem;padding:0 0 2.5rem;border-bottom:1px solid #dce3ed;scroll-margin-top:90px}
.result-map-section [hidden]{display:none!important}.result-map-section .result-section-heading{margin-top:0}.result-map-section .result-section-heading h2{margin:0;font-size:2rem}.result-map-list-link{font-size:.82rem;white-space:nowrap}
.result-map-controls{display:grid;grid-template-columns:1fr 1fr .8fr;gap:.8rem;padding:1rem;background:#fff;border:1px solid #dce3ed;border-radius:14px 14px 0 0;margin-top:1.2rem}
.result-map-controls>div{min-width:0}.result-map-controls label{display:block;margin-bottom:.35rem;font-size:.72rem;font-weight:700;color:#49607f}.result-map-controls select{width:100%;max-width:100%;min-width:0;min-height:42px;border:1px solid #ced9e6;border-radius:7px;background:#fff;color:#142641;font-size:.83rem;padding:.55rem 2rem .55rem .6rem}.result-map-contest-control{grid-column:span 2}
.result-map-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);border:1px solid #dce3ed;border-top:0;border-radius:0 0 14px 14px;overflow:hidden;background:#fff}.result-map-geography{min-width:0;border-right:1px solid #dce3ed}.result-map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;min-height:58px;padding:.75rem 1rem;color:#142641;background:#fff;border-bottom:1px solid #e5eaf1}.result-map-toolbar strong{font-size:1rem}.result-map-toolbar>div{display:flex;gap:.4rem}.result-map-toolbar button,.result-map-regions button{border:1px solid #d3dce8;border-radius:6px;padding:.4rem .6rem;font-size:.73rem;color:#183b65;background:#fff}.result-map-toolbar button:hover,.result-map-regions button:hover{background:#edf3fa}
.result-map-frame{position:relative;isolation:isolate}#results-map-canvas{height:450px;width:100%;background:#f0f3f7}#results-map-canvas.map-unavailable{height:180px;display:flex;align-items:center;justify-content:center;padding:2rem;text-align:center;color:#49607f}.result-map-tooltip{position:absolute;z-index:3;pointer-events:none;max-width:min(310px,90%);padding:.6rem .8rem;border-radius:7px;background:#142641;color:#fff;font-size:.78rem;box-shadow:0 5px 20px #14264125}
.result-map-regions{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center;padding:.75rem 1rem 0}.result-map-regions span{flex-basis:100%;font-size:.68rem;color:#60728c;margin-top:.2rem}.result-map-status,.result-map-caption,.result-map-attribution{margin:.75rem 1rem;font-size:.75rem;line-height:1.6;color:#49607f}.result-map-status{font-weight:600;min-height:2.4em}.result-map-caption{border-top:1px solid #e5eaf1;padding-top:.75rem}.result-map-attribution{font-size:.65rem;color:#62758f}.result-map-attribution a{text-decoration:underline}.result-map-legend{display:flex;flex-wrap:wrap;gap:.45rem 1rem;margin:.75rem 1rem}.result-map-legend>span{display:inline-flex;align-items:center;gap:.35rem;font-size:.68rem;color:#49607f}.result-map-legend i{height:10px;width:10px;border-radius:2px;border:1px solid #14264115}
.result-map-panel{min-width:0;padding:1rem;max-height:790px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;background:#f8fafc;transition:opacity .15s}.result-map-panel.is-loading{opacity:.45;pointer-events:none}.result-map-panel-heading{margin-bottom:.8rem}.result-map-panel-heading h3{font-size:1.4rem!important;margin:0;color:#142641}.result-map-panel .result-card-head{gap:.4rem}.result-map-panel .result-card-head h2{font-size:1rem}.result-map-panel .result-card{box-shadow:none}.result-map-panel .result-numbers strong{font-size:1.15rem}.result-map-panel .result-name{font-size:.85rem}.result-map-panel .result-status{font-size:.6rem}.result-map-welcome{padding:1rem .7rem;line-height:1.7;color:#49607f}.result-map-welcome>span{display:block;font-size:3rem;color:#b69036}.result-map-welcome h3{font-size:1.75rem!important;margin:.8rem 0;color:#142641}.result-map-welcome p{margin:.8rem 0;font-size:.9rem}.result-map-source{font-size:.7rem;color:#49607f;margin:1rem 0;line-height:1.6}.result-map-source a{text-decoration:underline}.result-map-browse{display:block;margin:1rem 0 .2rem;font-size:.8rem;color:#183b65;font-weight:600}.result-map-empty{padding:1rem;background:#fff;border:1px solid #dce3ed;border-radius:10px;color:#49607f;font-size:.85rem;line-height:1.7}.result-map-empty h4{font-weight:700;color:#142641}.result-map-empty p{margin:.75rem 0}.result-map-empty .btn-outline{font-size:.75rem}
.result-map-section button:focus-visible,.result-map-section select:focus-visible{outline:3px solid #b69036;outline-offset:2px}.result-map-section .maplibregl-ctrl button{color:#142641}
.result-map-state-label{pointer-events:none!important;font-size:10px;font-weight:700;color:#17304c;text-shadow:0 1px 2px #fff,0 -1px 2px #fff,1px 0 2px #fff}
.result-map-controls.is-fixed{grid-template-columns:1fr}
@media(max-width:900px){.result-map-grid{grid-template-columns:1fr}.result-map-geography{border-right:0;border-bottom:1px solid #dce3ed}.result-map-panel{max-height:650px;max-height:min(75svh,650px)}.result-map-panel .result-card{max-width:100%}#results-map-canvas{height:400px}.result-map-welcome{padding:.3rem}.result-map-welcome>span{display:none}.result-map-welcome h3{font-size:1.3rem!important}.result-map-welcome p{font-size:.82rem}}
@media(max-width:500px){.result-map-controls{grid-template-columns:1fr 1fr;padding:.75rem;gap:.65rem}.result-map-contest-control{grid-column:1/-1}.result-map-controls>div:last-child{grid-column:1/-1}.result-map-controls select{font-size:.8rem}.result-map-section .result-section-heading{align-items:flex-start;gap:.5rem;flex-direction:column}.result-map-section .result-section-heading h2{font-size:1.7rem}#results-map-canvas{height:330px}.result-map-panel{padding:.75rem}.result-map-toolbar{padding:.65rem .75rem}.result-map-toolbar strong{font-size:.9rem}.result-map-legend{gap:.4rem .7rem}.result-map-section{padding-bottom:1.5rem}}
@media(prefers-reduced-motion:reduce){.result-map-panel{transition:none}}

.result-map-panel-heading{position:sticky;top:-1rem;z-index:1;background:#f8fafc;margin:-1rem -1rem 1rem;padding:1rem;border-bottom:1px solid #dce3ed}.result-map-panel-summary{font-size:.75rem;color:#49607f;line-height:1.6;margin:.4rem 0 0}.result-map-entry+.result-map-entry{border-top:1px solid #dce3ed;padding-top:1rem}.result-map-selected-label{font-size:.7rem;font-weight:700;color:#183b65;margin:0 0 .5rem}.result-map-more,.result-map-end{text-align:center;font-size:.75rem;color:#49607f;padding:.5rem 0}.result-map-more button{display:block;width:100%;margin:.5rem 0;padding:.75rem;border:1px solid #ced9e6;border-radius:7px;color:#183b65;background:white;font-weight:600}.result-map-more button:disabled{opacity:.6}.result-map-panel:focus-visible{outline:3px solid #b69036;outline-offset:-3px}.result-map-panel>.result-map-empty{margin-bottom:1rem}
@media(max-width:500px){.result-map-panel-heading{top:-.75rem;margin:-.75rem -.75rem 1rem;padding:.75rem}}

.result-map-show{margin:.7rem 0 0;padding:.5rem .7rem;border:1px solid #ced9e6;border-radius:6px;color:#183b65;background:#fff;font-size:.75rem;font-weight:600}.result-map-show:hover{background:#edf3fa}.result-map-no-election{font-size:.75rem;line-height:1.6;margin:.5rem 0 0;color:#49607f}
.result-map-panel{scroll-margin-top:90px}.result-map-parent{display:block;margin:0 0 .65rem;color:#183b65;font-size:.75rem;font-weight:600;text-align:left;padding:.3rem 0}.result-map-county-finder{margin:0 0 1rem}.result-map-county-finder label{display:block;font-size:.8rem;font-weight:700;color:#17304c;margin-bottom:.4rem}.result-map-county-search{display:flex;gap:.4rem}.result-map-county-search input{min-width:0;width:100%;padding:.65rem;border:1px solid #ced9e6;border-radius:7px;font-size:.8rem;background:#fff;color:#17304c}.result-map-county-search button{flex-shrink:0;border:1px solid #ced9e6;border-radius:7px;background:#fff;color:#183b65;padding:.5rem;font-size:.75rem;font-weight:600}.result-map-county-list{max-height:240px;overflow-y:auto;overscroll-behavior:contain;margin-top:.5rem;border:1px solid #ced9e6;border-radius:8px;background:#fff}.result-map-county-list button{display:flex;align-items:center;justify-content:space-between;gap:.6rem;width:100%;min-height:44px;text-align:left;padding:.65rem .75rem;color:#17304c;border-bottom:1px solid #e5eaf1;font-size:.8rem}.result-map-county-list button:hover,.result-map-county-list button[aria-current]{background:#e8eff9}.result-map-county-list small{font-size:.68rem;color:#49607f;text-align:right}.result-map-county-list p{padding:.75rem;color:#49607f;font-size:.8rem}.result-map-civic-links{display:grid;grid-template-columns:1fr 1fr;gap:.45rem;margin-bottom:1rem}.result-map-civic-links a{padding:.6rem .7rem;border-radius:6px;background:#e8eff9;color:#17304c;font-size:.73rem;font-weight:600;line-height:1.5}.result-map-civic-links a:hover{background:#dce8f8}.result-map-section input:focus-visible,.result-map-section a:focus-visible{outline:3px solid #b69036;outline-offset:2px}
