:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --ink: #16181d;
  --muted: #6b7280;
  --line: #e6e8ec;
  --grid: #eef0f3;
  --accent: #16181d;
  --shadow: 0 1px 2px rgba(16, 18, 29, 0.04), 0 8px 24px rgba(16, 18, 29, 0.06);
  --radius: 16px;
  font-synthesis-weight: none;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0f13;
    --panel: #14171d;
    --ink: #e9ebf0;
    --muted: #99a1af;
    --line: #262b34;
    --grid: #1e232c;
    --accent: #e9ebf0;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.top { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
h1 { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; margin: 0; }
h1 span { color: var(--muted); font-weight: 500; }

.tabsets { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.races, .rounds { display: flex; gap: 4px; background: var(--grid); padding: 4px; border-radius: 999px; flex-wrap: wrap; }
.rounds[hidden], .scenario[hidden] { display: none; }
.scenario { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.scenario select {
  font: inherit; font-size: 12.5px; font-weight: 550; color: var(--ink); background: var(--panel);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; cursor: pointer;
}

.pbadge {
  display: inline-block; font-size: 9px; font-weight: 700; line-height: 1.4; letter-spacing: .02em;
  padding: 0 4px; margin-left: 5px; border-radius: 4px; background: var(--c); color: #fff;
  vertical-align: 1px; text-shadow: 0 1px 1px rgba(0, 0, 0, .28);
}

.chart-toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: 8px 0 -4px; position: relative; }
.period { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.period select {
  font: inherit; font-size: 12px; font-weight: 550; color: var(--ink); background: var(--panel);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; cursor: pointer;
}
#filter-wrap { position: relative; }
#filter-btn {
  border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: inherit;
  font-size: 12px; font-weight: 550; padding: 5px 12px; border-radius: 999px; cursor: pointer;
}
#filter-panel {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 9; width: 260px; max-height: 320px;
  overflow-y: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px;
}
#filter-panel[hidden] { display: none; }
#filter-panel label {
  display: flex; align-items: center; gap: 8px; padding: 5px 6px; font-size: 12.5px; border-radius: 7px; cursor: pointer;
}
#filter-panel label:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
#filter-panel .filter-actions { display: flex; gap: 6px; padding: 2px 4px 8px; border-bottom: 1px solid var(--grid); margin-bottom: 4px; }
#filter-panel .filter-actions button {
  flex: 1; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font: inherit;
  font-size: 11.5px; padding: 4px 6px; border-radius: 7px; cursor: pointer;
}
.races button, .rounds button {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 550;
  border-radius: 999px; cursor: pointer; transition: color .15s, background .15s;
}
.races button { font-size: 13px; padding: 6px 14px; }
.rounds button { font-size: 12px; padding: 5px 12px; }
.races button[aria-selected="true"], .rounds button[aria-selected="true"] {
  background: var(--panel); color: var(--ink); box-shadow: var(--shadow);
}

