/* Caso eleitoral público (TECH-048; leitura lapidada na TECH-050): camada sobre evidence.css
   e a família rvf-*. Só tokens, escala --ev-type-* (piso de 12 px), barras só em CSS (classes
   w0..w100). Dado em cinza de contexto: nenhum candidato é foco e nenhuma cor é partidária. */
.el-h1 { max-width: 24ch; }
.el-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem; margin: 2rem 0 0; padding: 1.1rem 0; border-block: 1px solid var(--rvf-line); }
.el-meta dt { color: var(--rvf-text-3); font: 600 var(--ev-type-12) var(--rv-font-mono); letter-spacing: .06em; text-transform: uppercase; }
.el-meta dd { margin: .35rem 0 0; color: var(--rvf-text); font-size: var(--ev-type-16); font-weight: 600; font-variant-numeric: var(--ev-numeric); }
.el-downloads { margin-top: 1.5rem; }

/* Leitura rápida: números grandes com estado e fonte, ligados à seção que os sustenta. */
.el-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0; margin: 2.25rem 0 0; border-top: 1px solid var(--rvf-line); }
.el-kpi { display: grid; grid-template-rows: auto auto 1fr auto; gap: .45rem; padding: 1.25rem 1.25rem 1.25rem 0; }
.el-kpi + .el-kpi { padding-left: 1.25rem; border-left: 1px solid var(--rvf-line); }
.el-kpi dt { order: 2; color: var(--rvf-text-2); font-size: var(--ev-type-14); font-weight: 600; line-height: 1.4; }
.el-kpi-v { order: 1; margin: 0; color: var(--rvf-text); font-size: var(--ev-type-stat); font-weight: 600; line-height: 1; letter-spacing: -.035em; font-variant-numeric: var(--ev-numeric); white-space: nowrap; }
.el-kpi-sub { order: 3; margin: 0; color: var(--rvf-text-3); font-size: var(--ev-type-14); line-height: 1.5; font-variant-numeric: var(--ev-numeric); }
.el-kpi-src { order: 4; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; margin: 0; padding-top: .6rem; border-top: 1px solid var(--rvf-line); color: var(--rvf-text-3); font: 500 var(--ev-type-12)/1.6 var(--rv-font-mono); }
.el-kpi-src a { color: var(--rvf-text-2); text-decoration: underline; text-underline-offset: .2em; }
.el-kpi-src code { color: inherit; }

.el-doc { max-width: 76rem; }
.el-section { margin-top: 3rem; scroll-margin-top: 6.5rem; }
.el-section:first-child { margin-top: 0; }
.el-doc h2 { margin: 0 0 1rem; color: var(--rvf-ink); font-size: var(--rv-type-h3, clamp(1.375rem, 1.2rem + .8vw, 1.75rem)); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.el-doc h3 { margin: 1.75rem 0 .6rem; color: var(--rvf-ink); font-size: var(--ev-type-18); font-weight: 600; letter-spacing: -.015em; }
.el-doc p { max-width: 68ch; color: var(--rvf-ink-soft); font-size: var(--ev-type-16); line-height: 1.7; }
.el-doc code { font-size: var(--ev-type-12); overflow-wrap: anywhere; }
.el-ref { color: var(--rvf-accent-paper); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.el-ref code { color: inherit; }
.el-fontes tr:target > * { background: var(--rv-profile-evidence-accent-wash); }

/* Índice da página: os doze blocos do caso. */
.el-indice { margin: 2.5rem 0 0; padding: 1rem 0 1.1rem; border-block: 1px solid var(--rv-profile-evidence-line); }
.el-indice-label { margin: 0 0 .6rem; color: var(--rv-profile-evidence-content); font: 600 var(--ev-type-12)/1.5 var(--rv-font-mono); letter-spacing: .06em; text-transform: uppercase; }
.el-indice ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .1rem 1.5rem; margin: 0; padding: 0; list-style: none; counter-reset: el-i; }
.el-indice li { counter-increment: el-i; }
.el-indice a { display: inline-flex; align-items: baseline; gap: .5rem; min-height: 32px; padding-block: .3rem; color: var(--rvf-ink); font-size: var(--ev-type-14); }
.el-indice a::before { color: var(--rv-profile-evidence-content); font: 500 var(--ev-type-12) var(--rv-font-mono); content: counter(el-i, decimal-leading-zero); }
.el-indice a:hover { color: var(--rvf-accent-paper); text-decoration: underline; text-underline-offset: .2em; }

.el-legenda { display: grid; gap: 0; margin: 1.25rem 0; border-top: 1px solid var(--rv-profile-evidence-ink); }
.el-legenda > div { display: grid; grid-template-columns: 10rem 1fr; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--rv-profile-evidence-line); }
.el-legenda dd { margin: 0; color: var(--rvf-ink-soft); font-size: var(--ev-type-16); line-height: 1.6; }

