/* Parliament page — extends commission.css + styles.css tokens.
   Only parliament-specific components are defined here.
   All shared infrastructure (frame, csection, roles, pres, bio-drawer,
   acc-grid, why-grid, events, facts, plain, hero, card-spotlight, fab,
   toast, cmdk, footer, page-toc) lives in commission.css. */

/* ───── Parliament president photo (scoped override) ───── */
.pres-avatar {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
}
.pres-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 50%;
}

/* ───── Live session indicator ───── */
.live-bar {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px;
  background: color-mix(in oklab, var(--st-live-bg) 55%, var(--surface));
  border: 1px solid color-mix(in oklab, var(--st-live) 30%, var(--line));
  border-radius: 999px;
  font: 500 11.5px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-live);
}
.live-bar .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--st-live); position: relative;
}
.live-bar .pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--st-live); animation: pulse 2.4s var(--ease-out) infinite;
}
.live-bar span.where {
  color: var(--ink-2); text-transform: none;
  letter-spacing: 0.02em; font-weight: 400;
}

/* ───── Hemicycle container ───── */
.hemi-wrap {
  margin-top: 56px;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  padding: 32px 36px 28px;
  position: relative;
  overflow: hidden;
}
.hemi-wrap::after {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--brass-soft) 0%, transparent 70%);
  opacity: 0.35;
  pointer-events: none;
}
.hemi-head {
  display: grid;
  grid-template-columns: 1fr max-content;
  gap: 24px;
  align-items: end;
  margin-bottom: 12px;
  position: relative; z-index: 1;
}
.hemi-head h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 24px; letter-spacing: -0.015em;
  line-height: 1.1; margin: 0 0 6px;
}
.hemi-head p {
  font-size: 14.5px; line-height: 1.5;
  color: var(--ink-2); margin: 0;
  max-width: 50ch;
}
.hemi-stage {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: center;
}
.hemi-svg-wrap {
  position: relative;
  aspect-ratio: 1000 / 560;
}
.hemi-svg { width: 100%; height: 100%; display: block; }

/* ───── Hemicycle SVG elements ───── */
.hemi-seat {
  transition: transform 200ms var(--ease-snap), opacity 200ms var(--ease-out);
  transform-origin: center;
  transform-box: fill-box;
  cursor: pointer;
}
.hemi-wrap[data-active] .hemi-seat:not(.is-on) { opacity: 0.16; }
.hemi-wrap[data-active] .hemi-seat.is-on { transform: scale(1.45); }

.hemi-rostrum {
  fill: var(--bg-deep);
  stroke: var(--line-2);
  stroke-width: 1;
}
.hemi-rostrum-label {
  fill: var(--ink-3);
  font: 500 11px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-anchor: middle;
}
.hemi-total {
  fill: var(--ink);
  font: 400 56px var(--serif);
  text-anchor: middle;
  letter-spacing: -0.02em;
}
.hemi-total-label {
  fill: var(--ink-3);
  font: 500 11px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-anchor: middle;
}

/* ───── Group legend ───── */
.groups {
  display: grid;
  gap: 6px;
  align-self: stretch;
  align-content: center;
}
.group {
  display: grid;
  grid-template-columns: 14px 1fr max-content;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: var(--bg-card);
  text-align: left;
  transition: all var(--t-fast) var(--ease-out);
  cursor: pointer;
}
.group:hover { background: var(--bg-card-hover); border-color: var(--line); }
.group.is-active {
  background: var(--bg-card);
  border-color: var(--line-2);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--brass) 18%, transparent);
}
.group-dot {
  width: 12px; height: 12px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.15);
}
.group-name { display: grid; gap: 2px; }
.group-name .id {
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.group-name .full {
  font-size: 11.5px; line-height: 1.25;
  color: var(--ink-3);
}
.group-seats {
  font-family: var(--serif);
  font-size: 19px; letter-spacing: -0.01em;
  color: var(--ink); line-height: 1;
}

/* ───── Hemicycle proportion bar ───── */
.hemi-bar {
  display: flex;
  height: 8px;
  margin-top: 18px;
  border-radius: 4px;
  overflow: hidden;
  position: relative; z-index: 1;
  background: color-mix(in oklab, var(--bg-card), white 4%);
}
.hemi-bar-seg { transition: opacity var(--t-fast) var(--ease-out); }
.hemi-wrap[data-active] .hemi-bar-seg:not(.is-on) { opacity: 0.25; }

/* ───── Hemicycle footer ───── */
.hemi-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  font: 500 11.5px/1 var(--mono);
  color: var(--ink-3);
  letter-spacing: 0.04em;
  position: relative; z-index: 1;
}
.hemi-foot .spacer { flex: 1; }
.hemi-foot a { color: var(--ink-3); transition: color var(--t-fast) var(--ease-out); }
.hemi-foot a:hover { color: var(--brass); }

