:root{color-scheme:dark;--bg:#0c111b;--card:#121a27;--line:#253044;--text:#edf2fa;--muted:#a3afc2;--flavio:#59bded;--lula:#fa9399;--amber:#e9c574;--green:#76d6b3;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:var(--bg);color:var(--text);font-size:15px;line-height:1.55}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,select,summary{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--amber);outline-offset:4px}header,main{max-width:1360px;margin:auto;padding:0 40px}header{height:108px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;font-size:23px;font-weight:800;letter-spacing:-.8px}.brand>div>span{font-weight:400;color:var(--muted)}.brand small{display:block;font-size:9px;letter-spacing:2.2px;color:var(--muted);font-weight:600}.brand-symbol{width:42px;height:44px;border:1px solid var(--amber);border-radius:9px;color:var(--amber);display:grid;place-items:center;font-size:20px;transform:rotate(-5deg)}nav{display:flex;gap:30px;color:var(--muted);font-size:13px}nav a{padding:12px 0}.intro{display:flex;justify-content:space-between;align-items:center;padding:47px 0 30px;gap:20px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--muted);display:flex;align-items:center;gap:9px}.dot{width:6px;height:6px;background:var(--green);border-radius:50%}.divider{margin:0 6px;color:#5b6579}h1{font-size:43px;line-height:1.2;letter-spacing:-1.8px;margin:13px 0 10px;font-weight:650}h2{font-size:21px;line-height:1.3;letter-spacing:-.4px;margin:0}h3{font-size:24px;margin:0;letter-spacing:-.5px}p{margin:8px 0;color:var(--muted)}.refresh-wrap{text-align:right}button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;border:0;border-radius:7px;padding:11px 18px;background:var(--amber);color:#211b0e;font-weight:650;transition:background .2s}button:hover{background:#f7d995}button:disabled{opacity:.6;cursor:wait}.refresh-wrap small{display:block;margin-top:9px;font-size:11px;color:var(--muted)}.notice{padding:12px 16px;border:1px solid #334153;background:#151f2d;border-radius:7px;color:#bdcce0;font-size:13px;margin-bottom:24px}.notice.error{border-color:#775448;background:#2b211e;color:#efc099}.notice:empty{display:none}.overview{display:grid;grid-template-columns:1.15fr 1fr 1fr .85fr;padding:24px 0 26px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:25px;margin-bottom:35px}.overview>div+div{border-left:1px solid var(--line);padding-left:26px}.label{font-size:10px;color:var(--muted);letter-spacing:1.1px;font-weight:650}.big{font-size:31px;font-weight:600;letter-spacing:-.8px;line-height:1.5;font-variant-numeric:tabular-nums}.big.time{font-size:26px;padding:4px 0}.overview small{font-size:11px;color:var(--muted)}.track{height:4px;background:var(--line);overflow:hidden;border-radius:4px;max-width:220px;margin:4px 0 8px}.track i{display:block;background:var(--amber);height:100%;width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.section-heading .eyebrow{margin-bottom:8px}.pill{font-size:9px;letter-spacing:1.1px;padding:5px 8px;border:1px solid var(--line);border-radius:4px;color:var(--muted);white-space:nowrap}.pill.amber{color:var(--amber);border-color:#57472c;background:#292316}.candidates{display:grid;grid-template-columns:1fr 1fr;gap:20px}.candidate{background:var(--card);border:1px solid var(--line);border-top:2px solid var(--flavio);border-radius:9px;padding:25px 28px}.candidate.lula-card{border-top-color:var(--lula)}.candidate-head{display:flex;align-items:center;gap:14px}.avatar{display:grid;place-items:center;border-radius:50%;width:48px;height:48px;background:#193347;color:var(--flavio);font-size:15px;font-weight:700}.lula-card .avatar{background:#39252e;color:var(--lula)}.candidate-head small{font-size:11px;color:var(--muted)}.voting{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:21px 0 6px}.voting strong{font-size:53px;letter-spacing:-2px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums}.voting>div{text-align:right}.votes{font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}.voting small{display:block;font-size:11px;color:var(--muted)}.vote-bar{background:var(--line);height:5px;border-radius:5px;position:relative;margin-top:18px}.vote-bar:after{content:"";position:absolute;left:50%;top:-4px;height:13px;width:1px;background:#cad1de}.vote-bar i{display:block;height:5px;background:var(--flavio);border-radius:5px}.lula-card .vote-bar i{background:var(--lula)}.bar-note{display:flex;justify-content:space-between;margin-top:9px;font-size:10px;color:var(--muted)}.flavio{color:var(--flavio)}.lula{color:var(--lula)}.other-votes{padding:15px 0 27px;display:flex;gap:15px;justify-content:space-between;font-size:12px;color:var(--muted)}.panel{border:1px solid var(--line);border-radius:10px;background:var(--card);padding:26px 28px;margin-bottom:25px}.muted{color:var(--muted)}.small{font-size:12px}.projection>p{font-size:12px;max-width:940px;margin-bottom:24px}.projection-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:22px}.forecast{border-right:1px solid var(--line);padding-right:24px}.forecast h3{font-size:15px}.chance{font-size:43px;font-weight:600;letter-spacing:-1px;line-height:1.4}.forecast small{font-size:11px;display:block;color:var(--muted)}.forecast dl{font-size:12px;margin:19px 0 0}.forecast dl>div{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-top:1px solid var(--line)}dt{color:var(--muted)}dd{margin:0;font-variant-numeric:tabular-nums;white-space:nowrap}.round-summary .chance{font-size:36px;color:var(--amber)}.round-summary p{font-size:12px}.model-note{margin-top:24px;border-top:1px solid var(--line);padding-top:14px;font-size:11px;color:var(--muted)}.control{font-size:10px;color:var(--muted);display:flex;flex-direction:column;gap:4px}.control input,.control select{background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:5px;min-height:42px;padding:8px 11px;font-size:12px}.legend{display:flex;gap:22px;font-size:11px}.chart{min-height:180px;display:grid;align-items:center}.chart svg{width:100%;height:230px;overflow:visible}.chart text{font-family:inherit;fill:var(--muted);font-size:10px}.empty-chart{padding:45px 20px;text-align:center;color:var(--muted);font-size:13px;border:1px dashed var(--line);margin:20px 0;border-radius:8px}.filters{display:flex;gap:12px}.table-wrap{overflow-x:auto;margin-top:18px}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left;white-space:nowrap}th{font-weight:500;color:var(--muted);font-size:10px;letter-spacing:.3px;padding:13px 12px;border-bottom:1px solid var(--line)}td{padding:14px 12px;border-bottom:1px solid #202b3c;font-variant-numeric:tabular-nums}th:first-child,td:first-child{padding-left:0}th:last-child,td:last-child{text-align:right;padding-right:0}td small{display:block;color:var(--muted);font-size:10px}td strong{font-weight:600}tr:hover td{background:#162131}.uf{display:inline-grid;place-items:center;width:31px;height:28px;font-size:10px;border:1px solid var(--line);border-radius:5px;margin-right:8px;color:var(--muted)}td .track{width:110px;height:3px;margin:5px 0 0}td .track i{background:#7f90ab}.method{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;margin:52px 0}.method h2{font-size:30px;line-height:1.2;margin:12px 0 18px;max-width:260px}.method p{font-size:13px}.method a{display:inline-block;font-size:12px;color:var(--amber);margin-top:16px}.method details{border-bottom:1px solid var(--line);padding:15px 0}.method details:first-child{padding-top:0}.method summary{font-size:13px;font-weight:600;min-height:30px}.method details p{font-size:12px;padding-right:10px}.formula{background:var(--card);border:1px solid var(--line);padding:12px!important;border-radius:5px;font-family:ui-monospace,monospace;font-size:11px!important}footer{border-top:1px solid var(--line);padding:24px 0 32px;display:flex;justify-content:space-between;gap:15px;font-size:11px;color:var(--muted)}footer>span:first-child{color:var(--text)}.skip{position:absolute;top:-100px;left:10px;padding:10px;background:var(--amber);color:#111;z-index:10}.skip:focus{top:10px}#reconciliation{margin-top:17px}@media(max-width:1050px){header,main{padding-left:24px;padding-right:24px}.overview{grid-template-columns:1fr 1fr}.overview>div:nth-child(3){border-left:0;padding-left:0}.projection-grid{gap:16px}.forecast{padding-right:15px}.filters{max-width:370px}h1{font-size:38px}.candidate{padding:22px}.voting strong{font-size:43px}.votes{font-size:15px}}@media(max-width:700px){header,main{padding-left:18px;padding-right:18px}header{height:82px}nav{gap:14px}nav a{font-size:11px}nav a:first-child{display:none}.intro{display:block;padding:30px 0 24px}h1{font-size:34px;margin:15px 0 10px}.intro p{font-size:13px}.refresh-wrap{text-align:left;margin-top:23px}.refresh-wrap button{width:100%}.refresh-wrap small{text-align:center}.overview{gap:22px 14px;padding:20px 0;margin-bottom:26px}.overview>div+div{padding-left:14px}.big{font-size:25px}.big.time{font-size:23px}.label{font-size:9px;letter-spacing:.7px}.candidates{grid-template-columns:1fr;gap:15px}.candidate{padding:21px}.voting strong{font-size:47px}.votes{font-size:18px}.other-votes{display:block;font-size:11px}.other-votes span{display:block;margin-top:5px}.panel{padding:21px 18px}.projection .section-heading{align-items:start;flex-wrap:wrap}h2{font-size:19px}.projection-grid{grid-template-columns:1fr 1fr;gap:20px}.forecast:nth-child(2){border-right:0;padding-right:0}.forecast dl>div{display:block}.forecast dd{margin-top:2px}.chance{font-size:33px}.round-summary{grid-column:1 / -1;border-top:1px solid var(--line);padding-top:16px}.history .section-heading,.states .section-heading{display:block}.history .control{margin-top:17px}.filters{margin-top:15px;display:grid;grid-template-columns:1fr 1fr}.filters input,.filters select{width:100%;min-width:0}.control{min-width:0}.method{grid-template-columns:1fr;gap:22px;margin:35px 0}.method h2{max-width:none;font-size:27px}.method>div>p{max-width:450px}footer{display:block;font-size:10px}footer>span{display:block;margin-bottom:6px}.chart svg{height:190px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
[hidden]{display:none!important}.tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin-bottom:27px}.tabs [role=tab]{border-radius:0;background:transparent;color:var(--muted);border-bottom:2px solid transparent;padding:13px 25px;font-size:14px}.tabs [role=tab]:hover{color:var(--text);background:var(--card)}.tabs [role=tab][aria-selected=true]{color:var(--amber);border-bottom-color:var(--amber)}.geo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:23px 0 30px}.geo-card{border:1px solid var(--line);background:var(--card);border-radius:9px;padding:22px}.geo-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px}.geo-title h3{font-size:18px;letter-spacing:-.3px;display:flex;align-items:center}.geo-title .uf{margin-right:9px;flex-shrink:0}.source-link{font-size:10px;color:var(--muted);white-space:nowrap;min-height:35px;display:flex;align-items:center}.geo-progress{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.geo-progress strong{font-weight:600;color:var(--text);font-size:13px}.geo-card>.track{max-width:none;margin:9px 0 6px;height:4px}.geo-section-count{color:var(--muted);font-size:10px;display:block;margin-bottom:21px}.geo-candidate{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.geo-candidate small{display:block;color:var(--muted);font-size:11px;padding-left:15px}.geo-candidate strong{font-size:23px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.geo-footer{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:var(--muted);margin-top:15px}.regional-note{font-size:12px;max-width:820px}@media(max-width:1100px){.geo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.geo-grid{grid-template-columns:1fr;gap:15px}.tabs{gap:0}.tabs [role=tab]{flex:1;padding:12px 10px}.geo-card{padding:22px}.geo-title h3{font-size:20px}.geo-candidate{font-size:14px}.geo-candidate strong{font-size:26px}.geo-footer{font-size:10px}#view-states>.section-heading{display:block}}
.card-chances{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:22px;border-top:1px solid var(--line);padding-top:17px}.card-chances>div+div{border-left:1px solid var(--line);padding-left:20px}.card-chances span{font-size:11px;color:var(--muted)}.card-chances strong{font-size:29px;font-weight:600;display:block;letter-spacing:-.5px}.card-chances small{display:block;color:var(--muted);font-size:10px}@media(max-width:700px){.card-chances strong{font-size:28px}.card-chances>div+div{padding-left:14px}}
/* Visual inspirado no aplicativo Resultados do TSE. */
:root{color-scheme:light;--bg:#f4f5f3;--card:#fff;--line:#dfe3d9;--text:#272c2d;--muted:#667064;--flavio:#002776;--lula:#e30613;--amber:#856400;--green:#718d2e}body{background:var(--bg)}header{background:white;max-width:none;padding-left:max(24px,calc((100vw - 1280px)/2));padding-right:max(24px,calc((100vw - 1280px)/2));height:90px}.brand-symbol{background:#efc600;color:#303523;border:0;transform:none;border-radius:12px}.brand small{letter-spacing:1.5px}.intro{background:#738b33;border-radius:0 0 25px 25px;margin:0 -18px 24px;padding:28px;color:white;padding-top:25px}.intro h1{font-size:32px;letter-spacing:-.8px}.intro p,.intro .eyebrow,.intro .refresh-wrap small{color:#f4f7ea}.intro .dot{background:#f5d323}.intro .divider{color:#e6eccf}.intro button{background:#efc600;color:#292d20}.intro button:hover{background:#ffda14}.notice{background:#edf2e1;color:#4b6024;border-color:#d6dfc0}.notice.error{background:#fff8e8;color:#745608;border-color:#e6d399}.overview{background:white;padding:23px;border:0;border-radius:19px;box-shadow:0 3px 10px #202a1010;gap:20px}.overview .track{height:11px;max-width:none;background:#e4e5e2}.track i{background:#9cb832}.overview .big{font-weight:700}.label{letter-spacing:.5px}.tabs{margin-top:5px;border:0;gap:10px}.tabs [role=tab]{border:1px solid #7c8c55;border-radius:7px;color:#51583f;background:transparent;font-weight:650;padding:12px 25px}.tabs [role=tab][aria-selected=true]{background:#71872e;color:white;border-color:#71872e}.tabs [role=tab]:hover{background:#e6edd6}.tabs [role=tab][aria-selected=true]:hover{background:#607725}.pill{background:#f4f6ee;color:#687052}.pill.amber{background:#fff8df;color:#7e6307;border-color:#e8d78e}.candidate{border:0;border-top:0!important;border-radius:21px;background:white;padding:29px 30px;box-shadow:0 4px 14px #26331012}.candidate-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.portrait-ring{width:88px;height:88px;padding:4px;border-radius:50%;background:conic-gradient(#dfb800 var(--vote),#ebedeb 0)}.portrait{width:80px;height:80px;object-fit:cover;object-position:50% 25%;border-radius:50%;border:3px solid white;display:block}.voting{display:flex;flex-direction:column;align-items:flex-end;margin:0;gap:2px}.voting strong{color:#b88d00;font-size:44px;letter-spacing:-1px;font-weight:750}.votes{font-size:16px;font-weight:450;color:#5d6265}.candidate-identity{margin-top:17px}.candidate-identity small{color:#596165;font-size:12px;font-weight:650}.candidate-identity h3{font-size:22px;text-transform:uppercase;letter-spacing:-.4px;margin-top:6px}.card-chances{border-color:#e8eadf}.card-chances strong{color:#3e5020;font-size:28px}.panel{background:white;border:0;border-radius:19px;box-shadow:0 3px 12px #2633100b}.round-summary .chance{color:#758b24}.model-note a{color:#536e22}.formula{background:#f4f6ee}.method details{border-color:#d5dacd}.method a{color:#587325}.geo-card{border:0;border-radius:19px;box-shadow:0 4px 14px #26331012;padding:24px}.geo-title .uf{background:#edf2df;border:0;color:#5c722a}.geo-progress strong{color:#33451a}.geo-card>.track{height:9px;background:#e4e5e2}.geo-card>.track i{background:#9cb832}.geo-title .pill{background:#f2f5eb}.geo-candidate{border-color:#e9ece3}.geo-candidate strong{font-size:25px}.geo-footer{color:#677260}.control input,.control select{background:white}.chart text{fill:#687267}.empty-chart{background:#f8f9f5}.forecast{border-color:#e0e4da}.forecast dl>div{border-color:#e6e9e0}.chance{color:#344623}.section-heading h2{font-weight:700}.history .legend{font-weight:550}footer{border-color:#d5dacf}.source-link{color:#617633}.small{line-height:1.6}.other-votes{padding:16px 4px 23px}@media(max-width:700px){header{padding:0 20px;height:78px}.brand{font-size:21px}.brand small{font-size:8px}.brand-symbol{width:37px;height:39px}nav a{font-size:10px}.intro{border-radius:0 0 22px 22px;padding:22px 20px;margin:0 -18px 20px}.intro h1{font-size:26px}.intro .eyebrow{font-size:9px;letter-spacing:1.2px}.intro p{font-size:12px}.refresh-wrap{margin-top:18px}.refresh-wrap button{min-height:44px}.overview{padding:20px 16px;gap:20px 12px;border-radius:19px}.overview .big{font-size:24px}.overview .big.time{font-size:22px}.overview>div+div{padding-left:12px}.overview>div:nth-child(3){padding-left:0}.overview small{font-size:10px}.candidate{padding:26px 24px}.candidate-identity h3{font-size:22px}.portrait-ring{width:82px;height:82px}.portrait{width:74px;height:74px}.voting strong{font-size:39px}.votes{font-size:14px}.card-chances strong{font-size:28px}.card-chances span{font-size:10px}.geo-grid{gap:18px}.geo-card{padding:24px}.panel{padding:22px 19px}.tabs{gap:9px}.tabs [role=tab]{font-size:14px;padding:11px 8px;min-height:46px}.section-heading{margin-bottom:18px}.geo-candidate strong{font-size:26px}}
.region-details{margin-top:17px;border-top:1px solid var(--line)}.region-details summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:12px 0 0;font-size:12px;font-weight:650;color:#536d27;list-style:none}.region-details summary::-webkit-details-marker{display:none}.region-details summary svg{flex-shrink:0;transition:transform .2s}.region-details[open] summary svg{transform:rotate(180deg)}.region-details ul{list-style:none;padding:0;margin:12px 0 0}.region-state{padding:13px 0;border-top:1px solid #e9ece3;font-size:11px}.region-state:last-child{padding-bottom:0}.region-state-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}.region-state-heading>strong{font-size:12px;font-weight:650}.region-state-heading>span{font-size:10px;color:var(--muted);white-space:nowrap}.region-state-votes{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:8px}.region-state-votes>span{display:flex;align-items:baseline;justify-content:space-between;gap:5px;color:var(--muted)}.region-state-votes strong{font-size:14px;font-weight:650;font-variant-numeric:tabular-nums}#region-cards{align-items:start}@media(max-width:700px){.region-details summary{font-size:13px}.region-state-heading>strong{font-size:13px}.region-state-heading>span{font-size:11px}.region-state-votes{font-size:12px}.region-state-votes strong{font-size:15px}}

.chances-heading{margin:24px 0 10px;font-size:13px;font-weight:650;color:var(--muted)}.chances-heading+.card-chances{margin-top:0}

.brand:hover{text-decoration:none}.brand-logo{width:52px;height:52px;flex-shrink:0}.brand>div{display:flex;flex-direction:column;gap:3px}.brand>div>.brand-name{font-size:18px;font-weight:850;color:#1d5739;letter-spacing:-.5px;line-height:1.15}.brand>div>.brand-subtitle{font-size:20px;font-weight:800;line-height:1.15;color:#163f68;letter-spacing:1px}.brand-subtitle i{font-size:10px;font-weight:650;letter-spacing:2px;font-style:normal;color:#78833e;border-left:1px solid #d8decf;padding-left:9px;margin-left:5px}.geo-title h3{display:flex;align-items:center;gap:14px;min-width:0}.geo-map{width:58px;height:58px;flex:0 0 58px;object-fit:contain}.geo-map.region-map{width:88px;height:88px;flex-basis:88px}.geo-title{align-items:center}.geo-title .pill{margin-left:auto}header{border-top:4px solid #1d5739}@media(max-width:700px){header{height:auto;min-height:86px;gap:15px;padding-top:13px;padding-bottom:13px}.brand{gap:9px}.brand-logo{width:43px;height:43px}.brand>div>.brand-name{font-size:14px}.brand>div>.brand-subtitle{font-size:18px}.brand-subtitle i{font-size:8px;letter-spacing:1.2px}nav{gap:10px;flex-wrap:wrap;justify-content:flex-end;max-width:82px}nav a{padding:0}.geo-title h3{font-size:20px;gap:12px}.geo-map{width:53px;height:53px;flex-basis:53px}.geo-map.region-map{width:80px;height:80px;flex-basis:80px}}
/* Compact candidate cards without shrinking the primary results. */
.candidate{padding:22px 24px}.candidate-identity{margin-top:10px}.candidate-identity h3{margin-top:2px}.chances-heading{margin:14px 0 6px}.card-chances{padding-top:10px}.card-chances strong{line-height:1.35}.card-chances small{margin-top:1px}@media(max-width:700px){.candidate{padding:18px 20px}.candidates{gap:14px}.portrait-ring{width:68px;height:68px}.portrait{width:60px;height:60px}.candidate-top{gap:12px}.candidate-identity small{font-size:10px}.candidate-identity h3{font-size:20px}.chances-heading{margin-top:12px;font-size:12px}.card-chances strong{font-size:26px}.card-chances small{font-size:9px}.voting strong{font-size:37px}.votes{font-size:13px}}
/* Dense geographical summaries, with a comfortable accordion touch target. */
.geo-card{padding:18px 20px}.geo-title{margin-bottom:10px}.geo-map{width:48px;height:48px;flex-basis:48px}.geo-map.region-map{width:64px;height:64px;flex-basis:64px}.geo-card>.track{margin:6px 0 4px;height:7px}.geo-section-count{margin-bottom:8px}.geo-candidate{padding:8px 0}.geo-footer{margin-top:9px}.region-details{margin-top:10px}.region-details summary{min-height:44px;padding:4px 0 0}.region-details ul{margin-top:6px}.region-state{padding:10px 0}.region-state-votes{margin-top:5px}@media(max-width:700px){.geo-card{padding:16px 18px}.geo-grid{gap:14px}.geo-title h3{gap:10px}}

.national-tally{margin:0 0 18px}.national-tally-label{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;color:var(--muted);margin-bottom:7px}.national-tally-label strong{font-size:13px;font-weight:650;font-variant-numeric:tabular-nums}.national-tally-bar{position:relative;height:28px;overflow:hidden;border-radius:6px;background:#e4e5e2;display:grid;place-items:center;color:#263511}.national-tally-bar i{position:absolute;inset:0 auto 0 0;width:0;background:#9cb832;transition:width .3s ease}.national-tally-bar strong{position:relative;font-size:14px;font-weight:750;font-variant-numeric:tabular-nums}@media(prefers-reduced-motion:reduce){.national-tally-bar i{transition:none}}

.intro-subtitle-short,.refresh-short{display:none}@media(max-width:700px){header{min-height:62px;padding:8px 18px;gap:10px}.brand{gap:8px}.brand-logo{width:36px;height:36px}.brand>div{gap:2px}.brand>div>.brand-name{font-size:12px;letter-spacing:-.2px}.brand>div>.brand-subtitle{font-size:16px}.brand-subtitle i{font-size:7px;letter-spacing:1px;padding-left:6px;margin-left:3px}nav{gap:4px;max-width:72px}nav a{font-size:9px}.intro{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:12px 18px;margin-bottom:16px;border-radius:0 0 16px 16px}.intro .eyebrow,.intro-subtitle-full{display:none}.intro-subtitle-short{display:inline}.intro h1{font-size:18px;line-height:1.2;margin:0;letter-spacing:-.4px}.intro p{font-size:11px;line-height:1.4;margin:4px 0 0}.refresh-wrap{display:contents}.refresh-wrap button{grid-column:2;grid-row:1;width:auto;min-height:44px;padding:9px 11px;font-size:12px;gap:6px}.refresh-wrap small{grid-column:1 / -1;margin:0;text-align:left;font-size:10px;line-height:1.4}.refresh-full{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.refresh-short{display:inline}}

@media(max-width:700px){header nav{display:none}}

.candidate-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px}.candidate-top .candidate-identity{margin:0;min-width:0}.candidate-top .candidate-identity h3{margin:0 0 3px;font-size:19px;line-height:1.15}.candidate-top .candidate-identity small{display:block;font-size:11px;line-height:1.3}.candidate-top .portrait-ring{width:68px;height:68px}.candidate-top .portrait{width:60px;height:60px}.candidate-top .voting strong{font-size:38px}.candidate-top .votes{font-size:12px;white-space:nowrap}@media(max-width:700px){.candidate-top{gap:10px}.candidate-top .portrait-ring{width:56px;height:56px}.candidate-top .portrait{width:48px;height:48px}.candidate-top .candidate-identity h3{font-size:15px;letter-spacing:-.2px}.candidate-top .candidate-identity small{font-size:10px}.candidate-top .voting strong{font-size:32px}.candidate-top .votes{font-size:10px}.candidate{padding:16px 18px}}@media(max-width:360px){.candidate-top{gap:8px}.candidate-top .portrait-ring{width:48px;height:48px}.candidate-top .portrait{width:40px;height:40px}.candidate-top .candidate-identity h3{font-size:13px}.candidate-top .voting strong{font-size:28px}.candidate-top .votes{font-size:9px}}

.chart{display:block;min-height:0;margin-top:14px}.chart svg{display:block;width:100%;height:auto}.chart text{font-size:11px}.chart-values{display:grid;grid-template-columns:1fr 1fr;gap:14px;border-top:1px solid var(--line);padding-top:12px}.chart-values>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.chart-values span{font-size:10px;color:var(--muted)}.chart-values strong{font-size:18px;white-space:nowrap;font-variant-numeric:tabular-nums}.chart-caption{font-size:10px;margin-top:10px;line-height:1.5}@media(max-width:360px){.chart-values>div{display:block}.chart-values strong{display:block}}

footer{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;background:#1d5739;color:white;border:0;border-radius:18px 18px 0 0;padding:24px 20px;margin:0 -18px}footer p{margin:0;color:inherit}.footer-credit{font-size:12px;line-height:1.6;font-weight:550}.footer-social{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 14px;font-size:12px}.footer-social a{display:inline-flex;align-items:center;min-height:36px;color:#f6df76}.footer-source{font-size:10px;line-height:1.7;color:#d9e7dd}footer a:focus-visible{outline-color:#f6df76}

#view-regions .geo-grid{margin-top:0}.state-controls{display:flex;justify-content:flex-end;margin-bottom:16px}.state-controls .filters{margin-top:0;width:100%;max-width:400px}#view-states .geo-grid{margin-top:0}
.national-tally{margin-bottom:6px}.national-tally-label{margin-bottom:4px}.national-tally-bar{height:16px;border-radius:4px}.national-tally-bar strong{font-size:11px;line-height:1}.national-tally+.tabs{margin-top:0}
.national-tally-bar i{overflow:hidden;transition:width .7s ease}
.national-tally-bar i::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,#ffffff60 50%,transparent 80%);transform:translateX(-100%);opacity:0}
.national-tally-bar i.is-updating::after{animation:tally-shine 1.4s ease-out 1}
@keyframes tally-shine{0%{transform:translateX(-100%);opacity:0}20%{opacity:1}100%{transform:translateX(100%);opacity:0}}
@media(prefers-reduced-motion:reduce){.national-tally-bar i{transition:none}.national-tally-bar i.is-updating::after{animation:none}}
.candidate .chances-heading{margin:8px 0 4px;line-height:1.3}.candidate .card-chances{padding-top:6px;gap:12px}.candidate .card-chances span{display:block;line-height:1.3}.candidate .card-chances strong{line-height:1.15;margin:2px 0}.candidate .card-chances small{line-height:1.3;margin:0}.candidate{padding-bottom:12px}@media(max-width:700px){.candidate .card-chances strong{font-size:24px}}

.candidate .chances-heading{display:flex;align-items:center;gap:9px}.candidate .chances-heading::after{content:"";height:1px;flex:1;background:var(--line)}.candidate .card-chances{border-top:0;padding-top:0}.chances-caption{font-size:9px;line-height:1.3;margin:4px 0 0;color:var(--muted)}

footer{background:#738b33;padding:16px 18px;gap:6px}.footer-credit{font-size:11px;font-weight:400;line-height:1.5}.footer-credit strong{font-weight:650}.footer-credit span{display:block;font-size:10px}.footer-social{gap:10px}.footer-social a{width:40px;height:40px;min-height:40px;justify-content:center;color:white;border-radius:50%}.footer-social a:hover{background:#ffffff18}.footer-social svg{display:block;flex-shrink:0}.footer-source{font-size:9px;color:#f4f7ea;line-height:1.5}

/* Auditoria de contraste, navegação e alvos de toque. */
:root{--surface-green:#536b24}
.intro,footer{background:var(--surface-green)}
.tabs [role=tab]{display:inline-flex;align-items:center;justify-content:center;min-height:46px;text-decoration:none;line-height:1.4}
.tabs [role=tab][aria-selected=true]{background:var(--surface-green);border-color:var(--surface-green)}
.voting strong{color:#967200}
.footer-source{font-size:11px}.footer-credit{font-size:12px}.footer-credit span{font-size:11px}
.footer-social a{width:44px;height:44px;min-height:44px}
.footer-pages{display:flex;max-width:none;justify-content:center;gap:18px;color:white;font-size:12px}
.footer-pages a{display:inline-flex;align-items:center;min-height:44px;padding:4px 0;font-size:12px}
footer .footer-pages a:first-child{display:inline-flex}
.document-nav{display:flex;gap:22px;padding:16px 0;max-width:none;flex-wrap:wrap}
.document-nav a:first-child{display:block}.document-nav a{font-size:14px;min-height:44px}
.document-page{max-width:820px;margin:30px auto 42px}.document-page h1{font-size:32px}.document-page h2{margin-top:24px}.document-page p{font-size:15px;margin:14px 0}.document-page a{color:#3f6317;text-decoration:underline}
.noscript-note{font-size:13px;padding:12px;background:white;border-radius:8px}
.chances-caption{font-size:10px}.control input,.control select{min-height:44px}.region-details summary{min-height:44px}
@media(max-width:700px){.tabs [role=tab]{flex:1}.control input,.control select{font-size:16px}.intro .refresh-wrap small{font-size:11px}.document-page h1{font-size:27px}.method h1{font-size:27px;letter-spacing:-.6px}.footer-pages{margin:0}.footer-pages a{font-size:12px}}

.result-badge-row{margin:8px 0 4px;display:flex;justify-content:flex-start}.result-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:5px;font-size:11px;font-weight:700;background:#e9f4df;color:#2c531a;border:1px solid #b3cda1}.result-badge small{font-size:9px;border-left:1px solid currentColor;padding-left:6px;font-weight:500}.result-badge.runoff{background:#eaf2fa;color:#174b72;border-color:#adcadf}

#refresh{width:210px;flex-shrink:0}@media(max-width:700px){.refresh-wrap #refresh{width:132px;min-width:132px}}@media(max-width:360px){.refresh-wrap #refresh{width:120px;min-width:120px;font-size:11px;gap:4px;padding-left:8px;padding-right:8px}}

/* Shared IBGE geometry: colors describe the state count, never an elected status. */
:root{--map-other:#76529b;--map-unknown:#8a9299}
.regional-title{justify-content:flex-start;gap:16px;margin-bottom:8px}
.region-map-button{position:relative;width:136px;height:112px;min-width:136px;padding:0;background:transparent;border:1px solid transparent;border-radius:12px;color:var(--muted)}
.region-map-button:hover{background:#f3f5ee;border-color:var(--line)}
.regional-svg{display:block;width:100%;height:100%;overflow:visible}
.map-state{fill:var(--map-unknown);stroke:#fff;stroke-width:1px;stroke-linejoin:round;outline:none}
.map-state path,.map-state circle{vector-effect:non-scaling-stroke}
.map-flavio{fill:var(--flavio)}.map-lula{fill:var(--lula)}.map-other{fill:var(--map-other)}
.map-expand{position:absolute;right:1px;bottom:0;font-size:17px;line-height:1;background:white;border:1px solid var(--line);padding:3px;border-radius:5px}
.region-map-dialog{width:min(900px,calc(100% - 32px));max-height:calc(100dvh - 32px);border:1px solid var(--line);border-radius:22px;padding:24px;background:var(--card);color:var(--text);overflow:auto;box-shadow:0 24px 90px #13231140}
.region-map-dialog::backdrop{background:#10201bc4}
.map-modal-open{overflow:hidden}
.map-dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;position:sticky;top:0;background:var(--card);z-index:3}
.map-dialog-heading h2{font-size:24px}.map-dialog-heading p{font-size:13px;margin:5px 0}
.map-close{min-width:44px;width:44px;height:44px;padding:0;border-radius:50%;background:#f0f3e9;font-size:26px;flex:none;color:var(--text)}
.map-legend{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:12px;margin-top:12px}.map-other-label{color:var(--map-other)}
.map-context{font-size:12px;margin:5px 0 0}
.map-stage{position:relative;margin:12px 0;background:#f6f7f2;border-radius:14px;min-width:0}
.map-canvas{height:430px;padding:12px}
.map-canvas .map-state{cursor:pointer;stroke-width:1px}
.map-state text{font:700 3.8px ui-sans-serif,sans-serif;fill:white;stroke:none;text-anchor:middle;dominant-baseline:middle;pointer-events:none;paint-order:stroke;filter:drop-shadow(0 0 .25px #172117)}
.map-canvas .map-state:hover,.map-canvas .map-state:focus-visible,.map-canvas .map-state[aria-pressed=true],.map-canvas .map-selection{stroke:#fff;stroke-width:1px}
.map-canvas .map-selection{pointer-events:none;transform-box:fill-box;transform-origin:center;transform:translateY(-1.2px) scale(1.1);filter:drop-shadow(0 1px 1px #17211744);animation:state-lift 220ms ease-out both}
@keyframes state-lift{from{transform:translateY(0) scale(1);filter:drop-shadow(0 0 0 #17211700)}to{transform:translateY(-1.2px) scale(1.1);filter:drop-shadow(0 1px 1px #17211744)}}
@media(prefers-reduced-motion:reduce){.map-canvas .map-selection{animation:none}}
.map-popover{position:absolute;z-index:1;left:12px;top:12px;width:264px;background:white;padding:16px;border:1px solid #ccd4c3;border-radius:14px;box-shadow:0 8px 28px #18241930;font-size:13px}
.map-popover h3{font-size:20px;margin:0 0 8px}.map-counted,.map-vote-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.map-counted{padding-bottom:8px;border-bottom:1px solid var(--line);color:var(--muted)}.map-counted strong{color:var(--text)}
.map-vote-row{padding:8px 0;border-bottom:1px solid var(--line)}.map-vote-row small{display:block;color:var(--muted);font-size:11px}.map-vote-row strong{font-size:18px;white-space:nowrap}
.map-others,.map-leader{font-size:12px;margin:8px 0}.map-popover>small{font-size:11px;color:var(--muted)}
.map-state-options{display:flex;flex-wrap:wrap;gap:8px}.map-state-options button{min-width:44px;min-height:44px;padding:6px 10px;background:#f0f3e9;border:1px solid var(--line);color:var(--text)}
.map-state-options button[aria-pressed=true]{background:var(--tse-green,#536b24);color:white;border-color:#536b24}
.map-source{font-size:11px;margin:12px 0 0}
@media(max-width:700px){.region-map-button{width:132px;min-width:132px;height:106px}.regional-title{gap:12px}.region-map-dialog{padding:16px;width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:18px}.map-dialog-heading h2{font-size:21px}.map-canvas{height:260px;padding:8px}.map-popover{position:static;width:auto;margin:0 8px 8px;box-shadow:none}.map-stage{padding-bottom:1px}.map-state text{font-size:4px}.map-legend{gap:4px 12px}.map-dialog-heading p{font-size:12px}}
@media(max-width:360px){.region-map-button{width:116px;min-width:116px;height:96px}.regional-title{gap:8px}.map-canvas{height:230px}}

/* Candidate identity stays consistent across every vote summary. */
.history .section-heading{margin-bottom:12px}.history .chart{margin-top:0}
.vote-chart-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
.vote-chart-summary>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.vote-chart-summary span{font-size:12px;font-weight:650;color:var(--text)}
.vote-chart-summary strong{font-size:28px;font-weight:750;line-height:1.2}
.vote-chart-scale,.history-note{font-size:11px;margin:8px 0;color:var(--muted)}
.chart-data summary{font-size:12px;min-height:44px;display:flex;align-items:center;color:var(--text)}
.chart-data summary::before{content:'+';margin-right:8px}.chart-data[open] summary::before{content:'−'}
.chart-data .table-wrap{max-height:240px;margin-top:0;overflow:auto}.chart-data table{white-space:normal}
.chart-data th,.chart-data td{padding:8px;font-size:11px}.history-note{margin-bottom:0}
.candidate{--candidate-color:var(--flavio)}.candidate.lula-card{--candidate-color:var(--lula)}
.candidate .card-chances strong{color:var(--candidate-color)}
.candidate-summary{--candidate-color:var(--flavio);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-width:0}
.lula-summary{--candidate-color:var(--lula)}
.candidate-summary .portrait-ring{background:conic-gradient(var(--candidate-color) var(--vote),#ebedeb 0);flex-shrink:0}
.candidate-summary .candidate-identity{margin:0;min-width:0}
.candidate-summary .candidate-name{color:var(--text);font-weight:750;margin:0 0 3px;line-height:1.2;letter-spacing:-.2px}
.candidate-summary .candidate-identity small{padding:0;color:var(--muted);font-size:10px;line-height:1.3}
.candidate-summary .voting strong{color:var(--candidate-color)}
.candidate-summary:not(.candidate-top) .portrait-ring{width:44px;height:44px;padding:3px}
.candidate-summary:not(.candidate-top) .portrait{width:38px;height:38px;border-width:2px}
.candidate-summary:not(.candidate-top) .candidate-name{font-size:13px;text-transform:none}
.candidate-summary:not(.candidate-top) .voting strong{font-size:25px;line-height:1.2;letter-spacing:-.5px}
.candidate-summary:not(.candidate-top) .votes{font-size:10px;line-height:1.3;white-space:nowrap}
.geo-candidate,.map-vote-row{display:block}
.region-state-votes{display:grid;grid-template-columns:1fr;gap:8px;margin-top:8px}
.region-state-votes .candidate-summary .voting strong{font-size:21px}
.map-popover{width:320px}
.map-popover .candidate-summary{gap:8px}
.map-popover .candidate-summary .voting strong{font-size:21px}
@media(max-width:700px){.map-popover{width:auto}}
@media(max-width:360px){.candidate-summary:not(.candidate-top){gap:7px}.candidate-summary:not(.candidate-top) .portrait-ring{width:38px;height:38px}.candidate-summary:not(.candidate-top) .portrait{width:32px;height:32px}.candidate-summary:not(.candidate-top) .candidate-name{font-size:12px}.candidate-summary:not(.candidate-top) .voting strong{font-size:21px}.candidate-summary:not(.candidate-top) .votes{font-size:9px}.map-popover{padding:12px}.map-popover .candidate-summary .voting strong{font-size:19px}}

/* Compact nested state results: distinct from the parent region card. */
.region-details ul{display:grid;gap:8px;margin-top:10px}
.region-details .region-state{padding:8px 10px;border:1px solid #d5dccd;border-radius:9px;background:#fff}
.region-details .region-state:last-child{padding-bottom:8px}
.region-state-heading{align-items:center;gap:6px}
.region-state-name{display:flex;align-items:center;gap:7px}
.state-flag{width:24px;height:16px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 0 1px #0003)}
.region-state-heading>span{font-size:10px;white-space:nowrap}
.region-state-votes{gap:5px;margin-top:6px}
.region-state-votes .candidate-summary{gap:7px}
.region-state-votes .candidate-summary .candidate-name{font-size:12px;letter-spacing:0;margin-bottom:0;line-height:1.15}
.region-state-votes .candidate-summary .candidate-identity{line-height:1.1}
.region-state-votes .candidate-summary .candidate-identity small{display:block;font-size:9px;line-height:1.1;margin-top:1px}
.region-state-votes .candidate-summary .voting strong{font-size:16px;letter-spacing:-.2px}
.region-state-votes .candidate-summary .votes{font-size:9px}

.region-state-votes .candidate-dot{width:6px;height:6px;border-radius:50%;background:var(--candidate-color);align-self:start;margin-top:4px}
.region-state-votes .candidate-summary .candidate-name{color:var(--candidate-color);font-weight:650}
