/* Quem Paga? — site do método. Base preto/osso + um acento (lima), usado com parcimônia.
   Cor nunca codifica lado político: o lima marca foco, posição na régua e a promessa.
   Tokens: marca/tokens-impacto.css (v2). Cópia inline: o site não faz nenhuma requisição externa. */

@font-face { font-family: "Anton"; src: url("fonts/anton-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* Escuro (padrão). Nomes semânticos: --preto = fundo, --osso = texto. */
  --preto: #0B0B0C;      /* qp-preto */
  --preto-2: #141416;    /* qp-preto-2 */
  --osso: #F6F5F0;       /* qp-osso, 18.0:1 sobre preto */
  --cinza: #A3A3A0;      /* qp-cinza, 7.8:1 sobre preto */
  --cinza-osso: #55554F; /* qp-cinza-osso, 6.9:1 sobre osso */
  --linha: #2B2B2E;      /* decorativa (1.4:1) */
  --linha-forte: #66666A;/* qp-trilho, 3.4:1: contornos e trilhos que informam (WCAG 1.4.11) */
  --lima: #CCFF00;
  --lima-texto: #CCFF00; /* lima usado como texto (escuro: lima; claro: tinta) */
  --ativo: #CCFF00;      /* marca de posição/estado: lima no escuro, preto no claro */
  --sobre-ativo: #0B0B0C;
  --foco: #CCFF00;

  --f-display: "Anton", "Archivo", sans-serif;
  --f-texto: "Archivo", system-ui, sans-serif;
  --f-dado: "IBM Plex Mono", ui-monospace, monospace;

  --gutter: clamp(1rem, 4.5vw, 3rem);
  --max: 72rem;
  --medida: 66ch;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark light;
}

/* Claro: segue o sistema. Mesmos nomes, valores trocados (preto = fundo osso, osso = texto preto).
   Lima nunca vira texto nem marca sobre claro: usa tinta #465300 (7.7:1) e preto sólido. */
@media (prefers-color-scheme: light) {
  :root {
    --preto: #F6F5F0; --preto-2: #ECEAE3; --osso: #0B0B0C;
    --cinza: #55554F; --cinza-osso: #A3A3A0;
    --linha: #D6D4CC; --linha-forte: #85847E;
    --lima-texto: #465300; --ativo: #0B0B0C; --sobre-ativo: #F6F5F0; --foco: #0B0B0C;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--preto); color: var(--osso);
  font: 500 1.0625rem/1.65 var(--f-texto);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; outline: none; overflow-x: clip; }
img, svg { display: block; max-width: 100%; height: auto; }
::selection { background: #CCFF00; color: #0B0B0C; }
html { scrollbar-color: var(--linha-forte) var(--preto); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--preto); }
::-webkit-scrollbar-thumb { background: var(--linha-forte); border: 2px solid var(--preto); }

a { color: var(--osso); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: var(--cinza); transition: text-decoration-color .2s, color .2s; }
a:hover { text-decoration-color: var(--ativo); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; }
strong { font-weight: 800; }
code { font: 500 .9em var(--f-dado); }

h1, h2 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: .98; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.75rem, 12vw, 6rem); }
h2 { font-size: clamp(1.9rem, 6.4vw, 3.1rem); margin-top: clamp(3.5rem, 9vw, 6rem); margin-bottom: 1.1rem; }
h3 { font: 800 1.15rem/1.3 var(--f-texto); margin: 2.25rem 0 .5rem; text-wrap: balance; }
p, ul, ol { margin: 0 0 1rem; }
p, li { text-wrap: pretty; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pular { position: absolute; left: var(--gutter); top: -4rem; z-index: 50; background: #CCFF00; color: #0B0B0C; padding: .6rem 1rem; font-weight: 800; text-decoration: none; outline: 2px solid #0B0B0C; }
.pular:focus { top: .75rem; }

/* ---------- topo ---------- */
.topo { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--preto) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--linha); }
.topo__in { max-width: var(--max); margin: 0 auto; padding: .5rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; }
.marca { display: block; margin-left: -.35rem; }
.marca img { width: 118px; height: auto; }
.nav-topo { display: none; }
.nav-topo ul, .menu ul { list-style: none; margin: 0; padding: 0; }
.nav-topo ul { display: flex; gap: clamp(1rem, 2.4vw, 2rem); }
.nav-topo a, .menu a { text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav-topo a { display: block; padding: .5rem 0; border-bottom: 2px solid transparent; }
.nav-topo a:hover { border-bottom-color: var(--linha-forte); }
.nav-topo a[aria-current="page"] { border-bottom-color: var(--ativo); }

.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 .9rem; border: 1px solid var(--linha-forte); font-weight: 800; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; user-select: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--osso); }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--preto); border-bottom: 1px solid var(--linha); padding: .5rem var(--gutter) 1.25rem; max-height: calc(100vh - 4rem); overflow: auto; }
.menu li { border-top: 1px solid var(--linha); }
.menu li:first-child { border-top: 0; }
.menu a { display: flex; align-items: center; min-height: 3.1rem; font-size: 1.1rem; }
.menu a[aria-current="page"] { color: var(--lima-texto); }
@media (prefers-reduced-motion: no-preference) {
  .menu[open] nav { animation: desce .35s var(--ease); }
  @keyframes desce { from { opacity: 0; transform: translateY(-6px); } }
}
@media (min-width: 900px) {
  .marca img { width: 132px; }
}

