.results-summary{margin:12px 0 28px;padding:24px 0;border-top:1px solid var(--line,#d8ded6);border-bottom:1px solid var(--line,#d8ded6)}.results-heading,.results-actions,.results-duel,.results-table-controls{display:flex;align-items:center;justify-content:space-between;gap:16px}.results-heading h2{font-size:1.25rem;margin:0 0 5px}.results-heading p,.results-margin,.results-summary .field-note{font-size:.8rem;color:var(--muted,#566253);margin:0}.results-actions{gap:8px}.results-duel{margin:24px 0 20px}.results-candidate{display:flex;gap:14px;align-items:center}.results-candidate img{width:64px;height:64px;object-fit:cover;border-radius:50%;border:1px solid var(--line,#d8ded6)}.results-candidate h3{font-size:1rem;margin:0 0 4px}.results-candidate h3 small{font-size:.75rem;font-weight:500;color:var(--muted,#566253)}.results-candidate strong{font-size:clamp(1.8rem,4vw,3rem);font-weight:600;letter-spacing:-.035em;line-height:1.1;font-variant-numeric:tabular-nums}.results-candidate span{display:block;font-size:.8rem;margin-top:5px;color:var(--muted,#566253)}.candidate-13 strong{color:#ae304c}.candidate-22 strong{color:#285ca6}.candidate-22{text-align:right;flex-direction:row-reverse}.results-duel-bar{display:flex;gap:3px;width:100%;height:10px;overflow:hidden;border-radius:8px}.results-duel-bar i{display:block;background:#ae304c}.results-duel-bar i+i{background:#285ca6}.results-margin{display:flex;justify-content:space-between;gap:12px;margin-top:10px}.results-margin span{font-size:.75rem}.results-breakdown{margin-top:28px}.results-breakdown summary{font-size:.95rem;font-weight:600;cursor:pointer;padding:10px 0}.results-table-controls{justify-content:flex-start;flex-wrap:wrap;margin:12px 0 16px}.results-table-controls label{font-size:.75rem;display:flex;gap:8px;align-items:center}.results-table-controls select{width:auto;min-height:40px;margin:0}.results-table-controls button{margin-left:auto}.results-table-scroll{overflow:auto;max-height:410px;scrollbar-color:#879680 transparent}.results-summary table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;font-size:.82rem;white-space:nowrap}.results-summary th,.results-summary td{padding:12px 14px;text-align:right;border-bottom:1px solid var(--line,#d8ded6)}.results-summary th:first-child{text-align:left;padding-left:0}.results-summary thead th{position:sticky;top:0;background:var(--panel,#f8faf5);z-index:1;font-size:.75rem;font-weight:600}.results-summary td small,.results-summary tbody th small{display:block;font-size:.75rem;font-weight:400;margin-top:4px;color:var(--muted,#566253)}.results-summary .field-note{margin-top:12px;line-height:1.5}.results-territory{border:0;background:none;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:4px;padding:8px 0;cursor:pointer}.results-summary button:focus-visible,.results-summary select:focus-visible,.results-summary summary:focus-visible{outline:2px solid #285ca6;outline-offset:3px}.results-export-status:empty{display:none}@media(max-width:700px){.results-summary{padding:18px 0}.results-heading{align-items:flex-start;flex-wrap:wrap}.results-heading h2{font-size:1.05rem}.results-actions{width:100%;justify-content:flex-end}.results-duel{gap:10px}.results-candidate{gap:9px}.results-candidate img{width:44px;height:44px}.results-candidate strong{font-size:1.8rem}.results-candidate span{font-size:.75rem}.results-candidate h3{font-size:.85rem}.results-margin{display:block}.results-margin span{display:block;margin-top:6px}.results-table-controls label{flex:1;justify-content:space-between}.results-table-controls button{margin:0;width:100%}.results-summary th,.results-summary td{padding:10px}.results-table-scroll{max-height:360px}}

.results-section-drill{margin:0 0 28px;border-bottom:1px solid var(--line,#d8ded6);padding-bottom:18px}.results-section-drill>summary{font-size:.95rem;font-weight:600;padding:12px 0;cursor:pointer}.results-section-drill>label{font-size:.8rem}.results-section-drill>select{max-width:250px;min-height:44px}.results-section-drill .candidate-pt{color:#c62828}.results-section-drill .candidate-pl{color:#1769c2}.results-section-drill .drill-result{overflow-x:auto;max-width:100%}.results-section-drill table{width:100%;min-width:460px;border-collapse:collapse;font-variant-numeric:tabular-nums}.results-section-drill th,.results-section-drill td{padding:12px 10px;text-align:right;border-bottom:1px solid var(--line,#d8ded6);font-size:.83rem}.results-section-drill th:first-child{text-align:left}.results-section-drill tbody tr:hover{background:#e9eee5;color:#192618}.results-section-drill .drill-result caption{font-size:1rem;margin:8px 0 16px}.results-section-drill .drill-result small{color:#566253}.results-section-drill button:hover{color:#192618;background:#e9eee5}.results-section-drill button:focus-visible,.results-section-drill select:focus-visible,.results-section-drill summary:focus-visible{outline:2px solid #285ca6;outline-offset:3px}

.results-table-scroll:focus-visible{outline:2px solid #285ca6;outline-offset:3px}
.results-view-switch{display:inline-flex;gap:2px;padding:3px;background:#eef0f4;border:1px solid var(--line,#e3e6ec);border-radius:9px}.results-view-switch button{min-height:36px;padding:7px 14px;background:transparent;border:0;border-radius:6px;font-size:.8rem;color:var(--ink,#16181d);cursor:pointer}.results-view-switch button[aria-pressed=true]{background:#fff;box-shadow:0 1px 3px #06164015;font-weight:600}.results-map-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.45fr);gap:24px;align-items:center;margin:8px 0 16px}.results-map-canvas{min-width:0}.results-brazil-map{width:100%;height:auto;max-height:460px;display:block;overflow:visible}.results-uf{stroke:#fff;stroke-width:1.2;vector-effect:non-scaling-stroke;cursor:pointer;transition:filter .14s ease}.results-uf:hover,.results-uf.is-selected{stroke:#061640;stroke-width:1.8;filter:brightness(.97)}.results-uf:focus-visible{outline:none;stroke:#061640;stroke-width:3;filter:brightness(.9)}.results-uf-label{font-family:var(--sans);font-size:11px;font-weight:600;text-anchor:middle;dominant-baseline:middle;pointer-events:none;paint-order:stroke;stroke:#ffffff40;stroke-width:1px}.results-uf-label.is-outside{stroke:#fbfbfc;stroke-width:3px}.results-map-leader{stroke:#6d7786;stroke-width:.7;fill:none;pointer-events:none;vector-effect:non-scaling-stroke}.results-map-legend{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px;font-size:.75rem;margin:8px 0;color:var(--ink,#16181d)}.results-map-legend span{display:flex;align-items:center;gap:6px}.results-map-legend i{width:10px;height:10px;border-radius:50%;display:inline-block}.results-lula-key{background:#ae304c}.results-pl-key{background:#285ca6}.results-map-legend small{color:var(--muted,#5b6472)}.results-map-detail{padding:16px 0;min-width:0}.results-map-detail h4{font-size:1.4rem;font-weight:600;letter-spacing:-.025em;margin:0 0 22px}.results-map-shares{display:flex;gap:26px}.results-map-shares p{margin:0;font-size:.85rem}.results-map-shares strong{display:block;font-size:1.5rem;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.results-map-shares p:first-child strong{color:#ae304c}.results-map-shares p+ p strong{color:#285ca6}.results-map-shares small{font-size:.7rem;color:var(--muted,#5b6472)}.results-map-detail dl{margin:22px 0 18px;display:grid;gap:12px}.results-map-detail dl>div{display:flex;justify-content:space-between;gap:12px;font-size:.78rem}.results-map-detail dt{color:var(--muted,#5b6472)}.results-map-detail dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums;text-align:right}.results-exterior-row{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:16px 0;border-top:1px solid var(--line,#e3e6ec);font-size:.8rem;font-variant-numeric:tabular-nums}.results-exterior-row strong{margin-right:auto}.results-exterior-row span:last-child{color:var(--muted,#5b6472)}@media(max-width:760px){.results-map-layout{grid-template-columns:1fr;gap:0}.results-brazil-map{max-height:390px}.results-map-detail{padding:10px 0 16px;border-top:1px solid var(--line,#e3e6ec)}.results-map-detail h4{font-size:1.1rem;margin-bottom:12px}.results-map-detail dl{margin:16px 0;max-width:420px}.results-map-shares{gap:32px}.results-map-legend{gap:12px}.results-exterior-row{gap:10px 16px}.results-exterior-row strong{width:100%}.results-view-switch{margin-bottom:2px}.results-table-controls>.results-view-switch{flex:none}.results-map-canvas{overflow:hidden}}@media(prefers-reduced-motion:reduce){.results-uf{transition:none}}

.results-map-detail-heading{display:flex;gap:12px;align-items:baseline;justify-content:space-between}.results-map-detail-heading .quiet{font-size:.75rem;min-height:36px;padding:5px 10px}.results-uf.is-preview{stroke:#061640;stroke-width:1.8}
.results-flips-legend{display:grid;grid-template-columns:repeat(2,minmax(0,max-content));justify-content:center;gap:10px 22px;padding:8px 0}.results-flips-legend small{grid-column:1/-1;text-align:center}.results-flips-legend i{border-radius:3px;border:1px solid #06164015}.results-flip-status{font-size:.75rem;color:var(--muted,#5b6472);margin:16px 0 0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.results-flip-status i{display:inline-block;width:10px;height:10px;border-radius:3px;border:1px solid #06164015}.results-table-controls #results-color-mode{min-width:100px}@media(max-width:450px){.results-flips-legend{gap:9px 16px;font-size:.7rem}}
.results-swing-legend{max-width:460px;margin:10px auto;text-align:center}.results-swing-legend>div{height:10px;border-radius:5px;background:linear-gradient(90deg,#285ca6,#fafafc 50%,#ae304c);border:1px solid #06164018}.results-swing-legend p{display:flex;justify-content:space-between;gap:8px;margin:7px 0 4px;font-size:.7rem;font-variant-numeric:tabular-nums}.results-swing-legend small,.results-geometry-note{font-size:.68rem;color:var(--muted,#5b6472)}.results-swing-status{font-size:.8rem;margin:15px 0 0;display:flex;justify-content:space-between;gap:12px}.results-swing-status strong{font-variant-numeric:tabular-nums}.results-map-zoom{display:flex;align-items:center;justify-content:center;gap:5px;margin:4px 0 10px}.results-map-zoom button{min-width:36px;min-height:36px;padding:5px 10px;border:1px solid var(--line,#e3e6ec);background:#fff;border-radius:6px;font-size:.8rem;color:var(--ink,#16181d);cursor:pointer}.results-map-zoom button:first-child,.results-map-zoom button:nth-child(2){font-size:1.1rem}.results-map-zoom button:focus-visible{outline:2px solid #285ca6;outline-offset:2px}.results-geometry-note{text-align:center;margin:6px 0 12px;line-height:1.5}.results-brazil-map{touch-action:pan-y pinch-zoom}.results-uf[data-map-uf]{stroke-width:.7}.results-uf.is-selected,.results-uf.is-preview{stroke-width:1.6}@media(max-width:760px){.results-map-zoom button{min-height:42px;min-width:42px}.results-swing-legend{margin-bottom:16px}.results-swing-legend p{font-size:.65rem}}

.results-brazil-map.is-municipal .results-uf{stroke:#ffffff50;stroke-width:.22}.results-brazil-map.is-municipal .results-uf.is-selected,.results-brazil-map.is-municipal .results-uf.is-preview,.results-brazil-map.is-municipal .results-uf:focus-visible{stroke:#061640;stroke-width:1.4}
.results-city-search{display:flex;gap:10px;align-items:center;font-size:.8rem;margin:0 0 14px}.results-city-search input{max-width:340px;margin:0;min-height:42px}.results-table-pages{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;font-size:.72rem;color:var(--muted,#5b6472)}.results-table-pages button{min-height:40px}.results-swing-status{line-height:1.5}.results-swing-status strong{white-space:nowrap}@media(max-width:560px){.results-city-search{display:block}.results-city-search input{margin-top:6px;max-width:none;width:100%}.results-table-pages{gap:6px;font-size:.65rem}.results-table-pages button{padding:6px 10px}}
.results-gain-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:6px 0 12px}.results-gain-filters button{border:1px solid var(--line,#e3e6ec);border-radius:7px;padding:9px 13px;background:#fff;color:var(--ink,#16181d);font-size:.8rem;min-height:42px;cursor:pointer}.results-gain-filters strong{margin-left:5px;font-variant-numeric:tabular-nums}.results-gain-filters .results-pl-chip{color:#174f9b;background:#e5eefb;border-color:#b8cdef}.results-gain-filters .results-lula-chip{color:#a82040;background:#fae8ed;border-color:#ecc0cc}.results-gain-filters button[aria-pressed=true]{outline:2px solid currentColor;outline-offset:1px;font-weight:600}.results-gain-note{font-size:.75rem;color:var(--muted,#5b6472);margin:-2px 0 14px}.results-brazil-map[data-gain-focus=pl] .results-uf.is-gain-match{stroke:#174f9b;stroke-width:1.15}.results-brazil-map[data-gain-focus=lula] .results-uf.is-gain-match{stroke:#a82040;stroke-width:.7}.results-map-search-label{font-size:.78rem;max-width:440px;position:relative;margin:14px 0 8px}.results-map-search-label>label{display:block;margin-bottom:6px}.results-map-search-label input{margin:0;width:100%;min-height:42px}.results-map-city-matches:empty{display:none}.results-map-city-matches{position:absolute;z-index:5;top:100%;left:0;right:0;border:1px solid var(--line,#e3e6ec);background:#fff;box-shadow:0 8px 20px #06164012;border-radius:0 0 8px 8px;padding:4px}.results-map-city-matches button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:11px 10px;border:0;background:#fff;color:var(--ink,#16181d);font-size:.8rem;text-align:left;cursor:pointer}.results-map-city-matches button:hover{background:#edf2f8}.results-map-city-matches small{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--muted,#5b6472)}.results-pl-spotlights{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:14px 0;border-top:1px solid var(--line,#e3e6ec)}.results-pl-spotlights>strong{font-size:.75rem;margin-right:4px}.results-pl-spotlights button{display:flex;gap:9px;align-items:center;border:1px solid #c3d3ec;background:#edf3fc;color:#174f9b;border-radius:6px;padding:9px 11px;font-size:.74rem;cursor:pointer;min-height:40px}.results-pl-spotlights b{white-space:nowrap;font-variant-numeric:tabular-nums}.results-gain-filters button:focus-visible,.results-pl-spotlights button:focus-visible,.results-map-city-matches button:focus-visible{outline:2px solid #174f9b;outline-offset:3px}@media(max-width:560px){.results-gain-filters{gap:7px}.results-gain-filters button{font-size:.74rem;padding:8px 10px}.results-pl-spotlights>strong{width:100%}.results-pl-spotlights button{justify-content:space-between;width:100%}.results-map-search-label{max-width:none}}
.results-relative-note{font-size:.73rem;line-height:1.45;color:var(--muted,#5b6472);margin:-2px 0 14px;max-width:76ch}
.results-origins-active .results-table-controls>label,.results-origins-active #results-compare-first{display:none}
.results-origins-active .results-table-controls{justify-content:flex-start}
.vote-balance{margin-top:24px;max-width:1100px;font-variant-numeric:tabular-nums}
.vote-balance-heading{display:flex;align-items:start;justify-content:space-between;gap:18px;margin-bottom:22px}
.vote-balance h3{font-size:1.4rem;margin:0 0 6px;line-height:1.2}
.vote-balance-heading p,.vote-balance-candidates p{margin:0;color:var(--muted,#5b6472);font-size:.85rem}
.vote-balance-observed{font-size:.75rem;font-weight:500;border:1px solid var(--line,#dce1e8);padding:8px 12px;border-radius:20px;white-space:nowrap}
.vote-balance-controls{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.vote-balance-controls label{display:flex;flex-direction:column;gap:7px;font-size:.8rem;min-width:190px;max-width:100%;flex:0 1 340px}
.vote-balance-controls select{width:100%;max-width:100%;min-height:44px}
.vote-balance-context{font-weight:600;font-size:.95rem;margin:20px 0 12px}
.vote-balance-candidates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.vote-balance-candidates section{border-left:4px solid var(--balance-color);padding:5px 18px 12px}
.vote-balance-candidates section>span,.vote-balance-candidates small{display:block;font-size:.8rem}
.vote-balance-candidates strong{display:block;font-size:clamp(1.45rem,3.4vw,2.65rem);letter-spacing:-.035em;line-height:1.3;margin:7px 0 0}
.vote-balance-candidates small{color:var(--muted,#5b6472);margin-bottom:10px}
.vote-balance-limit{font-size:.85rem;line-height:1.6;max-width:82ch;padding:16px 0 24px;margin:0}
.vote-balance-chart{margin:0;padding:24px 0;border-top:1px solid var(--line,#dce1e8)}
.vote-balance-chart figcaption{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 20px;font-size:.9rem}
.vote-balance-legend{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:.75rem;color:var(--muted,#5b6472)}
.vote-balance-legend i{height:12px;width:18px;border:1.5px solid currentColor;border-radius:2px}
.vote-balance-legend i:nth-child(2){background:currentColor;margin-left:8px}
.vote-balance-row{margin:0 0 24px}
.vote-balance-row-title{display:flex;justify-content:space-between;gap:14px;font-size:.85rem;margin-bottom:9px}
.vote-balance-row-title b{font-weight:600;white-space:nowrap}
.vote-balance-period{display:grid;grid-template-columns:26px minmax(30px,1fr) minmax(85px,auto);gap:12px;align-items:center;margin:7px 0;font-size:.8rem}
.vote-balance-period>span:last-child{text-align:right}
.vote-balance-track{height:13px;min-width:0}
.vote-balance-track i{display:block;height:13px;background:var(--balance-color);border-radius:2px}
.vote-balance-track .vote-balance-first{background:transparent;border:1.5px solid var(--balance-color);box-sizing:border-box}
.vote-balance-method{border-top:1px solid var(--line,#dce1e8);padding:15px 0;font-size:.85rem;line-height:1.6}
.vote-balance-method summary{min-height:28px;cursor:pointer;font-weight:600}
.vote-balance-method p{max-width:85ch;margin:12px 0;overflow-wrap:anywhere}
.vote-balance-method a{color:inherit;text-underline-offset:3px}
.vote-balance-mode{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}
.vote-balance-mode button{min-height:44px;padding:10px 16px;border:1px solid var(--line,#dce1e8);border-radius:7px;color:var(--ink,#16181d);background:var(--surface,#fff);cursor:pointer;font-size:.85rem}
.vote-balance-mode button[aria-pressed=true]{background:#061640;border-color:#061640;color:#fff}
.vote-balance-mode button:focus-visible{outline:2px solid #2860ae;outline-offset:3px}
@media(max-width:560px){.vote-balance-heading{flex-direction:column;gap:10px}.vote-balance-chart figcaption{align-items:start;flex-direction:column}.vote-balance-candidates{gap:10px}.vote-balance-candidates section{padding-left:10px}.vote-balance-period{gap:8px;grid-template-columns:23px minmax(30px,1fr) minmax(75px,auto);font-size:.75rem}.vote-balance-row-title{font-size:.8rem}.vote-balance-controls label{flex:1 1 100%}}
