/* OE em votação v2. One layout and type (B · Folha: broadsheet, Source Serif 4 + IBM Plex Sans),
   two token sets: light = B (default), dark = C · Noite eleitoral. Party colours are muted in light
   and full in dark; meaning never rests on colour alone (fill, hatch, outline carry the vote). */
@font-face { font-family: "Source Serif"; src: url(fonts/source-serif-4-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url(fonts/source-serif-4-semibold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url(fonts/source-serif-4-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url(fonts/ibm-plex-sans-var-latin.woff2) format("woff2"); font-weight: 100 700; font-display: swap; }

:root {
  --paper: #FFFFFF; --ink: #0F0F0F; --ink2: #3D3D3D; --muted: #626262; --rule: #0F0F0F; --hair: #DADADA; --tint: #F4F4F1; --tint2: #EAEAE6;
  --hatch-c: #0F0F0F; --hatch-lt-c: #9C9C9C; --bar-bg: #EBEBE7; --bar-edge: #B9B9B4; --bar-ap: #0F0F0F;
  --on-pc: #FFFFFF; --dim: .32;
  /* party colours, muted for daylight: about 4.5:1 against white */
  --p-PSD: #B05E1C; --p-PS: #AD3F74; --p-CH: #4352A8; --p-IL: #1E7896; --p-L: #4B8329; --p-PCP: #B02F2A; --p-BE: #7C4497; --p-PAN: #1D7F6B; --p-CDS: #5D6F86; --p-JPP: #8A7212;
  /* neutral agreement ramp, light to ink */
  --r1: #F3F3F1; --r2: #E3E3DF; --r3: #CFCFCA; --r4: #B4B4AF; --r5: #94948F; --r6: #6C6C68; --r7: #434341; --r8: #1C1C1B;
  --serif: "Source Serif", Georgia, serif; --sans: "Plex Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --w: 1312px; --pad: 32px;
  color-scheme: light;
}
[data-tema="escuro"] {
  --paper: #0E1014; --ink: #EEF0F4; --ink2: #BCC2CD; --muted: #9AA2B0; --rule: #C9CED8; --hair: #2B313D; --tint: #151820; --tint2: #1C2029;
  --hatch-c: #EEF0F4; --hatch-lt-c: #5A6170; --bar-bg: #232835; --bar-edge: #4A5160; --bar-ap: #E6E9EF;
  --on-pc: #0E1014; --dim: .3;
  /* party colours, full (direction C) */
  --p-PSD: #FF8A2A; --p-PS: #F2639F; --p-CH: #7088FF; --p-IL: #36C8F0; --p-L: #9BD35C; --p-PCP: #F25549; --p-BE: #C766E3; --p-PAN: #3FCBA9; --p-CDS: #93AACB; --p-JPP: #E3C24E;
  --r1: #222733; --r2: #2D3341; --r3: #3B4352; --r4: #4F5869; --r5: #687183; --r6: #8D96A6; --r7: #BAC1CC; --r8: #EEF0F4;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 14px/1.5 var(--sans); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a, button, select, input, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.row, .sec, .card { scroll-margin-top: 64px; }
input, select { caret-color: var(--ink); accent-color: var(--ink); }
::-webkit-scrollbar { width: 10px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--hair); border: 2px solid var(--paper); }
::-webkit-scrollbar-track { background: transparent; }
* { scrollbar-color: var(--hair) transparent; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; transition: transform 160ms var(--ease); }
.skip:focus { transform: translateY(72px); }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.nowrap { white-space: nowrap; }
.loading { padding: 60px 0; color: var(--muted); font: italic 18px var(--serif); }
.ic { width: 11px; height: 11px; margin-left: 4px; vertical-align: -1px; }
.sw { display: inline-block; width: 9px; height: 9px; background: var(--pc); margin-right: 6px; vertical-align: 0; flex: none; }

/* ---------- masthead ---------- */
.top { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); }
.top-in { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 8px 36px; padding: 22px 0 0; border-bottom: 3px solid var(--rule); position: relative; }
.top-in::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; border-bottom: 1px solid var(--rule); }
.brand { display: grid; text-decoration: none; padding-bottom: 12px; }
.b-name { font: 600 30px/1 var(--serif); letter-spacing: -.01em; }
.b-ed { font-size: 12px; color: var(--muted); margin-top: 6px; }
.tabs { display: flex; gap: 26px; justify-self: center; align-self: end; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: 0 0 12px; font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -3px; color: var(--ink2); transition: color 120ms; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current] { border-color: var(--ink); font-weight: 650; color: var(--ink); }
.top-r { padding-bottom: 9px; }
.tema { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border: 1px solid var(--hair); background: var(--paper); font-size: 12.5px; font-weight: 600; transition: border-color 120ms; }
.tema:hover { border-color: var(--ink); }
.tema svg { width: 15px; height: 15px; }

/* ---------- global filters ---------- */
.gf { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); }
.gf-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; padding: 18px 0 14px; border-bottom: 1px solid var(--hair); }
.gf-item { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gf-lbl { font-size: 12px; font-weight: 650; }
.seg { display: inline-flex; border: 1px solid var(--ink); flex: none; }
.seg button { padding: 6px 13px; border: 0; border-right: 1px solid var(--hair); background: var(--paper); font-size: 13px; font-weight: 500; transition: background-color 120ms; }
.seg button:last-child { border-right: 0; }
.seg button:hover { background: var(--tint); }
.seg button[aria-pressed=true] { background: var(--ink); color: var(--paper); font-weight: 650; }
.sel { height: 34px; max-width: 290px; padding: 0 30px 0 11px; border: 1px solid var(--hair); border-radius: 0; background: var(--paper); appearance: none; font-size: 13px; text-overflow: ellipsis;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: right 15px center, right 11px center; background-size: 4px 4px; background-repeat: no-repeat; }
.sel:hover { border-color: var(--ink); }
.sel.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; }
.sel option { background: var(--paper); color: var(--ink); }
.lnk { padding: 0; border: 0; background: none; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lnk:hover { text-decoration-thickness: 2px; }

/* ---------- page ---------- */
main { max-width: var(--w); margin: 0 auto; padding: 34px var(--pad) 72px; }
main:focus { outline: none; }
.vh { margin: 0 0 30px; display: grid; gap: 10px; }
.vh h1 { margin: 0; font: 600 52px/1.02 var(--serif); letter-spacing: -.02em; }
.vh .sub { margin: 0; font: 400 19px/1.45 var(--serif); color: var(--ink2); max-width: 68ch; }
h2 { margin: 0; font: 600 24px/1.2 var(--serif); letter-spacing: -.01em; }
.h3 { margin: 22px 0 8px; font: 600 15px var(--sans); }
.sec { padding-top: 16px; border-top: 3px solid var(--rule); margin-bottom: 56px; }
.sec > h2 { margin-bottom: 8px; }
.sec-h { display: flex; justify-content: space-between; align-items: end; gap: 16px 36px; flex-wrap: wrap; margin-bottom: 20px; }
.sec-h > div:first-child { display: grid; gap: 8px; max-width: 76ch; }
.sec-ctl { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.lead { margin: 0 0 14px; color: var(--ink2); max-width: 76ch; }
.sec-h .lead { margin: 0; }
.notes { margin: 18px 0 0; padding: 12px 0 0 18px; border-top: 1px solid var(--hair); font-size: 12.5px; color: var(--muted); display: grid; gap: 5px; }
.notes-l { font-size: 13px; color: var(--ink2); max-width: 90ch; gap: 7px; margin-top: 0; }
.met { margin-top: 30px; }
.met .h3 { margin: 0 0 4px; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border: 1px solid var(--ink); background: var(--paper); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background-color 120ms, color 120ms; }
.btn:hover { background: var(--tint); text-decoration: none; }
.btn.pri { background: var(--ink); color: var(--paper); }
.btn.pri:hover { background: var(--ink2); }
.btn.off { opacity: .4; pointer-events: none; }
.empty { padding: 36px 0; border-bottom: 1px solid var(--hair); }
.empty h3 { margin: 0 0 6px; font: 600 21px var(--serif); }
.empty p { margin: 0 0 16px; color: var(--ink2); max-width: 60ch; }
.chk { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; cursor: pointer; }
.chk input { width: 16px; height: 16px; margin: 2px 0 0; flex: none; }
.chk small { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld > span { font-size: 12px; font-weight: 650; }
.fld input, .fld .sel { width: 100%; max-width: none; height: 40px; }
.fld input { padding: 0 12px; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); }
.fld input::placeholder { color: var(--muted); opacity: 1; }
.tscroll { overflow-x: auto; }

/* vote marks: shape = vote, colour = party (second channel only) */
.mk { display: inline-block; width: 13px; height: 13px; border-radius: 50%; flex: none; vertical-align: -1px; --pc: var(--ink); }
.mk-F { background: var(--pc); }
.mk-A { background: linear-gradient(90deg, var(--pc) 50%, transparent 50%); box-shadow: inset 0 0 0 1.6px var(--pc); }
.mk-C { box-shadow: inset 0 0 0 1.6px var(--pc); }
.mk-U, .mk-x { width: 5px; height: 5px; margin: 3px; background: var(--muted); opacity: .7; }
.strip { display: grid; grid-template-columns: repeat(10, 1fr); justify-items: center; align-items: center; }
.strip-h b { font-size: 10.5px; font-weight: 600; color: var(--ink2); }
.lgd { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--ink2); }
.lgd > span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- PROPOSTAS ---------- */
.scr-prop { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 0 44px; }
.scr-prop > .vh { grid-column: 1 / -1; }
.rail { grid-column: 1; grid-row: 2 / span 3; align-self: start; position: sticky; top: 16px; display: grid; gap: 18px; padding-top: 14px; border-top: 1px solid var(--rule); }
.rail-q { display: grid; gap: 10px; }
.fx { display: grid; gap: 18px; }
.fx-btn { display: none; }
.vsrow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.vs-v { font-size: 12.5px; color: var(--ink2); }
.chk-loc { padding: 12px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-weight: 600; }
.scr-prop .pat, .scr-prop .chips, .scr-prop .lst { grid-column: 2; }

.pat { padding: 14px 0 26px; border-top: 1px solid var(--rule); }
.pat-h { display: grid; gap: 14px; margin-bottom: 22px; }
.pat-h > div:first-child { display: grid; gap: 6px; max-width: 76ch; }
.pat-h p { margin: 0; color: var(--ink2); }
.pp { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pp-l { font-size: 12px; font-weight: 650; margin-right: 6px; }
.pp button, .ppick button { display: inline-flex; align-items: center; padding: 5px 9px; border: 1px solid var(--hair); background: var(--paper); font-size: 12px; font-weight: 600; color: var(--ink2); transition: border-color 120ms, background-color 120ms; }
.pp button .sw, .ppick button .sw { width: 8px; height: 8px; margin-right: 6px; }
.pp button:hover, .ppick button:hover { border-color: var(--ink); color: var(--ink); }
.pp button[aria-pressed=true], .ppick button[aria-pressed=true] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.pp button[aria-pressed=true] .sw, .ppick button[aria-pressed=true] .sw { opacity: 1; box-shadow: 0 0 0 1px var(--paper); }
.pp button[aria-disabled=true] { cursor: not-allowed; }
.pp button[aria-disabled=true][aria-pressed=false] { opacity: .45; }
.pp button[aria-disabled=true]:hover { border-color: var(--hair); }
.pp button[aria-pressed=true][aria-disabled=true]:hover { border-color: var(--ink); }

.pc-read { display: flex; align-items: end; gap: 34px; margin-bottom: 14px; }
.pc-fig { display: grid; }
.pc-fig b { font: 600 40px/1 var(--serif); letter-spacing: -.02em; }
.pc-fig span { font-size: 12px; color: var(--muted); margin-top: 4px; }
.pc-sel { margin-left: auto; text-align: right; font: italic 16px/1.35 var(--serif); max-width: 380px; }
.pc-sel span { display: block; font: 600 11px var(--sans); color: var(--muted); font-style: normal; letter-spacing: .02em; }
.pc-none { margin: 0; padding: 18px 0; color: var(--ink2); border-top: 1px solid var(--hair); }
.pc-bar { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; }
.pc-rows { display: grid; grid-auto-rows: 18px; gap: 2px; font-size: 11px; font-weight: 650; color: var(--ink2); align-content: start; }
.pc-rows span { display: flex; align-items: center; white-space: nowrap; overflow: hidden; }
.pc-rows-n { display: none !important; }
.pc-blocks { display: flex; gap: 3px; min-width: 0; }
.pb { flex: 1 1 0; min-width: 22px; display: grid; grid-template-rows: auto 46px auto; gap: 6px; padding: 0; border: 0; background: none; text-align: left; overflow: hidden; transition: opacity 160ms; }
.pb.other { cursor: default; opacity: .85; }
.tri { display: grid; grid-auto-rows: 18px; gap: 2px; }
.tri i { display: flex; align-items: center; justify-content: space-between; padding: 0 6px; font-style: normal; font-size: 10.5px; font-weight: 700; overflow: hidden; white-space: nowrap; --pc: var(--ink); }
.tri i b { font-weight: 600; opacity: .8; }
.tri i.t-F { background: var(--pc); color: var(--on-pc); }
.tri i.t-A { background: repeating-linear-gradient(135deg, var(--pc) 0 1.5px, transparent 1.5px 5px); box-shadow: inset 0 0 0 1.3px var(--pc); color: var(--ink); }
.tri i.t-A em, .tri i.t-C em { background: var(--paper); padding: 0 2px; }
.tri i.t-A b, .tri i.t-C b { display: none; }
.tri i.t-C { box-shadow: inset 0 0 0 1.5px var(--pc); color: var(--pc); }
.tri i em { font-style: normal; }
.tri i.t-o { background: var(--tint2); }
.pb.narrow .tri i { justify-content: center; padding: 0; } .pb.narrow .tri i b { display: none; }
.pb.tiny .tri i em { display: none; }
.pb-body { position: relative; background: var(--bar-bg); box-shadow: inset 0 0 0 1px var(--bar-edge); overflow: hidden; }
.pb-ap { position: absolute; inset: 0 auto 0 0; background: var(--bar-ap); }
.pb:hover:not(.other) .pb-body { box-shadow: inset 0 0 0 2px var(--ink); }
.pb.on .pb-body { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.pb.on { overflow: visible; }
.pb.dim { opacity: var(--dim); }
.pb.dim:hover { opacity: .7; }
.pb-n { display: grid; line-height: 1.2; white-space: nowrap; }
.pb-n b { font: 600 18px var(--serif); }
.pb-n span { font-size: 11px; color: var(--muted); }
.pb.narrow .pb-n { visibility: hidden; }
.pc-key { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin: 14px 0 0; font-size: 12px; color: var(--ink2); }
.pc-key > span { display: inline-flex; align-items: center; gap: 6px; }
.kc { width: 14px; height: 10px; display: inline-block; --pc: var(--ink2); }
.kc-F { background: var(--pc); } .kc-A { background: repeating-linear-gradient(135deg, var(--pc) 0 1.2px, transparent 1.2px 4px); box-shadow: inset 0 0 0 1px var(--pc); } .kc-C { box-shadow: inset 0 0 0 1.3px var(--pc); }
.kb { width: 14px; height: 10px; display: inline-block; background: var(--bar-bg); box-shadow: inset 0 0 0 1px var(--bar-edge); }
.kb-ap { background: var(--bar-ap); box-shadow: none; }
.pc-note { color: var(--muted); margin-left: auto; }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 2px 2px 10px; border: 1px solid var(--ink); font-size: 13px; max-width: 100%; }
.chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip-pat { background: var(--ink); color: var(--paper); }
.chip .x { width: 28px; height: 26px; border: 0; background: transparent; font-size: 17px; line-height: 1; }
.chip .alt { border: 0; background: none; font-size: 12px; text-decoration: underline; text-underline-offset: 2px; padding: 0 4px; }

.lst { border-top: 3px solid var(--rule); }
.lhead { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); background: var(--paper); }
.lhead > .cnt { grid-column: 1; grid-row: 1; font-weight: 650; font-size: 13px; }
.lhead > .lgd { grid-column: 1; grid-row: 1; justify-self: end; }
.lhead > .strip-h { grid-column: 2; }
.list { list-style: none; margin: 0; padding: 0; }
.row { border-bottom: 1px solid var(--hair); }
.row-in { display: grid; grid-template-columns: 72px minmax(0, 1fr) 250px; gap: 20px; align-items: start; padding: 15px 0 14px; }
.num { font: 650 15px/1.25 var(--sans); display: grid; padding-top: 2px; overflow-wrap: anywhere; }
.num small { font-weight: 400; color: var(--muted); font-size: 11px; }
.tt { min-width: 0; display: grid; gap: 4px; }
.t { margin: 0; font: 400 17.5px/1.35 var(--serif); }
.t button { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; width: 100%; padding: 0; border: 0; background: none; text-align: left; font: inherit; overflow-wrap: anywhere; }
.t button:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.row.open .t button { -webkit-line-clamp: unset; font-weight: 600; }
.notit { font-style: italic; color: var(--muted); }
.sn { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.rmeta, .ctx { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; font-size: 12.5px; color: var(--muted); }
.ctx { gap: 2px 16px; color: var(--ink2); font-size: 12.5px; }
.ctx .tp { color: var(--muted); }
.ctx .eur { font-weight: 650; color: var(--ink); }
.ctx .loc { font-style: italic; font-family: var(--serif); font-size: 13.5px; color: var(--ink); }
.who { display: inline-flex; align-items: center; font-weight: 650; color: var(--ink); }
.who .sw { width: 8px; height: 8px; }
.est-aprovado, .est-aprovado_parcial { color: var(--ink); font-weight: 650; }
.est-aprovado::before, .est-aprovado_parcial::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 5px; background: var(--ink); vertical-align: 0; }
.est-aprovado_parcial::before { background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); box-shadow: inset 0 0 0 1px var(--ink); }
.tag { padding: 0 6px; border: 1px solid var(--hair); font-size: 11px; color: var(--ink2); }
.ar { margin-left: auto; color: var(--ink2); font-weight: 600; white-space: nowrap; }
.rv { display: grid; gap: 4px; padding-top: 6px; }
.rv > .strip-h { display: none; }
.rail-clear { justify-self: start; }
.vn, .nov { font-size: 11.5px; color: var(--muted); text-align: center; }
.nov { font-style: italic; }
.px { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; margin: 0 0 18px 92px; padding: 16px 0 6px; border-top: 1px dotted var(--hair); }
.px h4 { margin: 0 0 8px; font: 650 12px var(--sans); letter-spacing: .03em; text-transform: uppercase; color: var(--ink2); }
.px h4:not(:first-child) { margin-top: 18px; }
.prose { max-height: 340px; overflow: auto; white-space: pre-wrap; font: 400 15px/1.55 var(--serif); padding-right: 10px; overflow-wrap: anywhere; }
.prose.none { font-style: italic; color: var(--muted); max-height: none; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.vtab { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.vtab th { text-align: left; font-weight: 600; font-size: 11.5px; color: var(--muted); padding: 0 8px 6px 0; border-bottom: 1px solid var(--rule); vertical-align: bottom; }
.vtab td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
.vtab td:last-child, .vtab th:last-child { width: 230px; padding-right: 0; }
.vtab .strip { padding-top: 3px; }
.dep { margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.facts-s { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; margin: 14px 0 0; font-size: 12.5px; }
.facts-s dt { color: var(--muted); }
.facts-s dd { margin: 0; }
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.pg { font-size: 13px; color: var(--ink2); }

/* ---------- MATRIZ ---------- */
.ramp { display: inline-flex; align-items: center; gap: 2px; font-size: 11.5px; color: var(--muted); }
.ramp span { margin: 0 6px; }
.ramp i { width: 16px; height: 10px; }
.mx-wrap { overflow-x: auto; }
.mx { width: 100%; border-collapse: separate; border-spacing: 2px; font-size: 13px; min-width: 760px; }
.mx th { font-weight: 650; font-size: 12px; padding: 4px 6px; white-space: nowrap; }
.mx thead th { text-align: center; vertical-align: bottom; }
.mx thead th .sw, .mx tbody th .sw { width: 8px; height: 8px; margin-right: 5px; }
.mx tbody th { text-align: left; position: sticky; left: 0; background: var(--paper); z-index: 1; padding-right: 12px; }
.mx tbody th small { font-weight: 400; color: var(--muted); }
.mx td { padding: 0; width: 9%; }
.mx thead th:first-child, .mx tbody th { width: 110px; }
.mx .c { display: grid; place-items: center; width: 100%; min-height: 48px; padding: 4px 2px; border: 0; background: var(--rc, transparent); color: var(--rt, var(--ink)); font: 650 13.5px/1.1 var(--sans); }
.mx .c small { font-weight: 400; font-size: 10px; opacity: .75; }
.mx button.c:hover { box-shadow: inset 0 0 0 2px var(--ink); outline: 1px solid var(--paper); outline-offset: -3px; }
.mx td.low .c { opacity: .45; }
.mx td.own .c { box-shadow: inset 0 0 0 2px var(--ink); }
.mx td.diag .c, .mx td.na .c { color: var(--muted); font-weight: 400; font-size: 11px; background: transparent; box-shadow: inset 0 0 0 1px var(--hair); }

.agree .ppick { margin-bottom: 18px; }
.ppick { display: flex; flex-wrap: wrap; gap: 4px; }
.db-key { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 12px; color: var(--ink2); margin-bottom: 14px; }
.db-key span { display: inline-flex; align-items: center; gap: 7px; }
.kd { display: inline-block; --pc: var(--ink2); }
.kd-b { width: 12px; height: 12px; border-radius: 50%; background: var(--pc); }
.kd-p { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--pc); }
.kd-l { width: 22px; height: 3px; background: var(--pc); }
.dbs { display: grid; gap: 40px; }
.dbs-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.dbp { margin: 0; }
.dbp figcaption { display: grid; gap: 2px; margin-bottom: 12px; }
.dbp figcaption b { font: 600 18px var(--serif); }
.dbp figcaption span { font-size: 12px; color: var(--muted); }
.db-head, .dr { display: grid; grid-template-columns: 86px minmax(0, 1fr) 132px; gap: 14px; align-items: center; }
.db-head { height: 24px; }
.db-axis { position: relative; height: 100%; }
.db-axis i, .dr-t::before { position: absolute; }
.db-axis i { top: 0; bottom: 0; border-left: 1px dotted var(--hair); }
.db-axis i span { position: absolute; top: 2px; left: 0; transform: translateX(-50%); font-size: 11px; color: var(--muted); font-style: normal; }
.db-axis i:first-child span { transform: none; }
.db-axis i:last-child span { transform: translateX(-100%); }
.db-vh { display: grid; grid-template-columns: repeat(3, 1fr); text-align: right; font-size: 11px; color: var(--muted); font-weight: 600; }
.db { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.dr { height: 42px; border-bottom: 1px solid var(--hair); transition: opacity 160ms; }
.dr.low { opacity: .55; }
.dr-l { font-weight: 650; font-size: 13px; display: flex; align-items: center; white-space: nowrap; }
.dr-t { position: relative; height: 100%; background-image: linear-gradient(90deg, var(--hair) 1px, transparent 1px); background-size: 25% 100%; background-repeat: repeat-x; background-position: 0 0; }
.dr-t::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; border-left: 1px solid var(--hair); }
.dr-line { position: absolute; top: 50%; height: 4px; margin-top: -2px; background: var(--pc); opacity: .8; }
.dr-b, .dr-p { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; }
.dr-b { background: var(--pc); z-index: 1; box-shadow: 0 0 0 2px var(--paper); }
.dr-p { background: var(--paper); box-shadow: inset 0 0 0 2.5px var(--pc); }
.dr-v { display: grid; grid-template-columns: repeat(3, 1fr); text-align: right; align-items: baseline; font-size: 13px; }
.dr-v b { font: 600 16px var(--serif); }
.dr-v span { color: var(--ink2); }
.dr-v em { font-style: normal; font-weight: 700; color: var(--ink); }
.dr-v em.dn::before { content: ""; }
.agree.hov .dr { opacity: .28; }
.agree.hov .dr.hi { opacity: 1; }

/* ---------- PARTIDOS ---------- */
.scr-part > .ppick { margin-bottom: 26px; }
.pp-head { border-top: 3px solid var(--rule); padding-top: 16px; margin-bottom: 40px; }
.pp-head h2 { display: flex; align-items: center; font-size: 30px; }
.pp-head h2 .sw { width: 14px; height: 14px; margin-right: 12px; }
.pp-head > p { margin: 4px 0 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 22px 0 10px; border-top: 1px solid var(--hair); }
.facts div { padding: 14px 18px 4px 0; border-right: 1px solid var(--hair); margin-right: 18px; }
.facts div:last-child { border-right: 0; }
.facts dt { font-size: 12px; color: var(--ink2); }
.facts dd { margin: 6px 0 0; font: 600 40px/1 var(--serif); letter-spacing: -.02em; }
.facts dd small { display: block; font: 400 12px var(--sans); color: var(--muted); margin-top: 6px; letter-spacing: 0; }
.note-b { margin: -20px 0 30px; padding: 10px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); color: var(--ink2); font-size: 13.5px; }
.pp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.sb-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 10px; font-size: 12px; color: var(--ink2); }
.sb-key span { display: inline-flex; align-items: center; gap: 6px; }
.sb-key i { width: 14px; height: 10px; display: inline-block; }
.sb { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.sb li { display: grid; grid-template-columns: 82px minmax(0, 1fr) 196px; gap: 14px; align-items: center; min-height: 38px; border-bottom: 1px solid var(--hair); }
.sb li.low { opacity: .6; }
.sb .l { font-weight: 650; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb .l a { text-decoration: none; display: inline-flex; align-items: center; }
.sb .l a:hover { text-decoration: underline; }
.sb .l .sw { width: 8px; height: 8px; }
.bars { display: flex; height: 14px; }
.bF { background: var(--ink); }
.bA { background: repeating-linear-gradient(135deg, var(--ink) 0 1px, transparent 1px 4px); box-shadow: inset 0 0 0 1px var(--ink2); }
.bC { box-shadow: inset 0 0 0 1px var(--ink); }
.bU { background: repeating-linear-gradient(90deg, var(--muted) 0 1px, transparent 1px 4px); }
.bars > span + span { margin-left: 1px; }
.sb .v { text-align: right; font-size: 12.5px; color: var(--ink2); }
.sb .v b { font: 600 16px var(--serif); color: var(--ink); }
.sb .v small, .sb .na { color: var(--muted); font-size: 11.5px; }

/* ---------- RESUMO ---------- */
.res-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; }
.big { margin: 8px 0 6px; font: 400 17px var(--serif); color: var(--ink2); }
.big b { font: 600 52px/1 var(--serif); letter-spacing: -.02em; color: var(--ink); margin-right: 6px; }
.pbar { display: flex; height: 16px; margin: 14px 0 8px; box-shadow: inset 0 0 0 1px var(--hair); }
.pbar .p-v, .pkeys .p-v { background: var(--ink2); }
.res-top .sec { margin-bottom: 20px; }
.pbar .p-o, .pkeys .p-o { background: var(--bar-bg); box-shadow: inset 0 0 0 1px var(--bar-edge); }
.pbar .p-a, .pkeys .p-a { background: repeating-linear-gradient(90deg, var(--muted) 0 1px, transparent 1px 4px); }
.pkeys { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: 12px; color: var(--ink2); }
.pkeys span { display: inline-flex; align-items: center; gap: 6px; }
.pkeys i { width: 14px; height: 10px; display: inline-block; }
.days { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.days li { display: grid; grid-template-columns: 96px minmax(0, 1fr) 110px; gap: 12px; align-items: center; font-size: 12.5px; }
.days .d { color: var(--muted); }
.days .bar { height: 10px; background: var(--tint2); }
.days .bar span { display: block; height: 100%; background: var(--ink2); }
.days .n { text-align: right; color: var(--ink2); }
.ytable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ytable th, .ytable td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--hair); text-align: right; white-space: nowrap; }
.ytable thead th { font-size: 11.5px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--rule); vertical-align: bottom; }
.ytable th:first-child, .ytable td:first-child { text-align: left; }
.ytable tbody th a { font: 600 17px var(--serif); }
.ytable td b { font: 600 17px var(--serif); }
/* Destaques: one insight in focus, a strip of chart previews to step through */
.dq .sec-h { margin-bottom: 18px; }
.dq-feat { padding: 30px 0 34px; border-bottom: 1px solid var(--rule); touch-action: pan-y; min-height: 560px; }
.dq-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 6px 0 0; }
.dq-acts .dq-nav, .dq-acts .dq-go { margin: 0; }
.dq-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 56px; align-items: start; }
.dq-text { display: grid; gap: 14px; align-content: start; }
.dq-text h3 { margin: 0; font: 600 34px/1.12 var(--serif); letter-spacing: -.015em; }
.dq-p { margin: 0; font: 400 18px/1.5 var(--serif); color: var(--ink2); max-width: 46ch; }
.dq-go { margin: 6px 0 0; }
.dq-nav { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; }
.dq-a { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--ink); background: var(--paper); transition-property: background-color, transform; transition-duration: 120ms; }
.dq-a svg { width: 16px; height: 16px; }
.dq-a:hover:not(:disabled) { background: var(--tint); }
.dq-a:active:not(:disabled) { transform: scale(.96); }
.dq-a:disabled { opacity: .3; cursor: default; }
.dq-count { margin-left: 10px; font-size: 13px; color: var(--muted); }
.dq-count b { font: 600 17px var(--serif); color: var(--ink); }
.dq-viz { min-width: 0; }
.bc { display: grid; gap: 0; }
.bc { border-top: 1px solid var(--rule); }
.bc-r { display: grid; grid-template-columns: minmax(150px, 30%) minmax(0, 1fr) 96px; gap: 14px; align-items: center; min-height: 40px; border-bottom: 1px solid var(--hair); }
.bc-many .bc-r { min-height: 30px; gap: 12px; }
.bc-r.low .bc-l, .bc-r.low .bc-v { color: var(--muted); }
.bc-l sup { font-size: 11px; color: var(--muted); margin-left: -3px; }
.bc-l { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 6px; font-size: 13px; line-height: 1.25; color: var(--ink2); min-width: 0; }
.bc-l b { color: var(--ink); font-weight: 650; }
.bc-l .sw { margin-right: 0; width: 10px; height: 10px; }
.bc-l .arr { color: var(--muted); }
.bc-t { position: relative; height: 22px; background: var(--tint); }
.bc-many .bc-t { height: 15px; }
.bc-b { position: absolute; left: 0; top: 0; bottom: 0; background: var(--pc); }
.bc-b.alt { background: repeating-linear-gradient(135deg, var(--pc) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1.5px var(--pc); }
.bc-div .bc-t::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; border-left: 1px solid var(--ink2); }
.bc-div .bc-b { left: 50%; }
.bc-div .bc-b.neg { left: auto; right: 50%; background: repeating-linear-gradient(135deg, var(--pc) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1.5px var(--pc); }
.bc-v { display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; }
.bc-v b { font: 600 21px/1 var(--serif); }
.bc-many .bc-v b { font-size: 17px; }
.bc-v small { font-size: 11px; color: var(--muted); }
.bc-u { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.chips3 { display: inline-flex; gap: 2px; }
.vch { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 6px; font-style: normal; font-size: 11px; font-weight: 700; }
.vch b { font-weight: 600; opacity: .85; }
.vch.t-F { background: var(--pc); color: var(--on-pc); }
.vch.t-A { background: repeating-linear-gradient(135deg, var(--pc) 0 1.5px, transparent 1.5px 5px); box-shadow: inset 0 0 0 1.3px var(--pc); color: var(--ink); }
.vch em { font-style: normal; }
.vch.t-A b, .vch.t-A em, .vch.t-C b { background: var(--paper); padding: 0 2px; }
.vch.t-C { box-shadow: inset 0 0 0 1.5px var(--pc); color: var(--pc); }
.bf b { display: block; font: 600 120px/1 var(--serif); letter-spacing: -.03em; }
.dq-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(124px, 1fr); gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--hair); scrollbar-width: thin; }
.dq-strip [role=tab] { scroll-snap-align: start; display: grid; gap: 10px; align-content: start; min-height: 104px; padding: 12px 14px 14px 0; margin-right: 12px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; background: none; text-align: left; color: var(--ink2); transition-property: border-color, color; transition-duration: 160ms; }
.dq-strip [role=tab]:hover { color: var(--ink); border-bottom-color: var(--hair); }
.dq-strip [role=tab][aria-selected=true] { color: var(--ink); border-bottom-color: var(--ink); background: var(--tint2); box-shadow: inset 0 3px 0 var(--ink); padding-left: 10px; margin-left: -10px; }
.dq-strip [role=tab]:not([aria-selected=true]) { color: var(--muted); }
.dq-strip [role=tab]:not([aria-selected=true]) .mn { opacity: .5; }
.dq-strip [role=tab]:hover .mn { opacity: 1; }
.dq-t { font: 600 14px/1.25 var(--serif); }
.mn { display: grid; gap: 3px; height: 38px; align-content: start; }
.mn i { display: block; height: 5px; background: var(--pc); min-width: 2px; }
.mn i.alt { background: repeating-linear-gradient(135deg, var(--pc) 0 1.5px, transparent 1.5px 4px); box-shadow: inset 0 0 0 1px var(--pc); }
.mn-fig { display: flex; align-items: flex-end; height: 38px; padding-bottom: 2px; font: 600 30px/1 var(--serif); color: var(--ink); border-bottom: 1px solid var(--hair); }
.dq-feat.swap .dq-in { animation: dqin 220ms var(--ease-out, ease-out) both; }
.dq-feat.swap .bc-b { transform-origin: left; animation: fill 300ms var(--ease-out, ease-out) both; }
.dq-feat.swap .bc-div .bc-b.neg { transform-origin: right; }
@keyframes dqin { from { opacity: 0; transform: translateY(6px); } }

