:root{--paper:#f5f3ec;--ink:#233b44;--muted:#647276;--line:#dedfd7;--white:#fffefa;--red:#d95349;--blue:#397cc5;--gold:#b7893d;--serif:Georgia,'Times New Roman',serif;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,select,a{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.5}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:4px}.hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:absolute;top:-100px;background:var(--ink);color:white;padding:12px;z-index:10}.skip:focus{top:10px}.masthead{max-width:1280px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:26px 42px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:8px;align-items:center;text-decoration:none;font-size:20px;letter-spacing:-.6px}.brand strong{font-weight:700}.brand-icon{display:inline-flex;position:relative;align-items:center;justify-content:center;background:var(--ink);color:var(--paper);width:34px;height:37px;font-family:var(--serif);font-size:29px;margin-right:7px}.brand-icon span{position:absolute;width:8px;height:8px;border-radius:50%;background:var(--gold);right:-4px;bottom:3px}.header-links{display:flex;gap:30px;align-items:center}.edition{font-size:11px;color:var(--muted);letter-spacing:.6px}.text-button{border:0;background:none;padding:7px 0;font-size:12px;font-weight:600;text-decoration:none}.text-button span{margin-left:10px}.icon-button{border:1px solid var(--line);background:transparent;border-radius:50%;width:32px;height:32px;font-size:18px}main{max-width:1280px;margin:auto;padding:0 42px}.intro{display:flex;justify-content:space-between;align-items:center;padding:44px 0 37px}.eyebrow{font-size:10px;letter-spacing:1.9px;font-weight:700;margin:0 0 15px;color:var(--muted);line-height:1.5}.live-dot{display:inline-block;width:7px;height:7px;background:#56876b;border-radius:50%;margin-right:7px}h1{font-family:var(--serif);font-size:clamp(36px,4.3vw,59px);font-weight:400;letter-spacing:-2px;line-height:1.12;margin:0 0 13px}.intro-copy{font-size:14px;color:var(--muted);margin:0;line-height:1.6}.intro-note{display:flex;align-items:center;gap:17px;margin-right:17px}.note-star{font-size:51px;color:var(--gold);font-weight:200}.intro-note p{font-size:12px;line-height:1.65;color:var(--muted)}.intro-note strong{color:var(--ink)}.controls{display:flex;gap:12px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:9px;background:#eceee7}.office-tabs{display:flex;gap:4px;flex:1}.office-tabs button{border:0;border-radius:5px;background:transparent;padding:13px 19px;font-size:12px;font-weight:600;white-space:nowrap;color:var(--muted)}.office-tabs button.active{background:var(--ink);color:#fffefa;box-shadow:0 2px 4px #1a333519}.race-picker{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted);border-left:1px solid #cdd1c9;padding-left:16px}.race-picker select{background:transparent;border:0;color:var(--ink);font-size:12px;max-width:180px;padding:8px}.year-pill{padding:11px 17px;background:var(--white);border-radius:5px;font-size:12px;font-weight:700;border:1px solid #e0e2d9}.year-pill span{margin-left:15px;color:var(--muted)}.status{min-height:28px;padding:8px 2px;font-size:11px;color:var(--muted)}.status.error{color:#9b342e;min-height:50px}.explorer{display:grid;grid-template-columns:350px 1fr;gap:22px;align-items:stretch}.results-card{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:26px 26px 15px;display:flex;flex-direction:column;box-shadow:0 5px 20px #263c4610}.card-topline{display:flex;justify-content:space-between;align-items:baseline}.card-topline .eyebrow{margin-bottom:18px}.card-topline button{font-size:10px}h2{font-family:var(--serif);font-weight:400;letter-spacing:-.8px;margin:0;font-size:33px;line-height:1.15}.result-subtitle{font-size:12px;color:var(--muted);line-height:1.5;margin:7px 0 0}.vote-total{margin-top:26px;display:flex;flex-direction:column;gap:5px}.vote-total strong{font-size:38px;letter-spacing:-1.9px;font-weight:600}.vote-total span{font-size:11px;line-height:1.5;color:var(--muted)}.source-badge{align-self:flex-start;margin:15px 0 25px;font-size:9px;letter-spacing:.3px;padding:6px 8px;border:1px solid #dde1d4;background:#f1f5ec;border-radius:4px;color:#4f6556}.candidate-heading{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);padding-bottom:12px;border-bottom:1px solid var(--line)}.candidate{padding:15px 0 11px;animation:reveal .35s ease both}.candidate-line{display:flex;align-items:center;gap:9px}.avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:color-mix(in srgb,var(--party) 12%,white);border:1px solid color-mix(in srgb,var(--party) 25%,white);color:var(--party);font-family:var(--serif);font-weight:bold;font-size:12px}.candidate-name{flex:1;min-width:0;font-size:12px;font-weight:600;line-height:1.4}.candidate-party{display:block;font-size:9px;color:var(--muted);font-weight:400;margin-top:2px}.candidate-numbers{text-align:right;font-size:14px;font-weight:600}.candidate-numbers small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:3px}.bar-track{height:5px;border-radius:4px;background:#ebeeeb;overflow:hidden;margin:10px 0 0 41px}.bar-fill{height:100%;background:var(--party);width:var(--share);border-radius:4px;transition:width .5s ease}.all-candidates{border:1px solid var(--line);background:transparent;border-radius:5px;font-size:11px;padding:10px;margin-top:14px}.denominator{font-size:9px;color:var(--muted);line-height:1.6;margin:16px 0 18px}.insight{display:flex;gap:12px;padding:14px 0;border-top:1px solid var(--line);margin-top:auto}.insight-icon{font-size:28px;color:var(--gold);line-height:1}.insight strong{font-size:11px}.insight p{font-size:10px;color:var(--muted);line-height:1.7;margin:5px 0}.card-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:13px}.card-actions .text-button{font-size:10px}.map-card{position:relative;background:#edf1ec;border:1px solid #dce1d8;border-radius:12px;padding:25px 28px 18px;overflow:hidden;box-shadow:0 5px 20px #263c4607}.map-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.map-heading .eyebrow{margin-bottom:8px}.map-heading h2{font-size:27px}.map-badge{font-size:9px;white-space:nowrap;padding:7px 9px;background:#f9faf6;border:1px solid #dce2d8;border-radius:4px;color:var(--muted)}.map-toolbar{display:flex;justify-content:space-between;align-items:center;margin-top:17px;position:relative;z-index:2}.map-toolbar select{font-size:11px;max-width:190px;background:#fafcf8;border:1px solid #d7dfd4;border-radius:5px;color:var(--ink);padding:9px}.zoom-controls{display:flex;gap:3px}.zoom-controls button{border:1px solid #d8dfd4;border-radius:4px;background:#fafcf8;font-size:17px;width:30px;height:30px}.map-stage{position:relative;min-height:455px;height:460px;overflow:hidden;background-image:radial-gradient(#667d6417 .7px,transparent .7px);background-size:14px 14px}#map{display:block;width:100%;height:100%;overflow:hidden}#map-transform{transform-origin:280px 285px;transition:transform .35s ease}.county{cursor:pointer;transition:fill .2s,opacity .2s;stroke:#fffdf4;stroke-width:.55;vector-effect:non-scaling-stroke;fill-rule:evenodd}.county:focus,.county:focus-visible{outline:none}.county-selection,.county-hover,.county-keyboard{fill:none;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round;pointer-events:none}.county-selection{stroke:#263e49;stroke-width:2}.county-hover{stroke:#263e49;stroke-width:1.5}.county-keyboard{stroke:var(--gold);stroke-width:2.5}.report-note{font-size:11px;color:var(--muted);line-height:1.6;margin:8px 0 14px}.county-context{vector-effect:non-scaling-stroke;fill:#e1e6de;stroke:#edf1ec;stroke-width:.6;opacity:.65;pointer-events:none}.map-tooltip{position:absolute;left:15px;bottom:12px;z-index:3;padding:10px 13px;background:#fffefa;box-shadow:0 5px 22px #233b4420;border:1px solid var(--line);border-radius:6px;font-size:11px;line-height:1.7;pointer-events:none;max-width:250px}.map-tooltip strong{display:block;color:var(--ink)}.map-watermark{position:absolute;right:0;bottom:9px;text-align:right;line-height:1.6;letter-spacing:3px;font-size:8px;color:#778677;pointer-events:none}.map-watermark span{font-size:7px;letter-spacing:1px}.legend{display:flex;align-items:center;flex-wrap:wrap;gap:9px 14px;border-top:1px solid #d7dfd4;padding-top:16px;font-size:9px;color:var(--muted)}.legend>span{display:flex;align-items:center;gap:5px}.legend-label{font-weight:700;color:var(--ink)}.legend-dot{display:inline-block;width:8px;height:8px;border-radius:50%}.dem{background:var(--blue)}.rep{background:var(--red)}.other{background:#779275}.missing{background:#d2d8d1}.map-explainer{font-size:9px;color:var(--muted);line-height:1.6;margin:10px 0 0}.discovery{display:grid;grid-template-columns:1fr 1fr 1fr;gap:22px;margin-top:30px;align-items:center}.discovery .eyebrow{margin-bottom:10px}.discovery h2{font-size:28px}.discovery-card{display:flex;flex-direction:column;align-items:flex-start;background:transparent;border:1px solid var(--line);border-radius:8px;padding:18px 21px;text-align:left;transition:background .2s,transform .2s;min-height:109px}.discovery-card:hover{background:var(--white);transform:translateY(-2px)}.discovery-label{font-size:10px;color:var(--muted);width:100%;display:flex;justify-content:space-between}.discovery-card strong{font-family:var(--serif);font-size:24px;font-weight:400;margin:8px 0}.discovery-detail{font-size:9px;color:var(--muted);line-height:1.5}.source-strip{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#e8ece1;border-radius:8px;padding:21px 25px;margin:33px 0}.source-strip>div{display:flex;align-items:center;gap:16px}.source-seal{border:1px solid #a8b69d;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:#718668}.source-strip p{font-size:11px;color:var(--muted);line-height:1.7;margin:0}.source-strip strong{color:var(--ink);font-size:12px}.source-strip button{white-space:nowrap}footer{max-width:1280px;padding:10px 42px 28px;margin:auto;display:flex;align-items:center;gap:22px;font-size:9px;color:var(--muted)}footer>span{white-space:nowrap;font-weight:600}footer>span span{margin:0 10px}footer p{flex:1;line-height:1.6}footer a{text-decoration:none;white-space:nowrap}dialog{border:1px solid var(--line);border-radius:12px;padding:30px;max-width:620px;width:calc(100% - 32px);max-height:85vh;color:var(--ink);background:var(--white);box-shadow:0 20px 100px #20343b40}dialog::backdrop{background:#20343b80;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:20px}.dialog-head .eyebrow{margin-bottom:8px}.dialog-head h2{font-size:29px}.source-item{border-bottom:1px solid var(--line);padding:14px 0;font-size:11px;line-height:1.7}.source-item strong{font-size:13px}.source-item a{display:block;color:#3b6f88;margin:7px 0;word-break:break-all}.source-item code{font-size:9px;word-break:break-all;color:var(--muted)}.source-item p{margin:7px 0}.dialog-note{font-size:11px;line-height:1.8;color:var(--muted)}@keyframes reveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1300px){.map-stage{height:490px}}@media(max-width:950px){.edition,.intro-note{display:none}.explorer{grid-template-columns:310px 1fr;gap:15px}.results-card{padding:23px 20px 15px}.map-card{padding:22px 19px 17px}.map-heading h2{font-size:23px}.map-badge{display:none}.office-tabs button{padding:12px 11px;font-size:11px}.controls{gap:5px}.race-picker{padding-left:10px}.race-picker select{max-width:130px}.map-stage{height:430px;min-height:430px}.discovery{gap:15px}}@media(max-width:720px){.masthead{padding:19px 20px}.brand{font-size:17px}.brand-icon{width:28px;height:31px;font-size:25px}.header-links{gap:10px}main{padding:0 18px}.intro{padding:32px 2px 27px}.intro .eyebrow{font-size:9px;letter-spacing:1.4px}h1{font-size:40px;letter-spacing:-1.6px}.intro-copy{font-size:12px;max-width:285px}.controls{flex-wrap:wrap;padding:8px}.office-tabs{flex:0 0 100%;width:100%;gap:2px}.office-tabs button{padding:11px 0;flex:1;font-size:10px}.race-picker{border:0;padding-left:7px;flex:1}.race-picker select{max-width:210px;width:100%}.year-pill{padding:8px 12px;font-size:10px}.year-pill span{margin-left:10px}.status{font-size:10px}.explorer{display:flex;flex-direction:column;gap:17px}.map-card{order:0;padding:19px 17px 15px}.results-card{order:1;padding:23px 23px 17px}.map-heading h2{font-size:24px}.map-stage{height:400px;min-height:400px}.map-toolbar select{max-width:175px}.map-watermark{font-size:7px}.legend{gap:9px;font-size:8px}.legend-label{flex:0 0 100%}.result-title{font-size:32px}.vote-total{margin-top:17px}.vote-total strong{font-size:37px}.source-badge{margin:13px 0 19px}.candidates{margin-top:0}.candidate{padding:14px 0}.candidate-name{font-size:13px}.candidate-numbers{font-size:16px}.discovery{grid-template-columns:1fr 1fr;gap:12px;margin-top:27px}.discovery>div{grid-column:1/-1}.discovery h2{font-size:28px}.discovery-card{padding:15px 14px}.discovery-label{font-size:9px}.discovery-card strong{font-size:21px}.source-strip{padding:17px 15px;align-items:flex-start;flex-direction:column;margin:25px 0 20px}.source-strip p{font-size:10px}.source-strip strong{font-size:11px}.source-strip button{padding-left:46px;font-size:10px}footer{padding:0 20px 20px;flex-wrap:wrap;gap:8px;font-size:8px}footer p{order:2;flex:0 0 100%;margin:1px 0}footer a{margin-left:auto}dialog{padding:22px}.map-tooltip{font-size:10px;max-width:200px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.explorer.loading{opacity:.6;pointer-events:none}.status{overflow-wrap:anywhere}.county-context{fill-rule:evenodd}

[hidden]{display:none!important}.year-pill select{border:0;background:transparent;font:inherit;color:var(--ink);font-weight:600;cursor:pointer;max-width:85px}.office-tabs{flex-wrap:wrap}

.precinct-panel{border-top:1px solid var(--line);padding:16px 0 4px;margin-top:2px}.precinct-panel[hidden]{display:none}.precinct-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:11px}.precinct-head strong{font-family:var(--serif);font-size:20px;font-weight:400}.precinct-head span{font-size:9px;color:var(--muted)}.precinct-panel label{display:flex;flex-direction:column;gap:6px;font-size:9px;color:var(--muted);font-weight:600}.precinct-panel select{width:100%;border:1px solid var(--line);border-radius:5px;background:#fafcf8;color:var(--ink);padding:9px;font-size:10px}.precinct-panel select:disabled{opacity:.65}.precincts{max-height:285px;overflow:auto;border-top:1px solid var(--line)}.precinct{border-bottom:1px solid var(--line)}.precinct summary{display:flex;justify-content:space-between;gap:12px;padding:10px 2px;cursor:pointer;font-size:10px}.precinct summary strong{font-size:10px}.precinct>div{padding:0 3px 8px}.precinct p{display:flex;justify-content:space-between;gap:12px;margin:0;padding:5px 0;font-size:9px;color:var(--muted)}.precinct p strong{color:var(--ink)}#cities p{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0;padding:10px 2px;border-bottom:1px solid var(--line);font-size:10px;color:var(--ink)}#cities p:last-child{border-bottom:none}#cities p strong{font-size:9px;color:var(--muted);font-weight:600;white-space:nowrap}#cities p small{color:var(--muted);font-weight:400}


.map-empty{padding:80px 30px;text-align:center;line-height:1.6;color:#52636d}.map-empty strong{font-size:20px;color:#253b48}.map-unavailable #map,.map-unavailable .map-watermark,.map-unavailable .legend,.map-unavailable .zoom-controls{display:none}.map-unavailable .map-stage{min-height:260px}

.controls{flex-wrap:wrap}.office-tabs{min-width:0}#more-office-picker[hidden]{display:none}

#district-picker[hidden]{display:none}#more-office-select{min-width:160px;max-width:230px}@media(max-width:700px){#more-office-picker{width:100%;padding-left:0;border-left:0}#more-office-select{flex:1;min-width:0;max-width:none}}


/* Ballot51 wordmark matches the national and NC entries. */
.brand{display:block;font-size:31px;font-weight:700;letter-spacing:-1.5px;line-height:1}.brand>span{color:#668674}.brand small{display:block;font-size:8px;letter-spacing:2.1px;margin-top:6px;line-height:1.2}@media(max-width:720px){.brand{font-size:27px}}