/* .el-estado (os seis estados da evidência) mora em evidence.css: a home e as páginas de outras frentes também usam. */

.el-doc .el-meta-line, .el-meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin: .5rem 0 .75rem; font-size: var(--ev-type-14); font-variant-numeric: var(--ev-numeric); }
.el-doc .el-nota { font-size: var(--ev-type-14); }
/* URL longa de fonte oficial quebra na linha em vez de empurrar a página para o lado. */
.el-doc .el-nota a, .el-doc td a { overflow-wrap: anywhere; }
.el-doc .el-formula { display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: baseline; margin: .6rem 0 0; font-size: var(--ev-type-14); }
.el-formula span { color: var(--rv-profile-evidence-content); font: 600 var(--ev-type-12) var(--rv-font-mono); letter-spacing: .06em; text-transform: uppercase; }
.el-formula code { color: var(--rvf-ink); font-size: var(--ev-type-12); }

/* Tabelas: a fonte de verdade acessível. Linha fina, números tabulares à direita, primeira coluna fixa ao rolar. */
.el-table-wrap { overflow-x: auto; margin-top: .5rem; border-top: 2px solid var(--rv-profile-evidence-ink); }
.el-table-wrap:focus-visible { outline: 2px solid var(--rv-profile-evidence-focus, var(--rvf-brand)); outline-offset: 2px; }
.el-table { width: 100%; border-collapse: collapse; font-size: var(--ev-type-14); font-variant-numeric: var(--ev-numeric); }
.el-table caption { padding: .65rem 0; caption-side: top; color: var(--rvf-ink); font-size: var(--ev-type-14); font-weight: 600; text-align: left; }
.el-table th, .el-table td { padding: .55rem .7rem; border-bottom: 1px solid var(--rv-profile-evidence-line); color: var(--rvf-ink); text-align: left; vertical-align: top; }
.el-table thead th { border-bottom-color: var(--rv-profile-evidence-line-strong); color: var(--rv-profile-evidence-content); font-size: var(--ev-type-12); font-weight: 600; white-space: nowrap; vertical-align: bottom; }
.el-table tbody th { font-weight: 600; }
.el-table tbody tr:hover > * { background: color-mix(in srgb, var(--rv-profile-evidence-accent-wash) 60%, transparent); }
.el-table .el-num { font-family: var(--rv-font-mono); text-align: right; white-space: nowrap; }
.el-table--uf tbody th, .el-table--uf thead th:first-child, .el-table--timeline tbody th { position: sticky; left: 0; z-index: 1; background: var(--rvf-paper); }
.el-table ul { margin: 0; padding-left: 1rem; }
.el-table li + li { margin-top: .25rem; }
.el-table--texto td, .el-table--texto tbody th { min-width: 9rem; line-height: 1.5; }
.el-sub { color: var(--rvf-ink-soft); font-weight: 400; }
.el-url a { color: var(--rvf-accent-paper); overflow-wrap: anywhere; }
.el-url { min-width: 18rem; }
.el-sha code, code.el-sha { font-size: var(--ev-type-12); overflow-wrap: anywhere; word-break: break-all; }
.el-table--fontes .el-sha { min-width: 16rem; }

/* Barras em cinza de contexto: parcela dos válidos no resultado e parcela acumulada na apuração. */
.el-acum { display: flex; align-items: center; gap: .6rem; min-width: 14rem; }
.el-share { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; min-width: 11rem; }
.el-share .el-bar { flex: 1; max-width: 9rem; }
.el-bar { display: inline-block; flex: 1; height: .55rem; min-width: 6rem; border-radius: 2px; background: color-mix(in srgb, var(--rv-profile-evidence-line) 80%, transparent); overflow: hidden; }
.el-bar i { display: block; height: 100%; background: var(--ev-data-context); }

