/* Results-only surface: no overrides of the other election tools. */
.cpx-count-map-canvas path{transition:filter .16s ease,stroke .16s ease,stroke-width .16s ease;stroke-linejoin:round}
.cpx-count .cpx-count-map-canvas path:hover,.cpx-count .cpx-count-map-canvas path:focus-visible{filter:drop-shadow(0 2px 3px rgba(16,39,84,.22));stroke:#1687bd;stroke-width:2;outline:none}
.cpx-count .cpx-count-map-canvas path[aria-pressed=true]{filter:drop-shadow(0 2px 3px rgba(16,39,84,.22));stroke:#0d1f44;stroke-width:2.5}
.cpx-count-map-tooltip{position:absolute;z-index:3;left:0;top:0;display:none;max-width:min(220px,70%);padding:7px 11px;border:1px solid #d7e0eb;border-radius:7px;background:#fff;color:#102754;box-shadow:0 5px 16px rgba(12,31,64,.16);font:650 12px/1.25 "Cortex Interface",Arial,sans-serif;white-space:nowrap;pointer-events:none;transform:translate(-50%,-100%)}
.cpx-count-map-tooltip::after{position:absolute;left:50%;bottom:-5px;width:8px;height:8px;border-right:1px solid #d7e0eb;border-bottom:1px solid #d7e0eb;background:#fff;content:"";transform:translateX(-50%) rotate(45deg)}
.cpx-count-map-tooltip.is-visible{display:block}
.cpx-count .cpx-count-map-parent{position:absolute;left:12px;top:12px;z-index:1;display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 12px;background:#fff;color:#233f65;border:1px solid #d1dbe7;border-radius:6px;box-shadow:0 2px 8px #15274418;font:650 13px/1.2 "Cortex Interface",Arial,sans-serif;transform:none}
.cpx-count .cpx-count-map-parent:hover{background:#edf3fa;color:#12274c;border-color:#9bacbf}
.cpx-count-map-parent>span:first-child{font-size:22px;font-weight:400}
.cpx-count-map{min-width:0;padding:0;background:#fff;position:static}
.cpx-count-map-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.cpx-count-map-heading h2{font:750 24px/1.25 "Cortex Interface",Arial,sans-serif;margin:0;color:#12274c;letter-spacing:-.04em}.cpx-count-map-heading button{background:#f3f6fa!important;color:#233f65!important;border:1px solid #d9e2ed!important;min-height:36px;font-size:11px!important;padding:0 10px!important}
.cpx-count-map>p:not(.cpx-count-footnote){font-size:12px;color:#68788e;margin:10px 0 16px}.cpx-count-city-label{display:block;font-size:11px;font-weight:700;color:#576b84}.cpx-count-city-label select{display:block;margin-top:6px}.cpx-count-map-canvas{position:relative;background:#f8fafc;border-radius:8px;margin:14px 0;overflow:hidden}.cpx-count-map-canvas svg{display:block;width:100%;height:auto;aspect-ratio:6/5;max-height:500px;touch-action:pan-y}.cpx-count-map-canvas path{cursor:pointer;transition:filter .15s}.cpx-count-map-canvas path:hover,.cpx-count-map-canvas path:focus{filter:brightness(.88);stroke:#102754;stroke-width:2;outline:none}.cpx-count-map-canvas path[aria-pressed=true]{stroke:#0d1f44;stroke-width:3}.cpx-count-map-canvas path[aria-disabled=true]{cursor:default}.cpx-count-map-zoom{position:absolute;right:12px;bottom:12px;display:flex;flex-direction:column;gap:5px}.cpx-count-map-zoom button{width:34px;min-height:34px;height:34px;padding:0!important;background:#fff!important;color:#233f65!important;border:1px solid #d1dbe7!important;font:500 20px/1 Arial!important;box-shadow:0 2px 8px #15274410;border-radius:6px}
.cpx-count-map-detail{min-height:67px;padding:13px 15px;border:1px solid #e0e6ed;border-radius:7px;font-size:12px;color:#607189;line-height:1.5}.cpx-count-map-detail strong{display:block;color:#193252;font-size:14px;margin-bottom:3px}.cpx-count-map-detail b{font-weight:750;color:#203859}.cpx-count-map-legend{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:18px;font-size:10px;color:#435872;max-height:180px;overflow:auto}.cpx-count-map-legend>span{display:flex;align-items:center;gap:5px}.cpx-count-map-legend i{width:10px;height:10px;border-radius:3px;flex:none}.cpx-count-map-legend small{color:#77859a;font-size:9px}
.cpx-count-avatar{position:relative}.cpx-count-avatar img{position:absolute;inset:0;object-position:center 22%}.cpx-count-party{display:inline-flex;align-items:center;gap:6px}.cpx-count-party-logo{width:28px;height:19px;object-fit:contain;background:#fff}.cpx-count-photo-credit{display:block;margin-top:5px;font-size:9px;color:#647a95!important;width:max-content}.cpx-count-candidate .cpx-count-vote-bar i{background:var(--candidate-color,#7397b9)}
.cpx-count-modes{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.cpx-count-modes a{display:block;padding:9px 12px;border:1px solid #d8e1ec;border-radius:6px;color:#52667e;font-size:12px;font-weight:650}.cpx-count-modes a[aria-current=page]{background:#102754;color:white;border-color:#102754}.cpx-count-notice.is-history{background:#eef8f7;color:#235e5a;border-color:#c9e6e2}.cpx-count-outcome[data-outcome=nao_eleito],.cpx-count-outcome[data-outcome=suplente]{background:#edf1f5;color:#596477}
.cpx-count{max-width:1320px;padding-top:22px;--count-light:#f4f7fb;--count-border:#e1e6ee}.cpx-count [hidden]{display:none!important}.cpx-count button{padding:0 16px}.cpx-count a{text-decoration:none}.cpx-count .cpx-election-nav{border:0;border-bottom:1px solid var(--count-border);border-radius:0;background:none;padding:0 0 16px;margin-bottom:32px;gap:12px}.cpx-count .cpx-election-nav a{padding:0 12px;font-weight:650}
.cpx-count-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 28px}.cpx-count-eyebrow{font:800 10px/1.5 "Cortex Interface",Arial,sans-serif;letter-spacing:.13em;margin:0 0 8px;color:#5e6b83}.cpx-count-heading h1{font-size:64px;letter-spacing:-.055em;margin:0 0 12px;line-height:1.05}.cpx-count-heading p:last-child{margin:0;color:#667085;font-size:15px}.cpx-count-date{display:flex;flex-direction:column;gap:4px;padding-left:28px;border-left:1px solid var(--count-border);font-size:10px;color:#667085;white-space:nowrap}.cpx-count-date>span:first-child{letter-spacing:.12em;font-weight:800;color:var(--cpx-primary)}.cpx-count-date strong{font-size:34px;line-height:1.25;letter-spacing:-.04em;color:var(--cpx-primary)}.cpx-count-date small{font-size:17px;font-weight:550;letter-spacing:-.03em}
.cpx-count-notice{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px;margin-bottom:28px;border:1px solid #cde4f0;border-radius:8px;background:#f1f9fd;color:#215674}.cpx-count-notice strong{font-size:12px}.cpx-count-notice p{font-size:12px;line-height:1.5;margin:4px 0 0;max-width:780px}.cpx-count-notice a{font-size:12px;font-weight:750;white-space:nowrap;color:inherit;border-bottom:1px solid currentColor;padding:4px 0}.cpx-count-notice.is-demo{background:#fff9ee;border-color:#f0d9a8;color:#80530a}
.cpx-count-filters fieldset{display:grid;grid-template-columns:1.25fr 1fr .7fr auto;gap:14px;border:0;padding:0;margin:0}.cpx-count-filters label{font-size:11px;font-weight:750;color:#536179}.cpx-count select,.cpx-count input[type=search]{height:46px;width:100%;border:1px solid #d8dfe9;border-radius:6px;padding:0 12px;background:#fff;color:var(--cpx-primary);font-size:13px}.cpx-count-filters select{display:block;margin-top:7px}.cpx-count-filters button{align-self:end;height:46px;border-radius:6px}
.cpx-count-offices{display:flex;gap:24px;overflow:auto;margin:24px 0 30px;border-bottom:1px solid var(--count-border);scrollbar-width:none}.cpx-count .cpx-count-offices button{background:none;color:#6b7484;border:0;border-radius:0;border-bottom:3px solid transparent;white-space:nowrap;padding:12px 0;font-size:13px;font-weight:650;transform:none}.cpx-count .cpx-count-offices button[aria-pressed=true]{color:var(--cpx-primary);border-bottom-color:var(--cpx-accent)}.cpx-count-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:40px;align-items:start}.cpx-count-main{min-width:0}.cpx-count-titlebar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 22px}.cpx-count-titlebar h2{font-family:"Cortex Interface",Arial,sans-serif;font-size:30px;letter-spacing:-.04em;line-height:1.2;margin:4px 0 0}.cpx-count-titlebar .cpx-count-eyebrow{margin:0}.cpx-count .cpx-count-share{background:transparent;border:1px solid var(--count-border);color:#435169;font-size:11px;min-height:36px;font-weight:600;padding:0 10px}
.cpx-count-progress-panel{padding:20px;background:var(--count-light);border:1px solid var(--count-border);border-radius:10px}.cpx-count-progress-label{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.cpx-count-progress-label>span{font-size:13px;font-weight:650;color:#34445e}.cpx-count-progress-label strong{font-size:32px;line-height:1;font-weight:800;letter-spacing:-.06em;color:var(--cpx-primary);font-variant-numeric:tabular-nums}.cpx-count-progress{height:8px;margin:15px 0 10px;background:#e0e7ef;border-radius:6px;overflow:hidden}.cpx-count-progress i{display:block;width:0;height:100%;background:var(--cpx-accent);border-radius:6px;transition:width .65s ease}.cpx-count-progress-foot{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#68748a}
.cpx-count-playback{display:flex;gap:12px;align-items:center;padding:14px 0 20px;border-bottom:1px solid var(--count-border);margin-bottom:20px}.cpx-count-playback>button{font-size:11px;min-height:36px;border-radius:6px;padding:0 10px}.cpx-count-playback label{font-size:10px;color:#806126;flex:1}.cpx-count-playback input{display:block;width:100%;accent-color:#bc8320;margin:7px 0 0}.cpx-count-playback output{font:700 12px/1 "Cortex Interface",Arial,sans-serif;font-variant-numeric:tabular-nums;min-width:30px}.cpx-count .cpx-count-reset{background:transparent;color:#6d5424;border-color:#dfd0b7;font-weight:600}
.cpx-count-searchbar{display:grid;grid-template-columns:minmax(0,1fr) 150px 130px;gap:10px;margin:22px 0 18px}.cpx-count-searchbar select,.cpx-count-searchbar input[type=search]{height:40px;font-size:11px;color:#58667c}.cpx-count-list-label{display:flex;justify-content:space-between;font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.05em;color:#7a8597;padding-bottom:12px;border-bottom:1px solid var(--count-border)}
.cpx-count-candidate{display:grid;grid-template-columns:50px minmax(0,1fr) auto;column-gap:16px;align-items:center;padding:20px 0;border-bottom:1px solid var(--count-border)}.cpx-count-avatar{display:grid;place-items:center;background:#edf2f8;border:1px solid #e1e7ef;color:#4b6182;width:50px;height:50px;border-radius:50%;font-size:13px;font-weight:750;overflow:hidden}.cpx-count-avatar img{width:100%;height:100%;object-fit:cover}.cpx-count-person h3{font:750 16px/1.3 "Cortex Interface",Arial,sans-serif;letter-spacing:-.02em;margin:0 0 5px;color:#172b4a;overflow-wrap:anywhere}.cpx-count-person>span{font-size:10px;color:#71809a}.cpx-count-candidate>strong{text-align:right;color:var(--cpx-primary);font-size:26px;font-weight:800;line-height:1.1;letter-spacing:-.045em;font-variant-numeric:tabular-nums;white-space:nowrap}.cpx-count-candidate>strong small{display:block;margin-top:6px;font-size:10px;font-weight:500;letter-spacing:0;color:#68748a}.cpx-count-vote-bar{grid-column:2/-1;margin-top:12px;height:4px;background:#edf1f6;border-radius:3px;overflow:hidden}.cpx-count-vote-bar i{display:block;height:100%;width:var(--vote-share);background:#7397b9;border-radius:3px;transition:width .6s ease}.cpx-count-outcome{display:inline-block;padding:2px 6px;border-radius:3px;background:#e6f4ee;color:#076241;font-size:9px;margin-left:6px;font-weight:750}.cpx-count .cpx-count-more{display:block;width:100%;margin:20px 0 0;background:var(--count-light);border:1px solid var(--count-border);color:var(--cpx-primary);font-size:12px}.cpx-count-empty{margin:16px 0;padding:42px 24px;text-align:center;background:var(--count-light);border-radius:8px;color:#65728a;font-size:14px;line-height:1.7}.cpx-count-footnote{color:#7a8597;font-size:11px;line-height:1.6;margin:16px 0 0}.cpx-count-feedback{font-size:12px;color:#5b6a80;margin:12px 0;min-height:18px}
.cpx-count-sidebar{display:flex;flex-direction:column;gap:20px}.cpx-count-summary,.cpx-count-places{padding:24px;border:1px solid var(--count-border);border-radius:10px;background:white}.cpx-count-sidebar h2{font:750 17px/1.35 "Cortex Interface",Arial,sans-serif;letter-spacing:-.025em;margin:0 0 18px;color:var(--cpx-primary)}.cpx-count-summary dl{margin:0}.cpx-count-summary dl>div{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0f5}.cpx-count-summary dl>div:last-child{border-bottom:0}.cpx-count-summary dt{font-size:12px;color:#667085}.cpx-count-summary dd{font-size:15px;font-weight:750;color:#203554;margin:0;font-variant-numeric:tabular-nums}.cpx-count-places>p:not(.cpx-count-eyebrow){font-size:12px;color:#7a8597;line-height:1.6;margin:-8px 0 20px}.cpx-count-region h3{font-size:10px;font-weight:650;color:#778298;line-height:1.2;margin:16px 0 8px}.cpx-count-region>div{display:flex;flex-wrap:wrap;gap:6px}.cpx-count-region button{min-height:34px;width:35px;padding:0;background:#f4f7fb;border:1px solid #e2e8f0;color:#435a7b;font-size:10px;border-radius:5px}.cpx-count-region button[aria-pressed=true]{color:white;background:var(--cpx-primary);border-color:var(--cpx-primary)}.cpx-count-source{display:flex;gap:12px;background:#f4f8fb;padding:20px;border-radius:8px}.cpx-count-source-icon{width:26px;height:26px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:#e0f3ed;color:#087a55;font-size:13px}.cpx-count-source h2{font-size:13px;margin:2px 0 8px}.cpx-count-source p{font-size:11px;color:#667085;line-height:1.65;margin:0 0 12px}.cpx-count-source a{font-size:11px;font-weight:750;color:var(--cpx-primary)}.cpx-count-source small{display:block;font-size:10px;color:#7a8597;margin-top:8px;line-height:1.5}
.cpx-count-method{border-top:1px solid var(--count-border);margin-top:40px;padding-top:28px;max-width:100%}.cpx-count-method h2{font-size:24px;margin:0 0 18px;letter-spacing:-.02em}.cpx-count-method details{border-bottom:1px solid var(--count-border);padding:15px 0}.cpx-count-method summary{cursor:pointer;font-size:13px;font-weight:650;color:#374b68}.cpx-count-method p{font-size:13px;color:#667085;max-width:850px;line-height:1.7}.cpx-count-footer{display:flex;justify-content:space-between;gap:24px;padding-top:30px;font-size:10px;color:#7a8597}
@media(max-width:1000px){.cpx-count-layout{grid-template-columns:minmax(0,1fr) 290px;gap:24px}.cpx-count-searchbar{grid-template-columns:1fr 1fr}.cpx-count-searchbar>label:first-child{grid-column:1/-1}.cpx-count-offices{gap:20px}.cpx-count-playback{flex-wrap:wrap}.cpx-count-summary,.cpx-count-places{padding:20px}}
@media(max-width:760px){.cpx-count{padding:18px 18px 40px}.cpx-count .cpx-election-nav{margin-bottom:24px;gap:2px}.cpx-count-heading{gap:16px;margin-bottom:22px}.cpx-count-heading h1{font-size:44px}.cpx-count-heading p:last-child{font-size:12px;line-height:1.5;max-width:215px}.cpx-count-date{padding-left:14px;font-size:9px}.cpx-count-date strong{font-size:28px}.cpx-count-date small{font-size:13px}.cpx-count-date>span:last-child{display:none}.cpx-count-notice{display:block;padding:14px 16px;margin-bottom:22px}.cpx-count-notice strong{font-size:10px}.cpx-count-notice p{font-size:11px}.cpx-count-notice a{display:inline-block;margin-top:8px;font-size:11px}.cpx-count-filters fieldset{grid-template-columns:1fr 1fr;gap:12px}.cpx-count-filters label{font-size:10px}.cpx-count-filters button{font-size:12px}.cpx-count select{font-size:12px}.cpx-count-offices{margin:18px 0 24px}.cpx-count-offices button{font-size:12px!important}.cpx-count-layout{display:flex;flex-direction:column;gap:30px}.cpx-count-main,.cpx-count-sidebar{width:100%}.cpx-count-titlebar h2{font-size:26px}.cpx-count-titlebar{margin-bottom:18px}.cpx-count .cpx-count-share{font-size:10px}.cpx-count-progress-panel{padding:17px}.cpx-count-progress-label>span{font-size:12px}.cpx-count-progress-label strong{font-size:30px}.cpx-count-progress-foot{font-size:9px;line-height:1.5}.cpx-count-playback{gap:10px}.cpx-count-playback label{min-width:140px}.cpx-count .cpx-count-reset{margin-left:auto;min-height:28px;font-size:10px}.cpx-count-candidate{grid-template-columns:40px minmax(0,1fr) auto;gap:10px;padding:18px 0}.cpx-count-avatar{width:40px;height:40px;font-size:11px}.cpx-count-person h3{font-size:14px;line-height:1.35}.cpx-count-candidate>strong{font-size:22px}.cpx-count-candidate>strong small{font-size:9px}.cpx-count-person>span{font-size:9px}.cpx-count-vote-bar{margin-top:0}.cpx-count-list-label{font-size:9px}.cpx-count-footer{flex-direction:column;gap:8px}.cpx-count-method{margin-top:28px}.cpx-count-sidebar h2{font-size:18px}}
.cpx-count .cpx-count-offices button{flex:0 0 auto}
.cpx-count .cpx-count-reset:hover,.cpx-count .cpx-count-reset:focus-visible{background:#fbf4e8;color:#6d5424;border-color:#b79557}
.cpx-count .cpx-count-more:hover,.cpx-count .cpx-count-share:hover,.cpx-count-region button:hover{background:#e8eef7;color:#07194f;border-color:#a7b6cb}
@media(min-width:761px){.cpx-count{padding-top:16px}.cpx-count .cpx-election-nav{margin-bottom:20px;padding-bottom:10px}.cpx-count-heading{margin-bottom:20px}.cpx-count-heading h1{font-size:52px}.cpx-count-notice{margin-bottom:20px;padding:13px 18px}.cpx-count-offices{margin:18px 0 22px}.cpx-count-titlebar{margin-bottom:16px}.cpx-count-progress-panel{padding:16px 18px}.cpx-count-playback{padding-bottom:14px;margin-bottom:14px}.cpx-count-searchbar{margin:16px 0 12px}.cpx-count-candidate{padding:18px 0}}
@media(prefers-reduced-motion:reduce){.cpx-count *{transition:none!important;animation:none!important}}
@media(max-width:480px){.cpx-count[data-cpx-history] .cpx-count-heading{display:block}.cpx-count[data-cpx-history] .cpx-count-heading h1{font-size:38px}.cpx-count[data-cpx-history] .cpx-count-heading p:last-child{max-width:none}.cpx-count[data-cpx-history] .cpx-count-date{margin-top:16px;padding:0;border:0;flex-direction:row;align-items:center;gap:12px}.cpx-count[data-cpx-history] .cpx-count-date strong{font-size:18px}.cpx-count[data-cpx-history] .cpx-count-date small{font-size:12px}}
@media(max-width:800px){
 .cpx-count[data-count-enhanced] .cpx-count-offices{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;overflow:visible;border:0;margin:20px 0 24px}
 .cpx-count[data-count-enhanced] .cpx-count-offices button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:68px;padding:10px 6px;border:1px solid var(--count-border);border-bottom:3px solid var(--count-border);border-radius:8px;background:#fff;font-size:clamp(13px,3.8vw,16px)!important;line-height:1.2;text-align:center;white-space:normal;overflow-wrap:anywhere;hyphens:none}
 .cpx-count[data-count-enhanced] .cpx-count-offices button[aria-pressed=true]{border-color:#b7cbe0;border-bottom-color:var(--cpx-accent);background:#f4f7fb}
}
@media(max-width:360px){.cpx-count[data-count-enhanced] .cpx-count-offices button{font-size:13px!important}}
/* Editorial results layout. The bounded map column follows the results rail. */
.cpx-count{--count-border:#dfe4eb;--count-ink:#15243b;--count-muted:#526176}
.cpx-count :is(button,a,input,select,summary):focus-visible{outline:3px solid #008dc3;outline-offset:3px}
.cpx-count .cpx-count-heading h1{font:800 48px/1.08 "Cortex Interface",Arial,sans-serif;letter-spacing:-.045em;color:var(--cpx-primary)}
.cpx-count-heading p:last-child{font-size:16px;line-height:1.5;color:var(--count-muted)}
.cpx-count-eyebrow{font-size:11px;color:var(--count-muted);letter-spacing:.09em}
.cpx-count-modes a{font-size:13px;min-height:40px;display:inline-flex;align-items:center}
.cpx-count-notice{border-width:0 0 0 3px;border-radius:0;padding:14px 18px}
.cpx-count-notice.is-history{background:#f2f7f6;color:#28574f;border-color:#32776c}
.cpx-count-notice p,.cpx-count-notice a{font-size:13px;line-height:1.55}
.cpx-count-filters label,.cpx-count-city-label{font-size:13px;color:var(--count-muted)}
.cpx-count select,.cpx-count input[type=search]{font-size:14px;border-color:#cbd3df;color:var(--count-ink)}
.cpx-count .cpx-count-offices button{font-size:14px;padding:14px 0}
.cpx-count .cpx-count-layout{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:36px;align-items:start}
.cpx-count-map-column{min-width:0;position:sticky;top:var(--count-sticky-top,96px);align-self:start;max-height:calc(100dvh - var(--count-sticky-top,96px) - 16px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.cpx-count-results-column{min-width:0;border-left:1px solid var(--count-border);padding-left:28px}
.cpx-count-map-heading h2,.cpx-count-titlebar h2{font:750 28px/1.2 "Cortex Interface",Arial,sans-serif;letter-spacing:-.035em;color:var(--count-ink)}
.cpx-count-map-heading button{min-height:40px;font-size:13px!important}
.cpx-count-map>p:not(.cpx-count-footnote){font-size:14px;line-height:1.5;color:var(--count-muted)}
.cpx-count-map-canvas{isolation:isolate;background:#f5f7fa;border:1px solid #edf0f4;margin:16px 0}
.cpx-count-map-canvas svg{height:clamp(160px,calc(100dvh - var(--count-sticky-top,96px) - 300px),440px);max-height:none;aspect-ratio:auto}
.cpx-count-map-zoom button{width:40px;height:40px;min-height:40px;transform:none}
.cpx-count-map-detail{min-height:76px;border:0;border-left:3px solid var(--cpx-accent);border-radius:0;background:var(--count-light);font-size:13px;line-height:1.55;color:var(--count-muted)}
.cpx-count-map-detail strong{font-size:16px;color:var(--count-ink)}
.cpx-count-map-legend{font-size:12px;gap:10px 18px;color:var(--count-muted)}
.cpx-count-map-legend small{font-size:11px}
.cpx-count-titlebar{margin-bottom:20px}
.cpx-count .cpx-count-share{font-size:12px;min-height:40px}
.cpx-count-progress-panel{border:0;border-radius:6px}
.cpx-count-progress-label>span{font-size:14px}
.cpx-count-progress-foot{font-size:12px;line-height:1.5;margin-top:8px;color:var(--count-muted)}
.cpx-count[data-cpx-history] [data-count-percent]{display:none}
.cpx-count[data-cpx-history] [data-count-freshness]{white-space:nowrap}
.cpx-count-playback{flex-wrap:wrap}
.cpx-count-playback>button{font-size:12px;min-height:40px}
.cpx-count-playback label{font-size:12px;min-width:120px}
.cpx-count .cpx-count-searchbar{grid-template-columns:1fr 1fr;margin:20px 0}
.cpx-count .cpx-count-searchbar>label:first-child{grid-column:1/-1}
.cpx-count-searchbar select,.cpx-count-searchbar input[type=search]{font-size:13px;height:42px}
.cpx-count-list-label{font-size:11px;color:var(--count-muted);gap:16px}
.cpx-count-candidate{grid-template-columns:56px minmax(0,1fr) auto;column-gap:14px;padding:22px 0}
.cpx-count-avatar{width:56px;height:56px;font-size:15px}
.cpx-count-person h3{font-size:18px;letter-spacing:-.025em;margin-bottom:7px;color:var(--count-ink)}
.cpx-count-person>span{font-size:12px;color:var(--count-muted)}
.cpx-count-party{flex-wrap:wrap}
.cpx-count-candidate>strong{font-size:28px;color:var(--count-ink)}
.cpx-count-candidate>strong small{font-size:12px;color:var(--count-muted);margin-top:7px}
.cpx-count-vote-bar{height:5px;margin-top:14px}
.cpx-count-outcome{font-size:10px;margin-top:4px;padding:3px 6px}
.cpx-count-photo-credit{font-size:11px;color:var(--count-muted)!important;margin-top:6px}
.cpx-count-precount-note{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;padding:12px 14px;margin:6px 0 2px;border:1px solid #cbdfea;border-radius:8px;background:#f4fafc;color:#395571;font-size:12px;line-height:1.45}
.cpx-count-precount-note strong{color:#12365a;font-size:12px}
.cpx-count-candidate--precount>strong{font-size:24px;color:#4d6984}
.cpx-count-candidate--precount>strong small{font-size:11px;color:#62748a}
.cpx-count-candidate--precount .cpx-count-vote-bar{background:#edf2f7}
.cpx-count-footnote{font-size:12px;color:var(--count-muted)}
.cpx-count-summary{margin-top:28px;padding:24px;border:0;border-radius:8px;background:var(--count-light)}
.cpx-count :is(.cpx-count-sidebar,.cpx-count-summary) h2{font:750 20px/1.3 "Cortex Interface",Arial,sans-serif;letter-spacing:-.025em;margin:0 0 18px;color:var(--count-ink)}
.cpx-count-summary dt{font-size:14px;color:var(--count-muted)}
.cpx-count-summary dd{font-size:17px}
.cpx-count .cpx-count-sidebar{display:block;margin-top:24px}
.cpx-count-places{padding:0;border:0;border-radius:0}
.cpx-count-places>p:not(.cpx-count-eyebrow){font-size:14px;color:var(--count-muted)}
.cpx-count-region{display:inline-block;vertical-align:top;margin-right:20px}
.cpx-count-region h3{font:650 12px/1.4 "Cortex Interface",Arial,sans-serif;color:var(--count-muted)}
.cpx-count-region button{min-height:40px;width:40px;font-size:12px;transform:none}
.cpx-count-source{padding:24px}
.cpx-count .cpx-count-source h2{font-size:16px;margin:2px 0 10px}
.cpx-count-source p,.cpx-count-source a{font-size:13px}
.cpx-count-source small{font-size:12px;color:var(--count-muted)}
.cpx-count-method h2{font:750 24px/1.3 "Cortex Interface",Arial,sans-serif}
.cpx-count-method summary{font-size:15px}
.cpx-count-method p{font-size:14px}
.cpx-count-footer{font-size:12px}
@media(max-width:1100px){
 .cpx-count .cpx-count-layout{gap:26px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .cpx-count-candidate{grid-template-columns:48px minmax(0,1fr) auto;column-gap:12px}.cpx-count-avatar{width:48px;height:48px}
 .cpx-count-person h3{font-size:16px}.cpx-count-candidate>strong{font-size:25px}
}
@media(max-width:800px){
 .cpx-count .cpx-count-layout{display:flex;flex-direction:column;gap:28px}
 .cpx-count-map-column{position:static;max-height:none;overflow:visible;width:100%}.cpx-count-map,.cpx-count-main{width:100%}
 .cpx-count-results-column{width:100%;padding:0;border:0}.cpx-count-summary{width:100%;margin-top:24px;padding:20px}
 .cpx-count-map-canvas svg{height:auto;aspect-ratio:6/5;max-height:390px}.cpx-count-map-heading h2,.cpx-count-titlebar h2{font-size:26px}
 .cpx-count .cpx-count-sidebar{display:flex;flex-direction:column;gap:24px;margin-top:28px;padding-top:24px}
 .cpx-count-places,.cpx-count-source{width:100%}.cpx-count-source{grid-column:auto}
 .cpx-count-map-legend{max-height:140px}.cpx-count-vote-bar{margin-top:0}
 .cpx-count-heading p:last-child{font-size:14px;max-width:none}
}
/* One navigation hierarchy: office, geography and round, then map + results. */
.cpx-count-offices,.cpx-count-city,.cpx-count-round{display:none}
.cpx-count[data-count-enhanced] .cpx-count-native-filter{display:none}
.cpx-count[data-count-enhanced] .cpx-count-offices{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;overflow:visible;margin:28px 0 24px;border-bottom:1px solid var(--count-border)}
.cpx-count[data-count-enhanced] .cpx-count-offices button{font-size:24px!important;line-height:1.2;font-weight:500;white-space:normal;text-align:left;padding:16px 12px 18px;min-height:82px;border-bottom-width:4px;color:var(--count-muted)}
.cpx-count[data-count-enhanced] .cpx-count-offices button[aria-pressed=true]{font-weight:800;color:var(--cpx-primary);background:#f4f7fb}
.cpx-count[data-count-enhanced] .cpx-count-offices button:hover{background:#f4f7fb}
.cpx-count[data-count-enhanced] .cpx-count-filters fieldset{display:flex;align-items:end;gap:16px}
.cpx-count-filters{margin-bottom:28px}
.cpx-count[data-count-enhanced] .cpx-count-round{display:block;flex:0 1 250px;min-width:0}
.cpx-count-filters label,.cpx-count-round>span{display:block;font-size:13px;font-weight:700;line-height:18px;color:var(--count-muted)}
.cpx-count-filters fieldset>button{align-self:start;margin-top:25px}
.cpx-count-city{position:relative}
.cpx-count-city-input{position:relative;margin-top:7px}
.cpx-count-city-input input{padding-right:40px!important;margin:0}
.cpx-count-city-input input::-webkit-search-cancel-button{-webkit-appearance:none}
.cpx-count-city-input input:disabled{background:#f2f4f7;color:#637184;cursor:not-allowed}
.cpx-count .cpx-count-city-input button{position:absolute;right:1px;top:1px;width:42px;height:44px;min-height:44px;padding:0;border:0;background:transparent;color:var(--count-muted);font-size:24px;transform:none}
.cpx-count-city-options{position:absolute;z-index:3;top:73px;left:0;right:0;max-height:280px;overflow:auto;list-style:none;margin:0;padding:6px;background:#fff;border:1px solid #cbd3df;border-radius:6px;box-shadow:0 8px 24px #15243b20}
.cpx-count-city-options li{margin:0;padding:12px;font-size:14px;line-height:1.4;color:var(--count-ink);border-radius:4px;cursor:pointer}
.cpx-count-city-options li[aria-selected=true],.cpx-count-city-options li[role=option]:hover{background:#eaf2fa;color:var(--cpx-primary)}
.cpx-count-city-options .cpx-count-city-empty{font-size:13px;color:var(--count-muted);cursor:default}
.cpx-count-city small,.cpx-count-round small{display:block;font-size:11px;line-height:1.4;color:var(--count-muted);margin-top:6px}
.cpx-count .cpx-count-filters .cpx-count-submit{display:flex;justify-content:center;align-items:center;gap:10px;height:54px;min-height:54px;width:170px;margin-top:0;padding:0 18px;background:#006b96;border:1px solid #00577c;border-radius:7px;color:#fff;font-size:16px;font-weight:800;box-shadow:0 3px 0 #004e70,0 5px 12px #006b9620;transform:none}
.cpx-count .cpx-count-submit svg{flex:none}
.cpx-count .cpx-count-filters .cpx-count-submit:hover{background:#005578;border-color:#004e70}
.cpx-count .cpx-count-filters .cpx-count-submit:active{box-shadow:0 1px 0 #004e70}
.cpx-count-round>div{display:flex;margin-top:7px;border:1px solid #cbd3df;border-radius:6px;overflow:hidden}
.cpx-count .cpx-count-round button{flex:1;min-height:44px;height:44px;background:#fff;color:var(--count-ink);border:0;border-radius:0;padding:0 8px;font-size:14px;transform:none}
.cpx-count .cpx-count-round button+button{border-left:1px solid #cbd3df}
.cpx-count .cpx-count-round button[aria-pressed=true]{background:var(--cpx-primary);color:#fff}
.cpx-count .cpx-count-round button:disabled{background:#f2f4f7;color:#7a8597;cursor:not-allowed}
.cpx-count-map-about{font-size:12px;line-height:1.5;color:var(--count-muted);margin-top:14px}
.cpx-count-map-about summary{cursor:pointer;font-weight:600}
.cpx-count-map-detail{min-height:64px;padding:10px 14px}
.cpx-count-map-legend{max-height:68px;margin-top:12px}
body.admin-bar .cpx-count{--count-sticky-top:128px}
@media(max-width:1100px){
 .cpx-count[data-count-enhanced] .cpx-count-offices button{font-size:18px!important;padding:14px 10px}
 .cpx-count-filters fieldset>.cpx-count-submit{margin-top:0!important}
 .cpx-count-results-column{padding-left:20px}
}
@media(max-width:800px){
 .cpx-count[data-count-enhanced] .cpx-count-offices{grid-template-columns:repeat(3,minmax(0,1fr));margin:22px 0}
 .cpx-count[data-count-enhanced] .cpx-count-offices button{font-size:17px!important;min-height:66px;padding:12px 8px}
 .cpx-count-results-column{padding-left:0}
 .cpx-count-map-legend{max-height:120px}.cpx-count-filters{margin-bottom:24px}
}
@media(max-width:480px){
 .cpx-count[data-count-enhanced] .cpx-count-offices button{font-size:16px!important}
 .cpx-count .cpx-count-round button{font-size:13px}.cpx-count[data-count-enhanced] .cpx-count-round{flex:1 1 0}.cpx-count .cpx-count-filters .cpx-count-submit{flex:0 0 132px;width:132px;padding:0 8px;font-size:14px}
}
@media(max-width:480px){
 .cpx-count .cpx-count-heading{display:block}.cpx-count .cpx-count-heading h1{font-size:36px}
 .cpx-count-date{margin-top:16px;padding:0;border:0;flex-direction:row;align-items:center;gap:12px}
 .cpx-count-date strong{font-size:18px}.cpx-count-date small{font-size:13px}
 .cpx-count-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.cpx-count-modes a{padding:8px 6px;font-size:12px;line-height:1.4;justify-content:center;text-align:center}
 .cpx-count select,.cpx-count input[type=search]{font-size:16px}.cpx-count-searchbar select{font-size:13px}
 .cpx-count .cpx-count-share{font-size:11px;padding:0 9px}.cpx-count-progress-label>span{font-size:13px}
 .cpx-count-progress-foot{flex-wrap:wrap;gap:4px 12px}.cpx-count-list-label{font-size:10px}
 .cpx-count-candidate{grid-template-columns:44px minmax(0,1fr) auto;gap:10px;padding:20px 0}
 .cpx-count-avatar{width:44px;height:44px}.cpx-count-person h3{font-size:15px}.cpx-count-person>span{font-size:11px}
 .cpx-count-candidate>strong{font-size:23px}.cpx-count-candidate>strong small{font-size:11px}.cpx-count-outcome{margin-left:0}
 .cpx-count-party-logo{width:24px;height:18px}.cpx-count-region{display:block;margin-right:0}
}
.cpx-count-zones{padding:16px;margin:0 0 18px;border:1px solid #d6deeb;border-radius:8px;background:#f7f9fc;min-width:0}
.cpx-count-zones[hidden]{display:none}
.cpx-count-zones h3{margin:0 0 12px;font:700 16px/1.4 "Cortex Interface",Arial,sans-serif;color:#172b4a;overflow-wrap:anywhere}
.cpx-count-zones label{display:block;font-size:12px;font-weight:700;color:#425775}
.cpx-count-zones select{display:block;width:100%;max-width:100%;margin-top:6px}
.cpx-count-zones p{font-size:12px;line-height:1.5;color:#52647c;margin:10px 0}
.cpx-count-zones button{font-size:12px;min-height:36px;padding:8px 12px}
.cpx-count-candidate-note{display:block;margin-top:5px;color:#596579;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.cpx-election-countdown{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 28px;padding:16px 18px;border-left:3px solid #b9ddea;background:#f1f9fd;color:#215674}
.cpx-election-countdown-copy{min-width:0}.cpx-election-countdown-copy>strong{font-size:13px;font-weight:750}.cpx-election-countdown-copy>p{max-width:650px;margin:5px 0 0;font-size:12px;line-height:1.5}
.cpx-election-countdown-units{display:flex;flex:0 0 auto;gap:8px}.cpx-election-countdown-units>span{display:grid;min-width:54px;justify-items:center;gap:2px;padding:6px 7px;border:1px solid #d3e8f1;border-radius:5px;background:#fff}.cpx-election-countdown-units strong{color:#102754;font-size:21px;font-variant-numeric:tabular-nums;line-height:1.1}.cpx-election-countdown-units small{color:#60738b;font-size:9px;line-height:1.2;text-transform:uppercase}
.cpx-election-countdown.is-started{border-color:#25826e;background:#f0f8f5;color:#28574f}.cpx-election-countdown.is-started .cpx-election-countdown-units>span{border-color:#d8ebe4}.cpx-election-countdown.is-started .cpx-election-countdown-units strong{color:#17634f}
@media(max-width:760px){.cpx-election-countdown{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:22px;padding:14px 16px}.cpx-election-countdown-units{width:100%;gap:6px}.cpx-election-countdown-units>span{flex:1;min-width:0;padding:7px 4px}.cpx-election-countdown-units strong{font-size:20px}}
/* Calm, editorial empty states and map instructions. */
.cpx-count .cpx-count-empty--state{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:14px;min-height:92px;margin:16px 0;padding:18px 22px;border:1px solid #dce6ef;border-left:4px solid #1b91bd;border-radius:10px;background:linear-gradient(110deg,#f3f9fc 0%,#fbfdff 72%);box-shadow:0 4px 14px rgba(20,48,78,.055);box-sizing:border-box;text-align:left;color:#526176}
.cpx-count-empty-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid #cce4ee;border-radius:50%;background:#e8f5fa;color:#08769e;font-size:20px;font-weight:700;line-height:1}
.cpx-count-empty-copy{min-width:0}
.cpx-count .cpx-count-empty-copy>strong{display:block;margin:0 0 5px;color:#172b4a;font-size:15px;font-weight:750;line-height:1.35}
.cpx-count .cpx-count-empty-copy>p{margin:0;color:#5b6c82;font-size:13px;line-height:1.55}
.cpx-count .cpx-count-map-detail{min-height:unset;padding:12px 15px;border:1px solid #e0e8f0;border-left:3px solid var(--cpx-accent);border-radius:9px;background:linear-gradient(105deg,#f5f9fc,#fbfcfe);box-shadow:0 3px 10px rgba(20,48,78,.045);font-size:13px;line-height:1.5;color:var(--count-muted)}
.cpx-count .cpx-count-map-detail.is-prompt,.cpx-count .cpx-count-map-detail.is-loading,.cpx-count .cpx-count-map-detail.is-error{display:flex;align-items:center;gap:11px}
.cpx-count .cpx-count-map-detail.is-prompt::before,.cpx-count .cpx-count-map-detail.is-loading::before,.cpx-count .cpx-count-map-detail.is-error::before{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#e7f3f8;color:#08769e;font-size:17px;font-weight:700;line-height:1;content:"⌖"}
.cpx-count .cpx-count-map-detail.is-loading::before{content:"…"}
.cpx-count .cpx-count-map-detail.is-error{border-left-color:#bd6270;background:#fff8f8}
.cpx-count .cpx-count-map-detail.is-error::before{background:#fae9eb;color:#a43b4b;content:"!"}
.cpx-count .cpx-count-map-detail.is-national-prompt{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;column-gap:14px;row-gap:3px;min-height:82px;padding:14px 19px;border:1px solid #d8e4ed;border-left:4px solid #08a6d4;border-radius:10px;background:linear-gradient(105deg,#f0f8fc 0%,#fff 78%);box-shadow:0 5px 16px rgba(16,40,72,.055)}
.cpx-count .cpx-count-map-detail.is-national-prompt::before{grid-column:1;grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;flex:none;border:1px solid #d6eaf2;border-radius:11px;background:#fff;color:#087da4;font-size:21px;content:"⌖"}
.cpx-count .cpx-count-map-detail.is-national-prompt strong{grid-column:2;grid-row:1;margin:0;color:#12274c;font-size:15px;font-weight:750;line-height:1.35}
.cpx-count .cpx-count-map-detail.is-national-prompt span{grid-column:2;grid-row:2;color:#5d6f86;font-size:12px;line-height:1.5}
@media(max-width:760px){.cpx-count .cpx-count-map-detail.is-national-prompt{grid-template-columns:38px minmax(0,1fr);column-gap:11px;min-height:74px;padding:12px 14px}.cpx-count .cpx-count-map-detail.is-national-prompt::before{width:34px;height:34px}.cpx-count .cpx-count-map-detail.is-national-prompt strong{font-size:14px}.cpx-count .cpx-count-map-detail.is-national-prompt span{font-size:11px}}
@media(max-width:760px){.cpx-count .cpx-count-empty--state{grid-template-columns:34px minmax(0,1fr);gap:11px;min-height:78px;padding:14px 15px}.cpx-count-empty-icon{width:32px;height:32px;font-size:17px}.cpx-count .cpx-count-empty-copy>strong{font-size:14px}.cpx-count .cpx-count-empty-copy>p{font-size:12px}.cpx-count .cpx-count-map-detail{padding:11px 12px;font-size:12px}}
.cpx-count-map-wait[hidden]{display:none!important}
.cpx-count-map-wait{position:absolute;inset:0;z-index:10;display:grid;place-items:center;padding:16px;box-sizing:border-box;pointer-events:auto;background:rgba(247,249,252,.94)}
.cpx-count-map-canvas.is-waiting .cpx-count-map-zoom,.cpx-count-map-canvas.is-waiting [data-map-parent]{display:none!important}
.cpx-count-map-canvas.is-waiting svg{pointer-events:none}
.cpx-count-map-wait-card{width:min(100%,316px);box-sizing:border-box;padding:21px 23px 17px;border:1px solid #d9e4ec;border-radius:15px;background:rgba(255,255,255,.97);box-shadow:0 12px 34px rgba(18,40,72,.13);text-align:center}
.cpx-count-map-wait-brand{display:flex;align-items:center;justify-content:center}
.cpx-count-map-wait-brand img{display:block;width:min(100%,240px);height:auto;object-fit:contain}
.cpx-count-map-wait-loading{margin-top:10px;color:#122650}
.cpx-count-map-wait-loading strong{font-size:15px;font-weight:750;line-height:1.3}
.cpx-count-map-wait-card>p{margin:6px 0 0;color:#617086;font-size:11px;line-height:1.5}
.cpx-count-map-wait-progress{height:4px;margin:16px 0 0;overflow:hidden;border-radius:99px;background:#e7eef4}
.cpx-count-map-wait-progress i{display:block;width:35%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b80ae,#16b8d9);animation:cpx-count-wait-sweep 2.4s cubic-bezier(.42,0,.58,1) infinite}
.cpx-count-map-wait.is-filter-loading{background:rgba(247,249,252,.94)}
.cpx-count-filter-loading{display:flex;min-height:190px;padding:30px 16px;align-items:center;justify-content:center;flex-direction:column;border:1px solid #e7edf3;border-radius:10px;background:#f7f9fc;text-align:center}
.cpx-count-filter-loading>strong{margin-top:14px;color:#122650;font-size:15px}
.cpx-count-filter-loading>p{margin:6px 0 0;color:#617086;font-size:12px;line-height:1.5}
.cpx-count-filter-loading .cpx-count-map-wait-progress{width:min(100%,220px);margin:17px 0 0}
@keyframes cpx-count-wait-sweep{from{transform:translateX(-110%)}to{transform:translateX(300%)}}
.cpx-count .cpx-count-empty--waiting{display:block;min-height:0;padding:22px;border:1px solid #dce6ef;border-top:3px solid #079bc8;border-radius:10px;background:linear-gradient(145deg,#f6fbfd,#fff 76%);text-align:left}
.cpx-count-empty-kicker{display:block;margin-bottom:7px;color:#637590;font-size:10px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}
.cpx-count .cpx-count-empty--waiting .cpx-count-empty-copy>strong{font-size:17px}
.cpx-count .cpx-count-empty--waiting .cpx-count-empty-copy>p{font-size:13px;line-height:1.6}
.cpx-count-wait-features{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0 10px;padding:0;list-style:none}
.cpx-count-wait-features li{padding:5px 8px;border:1px solid #dce7ef;border-radius:999px;background:#fff;color:#3e5572;font-size:10px;font-weight:650;line-height:1.3}
.cpx-count .cpx-count-empty--waiting .cpx-count-empty-copy>small{display:block;color:#758196;font-size:10px;line-height:1.45}
@media(max-width:760px){.cpx-count-map-wait{padding:10px}.cpx-count-map-wait-card{width:min(100%,282px);padding:17px 18px 14px}.cpx-count-map-wait-brand img{width:min(100%,225px)}.cpx-count-map-wait-loading strong{font-size:14px}.cpx-count-map-wait-card>p{font-size:10px}.cpx-count-map-wait-progress{margin:13px 0 11px}.cpx-count .cpx-count-empty--waiting{padding:17px}.cpx-count .cpx-count-empty--waiting .cpx-count-empty-copy>strong{font-size:15px}.cpx-count .cpx-count-empty--waiting .cpx-count-empty-copy>p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.cpx-count-map-wait-progress i{animation:none;transform:none;width:100%;background:#b9dbe8}}

@media(max-width:760px){
 .cpx-count[data-count-enhanced] .cpx-count-offices{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;overflow:visible;border:0;margin:18px 0 24px}
 .cpx-count[data-count-enhanced] .cpx-count-offices button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:66px;padding:10px 8px;border:1px solid var(--count-border);border-bottom:3px solid var(--count-border);border-radius:8px;text-align:center;white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none;line-height:1.25}
 .cpx-count[data-count-enhanced] .cpx-count-offices button[aria-pressed=true]{border-color:#b7cbe0;border-bottom-color:var(--cpx-accent);background:#f4f7fb}
 }

.cpx-count-all-offices{margin:26px 0 34px}
.cpx-count-all-offices>header{margin-bottom:18px}
.cpx-count-all-offices>header h2{margin:4px 0 8px;font:750 26px/1.2 "Cortex Interface",Arial,sans-serif;letter-spacing:-.035em;color:var(--count-ink)}
.cpx-count-all-offices>header>p:last-child{margin:0;color:var(--count-muted);font-size:14px;line-height:1.55}
.cpx-count-all-status{margin:0 0 14px;color:var(--count-muted);font-size:13px}
.cpx-count-all-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cpx-count-all-card{min-width:0;padding:18px;border:1px solid var(--count-border);border-radius:10px;background:#fff}
.cpx-count-all-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.cpx-count-all-card h3{margin:0;color:var(--count-ink);font:750 17px/1.3 "Cortex Interface",Arial,sans-serif}
.cpx-count-all-card-heading>span{flex:none;color:var(--count-muted);font-size:11px}
.cpx-count-all-card ol{list-style:none;margin:12px 0 0;padding:0}
.cpx-count-all-card li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-top:1px solid #edf0f5}
.cpx-count-all-card li>span:first-child{min-width:0}
.cpx-count-all-card li strong,.cpx-count-all-card li small{display:block}
.cpx-count-all-card li>span:first-child strong{overflow-wrap:anywhere;color:var(--count-ink);font-size:13px;line-height:1.35}
.cpx-count-all-card li small{margin-top:3px;color:var(--count-muted);font-size:10px}
.cpx-count-all-votes{flex:none;text-align:right}
.cpx-count-all-votes>strong{color:var(--count-ink);font-size:15px;font-variant-numeric:tabular-nums}
.cpx-count-all-basis,.cpx-count-all-note{display:block;margin:12px 0 0;color:var(--count-muted);font-size:11px;line-height:1.5}
.cpx-count[data-all-offices="true"] .cpx-count-layout{display:none}
.cpx-count-all-card.is-loading{background:linear-gradient(100deg,#fff 20%,#f6f8fb 40%,#fff 60%);background-size:220% 100%;animation:cpx-count-all-shimmer 1.2s linear infinite}
@keyframes cpx-count-all-shimmer{to{background-position-x:-220%}}
@media(max-width:760px){.cpx-count-all-grid{grid-template-columns:1fr}.cpx-count-all-card{padding:16px}.cpx-count-all-offices>header h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.cpx-count-all-card.is-loading{animation:none;background:#f6f8fb}}

/* Electoral wayfinding: one prominent locality selector, then offices and filters. */
.cpx-count-scope{display:none}
.cpx-count[data-count-enhanced] .cpx-count-scope{display:block;position:relative;margin:18px 0 0;padding:20px 22px;border:1px solid var(--count-border);border-radius:12px;background:#fff;box-shadow:0 8px 24px #1027540a}
.cpx-count[data-count-enhanced] .cpx-count-scope .cpx-count-city:not([hidden]){display:block;width:min(470px,100%);margin-top:16px}
.cpx-count .cpx-count-city[hidden]{display:none!important}
.cpx-count-scope .cpx-count-city>label{display:block;font-size:12px;font-weight:750;color:var(--count-ink)}
.cpx-count-scope-heading .cpx-count-eyebrow{margin-bottom:5px}
.cpx-count .cpx-count-scope-toggle{display:inline-flex;align-items:center;gap:11px;max-width:100%;min-height:48px;padding:7px 10px;border:1px solid #d6e1eb;border-radius:9px;background:#f8fafc;color:var(--count-ink);font:800 clamp(18px,1.7vw,22px)/1.2 "Cortex Interface",Arial,sans-serif;letter-spacing:-.025em;text-align:left;box-shadow:none;transform:none}
.cpx-count .cpx-count-scope-toggle:hover,.cpx-count .cpx-count-scope-toggle:focus-visible{border-color:#8fb9d2;background:#edf6fb;color:var(--cpx-primary)}
.cpx-count-scope-flag,.cpx-count-scope-list img{display:block;flex:none;width:30px;height:22px;border:1px solid #dae2ea;border-radius:3px;background:#fff;object-fit:cover}
.cpx-count-scope-toggle [data-count-scope-name]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cpx-count-scope-chevron{flex:none;margin-left:4px;color:#47617d;transition:transform .15s ease}
.cpx-count-scope-toggle[aria-expanded=true] .cpx-count-scope-chevron{transform:rotate(180deg)}
.cpx-count-scope-heading>p:last-child{margin:4px 0 0;color:var(--count-muted);font-size:13px;line-height:1.45}
.cpx-count-scope-panel{position:absolute;z-index:20;top:calc(100% - 3px);left:22px;width:min(470px,calc(100% - 44px));padding:16px;border:1px solid #cbd8e5;border-radius:10px;background:#fff;box-shadow:0 18px 42px #10275426}
.cpx-count-scope-panel label{display:block;margin-bottom:7px;color:var(--count-ink);font-size:12px;font-weight:750}
.cpx-count-scope-panel input{width:100%;height:44px;margin-bottom:12px}
.cpx-count-scope-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-height:280px;overflow:auto;overscroll-behavior:contain}
.cpx-count .cpx-count-scope-list button{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;min-height:44px;padding:8px 10px;border:1px solid transparent;border-radius:6px;background:#fff;color:var(--count-ink);font-size:13px;text-align:left;transform:none}
.cpx-count-scope-list img{width:24px;height:18px}
.cpx-count-scope-list button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cpx-count-scope-list button small{flex:none;color:var(--count-muted);font-size:10px;font-weight:750}
.cpx-count .cpx-count-scope-list button:hover,.cpx-count .cpx-count-scope-list button[aria-pressed=true]{border-color:#c5d7e7;background:#edf6fb;color:var(--cpx-primary)}
.cpx-count-scope-panel>p:last-child{margin:9px 0 0;color:var(--count-muted);font-size:12px}
.cpx-count[data-count-enhanced] .cpx-count-offices{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:14px 0 22px;border:0}
.cpx-count[data-count-enhanced] .cpx-count-offices button{display:flex;align-items:center;justify-content:center;min-height:56px;padding:8px 6px;border:1px solid var(--count-border);border-bottom:3px solid var(--count-border);border-radius:8px;background:#fff;color:var(--count-muted);font-size:clamp(12px,1.1vw,14px)!important;font-weight:650;line-height:1.2;text-align:center;white-space:normal;overflow-wrap:normal;word-break:normal;transform:none}
.cpx-count[data-count-enhanced] .cpx-count-offices button[aria-pressed=true]{border-color:#b5cee0;border-bottom-color:var(--cpx-accent);background:#f0f7fc;color:var(--cpx-primary);font-weight:800}
.cpx-count-map-context{display:block;margin-top:6px;color:var(--count-muted);font-size:12px;line-height:1.35}
.cpx-count[data-all-offices="true"] .cpx-count-layout{display:grid}
.cpx-count[data-all-offices="true"] :is(.cpx-count-main,.cpx-count-evolution,.cpx-count-summary,.cpx-count-sidebar,.cpx-count-method){display:none}
.cpx-count[data-all-offices="true"] .cpx-count-all-offices{margin-top:0}
.cpx-count[data-all-offices="true"] .cpx-count-all-grid{grid-template-columns:1fr}
.cpx-count-all-card-heading>div>small{display:block;margin-bottom:4px;color:var(--count-muted);font-size:10px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}
.cpx-count-all-card-heading>span{padding-top:4px}
.cpx-count-all-card{padding:20px 22px;border-radius:10px}
.cpx-count-all-note{font-size:13px;line-height:1.55}
.cpx-count-all-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}
.cpx-count .cpx-count-all-action{display:inline-flex;align-items:center;gap:8px;min-height:40px;margin-top:14px;padding:0 12px;border:1px solid #bcd2e1;border-radius:6px;background:#edf6fb;color:var(--cpx-primary);font-size:12px;font-weight:750;transform:none}
.cpx-count .cpx-count-all-action:hover{background:#dceef8;border-color:#83aec9}
.cpx-count-all-actions a{margin-top:14px;color:var(--cpx-primary);font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.cpx-count-evolution{margin-top:30px}
.cpx-count-evolution h2{margin:0 0 14px;color:var(--count-ink);font:750 20px/1.25 "Cortex Interface",Arial,sans-serif;letter-spacing:-.025em}
.cpx-count-evolution-plot{position:relative;display:grid;place-items:center;min-height:215px;border:1px solid var(--count-border);border-radius:10px;background:#f7f9fc}
.cpx-count-evolution-plot svg{display:block;width:100%;height:auto;max-height:215px;padding:12px}
.cpx-count-evolution-plot p{max-width:260px;margin:0;padding:18px;color:var(--count-muted);font-size:13px;line-height:1.55;text-align:center}
.cpx-count-evolution-status{margin:9px 0 0;color:var(--count-muted);font-size:12px;line-height:1.5}
.cpx-count-state-links{margin-top:34px;padding-top:20px;border-top:1px solid var(--count-border)}
.cpx-count-state-links h2{margin:0 0 14px;color:var(--count-ink);font:750 18px/1.3 "Cortex Interface",Arial,sans-serif}
.cpx-count-state-links>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:7px}
.cpx-count .cpx-count-state-links a{display:grid;place-items:center;min-height:42px;padding:0;border:1px solid var(--count-border);border-radius:6px;background:#fff;color:#3d5674;font-size:12px;font-weight:750;text-decoration:none}
.cpx-count .cpx-count-state-links a:hover,.cpx-count .cpx-count-state-links a[aria-current=location]{border-color:#9dc3db;background:#edf6fb;color:var(--cpx-primary)}
@media(max-width:1100px){.cpx-count[data-count-enhanced] .cpx-count-offices{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){.cpx-count[data-all-offices="true"] .cpx-count-layout{display:flex;flex-direction:column}.cpx-count[data-count-enhanced] .cpx-count-offices{grid-template-columns:repeat(3,minmax(0,1fr))}.cpx-count[data-count-enhanced] .cpx-count-offices button{font-size:14px!important;min-height:60px}.cpx-count-state-links>div{grid-template-columns:repeat(auto-fill,minmax(48px,1fr))}}
@media(max-width:480px){.cpx-count[data-count-enhanced] .cpx-count-scope{padding:16px;margin-top:16px}.cpx-count-scope-panel{left:8px;width:calc(100% - 16px);padding:12px}.cpx-count-scope-list{grid-template-columns:1fr;max-height:320px}.cpx-count[data-count-enhanced] .cpx-count-offices{gap:7px}.cpx-count[data-count-enhanced] .cpx-count-offices button{font-size:13px!important;min-height:58px;padding:8px 5px}.cpx-count-all-card{padding:16px}}
@media(max-width:760px){
  .cpx-count .cpx-count-layout{display:flex;flex-direction:column}
  .cpx-count-results-column{order:1}
  .cpx-count-map-column{order:2}
}
.cpx-count[data-count-enhanced] .cpx-count-offices{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.cpx-count[data-count-enhanced] .cpx-count-offices button[hidden]{display:none!important}
@media(max-width:1100px){.cpx-count[data-count-enhanced] .cpx-count-offices{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){.cpx-count[data-count-enhanced] .cpx-count-offices{grid-template-columns:repeat(3,minmax(0,1fr))}}
.cpx-count .cpx-count-wait-candidates{display:inline-flex;align-items:center;gap:8px;min-height:40px;margin-top:16px;padding:0 13px;border:1px solid #bad3e3;border-radius:6px;background:#fff;color:var(--cpx-primary);font-size:12px;font-weight:800;text-decoration:none}
.cpx-count .cpx-count-wait-candidates:hover,.cpx-count .cpx-count-wait-candidates:focus-visible{border-color:#7eb4d0;background:#edf7fc}

/* Compact electoral wayfinding: date, geography, offices and round in one rhythm. */
.cpx-count .cpx-count-heading{margin-bottom:12px}
.cpx-count .cpx-count-heading h1{font-size:clamp(30px,3vw,40px);margin-bottom:5px}
.cpx-count .cpx-count-heading p:last-child{font-size:13px;line-height:1.4}
.cpx-count .cpx-count-date{display:none}
.cpx-count .cpx-count-modes{margin:0 0 10px;gap:6px}
.cpx-count .cpx-count-modes a{min-height:34px;padding:6px 11px;font-size:11px}
.cpx-count[data-count-enhanced] .cpx-count-scope{margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
.cpx-count-poll-date{margin:0 0 7px;padding:0 0 9px;border-bottom:1px solid var(--count-border);color:var(--count-ink);font-size:13px;line-height:1.4}
.cpx-count-scope-heading>.cpx-count-eyebrow{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cpx-count-scope-row{display:flex;align-items:center;gap:10px;min-width:0}
.cpx-count .cpx-count-scope-toggle{flex:0 1 auto;min-height:38px;padding:4px 0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:16px;letter-spacing:-.015em}
.cpx-count .cpx-count-scope-toggle:hover,.cpx-count .cpx-count-scope-toggle:focus-visible{border:0;background:transparent}
.cpx-count-scope-flag{width:24px;height:18px}
.cpx-count-scope-chevron{width:24px;height:24px;padding:4px;margin-left:0;border-radius:5px;background:#edf0f4;color:#33445e;box-sizing:border-box}
.cpx-count[data-count-enhanced] .cpx-count-scope .cpx-count-city:not([hidden]){flex:0 1 245px;width:auto;min-width:130px;margin:0 0 0 10px}
.cpx-count .cpx-count-city-input{margin:0}
.cpx-count .cpx-count-city-input input{height:36px;border-radius:7px;font-size:12px}
.cpx-count .cpx-count-city-input button{height:34px;min-height:34px;width:34px;font-size:19px}
.cpx-count-city-options{top:38px}
.cpx-count .cpx-count-national-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:none;min-height:36px;margin-left:auto;padding:5px 9px;border:1px solid #d8e1e9;border-radius:9px;background:#fff;color:var(--cpx-primary);font-size:12px;font-weight:750;box-shadow:none;transform:none}
.cpx-count .cpx-count-national-link:hover,.cpx-count .cpx-count-national-link:focus-visible{border-color:#9bb9ce;background:#f3f8fb}
.cpx-count .cpx-count-national-link[hidden]{display:none!important}
.cpx-count-national-link img{display:block;width:24px;height:17px;object-fit:cover;border:1px solid #dce4ea;border-radius:2px}
.cpx-count-scope-panel{top:calc(100% + 4px);left:0;width:min(470px,100%)}
.cpx-count .cpx-election-countdown{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:18px;margin:12px 0 16px;padding:13px 16px;border:0;border-radius:10px;background:linear-gradient(110deg,#07194f,#102b68);color:#fff;box-shadow:0 5px 16px rgba(7,25,79,.12)}
.cpx-count .cpx-election-countdown-copy{display:grid;min-width:0;gap:5px}
.cpx-count .cpx-election-countdown-kicker{display:flex;align-items:center;gap:8px;color:#d9e6f7;font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.cpx-count .cpx-election-countdown-kicker::before{width:18px;border-top:2px solid #00a8e8;content:""}
.cpx-count .cpx-election-countdown-copy>strong{color:#fff;font-size:13px;font-weight:750;line-height:1.3}
.cpx-count .cpx-election-countdown-copy>p{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cpx-count .cpx-election-countdown-units{display:flex;flex:0 0 auto;justify-content:flex-end;gap:12px;width:auto;margin-left:auto}
.cpx-count .cpx-election-countdown-units>span{display:grid;min-width:45px;justify-items:center;gap:3px;padding:0;border:0;background:transparent}
.cpx-count .cpx-election-countdown-units strong{color:#fff;font-size:22px;font-weight:850;font-variant-numeric:tabular-nums;letter-spacing:-.035em;line-height:1}
.cpx-count .cpx-election-countdown-units small{color:#d9e6f7;font-size:8px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.cpx-count .cpx-election-countdown.is-started{background:linear-gradient(110deg,#07194f,#102b68);color:#fff}
.cpx-count[data-count-enhanced] .cpx-count-offices{display:flex;align-items:center;gap:0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;margin:6px 0 9px;padding:2px 0 5px;border:0;border-bottom:1px solid var(--count-border)}
.cpx-count[data-count-enhanced] .cpx-count-offices::-webkit-scrollbar{display:none}
.cpx-count[data-count-enhanced] .cpx-count-offices button{flex:0 0 auto;scroll-snap-align:start;width:auto;min-height:36px;min-width:0;padding:7px 13px;border:0;border-radius:6px;background:transparent;color:var(--count-muted);font-size:12px!important;font-weight:600;white-space:nowrap}
.cpx-count[data-count-enhanced] .cpx-count-offices button+button{margin-left:3px}
.cpx-count[data-count-enhanced] .cpx-count-offices button[aria-pressed=true]{border:1px solid #cfd8e1;background:#fff;color:var(--cpx-primary);font-weight:800;box-shadow:0 1px 4px #10275425}
.cpx-count[data-count-enhanced] .cpx-count-offices button:hover{background:#f1f6fa}
.cpx-count[data-count-enhanced] .cpx-count-filters{margin:0 0 17px}
.cpx-count[data-count-enhanced] .cpx-count-filters fieldset{gap:8px}
.cpx-count[data-count-enhanced] .cpx-count-round{flex:0 1 190px}
.cpx-count .cpx-count-round>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cpx-count .cpx-count-round>div{margin:0;border-radius:6px}
.cpx-count .cpx-count-round button{min-height:36px;height:36px;font-size:12px}
.cpx-count .cpx-count-filters .cpx-count-submit{flex:0 0 126px;width:126px;height:36px;min-height:36px;padding:0 9px;font-size:12px;box-shadow:none}
.cpx-count .cpx-count-filters .cpx-count-submit svg{width:15px;height:15px}
@media(max-width:600px){
 .cpx-count .cpx-count-heading{margin-bottom:8px}
 .cpx-count .cpx-count-heading h1{font-size:30px}
 .cpx-count .cpx-count-modes{display:flex;gap:5px;margin-bottom:8px}
 .cpx-count .cpx-count-modes a{min-height:32px;padding:5px 9px;font-size:11px}
 .cpx-count-poll-date{font-size:12px}
 .cpx-count-scope-row{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:7px;row-gap:3px}
 .cpx-count .cpx-count-scope-toggle{grid-column:1;min-width:0;font-size:14px}
 .cpx-count .cpx-count-national-link{grid-column:2;grid-row:1;margin-left:0;padding:5px 7px;font-size:11px}
 .cpx-count[data-count-enhanced] .cpx-count-scope .cpx-count-city:not([hidden]){grid-column:1/-1;grid-row:2;width:100%;margin:0}
 .cpx-count .cpx-election-countdown{align-items:stretch;flex-direction:column;gap:10px;margin:10px 0 12px;padding:12px 14px}
 .cpx-count .cpx-election-countdown-copy{gap:4px}
 .cpx-count .cpx-election-countdown-copy>strong{font-size:12px}
 .cpx-count .cpx-election-countdown-units{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;width:100%;margin-left:0}
 .cpx-count .cpx-election-countdown-units>span{min-width:0}
 .cpx-count .cpx-election-countdown-units strong{font-size:21px}
 .cpx-count .cpx-election-countdown-units small{font-size:8px}
 .cpx-count[data-count-enhanced] .cpx-count-offices{margin:4px 0 7px}
 .cpx-count[data-count-enhanced] .cpx-count-offices button{min-height:36px;padding:7px 10px;font-size:11px!important}
 .cpx-count[data-count-enhanced] .cpx-count-round{flex:1 1 0}
 .cpx-count .cpx-count-filters .cpx-count-submit{flex:0 0 115px;width:115px}
}

/* National governor navigation: choose a state before opening an electoral recut. */
.cpx-count-state-overview[hidden],.cpx-count-state-card[hidden],.cpx-count-state-more[hidden]{display:none!important}
.cpx-count[data-state-overview=true] .cpx-count-layout,.cpx-count[data-state-overview=true] .cpx-count-state-links{display:none!important}
.cpx-count-state-overview{max-width:820px;margin:20px auto 36px;scroll-margin-top:20px}
.cpx-count-state-overview-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.cpx-count-state-overview-heading .cpx-count-eyebrow{margin:0 0 4px}
.cpx-count-state-overview-heading h2{margin:0;color:var(--count-ink);font:750 28px/1.15 "Cortex Interface",Arial,sans-serif;letter-spacing:-.035em}
.cpx-count-state-overview-heading p:last-child{margin:5px 0 0;color:var(--count-muted);font-size:13px}
.cpx-count-state-overview-heading>span{flex:none;color:var(--count-muted);font-size:12px;font-weight:650}
.cpx-count-state-regions{display:flex;gap:7px;overflow-x:auto;padding:0 0 10px;margin-bottom:8px;scrollbar-width:none}
.cpx-count-state-regions::-webkit-scrollbar{display:none}
.cpx-count .cpx-count-state-regions button{flex:none;min-height:34px;padding:0 12px;border:1px solid var(--count-border);border-radius:7px;background:#fff;color:var(--count-ink);font-size:12px;font-weight:650;white-space:nowrap;transform:none}
.cpx-count .cpx-count-state-regions button[aria-pressed=true]{border-color:var(--cpx-primary);background:var(--cpx-primary);color:#fff}
.cpx-count-state-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cpx-count .cpx-count-state-card{position:relative;display:flex;flex-direction:column;gap:11px;min-width:0;min-height:95px;padding:15px 38px 14px 16px;border:1px solid var(--count-border);border-radius:9px;background:#fff;color:var(--count-ink);text-decoration:none;transition:border-color .15s ease,box-shadow .15s ease}
.cpx-count .cpx-count-state-card:hover,.cpx-count .cpx-count-state-card:focus-visible{border-color:#88b8d3;box-shadow:0 4px 16px #10275413}
.cpx-count-state-card>span:first-child{display:flex;align-items:center;gap:9px;min-width:0}
.cpx-count-state-card img{flex:none;width:28px;height:21px;border:1px solid #e1e8ee;border-radius:2px;object-fit:cover}
.cpx-count-state-card strong{font-size:15px;line-height:1.25}
.cpx-count-state-code{display:none}
.cpx-count-state-card small{color:var(--count-muted);font-size:11px;line-height:1.35}
.cpx-count-state-card-arrow{position:absolute;right:16px;top:17px;color:var(--cpx-accent);font-size:17px}
.cpx-count .cpx-count-state-more{display:block;min-height:36px;margin:17px auto 0;padding:0 15px;border:1px solid #a7c6da;border-radius:7px;background:#fff;color:var(--cpx-primary);font-size:12px;font-weight:750;transform:none}
@media(max-width:600px){.cpx-count-state-overview{margin-top:14px}.cpx-count-state-overview-heading h2{font-size:23px}.cpx-count-state-overview-heading>span{font-size:10px}.cpx-count-state-cards{grid-template-columns:1fr}.cpx-count .cpx-count-state-card{min-height:82px;gap:8px}}

/* The Senate composition is context, never an electoral result. */
.cpx-count-senate-composition[hidden]{display:none!important}
.cpx-count-senate-composition{display:grid;grid-template-columns:minmax(0,1fr) 320px;column-gap:18px;max-width:760px;margin:0 0 32px;padding:20px 22px;border:1px solid var(--count-border);border-radius:12px;background:#fff}
.cpx-count-senate-facts{grid-column:1;grid-row:1 / span 2;color:var(--count-ink)}
.cpx-count-senate-facts>strong{display:block;font:800 49px/1 "Cortex Interface",Arial,sans-serif;letter-spacing:-.06em}
.cpx-count-senate-facts>span{display:block;max-width:280px;margin-top:6px;font-size:15px;line-height:1.35}
.cpx-count-senate-facts small{display:block;margin-top:4px;color:var(--count-muted);font-size:11px}
.cpx-count-senate-composition svg{grid-column:2;grid-row:1;display:block;width:320px;max-width:100%;height:auto;margin:0 auto}
.cpx-count-senate-legend{grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:center;gap:7px;margin:2px 0 21px;color:var(--count-muted);font-size:11px;line-height:1.4}
.cpx-count-senate-legend span{display:inline-block;flex:none;width:11px;height:11px;border-radius:50%;background:#dfe5eb}
.cpx-count-senate-composition h3,.cpx-count-state-list-title{grid-column:1 / -1;margin:0 0 12px;color:var(--count-ink);font:750 16px/1.3 "Cortex Interface",Arial,sans-serif}
.cpx-count-senate-composition h3{font-size:18px}
.cpx-count-senate-composition [data-count-senate-parties],.cpx-count-senate-source{grid-column:1 / -1}
.cpx-count-senate-party{margin:0}
.cpx-count-senate-party summary{display:grid;grid-template-columns:max-content max-content minmax(0,1fr) max-content max-content;align-items:center;gap:0 9px;min-height:53px;cursor:pointer;list-style:none;font-size:15px}
.cpx-count-senate-party summary::-webkit-details-marker{display:none}
.cpx-count-senate-party summary b{padding:3px 4px;border-radius:3px;background:var(--senate-party);color:#fff;font-size:12px;line-height:1.1}
.cpx-count-senate-party summary span{color:var(--count-ink)}
.cpx-count-senate-party summary strong{margin-left:auto;color:var(--count-ink);font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.cpx-count-senate-party summary .cpx-count-senate-chevron{width:16px;height:16px;background:var(--cpx-primary);-webkit-mask:url('../images/icons/chevron-down.svg') center/16px 16px no-repeat;mask:url('../images/icons/chevron-down.svg') center/16px 16px no-repeat;transition:transform .15s ease}
.cpx-count-senate-party[open] summary .cpx-count-senate-chevron{transform:rotate(180deg)}
.cpx-count-senate-track{grid-column:1/-1;display:block;width:100%;height:3px;background:#e7e9ed}
.cpx-count-senate-track i{display:block;width:var(--senate-share);height:100%;background:var(--senate-party)}
.cpx-count-senate-members{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px;padding:12px 0 10px}
.cpx-count-senate-member{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-height:87px;padding:12px;border:1px solid #e4eaf0;border-radius:11px;color:var(--count-ink);font-size:15px;line-height:1.35;box-sizing:border-box}
.cpx-count-senate-member-name{min-width:0;padding-top:2px;overflow-wrap:anywhere}
.cpx-count-senate-member-meta{display:flex;flex:none;flex-direction:column;align-items:flex-end;gap:9px}
.cpx-count-senate-member-meta>b{padding:3px 5px;border-radius:4px;background:var(--senate-party);color:#fff;font-size:11px;line-height:1.2}
.cpx-count-senate-member-place{display:flex;align-items:center;gap:6px;padding:4px 6px;border:1px solid #dfe6ed;border-radius:8px;color:var(--count-ink);font-size:13px;font-weight:750;line-height:1}
.cpx-count-senate-member img{width:28px;height:20px;border:1px solid #e1e8ee;border-radius:2px;object-fit:cover}
.cpx-count-senate-source{display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px 10px;margin:14px 0 0;color:var(--count-muted);font-size:10px;line-height:1.4}
.cpx-count-senate-source a{color:var(--cpx-primary);font-weight:750}
.cpx-count-state-list-title{margin-top:7px}
@media(max-width:700px){.cpx-count-senate-composition{display:block;padding:16px;margin-bottom:24px}.cpx-count-senate-composition h3{font-size:16px}.cpx-count-senate-facts>strong{font-size:44px}.cpx-count-senate-facts>span{font-size:13px}.cpx-count-senate-facts small{font-size:10px}.cpx-count-senate-composition svg{width:min(100%,320px);margin:12px auto 0}.cpx-count-senate-party summary{gap:6px}.cpx-count-senate-members{grid-template-columns:1fr}.cpx-count-senate-member{min-height:82px}}

/* The Chamber diagram shows seats at stake, not elected candidates or vote totals. */
.cpx-count-federal-composition[hidden]{display:none!important}
.cpx-count-federal-composition{display:grid;grid-template-columns:minmax(0,1fr) 320px;column-gap:18px;max-width:760px;margin:0 0 25px;padding:20px 22px;border:1px solid var(--count-border);border-radius:12px;background:#fff;color:var(--count-ink)}
.cpx-count-federal-facts{grid-column:1;grid-row:1}
.cpx-count-federal-facts>strong{display:block;font:800 48px/1 "Cortex Interface",Arial,sans-serif;letter-spacing:-.06em}
.cpx-count-federal-facts>span{display:block;max-width:280px;margin-top:6px;font-size:15px;line-height:1.35}
.cpx-count-federal-composition svg{grid-column:2;grid-row:1;display:block;width:320px;max-width:100%;height:auto;margin:0 auto 12px}
.cpx-count-federal-composition>p,.cpx-count-federal-quicklinks,.cpx-count-federal-composition>small{grid-column:1 / -1}
.cpx-count-federal-composition>p{margin:0 0 10px;font-size:13px;font-weight:750}
.cpx-count-federal-quicklinks{display:flex;gap:7px;overflow-x:auto;padding:1px 1px 5px;scrollbar-width:none}
.cpx-count-federal-quicklinks::-webkit-scrollbar{display:none}
.cpx-count-federal-quicklinks a{display:flex;align-items:center;justify-content:space-between;gap:5px;flex:0 0 70px;min-height:38px;padding:5px 6px;border:1px solid var(--count-border);border-radius:7px;color:var(--count-ink);text-decoration:none;font-size:13px;transition:border-color .15s ease,box-shadow .15s ease}
.cpx-count-federal-quicklinks a:hover,.cpx-count-federal-quicklinks a:focus-visible{border-color:#88b8d3;box-shadow:0 3px 12px #10275413}
.cpx-count-federal-quicklinks img{width:27px;height:20px;border:1px solid #e1e8ee;border-radius:2px;object-fit:cover}
.cpx-count-federal-composition>small{display:block;margin:10px 0 0;color:var(--count-muted);font-size:10px;line-height:1.45}
.cpx-count-federal-composition>small a{color:var(--cpx-primary);font-weight:750}
.cpx-count-state-overview[data-state-office=federal] .cpx-count-state-regions{display:none}
.cpx-count-state-overview[data-state-office=federal] .cpx-count-state-list-title{font-size:14px}
.cpx-count-state-overview[data-state-office=federal] .cpx-count-state-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.cpx-count-state-overview[data-state-office=federal] .cpx-count-state-card{flex-direction:row;align-items:center;justify-content:space-between;min-height:44px;padding:7px 9px;gap:6px}
.cpx-count-state-overview[data-state-office=federal] .cpx-count-state-card>span:first-child{width:100%;justify-content:space-between}
.cpx-count-state-overview[data-state-office=federal] .cpx-count-state-card img{width:27px;height:20px;order:2}
.cpx-count-state-overview[data-state-office=federal] .cpx-count-state-card strong,.cpx-count-state-overview[data-state-office=federal] .cpx-count-state-card small,.cpx-count-state-overview[data-state-office=federal] .cpx-count-state-card-arrow{display:none}
.cpx-count-state-overview[data-state-office=federal] .cpx-count-state-code{display:inline;color:var(--count-ink);font-size:13px}
@media(max-width:700px){.cpx-count-state-overview[data-state-office=federal] .cpx-count-state-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.cpx-count-federal-composition{display:block;padding:16px}.cpx-count-federal-facts>strong{font-size:44px}.cpx-count-federal-facts>span{font-size:13px}.cpx-count-federal-composition svg{margin-top:12px}}

/* A UF shows its own seats before its official candidate/result list. */
.cpx-count-seat-context[hidden],.cpx-count-seat-continuing[hidden],.cpx-count-seat-national[hidden],.cpx-count-local-candidates-title[hidden]{display:none!important}
.cpx-count-seat-context{margin:0 0 16px;padding:18px;border:1px solid var(--count-border);border-radius:11px;background:#fff;color:var(--count-ink)}
.cpx-count-seat-facts{display:block}
.cpx-count-seat-facts strong{display:block;font:800 45px/1 "Cortex Interface",Arial,sans-serif;letter-spacing:-.05em}
.cpx-count-seat-facts p{margin:6px 0 0;font-size:14px;line-height:1.4}
.cpx-count-seat-continuing{display:flex;align-items:center;gap:7px;margin:12px 0 0;color:var(--count-muted);font-size:11px}
.cpx-count-seat-continuing span{display:inline-block;width:10px;height:10px;border-radius:50%;background:#d6dce3}
.cpx-count-seat-context svg{display:block;width:min(100%,320px);height:auto;margin:12px auto 2px}
.cpx-count-seat-links{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:10px;font-size:11px}
.cpx-count-seat-links a{color:var(--cpx-primary);font-weight:750;text-decoration:none}
.cpx-count-seat-links a:hover,.cpx-count-seat-links a:focus-visible{text-decoration:underline}
.cpx-count-seat-links a:last-child{color:var(--count-muted);font-size:10px}
.cpx-count[data-state-seat-context] .cpx-count-titlebar h2{font-size:23px}
.cpx-count-local-candidates-title{margin:21px 0 10px;color:var(--count-ink);font:750 16px/1.3 "Cortex Interface",Arial,sans-serif}
@media(max-width:600px){.cpx-count-seat-context{padding:16px}.cpx-count-seat-facts strong{font-size:43px}.cpx-count-seat-facts p{font-size:13px}.cpx-count-seat-links{font-size:10px}}
.cpx-count .cpx-count-share{display:grid;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;place-items:center;border-radius:50%;font-size:0;line-height:0}
.cpx-count .cpx-count-share svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cpx-count .cpx-count-share:hover,.cpx-count .cpx-count-share:focus-visible{background:#edf3fa;color:#07194f;border-color:#9bacbf}
