:root {
  --house-dem: var(--dem, #557fae);
  --house-dem-deep: #345f8d;
  --house-rep: var(--rep, #c96868);
  --house-rep-deep: #9d3f3f;
  --house-paper: var(--panel, #fffefa);
  --house-soft: var(--panel-soft, #f3f0e8);
}

body[data-page="house"] {
  --house-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI",
    Helvetica, Arial, sans-serif;
  background: var(--canvas, #f4f0e8);
  color: var(--ink, #17231f);
  font-family: var(--house-font-sans);
  overflow-x: clip;
}

html:has(body[data-page="house"]) {
  background: var(--canvas, #f4f0e8);
}

body[data-page="house"] .site-header {
  border: 0;
  border-bottom: 1px solid var(--line, #d8d5cc);
  background: color-mix(in srgb, var(--panel, #fffefa) 94%, transparent);
  box-shadow: 0 1px 0 rgba(21, 34, 28, 0.035);
  backdrop-filter: blur(16px) saturate(130%);
}

body[data-page="house"] .site-header .header-inner {
  width: min(1400px, calc(100% - 48px));
  min-height: 68px;
}

body[data-page="house"] .brand-mark {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

body[data-page="house"] .brand-title {
  color: var(--ink, #17231f);
  font-family: var(--house-font-sans);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.018em;
}

body[data-page="house"] .primary-nav {
  gap: clamp(18px, 2vw, 28px);
}

body[data-page="house"] .primary-nav a {
  color: var(--muted, #646b68);
  font-family: var(--house-font-sans);
  font-size: 0.8rem;
  font-weight: 620;
}

body[data-page="house"] .primary-nav a:hover,
body[data-page="house"] .primary-nav a:focus-visible,
body[data-page="house"] .primary-nav a[aria-current="page"] {
  color: var(--ink, #17231f);
}

body[data-page="house"] .scroll-progress span {
  background: var(--gold, #d4a64a);
}

body[data-page="house"] :is(a, button, input, select, [tabindex]):focus-visible {
  outline: 3px solid #18514c;
  outline-offset: 3px;
}

.house-main {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.house-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-surface, 12px);
  color: #fff;
  background: var(--ink, #17231f);
  box-shadow: 0 20px 50px rgba(23, 35, 31, 0.14);
}

.house-intro .eyebrow {
  color: var(--mint, #a9d7c9);
}

.house-intro h1 {
  max-width: 17ch;
  margin: 8px 0 16px;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.house-intro-copy > p {
  max-width: 68ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(0.96rem, 1.4vw, 1.08rem);
  line-height: 1.65;
}

.house-inline-paper {
  color: #fff;
  font-weight: 750;
  text-decoration-color: rgba(255, 255, 255, 0.58);
  text-underline-offset: 0.18em;
}

.house-inline-paper:hover,
.house-inline-paper:focus-visible {
  text-decoration-color: var(--gold, #d4a64a);
}

.house-scope-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 4px solid var(--gold, #d4a64a);
  border-radius: var(--radius-surface, 12px);
  background: rgba(255, 255, 255, 0.08);
}

.house-scope-card span,
.house-scope-card small {
  display: block;
}

.house-scope-card span {
  color: var(--mint, #a9d7c9);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.house-scope-card strong {
  display: block;
  margin: 10px 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  line-height: 1.15;
}

.house-scope-card small {
  color: rgba(255, 255, 255, 0.67);
  line-height: 1.45;
}

.house-controls,
.house-chamber-card,
.house-trajectory {
  border: 1px solid var(--line, #d8d5cc);
  border-radius: var(--radius-surface, 12px);
  background: var(--house-paper);
  box-shadow: 0 12px 34px rgba(29, 42, 38, 0.055);
}

.house-controls {
  margin-top: 22px;
  padding: clamp(22px, 3vw, 34px);
}

.house-control-heading,
.house-chamber-heading,
.house-trajectory-heading {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.house-control-heading h2,
.house-chamber-heading h2,
.house-trajectory-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  line-height: 1.12;
}

.house-spec-badge,
.house-live-status {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(38, 118, 111, 0.28);
  border-radius: var(--radius-control, 6px);
  color: var(--accent-dark, #1e645f);
  background: var(--accent-soft, #e6f1ee);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.house-spec-badge {
  text-decoration: none;
}

.house-control-grid {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line, #d8d5cc);
}

.house-year-field,
.house-weight-field {
  min-width: 0;
}

.house-year-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius-control, 7px);
  background: var(--house-soft);
}

.house-year-field > span,
.house-weight-heading label {
  color: var(--ink, #17231f);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.house-year-field select {
  width: 100%;
  min-height: 44px;
  padding: 8px 34px 8px 11px;
  border: 1px solid var(--line-strong, #aaa79e);
  color: var(--ink, #17231f);
  background-color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.house-year-field small {
  color: var(--muted, #646b68);
  line-height: 1.45;
}

.house-weight-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.house-weight-heading output {
  color: var(--accent-dark, #1e645f);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  text-align: right;
}

.house-weight-track {
  position: relative;
  display: flex;
  min-height: 52px;
  align-items: center;
  margin-top: 7px;
}

.house-weight-track input[type="range"] {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 44px;
  margin: 0;
  accent-color: var(--accent, #26766f);
  cursor: pointer;
}

.house-weight-markers {
  position: absolute;
  z-index: 1;
  inset: 50% 9px auto;
  height: 15px;
  transform: translateY(-50%);
  pointer-events: none;
}

.house-weight-marker {
  position: absolute;
  top: 50%;
  width: 2px;
  height: 13px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--gold, #d4a64a) 78%, var(--ink, #17231f));
  transform: translate(-1px, -50%);
  opacity: 0.72;
}

.house-weight-scale {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: -3px;
  color: var(--muted, #646b68);
  font-size: 0.7rem;
  font-weight: 700;
}

.house-weight-tools {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.house-weight-tools > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.house-weight-tools button {
  min-height: 44px;
}

.house-weight-tools p,
.house-weight-reading {
  margin: 0;
  color: var(--muted, #646b68);
  font-size: 0.77rem;
  line-height: 1.45;
}

.house-weight-tools p {
  max-width: 36ch;
  text-align: right;
}

.house-weight-reading {
  margin-top: 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--gold, #d4a64a);
  color: var(--ink, #17231f);
  background: var(--house-soft);
  font-weight: 700;
}

.house-dashboard {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.house-chamber-card {
  padding: clamp(22px, 3vw, 36px);
  overflow: hidden;
}

.house-seat-summary {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  margin: 24px 0 8px;
  padding: 22px clamp(18px, 4vw, 40px);
  border-radius: var(--radius-surface, 10px);
  background: var(--house-soft);
}

.house-party-total {
  display: grid;
  grid-template-columns: auto min-content auto;
  gap: 8px;
  align-items: baseline;
}

.house-party-total.is-rep {
  text-align: right;
}

.house-party-total span,
.house-party-total small {
  color: var(--muted, #646b68);
  font-size: 0.72rem;
  font-weight: 800;
}

.house-party-total strong {
  color: var(--house-dem-deep);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.4rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.house-party-total.is-rep strong {
  color: var(--house-rep-deep);
}

.house-total-divider {
  width: 1px;
  height: 76px;
  background: var(--line, #d8d5cc);
}

.house-chamber {
  position: relative;
  display: block;
  width: min(100%, 1080px);
  height: clamp(210px, 38vw, 450px);
  margin: 2px auto 0;
  overflow: hidden;
  border-bottom: 2px solid color-mix(in srgb, var(--line-strong, #aaa79e) 65%, transparent);
  background:
    repeating-radial-gradient(
      ellipse 49% 90% at 50% 96%,
      transparent 0 7.7%,
      rgba(38, 118, 111, 0.055) 7.9% 8.25%,
      transparent 8.45% 15.7%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(243, 240, 232, 0.76));
}

.house-seat {
  position: absolute;
  z-index: 2;
  width: clamp(5px, 0.82vw, 10px);
  height: clamp(5px, 0.82vw, 10px);
  border-radius: 50%;
  background: #d8d6cf;
  box-shadow:
    0 0 0 1px rgba(23, 35, 31, 0.16),
    0 1px 3px rgba(23, 35, 31, 0.2);
  transform: translate(-50%, -50%);
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

.house-seat.is-uncovered {
  background: #d8d6cf;
  box-shadow:
    0 0 0 1px rgba(23, 35, 31, 0.12),
    0 1px 2px rgba(23, 35, 31, 0.12);
}

.house-seat.is-dem {
  background: var(--house-dem);
}

.house-seat.is-rep {
  background: var(--house-rep);
}

.house-chamber-dais {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 0;
  width: clamp(58px, 8vw, 90px);
  height: clamp(13px, 1.8vw, 21px);
  border: 1px solid rgba(23, 35, 31, 0.18);
  border-bottom: 0;
  border-radius: 42px 42px 0 0;
  background: color-mix(in srgb, var(--accent-dark, #1e645f) 80%, var(--ink, #17231f));
  box-shadow: 0 -3px 10px rgba(23, 35, 31, 0.11);
  transform: translateX(-50%);
}

.house-chamber-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: center;
  margin-top: 13px;
  color: var(--muted, #646b68);
  font-size: 0.72rem;
  font-weight: 750;
}

.house-chamber-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.house-chamber-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d8d6cf;
  box-shadow: 0 0 0 1px rgba(23, 35, 31, 0.16);
}

.house-chamber-legend i.is-dem {
  background: var(--house-dem);
}

.house-chamber-legend i.is-rep {
  background: var(--house-rep);
}

.house-chamber-note {
  margin: 7px auto 0;
  color: var(--muted, #646b68);
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
}

.house-vote-seat-band {
  display: grid;
  grid-template-columns: minmax(105px, auto) minmax(160px, 1fr) minmax(105px, auto);
  gap: clamp(10px, 2vw, 20px);
  align-items: end;
  margin-top: 18px;
}

.house-vote-share {
  display: grid;
  gap: 2px;
}

.house-vote-share.is-rep {
  text-align: right;
}

.house-vote-share span,
.house-seat-bar-wrap > span {
  color: var(--muted, #646b68);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.house-vote-share strong {
  color: var(--house-dem-deep);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.house-vote-share.is-rep strong {
  color: var(--house-rep-deep);
}

.house-seat-bar-wrap {
  display: grid;
  gap: 7px;
  text-align: center;
}

.house-composition-bar {
  display: flex;
  height: 16px;
  overflow: hidden;
  border: 1px solid rgba(23, 35, 31, 0.12);
  border-radius: 999px;
  background: #e5e3dc;
  box-shadow: inset 0 1px 2px rgba(23, 35, 31, 0.1);
}

.house-composition-bar span {
  display: block;
  min-width: 1px;
}

.house-composition-bar .is-dem {
  background: var(--house-dem);
}

.house-composition-bar .is-rep {
  background: var(--house-rep);
}

.house-vote-note {
  margin: 9px 0 0;
  color: var(--muted, #646b68);
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
}

.house-coverage-meter {
  display: grid;
  grid-template-columns: minmax(135px, auto) minmax(120px, 1fr);
  gap: 10px 18px;
  align-items: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line, #d8d5cc);
}

.house-coverage-meter > div:first-child {
  display: grid;
  gap: 2px;
}

.house-coverage-meter span,
.house-coverage-meter p {
  color: var(--muted, #646b68);
  font-size: 0.72rem;
}

.house-coverage-meter strong {
  font-variant-numeric: tabular-nums;
}

.house-coverage-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfddd6;
}

.house-coverage-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent, #26766f);
  transition: width 220ms ease;
}

.house-coverage-meter p {
  grid-column: 1 / -1;
  margin: 0;
  line-height: 1.45;
}

.house-summary-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.house-summary-card {
  display: flex;
  min-width: 0;
  min-height: 138px;
  flex-direction: column;
  justify-content: center;
  padding: 20px 22px;
  border: 1px solid var(--line, #d8d5cc);
  border-top: 4px solid color-mix(in srgb, var(--accent, #26766f) 72%, transparent);
  border-radius: var(--radius-surface, 10px);
  background: var(--house-paper);
  box-shadow: 0 8px 24px rgba(29, 42, 38, 0.045);
}

.house-summary-card > span {
  color: var(--muted, #646b68);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.house-summary-card > strong {
  display: block;
  margin: 8px 0 5px;
  color: var(--ink, #17231f);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.house-summary-card p {
  margin: 0;
  color: var(--muted, #646b68);
  font-size: 0.76rem;
  line-height: 1.45;
}

.house-trajectory {
  margin-top: 22px;
  padding: clamp(22px, 3vw, 34px);
}

.house-trajectory-heading {
  align-items: end;
}

.house-trajectory-heading > p {
  max-width: 42ch;
  margin: 0;
  padding: 8px 10px;
  border-radius: var(--radius-control, 6px);
  color: var(--accent-dark, #1e645f);
  background: var(--accent-soft, #e6f1ee);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: right;
}

.house-chart-scroll {
  margin-top: 24px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid var(--line, #d8d5cc);
  border-radius: var(--radius-surface, 10px);
  background: #fff;
}

.house-chart-scroll:focus-visible {
  outline: 3px solid var(--accent-dark, #1e645f);
  outline-offset: 3px;
}

.house-seat-share-chart {
  display: block;
  width: 100%;
  min-width: 760px;
  height: auto;
  cursor: crosshair;
}

.house-chart-grid > line {
  stroke: #e5e2d9;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.house-chart-axes > line {
  stroke: #8f9692;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.house-chart-tick-label,
.house-chart-axis-title,
.house-chart-majority text {
  fill: var(--muted, #646b68);
  font-family: var(--font-body, system-ui, sans-serif);
}

.house-chart-tick-label {
  font-size: 15px;
}

.house-chart-y-tick {
  dominant-baseline: middle;
  text-anchor: end;
}

.house-chart-x-tick {
  text-anchor: middle;
}

.house-chart-axis-title {
  fill: var(--ink, #17231f);
  font-size: 16px;
  font-weight: 800;
  text-anchor: middle;
}

.house-chart-majority line {
  stroke: color-mix(in srgb, var(--gold, #d4a64a) 78%, var(--ink, #17231f));
  stroke-dasharray: 6 5;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.house-chart-majority text {
  fill: #7b5719;
  font-size: 14px;
  font-weight: 800;
  text-anchor: end;
}

.house-chart-path {
  fill: none;
  stroke: var(--house-dem-deep);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.5;
  vector-effect: non-scaling-stroke;
}

.house-chart-events circle {
  fill: #fff;
  stroke: var(--house-dem-deep);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.house-chart-current-guide {
  stroke: var(--accent-dark, #1e645f);
  stroke-dasharray: 4 4;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.house-chart-current-point {
  fill: var(--gold, #d4a64a);
  stroke: #fff;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 2px 3px rgba(23, 35, 31, 0.25));
}

.house-chart-cue {
  display: none;
  margin: 8px 0 0;
  color: var(--muted, #646b68);
  font-size: 0.72rem;
  font-weight: 750;
  text-align: right;
}

.house-chart-scale-note {
  margin: 10px 0 0;
  color: var(--muted, #646b68);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
}

.house-control-heading h2,
.house-chamber-heading h2,
.house-trajectory-heading h2,
.house-intro h1,
.house-coverage-meter p,
.house-summary-card,
.house-weight-reading {
  overflow-wrap: anywhere;
}

@media (max-width: 820px) {
  .house-main {
    width: min(100% - 24px, 1220px);
    padding-top: 18px;
  }

  .house-intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .house-intro h1 {
    max-width: 19ch;
  }

  .house-control-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .house-year-field {
    display: grid;
    grid-template-columns: minmax(120px, 0.35fr) minmax(180px, 0.65fr);
    align-items: center;
  }

  .house-year-field small {
    grid-column: 1 / -1;
  }

  .house-summary-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body[data-page="house"] .site-header .header-inner {
    width: min(100% - 24px, 1400px);
    min-height: 0;
    padding-top: 9px;
  }

  body[data-page="house"] .primary-nav a {
    min-height: 44px;
  }
}

@media (max-width: 620px) {
  .house-intro,
  .house-controls,
  .house-chamber-card,
  .house-trajectory {
    padding: 20px;
  }

  .house-intro h1 {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
  }

  .house-control-heading,
  .house-chamber-heading,
  .house-trajectory-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .house-control-grid {
    gap: 20px;
    margin-top: 20px;
  }

  .house-year-field {
    display: flex;
  }

  .house-weight-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .house-weight-tools p,
  .house-trajectory-heading > p {
    max-width: none;
    text-align: left;
  }

  .house-seat-summary {
    gap: 12px;
    padding: 16px;
  }

  .house-party-total {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    align-items: baseline;
  }

  .house-party-total.is-rep {
    justify-content: flex-end;
  }

  .house-party-total span {
    flex-basis: 100%;
  }

  .house-party-total strong {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }

  .house-chamber {
    height: clamp(205px, 62vw, 270px);
  }

  .house-summary-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .house-summary-card {
    min-height: 0;
  }

  .house-chart-cue {
    display: block;
  }

  .house-chart-scroll {
    scrollbar-color: var(--gold, #d4a64a) transparent;
    scrollbar-width: thin;
  }
}

@media (max-width: 390px) {
  .house-main {
    width: min(100% - 18px, 1220px);
  }

  .house-intro,
  .house-controls,
  .house-chamber-card,
  .house-trajectory {
    padding: 17px;
  }

  .house-weight-tools > div {
    width: 100%;
  }

  .house-weight-tools button {
    flex: 1 1 130px;
  }

  .house-seat-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .house-total-divider {
    width: 100%;
    height: 1px;
  }

  .house-party-total.is-rep {
    justify-content: flex-start;
    text-align: left;
  }

  .house-vote-seat-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "bar bar"
      "dem rep";
    gap: 10px 14px;
  }

  .house-seat-bar-wrap {
    grid-area: bar;
  }

  .house-vote-share.is-dem {
    grid-area: dem;
  }

  .house-vote-share.is-rep {
    grid-area: rep;
  }

  .house-vote-share span,
  .house-seat-bar-wrap > span {
    font-size: 0.68rem;
  }

  .house-coverage-meter {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 340px) {
  .house-intro,
  .house-controls,
  .house-chamber-card,
  .house-trajectory {
    padding: 15px;
  }

  .house-intro h1 {
    font-size: 2rem;
  }

  .house-weight-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .house-weight-heading output {
    text-align: left;
  }

  .house-party-total strong {
    font-size: 2.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .house-seat,
  .house-coverage-track span {
    transition: none;
  }
}

@media print {
  .house-controls,
  .site-header,
  .site-footer {
    display: none !important;
  }

  .house-main {
    width: 100%;
    padding: 0;
  }

  .house-intro {
    color: #000;
    background: #fff;
    box-shadow: none;
  }

  .house-intro h1,
  .house-intro-copy > p,
  .house-scope-card strong,
  .house-scope-card small {
    color: #000;
  }
}