/* ───── Power signal cards (turnout + cohesion) ───── */
.power-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.power-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 26px;
  display: grid; gap: 16px;
  align-content: start;
  position: relative;
  overflow: hidden;
  transition: all var(--t-fast) var(--ease-out);
}
.power-card:hover { border-color: var(--line-2); background: var(--bg-card-hover); }
.power-card h4 {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}
.power-card-big {
  font-family: var(--serif);
  font-size: 36px; letter-spacing: -0.015em; line-height: 1;
}
.power-card-big small {
  font: 500 13px var(--mono); color: var(--ink-3); margin-left: 6px;
}
.power-card p {
  font-size: 13.5px; line-height: 1.5;
  color: var(--ink-2); margin: 0;
}

/* ───── Voting cohesion bars ───── */
.cohesion { display: grid; gap: 6px; }
.cohesion-row {
  display: grid;
  grid-template-columns: 50px 1fr 36px;
  align-items: center;
  gap: 12px;
  font: 500 11px/1 var(--mono);
  color: var(--ink-2);
  letter-spacing: 0.04em;
}
.cohesion-row .id { letter-spacing: 0.06em; }
.cohesion-track {
  height: 6px; border-radius: 3px;
  background: color-mix(in oklab, var(--bg-card), white 15%);
  overflow: hidden; position: relative;
}
.cohesion-fill {
  height: 100%; border-radius: 3px;
  transition: width 600ms var(--ease-snap);
  filter: brightness(1.6) saturate(1.1);
}
.cohesion-row .pct { color: var(--ink); text-align: right; }

/* ───── Vote cards ───── */
.vote-mini-head {
  display: flex; align-items: center; gap: 12px;
  background: transparent;
  margin-top: 32px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.vote-mini-head .swatch {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: color-mix(in oklab, var(--bg-card), white 5%);
  border: 1px solid var(--line-2);
  position: relative;
}
.vote-mini-head .swatch::before { display: none; }
.vote-mini-head.passed   .swatch { background: var(--st-live); border-color: var(--st-live); }
.vote-mini-head.rejected .swatch { background: var(--st-vote); border-color: var(--st-vote); }
.vote-mini-head.pending  .swatch { background: var(--brass);   border-color: var(--brass); }
.vote-mini-head h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 18px; letter-spacing: -0.01em; margin: 0;
}
.vote-mini-head .count {
  margin-left: auto;
  font: 500 11.5px/1 var(--mono); letter-spacing: 0.06em;
  color: var(--ink-3);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
}

