﻿@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600;6..72,700&family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {

  --bg:           #0a1228;
  --surface-1:    #0f1932;
  --surface-2:    #162143;
  --surface-3:    #1d2a53;
  --hover:        #233266;
  --border:       #283464;
  --border-soft:  #1a234a;
  --border-strong:#36447a;

  --text:         #eef1f8;
  --text-dim:     #b3bbd1;
  --text-muted:   #7782a3;
  --text-faint:   #515b78;

  --brand:        #5eead4;
  --brand-2:      #67c7ff;
  --brand-soft:   #134e4a;
  --brand-bg:     #0f2e2c;

  --sim:          #34d399;
  --sim-bg:       #0e3a2c;
  --sim-fg:       #6ee7b7;
  --nao:          #e94e5f;
  --nao-bg:       #3a1620;
  --nao-fg:       #f59097;
  --abst:         #fbbf24;
  --abst-bg:      #3a2912;
  --abst-fg:      #fcd34d;
  --aus:          #5d6b8c;
  --aus-bg:       #1d2540;
  --aus-fg:       #8a96b3;

  --fc-true:      #34d399;
  --fc-false:     #e94e5f;
  --fc-context:   #fbbf24;
  --fc-imprec:    #fb923c;

  --serif:  'Newsreader', Georgia, serif;
  --sans:   'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --mono:   'IBM Plex Mono', ui-monospace, monospace;

  --r-sm: 3px;
  --r-md: 5px;
  --r-lg: 6px;
  --r-xl: 8px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background:
    radial-gradient(ellipse 900px 500px at 80% -10%, rgba(94,234,212,0.08), transparent 60%),
    radial-gradient(ellipse 700px 400px at 10% 10%, rgba(233,78,95,0.04), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--brand); color: #052e2a; }

.topnav {
  border-bottom: 1px solid var(--border-soft);
  background: rgba(10,13,19,0.85);
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 50;
}
.topnav-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 16px 32px;
  display: flex; align-items: center; gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-text {
  display: flex; flex-direction: column; line-height: 1;
}
.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  white-space: nowrap;
}
.brand-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 5px;
  white-space: nowrap;
}

.nav {
  display: flex; gap: 4px; flex: 1;
}
.nav a {
  padding: 8px 12px;
  border-radius: var(--r-sm);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  transition: all 120ms;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.active { color: var(--brand); }

.nav-right {
  display: flex; align-items: center; gap: 8px;
}
.nav-right .ts {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
}
.nav-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 6px 12px;
  width: 220px;
}
.nav-search input {
  flex: 1; background: none; border: 0; outline: 0;
  color: var(--text); font: inherit; font-size: 12px;
}
.nav-search input::placeholder { color: var(--text-muted); }

.page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 24px;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--brand);
}
.hero-title {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 16px;
  color: var(--text);
}
.hero-title em { font-style: italic; color: var(--text); border-bottom: 2px solid var(--brand); padding-bottom: 2px; }
.hero-sub {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 640px;
  line-height: 1.55;
}

.hero-meta {
  display: flex; flex-direction: column; gap: 8px;
  text-align: right;
}
.hero-meta-row {
  display: flex; justify-content: flex-end; gap: 8px; align-items: baseline;
}
.hero-stat {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.hero-stat strong {
  color: var(--text);
  font-weight: 600;
}

.toolbar {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.casa-toggle {
  display: inline-flex;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 3px;
}
.casa-toggle button {
  background: none; border: 0;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: 5px;
  letter-spacing: 0.02em;
}
.casa-toggle button.active {
  background: var(--surface-3);
  color: var(--text);
  box-shadow: 0 0 0 1px var(--border-strong);
}

.filter-group {
  display: flex; align-items: center; gap: 6px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0 4px 0 12px;
  height: 36px;
}
.filter-group label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.filter-group select {
  background: none; border: 0; outline: 0;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 0 24px 0 4px;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238a92a4' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  height: 36px;
}
.filter-group select option { background: var(--surface-2); color: var(--text); }

.filter-combo { position: relative; min-width: 280px; padding-right: 28px; }
.filter-combo input {
  flex: 1;
  background: none; border: 0; outline: 0;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 0 4px;
  height: 36px;
  min-width: 0;
}
.filter-combo input::placeholder { color: var(--text-muted); font-weight: 400; }
.combo-clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: var(--surface-3); border: 0;
  color: var(--text-dim);
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: 13px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.combo-clear:hover { background: var(--nao); color: white; }
.combo-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  min-width: 340px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  max-height: 320px;
  overflow-y: auto;
  z-index: 60;
  box-shadow: 0 12px 40px -8px rgba(0,0,0,0.6);
}
.combo-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-soft);
}
.combo-item:last-child { border-bottom: 0; }
.combo-item:hover { background: var(--surface-3); }
.combo-item.is-selected { background: var(--surface-3); box-shadow: inset 2px 0 0 var(--brand); }
.combo-item-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 11px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.combo-item-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.combo-item-name { font-size: 13px; font-weight: 500; color: var(--text); }
.combo-item-meta { font-family: var(--mono); font-size: 10px; color: var(--text-muted); letter-spacing: 0.04em; }
.combo-empty { padding: 16px; color: var(--text-muted); font-size: 12px; text-align: center; font-style: italic; }

