/* Prévia local: mapa e resultados com identidade verde. */
:root{background:#f3f7f4;color:#213f31}header,main{max-width:1440px}header{padding:24px 32px;border-bottom:1px solid #d6e3db}header .brand img.brand-logo{width:220px;height:auto}nav{gap:24px;font-size:13px}nav a{display:block!important;padding:10px 0}.nav-current{color:#173a31;border-color:#36825d}main{padding:24px 32px 40px}.hero{padding:0;border:0;background:none;border-radius:0}.hero h1{font-size:32px;line-height:1.2;color:#173a31;margin:0 0 6px;letter-spacing:-1px}.hero .eyebrow{margin-bottom:8px;font-size:10px}.intro{max-width:none;font-size:14px}.context{margin:20px 0;gap:12px}.context label{font-size:12px}.context select{padding:9px 12px;border:1px solid #bed0c4;border-radius:6px;background:white;color:#173a31}.context span+span,.context #election-date{font-size:12px;background:none;padding:0;border:0;font-weight:500;color:#617568}.preview-marker{margin-left:auto;font-size:10px!important;border:1px solid #c7d6cc!important;padding:5px 8px!important;border-radius:4px}.tabs{max-width:700px;margin-bottom:20px}.results-workspace{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(320px,1fr);gap:28px;align-items:start}.panel{grid-column:2;grid-row:1;border-radius:12px;box-shadow:none;border-color:#d6e3da;min-width:0}.geography{grid-column:1;grid-row:1;margin:0;padding:24px;background:#fff;border:1px solid #d6e3da;border-radius:12px;min-width:0}.panel-head{padding:22px 22px 12px;flex-direction:column;align-items:flex-start;gap:5px}.panel h2{font-size:20px}.status{font-size:11px}.status:before{background:#37835e}.broadcast-summary{margin:0 22px;padding:12px 0 14px;display:block}.counting{display:flex;gap:6px 10px;align-items:baseline}.counting>strong{font-size:28px;letter-spacing:-1px;display:inline}.counting>span{font-size:11px}.counting small{font-size:11px;margin:0}.electorate{margin-top:12px}.electorate p{font-size:10px}.electorate .progress{margin:8px 0 0;height:4px}.elector-scale{display:flex;justify-content:space-between;font-size:9px;margin-top:5px;gap:8px}.results-list{margin:0 22px}.result-row{padding:18px 0;gap:13px;align-items:center}.vote-ring,.president-row .vote-ring{width:74px;height:74px;padding:5px;flex:none}.vote-ring img,.president-row .vote-ring img{width:64px;height:64px;border-width:3px;object-fit:cover}.president-copy{min-width:0;flex:1}.president-percentage{display:flex;align-items:center;gap:7px;color:var(--candidate-color)}.president-percentage>strong{font-size:29px;font-weight:800;letter-spacing:-1px;line-height:1}.rank-bubble{width:21px;height:21px;background:var(--candidate-color);border-radius:50%;display:grid;place-items:center;font-size:11px;color:white;flex:none}.president-name{font-size:13px;line-height:1.4;margin:7px 0 3px}.president-name span{font-size:11px;color:#64776a}.president-votes{font-size:11px;color:#64776a}.president-bar{height:4px;background:#e8eeea;margin-top:10px;border-radius:2px;overflow:hidden}.president-bar span{display:block;height:100%;background:var(--candidate-color)}.outcome{font-size:10px;padding:3px 6px;margin-top:7px}.vote-destination{display:block;color:#85540f;font-size:11px;line-height:1.5;margin-top:7px}.rank{width:26px;flex:none}.result-copy strong{font-size:13px}.result-votes strong{font-size:20px}.result-copy small,.result-votes small{font-size:10px}.ranking-tools{margin:0 22px;display:block}.ranking-tools strong{font-size:12px}.ranking-tools input{width:100%;margin-top:12px;font-size:14px}.ranking-note{margin:8px 22px 0;font-size:10px}.result-party-logo{max-width:32px}.more{font-size:11px;margin:18px auto}.map-heading h3{font-size:22px}.map-heading .eyebrow{font-size:9px;margin-bottom:5px}.map-breadcrumb{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:16px 0;font-size:12px}.map-breadcrumb button{border:0;padding:4px 0;color:#235d43;background:none;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.map-breadcrumb span{color:#6b7d70}.map-controls{margin:0;display:grid;grid-template-columns:1fr 1.4fr;gap:12px;border:0;padding:0}.map-controls label{font-size:11px;min-width:0}.map-controls label:last-child{grid-column:1/-1}.map-controls select,.map-controls input{font-size:13px;padding:10px;width:100%;border:1px solid #c7d7cb;border-radius:6px;background:white;display:block;margin-top:6px;color:#173a31}.map-controls #map-city{font-size:11px;padding:6px;background:#f6f9f7}#map-status{min-height:20px;font-size:11px;margin:12px 0}.map-stage{position:relative;border-radius:6px;background:#f7faf8;overflow:hidden}#election-map{display:block;width:100%;height:auto;max-height:600px;touch-action:none;user-select:none;cursor:grab}#election-map.dragging{cursor:grabbing}#election-map path{transition:none;stroke:#fff;stroke-width:.6}#election-map path.selected{stroke:#173a31;stroke-width:2.5}.zoom-controls{position:absolute;right:10px;top:10px;display:grid;gap:4px}.zoom-controls button{width:34px;height:34px;background:white;border:1px solid #c1d2c5;border-radius:5px;font-size:20px;color:#173a31;cursor:pointer}#map-tooltip{position:absolute;pointer-events:none;z-index:2;background:#173a31;color:white;box-shadow:0 6px 20px #173a3130;max-width:260px;border-radius:7px;padding:12px;font-size:11px;line-height:1.5}#map-tooltip strong{display:block;font-size:13px;margin-bottom:4px}#map-tooltip span{display:block}.map-help{font-size:10px;color:#728478;margin:10px 0}.map-legend{font-size:10px;gap:8px 16px;line-height:1.6;margin-top:14px}.map-legend .scale{width:100%;display:flex;align-items:center;gap:10px}.map-legend .scale:before{display:none}.scale i{display:inline-block;height:10px;flex:1;max-width:220px;background:linear-gradient(to right,#fff,var(--legend-color));border:1px solid #c5d6ca}.general{margin:24px 0 0;padding:20px 0}.general p{font-size:12px}.data-categories{gap:32px}.datum{flex-direction:row!important}.datum b{font-size:17px!important}.site-footer{display:block;padding:24px 0;margin-top:24px}.footer-brand{display:flex;justify-content:space-between;align-items:center;gap:20px}.footer-brand img{width:190px}.footer-brand span{font-size:10px}.site-footer .note{font-size:11px;margin:14px 0}.technical-info{padding-top:15px;border-top:1px solid #d3dfd6}.technical-info summary{cursor:pointer;font-size:12px}.technical-info .consulted,.technical-info .file-time{margin:10px 0;font-size:11px}.technical-info .source{margin:0}.error-message{margin:12px 22px}#map-detail{margin-top:20px;padding:16px;border-radius:7px;background:#f4f8f5}#map-detail h4{font-size:18px}#map-detail li{display:flex;justify-content:space-between;gap:10px}#map-detail li strong{font-size:11px}.sheet-controls{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.sheet-controls button{background:transparent;border:0;color:#315b43;cursor:pointer;padding:5px;font-size:12px}#sheet-collapse{display:none}#sheet-close{margin-left:auto;font-size:22px}.filters{font-size:12px}.filters input{font-size:14px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #2c7a55;outline-offset:3px}
@media(min-width:901px){body.parana .results-workspace{grid-template-columns:minmax(0,1.1fr) minmax(380px,1fr)}body.parana .panel{max-height:950px;overflow:auto}}
@media(max-width:900px){header{padding:18px 20px;gap:18px;flex-wrap:wrap}header .brand img.brand-logo{width:180px}nav{font-size:11px;gap:18px;width:100%}main{padding:18px 16px 30px}.hero h1{font-size:26px}.intro{font-size:12px}.context{gap:8px;margin:16px 0;flex-wrap:wrap}.context #election-date{font-size:10px}.results-workspace{display:flex;flex-direction:column;gap:20px}.panel,.geography{width:100%}.geography{padding:18px}.panel-head{padding:18px 18px 10px}.broadcast-summary,.results-list{margin-left:18px;margin-right:18px}.broadcast-summary{padding-top:12px}.president-row{padding:16px 0}.president-percentage>strong{font-size:29px}.vote-ring,.president-row .vote-ring{width:74px;height:74px}.vote-ring img,.president-row .vote-ring img{width:64px;height:64px}.president-name{font-size:14px}.president-votes{font-size:11px}.map-controls{grid-template-columns:1fr}.map-controls label:last-child{grid-column:auto}.map-controls label{min-width:0}.map-stage #election-map{max-height:none}.map-heading h3{font-size:20px}.map-help{font-size:10px}.tabs button{padding:10px 12px}.filters select,.filters input{font-size:14px;width:100%}.footer-brand{flex-direction:column;align-items:flex-start;gap:12px}.general{margin-top:22px}.data-categories{grid-template-columns:1fr}.map-legend{font-size:10px}#map-detail{position:fixed;bottom:0;left:0;right:0;z-index:10;border-radius:20px 20px 0 0;border:1px solid #bdcfbf;box-shadow:0 -8px 40px #173a3129;background:#fff;margin:0;padding:12px 20px max(16px,env(safe-area-inset-bottom));max-height:65dvh;overflow:auto}#map-detail:before{content:'';display:block;width:38px;height:4px;border-radius:5px;background:#cad8cf;margin:0 auto 6px}#sheet-collapse{display:block}#map-detail.collapsed #map-detail-content>*:not(h4){display:none}#map-detail.collapsed{max-height:125px}#map-detail li{padding:8px 0}#map-detail-content h4{margin-bottom:4px}#map-detail-content p{font-size:11px;margin:8px 0}.sheet-controls{margin-bottom:2px}#map-tooltip{display:none!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.situation-label{display:block;margin:14px 22px 0;font-size:11px;color:#5f7366}.situation-label select{display:block;width:100%;padding:9px;border:1px solid #c7d6cd;border-radius:5px;background:white;margin-top:6px;font-size:13px}#map-detail li{justify-content:flex-start;align-items:center}#map-detail li img{width:42px;height:48px;object-fit:cover;border-radius:6px}#map-detail li div{flex:1;min-width:0}#map-detail li div span{font-size:11px}#map-detail li small{font-size:10px;color:#85540f}
.hero{display:block}.map-legend{display:flex;flex-wrap:wrap}.map-legend>span:before{content:'';display:inline-block;width:10px;height:10px;background:var(--legend-color);border:1px solid #c5d4c9;border-radius:50%;margin-right:5px;vertical-align:middle}.vote-ring{--vote-angle:0deg;--vote-color:#3e8a63;background:conic-gradient(var(--vote-color) var(--vote-angle),#e6eeea 0);border-radius:50%;display:block}.vote-ring img{border:3px solid white;border-radius:50%;background:white}.outcome{display:inline-block;border-radius:4px}.outcome.runoff{background:#ffe39b;color:#674906}.outcome.elected{background:#287344;color:white}.outcome.neutral{background:#edf3ee;color:#53665a}.president-votes{display:block}.candidate-bar{height:4px;background:#edf3ee;border-radius:2px;overflow:hidden;margin-top:8px}.candidate-bar span{display:block;height:100%}.general summary{cursor:pointer}.data-categories{display:grid;grid-template-columns:repeat(3,1fr);margin-top:20px}.data-categories h4{font-size:14px}.data-categories .datum{padding:12px 0;font-size:12px;align-items:center}.data-categories .datum b{font-weight:650;color:#173a31!important}.map-stage #election-map path:hover,.map-stage #election-map path:focus{stroke:#173a31;stroke-width:2;outline:none}.map-heading{display:flex;justify-content:space-between;align-items:center}.map-heading button{padding:8px 10px;border:1px solid #bfd1c6;border-radius:5px;background:#eff5f1;color:#173a31;cursor:pointer}.map-heading h3{margin:0}.site-footer .technical-info .map-source{font-size:11px}.result-copy .result-party-logo{height:22px!important;background:transparent!important}#map-detail ul{padding:0;list-style:none}#map-detail li{border-bottom:1px solid #dce6de;padding:9px 0}#map-detail li strong{display:block}#map-detail a{font-size:10px}.general summary:after{content:none}
@media(max-width:900px){.data-categories{grid-template-columns:1fr}}
@media(min-width:901px){#map-detail{display:none!important}}
/* Revisão: situação separada, retratos neutros e composição por cadeiras. */
.result-copy .outcome,.president-copy .outcome{display:block;width:fit-content;margin-top:12px;margin-bottom:12px;padding:5px 9px;line-height:1.3}.result-copy>small{display:flex;align-items:center;gap:8px;margin-top:8px;line-height:1.5}.candidate-not-elected .vote-ring img,.candidate-not-elected>img{filter:grayscale(1)}.candidate-not-elected .vote-ring{background:conic-gradient(#a2aaa5 var(--vote-angle),#e6eeea 0)}.result-votes strong{color:var(--candidate-color)}.party-filter-label{display:block;margin:14px 22px 0;font-size:11px;color:#5f7366}.party-filter-label select{display:block;width:100%;padding:9px;border:1px solid #c7d6cd;border-radius:5px;background:white;margin-top:6px;font-size:13px}.seats-section{background:white;border:1px solid #d6e3da;border-radius:12px;margin:0 0 24px;padding:24px}.seats-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.seats-heading h2{font-size:22px;margin:0 0 6px;letter-spacing:-.5px}.seats-heading .eyebrow{font-size:10px;margin-bottom:8px}.seats-heading p:not(.eyebrow){font-size:12px;color:#64776a;margin:0}.seats-heading button{padding:9px 12px;background:#f3f8f4;border:1px solid #c6d8ca;border-radius:6px;color:#315e46;font-size:11px;cursor:pointer}.seats-layout{display:grid;grid-template-columns:minmax(260px,1.2fr) 1fr;gap:28px;align-items:center;margin-top:10px}#seats-chart svg{width:100%;max-width:520px;display:block;margin:auto}#seats-chart circle{stroke:#fff;stroke-width:1;cursor:pointer}#seats-chart circle:hover{stroke:#173a31;stroke-width:2}.seats-total{font:800 42px Inter,Arial,sans-serif;fill:#173a31}.seats-caption{font:500 13px Inter,Arial,sans-serif;fill:#63796a}#seats-parties{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.seat-party{background:#f8faf9;border:1px solid #e0e8e2;border-left:4px solid var(--party-color);border-radius:6px;text-align:left;padding:10px 12px;cursor:pointer;color:#244133;display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 8px}.seat-party>span{font-size:11px;font-weight:650}.seat-party strong{font-size:22px;color:var(--party-color)}.seat-party small{font-size:10px;color:#6b7f71;grid-column:1/-1}.seat-party[aria-pressed=true]{background:#eaf3ed;outline:2px solid var(--party-color);outline-offset:1px}.seats-note{font-size:11px;color:#6c7d72;line-height:1.6;margin:14px 0 0}.map-labels{pointer-events:none}.map-labels text{font-family:Inter,Arial,sans-serif;fill:#173a31;font-weight:650;paint-order:stroke;stroke:white;stroke-width:3px;stroke-linejoin:round}.map-labels line{stroke:#415e4d;stroke-width:1;opacity:.6}.map-labels .city-label{font-weight:550}.map-labels .selected-city{font-weight:800;fill:#123c27}
@media(max-width:900px){.seats-section{padding:18px}.seats-heading{display:block}.seats-heading h2{font-size:20px}.seats-heading button{margin-top:12px}.seats-layout{grid-template-columns:1fr;gap:14px}.seat-party{padding:9px 10px}.seat-party>span{font-size:10px}.seat-party strong{font-size:20px}.seats-note{font-size:10px}.result-row{gap:10px}.result-copy .outcome{font-size:10px}.result-copy strong{overflow-wrap:anywhere}}
.filters input{padding:11px 12px;border:1px solid #bdd1c0;border-radius:7px;background:white;min-width:240px;font-size:14px;color:#173a31}.filters select{font-size:14px}#seats-chart circle{transition:none}
@media(max-width:900px){.filters input{min-width:0;width:100%}}