.vote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.vote {
  --vote-accent: var(--brass);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 22px 18px;
  display: grid; gap: 14px;
  transition: all var(--t-fast) var(--ease-out);
  position: relative; overflow: hidden;
}
.vote.kind-pending {
  --vote-accent: var(--brass);
  border-left: 2px solid color-mix(in oklab, var(--brass) 68%, transparent);
  box-shadow:
    inset 10px 0 24px -18px color-mix(in oklab, var(--brass) 32%, transparent),
    0 0 0 1px color-mix(in oklab, var(--brass) 14%, transparent),
    0 18px 48px color-mix(in oklab, var(--brass) 12%, transparent);
}
.vote.kind-passed {
  --vote-accent: var(--st-live);
  border-left: 2px solid color-mix(in oklab, var(--st-live) 64%, transparent);
  box-shadow:
    inset 10px 0 24px -18px color-mix(in oklab, var(--st-live) 30%, transparent),
    0 0 0 1px color-mix(in oklab, var(--st-live) 13%, transparent),
    0 18px 48px color-mix(in oklab, var(--st-live) 11%, transparent);
}
.vote.kind-rejected {
  --vote-accent: var(--st-vote);
  border-left: 2px solid color-mix(in oklab, var(--st-vote) 62%, transparent);
  box-shadow:
    inset 10px 0 24px -18px color-mix(in oklab, var(--st-vote) 28%, transparent),
    0 0 0 1px color-mix(in oklab, var(--st-vote) 12%, transparent),
    0 18px 48px color-mix(in oklab, var(--st-vote) 10%, transparent);
}
.vote:hover { border-color: var(--line-2); background: var(--bg-card-hover); transform: translateY(-2px); }
.vote::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
}
.vote.kind-passed::before,
.vote.kind-rejected::before,
.vote.kind-pending::before {
  background: var(--vote-accent);
  box-shadow: 0 0 22px color-mix(in oklab, var(--vote-accent) 34%, transparent);
}

.vote-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: color-mix(in oklab, var(--bg-card), white 9%);
  padding: 10px 14px;
  border-radius: 10px;
}
.vote-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font: 600 10.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid transparent;
}
.vote-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.vote-badge.kind-passed   { color: var(--st-live);  background: color-mix(in oklab, var(--st-live), transparent 82%); border-color: color-mix(in oklab, var(--st-live)  30%, transparent); }
.vote-badge.kind-rejected { color: var(--st-vote);  background: color-mix(in oklab, var(--st-vote)  14%, var(--bg-card)); border-color: color-mix(in oklab, var(--st-vote)  30%, transparent); }
.vote-badge.kind-pending  { color: var(--brass);    background: color-mix(in oklab, var(--brass)    14%, var(--bg-card)); border-color: color-mix(in oklab, var(--brass)    35%, transparent); }
.vote-date {
  margin-left: auto;
  font: 500 11px/1 var(--mono); color: var(--ink-3); letter-spacing: 0.04em;
}
.vote-title {
  font-family: var(--serif); font-weight: 400;
  font-size: 18px; line-height: 1.25; letter-spacing: -0.010em;
  margin: 0; max-width: 34ch;
}
.vote-summary {
  font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 0;
}
.vote-affects {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 14px;
  font-size: 13px;
  padding: 10px 12px;
  background: color-mix(in oklab, var(--bg-card), white 5%);
  border-left: 2px solid var(--brass);
  border-radius: 0 8px 8px 0;
}
.vote-affects dt { font: 500 10.5px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding-top: 1px; }
.vote-affects dd { margin: 0; color: var(--ink); }

/* ───── Vote bar ───── */
.vbar { display: grid; gap: 8px; }
.vbar-track {
  display: flex; height: 8px;
  border-radius: 4px; overflow: hidden;
  background: color-mix(in oklab, var(--bg-card), white 4%);
}
.vbar-seg { transition: opacity var(--t-fast) var(--ease-out); }
.vbar-seg.f { background: var(--st-live); }
.vbar-seg.a { background: var(--st-vote); }
.vbar-seg.b { background: var(--ink-4); }
.vbar-legend {
  display: flex; gap: 16px;
  font: 500 11px/1 var(--mono);
  color: var(--ink-3); letter-spacing: 0.04em;
}
.vbar-legend b { color: var(--ink); font-weight: 500; margin-right: 4px; }
.vbar-legend i {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 2px; margin-right: 6px;
  vertical-align: middle;
}
.vbar-meta { font: 500 11px/1 var(--mono); color: var(--ink-3); margin-left: auto; }

/* ───── Vote card footer ───── */
.vote-foot {
  display: flex; align-items: center; gap: 14px;
  background: color-mix(in oklab, var(--vote-accent) 7%, var(--bg-card));
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid color-mix(in oklab, var(--vote-accent) 14%, var(--line));
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 5%, transparent);
  font: 500 11px/1 var(--mono); color: var(--ink-3); letter-spacing: 0.04em;
}
.vote-foot a,
.vote-foot button {
  color: var(--ink-2);
  font: 500 11px/1 var(--mono); letter-spacing: 0.04em;
  background: none; border: none; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color var(--t-fast) var(--ease-out);
}
.vote-foot a:hover,
.vote-foot button:hover { color: var(--vote-accent); }
.vote-foot .spacer { flex: 1; }