/* Método e limites: a closed footnote */
.met { margin-top: 26px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-size: 12.5px; color: var(--muted); }
.met summary { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 8px; align-items: baseline; padding: 12px 0; cursor: pointer; list-style: none; }
.met summary::-webkit-details-marker { display: none; }
.met summary::before { content: ""; grid-row: 1 / span 2; align-self: center; width: 8px; height: 8px; margin-left: 4px; border-right: 1.5px solid var(--ink2); border-bottom: 1.5px solid var(--ink2); transform: rotate(-45deg); transition: transform 160ms var(--ease-out, ease-out); }
.met[open] summary::before { transform: rotate(45deg); }
.met-t { font-weight: 650; color: var(--ink2); }
.met-s { grid-column: 2; }
.met summary:hover .met-t { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.met-l { margin: 0 0 4px; padding: 0 0 0 22px; display: grid; gap: 6px; line-height: 1.5; max-width: 80ch; }
.met-l li::marker { font-size: 11px; color: var(--muted); }
.met-l a { color: var(--ink2); }

/* ---------- DISSE E VOTOU ---------- */
.scr-disse .vh { border-bottom: 1px solid var(--rule); padding-bottom: 22px; }
.dfil { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 0 0 26px; }
.dgrp { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dlab { font-size: 12px; font-weight: 650; margin-right: 6px; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px; border: 1px solid var(--hair); text-decoration: none; font-size: 13px; transition: border-color 120ms; white-space: nowrap; }
.pill:hover { border-color: var(--ink); text-decoration: none; }
.pill[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill small { opacity: .7; font-size: 12px; }
.vi { display: inline-flex; }
.vi svg { width: 13px; height: 13px; }
.pill[aria-current] .vi svg [stroke="var(--paper)"] { stroke: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 18px 26px 30px; border-left: 1px solid var(--hair); border-top: 3px solid var(--rule); display: flex; flex-direction: column; gap: 14px; }
.card > .c-foot { margin-top: auto; }
.card:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
.card:nth-child(3n) { padding-right: 0; }
.c-call { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; }
.c-v { display: none !important; }
.c-who { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.party { display: inline-flex; align-items: center; font-weight: 700; font-size: 12px; padding: 2px 7px; border: 1px solid var(--ink); white-space: nowrap; }
.party .sw { width: 8px; height: 8px; }
.party-media { border-style: dashed; font-weight: 600; color: var(--ink2); }
.mc-steps { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mc-steps th, .mc-steps td { padding: 6px 8px 6px 0; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: middle; }
.mc-steps thead th { font-size: 11.5px; font-weight: 650; color: var(--ink); border-bottom: 1px solid var(--rule); }
.mc-steps tbody th { font-weight: 650; color: var(--ink); white-space: nowrap; }
.mc-steps tbody th .sw { width: 8px; height: 8px; }
.mc-steps td .mk { margin-right: 7px; }
.mc-steps td span { color: var(--ink2); }
.mc-steps tfoot th { font-weight: 400; color: var(--muted); border-bottom: 0; }
.mc-steps tfoot td { font: 600 16px var(--serif); color: var(--ink2); border-bottom: 0; padding-top: 8px; }
.mc-steps tfoot td.ok { color: var(--ink); }
.mc-steps tfoot td::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; box-shadow: inset 0 0 0 1.3px var(--ink2); vertical-align: 2px; }
.mc-steps tfoot td.ok::before { background: var(--ink); box-shadow: none; }
.mc-steps td + td, .mc-steps th + th { padding-left: 10px; border-left: 1px solid var(--hair); }
.c-name { display: flex; flex-wrap: wrap; gap: 0 8px; align-items: baseline; }
.c-name b { font-weight: 650; }
.c-name span { color: var(--muted); }
.c-q { margin: 0; }
.c-q p { margin: 0 0 8px; font: italic 400 20px/1.34 var(--serif); letter-spacing: -.005em; }
.c-q p::before { content: "«"; } .c-q p::after { content: "»"; }
.c-q cite { font-style: normal; font-size: 12.5px; color: var(--ink2); }
.c-q cite a { color: var(--ink2); font-weight: 600; }
.c-test { margin: 0; font-size: 14px; color: var(--ink2); padding-top: 12px; border-top: 1px solid var(--hair); }
.c-test span { font-weight: 700; color: var(--ink); margin-right: 6px; }
.c-test span::after { content: ":"; }
.c-ev { display: grid; gap: 10px; }
.c-num { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.c-num b { font: 600 46px/1 var(--serif); letter-spacing: -.02em; }
.c-num span { font: italic 17px var(--serif); color: var(--ink2); }
.mc { font-size: 12px; color: var(--ink2); }
.mc-split { display: block; height: 14px; background: var(--bar-bg); box-shadow: inset 0 0 0 1px var(--bar-edge); margin-bottom: 6px; }
.mc-split span { display: block; height: 100%; background: var(--bar-ap); }
.mc-range { position: relative; height: 52px; }
.mc-range .ax { position: absolute; left: 0; right: 0; top: 24px; border-top: 1px solid var(--ink); }
.mc-range .ours { position: absolute; top: 18px; height: 12px; min-width: 3px; background: var(--ink); }
.mc-range .claim { position: absolute; top: 15px; width: 18px; height: 18px; margin-left: -9px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); }
.mc-range .claim em { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); white-space: nowrap; font: italic 13px var(--serif); color: var(--ink); }
.mc-range .oursl { position: absolute; top: 35px; font-size: 11px; font-weight: 650; color: var(--ink); white-space: nowrap; }
.mc-range .ax-l, .mc-range .ax-r { position: absolute; top: 35px; font-size: 11px; color: var(--muted); }
.mc-range .ax-l { left: 0; display: none; } .mc-range .ax-r { right: 0; }
.mc-bars { display: grid; gap: 5px; }
.br { display: grid; grid-template-columns: minmax(92px, 40%) 1fr 56px; gap: 10px; align-items: center; }
.br-l { display: flex; align-items: center; line-height: 1.25; }
.br-l .sw { width: 8px; height: 8px; }
.br-t { height: 10px; background: var(--tint2); }
.br-t span { display: block; height: 100%; background: var(--ink2); }
.br-t span.pcb { background: var(--pc); }
.br.mute .br-t span { opacity: .55; }
.br.hl .br-l, .br.hl .br-v { font-weight: 700; color: var(--ink); }
.br.hl .br-t { box-shadow: 0 0 0 1px var(--ink); }
.br-v { text-align: right; }
.c-sub { margin: 0; font-size: 13.5px; color: var(--ink2); }
.c-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding-top: 12px; border-top: 1px solid var(--hair); }
.c-v { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.stamp { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 3px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border: 1.5px solid var(--ink); }
.stamp svg { width: 12px; height: 12px; flex: none; }
.stamp b { font-weight: 700; }
.s-confirma { background: var(--ink); color: var(--paper); }
.s-confirma svg rect { fill: var(--paper); }
.s-confirma svg path { stroke: var(--ink); }
.s-semdados { border-style: dashed; color: var(--ink2); }
.vnote { font: italic 14px var(--serif); color: var(--ink2); }
.c-link { margin-left: auto; font-size: 13px; font-weight: 600; }
.dnote { margin-top: 28px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--muted); }

/* ---------- footer ---------- */
.foot { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad) 40px; }
.foot-in { border-top: 3px solid var(--rule); padding-top: 14px; display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.foot p { margin: 0; max-width: 120ch; }

/* ---------- laptop ---------- */
@media (max-width: 1180px) {
  .top-in { grid-template-columns: 1fr auto; }
  .tabs { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .top-r { grid-column: 2; grid-row: 1; align-self: center; padding: 0; }
  .cards, .ins-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card:nth-child(n), .ins:nth-child(n) { border-left: 1px solid var(--hair); padding: 18px 22px 28px; }
  .card:nth-child(2n + 1), .ins:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
  .card:nth-child(2n), .ins:nth-child(2n) { padding-right: 0; }
  .dbs-2 { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .scr-prop { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; grid-row: auto; grid-column: 1; margin-bottom: 22px; }
  .scr-prop .pat, .scr-prop .chips, .scr-prop .lst { grid-column: 1; }
  .fx-btn { display: block; justify-self: start; padding: 8px 14px; border: 1px solid var(--ink); background: var(--paper); font-weight: 600; font-size: 13px; }
  .fx-btn[aria-expanded=true] { background: var(--ink); color: var(--paper); }
  .fx { display: none; }
  .fx.open { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: end; }
  .res-top, .pp-grid { grid-template-columns: minmax(0, 1fr); }
  .dq-in { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
  :root { --pad: 16px; }
  .top-in { padding-top: 14px; gap: 10px 12px; }
  .brand { padding-bottom: 0; }
  .b-name { font-size: 24px; }
  .b-ed { font-size: 11.5px; }
  .tabs { gap: 20px; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); max-width: calc(100% + 2 * var(--pad)); justify-self: stretch; }
  .tema span { display: none; }
  .tema { width: 36px; padding: 0; justify-content: center; }
  .gf-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 14px 0 12px; }
  .gf-item:first-child { grid-column: 1 / -1; justify-content: space-between; }
  .gf-item:not(:first-child) { display: grid; gap: 4px; }
  .gf-item .sel { width: 100%; max-width: none; }
  #g-clear { grid-column: 1 / -1; justify-self: start; }
  main { padding: 24px var(--pad) 88px; }
  .vh h1 { font-size: 38px; }
  .vh .sub { font-size: 16px; }
  .sec { margin-bottom: 44px; }
  h2 { font-size: 21px; }

  .pc-read { gap: 22px; flex-wrap: wrap; }
  .pc-fig b { font-size: 32px; }
  .pc-sel { margin-left: 0; text-align: left; flex-basis: 100%; }
  .pp { max-width: none; }
  .pc-bar { grid-template-columns: minmax(0, 1fr); }
  .pc-rows { display: none; }
  .pc-blocks { flex-direction: column; gap: 0; border-top: 1px solid var(--hair); }
  .pb { flex: none; overflow: visible; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 6px 12px; padding: 10px 0; border-bottom: 1px solid var(--hair); align-items: center; }
  .pb.dim { opacity: .45; }
  .tri { grid-column: 1 / -1; grid-row: 1; grid-auto-flow: column; grid-auto-columns: minmax(0, 56px); grid-auto-rows: 22px; justify-content: start; }
  .pb.tiny .tri i em { display: inline; }
  .pb.narrow .tri i { justify-content: space-between; padding: 0 6px; }
  .pb.narrow .tri i b, .tri i.t-A b, .tri i.t-C b { display: inline; }
  .tri i.t-A b { background: var(--paper); padding: 0 2px; opacity: 1; }
  .pb-body { grid-column: 1; grid-row: 2; height: 12px; width: var(--bw); min-width: 3px; }
  .pb.on .pb-body { box-shadow: 0 0 0 2px var(--ink); }
  .pb-n, .pb.narrow .pb-n { visibility: visible; grid-row: 2; grid-column: 2; display: flex; justify-content: flex-end; align-items: baseline; gap: 8px; }
  .pc-note { display: none; }

  .lhead { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .lhead > .lgd { grid-row: 2; justify-self: start; }
  .lhead > .strip-h { display: none; }
  .lhead { position: static; }
  .row-in { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .num { display: flex; align-items: baseline; gap: 8px; }
  .rv { padding-top: 8px; gap: 3px; }
  .rmeta .ar { flex-basis: 100%; order: 9; }
  .ctx { order: 0; }
  .rv > .strip-h { display: grid; }
  .rv > .strip-h b { font-size: 9.5px; color: var(--muted); }
  .dgrp { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .t { font-size: 17px; }
  .num { font-size: 13px; }
  .ar { margin-left: 0; }
  .px { grid-template-columns: minmax(0, 1fr); margin-left: 0; gap: 20px; }
  .vtab td:last-child, .vtab th:last-child { width: auto; min-width: 200px; }

  .db-head, .dr { grid-template-columns: 62px minmax(0, 1fr) 96px; gap: 8px; }
  .facts dd { font-size: 32px; }
  .facts div { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--hair); }
  .sb li { grid-template-columns: 64px minmax(0, 1fr) 96px; gap: 8px; }
  .sb .v { font-size: 11.5px; }
  .sb .v small { display: none; }
  .dq-feat { padding: 20px 0 22px; }
  .dq-text h3 { font-size: 26px; }
  .dq-p { font-size: 16px; }
  .bc-r, .bc-many .bc-r { grid-template-columns: minmax(0, 1fr) 76px; gap: 4px 10px; min-height: 0; }
  .bc-l { grid-column: 1 / -1; }
  .bc-t, .bc-many .bc-t { height: 14px; }
  .bc { gap: 10px; }
  .bf b { font-size: 84px; }
  .dq-strip { grid-auto-columns: 150px; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); }
  .days li { grid-template-columns: 82px minmax(0, 1fr) 108px; }
  .bc-r, .bc-many .bc-r { padding: 8px 0; }
  .ins-grid, .cards { grid-template-columns: minmax(0, 1fr); }
  .ins:nth-child(n), .card:nth-child(n) { border-left: 0; padding: 16px 0 26px; }

  .dfil { gap: 12px; }
  .dgrp { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 2px; }
  .dgrp::-webkit-scrollbar { display: none; }
  .c-call { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
  .c-v { display: none; }
  .c-q p { font-size: 19px; }
  .c-num b { font-size: 40px; }
}
/* ---------- motion: transforms and opacity only, on arrival at a view, never on data refresh ---------- */
:root { --ease-out: cubic-bezier(.23, 1, .32, 1); }
.btn, .seg button, .pill, .pp button, .ppick button, .tema, .fx-btn { transition-property: background-color, border-color, color, transform; transition-duration: 120ms; }
.btn:active, .seg button:active, .pill:active, .pp button:active, .ppick button:active, .tema:active, .fx-btn:active { transform: scale(.97); }
.enter .card { animation: rise 320ms var(--ease-out) calc(var(--i, 0) * 50ms) both; }
.enter .pb-ap { transform-origin: left; animation: fill 300ms var(--ease-out) 80ms both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes fill { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-delay: 0ms !important; }
  .enter .card { animation: fade 200ms ease both; }
  .enter .pb-ap, .dq-feat.swap .bc-b { animation: none; }
  .dq-feat.swap .dq-in { animation: fade 160ms ease both; }
  .btn:active, .seg button:active, .pill:active, .pp button:active, .ppick button:active, .tema:active, .fx-btn:active { transform: none; }
}
@keyframes fade { from { opacity: 0; } }