/* ---------- estrutura ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.cab { padding: clamp(2.5rem, 8vw, 5rem) 0 clamp(1.5rem, 4vw, 2.5rem); border-bottom: 1px solid var(--linha); }
.cab h1 { max-width: 14ch; }
.cab .lead { margin-top: 1.25rem; }
.lead { font-size: clamp(1.15rem, 2.6vw, 1.35rem); line-height: 1.5; max-width: 40ch; color: var(--osso); }
.prosa { max-width: var(--medida); padding-bottom: clamp(3rem, 8vw, 6rem); }
.prosa > h2:first-child { margin-top: clamp(2.5rem, 6vw, 4rem); }
.prosa ul, .prosa ol { padding-left: 1.2rem; }
.prosa li { margin-bottom: .55rem; padding-left: .2rem; }
.prosa li::marker { color: var(--cinza); font-family: var(--f-dado); font-size: .9em; }
.meta { font: 500 .85rem/1.5 var(--f-dado); color: var(--cinza); letter-spacing: .01em; }
.muted { color: var(--cinza); }

/* índice da página (sumário) */
.sumario { margin: 1.75rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.sumario a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .8rem; border: 1px solid var(--linha-forte); text-decoration: none; font-size: .9rem; font-weight: 700; }
.sumario a:hover { border-color: var(--osso); }

/* listas definidas "lado a lado" */
.pares { display: grid; gap: 0; margin: 1.5rem 0; border-top: 1px solid var(--linha); }
.pares > div { display: grid; gap: .25rem; padding: 1rem 0; border-bottom: 1px solid var(--linha); }
.pares dt { font-weight: 800; }
.pares dd { margin: 0; color: var(--osso); }
@media (min-width: 640px) { .pares > div { grid-template-columns: 13rem 1fr; gap: 1.5rem; } }

/* passos ordenados (sequência com informação) */
.passos { list-style: none; counter-reset: p; padding: 0 !important; margin: 1.5rem 0; border-top: 1px solid var(--linha); }
.passos > li { counter-increment: p; display: grid; grid-template-columns: 2.5rem 1fr; gap: .75rem; padding: 1rem 0 !important; margin: 0 !important; border-bottom: 1px solid var(--linha); }
.passos > li::before { content: counter(p); font: 400 1.6rem/1 var(--f-display); color: var(--cinza); padding-top: .15rem; }
.passos strong { display: block; }