/* Fonte, CSV e figura completa. */
.el-fonte-linha, .el-doc .el-fonte-linha { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin: .6rem 0 0; color: var(--rv-profile-evidence-content); font: 500 var(--ev-type-12)/1.6 var(--rv-font-mono); }
.el-doc .el-fonte-linha { max-width: none; }
.el-fonte-linha a { color: var(--rvf-accent-paper); text-decoration: underline; text-underline-offset: .2em; }
.el-fig-n { margin-right: .4rem; color: var(--rv-profile-evidence-content); font: 600 var(--ev-type-12) var(--rv-font-mono); letter-spacing: .06em; text-transform: uppercase; }
.el-swing { margin: 1rem 0 1.5rem; padding: 1.1rem 0 0; border-top: 2px solid var(--rv-profile-evidence-ink); container-type: inline-size; }
.el-swing figcaption { display: grid; gap: .35rem; max-width: 68ch; color: var(--rvf-ink-soft); font-size: var(--ev-type-14); line-height: 1.6; }
.el-swing-titulo { color: var(--rvf-ink); font-size: var(--ev-type-16); font-weight: 600; }
.el-swing-eixo { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1fr) 4.5rem; margin: 1rem 0 .35rem; color: var(--rv-profile-evidence-content); font: 600 var(--ev-type-12) var(--rv-font-mono); letter-spacing: .04em; text-transform: uppercase; }
.el-swing-eixo span:first-child { grid-column: 2; padding-right: .5rem; text-align: right; }
.el-swing-eixo span:last-child { grid-column: 3; padding-left: .5rem; }
.el-swing-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.el-swing-list li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) 4.5rem; align-items: center; min-height: 1.5rem; font-size: var(--ev-type-12); }
.el-swing-list li:hover { background: color-mix(in srgb, var(--rv-profile-evidence-accent-wash) 60%, transparent); }
.el-swing-k { color: var(--rvf-ink); font: 600 var(--ev-type-12) var(--rv-font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.el-swing-track { display: grid; grid-template-columns: 1fr 1fr; height: .75rem; }
.el-half { display: flex; height: 100%; }
.el-half--b { justify-content: flex-end; border-right: 1px solid var(--rv-profile-evidence-ink); }
.el-half i { display: block; height: 100%; background: var(--ev-data-context); }
.el-swing-list .el-num { color: var(--rvf-ink); font-family: var(--rv-font-mono); font-variant-numeric: var(--ev-numeric); text-align: right; }

.el-marcos { display: grid; gap: .4rem; margin: .4rem 0 0; padding: 0; list-style: none; font-size: var(--ev-type-14); }
.el-marcos li { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; color: var(--rvf-ink-soft); }
.el-marcos li > span:first-child { min-width: 13rem; color: var(--rvf-ink); font-weight: 600; }
.el-desconhecido { display: grid; gap: 0; margin: 1rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rv-profile-evidence-ink); }
.el-desconhecido li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem 1rem; padding: .9rem 0; border-bottom: 1px solid var(--rv-profile-evidence-line); font-size: var(--ev-type-16); line-height: 1.55; }
.el-desconhecido strong { color: var(--rvf-ink); font-weight: 600; }
.el-desconhecido li > span:last-child { grid-column: 2; color: var(--rvf-ink-soft); }

@media (max-width: 720px) {
  .el-legenda > div { grid-template-columns: 1fr; gap: .5rem; }
  .el-desconhecido li { grid-template-columns: 1fr; }
  .el-desconhecido li > span:last-child { grid-column: 1; }
  .el-marcos li > span:first-child { min-width: 0; }
  .el-kpi, .el-kpi + .el-kpi { padding: 1rem 0; border-left: 0; }
  .el-kpi + .el-kpi { border-top: 1px solid var(--rvf-line); }
}
@container (max-width: 30rem) {
  .el-swing-list li { grid-template-columns: 3.5rem minmax(0, 1fr) 3.75rem; }
  .el-swing-eixo { grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1fr) 3.75rem; }
}