/* ── Live legislative pipeline cards ── */
.live-pipeline-card .vote-row,
.live-pipeline-card .vote-foot {
  background: color-mix(in oklab, var(--vote-accent) 7%, var(--bg-card));
  border: 1px solid color-mix(in oklab, var(--vote-accent) 14%, var(--line));
}
.live-pipeline-card .vote-title {
  font-size: 20px;
  max-width: 36ch;
}
.live-pipeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.live-pipeline-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.04em;
}
.live-pipeline-meta b {
  color: var(--ink-3);
  font-weight: 600;
  text-transform: uppercase;
}
.live-pipeline-state {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-3);
  font: 600 10.5px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.live-pipeline-source-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 2px;
  font: 500 11.5px/1 var(--mono);
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.live-pipeline-source-row::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--line-2);
}
.live-pipeline-source-row a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color var(--t-fast);
}
.live-pipeline-source-row a:hover { color: var(--brass); }

/* ── Shared live pipeline card status lighting ── */
#live-votes .active-file-card {
  --pipeline-accent: var(--brass);
  border-left: 2px solid color-mix(in oklab, var(--pipeline-accent) 62%, transparent);
  box-shadow:
    inset 10px 0 24px -18px color-mix(in oklab, var(--pipeline-accent) 28%, transparent),
    0 0 0 1px color-mix(in oklab, var(--pipeline-accent) 10%, transparent),
    0 18px 44px color-mix(in oklab, var(--pipeline-accent) 8%, transparent);
}

#live-votes .active-file-card:has(.afc-status-pending) {
  --pipeline-accent: var(--brass);
}

#live-votes .active-file-card:has(.afc-status-passed) {
  --pipeline-accent: var(--st-live);
}

#live-votes .active-file-card:has(.afc-status-rejected) {
  --pipeline-accent: var(--st-vote);
}

#live-votes .afc-status-pending {
  color: var(--brass);
  background: color-mix(in oklab, var(--brass) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--brass) 30%, transparent);
}

#live-votes .afc-status-passed {
  color: var(--st-live);
  background: color-mix(in oklab, var(--st-live) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--st-live) 28%, transparent);
}

#live-votes .afc-status-rejected {
  color: var(--st-vote);
  background: color-mix(in oklab, var(--st-vote) 11%, transparent);
  border: 1px solid color-mix(in oklab, var(--st-vote) 26%, transparent);
}

/* ── Live vote card states ── */
@keyframes vote-shimmer {
  from { background-position: -200% 0; }
  to   { background-position:  200% 0; }
}
.vote-skeleton { pointer-events: none; }
.vote-skel-line {
  display: block;
  background: linear-gradient(90deg, var(--surface-3) 25%, var(--surface-2) 50%, var(--surface-3) 75%);
  background-size: 200% 100%;
  animation: vote-shimmer 1.6s ease-in-out infinite;
  color: transparent;
  border-radius: 4px;
  min-height: 12px;
}
@media (prefers-reduced-motion: reduce) {
  .vote-skel-line { animation: none; background: var(--surface-3); }
}
.vote-empty {
  grid-column: 1 / -1;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  font: 500 13px/1.5 var(--mono);
  color: var(--ink-3);
  text-align: center;
  margin: 0;
}

/* ───── Country seats grid ───── */
.country-wrap {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 28px 24px;
  margin-top: 24px;
}
.country-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.country-head h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; letter-spacing: -0.01em; margin: 0;
}
.country-head p {
  font-size: 13px; color: var(--ink-3); margin: 0; line-height: 1.45;
}
.country-head .lookup {
  margin-left: auto;
  display: flex; align-items: center; gap: 10px;
  background: color-mix(in oklab, var(--bg-card), white 3%);
  border: 1px solid var(--line-2);
  border-radius: 9px;
  padding: 0 12px;
  height: 36px; min-width: 220px;
}
.country-head .lookup input {
  flex: 1; background: none; border: 0; outline: none;
  font: 400 13px var(--sans); color: var(--ink);
}
.country-head .lookup input::placeholder { color: var(--ink-4); }
.country-head .lookup svg { color: var(--ink-3); }

