:root {
  --paper:#f7f8fa; --sheet:#fff; --ink:#172d43; --muted:#647487; --rule:#e2e7ec;
  --ballot:#244f76; --valid:#28704b; --valid-bg:#edf5ee; --red:#b43d45; --blue:#3266a6;
  --space:8px; --radius:8px;
  color-scheme:light; font-family:Inter,"Segoe UI",Arial,sans-serif; color:var(--ink); background:var(--paper);
}
* { box-sizing:border-box; }
body { margin:0; }
button,input { font:inherit; }
button,a,input { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; color:inherit; }
button:focus-visible,a:focus-visible,input:focus-visible { outline:3px solid #447caf; outline-offset:3px; }
[hidden] { display:none !important; }
a { color:var(--ballot); text-decoration:none; }
a:hover { text-decoration:underline; }
.masthead { height:58px; max-width:1360px; padding:0 40px; margin:auto; display:flex; align-items:center; justify-content:space-between; }
.brand { display:flex; align-items:center; gap:12px; }
.brand-mark { display:grid; place-items:center; width:38px; height:42px; background:var(--ink); color:white; font-size:24px; font-weight:750; border-radius:4px; }
.brand strong { font-size:18px; letter-spacing:3px; display:block; }
.brand div>span { display:block; color:var(--muted); font-size:12px; margin-top:4px; }
.source-badge { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--muted); }
.source-badge strong { margin-left:10px; border:1px solid var(--rule); padding:5px 8px; color:var(--ink); border-radius:4px; }
.thermo { position:relative; margin-left:auto; margin-right:28px; font-size:12px; color:var(--muted); }
.thermo summary { display:flex; align-items:center; gap:10px; cursor:pointer; list-style:none; padding:6px 10px; border:1px solid var(--rule); border-radius:var(--radius); background:var(--sheet); }
.thermo summary::-webkit-details-marker { display:none; }
.thermo summary:hover { border-color:var(--muted); }
.thermo-tube { width:120px; height:10px; border-radius:5px; background:var(--rule); overflow:hidden; }
.thermo-fill { display:block; height:100%; width:0; background:var(--ballot); }
.thermo-value { font-size:16px; color:var(--ink); min-width:42px; text-align:right; }
.thermo-panel { position:absolute; right:0; top:calc(100% + 6px); z-index:20; width:min(420px,90vw); max-height:60vh; overflow:auto; padding:14px 16px; background:var(--sheet); border:1px solid var(--rule); border-radius:var(--radius); box-shadow:0 8px 24px rgba(23,45,67,.12); }
.thermo-note { margin:0 0 10px; line-height:1.5; }
.thermo-list { margin:0; padding:0; list-style:none; } .thermo-list li { padding:8px 0; border-top:1px solid var(--rule); } .thermo-list a { color:var(--ink); } .thermo-list small { display:block; color:var(--muted); margin-top:2px; }
.status-dot { width:6px; height:6px; border-radius:50%; background:var(--valid); }
.tabbar { display:flex; padding:0 max(40px,calc((100% - 1280px)/2)); border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); background:var(--sheet); align-items:center; gap:32px; }
.tabbar button { padding:10px 0; font-size:14px; font-weight:600; border:0; border-bottom:3px solid transparent; background:none; color:var(--muted); }
.tabbar button:hover { color:var(--ink); }
.tabbar button[aria-selected=true] { border-bottom-color:var(--ballot); color:var(--ink); }
.historical-note { margin-left:auto; color:var(--muted); font-size:12px; }
main { max-width:1360px; padding:16px 40px 28px; margin:auto; }
.controls,.control-groups { display:flex; align-items:center; gap:16px; }
.controls { justify-content:flex-end; flex:1 1 auto; flex-wrap:wrap; }
.controls:not(:has(.segmented:not([hidden]),.button:not([hidden]))) { display:none; }
.segmented { display:flex; border:1px solid var(--rule); border-radius:6px; background:var(--sheet); padding:3px; gap:3px; }
.segmented button { padding:7px 14px; font-size:12px; border:0; border-radius:3px; background:transparent; color:var(--muted); font-weight:600; }
.segmented button[aria-pressed=true] { background:var(--ink); color:white; }
.button { background:var(--sheet); border:1px solid var(--rule); border-radius:5px; padding:10px 14px; font-size:12px; font-weight:600; }
.button:hover { border-color:#a7b6c5; }
.button:disabled { cursor:default; opacity:.5; }
.page-heading { display:flex; justify-content:space-between; align-items:center; margin:0 0 12px; gap:12px 16px; }
.page-heading>div:first-child { flex:0 1 auto; min-width:0; }
.eyebrow { text-transform:uppercase; letter-spacing:1.3px; font-size:10px; font-weight:700; color:var(--muted); margin:0 0 4px; }
h1 { font-size:26px; letter-spacing:-.8px; font-weight:650; margin:0; line-height:1.2; }
#subtitle { font-size:12px; color:var(--muted); margin:3px 0 0; }
.final-status { background:var(--valid-bg); color:var(--valid); border:1px solid #d5e7d7; padding:7px 11px; border-radius:4px; font-size:11px; font-weight:600; white-space:nowrap; }
.final-status.replaying { background:#edf2f8; color:var(--ballot); border-color:#d5dfeb; }
.candidate-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:20px; }
.candidate-card { background:var(--sheet); border:1px solid var(--rule); border-top:3px solid var(--candidate); border-radius:var(--radius); overflow:hidden; }
.candidate-card-inner { display:flex; align-items:center; gap:24px; padding:24px; }
.portrait { position:relative; flex-shrink:0; width:108px; height:132px; border-radius:4px; overflow:hidden; background:#eef1f4; }
.portrait img { width:100%; height:100%; object-fit:cover; object-position:center 25%; display:block; }
.avatar { display:flex; width:100%; height:100%; align-items:center; justify-content:center; font-size:20px; color:var(--muted); background:#eef1f4; font-weight:600; }
.candidate-name { font-size:17px; font-weight:650; margin:0 0 6px; letter-spacing:-.2px; }
.candidate-party { color:var(--muted); font-size:11px; }
.candidate-pct { font-size:68px; font-weight:650; letter-spacing:-2px; font-variant-numeric:tabular-nums; margin:12px 0 7px; line-height:1; }
.candidate-pct span { font-size:25px; letter-spacing:-1px; color:var(--muted); }
.candidate-votes { font-size:12px; font-variant-numeric:tabular-nums; color:var(--muted); }
.candidate-status { padding:12px 24px; border-top:1px solid var(--rule); display:flex; justify-content:space-between; font-size:10px; color:var(--muted); background:#fcfdfe; }
.candidate-status strong { color:var(--candidate); font-weight:600; }
.vote-bar { display:flex; height:8px; overflow:hidden; border-radius:3px; background:var(--rule); margin:0 0 8px; }
.vote-bar span { display:block; min-width:1px; }
.bar-legend { display:flex; justify-content:space-between; color:var(--muted); font-size:10px; margin:0 0 24px; }
.majority-note { font-size:12px; color:var(--muted); margin:-12px 0 24px; }
.metrics { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--rule); border-radius:var(--radius); background:var(--sheet); margin:0 0 24px; }
.metric { padding:20px 24px; border-right:1px solid var(--rule); }
.metric:last-child { border:0; }
.metric-label { font-size:11px; color:var(--muted); margin:0 0 10px; }
.metric-value { font-size:23px; font-weight:600; letter-spacing:-.5px; font-variant-numeric:tabular-nums; }
.metric-note { color:var(--muted); font-size:10px; margin-top:7px; }
.panel { border:1px solid var(--rule); border-radius:var(--radius); background:var(--sheet); overflow:hidden; margin-bottom:24px; }
.panel-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px; }
.panel-heading h2 { font-size:15px; font-weight:600; margin:0; }
.panel-heading p { font-size:11px; color:var(--muted); margin:5px 0 0; }
.panel-heading>span { color:var(--muted); font-size:10px; }
.chart { padding:0 24px 16px; }
.chart svg { display:block; width:100%; height:auto; max-height:240px; }
.chart text { font-size:10px; fill:var(--muted); font-family:inherit; }
.chart .grid { stroke:#edf0f4; stroke-width:1; }
.chart polyline { fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.chart-legend { display:flex; gap:24px; font-size:10px; color:var(--muted); padding-bottom:12px; }
.chart-legend span { display:flex; align-items:center; gap:6px; }
.chart-legend i { display:block; height:3px; width:18px; }
.table-scroll { overflow:auto; max-height:580px; }
table { width:100%; border-collapse:collapse; font-size:12px; white-space:nowrap; }
th { text-align:left; color:var(--muted); background:#f9fafb; padding:12px 24px; font-size:10px; font-weight:600; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); position:sticky; top:0; z-index:1; }
td { padding:12px 24px; border-bottom:1px solid #edf0f3; }
tr:last-child td { border-bottom:0; }
tbody tr:hover { background:#fafbfd; }
th.numeric,td.numeric { text-align:right; font-variant-numeric:tabular-nums; }
th button { padding:0; border:0; font-size:inherit; font-weight:inherit; color:inherit; background:none; }
.person { display:flex; align-items:center; gap:12px; }
.person .portrait { width:34px; height:40px; border-radius:4px; }
.person .avatar { font-size:11px; }
.person strong { display:block; font-size:11px; font-weight:600; }
.person small { display:block; font-size:10px; color:var(--muted); margin-top:4px; }
.pill { display:inline-block; border-radius:3px; font-size:10px; padding:4px 7px; color:var(--muted); background:#f0f3f6; }
.pill.elected { color:var(--valid); background:var(--valid-bg); }
.region-grid { display:grid; grid-template-columns:repeat(6,1fr); padding:0 24px 20px; gap:12px; }
.region-block { background:#f8fafb; border:1px solid var(--rule); padding:12px; border-radius:4px; }
.region-block strong { font-size:10px; display:block; margin-bottom:10px; }
.region-block div { font-size:12px; font-weight:600; margin-top:6px; display:flex; justify-content:space-between; }
.region-block small { font-size:9px; font-weight:400; }
.timeline-panel { display:flex; align-items:center; padding:16px 20px; gap:20px; border:1px solid var(--rule); background:var(--sheet); border-radius:var(--radius); margin-bottom:20px; }
.timeline-input { flex:1; }
.timeline-input label { font-size:10px; display:block; color:var(--muted); margin-bottom:8px; }
.timeline-input input { width:100%; accent-color:var(--ballot); }
#timeline-progress { font-size:12px; font-variant-numeric:tabular-nums; }
.feedback { padding:16px; background:#fff4df; color:#78501a; font-size:12px; border-radius:6px; margin-bottom:20px; }
.loading,.empty { padding:32px 24px; font-size:13px; color:var(--muted); }
.search-controls { display:flex; gap:12px; align-items:center; }
.search-controls input[type=search] { border:1px solid var(--rule); border-radius:5px; font-size:11px; padding:10px 12px; background:#fafbfd; width:260px; }
.search-controls label { display:flex; gap:6px; align-items:center; font-size:10px; color:var(--muted); }
.search-controls input[type=checkbox] { accent-color:var(--ballot); }
.chamber { display:flex; flex-wrap:wrap; max-width:460px; gap:7px; padding:0 24px 20px; }
.seat { width:12px; height:12px; border-radius:50%; display:block; }
.group-filter { font-size:11px; font-weight:600; border:0; background:none; color:var(--ballot); padding:0; }
.group-filter:hover { text-decoration:underline; }
.allocation-note { display:flex; justify-content:space-between; gap:12px; font-size:11px; margin:0 24px 20px; padding:12px; background:var(--valid-bg); color:var(--valid); border-radius:4px; }
.audit-line { padding:8px 0; font-size:11px; color:var(--muted); }
.audit-list { padding:0 24px 20px; max-height:260px; overflow:auto; }
.two-columns { display:grid; grid-template-columns:1fr 1.4fr; gap:24px; }
.link-button { font-size:10px; color:var(--ballot); background:none; border:0; padding:0; }
footer { border-top:1px solid var(--rule); margin-top:32px; padding:20px 0; display:flex; flex-wrap:wrap; justify-content:space-between; font-size:10px; line-height:1.6; color:var(--muted); }
footer strong { color:var(--ink); font-weight:600; }
footer p { flex-basis:100%; margin:8px 0 0; }
@media(min-width:1800px) { main,.masthead { max-width:1580px; } .candidate-pct { font-size:66px; } }
@media(max-width:1000px) { .candidate-card-inner { gap:16px; padding:20px; } .portrait { width:88px; height:115px; } .candidate-pct { font-size:44px; } .metric { padding:16px; } .region-grid { grid-template-columns:repeat(3,1fr); } .two-columns { grid-template-columns:1fr; gap:0; } .search-controls { flex-wrap:wrap; } }
@media(max-width:640px) {
  .masthead { height:auto; min-height:52px; padding:0 20px; flex-wrap:wrap; } .thermo { order:3; width:100%; margin:0 0 6px; } .thermo summary { justify-content:space-between; } .thermo-tube { flex:1; } .thermo-panel { left:0; right:0; width:auto; } .brand strong { font-size:15px; letter-spacing:2px; } .brand div>span { font-size:10px; } .source-badge { font-size:9px; max-width:120px; line-height:1.5; } .source-badge strong { margin-left:3px; border:0; padding:0; }
  .tabbar { padding:0 20px; gap:24px; overflow-x:auto; scrollbar-width:none; } .tabbar button { white-space:nowrap; flex-shrink:0; } .tabbar button { font-size:12px; padding:10px 0; } .historical-note { display:none; }
  main { padding:10px 16px 20px; } .controls { gap:8px; flex-wrap:wrap; justify-content:flex-start; } .control-groups { gap:8px; flex-wrap:wrap; } .segmented button { padding:7px 10px; } .button { font-size:10px; padding:9px 12px; }
  .page-heading { align-items:flex-start; flex-direction:column; margin-top:0; gap:8px; } .page-heading { position:relative; } .final-status { position:absolute; top:0; right:0; padding:4px 8px; font-size:10px; } .page-heading .controls,.page-heading .control-groups { width:100%; gap:6px; } .page-heading .segmented button { padding:6px 7px; font-size:11px; white-space:nowrap; } #year-controls { flex-basis:auto; } h1 { font-size:22px; } #subtitle { line-height:1.4; font-size:12px; }
  .candidate-grid { grid-template-columns:1fr; gap:12px; } .candidate-card-inner { padding:20px; gap:20px; } .portrait { width:96px; height:120px; } .candidate-pct { font-size:46px; } .candidate-name { font-size:16px; }
  .candidate-status { padding:10px 20px; } .metrics { grid-template-columns:1fr 1fr; } .metric { padding:16px; border-bottom:1px solid var(--rule); } .metric:nth-child(2) { border-right:0; } .metric:nth-child(3),.metric:nth-child(4) { border-bottom:0; } .metric-value { font-size:20px; }
  .panel-heading { padding:16px; flex-wrap:wrap; } .panel-heading h2 { font-size:14px; } .chart { padding:0 8px 12px; } th,td { padding:12px 16px; }
  .region-grid { padding:0 16px 16px; gap:8px; grid-template-columns:1fr 1fr; } .region-block { padding:10px; } .timeline-panel { padding:12px; gap:10px; flex-wrap:wrap; } .timeline-input { min-width:170px; } .search-controls { width:100%; } .search-controls input[type=search] { width:100%; }
  .bar-legend { font-size:9px; } .allocation-note { margin:0 16px 16px; line-height:1.5; } footer { gap:10px; } footer p { margin-top:0; }
}
@media(prefers-reduced-motion:reduce) { * { scroll-behavior:auto; } .flash { animation:none; } }
@keyframes flash { from { background:#fff1bf; } to { background:transparent; } }
.flash { animation:flash 3s ease-out; border-radius:4px; }
.chart line.flip-2022 { stroke:var(--muted); stroke-width:1.5; stroke-dasharray:6 5; }
.chart text.flip-label { fill:var(--muted); font-size:11px; }
.chart polyline.ref { stroke-dasharray:7 6; opacity:.5; }
.chart-legend i.ref-key { background:none; border-top:2px dashed var(--muted); height:0; }
.tone-red { --candidate:#b43d45; } .tone-blue { --candidate:#3266a6; } .tone-green { --candidate:#397557; } .tone-gold { --candidate:#977338; } .tone-purple { --candidate:#786494; } .tone-gray { --candidate:#687c91; }
.vote-bar span,.seat,.chart-legend i { background:var(--candidate); }
.region-block div { color:var(--candidate); }

.control-groups { flex-wrap:wrap; }
.segmented button:disabled { opacity:.45; cursor:default; }
.connection-status { font-size:12px; color:var(--muted); margin:0 0 10px; padding:7px 12px; border:1px solid var(--rule); background:var(--sheet); border-radius:5px; }
.connection-status.stale { background:#fff8e9; color:#805d28; border-color:#eeddbb; }
.projection-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:24px; padding:4px 24px 20px; }
.ranges { padding:0 24px 18px; display:grid; gap:10px; }
.range-row { display:grid; grid-template-columns:170px 1fr 120px; gap:12px; align-items:center; font-size:12px; }
.range-row span:last-child { color:var(--muted); font-variant-numeric:tabular-nums; }
.range-track { position:relative; height:14px; background:var(--rule); border-radius:7px; }
.range-band { position:absolute; top:0; bottom:0; background:var(--candidate); opacity:.35; border-radius:7px; }
.range-dot { position:absolute; top:-3px; width:4px; height:20px; margin-left:-2px; background:var(--candidate); border-radius:2px; }
.range-scale { display:flex; justify-content:space-between; font-size:10px; color:var(--muted); margin-left:182px; margin-right:132px; }
.side-direita { --candidate:#3266a6; } .side-centro { --candidate:#a8862a; } .side-esquerda { --candidate:#b43d45; } .side-nao-classificado { --candidate:#687c91; }
.senate-groups { display:flex; flex-wrap:wrap; gap:28px; padding:4px 24px 12px; }
.senate-groups div { border-left:3px solid var(--candidate); padding:2px 14px; }
.senate-groups span,.senate-groups small { display:block; color:var(--muted); font-size:12px; }
.senate-groups strong { display:block; font-size:34px; color:var(--candidate); font-variant-numeric:tabular-nums; }
.senate-seats { padding:0 24px; }
.senate-seats.compact { max-width:none; gap:4px; }
.senate-seats.compact .seat { width:8px; height:8px; }
.side-nao-calculado { --candidate:#c9d0d8; }
.senate-note { font-size:11px; color:var(--muted); padding:10px 24px 16px; margin:0; line-height:1.7; }
.map-wrap { padding:0 24px 8px; display:flex; justify-content:center; }
.map-wrap svg { width:100%; max-width:620px; height:auto; }
.uf-shape { fill:var(--candidate); fill-opacity:.82; stroke:#fff; stroke-width:1.2; }
.uf-shape:hover { fill-opacity:1; }
.uf-shape.side-vazio { fill:#d9dee4; }
.map-wrap text { font-size:11px; font-weight:700; fill:#fff; pointer-events:none; paint-order:stroke; stroke:rgba(0,0,0,.35); stroke-width:2px; }
.dot { display:inline-block; width:9px; height:9px; border-radius:50%; background:var(--candidate); margin-right:6px; }
.projection-banner { background:var(--ink); color:#fff; border-radius:var(--radius); padding:16px 22px; margin:0 0 20px; display:grid; gap:4px; }
.projection-banner strong { font-size:18px; letter-spacing:-.2px; }
.projection-banner span { font-size:12px; opacity:.8; }
.sc-grid { padding:0 24px 20px; margin:0; }
.minor-card b { color:var(--ink); }
.track-record { background:linear-gradient(135deg,#123d2b,#1d5a40); color:#fff; border-radius:12px; padding:22px 26px; margin:0 0 20px; }
.track-kicker { margin:0 0 6px; font-size:11px; letter-spacing:1.4px; text-transform:uppercase; opacity:.75; font-weight:700; }
.track-record h2 { margin:0 0 16px; font-size:24px; line-height:1.25; letter-spacing:-.4px; }
.track-compare { display:grid; grid-template-columns:1fr 1fr .8fr; gap:14px; }
.track-col { background:rgba(255,255,255,.08); border-radius:8px; padding:12px 14px; display:grid; gap:4px; }
.track-col > span { font-size:11px; opacity:.75; }
.track-col div { display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.track-col small { font-size:12px; opacity:.85; }
.track-col b { font-size:22px; font-variant-numeric:tabular-nums; }
.track-gap b { font-size:34px; color:#b6f0cf; }
.track-cta { margin-top:16px; display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; border-top:1px solid rgba(255,255,255,.2); padding-top:14px; }
.track-cta strong { font-size:16px; }
.track-cta span { font-size:13px; opacity:.85; flex:1 1 260px; }
.track-share { background:#fff; color:#123d2b; font-weight:700; font-size:13px; padding:9px 14px; border-radius:6px; text-decoration:none; }
.track-share:hover { text-decoration:none; background:#e9f7ef; }
.track-note { margin:10px 0 0; font-size:11px; opacity:.65; }
@media(max-width:700px) { .track-compare { grid-template-columns:1fr; } .track-record h2 { font-size:19px; } }
.hist-bar { display:flex; height:10px; width:220px; border-radius:5px; overflow:hidden; background:var(--rule); }
.hist-bar span { display:block; background:var(--candidate); }
.hist-maps { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; padding:0 24px 20px; }
.hist-map { display:grid; gap:6px; text-align:center; }
.hist-map svg { width:100%; height:auto; }
@media(max-width:700px) { .hist-maps { grid-template-columns:1fr; } .hist-bar { width:120px; } }
.minor-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:12px; margin:-8px 0 20px; }
.minor-card { display:flex; gap:12px; align-items:center; background:var(--sheet); border:1px solid var(--rule); border-top:3px solid var(--candidate); border-radius:var(--radius); padding:12px; min-width:0; }
.minor-card.blank { --candidate:var(--rule); }
.minor-card .portrait { width:48px; height:60px; }
.minor-card div { min-width:0; }
.minor-card strong { display:block; font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.minor-card small { display:block; color:var(--muted); font-size:10px; }
.minor-pct { display:block; font-size:22px; font-weight:650; font-variant-numeric:tabular-nums; margin:4px 0 2px; }
@media(max-width:1000px) { .minor-grid { grid-template-columns:repeat(3,1fr); } }
@media(max-width:600px) { .minor-grid { grid-template-columns:1fr 1fr; } .minor-card strong { white-space:normal; } }
.region-progress { display:block; color:var(--muted); font-size:11px; margin:2px 0 6px; }
.lead-13 td { background:#fbeced; }
.lead-22 td { background:#eaf5ec; }
.comparison ul { margin:0; padding:4px 24px 18px 42px; font-size:13px; line-height:1.9; }
.projection { border-left:3px solid var(--candidate); padding:8px 18px; }
.probability-value { display:block; font-size:40px; line-height:1.1; color:var(--candidate); letter-spacing:-1.5px; margin:8px 0; }
.projection h3 { margin:6px 0; font-size:15px; }
.projection p { margin:10px 0 0; font-size:13px; line-height:1.8; }
.projection p span { color:var(--muted); }
.model-note { border-top:1px solid var(--rule); padding:14px 24px; display:flex; flex-wrap:wrap; gap:12px; font-size:12px; }
.model-note span { color:var(--muted); }
@media(max-width:600px) {
  .controls { align-items:flex-start; }
  .control-groups { gap:8px; }
  #year-controls { flex-basis:auto; }
  .projection-grid { grid-template-columns:1fr; gap:16px; padding:4px 16px 16px; }
  .range-row { grid-template-columns:1fr; gap:4px; }
  .range-scale { margin:0; }
  .ranges { padding:0 16px 16px; }
  .comparison ul { padding:4px 16px 16px 32px; }
  .probability-value { font-size:44px; }
  .model-note { padding:12px 16px; }
}

.waiting-panel { min-height:340px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:40px 24px; }
.waiting-panel h2 { margin:24px 0 12px; font-size:24px; letter-spacing:-.4px; }
.waiting-panel p { margin:0; max-width:460px; color:var(--muted); font-size:14px; line-height:1.7; }
.waiting-panel>span { margin-top:18px; color:var(--muted); font-size:12px; }
.waiting-clock { width:48px; height:48px; border:2px solid #acbccb; border-radius:50%; position:relative; }
.waiting-clock::before { content:''; position:absolute; width:2px; height:14px; top:9px; left:21px; background:var(--ballot); border-radius:2px; }
.waiting-clock::after { content:''; position:absolute; width:11px; height:2px; top:22px; left:22px; background:var(--ballot); border-radius:2px; transform:rotate(30deg); transform-origin:left center; }
@media(max-width:600px) { .waiting-panel h2 { font-size:21px; } }

.projection-wait { padding:16px 24px; color:var(--muted); font-size:13px; }
.projection-wait p { margin:0; }

/* Notícias e projeções: página editorial do 2º turno. Serifa do sistema (a CSP não carrega fontes externas). */
.newsroom-page { --serif:Charter,"Bitstream Charter","Sitka Text",Cambria,Georgia,serif; }
.np-lead { padding:8px 0 28px; margin-bottom:24px; border-bottom:1px solid var(--rule); }
.np-kicker { margin:0 0 14px; font-size:13px; font-weight:600; color:var(--ballot); }
.np-title { font-family:var(--serif); font-size:44px; line-height:1.12; font-weight:700; letter-spacing:-.5px; margin:0; max-width:20em; text-wrap:balance; }
.np-deck { font-family:var(--serif); font-size:20px; line-height:1.55; color:#3c4f63; margin:16px 0 30px; max-width:38em; }
.runoff-line { margin:0; max-width:980px; }
.rl-names { display:flex; justify-content:space-between; font-size:15px; font-weight:650; margin-bottom:10px; }
.rl-names .tone-red { color:var(--red); } .rl-names .tone-blue { color:var(--blue); }
.rl-names b { font-size:26px; font-weight:750; font-variant-numeric:tabular-nums; }
.rl-track { position:relative; height:46px; background:var(--blue); border-radius:3px; overflow:hidden; }
.rl-lula { position:absolute; inset:0 auto 0 0; background:var(--red); }
.rl-band { position:absolute; top:0; bottom:0; background:repeating-linear-gradient(135deg,rgba(255,255,255,.55) 0 3px,transparent 3px 8px); border-left:2px solid #fff; border-right:2px solid #fff; }
.rl-50 { position:absolute; top:-6px; bottom:-6px; width:0; border-left:2px dashed var(--ink); transform:translateX(-1px); }
.rl-first { position:absolute; top:0; width:0; height:0; border-left:8px solid transparent; border-right:8px solid transparent; border-top:11px solid var(--ink); transform:translateX(-8px); }
.rl-axis { position:relative; height:22px; margin-top:6px; font-size:11px; color:var(--muted); font-variant-numeric:tabular-nums; }
.rl-tick { position:absolute; transform:translateX(-50%); }
.rl-half { color:var(--ink); font-weight:700; }
.runoff-line figcaption { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; font-size:12px; color:var(--muted); margin-top:8px; line-height:1.5; }
.rl-key-band { width:22px; height:12px; background:var(--muted) repeating-linear-gradient(135deg,rgba(255,255,255,.6) 0 3px,transparent 3px 8px); border-radius:2px; }
.rl-key-first { width:0; height:0; border-left:6px solid transparent; border-right:6px solid transparent; border-top:9px solid var(--ink); margin-left:12px; }
.np-block { margin-bottom:24px; }
.np-columns { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:48px; margin-top:36px; }
.np-h2 { font-size:15px; font-weight:700; margin:0 0 14px; }
.news-filter { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:8px; }
.news-filter button { border:1px solid var(--rule); background:var(--sheet); border-radius:999px; padding:6px 14px; font-size:13px; font-weight:600; color:var(--muted); }
.news-filter button span { font-weight:500; margin-left:2px; font-variant-numeric:tabular-nums; }
.news-filter button[aria-pressed=true] { background:var(--ink); border-color:var(--ink); color:#fff; }
.news-day { font-size:13px; font-weight:600; color:var(--muted); margin:26px 0 4px; }
.news-day::first-letter { text-transform:uppercase; }
.news-list { list-style:none; margin:0; padding:0; }
.news-list li { display:grid; grid-template-columns:52px minmax(0,1fr); gap:14px; padding:14px 0; border-bottom:1px solid var(--rule); }
.news-list time,.news-nodate { font-size:13px; color:var(--muted); font-variant-numeric:tabular-nums; padding-top:3px; }
.news-title { font-family:var(--serif); font-size:19px; line-height:1.38; color:var(--ink); font-weight:600; }
.news-title:visited { color:#4f5f70; }
.news-meta { display:flex; gap:10px; align-items:center; margin-top:6px; font-size:12px; color:var(--muted); font-weight:600; }
.news-topic { color:var(--ballot); background:#e9f0f7; border-radius:3px; padding:2px 7px; font-weight:600; }
.news-more { margin-top:20px; }
.news-aside { font-size:14px; line-height:1.6; color:#3c4f63; }
.news-aside p { margin:0 0 14px; }
.news-aside .np-h2 { margin-top:28px; } .news-aside .np-h2:first-child { margin-top:0; }
.np-fine { font-size:12px; color:var(--muted); }
@media(max-width:1000px) { .np-columns { grid-template-columns:1fr; gap:32px; } .np-title { font-size:36px; } }
@media(max-width:640px) {
  .np-title { font-size:28px; } .np-deck { font-size:17px; margin-bottom:22px; } .rl-names { font-size:12px; } .rl-names b { font-size:20px; } .rl-track { height:36px; }
  .news-list li { grid-template-columns:44px minmax(0,1fr); gap:10px; } .news-title { font-size:17px; }
}
.quotes { display:grid; grid-template-columns:1fr 1fr; }
.quote { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:18px 24px 22px; border-top:1px solid var(--rule); }
.quote+.quote { border-left:1px solid var(--rule); }
.quote h3 { font-size:13px; font-weight:650; margin:0 0 6px; } .quote h3 a { color:var(--ink); }
.quote-price { display:block; font-size:26px; font-weight:750; font-variant-numeric:tabular-nums; letter-spacing:-.3px; }
.quote-change { display:block; font-size:14px; font-weight:600; margin-top:4px; font-variant-numeric:tabular-nums; }
.quote small { display:block; font-size:11px; color:var(--muted); margin-top:6px; }
.spark { width:240px; max-width:45%; height:56px; flex-shrink:1; }
.spark polyline { fill:none; stroke:var(--ink); stroke-width:1.75; stroke-linejoin:round; }
.spark line { stroke:var(--muted); stroke-width:1; stroke-dasharray:3 3; }
@media(max-width:800px) { .quotes { grid-template-columns:1fr; } .quote+.quote { border-left:0; } }
@media(max-width:640px) { .quote { padding:14px 16px 18px; } .quote-price { font-size:22px; } }
.news-warn { font-size:12px; color:#7a5a12; background:#fff7e0; border:1px solid #f0dca0; border-radius:4px; padding:8px 12px; margin:0 0 12px; }
.supports { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--rule); }
.support-col { padding:16px 24px 20px; } .support-col+.support-col { border-left:1px solid var(--rule); }
.support-col h3 { font-size:14px; font-weight:700; margin:0 0 10px; color:var(--candidate); } .support-col.tone-gray h3 { color:var(--muted); }
.support-col h3 span { font-weight:500; color:var(--muted); margin-left:4px; }
.support-col ul { list-style:none; margin:0; padding:0; }
.support-col li { padding:8px 0; border-top:1px solid var(--rule); font-size:14px; } .support-col li:first-child { border-top:0; }
.support-col li strong { display:block; } .support-col li a { font-size:12px; }
.support-empty { font-size:13px; color:var(--muted); margin:0; }
@media(max-width:800px) { .supports { grid-template-columns:1fr; } .support-col+.support-col { border-left:0; border-top:1px solid var(--rule); } }
.chart polyline.market { stroke-width:1.25; opacity:.75; }
.chart polyline.scenario { stroke-width:3; stroke-linejoin:miter; }
.chart line.today { stroke:var(--muted); stroke-dasharray:2 4; }
.chart line.mark { stroke-width:2.5; } .chart line.mark.apoios { stroke:var(--ink); } .chart line.mark.pesquisas { stroke:#9aa7b5; }
.chart a:hover line.mark,.chart a:focus line.mark { stroke:var(--ballot); stroke-width:4; }
.chart-legend { flex-wrap:wrap; row-gap:8px; }
.chart-legend i.key-scenario { background:var(--muted); height:3px; } .chart-legend i.key-market { background:var(--muted); height:1px; }
.chart-legend i.key-mark { width:2px; height:12px; } .chart-legend i.key-mark.apoios { background:var(--ink); } .chart-legend i.key-mark.pesquisas { background:#9aa7b5; }
.support-raw { border-top:1px solid var(--rule); padding:16px 24px 20px; }
.support-raw h3 { font-size:14px; font-weight:700; margin:0 0 4px; } .support-raw p { font-size:12px; color:var(--muted); margin:0 0 10px; }
.support-raw ul { list-style:none; margin:0; padding:0; }
.support-raw li { display:grid; grid-template-columns:96px minmax(0,1fr) auto; gap:12px; padding:8px 0; border-top:1px solid var(--rule); font-size:14px; align-items:baseline; }
.support-raw li:first-child { border-top:0; } .support-raw time,.support-raw span { font-size:12px; color:var(--muted); } .support-raw a { color:var(--ink); }
@media(max-width:640px) { .support-raw { padding:14px 16px; } .support-raw li { grid-template-columns:1fr; gap:2px; } }
.panel-heading .segmented button { white-space:nowrap; }

/* Notícias e projeções, redesenho: portal de notícias. Texto corrido >= 15px (14px no celular); só selos curtos ficam menores. */
.newsroom-page { color:var(--ink); }
.newsroom-page .panel-heading h2 { font-size:18px; }
.newsroom-page .panel-heading p { font-size:15px; line-height:1.5; max-width:46em; }
.newsroom-page .chart-legend { font-size:14px; gap:10px 22px; }
.newsroom-page .chart text { font-size:11px; }
.newsroom-page .model-note,.newsroom-page .model-note span { font-size:14px; }
.np-now { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 14px; padding:14px 20px; margin-bottom:24px; background:var(--sheet); border:1px solid var(--rule); border-left:5px solid var(--ink); border-radius:var(--radius); }
.np-now-tag { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:800; letter-spacing:.8px; text-transform:uppercase; color:var(--ink); }
.np-now-tag i { width:10px; height:10px; border-radius:50%; background:var(--muted); }
.np-now-tag.fresh i { background:var(--ink); animation:np-pulse 1.8s ease-out infinite; }
@keyframes np-pulse { 0% { box-shadow:0 0 0 0 rgba(23,45,67,.45); } 70%,100% { box-shadow:0 0 0 9px rgba(23,45,67,0); } }
@media(prefers-reduced-motion:reduce) { .np-now-tag.fresh i { animation:none; } }
.np-now-title { flex:1 1 360px; font-family:var(--serif); font-size:21px; line-height:1.35; font-weight:700; color:var(--ink); }
.np-now .news-meta { margin:0; }
.np-top { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:32px; align-items:start; }
.np-h2 { font-size:17px; }
.np-h2-big { font-size:26px; font-family:var(--serif); margin:0 0 6px; }
.np-sub { font-size:16px; color:#3c4f63; margin:0 0 20px; }
.np-data { margin-top:48px; padding-top:32px; border-top:2px solid var(--ink); }
.story-lead { background:var(--ink); color:#fff; border-radius:var(--radius); padding:28px 28px 24px; margin-bottom:8px; }
.story-lead .story-title { font-size:32px; line-height:1.2; font-weight:700; color:#fff; letter-spacing:-.3px; text-wrap:balance; }
.story-lead .news-meta { color:#cfd9e4; margin-top:18px; }
.story-lead .news-source { background:#fff; color:var(--ink); border-color:#fff; }
.story-lead .news-new { background:#fff; color:var(--ink); }
.story-title { display:block; font-family:var(--serif); color:var(--ink); }
.story-list { list-style:none; margin:0; padding:0; counter-reset:s; }
.story-list li { padding:18px 0; border-bottom:1px solid var(--rule); }
.story-list .story-title { font-size:21px; line-height:1.3; font-weight:650; }
.story-list .news-meta { margin-top:8px; }
.story-title:visited { color:inherit; }
.np-status { font-size:15px; color:var(--muted); margin:16px 0 0; }
.np-status strong { color:var(--ink); }
.np-score { background:var(--sheet); border:1px solid var(--rule); border-radius:var(--radius); padding:24px; }
.np-score .np-kicker { font-size:14px; margin-bottom:10px; }
.np-score .np-title { font-size:26px; line-height:1.2; }
.np-score .np-deck { font-family:inherit; font-size:16px; line-height:1.5; margin:12px 0 22px; }
.np-score .rl-names { font-size:16px; } .np-score .rl-names b { font-size:30px; }
.np-score .rl-axis { font-size:13px; }
.np-score .runoff-line figcaption { font-size:14px; }
.who-says { margin-top:24px; border-top:1px solid var(--rule); }
.sc-row { display:grid; grid-template-columns:1fr 1fr; gap:4px 16px; padding:18px 0; border-bottom:1px solid var(--rule); }
.sc-what { grid-column:1/-1; }
.sc-what h3 { margin:0 0 4px; font-size:17px; font-weight:700; }
.sc-what p { margin:0; font-size:15px; line-height:1.45; color:#3c4f63; }
.sc-cell { display:flex; flex-direction:column; margin-top:10px; border-left:4px solid var(--candidate); padding-left:12px; }
.sc-name { font-size:15px; font-weight:650; color:var(--candidate); }
.sc-cell strong { font-size:38px; line-height:1.1; font-weight:750; letter-spacing:-.8px; font-variant-numeric:tabular-nums; }
.sc-cell small { font-size:15px; color:var(--muted); }
details.np-more,.news-aside details { border-top:1px solid var(--rule); padding:12px 0; }
details.np-more p,.news-aside details p { font-size:15px; line-height:1.55; margin:10px 0 2px; }
details.np-more summary,.news-aside summary { cursor:pointer; font-size:15px; font-weight:650; min-height:24px; }
.np-columns { margin-top:48px; }
.news-aside { font-size:15px; }
.news-aside .np-fine { font-size:14px; margin-top:16px; }
.news-filter { position:sticky; top:0; z-index:10; background:var(--paper); margin:0 0 4px; padding:10px 0; gap:8px; border-bottom:1px solid var(--rule); }
.news-filter button { min-height:44px; padding:8px 18px; font-size:15px; }
.news-filter button[aria-pressed=true] { box-shadow:0 0 0 2px var(--paper),0 0 0 4px var(--ink); }
.news-day { font-size:15px; font-weight:700; margin:30px 0 2px; color:var(--ink); }
.news-list li { grid-template-columns:96px minmax(0,1fr); gap:16px; padding:18px 0; }
.news-list time,.news-nodate { font-size:15px; font-weight:600; padding-top:4px; }
.news-title { font-size:21px; line-height:1.35; max-width:36em; }
.news-sum { font-family:var(--serif); font-size:16px; line-height:1.5; color:#3c4f63; margin:6px 0 0; max-width:40em; }
.news-meta { flex-wrap:wrap; gap:8px 12px; font-size:14px; margin-top:8px; }
.news-source { border:1px solid #b9c4d0; border-radius:4px; padding:1px 8px; font-weight:700; color:var(--ink); font-size:13px; }
.news-topic { font-size:13px; }
.news-new { background:var(--ink); color:#fff; border-radius:999px; padding:1px 9px; font-size:12px; font-weight:800; letter-spacing:.5px; text-transform:uppercase; }
.news-more { min-height:44px; font-size:15px; }
.news-warn { font-size:14px; }
.quote h3 { font-size:15px; } .quote-price { font-size:30px; } .quote-change { font-size:16px; } .quote small { font-size:14px; }
.support-col h3 { font-size:17px; } .support-col li { font-size:16px; } .support-col li a { font-size:14px; } .support-empty { font-size:15px; }
.support-raw h3 { font-size:17px; } .support-raw p { font-size:15px; } .support-raw li { font-size:16px; grid-template-columns:120px minmax(0,1fr) auto; } .support-raw time,.support-raw span { font-size:14px; }
@media(max-width:1000px) { .np-top,.np-columns { grid-template-columns:minmax(0,1fr); } .np-columns { margin-top:40px; } }
@media(max-width:640px) {
  .np-now { padding:12px 14px; } .np-now-title { font-size:18px; flex-basis:100%; }
  .story-lead { padding:20px 18px; } .story-lead .story-title { font-size:25px; } .story-list .story-title { font-size:19px; }
  .np-score { padding:18px 16px; } .np-score .np-title { font-size:22px; } .np-score .np-deck { font-size:15px; }
  .np-score .rl-names { font-size:14px; } .np-score .rl-names b { font-size:22px; }
  .sc-cell strong { font-size:32px; } .sc-what p,.sc-cell small,.sc-name { font-size:14px; }
  .news-filter { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin:0 -16px 4px; padding:10px 16px; } .news-filter button { white-space:nowrap; flex:0 0 auto; }
  .news-list li { grid-template-columns:minmax(0,1fr); gap:4px; padding:16px 0; } .news-list time,.news-nodate { padding-top:0; font-size:14px; } .news-title { font-size:19px; } .news-sum { font-size:15px; overflow-wrap:anywhere; }
  .np-h2-big { font-size:22px; } .newsroom-page .panel-heading p,.newsroom-page .chart-legend,.support-raw p,.support-raw time,.support-raw span,.quote small { font-size:14px; }
  .support-raw li { grid-template-columns:1fr; } .support-col li a { font-size:14px; }
  .newsroom-page .chart text { font-size:10px; }
}
.about { border-top:1px solid var(--rule); margin-top:8px; padding:24px 0 8px; max-width:46em; font-size:15px; line-height:1.65; color:#3c4f63; }
.about h2 { font-size:16px; font-weight:700; color:var(--ink); margin:0 0 10px; }
.about p { margin:0 0 10px; }

/* Letreiro de indicadores: corre devagar, para com o mouse/foco, fica parado (e rolável) com movimento reduzido. */
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.ticker { background:var(--ink); color:#e8eef5; overflow:hidden; border-bottom:1px solid #0e1e2e; }
.ticker-track { display:flex; width:max-content; animation:ticker 75s linear infinite; }
.ticker:hover .ticker-track { animation-play-state:paused; }
.ticker-item { display:inline-flex; align-items:baseline; gap:8px; padding:7px 28px; font-size:14px; white-space:nowrap; font-variant-numeric:tabular-nums; border-right:1px solid rgba(255,255,255,.14); }
.ticker-item b { font-weight:700; color:#fff; } .ticker-item small { font-size:12px; color:#a9bbcd; }
@keyframes ticker { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@media(prefers-reduced-motion:reduce) { .ticker { overflow-x:auto; } .ticker-track { animation:none; } }
@media(max-width:640px) { .ticker-item { padding:6px 20px; font-size:13px; } }
/* Conteúdo inicial vindo do servidor (buscadores, primeira pintura); o JS substitui ao carregar. */
.seo-lead h2 { font-family:Charter,"Bitstream Charter",Cambria,Georgia,serif; font-size:30px; line-height:1.2; margin:8px 0; }
.seo-lead p,.seo-news li { font-size:16px; line-height:1.55; }
.seo-news ul { padding-left:18px; } .seo-news span { color:var(--muted); font-size:13px; }
.brand-logo { display:block; height:42px; width:auto; }
a.brand:hover { text-decoration:none; }
@media(max-width:640px) { .brand-logo { height:38px; } }

.quorum-ok { color:var(--valid); }
.press-list { padding:0 24px 16px; } .press-list li:first-child { border-top:0; }
.tabbar button[data-tab=poder] { color:var(--valid); display:inline-flex; align-items:center; gap:7px; }
.tabbar button[data-tab=poder]::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--valid); box-shadow:0 0 0 3px var(--valid-bg); }
.tabbar button[data-tab=poder][aria-selected=true] { border-bottom-color:var(--valid); color:var(--valid); }
.hemicycle { width:100%; height:auto; display:block; }
.hemicycle circle { fill:var(--candidate); stroke:var(--sheet); stroke-width:.4; }
.hemicycle circle:hover { stroke:var(--ink); stroke-width:1; }
.hc-total { text-anchor:middle; font-size:22px; font-weight:750; fill:var(--ink); }
.hc-sub { text-anchor:middle; font-size:6px; fill:var(--muted); letter-spacing:1px; text-transform:uppercase; }
.power-sub { margin:22px 24px 6px; font-size:15px; }
.gauges { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; padding:10px 0 0; } .gauges.one { grid-template-columns:minmax(0,1fr); padding:0; }
.gauge { margin:0; padding:10px 10px 12px; border:1px solid var(--rule); border-radius:var(--radius); background:var(--paper); }
.gauge.reached { border-color:var(--valid); background:var(--valid-bg); }
.gauge svg { width:100%; height:auto; display:block; }
.g-track { fill:none; stroke:var(--rule); }
.g-arc { fill:none; stroke:var(--candidate); }
.g-need { stroke:var(--ink); stroke-width:3; stroke-linecap:round; }
.g-value { text-anchor:middle; font-size:36px; font-weight:750; fill:var(--ink); }
.g-need-text { text-anchor:middle; font-size:10px; fill:var(--muted); }
.gauge figcaption { display:grid; gap:2px; text-align:center; font-size:11px; color:var(--muted); line-height:1.35; } .gauge figcaption em { font-style:normal; font-size:10px; letter-spacing:1px; text-transform:uppercase; }
.gauge figcaption strong { font-size:14px; color:var(--ink); }
.g-status { color:var(--ink); margin-top:4px; }
.gauge-key { display:flex; flex-wrap:wrap; gap:6px 16px; align-items:center; padding:6px 24px 0; margin:0; font-size:12px; color:var(--muted); }
.gauge-key i { display:inline-block; width:14px; height:8px; border-radius:2px; background:var(--candidate); margin-right:-10px; }
.gauge-key i.g-key-need { width:3px; height:14px; background:var(--ink); }
.power-table { margin:14px 24px 0; } .power-table summary { cursor:pointer; color:var(--ballot); font-size:13px; font-weight:600; }
.quorum-mid { color:#7a5f12; }
.gauge.reached-mid { border-color:#a8862a; background:#fbf6e4; }
.power-houses { display:grid; grid-template-columns:1fr 1fr; gap:28px; padding:0 24px 8px; } .power-house .hemicycle { max-width:440px; margin:0 auto; } .power-house .gauge-key { display:block; padding:0; line-height:1.9; align-self:center; } .power-house .gauge-key i { margin-right:4px; }
.power-house h3 { margin:0 0 4px; font-size:15px; } .power-house h3 small { font-size:11px; font-weight:500; color:var(--muted); margin-left:6px; } .ph-sub { margin:2px 0 6px; font-size:11px; color:var(--muted); }
.hc-legend { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:6px; }
.hc-legend div { border-left:3px solid var(--candidate); padding:0 0 0 8px; }
.hc-legend span,.hc-legend small { display:block; font-size:11px; color:var(--muted); }
.hc-legend strong { display:block; font-size:22px; line-height:1.1; color:var(--candidate); font-variant-numeric:tabular-nums; }
.hl-strip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:24px; }
.hl { background:var(--sheet); border:1px solid var(--rule); border-top:4px solid var(--rule); border-radius:var(--radius); padding:14px 16px 16px; min-width:0; }
.hl-ok { border-color:var(--valid); border-top-color:var(--valid); background:var(--valid-bg); }
.hl-mid { border-color:#a8862a; border-top-color:#a8862a; background:#fbf6e4; }
.hl-kicker { display:block; font-size:11px; font-weight:700; letter-spacing:.6px; text-transform:uppercase; color:var(--muted); }
.hl-big { display:flex; align-items:baseline; gap:8px; font-size:56px; line-height:1.05; font-weight:750; font-variant-numeric:tabular-nums; margin:6px 0 2px; }
.hl-ok .hl-big { color:var(--valid); } .hl-mid .hl-big { color:#7a5f12; } .hl-big small { font-size:12px; font-weight:600; color:var(--muted); letter-spacing:0; }
.hl p { margin:0 0 10px; font-size:13px; line-height:1.4; min-height:36px; }
.hl-bar { position:relative; height:8px; border-radius:4px; background:var(--rule); overflow:hidden; }
.hl-bar span { position:absolute; left:0; top:0; bottom:0; background:var(--candidate); }
.stf-top { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:24px; padding:0 24px 8px; align-items:start; }
.stf-seats { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(135px,1fr)); gap:8px; }
.stf-seat { --pres:#687c91; border:1px solid var(--rule); border-left:6px solid var(--pres); border-radius:6px; padding:8px 10px; min-width:0; background:var(--paper); }
.stf-seat strong,.stf-seat span,.stf-seat small { display:block; overflow-wrap:anywhere; } .stf-seat strong { font-size:13px; } .stf-seat span { font-size:11px; } .stf-seat small { font-size:11px; color:var(--muted); margin-top:2px; }
.stf-seat.vaga,.tl-col li.vaga { border:2px dashed var(--ink); border-left-width:6px; background:var(--sheet); }
.pres-0 { --pres:#5b4b8a; } .pres-1 { --pres:#1f7a7a; } .pres-2 { --pres:#8a5a2b; } .pres-3 { --pres:#6b7f2a; } .pres-4 { --pres:#a14f7a; } .pres-5 { --pres:#3d5a80; } .pres-6 { --pres:#c26a2e; } .pres-7 { --pres:#555; }
.pres-legend { list-style:none; margin:10px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:6px 16px; font-size:12px; }
.pres-legend i { display:inline-block; width:12px; height:12px; border-radius:3px; background:var(--pres); margin-right:6px; vertical-align:-2px; }
.stf-imp { border:1px solid var(--rule); border-radius:var(--radius); padding:12px 14px; background:var(--paper); min-width:0; }
.stf-imp h3 { margin:0 0 4px; font-size:15px; } .imp-big { margin:0; font-size:14px; } .imp-big b { font-size:30px; color:var(--ballot); } .imp-text { font-size:12px; color:var(--muted); margin:4px 0 8px; line-height:1.45; }
.timeline { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:10px; padding:4px 24px 0; }
.tl-col { border-top:3px solid var(--ballot); padding-top:6px; min-width:0; } .tl-col h4 { margin:0 0 6px; font-size:14px; } .tl-col h4 span { font-size:11px; color:var(--muted); font-weight:500; }
.tl-col ul { list-style:none; margin:0; padding:0; display:grid; gap:6px; } .tl-col p { margin:0; font-size:11px; color:var(--muted); }
.tl-col li { --pres:#687c91; border:1px solid var(--rule); border-left:6px solid var(--pres); border-radius:6px; padding:6px 8px; font-size:12px; } .tl-col li b,.tl-col li small { display:block; overflow-wrap:anywhere; } .tl-col li small { color:var(--muted); font-size:11px; }
.power-cols { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:start; }
.min-row { border-top:1px solid var(--rule); padding:0 24px; } .min-row summary { display:grid; grid-template-columns:minmax(90px,150px) minmax(0,1fr) 28px; gap:10px; align-items:center; padding:9px 0; cursor:pointer; font-size:13px; }
.min-row summary b { text-align:right; font-variant-numeric:tabular-nums; } .min-row .press-list { padding:0 0 10px; }
.min-track { height:12px; background:var(--rule); border-radius:6px; overflow:hidden; display:block; } .min-track span { display:block; height:100%; background:var(--ballot); }
.press-tabs { display:flex; flex-wrap:wrap; gap:6px; padding:0 24px 8px; }
.press-tabs button { border:1px solid var(--rule); background:var(--paper); border-radius:16px; padding:6px 12px; font-size:12px; font-weight:600; } .press-tabs button span { color:var(--muted); font-weight:500; }
.press-tabs button[aria-selected=true] { background:var(--ink); border-color:var(--ink); color:#fff; } .press-tabs button[aria-selected=true] span { color:#cfd8e2; }
@media(max-width:1100px) { .hl-strip { grid-template-columns:repeat(2,minmax(0,1fr)); } .stf-top,.power-cols { grid-template-columns:1fr; } }
@media(max-width:700px) { .power-houses { grid-template-columns:1fr; padding:0 16px 8px; } .gauges { grid-template-columns:repeat(2,minmax(0,1fr)); } .power-house .gauge-key { grid-column:1/-1; display:flex; } .gauges.one { padding:0; }
  .hl-strip { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-bottom:16px; } .hl { padding:10px 10px 12px; } .hl-kicker { font-size:10px; } .hl-big { font-size:36px; flex-wrap:wrap; gap:0 6px; } .hl p { min-height:0; font-size:11px; }
  .hemicycle { max-width:340px; margin:0 auto; } .gauges.one .gauge { max-width:240px; margin:0 auto; } .stf-seats { grid-template-columns:repeat(2,minmax(0,1fr)); } .gauge figcaption span:not(.g-status) { display:none; } .stf-top,.timeline,.press-tabs { padding-left:16px; padding-right:16px; } .min-row { padding:0 16px; }
  .power-table,.gauge-key,.power-sub { margin-left:16px; margin-right:16px; } .gauge-key { padding-left:0; } .tl-col h4 { font-size:13px; } .timeline { grid-template-columns:1fr 1fr; } .panel .senate-note { padding-left:16px; padding-right:16px; } }
.stf-imp .gauges.one .gauge { max-width:230px; margin:0 auto; } .stf-imp { display:grid; grid-template-columns:1fr; } .stf-imp .gauges.one { padding:0; }
.timeline { grid-template-columns:repeat(5,minmax(0,1fr)) minmax(0,1.6fr); } .stf-imp .gauges.one .gauge { max-width:200px; }
@media(max-width:1100px) { .timeline { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.stf-seat.vaga,.tl-col li.vaga { border-left:6px solid var(--ink); }

/* Noite do 2º turno (aba Presidente, e.turn===2) */
.n2 { display:grid; gap:16px; }
.n2 .panel,.n2 .n2-sim,.n2 .projection-banner { margin:0; }
.n2 .projection-banner { margin:0; }
.n2-sim { background:#fff4df; color:#6b4410; border:2px solid #d9a441; border-radius:var(--radius); padding:12px 16px; font-size:13px; font-weight:600; }
.n2-sim strong { letter-spacing:1px; }
.n2-grid { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:16px; align-items:start; }
.n2-score,.n2-trail { grid-column:span 7; } .n2-proj,.n2-flip { grid-column:span 5; }
.n2-where { grid-column:span 12; } .n2-first { grid-column:span 8; } .n2-cong { grid-column:span 4; }
.n2-grid>.panel { height:100%; }
.n2 .panel-heading { padding:14px 18px 8px; } .n2 .panel-heading h2 { font-size:14px; }
.n2-cands { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:16px 18px 4px; }
.n2-cand { display:flex; gap:14px; align-items:center; border-top:3px solid var(--candidate); padding-top:12px; min-width:0; }
.n2-cand .portrait { width:76px; height:94px; }
.n2-cand-body { min-width:0; }
.n2-cand h2 { font-size:15px; margin:0; font-weight:650; overflow-wrap:anywhere; }
.n2-cand small { color:var(--muted); font-size:11px; }
.n2-pct { font-size:46px; font-weight:700; letter-spacing:-1.5px; line-height:1.05; margin:6px 0 2px; color:var(--candidate); font-variant-numeric:tabular-nums; }
.n2-pct span { font-size:20px; letter-spacing:0; }
.n2-votes { font-size:12px; color:var(--muted); font-variant-numeric:tabular-nums; }
.n2-tag { display:inline-block; margin-top:6px; background:var(--candidate); color:#fff; font-size:10px; font-weight:700; padding:3px 8px; border-radius:3px; letter-spacing:.3px; }
.n2-bar { position:relative; display:flex; height:14px; margin:12px 18px 6px; border-radius:7px; background:var(--rule); }
.n2-bar>span { display:block; height:100%; background:var(--candidate); min-width:1px; } .n2-bar>span:first-child { border-radius:7px 0 0 7px; } .n2-bar>span:nth-child(2) { border-radius:0 7px 7px 0; }
.n2-half { position:absolute; top:-5px; bottom:-5px; width:2px; margin-left:-1px; background:var(--ink); }
.n2-bar-scale { display:grid; grid-template-columns:1fr auto 1fr; gap:8px; margin:0 18px; font-size:11px; color:var(--muted); font-variant-numeric:tabular-nums; }
.n2-bar-scale span:last-child { text-align:right; } .n2-half-label { color:var(--ink); font-weight:700; }
.n2-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:14px 0 0; border-top:1px solid var(--rule); }
.n2-stats div { padding:10px 18px 12px; border-right:1px solid var(--rule); min-width:0; } .n2-stats div:last-child { border:0; }
.n2-stats dt { font-size:10px; color:var(--muted); margin:0 0 4px; } .n2-stats dd { margin:0; font-size:18px; font-weight:650; font-variant-numeric:tabular-nums; }
.n2-stats small { display:block; font-size:10px; color:var(--muted); margin-top:3px; }
.n2-ph { padding:14px 18px 4px; } .n2-ph h2 { font-size:14px; margin:0; } .n2-ph p { font-size:11px; color:var(--muted); margin:4px 0 0; } .n2-ph strong { color:var(--ink); }
.n2-chances { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:8px 18px; }
.n2-chance { border-left:3px solid var(--candidate); padding:2px 0 2px 10px; min-width:0; }
.n2-chance span { display:block; font-size:10px; color:var(--muted); } .n2-chance strong { display:block; font-size:36px; line-height:1.1; color:var(--candidate); font-variant-numeric:tabular-nums; letter-spacing:-1px; }
.n2-chance small { font-size:11px; color:var(--muted); }
.n2-proj .ranges { padding:4px 18px 8px; } .n2-proj .range-row { grid-template-columns:118px 1fr 104px; font-size:11px; } .n2-proj .range-row strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.n2-note,.n2-err { margin:0; padding:10px 18px 18px; font-size:13px; color:var(--muted); line-height:1.5; }
.n2-err { color:#8a2c33; font-weight:600; }
.n2-fine { margin:0; padding:6px 18px 12px; font-size:11px; color:var(--muted); line-height:1.5; }
.n2-big { margin:0; padding:6px 18px 0; font-size:28px; font-weight:700; letter-spacing:-.8px; font-variant-numeric:tabular-nums; } .n2-big span { font-size:15px; font-weight:500; color:var(--muted); letter-spacing:0; }
.n2-line { margin:0; padding:6px 18px 0; font-size:14px; line-height:1.45; }
.n2-who { color:var(--candidate); } .n2-need-pct { font-size:22px; font-variant-numeric:tabular-nums; }
.n2-never { color:var(--ink); background:#f3f5f8; margin:8px 18px 0; padding:10px 12px; border-radius:6px; border-left:3px solid var(--ink); }
.n2-need { position:relative; height:16px; margin:16px 18px 6px; border-radius:8px; background:var(--rule); }
.n2-need-fill { position:absolute; left:0; top:0; bottom:0; border-radius:8px; background:var(--candidate); }
.n2-need i { position:absolute; top:-5px; bottom:-5px; width:2px; margin-left:-1px; } .n2-need-now { background:var(--ink); } .n2-need-half { background:none; border-left:2px dashed var(--muted); width:0 !important; }
.n2-need-key { display:flex; flex-wrap:wrap; gap:4px 14px; margin:0 18px; font-size:11px; color:var(--muted); } .n2-need-key span { display:flex; align-items:center; gap:6px; }
.n2-sw { display:inline-block; width:12px; height:12px; border-radius:3px; background:var(--candidate); } .n2-sw-circle { border-radius:50%; background:rgba(23,45,67,.6); }
.n2-sw-line { display:inline-block; width:2px; height:12px; background:var(--ink); } .n2-sw-dash { display:inline-block; width:0; height:12px; border-left:2px dashed var(--muted); }
.n2-chart { padding:0 18px 10px; } .n2-chart svg { max-height:230px; }
.n2-chart polyline { stroke-width:2.5; } .n2-chart .n2-grid50 { stroke:var(--muted); stroke-dasharray:5 4; }
.n2-dot { fill:var(--candidate); stroke:#fff; stroke-width:2; }
.n2-projline { stroke:var(--ink); stroke-width:2; } .n2-projdot { fill:#fff; stroke:var(--ink); stroke-width:2.5; }
.chart-legend i.n2-key-proj { background:none; border:2px solid var(--ink); height:10px; width:10px; border-radius:50%; } .chart-legend i.n2-key-half { background:none; border-top:2px dashed var(--muted); height:0; }
.n2-where-body { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:8px 24px; padding:0 18px 12px; align-items:start; }
.n2-map svg { display:block; width:100%; max-width:360px; height:auto; margin:0 auto; }
.n2-map .uf-shape { fill-opacity:.55; }
.n2-bubble { fill:rgba(23,45,67,.62); stroke:#fff; stroke-width:1.5; pointer-events:none; }
.n2-map text { font-size:16px; font-weight:700; fill:#fff; stroke:#172d43; stroke-width:3px; paint-order:stroke; pointer-events:none; }
.n2-mapkey { display:flex; flex-wrap:wrap; justify-content:center; gap:4px 16px; margin:6px 0 0; font-size:11px; color:var(--muted); } .n2-mapkey span { display:flex; align-items:center; gap:6px; }
.n2-pace { margin:0 0 10px; padding:10px 12px; background:#f3f6f9; border-radius:6px; font-size:13px; line-height:1.5; } .n2-pace em { display:block; font-size:11px; color:var(--muted); }
.n2-where-list h3,.n2-tbl h3 { font-size:12px; margin:0 0 8px; font-weight:650; }
.n2-rows { list-style:none; margin:0; padding:0; display:grid; gap:6px; }
.n2-rows li { display:grid; grid-template-columns:62px minmax(40px,1fr) 100px minmax(120px,auto); gap:10px; align-items:center; font-size:12px; font-variant-numeric:tabular-nums; }
.n2-uf { font-weight:700; } .n2-rem-track { height:10px; background:var(--rule); border-radius:5px; overflow:hidden; display:block; } .n2-rem-track span { display:block; height:100%; background:var(--candidate); }
.n2-rows b { text-align:right; } .n2-net { color:var(--candidate); font-weight:650; text-align:right; }
.n2-where-list .n2-fine { padding-left:0; padding-right:0; }
.n2-kpis { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:4px 18px 10px; }
.n2-kpi { background:#f3f6f9; border-radius:6px; padding:10px 12px; } .n2-kpi span { font-size:11px; color:var(--muted); display:block; } .n2-kpi strong { font-size:26px; letter-spacing:-.6px; font-variant-numeric:tabular-nums; } .n2-kpi small { display:block; font-size:11px; color:var(--muted); line-height:1.45; } .n2-kpi small b { color:var(--ink); }
.n2-tbls { display:grid; grid-template-columns:1fr 1fr; gap:16px; padding:0 18px; }
.n2-tbl table { font-size:12px; } .n2-tbl th,.n2-tbl td { padding:6px 6px; position:static; background:none; border-top:0; font-size:11px; } .n2-tbl thead th { color:var(--muted); font-weight:600; border-bottom:1px solid var(--rule); } .n2-tbl tbody th { font-size:12px; text-align:left; color:var(--ink); border-bottom:1px solid #edf0f3; }
.n2-delta { color:var(--candidate); font-weight:700; } .n2-mute { color:var(--muted); }
.n2-first .n2-fine { padding-top:10px; }
.n2-house { padding:6px 18px 10px; } .n2-house-top { display:flex; justify-content:space-between; gap:8px; flex-wrap:wrap; font-size:12px; margin-bottom:6px; } .n2-house-top small { color:var(--muted); font-weight:400; }
.n2-seats { position:relative; display:flex; height:14px; background:var(--rule); border-radius:7px; }
.n2-seats>span { display:block; height:100%; background:var(--candidate); } .n2-seats>span:first-child { border-radius:7px 0 0 7px; }
.n2-seats-need { position:absolute; top:-5px; bottom:-5px; width:2px; margin-left:-1px; background:var(--ink); }
.n2-house-st { display:block; margin-top:6px; font-size:11px; color:var(--muted); } .n2-ok { color:var(--valid); font-weight:700; } .n2-mid { color:#7a5f12; font-weight:700; }
.n2-details { margin:0; } .n2-details>summary { display:flex; align-items:baseline; gap:12px; padding:14px 18px; cursor:pointer; font-size:14px; font-weight:600; } .n2-details>summary small { font-size:11px; color:var(--muted); font-weight:400; }
.n2 summary:focus-visible { outline:3px solid #447caf; outline-offset:-3px; }
.n2-full th,.n2-full td { padding:8px 10px; font-size:11px; } .n2-full thead th { white-space:normal; vertical-align:bottom; } .n2-full tbody th { text-align:left; border-bottom:1px solid #edf0f3; position:static; background:none; border-top:0; font-size:12px; color:var(--ink); }
.n2-method { padding:0 18px 12px; font-size:12px; line-height:1.55; color:var(--muted); } .n2-method p { margin:0 0 8px; max-width:900px; } .n2-method strong { color:var(--ink); }
@media(max-width:1000px) {
  .n2-score,.n2-trail,.n2-proj,.n2-flip,.n2-where,.n2-first,.n2-cong { grid-column:span 12; }
  .n2-where-body { grid-template-columns:1fr; }
}
@media(max-width:640px) {
  .n2-cands { gap:8px; padding:12px 12px 2px; } .n2-cand { flex-direction:column; align-items:flex-start; gap:8px; } .n2-cand .portrait { width:52px; height:64px; }
  .n2-pct { font-size:34px; } .n2-pct span { font-size:15px; } .n2-cand h2 { font-size:13px; } .n2-votes { font-size:11px; }
  .n2-bar,.n2-bar-scale,.n2-need,.n2-need-key { margin-left:12px; margin-right:12px; } .n2-bar-scale { font-size:10px; }
  .n2-stats { grid-template-columns:1fr 1fr; } .n2-stats div { padding:10px 12px; } .n2-stats div:nth-child(2) { border-right:0; } .n2-stats div:nth-child(-n+2) { border-bottom:1px solid var(--rule); }
  .n2-chances { padding:8px 12px; } .n2-chance strong { font-size:30px; } .n2-proj .ranges { padding:4px 12px 8px; } .n2-proj .range-row { grid-template-columns:74px 1fr; } .n2-proj .range-row span:last-child { grid-column:1 / -1; }
  .n2-note,.n2-err,.n2-fine,.n2-line,.n2-big { padding-left:12px; padding-right:12px; } .n2-big { font-size:23px; }
  .n2-chart { padding:0 8px 10px; } .n2 .panel-heading { padding:12px 12px 6px; } .n2-ph { padding:12px 12px 4px; }
  .n2-where-body { padding:0 12px 10px; } .n2-rows li { grid-template-columns:44px minmax(24px,1fr) 78px; } .n2-net { grid-column:2 / -1; text-align:left; } .n2-rows li .n2-uf { grid-row:span 2; }
  .n2-kpis { grid-template-columns:1fr; padding:4px 12px 10px; } .n2-tbls { grid-template-columns:1fr; padding:0 12px; } .n2-tbl { overflow-x:auto; }
  .n2-house { padding:6px 12px 10px; } .n2-details>summary { flex-wrap:wrap; padding:12px; } .n2-method { padding:0 12px 10px; }
}
.n2-band { fill:var(--ballot); opacity:.12; stroke:none; }
.n2-projtrail { fill:none; stroke:var(--ballot); stroke-width:2; stroke-dasharray:4 3; }
.chart-legend i.n2-key-band, .n2-key-band { display:inline-block; width:14px; height:8px; background:var(--ballot); opacity:.35; border-radius:2px; }

.np-power { display:flex; align-items:stretch; gap:0; background:var(--ink); color:#e8eef5; border-radius:var(--radius); margin:0 0 16px; overflow:hidden; border-left:5px solid #c9a24a; }
.npp-stat { flex:1 1 0; min-width:0; padding:10px 18px; border-right:1px solid rgba(255,255,255,.16); display:flex; flex-direction:column; justify-content:center; gap:2px; }
.npp-stat span { font-size:11px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:#aebccb; }
.npp-stat strong { font-size:22px; line-height:1.15; color:#fff; font-variant-numeric:tabular-nums; }
.npp-stat strong small { font-size:13px; font-weight:500; color:#c7d3df; }
.npp-stat em { font-style:normal; font-size:12px; line-height:1.35; color:#dbe4ec; }
.npp-go { flex:0 0 auto; border:0; background:#c9a24a; color:#172d43; font-weight:700; font-size:14px; padding:0 22px; text-align:left; display:flex; flex-direction:column; justify-content:center; gap:2px; }
.npp-go span { font-size:11px; letter-spacing:1px; text-transform:uppercase; }
.npp-go:hover { background:#d9b45c; }
.np-power button:focus-visible { outline:3px solid #fff; outline-offset:-5px; }
@media(max-width:900px) { .np-power { flex-wrap:wrap; } .npp-stat { flex:1 1 40%; border-bottom:1px solid rgba(255,255,255,.16); } .npp-go { flex:1 1 100%; padding:11px 18px; flex-direction:row; align-items:center; gap:8px; } }
@media(max-width:640px) { .npp-stat { flex-basis:100%; padding:8px 14px; border-right:0; justify-content:flex-start; flex-direction:row; flex-wrap:wrap; align-items:baseline; column-gap:8px; } .npp-stat strong { font-size:18px; } .npp-stat em { flex-basis:100%; } }
.rq-top { display:grid; grid-template-columns:minmax(150px,.6fr) minmax(0,1.4fr) minmax(0,1fr); gap:24px; padding:4px 24px 8px; align-items:start; }
.rq-big { display:grid; gap:2px; } .rq-big b { font-size:44px; line-height:1; color:var(--ink); } .rq-big span { color:var(--muted); font-size:12px; margin-bottom:12px; }
.rq-bars { list-style:none; margin:0; padding:0; display:grid; gap:6px; }
.rq-bars li { display:grid; grid-template-columns:150px minmax(0,1fr) 34px 78px; gap:8px; align-items:center; font-size:12px; }
.rq-bars small { color:var(--muted); } .rq-bars b { text-align:right; }
.rq-track { height:10px; background:var(--rule); border-radius:5px; overflow:hidden; }
.rq-all { display:block; height:100%; background:#8fa6bf; border-radius:5px; overflow:hidden; } .rq-pend { display:block; height:100%; background:var(--ballot); }
.rq-years { list-style:none; margin:0; padding:0; display:flex; gap:6px; align-items:flex-end; height:130px; }
.rq-years li { flex:1; display:flex; flex-direction:column; align-items:center; gap:2px; font-size:11px; height:100%; justify-content:flex-end; }
.rq-col { flex:1; width:100%; display:flex; align-items:flex-end; } .rq-col span { display:block; width:100%; background:var(--ballot); border-radius:3px 3px 0 0; min-height:2px; }
.rq-years small { color:var(--muted); }
.gauge-key i.rq-key-all { background:#8fa6bf; } .gauge-key i.rq-key-pend { background:var(--ballot); }
@media(max-width:900px) { .rq-top { grid-template-columns:1fr; } .rq-big { grid-template-columns:auto 1fr; align-items:baseline; gap:4px 10px; } .rq-bars li { grid-template-columns:110px minmax(0,1fr) 30px 70px; } }
.install-btn { margin-right:12px; padding:7px 12px; border:1px solid var(--valid); border-radius:999px; background:var(--valid-bg); color:var(--valid); font-size:12px; font-weight:700; cursor:pointer; white-space:nowrap; }
.install-btn:hover { background:var(--valid); color:#fff; }
.install-btn:focus-visible { outline:3px solid var(--ballot); outline-offset:2px; }
.install-help { max-width:min(420px,calc(100vw - 32px)); border:1px solid var(--rule); border-radius:12px; padding:20px 22px; color:var(--ink); background:var(--sheet); }
.install-help::backdrop { background:rgba(23,45,67,.45); }
.install-help h2 { margin:0 0 12px; font-size:18px; } .install-help ol { margin:0 0 12px; padding-left:20px; line-height:1.6; } .install-help p { color:var(--muted); font-size:13px; }
@media(max-width:640px) { .install-btn { order:1; margin-left:auto; margin-right:8px; padding:6px 10px; font-size:11px; } .masthead .source-badge { order:2; } }