/* Movimento só por opção: as barras crescem uma vez a partir do zero. */
@media (prefers-reduced-motion: no-preference) {
  .el-bar i, .el-half--a i { transform-origin: left center; animation: el-cresce var(--rv-motion-transition, 520ms) cubic-bezier(.16, 1, .3, 1) both; }
  .el-half--b i { transform-origin: right center; animation: el-cresce var(--rv-motion-transition, 520ms) cubic-bezier(.16, 1, .3, 1) both; }
  @keyframes el-cresce { from { transform: scaleX(0); } }
}

/* Largura das barras (apuração, parcela e swing), em pontos inteiros de percentual. */
:is(.el-bar, .el-half) > .w0 { width: 0%; }
:is(.el-bar, .el-half) > .w1 { width: 1%; }
:is(.el-bar, .el-half) > .w2 { width: 2%; }
:is(.el-bar, .el-half) > .w3 { width: 3%; }
:is(.el-bar, .el-half) > .w4 { width: 4%; }
:is(.el-bar, .el-half) > .w5 { width: 5%; }
:is(.el-bar, .el-half) > .w6 { width: 6%; }
:is(.el-bar, .el-half) > .w7 { width: 7%; }
:is(.el-bar, .el-half) > .w8 { width: 8%; }
:is(.el-bar, .el-half) > .w9 { width: 9%; }
:is(.el-bar, .el-half) > .w10 { width: 10%; }
:is(.el-bar, .el-half) > .w11 { width: 11%; }
:is(.el-bar, .el-half) > .w12 { width: 12%; }
:is(.el-bar, .el-half) > .w13 { width: 13%; }
:is(.el-bar, .el-half) > .w14 { width: 14%; }
:is(.el-bar, .el-half) > .w15 { width: 15%; }
:is(.el-bar, .el-half) > .w16 { width: 16%; }
:is(.el-bar, .el-half) > .w17 { width: 17%; }
:is(.el-bar, .el-half) > .w18 { width: 18%; }
:is(.el-bar, .el-half) > .w19 { width: 19%; }
:is(.el-bar, .el-half) > .w20 { width: 20%; }
:is(.el-bar, .el-half) > .w21 { width: 21%; }
:is(.el-bar, .el-half) > .w22 { width: 22%; }
:is(.el-bar, .el-half) > .w23 { width: 23%; }
:is(.el-bar, .el-half) > .w24 { width: 24%; }
:is(.el-bar, .el-half) > .w25 { width: 25%; }
:is(.el-bar, .el-half) > .w26 { width: 26%; }
:is(.el-bar, .el-half) > .w27 { width: 27%; }
:is(.el-bar, .el-half) > .w28 { width: 28%; }
:is(.el-bar, .el-half) > .w29 { width: 29%; }
:is(.el-bar, .el-half) > .w30 { width: 30%; }
:is(.el-bar, .el-half) > .w31 { width: 31%; }
:is(.el-bar, .el-half) > .w32 { width: 32%; }
:is(.el-bar, .el-half) > .w33 { width: 33%; }
:is(.el-bar, .el-half) > .w34 { width: 34%; }
:is(.el-bar, .el-half) > .w35 { width: 35%; }
:is(.el-bar, .el-half) > .w36 { width: 36%; }
:is(.el-bar, .el-half) > .w37 { width: 37%; }
:is(.el-bar, .el-half) > .w38 { width: 38%; }
:is(.el-bar, .el-half) > .w39 { width: 39%; }
:is(.el-bar, .el-half) > .w40 { width: 40%; }
:is(.el-bar, .el-half) > .w41 { width: 41%; }
:is(.el-bar, .el-half) > .w42 { width: 42%; }
:is(.el-bar, .el-half) > .w43 { width: 43%; }
:is(.el-bar, .el-half) > .w44 { width: 44%; }
:is(.el-bar, .el-half) > .w45 { width: 45%; }
:is(.el-bar, .el-half) > .w46 { width: 46%; }
:is(.el-bar, .el-half) > .w47 { width: 47%; }
:is(.el-bar, .el-half) > .w48 { width: 48%; }
:is(.el-bar, .el-half) > .w49 { width: 49%; }
:is(.el-bar, .el-half) > .w50 { width: 50%; }
:is(.el-bar, .el-half) > .w51 { width: 51%; }
:is(.el-bar, .el-half) > .w52 { width: 52%; }
:is(.el-bar, .el-half) > .w53 { width: 53%; }
:is(.el-bar, .el-half) > .w54 { width: 54%; }
:is(.el-bar, .el-half) > .w55 { width: 55%; }
:is(.el-bar, .el-half) > .w56 { width: 56%; }
:is(.el-bar, .el-half) > .w57 { width: 57%; }
:is(.el-bar, .el-half) > .w58 { width: 58%; }
:is(.el-bar, .el-half) > .w59 { width: 59%; }
:is(.el-bar, .el-half) > .w60 { width: 60%; }
:is(.el-bar, .el-half) > .w61 { width: 61%; }
:is(.el-bar, .el-half) > .w62 { width: 62%; }
:is(.el-bar, .el-half) > .w63 { width: 63%; }
:is(.el-bar, .el-half) > .w64 { width: 64%; }
:is(.el-bar, .el-half) > .w65 { width: 65%; }
:is(.el-bar, .el-half) > .w66 { width: 66%; }
:is(.el-bar, .el-half) > .w67 { width: 67%; }
:is(.el-bar, .el-half) > .w68 { width: 68%; }
:is(.el-bar, .el-half) > .w69 { width: 69%; }
:is(.el-bar, .el-half) > .w70 { width: 70%; }
:is(.el-bar, .el-half) > .w71 { width: 71%; }
:is(.el-bar, .el-half) > .w72 { width: 72%; }
:is(.el-bar, .el-half) > .w73 { width: 73%; }
:is(.el-bar, .el-half) > .w74 { width: 74%; }
:is(.el-bar, .el-half) > .w75 { width: 75%; }
:is(.el-bar, .el-half) > .w76 { width: 76%; }
:is(.el-bar, .el-half) > .w77 { width: 77%; }
:is(.el-bar, .el-half) > .w78 { width: 78%; }
:is(.el-bar, .el-half) > .w79 { width: 79%; }
:is(.el-bar, .el-half) > .w80 { width: 80%; }
:is(.el-bar, .el-half) > .w81 { width: 81%; }
:is(.el-bar, .el-half) > .w82 { width: 82%; }
:is(.el-bar, .el-half) > .w83 { width: 83%; }
:is(.el-bar, .el-half) > .w84 { width: 84%; }
:is(.el-bar, .el-half) > .w85 { width: 85%; }
:is(.el-bar, .el-half) > .w86 { width: 86%; }
:is(.el-bar, .el-half) > .w87 { width: 87%; }
:is(.el-bar, .el-half) > .w88 { width: 88%; }
:is(.el-bar, .el-half) > .w89 { width: 89%; }
:is(.el-bar, .el-half) > .w90 { width: 90%; }
:is(.el-bar, .el-half) > .w91 { width: 91%; }
:is(.el-bar, .el-half) > .w92 { width: 92%; }
:is(.el-bar, .el-half) > .w93 { width: 93%; }
:is(.el-bar, .el-half) > .w94 { width: 94%; }
:is(.el-bar, .el-half) > .w95 { width: 95%; }
:is(.el-bar, .el-half) > .w96 { width: 96%; }
:is(.el-bar, .el-half) > .w97 { width: 97%; }
:is(.el-bar, .el-half) > .w98 { width: 98%; }
:is(.el-bar, .el-half) > .w99 { width: 99%; }
:is(.el-bar, .el-half) > .w100 { width: 100%; }
.el-csvs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin: 1rem 0 0; color: var(--rvf-text-3); font: 500 var(--ev-type-12)/1.6 var(--rv-font-mono); }
.el-csvs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--rvf-text-2); text-decoration: underline; text-underline-offset: .2em; }
.el-csvs a:hover { color: var(--rvf-accent); }

