:root {
  --bg:#f6f8f5;--panel:#fff;--panel2:#f1f6f2;--line:#dde7df;
  --text:#172b22;--muted:#667b70;--green:#18814d;--green2:#20734b;
  --yellow:#e9b73c;--red:#be3d40;--orange:#b7782d;--blue:#3971bb;
  --shadow:0 14px 42px rgba(23,55,36,.055);--radius:22px;
}
body {background:linear-gradient(180deg,#f0f7f2 0,#f8faf7 380px,#f6f8f5 100%);color:var(--text)}
body:before {display:none}
.shell {width:min(1240px,calc(100% - 40px));padding-top:22px}
.topbar {background:rgba(255,255,255,.94);border-color:#dce9df;box-shadow:0 12px 36px rgba(17,54,30,.075)}
.icon-library {position:absolute;width:0;height:0;overflow:hidden}
.logo {background:#e8f5ec;border-color:#cce5d3;overflow:hidden}
.logo img {display:block;width:100%;height:100%;object-fit:cover}
.brand strong {letter-spacing:.07em}
.brand span,.label,.scope-card .scope-subtitle,.section-head p,.party,.stat span,
.mini-card span,.hint,.scope-note,.early-head p,.early-note,.exterior-intro,
.state-name span,.state-votes,.exterior-card small,.info-row span,.votes,.query-summary span {color:var(--muted)}
.visit-pill {background:#fff8e4;border-color:#eddfa9;color:#614f14}
.visit-pill {display:inline-flex;align-items:center;gap:9px;white-space:normal}
.visit-icon {width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.visit-copy {display:flex;flex-direction:column;line-height:1.1}
.visit-copy strong {font-size:16px;letter-spacing:.01em;font-variant-numeric:tabular-nums}
.visit-copy small {font-size:10px;font-weight:650;margin-top:3px}
.live {background:#e9f7ed;border-color:#c6e5ce;color:#11613a}
.site-nav {display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;padding:10px 3px 9px;white-space:nowrap}
.site-nav a {display:inline-flex;align-items:center;padding:11px 15px;border-radius:12px;text-decoration:none;font-size:13px;font-weight:750;color:#496454;border:1px solid transparent}
.nav-icon,.card-icon {width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nav-icon {margin-right:8px}.card-icon {width:21px;height:21px;color:#16814d}
.site-nav a:hover,.site-nav a:focus-visible {color:#0d673b;background:#edf7ef;outline:none}
.site-nav a[aria-current="page"] {color:#116539;background:#e8f6ec;border-color:#cce7d2}
.view {padding-top:2px}
body:not([data-page="overview"]) .overview-view,
body:not([data-page="brasil"]) .brasil-view,
body:not([data-page="exterior"]) .exterior-view,
body:not([data-page="primeiro"]) .primeiro-view,
body:not([data-page="segundo"]) .segundo-view,
body:not([data-page="liderancas"]) .liderancas-view,
body:not([data-page="mapa"]) .mapa-view,
body:not([data-page="regioes"]) .regioes-view,
body:not([data-page="dados"]) .dados-view {display:none}
.hero {margin-top:10px;grid-template-columns:minmax(0,1fr) minmax(330px,.8fr)}
.hero-main,.hero-side,.panel {background:#fff;border-color:var(--line);box-shadow:var(--shadow)}
.hero-main {min-height:250px;background:#fff;position:relative;overflow:hidden}
.hero-main:after {content:"";position:absolute;width:250px;height:250px;border:55px solid rgba(25,129,77,.045);border-radius:50%;right:-45px;top:-90px}
.hero-main h1 {color:#173f29;position:relative;z-index:1}
.hero-side {background:#fff;color:var(--text)}
.hero-side .label,.hero-side .progress-labels,.hero-side .side-meta,.hero-side .mini-card span {color:var(--muted)}
.hero-side .big {color:#176b40}
.hero-scope {color:#5b705f}
.hero-side .mini-card {background:#f7faf7;border-color:var(--line)}
.hero-side .progress {background:#e8eee9}
.stat,.mini-card,.candidate,.info,.query-summary,.uf-candidate,.state-card,.exterior-card,
.scope-card {background:#fff;border-color:var(--line);box-shadow:0 4px 20px rgba(20,53,33,.025)}
.stat small,.exterior-kpis .mini-card small {color:#876522}
.scope-card.preview {border-color:#e7d99f}
.scope-card h3 {display:flex;align-items:center;gap:9px}
.brazil-live-panel {display:grid;gap:12px}
.brazil-live-panel .scope-card {box-shadow:none;background:#f9fcf9}
.brazil-live-panel .scope-rows {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.brazil-live-panel .scope-row {border-top:1px solid var(--line)}
.brazil-live-panel .scope-note {margin:0}
.scope-card .scope-status {color:#836523}
.scope-card h3 {color:#153e29}
.scope-row-head b {color:#174d2e}
.scope-track,.vote-bar,.progress {background:#e8eee9}
.scope-track i,.vote-bar i {background:#248353}
.candidate.leader {background:#f3faf5;border-color:#bfe0c9}
.avatar {background:#e8f2e9}
.badge.green {color:#0a6433;background:#e7f7ea;border-color:#bde6c8}
.badge.yellow {color:#745310;background:#fff6d8;border-color:#ecdba3}
.badge.muted {color:#667b70}
.source-link,.early-card a,.early-note a,footer a {color:#126f42}
.pill,.source-tag,.uf-tag {background:#f3f8f4;color:#3e6650;border-color:var(--line)}
.searchbox input,.searchbox select,.exterior-tools input,.office-tools input,.office-tools select {background:#fff;color:var(--text);border-color:#cdded1}
.searchbox option,.office-filter option {background:#fff;color:var(--text)}
.searchbtn {background:#187d4a;color:#fff}
.searchbtn:hover,.searchbtn:focus-visible {background:#11653a}
.exterior-tools button {background:#f5faf5;color:#28543b;border-color:var(--line)}
.state-two {color:#385347}
.state-card:hover,.state-card:focus-visible,.exterior-card:hover,.exterior-card:focus-visible {border-color:#85bba0}
.early-box {background:#fffbef;border-color:#e8dba9}
.live-preview {background:#fff;border:1px solid #e7e9e6;max-width:780px}
.scope-live {margin:15px 0;padding:12px;border:1px solid #e8dba9;border-radius:13px;background:#fffbef}
.scope-live-title {display:flex;flex-direction:column;gap:2px}
.scope-live-title strong {font-size:13px;color:#273e30}
.scope-live-title span {font-size:10px;color:#7d642f}
.scope-live .live-preview {height:260px;margin:10px 0 7px;max-width:none}
.scope-live .early-note {margin:0}
.nav-action {border:1px solid #cbe5d2;background:#eaf6ed;color:#166b3d;text-decoration:none;padding:10px 14px;border-radius:11px;font-size:12px;font-weight:800}
.nav-action:hover {background:#d9eddf}
.leaders-layout {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.leaders-column {min-width:0;padding:20px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow)}
.leaders-title {display:flex;align-items:center;gap:11px;margin-bottom:16px}
.leaders-title .card-icon {width:26px;height:26px}
.leaders-title h3 {font-size:22px;margin:0;color:#173f29}
.leaders-title p {font-size:12px;color:var(--muted);margin:2px 0 0}
.leaders-counts {display:grid;grid-template-columns:1fr 1fr;gap:10px}
.leaders-counts>div {border:1px solid var(--line);border-radius:14px;background:#f6faf7;padding:13px}
.leaders-counts span,.leaders-counts small {display:block;color:var(--muted);font-size:11px}
.leaders-counts strong {display:block;font-size:29px;line-height:1.15;color:#176b40;margin:4px 0}
.leaders-counts>div:last-child strong {color:#245d9c}
.leaders-status,.leaders-note {font-size:12px;line-height:1.5;color:var(--muted)}
.leaders-status {margin:13px 0}
.leaders-note {margin:15px 2px}
.leaders-controls {display:grid;grid-template-columns:minmax(0,1fr) 125px;gap:8px;margin:12px 0}
.leaders-controls input,.leaders-controls select {min-width:0;width:100%;padding:10px 11px;border:1px solid #cdded1;border-radius:10px;background:#fff;color:var(--text);font:inherit;font-size:12px}
.leaders-controls input:focus-visible,.leaders-controls select:focus-visible {outline:2px solid #187d4a;outline-offset:1px}
.leaders-list {display:grid;gap:8px}
.leader-place {padding:11px;border:1px solid var(--line);border-radius:13px;background:#fbfdfb}
.leader-place-top {display:flex;align-items:start;justify-content:space-between;gap:8px}
.leader-place-top strong {display:block;font-size:13px;color:#233e2c}
.leader-place-top small {display:block;font-size:10px;color:var(--muted);margin-top:2px}
.leader-tag {display:inline-flex;align-items:center;white-space:nowrap;border-radius:99px;padding:5px 8px;background:#eaf4ed;color:#14643b;font-size:10px;font-weight:800}
.leader-tag.flavio {background:#eaf3fc;color:#245d9c}
.leader-tag.tie {background:#f2f4f2;color:#5a7060}
.leader-place-votes {display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.leader-place-votes>div {padding:8px;border-radius:9px;background:#fff;border:1px solid var(--line)}
.leader-place-votes span,.leader-place-votes small {display:block;font-size:10px;color:var(--muted)}
.leader-place-votes b {display:block;font-size:18px;color:#ad4745;margin:2px 0}
.leader-place-votes>div:last-child b {color:#245d9c}
.leader-place>a {display:inline-block;font-size:10px;margin-top:8px;color:#126f42}
.leaders-more {display:block;width:100%;margin-top:11px;padding:10px;border:1px solid #cbe5d2;border-radius:11px;background:#eaf6ed;color:#166b3d;font-weight:800;cursor:pointer}
.leaders-preview {margin:14px 0;padding:12px;border:1px solid #e8dba9;border-radius:13px;background:#fffbef}
.leaders-preview strong {font-size:12px}.leaders-preview p,.leaders-preview a {font-size:10px;line-height:1.5}
.leaders-preview p {color:var(--muted)}.leaders-preview a {color:#126f42}
.leaders-preview .live-preview {height:260px;margin:9px 0;max-width:none}
.map-intro {display:flex;gap:8px;flex-direction:column;margin-bottom:22px}
.map-intro strong {font-size:21px;color:#173f2b}
.map-intro span {font-size:12px;color:var(--muted);line-height:1.5}
.map-regions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:18px}
.map-region {background:#f8fbf8;border:1px solid var(--line);border-radius:17px;padding:16px}
.map-region h3 {font-size:15px;margin:0 0 12px;color:#235039}
.map-tiles {display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}
.map-tile {display:flex;flex-direction:column;min-height:102px;padding:11px;border-radius:11px;border:1px solid var(--line);text-decoration:none;background:#fff;color:var(--text)}
.map-tile b {font-size:18px}.map-tile span {font-size:10px;margin-top:3px}.map-tile small {font-size:10px;margin-top:auto;padding-top:9px;color:var(--muted);line-height:1.25}
.map-tile.lula {background:#fff2ee;border-color:#efc5b6}.map-tile.flavio {background:#eaf3fc;border-color:#bad5ed}
.map-tile:hover,.map-tile:focus-visible {outline:2px solid #418761;outline-offset:1px}
.exterior-map-panel {margin-top:18px}
.exterior-map-panel .pill,.regioes-view .pill {display:inline-flex;margin-bottom:15px}
.world-regions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px}
.world-region {min-width:0;padding:18px;border:1px solid var(--line);border-radius:17px;background:#f8fbf8}
.world-region-head {display:flex;justify-content:space-between;align-items:start;gap:8px}
.world-region h3 {margin:0;font-size:16px;color:#194630}
.world-region-head span,.world-region>p {font-size:11px;color:var(--muted)}
.world-region>p {margin:10px 0 12px}
.world-vote {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.world-vote>span {padding:11px;border:1px solid var(--line);border-radius:12px;background:#fff;min-width:0}
.world-vote b,.world-vote strong,.world-vote small {display:block}
.world-vote b {font-size:11px}.world-vote strong {font-size:20px;color:#b23a3b;margin:4px 0}
.world-vote>span:last-child strong {color:#366caf}
.world-vote small {font-size:10px;color:var(--muted)}
.world-bar {height:7px;background:#dcebf9;border-radius:10px;overflow:hidden;margin-top:13px}
.world-bar i {display:block;height:100%;background:#dd8171}
.world-cities {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:14px}
.world-cities a {display:flex;flex-direction:column;padding:9px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--text);text-decoration:none;min-width:0}
.world-cities a:hover,.world-cities a:focus-visible {outline:2px solid #83bca1}
.world-cities strong {font-size:11px}.world-cities span {font-size:10px;color:var(--muted);margin-top:3px}
.region-disclaimer {font-size:13px;color:#526c5c;line-height:1.55;margin:0 0 17px}
.region-disclaimer a,.map-intro a {color:#126f42}
.first-overview {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.first-summary {padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff;min-width:0;box-shadow:var(--shadow)}
.first-national {margin-top:17px}
.first-head {display:flex;align-items:center;gap:10px}.first-head h3 {font-size:20px;margin:0;color:#183f2a}
.first-head p {font-size:12px;color:var(--muted);margin:3px 0 0}
.first-meta {padding:11px 0;font-size:12px;color:#476753}
.first-results {display:flex;flex-direction:column;gap:7px}
.first-candidate {display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:12px;background:#f8fbf8}
.first-number {display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#eaf4ec;color:#166e42;font-size:12px;font-weight:850;flex:none}
.first-name {min-width:0;flex:1}.first-name strong {font-size:12px;display:block}.first-name small {display:block;color:var(--muted);font-size:10px;margin:2px 0 6px}
.first-candidate>b {font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums}
.first-track {height:5px;background:#e7eee8;border-radius:9px;overflow:hidden}.first-track i {height:100%;display:block;background:#278450}
.first-national .first-results {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.primeiro-view>.hint {margin:18px 2px;line-height:1.55}.primeiro-view>.hint a {color:#126f42}
.nav-action {cursor:pointer}.nav-action:disabled {opacity:.5;cursor:wait}
.info-row {border-color:var(--line);font-size:12px}.info h3 {font-size:16px}
footer {color:#6f8275}footer a {text-decoration:underline}
[hidden] {display:none!important}
@media(max-width:900px) {.hero {grid-template-columns:1fr}.map-regions,.leaders-layout,.world-regions,.first-overview {grid-template-columns:1fr}}
@media(max-width:650px) {
  .world-cities,.first-national .first-results {grid-template-columns:1fr}
  .world-region,.first-summary {padding:14px}
  .shell {width:calc(100% - 20px);padding-top:8px}
  .topbar {position:relative;top:auto;flex-wrap:wrap}
  .top-actions {width:100%;justify-content:space-between}
  .site-nav {margin:2px -4px;padding-bottom:11px}
  .site-nav a {font-size:12px;padding:10px 11px}
  .hero-main {min-height:180px}.hero-main h1 {font-size:clamp(43px,12vw,70px)}
  .scope-grid {grid-template-columns:1fr}
  .brazil-live-panel .scope-rows {grid-template-columns:1fr;gap:0}
  .stats {grid-template-columns:repeat(2,minmax(0,1fr))}
  .stat {padding:13px}.stat b {font-size:20px}
  .panel {padding:14px}.candidate {grid-template-columns:44px minmax(0,1fr)}
  .candidate .right {grid-column:2;text-align:left;min-width:0}
  .exterior-kpis {grid-template-columns:1fr 1fr}
  .map-tiles {grid-template-columns:repeat(2,minmax(0,1fr))}
  .leaders-column {padding:14px}.leaders-controls {grid-template-columns:minmax(0,1fr) 110px}
  .section-head {margin-top:23px}
}