.filter-check {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 14px; height: 36px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--text-dim);
  user-select: none;
  cursor: pointer;
}
.filter-check input { accent-color: var(--brand); }
.filter-check.active { color: var(--text); border-color: var(--brand); background: rgba(94,234,212,0.08); }

.toolbar-spacer { flex: 1; }
.toolbar-btn {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0 14px; height: 36px;
  color: var(--text-dim);
  font-size: 13px;
  display: inline-flex; align-items: center; gap: 6px;
}
.toolbar-btn:hover { color: var(--text); }

.card {
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.card-head {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-soft);
  display: flex; align-items: center; gap: 12px;
}
.card-head::before {
  content: '';
  width: 3px;
  height: 14px;
  background: var(--brand);
  flex-shrink: 0;
}
.card-head .ic { display: none; }
.card-head h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}
.card-body { padding: 20px; }
.card-body-tight { padding: 8px; }

.chip {
  display: inline-flex; align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: var(--r-sm);
  text-transform: uppercase;
  line-height: 1;
}

.chip-partido {
  color: white;
  border-radius: 3px;
  padding: 3px 6px;
}

.chip-uf {
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.voto-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1;
  text-transform: uppercase;
}
.voto-sim       { background: var(--sim-bg);  color: var(--sim-fg); }
.voto-nao       { background: var(--nao-bg);  color: var(--nao-fg); }
.voto-abstencao { background: var(--abst-bg); color: var(--abst-fg); }
.voto-ausente   { background: var(--aus-bg);  color: var(--aus-fg); }

.tbl { width: 100%; border-collapse: collapse; }
.tbl thead th {
  text-align: left;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface-1);
}
.tbl tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--text);
}
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr {
  cursor: pointer;
  transition: background 120ms;
}
.tbl tbody tr:hover { background: var(--surface-2); }
.tbl tbody tr.is-selected { background: var(--surface-3); }
.tbl-mono { font-family: var(--mono); font-size: 12px; color: var(--text-dim); }
.tbl-right { text-align: right; }

.session-row {
  display: block;
  padding: 14px 16px;
  border-radius: var(--r-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 120ms;
}
.session-row:hover { background: var(--surface-2); }
.session-row.is-selected {
  background: var(--surface-2);
  border-color: var(--border-strong);
  box-shadow: inset 3px 0 0 var(--brand);
}
.session-row h4 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
}
.session-row .meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
}
.session-row .meta .dot { color: var(--text-faint); }
.session-row .important {
  color: var(--brand);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.placar {
  display: flex; flex-direction: column; gap: 16px;
}
.placar-head {
  text-align: center;
}
.placar-titulo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 6px;
}
.placar-data {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.placar-bar-wrap {
  display: flex; flex-direction: column; gap: 6px;
}
.placar-bar-labels {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}
.placar-bar-labels .sim { color: var(--sim-fg); }
.placar-bar-labels .nao { color: var(--nao-fg); }
.placar-bar {
  height: 14px;
  background: var(--surface-3);
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  position: relative;
}
.placar-seg { height: 100%; }
.placar-seg.sim  { background: var(--sim); }
.placar-seg.nao  { background: var(--nao); }
.placar-seg.abst { background: var(--abst); }
.placar-seg.aus  { background: var(--aus); }
.placar-bar-pct {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.placar-foot {
  display: flex; justify-content: center; gap: 24px;
  padding-top: 8px;
  border-top: 1px solid var(--border-soft);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.placar-foot span strong {
  color: var(--text);
  font-family: var(--mono);
  font-weight: 600;
}
.placar-foot .swatch {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 2px; margin-right: 6px; vertical-align: middle;
}

.dep-head {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 16px;
}
.dep-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface-3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.dep-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--text);
}
.dep-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.dep-stats {
  display: flex; gap: 16px; padding-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.dep-stats strong { color: var(--text); font-weight: 600; }

.party-row {
  display: grid;
  grid-template-columns: 88px 1fr 92px;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
}
.party-row:last-child { border-bottom: 0; }
.party-row-bar {
  height: 8px;
  background: var(--surface-3);
  border-radius: 999px;
  overflow: hidden;
  display: flex;
}
.party-row-numbers {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-align: right;
}
.party-row-numbers .sim { color: var(--sim-fg); }
.party-row-numbers .nao { color: var(--nao-fg); }

.fc-stamp {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid;
}
.fc-stamp .dot {
  width: 6px; height: 6px; border-radius: 50%;
}

.editorial {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
  font-style: italic;
  padding: 16px 20px;
  border-left: 2px solid var(--brand);
  background: rgba(94,234,212,0.04);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.editorial-label {
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--surface-2);
  padding: 3px 8px;
  border-radius: var(--r-sm);
  text-transform: lowercase;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }

.art {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 32px 64px;
}
.art > section { margin-bottom: 32px; }

.art-head {
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 32px;
  margin-bottom: 32px;
}
.art-crumb {
  display: flex; gap: 8px; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.art-crumb a { color: var(--text-dim); }
.art-crumb a:hover { color: var(--brand); }
.art-crumb span { color: var(--text-faint); }

.art-meta-top {
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 16px; flex-wrap: wrap;
}

.art-title {
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 16px;
  color: var(--text);
  max-width: 14ch;
  text-wrap: balance;
}
.art-deck {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-dim);
  margin: 0 0 32px;
  max-width: 60ch;
  font-style: italic;
}

.art-byline {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}
.art-byline-left {
  display: flex; gap: 12px; align-items: center;
}
.art-byline-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #052e2a;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13px;
}
.art-byline-name {
  font-weight: 600;
  font-size: 14px;
}
.art-byline-date {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.art-byline-right {
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 24px;
}
.art-stat { display: flex; flex-direction: column; gap: 3px; }
.art-stat span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.art-stat strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.big-placar {
  margin: 0 0 48px;
}
.big-placar-cols {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
  margin-bottom: 20px;
}
.big-num-divider {
  height: 80px; width: 1px; background: var(--border-soft);
}
.big-num { text-align: center; }
.big-num-val {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.big-num-val.sim  { color: var(--sim-fg); }
.big-num-val.nao  { color: var(--nao-fg); }
.big-num-val.abst { color: var(--abst-fg); }
.big-num-val.aus  { color: var(--aus-fg); }
.big-num-lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 10px;
}
.big-num-pct {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 4px;
}

.big-placar-bar {
  padding: 0 0;
}

.art-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-soft);
}