.country-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
}
.cell {
  position: relative;
  display: grid;
  grid-template-rows: max-content 1fr;
  gap: 6px;
  padding: 10px 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: all var(--t-fast) var(--ease-out);
  text-align: left; overflow: hidden;
}
.cell:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.cell:active { transform: translateY(0); }
.cell-head { display: flex; align-items: center; gap: 6px; }
.cell-flag {
  width: 18px; height: 12px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 0.5px oklch(1 0 0 / 0.2);
  background-size: cover; background-position: center;
  flex: 0 0 auto;
}
.cell-code {
  font: 600 10.5px/1 var(--mono);
  letter-spacing: 0.08em; color: var(--ink-2);
}
.cell-seats {
  font-family: var(--serif);
  font-size: 22px; letter-spacing: -0.015em; line-height: 1; color: var(--ink);
}
.cell-seats small {
  font: 500 10px var(--mono); color: var(--ink-3);
  letter-spacing: 0.05em; text-transform: uppercase; margin-left: 4px;
}
.cell-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; height: 3px;
}
.cell-bar > i { transition: opacity var(--t-fast); }
.country-wrap[data-active] .cell-bar > i:not(.is-on) { opacity: 0.2; }

/* ───── Country detail drawer (extends bio drawer from commission.css) ───── */
.cd-port {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px; align-items: center;
}
.cd-flag {
  width: 64px; height: 44px;
  border-radius: 8px;
  background-size: cover; background-position: center;
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.15), 0 8px 24px oklch(0 0 0 / 0.4);
}
.cd-name {
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; line-height: 1.1; letter-spacing: -0.015em; margin: 0;
}
.cd-meta {
  font: 500 11.5px/1 var(--mono);
  color: var(--ink-3); letter-spacing: 0.06em;
  text-transform: uppercase; margin-top: 6px;
}
.cd-split { display: grid; gap: 6px; }
.cd-split-row {
  display: grid;
  grid-template-columns: 100px 1fr 36px;
  align-items: center; gap: 12px;
  font: 500 12px/1 var(--mono); color: var(--ink-2);
}
.cd-split-track {
  height: 6px; border-radius: 3px;
  background: var(--bg-deep); overflow: hidden;
}
.cd-split-fill { height: 100%; border-radius: 3px; }
.cd-split-row .count {
  color: var(--ink); text-align: right;
  font-family: var(--serif); font-size: 14px; letter-spacing: -0.01em;
}

/* ───── Plenary cadence strip ───── */
.cadence {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: grid; gap: 18px;
}
.cadence-head { display: flex; align-items: center; gap: 14px; }
.cadence-head h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 20px; letter-spacing: -0.01em; margin: 0;
}
.cadence-head .meta {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.cadence-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 5px;
}
.cadence-cell {
  position: relative; aspect-ratio: 1;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font: 500 10.5px/1 var(--mono); color: var(--ink-3); letter-spacing: 0.04em;
  cursor: default;
  transition: all var(--t-fast) var(--ease-out);
}
.cadence-cell:hover { transform: scale(1.06); border-color: var(--line-strong); }
.cadence-cell.has-plenary {
  background: linear-gradient(180deg, color-mix(in oklab, var(--brass-soft) 40%, var(--surface)) 0%, var(--surface) 100%);
  border-color: color-mix(in oklab, var(--brass) 35%, var(--line));
  color: var(--brass);
}
.cadence-cell.is-now {
  background: var(--brass);
  border-color: var(--brass);
  color: oklch(0.14 0 0);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--brass) 22%, transparent);
}
.cadence-cell .city {
  position: absolute; bottom: 3px;
  font-size: 8.5px; letter-spacing: 0.04em; opacity: 0.65;
}
.cadence-foot {
  display: flex; gap: 18px;
  font: 500 11px/1 var(--mono); color: var(--ink-3); letter-spacing: 0.04em;
}
.cadence-foot i {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 3px; vertical-align: middle; margin-right: 6px;
}
.cadence-foot .strasbourg {
  background: color-mix(in oklab, var(--brass) 60%, var(--surface));
  border: 1px solid color-mix(in oklab, var(--brass) 35%, var(--line));
}
.cadence-foot .brussels { background: var(--bg-deep); border: 1px solid var(--line); }

