:root {
  --paper: #faf9f6;
  --ink: #21323a;
  --muted: #65706e;
  --line: #e1e3dc;
  --soft: #f0f1eb;
  --accent: #ad4b35;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p {
  margin: 0;
}

button, input, select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

a {
  color: inherit;
  text-decoration: none;
}

a, button, input, select, .glossary-term {
  touch-action: manipulation;
  outline-offset: 4px;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, .glossary-term:focus-visible {
  outline: 2px solid var(--accent);
}

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(960px, calc(100% - 64px));
  margin-inline: auto;
}

main {
  min-height: 65vh;
}

main:focus {
  outline: none;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: -80px;
  left: 16px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  top: 12px;
}

.glossary-term {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 1px;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  vertical-align: baseline;
  white-space: inherit;
  text-decoration: underline dotted #8b9690;
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
  cursor: help;
}

.glossary-term:hover, .glossary-term[aria-expanded="true"] {
  background: #e9ece4;
  text-decoration-color: var(--ink);
}

.glossary-popover {
  position: fixed;
  z-index: 30;
  width: 350px;
  padding: 16px 18px 19px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #d6dcd3;
  border-radius: 9px;
  background: #fffefb;
  color: var(--ink);
  box-shadow: 0 8px 32px #21323a20;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
}

.glossary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
}

.glossary-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: -12px -12px -6px 0;
  border-radius: 4px;
  font-size: 23px;
  letter-spacing: 0;
}

.glossary-close:hover { background: var(--soft); }

.glossary-popover h2 {
  margin: 6px 0 9px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.25;
}

.glossary-context {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #50605e;
}

.glossary-credit {
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
}

.glossary-source {
  display: inline-block;
  margin-top: 7px;
  font-size: 11px;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding-block: 8px;
  gap: 24px;
}

.header-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 20px;
}

.header-tagline {
  padding-left: 20px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.wordmark {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1.6px;
  line-height: 1;
}

.wordmark-dot {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
}

.main-nav a, .main-nav button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
}

.main-nav a:hover, .main-nav button:hover {
  color: var(--accent);
}

.proposals-section {
  padding: 24px 0 52px;
  scroll-margin-top: 24px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;
}

.section-heading h1 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -.45px;
  line-height: 1.3;
}

.search-form {
  display: flex;
  align-items: center;
  width: 300px;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.search-form:focus-within {
  border-color: var(--ink);
}

.search-form input {
  width: 100%;
  min-width: 0;
  padding: 10px 0 10px 13px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}

.search-form input::placeholder {
  color: var(--muted);
}

.search-form input:focus {
  outline: none;
}

.search-form button {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 42px;
  height: 40px;
}

.search-form svg {
  width: 16px;
  height: 16px;
}

.topic-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
}

.topic-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 19px;
}

.topic-pill {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.topic-pill:hover {
  color: var(--ink);
}

.topic-pill.active {
  border-bottom-color: var(--ink);
  color: var(--ink);
}

.result-count {
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
}

.sort-control {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 9px;
  font-size: 12px;
}

.sort-control label {
  color: var(--muted);
  font-size: 11px;
}

.sort-control select {
  max-width: 100%;
  padding: 7px 24px 7px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
}

.ranking-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 12px;
}

.ranking-note {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 11px;
}