main { padding: 28px 0 64px; }
.chartcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 22px 16px; }
.chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
h2 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.sub { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

.legend { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 560px; }
.legend button {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--panel);
  color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 550; padding: 4px 10px; border-radius: 999px; cursor: pointer;
  transition: opacity .15s, background .15s; white-space: nowrap;
}
.legend button .dot { width: 9px; height: 9px; border-radius: 999px; flex: none; }
.legend button.off { opacity: 0.38; }
.legend button .pct { color: var(--muted); font-variant-numeric: tabular-nums; }
.legend button .pct.stale { font-style: italic; font-size: 11px; cursor: help; }
.legend .delta { font-size: 10.5px; font-weight: 700; font-variant-numeric: tabular-nums; margin-left: 3px; cursor: help; }
.legend .delta.up { color: #1f9d57; }
.legend .delta.down { color: #c9503a; }
.legend .delta.flat { color: var(--muted); font-weight: 500; }

.chart-holder { position: relative; margin-top: 10px; }
#chart { width: 100%; height: auto; display: block; touch-action: pan-y; }
#chart text { font-family: inherit; }

.axis text { fill: var(--muted); font-size: 12px; }
.axis line { stroke: var(--grid); }
.gridline { stroke: var(--grid); }
.band { stroke: none; transition: opacity .5s ease; }
.tline { fill: none; stroke-linecap: round; stroke-linejoin: round; transition: opacity .2s ease; }
.pollpt { transition: opacity .2s ease; }
.endlabel { font-size: 13px; font-weight: 650; }
.endlabel .p { font-weight: 500; opacity: .7; }
.crosshair { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; opacity: .55; }
.focusdot { stroke: var(--panel); stroke-width: 2; }
.dim { opacity: 0.12 !important; }
.hide { display: none; }

.tooltip {
  position: absolute; pointer-events: none; background: var(--panel); border: 1px solid var(--line);
  box-shadow: var(--shadow); border-radius: 10px; padding: 8px 10px; font-size: 12.5px; min-width: 150px;
  transform: translate(-50%, calc(-100% - 14px)); transition: opacity .12s;
}
.tooltip h4 { margin: 0 0 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.tooltip .row { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.tooltip .row .nm { display: flex; align-items: center; gap: 6px; }
.tooltip .row .dot { width: 8px; height: 8px; border-radius: 999px; flex: none; }
.tooltip .row .v { font-variant-numeric: tabular-nums; font-weight: 650; }

.foot { color: var(--muted); font-size: 12px; margin: 14px 2px 2px; }
.foot a { color: var(--muted); }

.pollscard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 22px 8px; margin-top: 20px; }
.polls-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.polls-head h3 { margin: 0 0 6px; font-size: 15px; letter-spacing: -0.01em; }
.polls-head h3 span { color: var(--muted); font-weight: 500; }
#polls-toggle { border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 550; padding: 4px 12px; border-radius: 999px; cursor: pointer; }
.table-scroll { overflow-x: auto; margin: 0 -22px; padding: 0 22px; }
#polltable { border-collapse: collapse; width: 100%; font-size: 12.5px; font-variant-numeric: tabular-nums; }
#polltable th, #polltable td { text-align: right; padding: 7px 10px; border-bottom: 1px solid var(--grid); white-space: nowrap; }
#polltable th { color: var(--muted); font-weight: 600; position: sticky; top: 0; background: var(--panel); }
#polltable th:first-child, #polltable td:first-child { text-align: left; }
#polltable td.poll-name { font-weight: 550; }
#polltable td.muted { color: var(--muted); }
#polltable tbody tr:hover td { background: color-mix(in srgb, var(--ink) 4%, transparent); }
#polltable a { color: var(--muted); text-decoration: none; }
#polltable a:hover { color: var(--ink); }
#polltable td.win {
  font-weight: 700; color: var(--c);
  background: color-mix(in srgb, var(--c) 15%, transparent);
  box-shadow: inset 2px 0 0 var(--c);
}
#polltable tr.excluded td { opacity: .32; text-decoration: line-through; }
#polltable tr.excluded td.win { box-shadow: none; }
.rt {
  margin-left: 7px; font-size: 10.5px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 5px; padding: 0 4px; cursor: help;
  font-variant-numeric: tabular-nums; vertical-align: 1px;
}
.rt.up { color: #1f9d57; border-color: color-mix(in srgb, #1f9d57 40%, transparent); }
.rt.down { color: #c9503a; border-color: color-mix(in srgb, #c9503a 40%, transparent); }

/* ---- página de backtest ---- */
.backlink { color: var(--ink); text-decoration: none; }
.backlink:hover { color: var(--muted); }
main.bt { padding: 28px 0 64px; }
main.bt h2 { font-size: 24px; letter-spacing: -0.02em; margin: 0 0 8px; }
main.bt h3 { font-size: 16px; margin: 28px 0 4px; }
main.bt h3 span { color: var(--muted); font-weight: 500; font-size: 13px; }
.bt .lead { color: var(--muted); font-size: 13.5px; line-height: 1.6; max-width: 70ch; margin: 4px 0 14px; }
.bt .lead abbr { text-decoration: underline dotted; cursor: help; }

.bt-headline { display: flex; gap: 14px; flex-wrap: wrap; margin: 18px 0 8px; }
.bt-stat {
  flex: 1; min-width: 220px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px;
}
.bt-stat .yr { color: var(--muted); font-size: 13px; font-weight: 600; }
.bt-stat .big { font-size: 40px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.1; }
.bt-stat .big span { font-size: 16px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.bt-stat .cmp { color: var(--muted); font-size: 12.5px; margin-top: 4px; }

.bt-cycle { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; margin-top: 16px; }
.bt-chart { width: 100%; height: auto; display: block; margin: 6px 0 4px; }
.bt-chart .gridline { stroke: var(--grid); }
.bt-chart .voteline { stroke: var(--muted); stroke-dasharray: 4 4; opacity: .6; }
.bt-chart .axtx { fill: var(--muted); font-size: 12px; }
.bt-chart .bt-lbl { font-size: 13px; font-weight: 650; }

.bt-tbl, #pollsters { border-collapse: collapse; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
.bt-tbl th, .bt-tbl td, #pollsters th, #pollsters td { text-align: right; padding: 7px 10px; border-bottom: 1px solid var(--grid); white-space: nowrap; }
.bt-tbl th, #pollsters th { color: var(--muted); font-weight: 600; }
.bt-tbl td:first-child, .bt-tbl th:first-child, #pollsters td:first-child, #pollsters th:first-child { text-align: left; }
.bt-tbl .dot { display: inline-block; width: 9px; height: 9px; border-radius: 999px; margin-right: 7px; }
.bt-tbl .err-big { font-weight: 700; color: #c9503a; }
#pollsters td.up { color: #1f9d57; font-weight: 650; }
#pollsters td.down { color: #c9503a; font-weight: 650; }

@media (max-width: 640px) {
  .chart-head { flex-direction: column; }
  .legend { justify-content: flex-start; }
  h1 span { display: none; }
}

/* ---- página de eleitos ---- */
.seg { display: flex; gap: 6px; flex-wrap: wrap; margin: 22px 0 10px; }
.seg button { border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bt-tbl.party .bars { width: 34%; min-width: 120px; padding: 7px 10px; }
.bt-tbl.party .bar { height: 7px; border-radius: 4px; margin: 2px 0; min-width: 2px; }
.bt-tbl.party .bar.a { opacity: .38; }
.bt-tbl.party th.bh { text-align: left; font-weight: 500; }
.bt-tbl .sd.up { color: #1f9d57; font-weight: 700; }
.bt-tbl .sd.down { color: #c9503a; font-weight: 700; }
.bt-tbl .pbadge { margin: 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px; }
.filters input, .filters select { font: inherit; font-size: 13px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); }
.filters input { min-width: 220px; }
.bt-tbl.people td:first-child { font-weight: 600; }
.bt .muted { color: var(--muted); font-weight: 400; }

/* ---- navegação entre seções ---- */
.views { display: flex; gap: 4px; flex-wrap: wrap; margin: 2px 0 10px; }
.views a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 650; padding: 6px 13px; border-radius: 999px; border: 1px solid transparent; }
.views a:hover { color: var(--ink); }
.views a[aria-current="true"] { color: var(--bg); background: var(--ink); }
.views a.ext { margin-left: auto; font-weight: 500; }
.resultmarks .voteline { stroke: var(--muted); stroke-dasharray: 4 4; opacity: .55; }
.resultmarks .votelbl { fill: var(--muted); font-size: 11px; }
.rmark { cursor: pointer; outline: none; }
.rmark .ring { fill: var(--panel); stroke-width: 2.4; }
.tooltip .row.sub { color: var(--muted); font-size: 11.5px; }
.resnote { margin-top: 6px; }
.tabsets[hidden], main[hidden] { display: none !important; }
.tooltip h4, .tooltip .row, .tooltip .row span { white-space: nowrap; }
.tooltip .row { gap: 14px; }

/* ---- toggle de base dos gráficos ---- */
.basetoggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-right: auto; }
.basetoggle button { border: 0; background: var(--panel); color: var(--muted); font: inherit; font-size: 12px; font-weight: 600; padding: 5px 12px; cursor: pointer; }
.basetoggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* ---- divisória entre 1º e 2º turno no gráfico ---- */
.resultmarks .divider { stroke: var(--ink); stroke-width: 1.6; opacity: .7; }
.resultmarks .divlbl { fill: var(--muted); font-size: 11px; font-weight: 650; }
.t2tag { font-size: 9px; font-weight: 700; padding: 0 4px; margin-left: 5px; border-radius: 4px; background: var(--ink); color: var(--bg); vertical-align: 1px; }

/* ---- menu de ano ---- */
.yearsel { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-right: 8px; }
.yearsel select { font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.races[hidden] { display: none !important; }

/* cabeçalho em linhas fixas: título / seções / (ano + corridas) — o menu de ano sempre no mesmo lugar */
.top .wrap { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px; }
.views { width: 100%; }

/* ---- botão "Apuração" em destaque no menu ---- */
.views a.live { color: #1a1300; background: linear-gradient(135deg, #ffc233, #ff8a1f); font-weight: 750; box-shadow: 0 0 0 1px rgba(255, 170, 40, .5), 0 4px 14px rgba(255, 150, 20, .28); display: inline-flex; align-items: center; gap: 7px; }
.views a.live:hover { color: #1a1300; filter: brightness(1.06); }
.views a.live[aria-current="true"] { color: #1a1300; box-shadow: 0 0 0 2px var(--ink), 0 4px 14px rgba(255, 150, 20, .35); }
.livedot { width: 8px; height: 8px; border-radius: 99px; background: #c4261d; box-shadow: 0 0 0 0 rgba(196, 38, 29, .6); animation: livepulse 1.8s ease-out infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 7px rgba(196, 38, 29, 0); } 100% { box-shadow: 0 0 0 0 rgba(196, 38, 29, 0); } }
@media (prefers-reduced-motion: reduce) { .livedot { animation: none; } }

/* ---- seção Apuração ---- */
.ap-top { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
.ap-top .seg { margin: 4px 0 0; }
.ap-aviso { margin: 10px 0 14px; padding: 8px 12px; border: 1px dashed var(--line); border-radius: 10px; font-size: 12.5px; color: var(--muted); }
.ap-banner { border: 1px solid var(--line); border-left: 6px solid var(--muted); background: var(--panel); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 14px; }
.ap-banner[data-estado="aberto"] { border-left-color: #d19a2a; }
.ap-banner[data-estado="favorito"] { border-left-color: #4b7bd4; }
.ap-banner[data-estado="forte"] { border-left-color: #2f9e8f; }
.ap-banner[data-estado="projetado"], .ap-banner[data-estado="eleito"] { border-left-color: #1f9d57; background: color-mix(in srgb, #1f9d57 8%, var(--panel)); }
.ap-estado { font-size: 22px; font-weight: 780; letter-spacing: -0.01em; }
.ap-quem { color: var(--c); }
.ap-meta { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.ap-frase { margin: 8px 0 0; font-size: 14.5px; }
.ap-stale { color: #c9503a; font-weight: 650; }
.ap-tag { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; padding: 1px 6px; border-radius: 4px; background: var(--ink); color: var(--bg); }
.ap-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-bottom: 12px; }
.ap-card { border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: var(--radius); background: var(--panel); padding: 14px 16px; }
.ap-nome { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.ap-nome .dot { width: 10px; height: 10px; border-radius: 99px; }
.ap-big { font-size: 38px; font-weight: 780; letter-spacing: -0.02em; line-height: 1.1; margin: 6px 0 8px; font-variant-numeric: tabular-nums; }
.ap-big small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.ap-linha { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 4px 0; border-top: 1px solid var(--grid); }
.ap-linha span { color: var(--muted); }
.ap-prob { color: var(--c); font-size: 15px; }
.ap-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: 14px; }
.ap-kpi { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--panel); }
.ap-kpi .t { font-size: 11.5px; color: var(--muted); }
.ap-kpi .v { font-size: 20px; font-weight: 740; font-variant-numeric: tabular-nums; }
.ap-kpi .s { font-size: 11.5px; color: var(--muted); }
.ap-graf figure { margin: 0 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 12px 14px; }
.ap-graf figcaption { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.ap-graf svg { width: 100%; height: auto; display: block; }
.ap-gl { stroke: var(--grid); }
.ap-tracejado { stroke-dasharray: 4 4; }
.ap-50 { stroke: var(--muted); stroke-dasharray: 2 5; opacity: .6; }
.ap-ax { fill: var(--muted); font-size: 12px; }
.ap-lbl { font-size: 13px; font-weight: 700; }
.ap-of { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.ap-dot { fill: var(--ink); stroke: var(--panel); stroke-width: 2; }
.ap-proj { fill: none; stroke: #ff8a1f; stroke-width: 2.6; stroke-dasharray: 7 5; }
.ap-band { fill: #ff8a1f; fill-opacity: .17; }
.ap-final { stroke: #1f9d57; stroke-width: 1.5; stroke-dasharray: 2 3; }
.ap-cnt { fill: var(--muted); fill-opacity: .16; }
.ap-pA, .ap-pB { fill: none; stroke-width: 2.8; stroke-linejoin: round; }
.ap-leg { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 4px; }
.ap-leg i { display: inline-block; width: 22px; height: 0; border-top: 3px solid var(--ink); vertical-align: middle; margin-right: 6px; }
.ap-leg .l-pr { border-top: 3px dashed #ff8a1f; }
.ap-leg .l-bd { height: 10px; border: 0; background: #ff8a1f; opacity: .3; vertical-align: -1px; }
.ap-leg .l-fn { border-top: 2px dotted #1f9d57; }
.ap-ctrl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 16px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.ap-ctrl input[type="range"] { flex: 1; min-width: 160px; }
.ap-vel { font-size: 12px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.ap-vel select { font: inherit; font-size: 12px; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 3px 6px; }
.ap-btn { font: inherit; font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 0; cursor: pointer; color: #1a1300; background: linear-gradient(135deg, #ffc233, #ff8a1f); }
.ap-link { font: inherit; background: none; border: 0; color: var(--ink); text-decoration: underline; cursor: pointer; padding: 0; }
.ap-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin: 6px 0 4px; }
.ap-peq { font-size: 12.5px; margin: 4px 0 8px; }
.ap-tab td, .ap-tab th { padding: 6px 8px; }
.ap-barra { display: inline-block; vertical-align: middle; width: 90px; height: 8px; border-radius: 4px; background: var(--grid); overflow: hidden; margin-right: 8px; }
.ap-barra i { display: block; height: 100%; background: #ff8a1f; border-radius: 4px; }
.ap-cob { display: grid; gap: 7px; }
.ap-cob > div { display: grid; grid-template-columns: 110px 1fr 40px; align-items: center; gap: 8px; font-size: 13px; }
.ap-cob .ap-barra { width: 100%; margin: 0; }
.ap-valid { margin: 14px 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.ap-valid h3 { margin: 0 0 6px; }
.ap-valid ul { margin: 0 0 8px; padding-left: 18px; font-size: 13.5px; }
.ap-expl { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; background: var(--panel); }
.ap-expl summary { cursor: pointer; font-weight: 700; }
.ap-expl p { font-size: 13.5px; max-width: 90ch; }
