:root{--vote-cyan:#49d9ff;--vote-green:#55e0a0;--vote-ink:#031321;--vote-panel:#071f34;--vote-muted:#91aabd}.votes-hero{position:relative;min-height:430px;margin:-1px calc(50% - 50vw) 0;padding:82px max(5vw,28px);display:flex;align-items:center;overflow:hidden;background:radial-gradient(circle at 78% 24%,rgba(73,217,255,.2),transparent 30%),linear-gradient(120deg,#020d18 0%,#06233d 55%,#07192c 100%)}.votes-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,13,24,.1),rgba(2,13,24,.62)),url('/static/img/states/optimized/new-mexico-card.webp') center/cover;opacity:.16}.votes-hero-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(73,217,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(73,217,255,.06) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to right,#000,transparent)}.votes-hero-copy{position:relative;z-index:2;max-width:820px}.votes-kicker{display:block;color:var(--vote-cyan);font-size:12px;font-weight:900;letter-spacing:.15em}.votes-hero h1,.votes-state-hero h1{margin:10px 0 16px;color:#fff;font-size:clamp(44px,6vw,78px);line-height:.98;letter-spacing:-.04em}.votes-hero h1 em{color:#a9edff;font-style:normal}.votes-hero p,.votes-state-hero p{max-width:720px;color:#b9ccda;font-size:18px;line-height:1.6}.votes-trust{margin-top:24px;color:#d9f8ff;font-size:13px}.votes-trust i{color:var(--vote-green);margin-right:8px}.votes-national,.votes-cycle-summary{display:grid;grid-template-columns:1fr 1fr 1.45fr;gap:14px;margin:26px 0}.votes-national article,.votes-cycle-summary article{padding:22px;border:1px solid rgba(73,217,255,.14);border-radius:18px;background:linear-gradient(145deg,rgba(8,32,54,.98),rgba(4,21,37,.98));color:#fff}.votes-national article>span,.votes-cycle-summary article>span{color:#88a9bd;font-size:10px;font-weight:900;letter-spacing:.12em}.votes-national article>strong,.votes-cycle-summary article>strong{display:block;margin:4px 0;font-size:40px}.votes-national article p,.votes-cycle-summary article p{margin:0;color:#a7bdcc}.votes-national article b,.votes-cycle-summary article b{display:block;margin-top:12px;color:#d9f7ff;font-size:11px}.votes-national-explain{display:flex;gap:18px}.votes-national-explain>i{color:var(--vote-cyan);font-size:28px}.votes-national-explain strong{font-size:18px!important}.votes-map-shell,.votes-state-directory,.votes-office-section,.votes-next-layer{margin:26px 0;padding:30px;border:1px solid rgba(73,217,255,.12);border-radius:22px;background:linear-gradient(145deg,rgba(5,26,45,.97),rgba(3,18,32,.97));color:#fff}.votes-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}.votes-section-head h2{margin:6px 0 0;font-size:30px}.votes-section-head>p{max-width:520px;color:#91aabd}.votes-search{display:flex;align-items:center;gap:10px;min-width:290px;padding:12px 14px;border:1px solid rgba(73,217,255,.18);border-radius:13px;background:rgba(255,255,255,.04)}.votes-search input{width:100%;border:0;outline:0;background:transparent;color:#fff}.votes-map-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.55fr);gap:20px}.votes-map-stage{min-height:520px;border-radius:18px;background:radial-gradient(circle at 50% 50%,rgba(73,217,255,.08),transparent 55%),#031624;overflow:hidden}.votes-map-stage #votes-map{height:480px}.votes-map-note{margin:-10px 18px 16px;color:#6f8fa4;font-size:11px}.votes-state-panel{padding:24px;border:1px solid rgba(73,217,255,.14);border-radius:18px;background:rgba(255,255,255,.035)}.votes-state-title{display:flex;justify-content:space-between;gap:15px;align-items:center}.votes-state-title h2{font-size:30px}.votes-state-title strong{display:grid;place-items:center;width:54px;height:54px;border:1px solid rgba(73,217,255,.22);border-radius:14px;color:var(--vote-cyan)}.votes-state-stat{padding:18px 0;border-top:1px solid rgba(255,255,255,.08)}.votes-state-stat span{display:block;color:#7f9fb4;font-size:10px;font-weight:900;letter-spacing:.1em}.votes-state-stat strong{display:block;margin:5px 0;font-size:34px}.votes-state-stat small{color:#a4bbc9}.votes-state-open{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding:14px 16px;border-radius:12px;background:rgba(73,217,255,.12);color:#e9fbff;text-decoration:none;font-weight:800}.votes-state-open.disabled{pointer-events:none;opacity:.4}.votes-state-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.votes-state-cards a{position:relative;padding:16px;border:1px solid rgba(255,255,255,.07);border-radius:14px;background:rgba(255,255,255,.035);color:#fff;text-decoration:none}.votes-state-cards a:hover{border-color:rgba(73,217,255,.32);transform:translateY(-1px)}.votes-state-cards span{color:var(--vote-cyan);font-size:10px;font-weight:900}.votes-state-cards strong{display:block;margin:5px 0}.votes-state-cards small{color:#819eb1}.votes-state-cards i{position:absolute;right:14px;top:18px;color:#6b899d}.votes-state-hero{display:flex;justify-content:space-between;align-items:center;gap:30px;margin:-1px calc(50% - 50vw) 0;padding:64px max(5vw,28px);background:radial-gradient(circle at 80% 30%,rgba(73,217,255,.18),transparent 25%),linear-gradient(120deg,#020d18,#072b49)}.votes-state-hero h1{font-size:clamp(40px,5vw,66px)}.votes-state-hero-code{font-size:clamp(90px,15vw,180px);font-weight:950;line-height:1;color:rgba(73,217,255,.1)}.votes-back{display:inline-flex;gap:8px;margin-bottom:22px;color:#a7c4d6;text-decoration:none}.votes-cycle-summary{grid-template-columns:1fr 1fr}.votes-official-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.votes-official-card{display:grid;grid-template-columns:54px 1fr auto;gap:15px;align-items:center;padding:20px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.035);color:#fff;text-decoration:none}.votes-official-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:rgba(73,217,255,.1);color:var(--vote-cyan)}.votes-official-card span,.votes-official-card p{color:#89a6b8;font-size:11px}.votes-official-card h3{margin:3px 0;font-size:21px}.votes-official-card b{display:inline-block;margin-top:8px;padding:5px 8px;border-radius:8px;font-size:9px;text-transform:uppercase}.cycle-yes{background:rgba(85,224,160,.12);color:#9ff4c8}.cycle-no{background:rgba(255,255,255,.06);color:#a6bdca}.cycle-unknown{background:rgba(255,190,70,.1);color:#ffd58a}.votes-district-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.votes-district-grid article{padding:20px;border:1px solid rgba(255,255,255,.07);border-radius:15px;background:rgba(255,255,255,.03)}.votes-district-grid article>span{color:#7e9caf;font-size:9px;font-weight:900}.votes-district-grid article>strong{display:block;color:var(--vote-cyan);font-size:34px}.votes-district-grid h3{margin:8px 0 2px}.votes-district-grid p{color:#8fa8b8}.votes-district-grid a{display:inline-block;margin-top:10px;color:#c9f5ff;text-decoration:none;font-weight:800}.votes-next-layer{display:flex;justify-content:space-between;align-items:center;gap:30px}.votes-next-layer p{max-width:800px;color:#91aabd}.votes-next-layer>a{flex:0 0 auto;padding:13px 16px;border:1px solid rgba(73,217,255,.22);border-radius:12px;color:#e5fbff;text-decoration:none}.votes-empty{color:#8fa8b8}@media(max-width:900px){.votes-national{grid-template-columns:1fr 1fr}.votes-national-explain{grid-column:1/-1}.votes-map-grid{grid-template-columns:1fr}.votes-state-cards{grid-template-columns:repeat(2,1fr)}.votes-official-grid,.votes-district-grid{grid-template-columns:1fr 1fr}.votes-section-head{align-items:stretch;flex-direction:column}.votes-search{min-width:0}.votes-state-hero-code{display:none}}@media(max-width:600px){.votes-national,.votes-cycle-summary,.votes-official-grid,.votes-district-grid,.votes-state-cards{grid-template-columns:1fr}.votes-map-shell,.votes-state-directory,.votes-office-section,.votes-next-layer{padding:20px}.votes-next-layer{align-items:flex-start;flex-direction:column}}

/* America Votes national control center */
.votes-control{margin:26px 0;padding:28px;border:1px solid rgba(73,217,255,.16);border-radius:22px;background:radial-gradient(circle at 85% 15%,rgba(73,217,255,.08),transparent 30%),linear-gradient(145deg,rgba(5,27,47,.99),rgba(3,17,30,.99));color:#fff;box-shadow:0 22px 60px rgba(0,0,0,.18)}
.votes-control-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.votes-control-head h2{margin:5px 0 0;font-size:30px}.votes-live{padding:8px 11px;border:1px solid rgba(85,224,160,.18);border-radius:999px;color:#a8c3d3;font-size:9px;font-weight:900;letter-spacing:.1em}.votes-live i{display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:var(--vote-green);box-shadow:0 0 12px rgba(85,224,160,.8)}
.votes-control-grid{display:grid;grid-template-columns:1fr 1fr .8fr;gap:14px}.votes-big-stat,.votes-control-guide{position:relative;min-height:250px;padding:22px;border:1px solid rgba(73,217,255,.13);border-radius:18px;background:linear-gradient(150deg,rgba(10,39,64,.9),rgba(4,23,39,.92));overflow:hidden}.votes-big-stat:after{content:"";position:absolute;width:180px;height:180px;right:-70px;top:-70px;border:1px solid rgba(73,217,255,.08);border-radius:50%}.votes-stat-icon{position:absolute;right:20px;top:20px;display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(73,217,255,.15);border-radius:12px;color:var(--vote-cyan);background:rgba(73,217,255,.05)}.votes-big-stat span,.votes-control-guide>span{color:#87a9bd;font-size:10px;font-weight:900;letter-spacing:.13em}.votes-big-stat strong{display:block;margin:4px 0 -3px;color:#fff;font-size:clamp(62px,7vw,92px);line-height:1;font-weight:950;letter-spacing:-.055em}.votes-big-stat h3{margin:0 0 12px;color:#dff9ff;font-size:17px}.votes-big-stat p{max-width:330px;margin:0;color:#93adbd;font-size:13px;line-height:1.5}.votes-big-stat p b{color:#e8faff}.votes-meter{position:absolute;left:22px;right:22px;bottom:39px;height:4px;border-radius:99px;background:rgba(255,255,255,.07);overflow:hidden}.votes-meter i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#248db4,var(--vote-cyan));box-shadow:0 0 12px rgba(73,217,255,.4)}.votes-meter.senate-meter i{background:linear-gradient(90deg,#248db4,#55e0a0)}.votes-big-stat>small{position:absolute;left:22px;bottom:17px;color:#66879b;font-size:8px;font-weight:900;letter-spacing:.11em}.votes-control-guide{display:flex;flex-direction:column;justify-content:center}.votes-control-guide strong{display:block;margin:8px 0 10px;color:#fff;font-size:25px;line-height:1.1}.votes-control-guide p{margin:0;color:#96afbf;font-size:14px;line-height:1.55}.votes-control-guide p b{color:#dff8ff}.votes-control-guide a{display:flex;align-items:center;justify-content:space-between;margin-top:22px;padding-top:15px;border-top:1px solid rgba(255,255,255,.08);color:#bfefff;text-decoration:none;font-size:12px;font-weight:900}.votes-map-intro{max-width:680px!important;margin:8px 0 0;color:#91aabd!important;font-size:13px}.votes-map-legend{display:flex;gap:18px;flex-wrap:wrap;margin:-8px 0 18px;color:#8faabd;font-size:10px;font-weight:800}.votes-map-legend span{display:flex;align-items:center;gap:7px}.votes-map-legend i{width:10px;height:10px;border-radius:3px;background:#102b40;border:1px solid #7895a8}.votes-map-legend i.regular{background:var(--vote-cyan);border-color:var(--vote-cyan);box-shadow:0 0 8px rgba(73,217,255,.3)}.votes-map-legend i.special{background:var(--vote-green);border-color:var(--vote-green);box-shadow:0 0 8px rgba(85,224,160,.3)}
@media(max-width:900px){.votes-control-grid{grid-template-columns:1fr 1fr}.votes-control-guide{grid-column:1/-1;min-height:auto}.votes-control-head{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.votes-control{padding:20px}.votes-control-grid{grid-template-columns:1fr}.votes-control-guide{grid-column:auto}.votes-big-stat{min-height:235px}}

/* V4: more human election storytelling */
.votes-state-people{padding:18px 0;border-top:1px solid rgba(255,255,255,.08)}
.votes-state-people>span{display:block;margin-bottom:11px;color:#7f9fb4;font-size:10px;font-weight:900;letter-spacing:.1em}
.votes-mini-people{display:grid;grid-template-columns:1fr 1fr;gap:9px}.votes-mini-people>p{grid-column:1/-1;color:#8fa8b8;font-size:12px}
.votes-mini-person{min-width:0}.votes-mini-person img,.votes-mini-fallback{width:58px;height:58px;border-radius:14px;object-fit:cover;object-position:top center;background:#0b2b44;border:1px solid rgba(73,217,255,.18)}
.votes-mini-fallback{display:grid;place-items:center;color:var(--vote-cyan)}.votes-mini-person p{margin:6px 0 0;line-height:1.15}.votes-mini-person b{display:block;color:#fff;font-size:11px}.votes-mini-person small{display:block;margin-top:3px;color:#7897aa;font-size:9px}
.votes-state-cards a{min-height:148px;padding:0;overflow:hidden;background:#071d31}.votes-state-card-photo{position:absolute;inset:0;background-image:linear-gradient(180deg,rgba(3,18,32,.1),rgba(3,18,32,.93)),var(--state-photo);background-position:center;background-size:cover;opacity:.62;transition:transform .2s ease,opacity .2s ease}.votes-state-cards a:hover .votes-state-card-photo{transform:scale(1.035);opacity:.78}.votes-state-card-copy{position:absolute;left:16px;right:38px;bottom:15px;z-index:2}.votes-state-card-copy span{display:block}.votes-state-card-copy strong{font-size:17px;text-shadow:0 1px 10px rgba(0,0,0,.65)}.votes-state-card-copy small{display:block;line-height:1.3;color:#b7d1df}.votes-state-cards>a>i{z-index:3;color:#a5dced}
.votes-state-hero{position:relative;overflow:hidden}.votes-state-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(2,13,24,.96),rgba(2,13,24,.64)),var(--state-hero);background-position:center;background-size:cover;opacity:.42}.votes-state-hero>div{position:relative;z-index:1}
.votes-cycle-summary-v4 article strong{font-size:48px}.votes-official-card-photo{grid-template-columns:82px 1fr auto;min-height:120px}.votes-official-portrait,.votes-official-portrait img,.votes-official-fallback{width:82px;height:92px;border-radius:13px}.votes-official-portrait{overflow:hidden;background:#0a2941}.votes-official-portrait img{object-fit:cover;object-position:top center}.votes-official-fallback{display:grid;place-items:center;color:var(--vote-cyan);font-size:24px}
.votes-record-section{margin:26px 0;padding:30px;border:1px solid rgba(73,217,255,.15);border-radius:22px;background:radial-gradient(circle at 50% 0,rgba(73,217,255,.07),transparent 36%),linear-gradient(145deg,rgba(5,26,45,.98),rgba(3,18,32,.98));color:#fff}.votes-topic-compare{display:grid;grid-template-columns:1fr 1fr;gap:16px}.votes-topic-compare>article{padding:22px;border:1px solid rgba(255,255,255,.08);border-radius:17px;background:rgba(255,255,255,.025)}.votes-topic-head{display:flex;justify-content:space-between;gap:14px;align-items:baseline;margin-bottom:18px}.votes-topic-head span{color:var(--vote-cyan);font-size:10px;font-weight:900;letter-spacing:.12em}.votes-topic-head strong{font-size:16px}.votes-topic-row{margin:12px 0}.votes-topic-row>div{display:flex;justify-content:space-between;gap:10px;margin-bottom:5px;color:#d8e8f1;font-size:12px}.votes-topic-row>div b{color:#fff}.votes-topic-row>i{display:block;height:6px;border-radius:99px;background:rgba(255,255,255,.07);overflow:hidden}.votes-topic-row>i em{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#2b9fc6,var(--vote-cyan));box-shadow:0 0 10px rgba(73,217,255,.2)}.votes-record-next{margin-top:14px;padding:13px 15px;border-left:3px solid var(--vote-cyan);background:rgba(73,217,255,.045);color:#8facbd;font-size:12px}.votes-record-next b{color:#dff8ff}
.votes-district-card{position:relative}.votes-district-person{display:flex;align-items:center;gap:10px;margin-top:10px}.votes-district-person img{width:46px;height:52px;border-radius:9px;object-fit:cover;object-position:top center}.votes-district-person h3{margin:0}.votes-district-person p{margin:2px 0 0}
@media(max-width:900px){.votes-topic-compare{grid-template-columns:1fr}.votes-state-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.votes-mini-people{grid-template-columns:1fr 1fr}.votes-state-cards{grid-template-columns:1fr}.votes-official-card-photo{grid-template-columns:70px 1fr auto}.votes-official-portrait,.votes-official-portrait img,.votes-official-fallback{width:70px;height:80px}.votes-record-section{padding:20px}}

/* V5: link the portrait and name, and make verified seats unmistakable. */
.votes-mini-person{display:block;color:inherit;text-decoration:none;border:1px solid transparent;border-radius:12px;padding:7px;transition:background .15s,border-color .15s}
.votes-mini-person:hover,.votes-mini-person:focus-visible{background:rgba(73,217,255,.1);border-color:rgba(73,217,255,.5);outline:none}
.votes-mini-person-up,.votes-official-up{border-color:rgba(85,224,160,.7)!important;background:linear-gradient(145deg,rgba(85,224,160,.13),rgba(7,31,52,.6))!important;box-shadow:0 0 0 1px rgba(85,224,160,.13),0 0 22px rgba(85,224,160,.08)}
.votes-election-flag{display:block;margin-top:8px;padding:5px 6px;border-radius:6px;background:#55e0a0;color:#032519;font-size:9px;font-weight:900;letter-spacing:.035em;line-height:1.3}
.votes-official-up .cycle-yes{background:#55e0a0;color:#032519;font-size:11px;padding:8px 11px}

/* V7: recorded votes are distinct from sponsorship activity. */
.votes-ballot-list{display:grid;gap:11px}.votes-ballot-item{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:17px 19px;border:1px solid rgba(73,217,255,.13);border-radius:14px;background:rgba(255,255,255,.035)}.votes-ballot-item h3{margin:6px 0;color:#fff;font-size:16px;line-height:1.4}.votes-ballot-item p{margin:0;color:#9bb7c9;font-size:12px}.votes-ballot-item a{color:#79e2ff}.votes-ballot-date,.votes-ballot-outcome span{color:#8cb1c7;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.votes-ballot-outcome{min-width:125px;display:flex;flex-direction:column;gap:5px;align-items:flex-start}.votes-ballot-outcome strong{font-size:19px;color:#e6fbff}.votes-ballot-outcome a{font-size:11px}.votes-ballot-note{color:#90aebe;font-size:12px;line-height:1.6;margin:16px 0 0}@media(max-width:600px){.votes-ballot-item{align-items:flex-start;flex-direction:column;gap:12px}.votes-ballot-outcome{min-width:0}}


/* ADC CONTINUOUS DARK PAGE CANVAS — scoped to this page only.
   Overrides the shared light page surface without altering site navigation. */
html:has(.votes-hero),
body:has(.votes-hero) { background-color: #061525; }
body:has(.votes-hero) { color: #e8f5ff; }
body:has(.votes-hero) main,
body:has(.votes-hero) .main-content,
body:has(.votes-hero) .page-content,
body:has(.votes-hero) .content-wrapper,
body:has(.votes-hero) #main-content,
body:has(.votes-hero) #content,
body:has(.votes-hero) .container-fluid { background-color: transparent; }
body:has(.votes-hero) main { box-shadow: none; }

/* ADC CONTINUOUS DARK PAGE CANVAS — scoped to this page only.
   Overrides the shared light page surface without altering site navigation. */
html:has(.votes-state-hero),
body:has(.votes-state-hero) { background-color: #061525; }
body:has(.votes-state-hero) { color: #e8f5ff; }
body:has(.votes-state-hero) main,
body:has(.votes-state-hero) .main-content,
body:has(.votes-state-hero) .page-content,
body:has(.votes-state-hero) .content-wrapper,
body:has(.votes-state-hero) #main-content,
body:has(.votes-state-hero) #content,
body:has(.votes-state-hero) .container-fluid { background-color: transparent; }
body:has(.votes-state-hero) main { box-shadow: none; }

/* Let the election dashboard flow into the same dark canvas as its hero. */
body:has(.votes-hero) .votes-control,
body:has(.votes-hero) .votes-map-shell,
body:has(.votes-hero) .votes-state-directory,
body:has(.votes-state-hero) .votes-office-section { box-shadow: 0 18px 48px rgba(0,0,0,.18); }
body:has(.votes-hero) .votes-hero { margin-bottom: 0; }

/* V4: explicit dark page canvas and full-width hero. */
body.adc-votes-page{background:#041321!important;color:#eaf6ff;}
body.adc-votes-page .votes-hero,body.adc-votes-page .votes-state-hero{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);}
body.adc-votes-page .votes-control,body.adc-votes-page .votes-map-shell,body.adc-votes-page .votes-state-directory,body.adc-votes-page .votes-office-section,body.adc-votes-page .votes-record-section{color:#eaf6ff;}