.ranking-note button {
  padding: 0;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ranking-note button:hover {
  color: var(--ink);
}

.article-grid {
  display: block;
}

.article-card {
  position: relative;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.meta-dot {
  color: #9aa29b;
}

.article-card h2 {
  max-width: 820px;
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -.45px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.article-card h2 a::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: '';
}

.article-card:hover h2 a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.card-excerpt {
  display: -webkit-box;
  max-width: 820px;
  margin-top: 10px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-excerpt .glossary-term {
  position: relative;
  z-index: 2;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.importance-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.importance-badge span {
  color: var(--ink);
}

.importance-badge:hover {
  border-color: #aab3aa;
  background: var(--soft);
}

.detail-importance {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 11px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.pagination > span {
  color: var(--muted);
  font-size: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  line-height: 1.5;
}

.button:hover:not(:disabled) {
  background: #34474d;
}

.button.secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover:not(:disabled) {
  border-color: #aab3aa;
  background: transparent;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: var(--ink);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.text-link:hover {
  color: var(--accent);
}

.empty-state {
  padding: 48px 16px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.empty-state h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.3;
}

.empty-state p {
  max-width: 440px;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 14px;
}

.notice {
  margin-bottom: 22px;
  padding: 12px 15px;
  border-left: 2px solid var(--accent);
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.skeleton-grid {
  display: block;
}

.skeleton-card {
  height: 155px;
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, transparent 20%, #eceee7 50%, transparent 80%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
  opacity: .55;
}

.site-footer {
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-notes p + p {
  margin-top: 3px;
}

.site-footer a, .site-footer button {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer button {
  padding: 0;
  font-size: inherit;
}

.article-detail {
  max-width: 720px;
  margin-inline: auto;
  padding-bottom: 54px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 29px 0 31px;
  color: var(--muted);
  font-size: 12px;
}

.back-link:hover {
  color: var(--accent);
}

.detail-header {
  padding-bottom: 30px;
}

.detail-header h1 {
  margin-top: 15px;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -1.1px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.article-lead {
  margin-top: 20px;
  font-size: 20px;
  line-height: 1.65;
  color: #4b5d61;
}

.detail-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.summary-section {
  margin-bottom: 30px;
}

.summary-section h2, .excerpt-block h2, .fact-box h2 {
  margin-bottom: 13px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -.35px;
  line-height: 1.3;
}

.summary-section p, .excerpt-block > p {
  font-size: 16px;
  line-height: 1.85;
  white-space: pre-line;
}

.summary-section p.quote-note, .excerpt-block > p.quote-note {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.content-origin, .summary-section .content-origin, .excerpt-block > .content-origin {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  white-space: normal;
}

.origin-label {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--soft);
  color: #475b50;
}

.origin-ai .origin-label {
  border-color: #e8d2c6;
  background: #f7eee8;
  color: #873c29;
}

.article-card > .content-origin {
  margin-top: 10px;
  margin-bottom: 0;
}

#article-introduction {
  margin-top: 20px;
}

#article-introduction > h1 {
  margin-top: 9px;
}

#article-introduction > h1 + .content-origin {
  margin-top: 20px;
}

#article-introduction > .content-origin + .article-lead {
  margin-top: 8px;
}

.source-quotations blockquote {
  margin: 0;
  padding: 3px 0 3px 17px;
  border-left: 3px solid #a2afa2;
}

.source-quotations blockquote + blockquote {
  margin-top: 18px;
}

.source-quotations p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.quote-source {
  display: inline-block;
  margin-top: 17px;
  font-size: 12px;
}

.source-excerpt {
  padding-left: 17px;
  border-left: 3px solid #a2afa2;
  overflow-wrap: anywhere;
}

.key-points {
  margin: 0;
  padding-left: 21px;
  list-style: disc;
}

.key-points li {
  padding-left: 4px;
  font-size: 16px;
  line-height: 1.85;
}

.key-points li + li {
  margin-top: 15px;
}

.key-points li::marker {
  color: #929e96;
  font-size: 11px;
}

.affected-tags {
  margin: 0;
  padding-left: 21px;
  font-size: 15px;
}

.affected-tags li + li {
  margin-top: 6px;
}

.summary-disclaimer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.summary-disclaimer p + p {
  margin-top: 8px;
}

.summary-disclaimer strong {
  color: var(--ink);
  font-weight: 400;
}

.summary-credit {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
}

.fact-box {
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.fact-box h2 {
  font-size: 22px;
}

.fact-box p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.voting-section {
  min-width: 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.voting-section > h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -.4px;
  line-height: 1.3;
}

.voting-intro, .vote-context, .vote-table-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.voting-intro {
  margin-bottom: 22px;
  font-size: 13px;
}

.vote-select-control, .member-filters > div {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.vote-select-control label, .member-filters label {
  color: var(--muted);
  font-size: 11px;
}

.vote-select-control select, .member-filters input, .member-filters select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
}

.vote-select-control select, .member-filters select {
  padding-right: 26px;
  cursor: pointer;
}

.vote-point {
  margin-top: 24px;
}

.vote-relation {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
}

.vote-point h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.vote-source {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.vote-source a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vote-stage {
  margin-top: 18px;
  font-size: 12px;
}

.vote-description {
  margin-top: 4px;
  font-size: 14px;
}

.vote-options {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  font-size: 13px;
}

.vote-options > div {
  display: flex;
  gap: 12px;
}

.vote-options dt {
  width: 26px;
  flex-shrink: 0;
  font-weight: 700;
}

.vote-options dd {
  margin: 0;
}

.vote-proposal, .pending-reports {
  margin-top: 16px;
  font-size: 12px;
}

.voting-section summary {
  cursor: pointer;
  outline-offset: 4px;
}

.voting-section summary:focus-visible, .vote-table-scroll:focus-visible {
  outline: 2px solid var(--accent);
}

.vote-proposal > p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.85;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.vote-status {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.vote-status h3, .vote-status h4 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
}

.vote-status p + p, .vote-notice p + p {
  margin-top: 8px;
}

.vote-status .button {
  margin-top: 14px;
}

.pending-report-status {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.pending-reports > p {
  margin-top: 10px;
}

.vote-notice {
  margin-top: 18px;
  margin-bottom: 18px;
}

.rollcall-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 25px;
  margin-bottom: 10px;
}

.rollcall-heading h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.rollcall-heading time {
  color: var(--muted);
  font-size: 11px;
}

.vote-graphic {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fdfcf9;
}

.vote-graphic figcaption {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -.3px;
}

.vote-chart-rows {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.vote-chart-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 12px;
}

.vote-chart-label {
  font-size: 12px;
}

.vote-bar {
  width: 100%;
  height: 24px;
  overflow: hidden;
}

.vote-track {
  fill: #edece6;
}

.vote-segment {
  stroke: #fdfcf9;
  stroke-width: 1.5;
  transition: opacity .15s ease;
}

.vote-segment.is-muted {
  opacity: .15;
}

.vote-chart-total {
  text-align: right;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.party-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.party-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  font-size: 11px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.party-key svg {
  flex-shrink: 0;
}

.party-key[aria-pressed="true"] {
  border-color: var(--ink);
  background: #e9ece7;
}

.party-key:hover {
  border-color: var(--muted);
}

.vote-party-detail {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.vote-party-detail:not(:empty) {
  margin-top: 12px;
}

.vote-party-detail strong, .vote-party-detail span {
  display: block;
}

.vote-party-detail strong {
  color: var(--ink);
  font-weight: 400;
}

.party-counts {
  margin-top: 15px;
}

.party-counts > summary {
  padding-block: 6px;
  font-size: 12px;
}

.party-counts[open] > summary {
  margin-bottom: 10px;
}

.vote-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  outline-offset: 3px;
}

.vote-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1.6;
}

.vote-table th, .vote-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  font-weight: 400;
}

.vote-table th:first-child, .vote-table td:first-child {
  padding-left: 0;
  text-align: left;
}

.vote-table th:last-child, .vote-table td:last-child {
  padding-right: 0;
}

.vote-table thead th {
  color: var(--muted);
  font-size: 11px;
}

.vote-table tfoot th, .vote-table tfoot td {
  border-bottom: 0;
  font-weight: 700;
}

.party-table {
  min-width: 400px;
}

.party-table abbr {
  text-decoration: none;
}

.party-split {
  margin-left: 7px;
  color: var(--muted);
  font-size: 10px;
}

.vote-table-note {
  margin-top: 12px;
  font-size: 11px;
}

.vote-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 23px;
  margin-top: 16px;
}

.vote-downloads .text-link {
  font-size: 12px;
}

.member-votes {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.member-votes > summary {
  font-size: 14px;
}

.member-votes > summary span {
  margin-left: 7px;
  color: var(--muted);
  font-size: 11px;
}

.member-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.member-count {
  margin: 16px 0 8px;
  color: var(--muted);
  font-size: 11px;
}

.member-table {
  table-layout: fixed;
}

.member-table th:first-child {
  width: 56%;
}

.member-table th:nth-child(2) {
  width: 15%;
}

.member-table th, .member-table td {
  vertical-align: top;
  overflow-wrap: anywhere;
}

.member-constituency {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.member-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
}

.member-pagination > span {
  color: var(--muted);
  font-size: 11px;
}

.summary-waiting {
  margin-bottom: 29px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.summary-waiting h2 {
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.3;
}

.summary-waiting p {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.summary-waiting p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.summary-waiting .eyebrow {
  margin-bottom: 9px;
  font-size: 10px;
}

.excerpt-block .eyebrow {
  margin-bottom: 9px;
  font-size: 10px;
}

.excerpt-block > p {
  color: var(--muted);
}

.spinner {
  display: block;
  width: 18px;
  height: 18px;
  margin-bottom: 18px;
  border: 2px solid var(--line);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}

.detail-loading {
  max-width: 720px;
  min-height: 50vh;
  margin-inline: auto;
}

.detail-loading .skeleton-card {
  height: 250px;
}

dialog {
  width: min(560px, calc(100% - 32px));
  max-height: 85vh;
  padding: 24px 29px 30px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 12px 65px #21323a20;
}

dialog::backdrop {
  background: #21323a55;
}

.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.icon-button {
  width: 32px;
  height: 32px;
  font-size: 25px;
  line-height: 1;
}

#dialog-content h2 {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -.6px;
  line-height: 1.25;
}

#dialog-content h3 {
  margin: 21px 0 6px;
  font-size: 13px;
  font-weight: 700;
}

#dialog-content p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

#dialog-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#dialog-content code {
  padding: 2px 4px;
  border-radius: 2px;
  background: var(--soft);
  font-size: 12px;
}

#dialog-content pre {
  margin: 12px 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--soft);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

#dialog-content pre code {
  padding: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .header-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .header-tagline {
    padding-left: 0;
    border-left: 0;
    font-size: 11px;
  }

  .wordmark {
    font-size: 28px;
  }

  .proposals-section {
    padding-top: 20px;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
  }

  .search-form {
    width: 100%;
  }

  .topic-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
  }

  .topic-pills {
    gap: 2px 17px;
  }

  .ranking-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .ranking-note {
    flex-shrink: 1;
  }

  .article-card h2 {
    font-size: 25px;
  }

  .detail-header h1 {
    font-size: 35px;
    letter-spacing: -.8px;
  }

  .detail-header {
    padding-bottom: 27px;
  }

  .back-link {
    margin: 24px 0 27px;
  }

  .pagination {
    gap: 18px;
  }
}

@media (max-width: 430px) {
  .vote-graphic {
    padding: 16px 14px;
  }

  .vote-chart-row {
    grid-template-columns: 72px minmax(0, 1fr) 30px;
    gap: 8px;
  }

  .vote-chart-label {
    font-size: 11px;
  }

  .party-key {
    min-height: 44px;
    padding-inline: 9px;
  }

  .member-filters {
    grid-template-columns: 1fr;
  }

  .member-pagination .button {
    padding-inline: 11px;
  }

  .wrap {
    width: calc(100% - 36px);
  }

  .header-inner {
    gap: 18px;
  }

  .main-nav {
    gap: 18px;
    font-size: 11px;
  }

  .main-nav .nav-latest {
    display: none;
  }

  .section-heading h1 {
    font-size: 24px;
  }

  .topic-pills {
    gap: 2px 16px;
  }

  .topic-pill {
    font-size: 11px;
  }

  .article-card {
    padding: 24px 0;
  }

  .article-card h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .card-meta {
    font-size: 11px;
  }

  .card-excerpt {
    font-size: 14px;
  }

  .detail-header h1 {
    font-size: 32px;
  }

  .article-lead {
    font-size: 20px;
  }

  .pagination {
    gap: 13px;
  }

  .pagination > span {
    font-size: 11px;
  }

  .pagination .button {
    gap: 6px;
    padding-inline: 11px;
  }

  .summary-waiting {
    padding: 18px;
  }

  dialog {
    padding: 19px 21px 25px;
  }

  #dialog-content h2 {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
