@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#132e28;--muted:#738079;--line:#e1e8e1;--paper:#f3f5ef;--green:#235a46;--lime:#d6ea8b}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',system-ui,sans-serif;font-size:14px}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,select{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,g:focus-visible{outline:3px solid #80a450;outline-offset:4px}header{height:76px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fafbf7}.brand{display:flex;align-items:center;gap:12px;font-family:Manrope,system-ui;font-size:25px;font-weight:800;letter-spacing:-1px}.brand-icon{background:var(--ink);color:var(--lime);border-radius:12px;padding:3px 10px;font-size:30px}.brand-sub{display:block;font-family:'DM Sans',sans-serif;font-size:10px;font-weight:500;letter-spacing:0}.live{font-size:10px;letter-spacing:1.2px;font-weight:700;display:flex;align-items:center;gap:8px}.live i{height:7px;width:7px;border-radius:50%;background:#72a751;display:inline-block}nav{display:flex;align-items:center;gap:25px;font-size:12px;color:#53665b}.text-button{border:0;background:transparent;color:var(--green);font-size:12px;padding:8px}.map-dashboard{max-width:1700px;margin:auto;padding:24px 32px 105px}.dashboard-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:700;color:var(--green);margin:0 0 8px}h1,h2,h3{font-family:Manrope,system-ui;margin:0}h1{font-size:28px;line-height:1.2;letter-spacing:-1px;font-weight:600}.map-instruction{color:var(--muted);font-size:12px;margin:8px 0 0}.turn-control{width:245px;display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center}.turn-control select{font-size:12px;padding:10px}.turn-control small{grid-column:2}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}.map-stage{min-width:0;border:1px solid var(--line);border-radius:16px;position:relative;overflow:hidden;background:radial-gradient(circle,#dce3d6 1px,transparent 1px) 0 0/22px 22px,#fafbf7;padding:20px 24px 18px}.map-topline{display:flex;justify-content:space-between;align-items:center;position:absolute;left:24px;right:24px;top:20px;z-index:1;pointer-events:none}.pill{font-size:10px;padding:7px 10px;border:1px solid var(--line);border-radius:30px;white-space:nowrap;color:var(--muted);background:#ffffffc0}.map-hint{font-size:12px;font-weight:600;background:#ffffffc0;padding:8px 12px;border-radius:7px}.map{height:clamp(340px,calc(100dvh - 430px),720px);min-width:0;display:flex;align-items:center;justify-content:center}.map svg{display:block;height:100%;width:100%;max-width:100%;filter:drop-shadow(0 6px 8px #1938240c)}.map path{fill:#d9e5cd;stroke:#fafbf7;stroke-width:1.4;transition:fill .18s}.map g{cursor:pointer}.map text{font-size:13px;font-weight:600;fill:#496045;text-anchor:middle;pointer-events:none;paint-order:stroke;stroke:#d9e5cd;stroke-width:2px}.map circle{fill:var(--green);stroke:white;stroke-width:1px}.map g:hover path,.map g:focus path{fill:#a8c78d}.map g.selected path{fill:var(--green)}.map g.selected text{fill:white;stroke:var(--green)}.map-bottom{display:flex;align-items:end;justify-content:space-between;gap:20px;border-top:1px solid #e1e8e1;padding-top:14px}.state-control{width:245px}.state-control label{display:block;margin-bottom:6px}.exterior-button{border:1px solid var(--line);background:white;border-radius:9px;padding:11px 20px;text-align:left;color:var(--ink);font-weight:600;font-size:12px}.exterior-button span{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:4px}.card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.card h2{font-size:21px;font-weight:600;letter-spacing:-.6px}.presidency{min-width:0}.presidency .candidate-list{max-height:clamp(200px,calc(100dvh - 620px),440px);overflow:auto;scrollbar-width:thin}.progress-head{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);margin-top:20px}.progress-head strong{font-size:17px;color:var(--green)}.track{height:5px;background:#edf1e9;border-radius:8px;margin:9px 0 7px;overflow:hidden}.track span{display:block;height:100%;background:var(--green);border-radius:8px}.timestamp{font-size:10px;color:var(--muted);line-height:1.6}.candidate{padding:14px 0;border-bottom:1px solid #edf0ea;display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:9px;align-items:start}.rank{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#f0f4ea;color:var(--green);font-size:11px;font-weight:600}.candidate strong{display:block;font-size:12px;overflow-wrap:anywhere}.candidate small{display:block;font-size:10px;margin-top:4px}.candidate .percentage{text-align:right;font-size:17px;letter-spacing:-.5px;font-weight:600}.vote-bar{height:3px;background:#edf0ea;margin-top:9px;border-radius:6px;overflow:hidden}.vote-bar span{display:block;background:#709263;height:100%}.badge{display:inline-block!important;background:#e6f2db;color:#385a27;font-size:9px!important;padding:3px 6px;border-radius:4px}.stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px;padding:17px 0 8px}.stats strong{display:block;font-size:14px;overflow-wrap:anywhere}.stats span{font-size:10px;color:var(--muted)}.stats small{display:block;font-size:9px}.sidebar-note{border-top:1px solid var(--line);padding-top:12px;color:var(--muted);font-size:10px;line-height:1.6;margin-top:8px}.external-link{font-size:11px;color:var(--green);display:block;margin-top:6px;padding-left:0}.alert{background:#fff6dd;color:#776136;padding:12px;border-radius:8px;font-size:11px;line-height:1.6;margin:14px 0}.empty{text-align:center;padding:35px 10px;color:var(--muted);line-height:1.6}.empty h3{color:var(--ink);font-size:17px}.empty-icon{font-size:30px;color:#b3c39b;display:block;margin-bottom:8px}.method{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:var(--muted);line-height:1.6;padding:14px 2px}.method p{margin:0}label{font-size:11px;font-weight:600}select,input{border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:10px;font-size:16px;max-width:100%;width:100%}small{font-size:10px;color:var(--muted);line-height:1.5}
/* Resultados abrem sobre o mapa; a página inicial permanece focada no Brasil. */
dialog{border:1px solid var(--line);border-radius:17px;max-width:460px;width:calc(100% - 30px);padding:28px;box-shadow:0 20px 100px #0004;color:var(--ink);max-height:90dvh;overflow:auto}dialog::backdrop{background:#102c2760;backdrop-filter:blur(3px)}dialog h2{font-size:25px}dialog p{color:var(--muted);line-height:1.6}dialog label{display:block;margin:18px 0 8px}dialog small{display:block;margin-top:8px}.primary{padding:12px;border:0;background:var(--green);color:white;border-radius:8px;width:100%;margin-top:14px}.close{float:right;border:0;background:transparent;font-size:24px;color:var(--muted)}dialog a{color:var(--green);font-size:12px}#radio-error{color:#a44135}.state-panel{width:min(760px,calc(100% - 32px));max-width:760px;padding:28px 32px}.state-panel-top{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:22px}.state-panel-top .eyebrow{margin:0}.back-map{border:1px solid var(--line);background:var(--paper);padding:9px 12px;border-radius:8px;font-size:11px;color:var(--green);white-space:nowrap}.tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);padding:20px 0 12px;overflow:auto;margin-bottom:16px}.tabs button{border:0;background:transparent;padding:9px;border-radius:7px;white-space:nowrap;color:var(--muted);font-size:11px}.tabs button.active{background:var(--ink);color:white}.tabs button[hidden]{display:none}.search{margin-top:16px}.state-panel .candidate-list{max-height:36dvh;overflow:auto;scrollbar-width:thin}.state-panel .stats{grid-template-columns:repeat(4,minmax(0,1fr))}.senate-summary{background:#f3f7eb;padding:12px;border-radius:8px;font-size:11px;line-height:1.6;margin-top:12px}.result-footnote{font-size:10px;border-top:1px solid var(--line);margin-bottom:0;padding-top:12px}.radio-bar{position:fixed;bottom:0;left:0;right:0;background:#102c27;color:white;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 32px;min-height:76px;box-shadow:0 -8px 32px #132e2810;z-index:5}.radio-brand{display:flex;gap:15px;align-items:center;min-width:200px}.radio-brand strong{font-size:13px}.radio-brand small{display:block;color:#c4d0c5;font-size:10px}.wave{letter-spacing:2px;color:var(--lime);font-size:25px}.radio-controls{display:flex;align-items:center;gap:18px}.radio-controls button{border:0;background:var(--lime);color:var(--ink);border-radius:7px;padding:10px 17px;font-size:12px}.radio-controls .secondary{background:#ffffff12;color:white;border:1px solid #ffffff20}.radio-bar>a{font-size:12px;color:#d8e5cf;white-space:nowrap}.volume{font-size:10px;color:#c4d0c5;display:flex;align-items:center;gap:8px}.volume input{width:80px;padding:0;accent-color:var(--lime)}button:disabled{opacity:.5;cursor:wait}
@media(min-width:1500px){.dashboard-grid{grid-template-columns:minmax(0,1fr) 350px}.map-dashboard{padding-left:40px;padding-right:40px}}
@media(max-width:1000px){header{padding:0 22px}nav{gap:14px}.map-dashboard{padding:20px 22px 110px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 295px;gap:16px}.map-stage{padding:18px 16px}.map-topline{left:16px;right:16px}.map{height:clamp(340px,calc(100dvh - 430px),600px)}.map-bottom{gap:12px}.state-control{width:190px}.exterior-button{padding:10px;font-size:11px}.card{padding:18px}.volume{display:none}.radio-bar{padding:15px 22px}}
@media(max-width:760px){header{height:70px;padding:0 16px}.brand{font-size:23px}.brand-icon{font-size:27px}nav{gap:5px}nav .text-button{font-size:10px;padding:6px}nav a,.live{display:none}.map-dashboard{padding:20px 16px 140px}.dashboard-toolbar{display:block;margin-bottom:16px}h1{font-size:26px}.map-instruction{font-size:11px}.turn-control{width:100%;max-width:330px;margin-top:14px;grid-template-columns:48px 1fr}.dashboard-grid{grid-template-columns:minmax(0,1fr);gap:18px}.map{height:clamp(350px,60dvh,520px);padding-top:22px}.map-stage{padding:18px 14px 14px}.map-topline{left:14px;right:14px;top:14px}.map-topline .pill{font-size:9px}.map-hint{font-size:10px}.map-bottom{align-items:stretch}.state-control{width:auto;flex:1;min-width:0}.state-control label{font-size:10px}.state-control select{font-size:16px}.exterior-button{align-self:end;padding:10px;font-size:10px}.exterior-button span{font-size:9px}.presidency .candidate-list{max-height:240px}.presidency .stats{grid-template-columns:repeat(4,minmax(0,1fr))}.presidency .stats strong{font-size:12px}.presidency .stats small{font-size:8px}.method{display:block;font-size:9px}.method p{margin-top:6px}.state-panel{width:calc(100% - 20px);padding:20px 16px;max-height:90dvh}.state-panel-top{gap:8px;padding-bottom:14px;margin-bottom:16px}.state-panel-top .eyebrow{font-size:8px;letter-spacing:1px}.back-map{padding:8px;font-size:10px}.state-panel .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.radio-bar{padding:12px 16px;flex-wrap:wrap;gap:8px;min-height:85px}.radio-brand{min-width:130px;gap:10px}.radio-brand small{display:none}.radio-controls{gap:7px;margin-left:auto}.radio-controls button{padding:9px 10px;font-size:11px}.radio-controls #play span{display:none}.radio-bar>a{font-size:10px;margin-left:auto}.radio-bar .wave{font-size:20px}}
.radio-controls #radio-select{width:155px;background:#ffffff0f;color:white;border-color:#ffffff25;font-size:12px;padding:9px}.radio-controls #radio-select option{background:#102c27;color:white}.radio-select-label{color:#c4d0c5;font-size:10px}.rank{font-size:9px}
@media(max-width:1000px){.radio-select-label{display:none}.radio-brand small{display:none}.radio-controls{gap:10px}}
@media(max-width:760px){.radio-bar{min-height:106px}.radio-brand{min-width:auto}.radio-controls{gap:6px}.radio-controls #radio-select{width:112px;font-size:11px}.radio-controls .secondary{display:none}.radio-bar>a{width:100%;text-align:right}.map-dashboard{padding-bottom:150px}}
#radio-options{margin-top:12px;max-height:270px;overflow:auto}.radio-choice{width:100%;display:block;text-align:left;background:#f6f8f2;color:var(--ink);border:1px solid var(--line);border-radius:9px;padding:11px 13px;margin-bottom:7px}.radio-choice:hover{background:#e8f0de}.radio-choice strong{font-size:12px}.radio-choice small{margin-top:3px}.catalog-status{font-size:10px!important}.radio-controls #radio-select{width:190px}@media(max-width:760px){.radio-controls #radio-select{width:155px}.radio-brand .wave{display:none}.radio-brand strong{font-size:11px}}
.radio-brand{min-width:0}.radio-brand strong{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:760px){.radio-brand strong{max-width:108px}.radio-controls #radio-select{width:140px}}@media(max-width:350px){.radio-brand strong{max-width:82px}.radio-controls #radio-select{width:125px}}
.presidential-highlights{margin-bottom:22px}.highlights-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}.highlights-heading .eyebrow{font-size:9px;margin-bottom:4px}.highlights-heading h2{font-size:20px;letter-spacing:-.6px}.highlights-heading>span{font-size:10px;color:var(--muted);text-align:right}.top-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.top-candidate{min-width:0;background:var(--ink);color:white;border-radius:13px;padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:15px;position:relative;overflow:hidden}.top-identity{display:flex;gap:13px;align-items:center;min-width:0}.candidate-number{font-size:16px;font-weight:700;background:#ffffff12;border:1px solid #ffffff20;border-radius:10px;width:44px;height:44px;display:grid;place-items:center;flex-shrink:0}.top-identity h3{font-size:18px;overflow-wrap:anywhere}.top-identity small{color:#d2ddcd;margin-top:4px;display:block}.top-votes{text-align:right;flex-shrink:0}.top-votes strong{display:block;font-size:27px;letter-spacing:-1px;color:var(--lime)}.top-votes>span{font-size:11px;color:#d2ddcd}.top-vote-track{position:absolute;bottom:0;left:0;right:0;height:4px;background:#ffffff10}.top-vote-track span{display:block;height:100%;background:var(--lime)}.top-candidate.placeholder{min-height:86px;color:#d2ddcd;font-size:12px}.map{height:clamp(320px,calc(100dvh - 590px),600px)}
@media(max-width:1000px){.top-identity h3{font-size:15px}.top-votes strong{font-size:24px}.top-candidate{padding:16px;gap:10px}.candidate-number{width:35px;height:35px;font-size:13px}}
@media(max-width:760px){.highlights-heading{display:block}.highlights-heading>span{display:block;text-align:left;margin-top:7px;line-height:1.5}.highlights-heading h2{font-size:19px}.top-two{gap:10px}.top-candidate{display:block;padding:14px 12px}.top-identity{gap:8px}.candidate-number{width:27px;height:27px;font-size:11px;border-radius:7px}.top-identity h3{font-size:13px}.top-identity small{font-size:9px}.top-votes{text-align:left;margin-top:12px}.top-votes strong{font-size:25px}.top-votes>span{font-size:10px}.top-candidate.placeholder{min-height:92px}.presidential-highlights{margin-bottom:22px}.map{height:clamp(350px,60dvh,520px);padding-top:22px}}
@media(min-width:761px){.presidency .candidate-list{max-height:clamp(130px,calc(100dvh - 810px),300px)}}
/* Situação oficial dos governadores e listas municipais. */
.map g[data-outcome="elected"] path,.map g[data-outcome="defined"] path{fill:#23846c}
.map g[data-outcome="runoff"] path{fill:#dbab57}
.map g[data-outcome="counting"] path{fill:#d4e4df}
.map g[data-outcome="unknown"] path,.map g[data-outcome="unassigned"] path{fill:#e6e9e8}
.map g.selected path,.map g:hover path{stroke:#102c27;stroke-width:2.5;filter:brightness(.94)}
.map-legend{display:flex;flex-wrap:wrap;gap:8px 16px;padding:4px 18px;font-size:11px;color:#52675e}.map-legend span{display:flex;align-items:center;gap:6px}.map-legend i{width:10px;height:10px;border-radius:50%;display:inline-block}.legend-elected{background:#23846c}.legend-runoff{background:#dbab57}.legend-counting{background:#d4e4df}
.governors-section{margin:24px 0;padding:24px;background:#fff;border:1px solid #e1e8e4;border-radius:18px}.governor-winners{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.governor-card{display:flex;text-align:left;align-items:flex-start;gap:12px;padding:16px;border:1px solid #dce8e2;border-radius:12px;background:#f7fbf8;color:#173c31;cursor:pointer}.governor-card small{display:block;margin-top:5px;font-size:12px}.governor-card:hover{border-color:#23846c}
#municipal-dialog{width:min(540px,calc(100vw - 24px));max-height:88dvh;overflow:auto;border:0;border-radius:20px;padding:30px;color:#163a2e}#municipal-dialog::backdrop{background:#102c2780}#municipal-dialog label{display:block;font-size:13px;font-weight:600;margin:16px 0 6px}#municipal-dialog select,#municipal-dialog input{width:100%;padding:12px;border:1px solid #d7e3dc;border-radius:9px;background:#fff;font:inherit;min-width:0}#municipal-dialog select{font-size:14px}#municipal-status{font-size:13px;min-height:24px}#generate-report{width:100%}button:disabled{opacity:.6;cursor:wait}
.report-page{max-width:1100px;margin:30px auto 150px;padding:0 24px}.report-page h1{font-size:clamp(26px,4vw,42px);line-height:1.15}.report-actions{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.report-actions button{padding:12px 16px}.report-note{font-size:13px;line-height:1.65;color:#60736a}.report-table-wrap{overflow:auto;margin-top:20px;border:1px solid #e1e8e4;border-radius:12px;background:white}.report-table{width:100%;border-collapse:collapse;font-size:14px}.report-table th,.report-table td{text-align:left;padding:14px;border-bottom:1px solid #edf1ef}.report-table th{background:#eef5f1;white-space:nowrap}.report-table td:nth-child(2),.report-table td:nth-child(3){white-space:nowrap}.pending-label{display:block;color:#80692f;font-size:11px;margin-top:4px}#report-summary .stats{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:650px){header nav{flex-wrap:wrap;gap:8px}#nav-municipalities{font-size:12px}.governors-section{padding:18px}.report-page{padding:0 16px}#report-summary .stats{grid-template-columns:1fr}.report-table{font-size:12px}.report-table td,.report-table th{padding:10px}.map-legend{font-size:10px;padding:4px 8px;gap:8px}.report-table td:last-child{min-width:130px}#municipal-dialog{padding:24px 18px}}

.legend-unknown{background:#e6e9e8}
/* Navegação inferior móvel, player acima dela e PWA. */
:root{--footer-space:76px}.mobile-bottom-nav{display:none}.map-dashboard{padding-bottom:calc(var(--footer-space) + 28px)}.report-page{margin-bottom:calc(var(--footer-space) + 40px)}[hidden]{display:none!important}.report-actions .primary{width:auto;margin-top:0}#install-dialog{max-width:470px}html{scroll-padding-bottom:calc(var(--footer-space) + 20px)}.presidential-highlights,#explore{scroll-margin-top:16px}
@media(max-width:760px){header nav{display:none}header .live{display:flex;font-size:9px;letter-spacing:.6px}.radio-bar{bottom:calc(62px + env(safe-area-inset-bottom,0px));min-height:70px;padding:12px;gap:8px;flex-wrap:nowrap;box-shadow:0 -5px 24px #132e2820}.radio-brand{flex:1;min-width:0}.radio-brand strong{max-width:100%;font-size:12px}.radio-brand small{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}.radio-controls{margin:0;gap:6px;flex-shrink:0}.radio-controls #radio-select{width:128px;font-size:11px;padding:9px 6px}.radio-controls #play{width:40px;height:38px;padding:7px}.radio-bar>a{display:none}.mobile-bottom-nav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:calc(62px + env(safe-area-inset-bottom,0px));padding:5px 8px calc(5px + env(safe-area-inset-bottom,0px));gap:2px;background:#fafcf9;border-top:1px solid #dfe7df;box-shadow:0 -3px 16px #132e2808;z-index:6}.mobile-bottom-nav a,.mobile-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;background:transparent;border:0;color:#697b73;border-radius:10px;padding:4px;font-size:10px;font-weight:600;cursor:pointer}.mobile-bottom-nav a[aria-current="page"]{color:#235a46;background:#eaf2e9}.mobile-bottom-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.map-dashboard{padding-bottom:calc(var(--footer-space) + 28px)}.report-actions{gap:8px}.report-actions button{font-size:12px}#municipal-dialog,#install-dialog{max-height:calc(100dvh - 40px)}.report-page{margin-bottom:calc(var(--footer-space) + 40px)}}
@media(max-width:350px){.radio-controls #radio-select{width:112px}.radio-brand strong{max-width:95px}.radio-brand small{max-width:95px}.radio-bar{gap:5px;padding:10px}.mobile-bottom-nav span{font-size:9px}}

.share-callout{margin:22px 0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;background:#eaf2e9;border:1px solid #dce7da;border-radius:14px}.share-callout p{font-size:12px;color:#60736a;margin:6px 0 0}.whatsapp-share,.radio-bar>a.portal-cta{display:flex;align-items:center;justify-content:center;padding:12px 18px;background:#d6ea8b;color:#102c27;border-radius:9px;font-weight:700;white-space:nowrap;font-size:12px}.whatsapp-share{background:#235a46;color:white}.radio-bar>a.portal-cta:hover{filter:brightness(1.06)}
@media(max-width:760px){.share-callout{align-items:stretch;flex-direction:column}.radio-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.radio-bar>a.portal-cta{display:flex;grid-column:1/-1;width:100%;margin:0;text-align:center;padding:7px 10px;font-size:11px}.radio-controls{grid-column:2;grid-row:1}.radio-bar .radio-brand{grid-column:1;grid-row:1}.radio-bar audio{display:none}}

.election-current{font-size:12px;color:#235a46;font-weight:700;margin:8px 0}
#exterior-filter{padding:14px;background:#f0f5ed;border-radius:10px;margin-top:12px}#exterior-filter label{font-weight:600;font-size:12px}#exterior-filter input{margin:8px 0}#exterior-filter select{width:100%;padding:12px;border:1px solid #d7e3dc;border-radius:8px;background:white}#foreign-filter-status{display:block;font-size:11px;color:#60736a;margin-top:6px}

/* Identidade dos presidenciáveis, independente da ordem da votação. */
.tone-lula{--candidate-color:#c52c40;--candidate-soft:#fff0f2}.tone-flavio{--candidate-color:#2563b8;--candidate-soft:#eef4ff}.tone-neutral{--candidate-color:#235a46;--candidate-soft:#f1f5ef}
.top-candidate{border:0;text-align:left;cursor:pointer;color:white}.top-candidate.tone-lula,.top-candidate.tone-flavio{background:var(--candidate-color)}.top-candidate .top-votes strong{color:white}.top-candidate .top-vote-track>span{background:#ffffffaa}.card-detail-hint{grid-column:1/-1;margin-top:6px;color:#fff;font-size:11px}.top-candidate:hover{filter:brightness(1.06)}.candidate[data-pres-candidate]{cursor:pointer}.candidate[data-pres-candidate]:hover{background:var(--candidate-soft)}.candidate[data-pres-candidate] .rank{background:var(--candidate-soft);color:var(--candidate-color)}.candidate[data-pres-candidate] .percentage{color:var(--candidate-color)}.candidate[data-pres-candidate] .vote-bar>span{background:var(--candidate-color)}
.counting-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:15px 0 0}.counting-summary>div{padding:14px 16px;background:white;border:1px solid var(--line);border-radius:12px;min-width:0}.counting-summary strong,.counting-summary span,.counting-summary small{display:block}.counting-summary strong{font-size:23px}.counting-summary span{font-size:11px;color:#53665b;margin-top:4px}.counting-summary small{font-size:10px;color:#738079;margin-top:4px}
.pres-map-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.pres-map-controls label{display:block;font-size:11px;font-weight:700;margin-bottom:5px}.pres-map-controls select{width:100%;font-size:12px;border:1px solid var(--line);border-radius:8px;padding:10px;background:white;color:var(--ink)}.legend-lula{background:#c52c40}.legend-flavio{background:#2563b8}.legend-pending{background:#dce4e1}.map-reading{font-size:10px;line-height:1.5;color:#53665b;margin:10px 0}.map-state-preview{padding:13px;border:1px solid #dfe7df;border-radius:10px;font-size:11px;background:#fff;min-height:85px;line-height:1.6}.map-state-preview>strong,.map-state-preview>span,.map-state-preview>small{display:block}.map-preview-votes{display:flex;flex-wrap:wrap;gap:4px 16px}.map-preview-votes>span{color:var(--candidate-color)}.map g[data-region-muted="true"]{opacity:.16;pointer-events:none}.map g[data-presidential] path{stroke:#fff;stroke-width:1;transition:fill .2s}.map g[data-presidential].has-president-votes text{fill:white;paint-order:stroke;stroke:#0006;stroke-width:1.5}.map g .president-map-percent{font-size:8px;font-weight:700;pointer-events:none}.map g.selected path{stroke:#102c27;stroke-width:2.5}.map g:hover path{filter:brightness(1.08)}
.candidate-states-dialog{width:min(920px,calc(100% - 24px));max-width:920px;padding:28px;color:var(--ink);max-height:90dvh}.candidate-states-dialog h2{color:var(--candidate-color)}.candidate-state-filters{display:grid;grid-template-columns:1fr 1fr;gap:14px}.candidate-state-filters label{font-size:12px;font-weight:600;margin:10px 0}.candidate-state-filters select,.candidate-state-filters input,#report-region{width:100%;padding:12px;background:white;border:1px solid var(--line);border-radius:8px;margin-top:6px;color:var(--ink);font-size:14px}.candidate-states-dialog .counting-summary{grid-template-columns:repeat(4,minmax(0,1fr));padding-top:8px;gap:8px}.candidate-states-dialog .counting-summary strong{font-size:19px}.candidate-states-list{max-height:44dvh;overflow:auto;padding-right:4px}.candidate-state-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;width:100%;padding:15px;text-align:left;border:1px solid var(--line);border-radius:11px;background:white;color:var(--ink);margin-bottom:8px}.candidate-state-row:hover{background:var(--candidate-soft);border-color:var(--candidate-color)}.candidate-state-row small{font-size:10px;color:#61736a;line-height:1.5;display:block}.state-candidate-votes{text-align:right;color:var(--candidate-color)}.state-counting-line{grid-column:1/-1;color:#61736a;font-size:10px}.candidate-states-dialog .primary{background:var(--candidate-color)}.report-page[class*="tone-"] h1{color:var(--candidate-color)}
.pres-state-overview{margin:18px 0 22px}.pres-map-state-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:10px}.pres-state-chip{border:1px solid var(--line);border-left:4px solid var(--candidate-color,#dce4e1);border-radius:10px;padding:12px;background:#fff;text-align:left;display:grid;grid-template-columns:auto 1fr;gap:4px 8px;color:var(--ink)}.pres-state-chip>span{font-size:11px}.pres-state-chip>small{font-size:10px;color:#61736a;grid-column:2}.pres-state-chip:hover{background:var(--candidate-soft,#f7faf6)}
@media(max-width:760px){.counting-summary{gap:7px}.counting-summary>div{padding:11px 10px}.counting-summary strong{font-size:19px}.counting-summary span{font-size:10px}.pres-map-controls{gap:8px}.pres-map-controls select{font-size:11px;padding:10px 6px}.map-state-preview{min-height:95px}.candidate-states-dialog{padding:22px 16px}.candidate-states-dialog .counting-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.candidate-state-filters{grid-template-columns:1fr;gap:0}.candidate-state-row{padding:12px}.candidate-state-row>span:first-child>strong{font-size:12px}.candidate-states-list{max-height:34dvh}.pres-map-state-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pres-state-chip{grid-template-columns:1fr;padding:10px;gap:4px}.pres-state-chip>small{grid-column:1}.top-candidate{min-width:0}.card-detail-hint{display:block;font-size:9px;margin-top:12px}}
@media(max-width:350px){.counting-summary strong{font-size:16px}.counting-summary>div{padding:10px 7px}.pres-map-controls{grid-template-columns:1fr}}
.top-candidate{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.top-candidate .card-detail-hint{grid-column:1/-1}
@media(max-width:760px){.top-candidate{display:block}}