/* tabelas */
.tabela { overflow-x: auto; margin: 1.25rem 0 1.5rem; border: 1px solid var(--linha); }
.tabela:focus-visible { outline-offset: 2px; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; line-height: 1.45; }
caption { text-align: left; }
th, td { text-align: left; vertical-align: top; padding: .75rem .9rem; border-bottom: 1px solid var(--linha); }
thead th { font: 600 .75rem/1.3 var(--f-dado); text-transform: uppercase; letter-spacing: .06em; color: var(--cinza); background: var(--preto-2); white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 800; }
td { font-variant-numeric: tabular-nums; }
.tabela--dados td, .tabela--dados tbody th { font-family: var(--f-dado); font-size: .85rem; }

/* troca de termos (glossário) */
.troca { list-style: none; padding: 0 !important; margin: 1.25rem 0; border-top: 1px solid var(--linha); }
.troca li { display: grid; gap: .2rem; padding: .85rem 0 !important; margin: 0 !important; border-bottom: 1px solid var(--linha); }
.troca s { color: var(--cinza); text-decoration-color: var(--cinza); }
@media (min-width: 640px) { .troca li { grid-template-columns: 1fr 1.4fr; gap: 1.5rem; } }

/* nota / destaque de texto (sem cartão) */
.nota { margin: 1.75rem 0; padding: 1.1rem 0 1.1rem; border-top: 2px solid var(--osso); border-bottom: 1px solid var(--linha); }
.nota p:last-child { margin-bottom: 0; }
.nota__t { font: 400 1.35rem/1.1 var(--f-display); text-transform: uppercase; margin-bottom: .5rem; }

.selo { width: min(260px, 70%); margin: 0 0 1.5rem -.6rem; }