/* ───── Committee tiles ───── */
.com-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.com {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 20px;
  display: grid; gap: 12px;
  transition: all var(--t-fast) var(--ease-out);
  position: relative; overflow: hidden;
}
.com:hover { border-color: var(--line-2); background: var(--bg-card-hover); transform: translateY(-2px); }
.com-row {
  display: flex; align-items: center; gap: 12px;
  background: color-mix(in oklab, var(--bg-card), white 9%);
  padding: 10px 14px;
  border-radius: 10px;
}
.com-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: color-mix(in oklab, var(--bg-card), white 8%);
  border: 1px solid var(--line-2);
  color: var(--brass);
}
.com-id {
  font: 600 11px/1 var(--mono); letter-spacing: 0.1em; color: var(--brass);
}
.com-name {
  font-family: var(--serif); font-weight: 400;
  font-size: 16px; line-height: 1.2; letter-spacing: -0.01em; margin: 0;
}
.com-body { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.com-foot {
  display: flex; gap: 14px; align-items: center;
  background: color-mix(in oklab, var(--bg-card), white 9%);
  padding: 10px 14px;
  border-radius: 10px;
  border-top: 1px solid var(--line);
  font: 500 11px/1 var(--mono); color: var(--ink-3); letter-spacing: 0.04em;
}
.com-foot b { color: var(--ink); font-weight: 500; }
.com-foot .spacer { flex: 1; }
.com-foot a { color: var(--ink-3); transition: color var(--t-fast) var(--ease-out); }
.com-foot a:hover { color: var(--brass); }
.com-foot .com-open {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: var(--ink-3);
  transition: color var(--t-fast) var(--ease-out);
}
.com-foot .com-open:hover { color: var(--brass); }

/* ───── Card spotlight — parliament additions ───── */
/* Extends commission.css .card-spotlight activation list */
.power-card:hover .card-spotlight,
.vote:hover .card-spotlight,
.com:hover .card-spotlight { opacity: 1; }

/* ───── Responsive ───── */
@media (max-width: 1100px) {
  .hemi-stage { grid-template-columns: 1fr; }
  .groups { grid-template-columns: repeat(3, 1fr); }
  .power-grid { grid-template-columns: 1fr; }
  .vote-grid { grid-template-columns: 1fr; }
  .country-grid { grid-template-columns: repeat(6, 1fr); }
  .com-grid { grid-template-columns: 1fr; }
  .cadence-grid { grid-template-columns: repeat(6, 1fr); }
  .country-head { flex-wrap: wrap; }
  .country-head .lookup { margin-left: 0; width: 100%; }
}
@media (max-width: 760px) {
  .groups,
  .country-grid,
  .hemi-wrap,
  .hemi-head,
  .vote-grid,
  .cadence-grid,
  .country-wrap,
  .power-card,
  .vote,
  .com {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .groups { grid-template-columns: repeat(2, 1fr); }
  .country-grid { grid-template-columns: repeat(3, 1fr); }
  .hemi-wrap { padding: 20px 16px 18px; }
  .hemi-head { grid-template-columns: 1fr; }
  .hemi-head h3 { font-size: 22px; }
  .vote-grid { grid-template-columns: 1fr; }
  .cadence-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .country-wrap { padding: 18px 16px 14px; }
}
@media (max-width: 480px) {
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .cadence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .com-grid { grid-template-columns: 1fr; }
}

/* ───── Reduced motion ───── */
@media (prefers-reduced-motion: reduce) {
  .hemi-seat { transition: none; }
  .cohesion-fill { transition: none; }
  .cell:hover { transform: none; }
  .vote:hover { transform: none; }
  .com:hover { transform: none; }
  .power-card:hover { transform: none; }
  .cadence-cell:hover { transform: none; }
  .power-card:hover .card-spotlight,
  .vote:hover .card-spotlight,
  .com:hover .card-spotlight { opacity: 0; }
}