/* Ficha de metadados em seção de papel (páginas de módulo): as cores do fundo escuro não servem aqui. */
.rvf-section--paper .el-meta { border-color: var(--rvf-paper-line); }
.rvf-section--paper .el-meta dt { color: var(--rvf-ink-soft); }
.rvf-section--paper .el-meta dd { color: var(--rvf-ink); }

/* Reuso e citação (TECH-051): ficha do dado, três níveis de download e atalhos. Usados nas
   páginas de caso, UF, mapa, parlamento, candidaturas e pesquisas, sempre em seção de papel;
   os atalhos ficam no topo escuro. Escala --ev-type-* (piso de 12 px). */
.ev-reuso-atalhos { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 1rem 0 0; font: 500 var(--ev-type-12)/1.6 var(--rv-font-mono); letter-spacing: .04em; text-transform: uppercase; }
.ev-reuso-atalhos a { display: inline-flex; align-items: center; min-height: 32px; color: var(--rvf-text-2); text-decoration: underline; text-underline-offset: .25em; }
.ev-reuso-atalhos a:hover { color: var(--rvf-accent); }
.rvf-section--paper .ev-reuso-atalhos a { color: var(--rvf-ink-soft); }
.rvf-section--paper .ev-reuso-atalhos a:hover { color: var(--rvf-accent-paper); }
.ev-ficha { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0; margin: 1rem 0 0; border-top: 1px solid var(--rvf-paper-line); }
.ev-ficha > div { padding: .85rem 1rem .85rem 0; border-bottom: 1px solid var(--rvf-paper-line); }
.ev-ficha dt { color: var(--rvf-ink-soft); font: 600 var(--ev-type-12)/1.5 var(--rv-font-mono); letter-spacing: .06em; text-transform: uppercase; }
.ev-ficha dd { margin: .3rem 0 0; color: var(--rvf-ink); font-size: var(--ev-type-14); line-height: 1.6; font-variant-numeric: var(--ev-numeric); overflow-wrap: anywhere; }
.ev-ficha dd a { color: var(--rvf-accent-paper); text-decoration: underline; text-underline-offset: .2em; }
.ev-ficha dd code { font-size: var(--ev-type-12); }
.ev-baixar { display: grid; gap: 1rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.ev-baixar-nivel { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: .75rem; padding: 1rem 1.1rem; border: 1px solid var(--rvf-paper-line); border-radius: var(--rv-radius-md); }
.ev-baixar-n { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--rvf-paper-line); border-radius: 50%; color: var(--rvf-ink); font: 600 var(--ev-type-14)/1 var(--rv-font-mono); font-variant-numeric: var(--ev-numeric); }
.el-doc .ev-baixar-t, .ev-baixar-t { margin: 0; color: var(--rvf-ink); font-size: var(--ev-type-16); line-height: 1.4; }
.ev-baixar-d { margin: .3rem 0 .5rem; color: var(--rvf-ink-soft); font-size: var(--ev-type-14); line-height: 1.6; }
.ev-baixar-lista { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.ev-baixar-lista li { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; }
.ev-baixar-lista a { display: inline-flex; align-items: center; gap: .3rem; min-height: 32px; color: var(--rvf-accent-paper); font-size: var(--ev-type-14); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.ev-baixar-meta { color: var(--rvf-ink-soft); font: 400 var(--ev-type-12)/1.6 var(--rv-font-mono); font-variant-numeric: var(--ev-numeric); }
.ev-baixar-url { flex-basis: 100%; color: var(--rvf-ink); font: 400 var(--ev-type-12)/1.6 var(--rv-font-mono); overflow-wrap: anywhere; }
.ev-citar-uso { margin-left: .4rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.ev-citar-curta { font-weight: 600; }

/* "Como ler esta página" recolhível (Onda 2): o título fica à mostra, o método abre num clique. */
.el-leitura details > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .9rem; cursor: pointer; list-style: none; }
.el-leitura details > summary::-webkit-details-marker { display: none; }
.el-leitura details > summary h2 { display: inline; margin: 0; }
.el-leitura details > summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border: 1px solid var(--rvf-paper-line, #d8d9d5); border-radius: 50%; color: var(--rvf-accent-paper); font: 600 1rem/1 var(--rv-font-mono, monospace); align-self: center; }
.el-leitura details[open] > summary::before { content: "−"; }
.el-leitura details > summary:focus-visible { outline: 2px solid var(--rv-profile-evidence-focus, #e8620f); outline-offset: 4px; border-radius: 4px; }
.el-leitura-resumo { color: var(--rvf-ink-soft); font: 500 var(--ev-type-12, .75rem)/1.5 var(--rv-font-mono, monospace); letter-spacing: .04em; text-transform: uppercase; }
.el-leitura details[open] > summary { margin-bottom: 1rem; }