/* ---------- início ---------- */
.heroi { padding: clamp(2.25rem, 8vw, 5.5rem) 0 clamp(2.5rem, 7vw, 5rem); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 4rem); }
.heroi h1 { font-size: clamp(3.1rem, 15.5vw, 6rem); max-width: 11ch; }
.heroi h1 .lado { display: block; color: var(--lima-texto); margin-top: .12em; }
.heroi .lead { margin: 1.5rem 0 0; max-width: 34ch; }
.redes { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.btn { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: 0 1.1rem; border: 1px solid var(--osso); text-decoration: none; font-weight: 800; font-size: .95rem; transition: background .2s, color .2s; }
.btn span { font: 500 .85rem var(--f-dado); color: var(--cinza); transition: color .2s; }
.btn:hover { background: var(--osso); color: var(--preto); }
.btn:hover span { color: var(--cinza-osso); }
.btn svg { width: 16px; height: 16px; flex: none; }
@media (min-width: 900px) {
  .heroi { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; justify-items: start; }
  .cupom { justify-self: end; }
}

/* cupom fiscal */
.cupom {
  --dente: 14px;
  position: relative; background: var(--osso); color: var(--preto);
  font: 500 .9rem/1.5 var(--f-dado);
  padding: calc(var(--dente) + 1.25rem) 1.25rem calc(var(--dente) + 1.25rem);
  max-width: 26rem; width: 100%;
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--dente) 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--dente) 51% repeat-x;
          mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--dente) 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--dente) 51% repeat-x;
  transform: rotate(-1.2deg);
}
.cupom h2 { font-size: 1.6rem; margin: 0 0 .25rem; line-height: 1; color: var(--preto); }
.cupom .cupom__sub { color: var(--cinza-osso); font-size: .8rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.cupom dl { margin: 0; border-top: 1px dashed var(--preto); padding-top: .75rem; }
.cupom dl div { display: flex; align-items: baseline; gap: .4rem; padding: .2rem 0; }
.cupom dt::after { content: ""; }
.cupom dt { flex: none; }
.cupom .pontos { flex: 1; border-bottom: 2px dotted color-mix(in srgb, var(--preto) 45%, transparent); transform: translateY(-.3em); min-width: 1rem; }
.cupom dd { margin: 0; font-weight: 600; text-align: right; }
.cupom .total { border-top: 1px dashed var(--preto); margin-top: .75rem; padding-top: .75rem; font: 400 1.35rem/1.15 var(--f-display); text-transform: uppercase; display: flex; justify-content: space-between; gap: 1rem; }
.cupom .cupom__pe { margin: 1rem 0 0; font-size: .8rem; color: var(--cinza-osso); }
.cupom a { color: var(--preto); text-decoration-color: var(--preto); font-weight: 600; }
.cupom a:focus-visible { outline-color: var(--preto); }
@media (prefers-color-scheme: light) { .cupom .cupom__sub, .cupom .cupom__pe { color: #A3A3A0; } .cupom a { color: var(--preto); } }
@media (prefers-color-scheme: light) { .cupom .cupom__sub, .cupom .cupom__pe { color: #A3A3A0; } .cupom a { color: var(--preto); } }
@media (prefers-color-scheme: light) { .cupom .cupom__sub, .cupom .cupom__pe { color: #A3A3A0; } .cupom a { color: var(--preto); } }
@media (prefers-reduced-motion: no-preference) {
  .cupom { animation: imprime 1.1s var(--ease) .15s backwards; }
  @keyframes imprime { from { transform: rotate(-1.2deg) translateY(-22px); filter: blur(1.5px); } }
}

.var { border-top: 1px solid var(--linha); padding: clamp(2.5rem, 7vw, 4.5rem) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.var h2 { margin-top: 0; }
.var .selo { margin-bottom: .5rem; }
@media (min-width: 900px) { .var { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; gap: 4rem; } }

.indice { border-top: 1px solid var(--linha); padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(3rem, 8vw, 6rem); }
.indice h2 { margin-top: 0; }
.indice ul { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1px solid var(--linha); }
.indice li { border-bottom: 1px solid var(--linha); }
.indice a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; padding: 1.1rem 0; text-decoration: none; align-items: center; }
.indice a > span:first-child { font: 400 clamp(1.45rem, 5.4vw, 2.1rem)/1.05 var(--f-display); text-transform: uppercase; }
.indice a small { grid-column: 1; font-size: .95rem; color: var(--cinza); line-height: 1.45; }
.indice svg { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; transition: transform .35s var(--ease); }
.indice a:hover svg { transform: translateX(5px); color: var(--lima-texto); }
.indice a:hover > span:first-child { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; text-decoration-color: var(--ativo); }
@media (min-width: 900px) { .indice ul { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 3rem; } }

/* ---------- régua de veredito ---------- */
.regua { list-style: none; padding: 0 !important; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, .3fr) minmax(0, 1fr); gap: 0; }
.regua__pos { min-width: 0; display: flex; flex-direction: column; gap: .55rem; padding: 0 !important; margin: 0 !important; }
.regua__pos--fora { grid-column: 6; }
.regua__marca { display: block; height: 14px; border: 2px solid var(--linha-forte); border-right-width: 0; background: transparent; }
.regua__pos:nth-child(4) .regua__marca, .regua__pos--fora .regua__marca { border-right-width: 2px; }
.regua__pos--fora .regua__marca { border-style: dashed; }
.regua__rotulo { font: 600 .75rem/1.2 var(--f-dado); text-transform: uppercase; letter-spacing: .03em; color: var(--cinza); padding-right: .3rem; hyphens: auto; }
.regua__pos.is-ativo .regua__marca { background: var(--ativo); border-color: var(--ativo); }
.regua__pos.is-ativo .regua__rotulo { color: var(--osso); font-weight: 800; }
.regua--compacta { margin: .5rem 0 1rem; }
.regua--compacta .regua__marca { height: 10px; }
@media (min-width: 640px) { .regua__rotulo { font-size: .8rem; } }

.niveis { list-style: none; padding: 0 !important; margin: 1.5rem 0; border-top: 1px solid var(--linha); }
.nivel { padding: 1.4rem 0 .6rem !important; margin: 0 !important; border-bottom: 1px solid var(--linha); }
.nivel__nome { font: 400 clamp(1.6rem, 6vw, 2.2rem)/1 var(--f-display); text-transform: uppercase; margin: 0; }
.nivel__ex { color: var(--cinza); }
.nivel__ex span { font: 600 .75rem var(--f-dado); text-transform: uppercase; letter-spacing: .05em; color: var(--osso); margin-right: .25rem; }

/* ---------- placar ---------- */
.resumo .barra { display: grid; grid-template-columns: 1fr auto; gap: .4rem 1rem; margin: 1.1rem 0; }
.barra__rotulo { font-weight: 700; }
.barra__num { font: 600 1rem var(--f-dado); font-variant-numeric: tabular-nums; }
.barra__num span { color: var(--cinza); font-weight: 500; }
.barra__trilho { grid-column: 1 / -1; position: relative; height: 12px; background: var(--preto-2); border: 1px solid var(--linha-forte); }
.barra__valor { position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--osso); }
.barra__limite { position: absolute; top: -5px; bottom: -5px; left: 60%; width: 2px; background: var(--ativo); }
.legenda { font-size: .9rem; color: var(--cinza); }
.aviso, .ok { font-weight: 700; padding: .8rem 0; border-top: 2px solid var(--osso); }

/* ---------- estados ---------- */
.vazio { display: flex; gap: 1.1rem; align-items: flex-start; margin: 2rem 0; padding: 1.5rem 0; border-top: 1px dashed var(--linha-forte); border-bottom: 1px dashed var(--linha-forte); }
.vazio picture { flex: none; }
.vazio picture { flex: none; }
.vazio picture { flex: none; }
.vazio img { width: 48px; height: 48px; flex: none; margin-top: .1rem; }
.vazio__titulo { font: 400 1.45rem/1.1 var(--f-display); text-transform: uppercase; margin-bottom: .4rem; }
.vazio p:last-child { margin: 0; color: var(--cinza); }

.breve { display: inline-flex; align-items: center; gap: .5rem; font: 600 .8rem/1 var(--f-dado); text-transform: uppercase; letter-spacing: .08em; color: #0B0B0C; background: #CCFF00; outline: 2px solid #0B0B0C; outline-offset: -2px; padding: .45rem .65rem; margin-bottom: 1.25rem; }

.email { display: inline-block; font: 600 clamp(1.1rem, 4.6vw, 1.6rem)/1.3 var(--f-dado); word-break: break-all; margin: .5rem 0 1rem; }
.email--pendente { font: 500 1.05rem/1.5 var(--f-texto); color: var(--cinza); border: 1px dashed var(--linha-forte); padding: 1rem; word-break: normal; }

/* ---------- rodapé ---------- */
.rodape { border-top: 1px solid var(--linha); background: var(--preto); }
.rodape__in { max-width: var(--max); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) var(--gutter) 2rem; display: grid; gap: 2rem; }
.rodape__decl { font: 400 clamp(1.6rem, 6vw, 2.4rem)/1.02 var(--f-display); text-transform: uppercase; margin: 0; }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .15rem 1.5rem; }
.rodape ul a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; font-weight: 700; font-size: .95rem; }
.rodape ul a:hover { text-decoration: underline; text-decoration-color: var(--ativo); }
.rodape ul a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--ativo); text-decoration-thickness: 2px; }
.rodape__meta { font: 500 .8rem/1.7 var(--f-dado); color: var(--cinza); margin: 0; border-top: 1px solid var(--linha); padding-top: 1.25rem; grid-column: 1 / -1; }
@media (min-width: 900px) { .rodape__in { grid-template-columns: 1fr 1.3fr; } .rodape ul { grid-template-columns: repeat(3, auto); } }

/* Impressão: sempre claro, preto sobre branco, sem depender de fundos (o navegador não imprime fundos).
   A posição ativa da régua vira preto sólido (print-color-adjust) e, se o fundo for cortado, o rótulo
   ainda fica negrito e sublinhado, e o marcador ganha o texto "▼". */
@media print {
  :root {
    --preto: #fff; --preto-2: #fff; --osso: #000; --cinza: #333; --cinza-osso: #333;
    --linha: #bbb; --linha-forte: #6F6E68; --lima: #000; --lima-texto: #000; --ativo: #000; --sobre-ativo: #fff; --foco: #000;
    color-scheme: light;
  }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { background: #fff; color: #000; font-size: 11pt; min-height: 0; }
  .topo, .rodape nav, .pular, .menu { display: none; }
  a { color: #000; }
  .lead, .heroi h1 .lado { color: #000; }
  .regua__marca { border-color: #6F6E68; }
  .regua__pos.is-ativo .regua__marca { background: #000; border-color: #000; }
  .regua__pos.is-ativo .regua__rotulo { color: #000; font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; }
  .regua__pos.is-ativo .regua__rotulo::before { content: "▼ "; }
  .breve { background: #fff; color: #000; outline: 2px solid #000; }
  .cupom { border: 1px solid #000; transform: none; -webkit-mask: none; mask: none; animation: none; }
  .barra__valor { background: #000; }
  .barra__trilho { background: #fff; border-color: #6F6E68; }
  .barra__limite { background: #000; }
  .regua, .nivel, .tabela, .nota, .barra, tr { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
}

/* régua no celular: visão geral vira escada; nas compactas, só o rótulo ativo */
@media (max-width: 639px) {
  .regua:not(.regua--compacta) { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
  .regua:not(.regua--compacta) .regua__pos { flex-direction: row; align-items: center; gap: .8rem; }
  .regua:not(.regua--compacta) .regua__marca { width: 3.25rem; flex: none; border-right-width: 2px; }
  .regua:not(.regua--compacta) .regua__rotulo { font-size: .78rem; }
  .regua:not(.regua--compacta) .regua__pos--fora { grid-column: auto; margin-top: .55rem; }
  .regua--compacta .regua__pos:not(.is-ativo) .regua__rotulo { visibility: hidden; }
  .regua--compacta .regua__pos.is-ativo .regua__rotulo { white-space: nowrap; }
  .regua--compacta .regua__pos:nth-child(3).is-ativo .regua__rotulo, .regua--compacta .regua__pos--fora.is-ativo .regua__rotulo { white-space: normal; }
}

/* tabelas empilhadas no celular */
@media (max-width: 639px) {
  .tabela:has(table.pilha) { border: 0; overflow: visible; border-top: 1px solid var(--linha); }
  table.pilha thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.pilha, table.pilha tbody, table.pilha tr, table.pilha th, table.pilha td { display: block; width: 100%; }
  table.pilha tr { padding: .9rem 0; border-bottom: 1px solid var(--linha); }
  table.pilha th, table.pilha td { border: 0; padding: .15rem 0; }
  table.pilha tbody th { font-size: 1.05rem; margin-bottom: .2rem; }
  table.pilha td[data-label]:not([data-label=""])::before { content: attr(data-label); display: block; font: 600 .7rem/1.4 var(--f-dado); text-transform: uppercase; letter-spacing: .06em; color: var(--cinza); margin-top: .45rem; }
}

/* tabelas de dados podem passar da coluna de texto no desktop */
@media (min-width: 900px) {
  .prosa .tabela { width: min(calc(100vw - 2 * var(--gutter)), calc(var(--max) - 2 * var(--gutter))); }
}
.tabela td a { white-space: nowrap; }

/* menu completo (com redes e apuração) só cabe em telas largas */
@media (min-width: 1100px) { .nav-topo { display: block; } .menu { display: none; } }
.redes-ap { margin: 1rem 0 0; font-size: .95rem; }