.art-body-main {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
}
.art-body-main p {
  margin: 0 0 18px;
  color: var(--text-dim);
}
.art-body-main p.lead {
  font-size: 22px;
  line-height: 1.45;
  color: var(--text);
  border-left: 3px solid var(--brand);
  padding-left: 20px;
  margin: 0 0 28px;
}
.art-body-main em { color: var(--brand); }

.sec-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
}
.sec-title:first-child { margin-top: 0; }

.side-card {
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 16px;
}
.side-card-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}

.timeline { display: flex; flex-direction: column; gap: 16px; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 4px; top: 8px; bottom: 8px;
  width: 1px; background: var(--border);
}
.tl-item { display: flex; gap: 12px; align-items: flex-start; position: relative; }
.tl-dot {
  width: 9px; height: 9px;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
  position: relative; z-index: 1;
}
.tl-item.is-current .tl-dot {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(94,234,212,0.15);
}
.tl-date {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  margin-top: 3px;
  min-width: 56px;
}
.tl-text {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.45;
}
.tl-item.is-current .tl-text { color: var(--text); }

.related { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.related li {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-soft);
}
.related li:last-child { border-bottom: 0; padding-bottom: 0; }
.related-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
}
.related a {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
}
.related a:hover { color: var(--brand); }

.espectro-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: end;
  height: 220px;
  padding: 16px 0;
}
.espectro-col {
  display: flex; flex-direction: column;
  align-items: center;
  height: 100%;
  gap: 10px;
}
.espectro-lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  order: 3;
}
.espectro-bar {
  flex: 1;
  width: 100%;
  max-width: 70px;
  background: var(--surface-3);
  border-radius: var(--r-sm);
  overflow: hidden;
  display: flex; flex-direction: column-reverse;
  order: 1;
}
.espectro-fill {
  width: 100%;
  transition: height 200ms;
}
.espectro-fill.sim  { background: var(--sim); }
.espectro-fill.abst { background: var(--abst); }
.espectro-fill.nao  { background: var(--nao); }
.espectro-fill.aus  { background: var(--aus); opacity: 0.5; }
.espectro-nums {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  display: flex; gap: 4px; align-items: baseline;
  order: 2;
}
.espectro-nums .sim { color: var(--sim-fg); }
.espectro-nums .nao { color: var(--nao-fg); }

.espectro-legend {
  display: flex; gap: 24px; justify-content: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.vote-filter-tabs { display: flex; gap: 2px; background: var(--surface-2); padding: 3px; border-radius: var(--r-md); }
.vote-filter-tabs button {
  background: none; border: 0;
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-radius: 4px;
}
.vote-filter-tabs button:hover { color: var(--text); }
.vote-filter-tabs button.active {
  background: var(--surface-3);
  color: var(--c, var(--text));
  box-shadow: 0 0 0 1px var(--border-strong);
}

.other-sessions {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
}
.sec-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
  font-weight: 600;
}
.other-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.other-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px;
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  transition: all 150ms;
  text-decoration: none;
}
.other-card:hover {
  background: var(--surface-2);
  border-color: var(--border);
  transform: translateY(-1px);
}
.other-card h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
  line-height: 1.15;
}
.other-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
  margin: 0;
}
.other-card .other-meta {
  display: flex; gap: 8px; align-items: center;
  font-size: 11px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border-soft);
}

.footer {
  max-width: 1440px;
  margin: 80px auto 0;
  padding: 32px;
  border-top: 1px solid var(--border-soft);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--text); }