:root {
  --congress-fast: #e4bf5f;
  --congress-guardrails: #61c7b2;
  --congress-slow: #c978df;
  --congress-unclassified: #34444d;
  --congress-paper: #dfe8e6;
}

.congress-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.congress-nav-link::after {
  content: "Beta";
  padding: 2px 5px;
  border: 1px solid rgba(97, 199, 178, .35);
  color: var(--teal-soft);
  font-size: 7px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.congress-subnav {
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 13, 18, .96);
}

.congress-subnav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 46px;
}

.congress-subnav a {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.congress-subnav a:hover,
.congress-subnav a:focus-visible,
.congress-subnav a[aria-current="page"] { color: var(--teal-soft); }

.congress-page {
  --muted: #b5c2c6;
  background:
    radial-gradient(circle at 85% 8%, rgba(97, 199, 178, .08), transparent 24%),
    var(--bg);
}

.congress-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 72px;
  border-bottom: 1px solid var(--line);
}

.congress-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(119, 185, 231, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 185, 231, .03) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.congress-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr);
  gap: 70px;
  align-items: center;
}

.congress-hero h1 {
  max-width: 780px;
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(54px, 7vw, 92px);
  font-weight: 450;
  line-height: calc(.94em + 22px);
  letter-spacing: -.035em;
}

.congress-hero h1 em {
  color: var(--teal-soft);
  font-style: normal;
}

.congress-lead {
  max-width: 700px;
  margin: 0;
  color: #bdc9cc;
  font-size: 18px;
  line-height: 1.72;
}

.preview-note {
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--teal);
  background: rgba(10, 21, 28, .86);
}

.preview-note-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--teal-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.preview-note-label span:last-child { color: var(--muted); }
.preview-note p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.coverage-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--line);
  background: var(--line);
}

.coverage-status {
  display: grid;
  position: relative;
  min-width: 0;
  min-height: 124px;
  padding: 20px 16px;
  place-content: center;
  color: inherit;
  text-align: center;
  text-decoration: none;
  background: rgba(8, 17, 23, .92);
  transition: background .18s ease, color .18s ease;
}

.coverage-status:hover,
.coverage-status:focus-visible { background: rgba(97, 199, 178, .08); outline: none; }

.coverage-status span {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.coverage-status strong { display: block; font-family: var(--serif); font-size: 34px; font-weight: 450; line-height: 1; }
.coverage-status small {
  position: absolute;
  right: 10px;
  bottom: 9px;
  left: 10px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
}
.coverage-status.is-coming small { display: block; color: var(--amber); font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }

.congress-section { padding: 78px 0; border-bottom: 1px solid var(--line); }
.congress-page [hidden] { display: none !important; }
.congress-view-switcher .button { cursor: pointer; background: transparent; color: var(--text); font: inherit; }
.congress-view-switcher .button.primary { background: var(--teal); border-color: var(--teal); color: #071115; }
.congress-section.compact { padding: 54px 0; }

.congress-section-head {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 46px;
  align-items: end;
  margin-bottom: 38px;
}

.congress-section-head h2,
.coverage-expansion-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 450;
  line-height: 1;
  letter-spacing: -.02em;
}

.congress-section-head p { max-width: 680px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.congress-section-head.reviewed-head { align-items: center; }
.congress-section-head.reviewed-head p { justify-self: end; }

#senate-chamber .congress-section-head {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 38px;
}

#senate-chamber .congress-section-head h2 { white-space: nowrap; }
#senate-chamber .congress-section-head p { justify-self: end; }

.chamber-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(290px, .62fr);
  min-height: 610px;
  border: 1px solid var(--line);
  background: #09141a;
}

.chamber-panel {
  position: relative;
  min-width: 0;
  padding: 26px 30px 30px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 93%, rgba(97, 199, 178, .08), transparent 42%),
    #09141a;
}

.chamber-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.chamber-title span,
.profile-kicker,
.directory-kicker {
  display: block;
  color: var(--teal);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.chamber-title strong { font-family: var(--serif); font-size: 28px; font-weight: 450; }
.chamber-note { max-width: 245px; color: var(--muted); font-size: 9px; line-height: 1.45; text-align: right; }

.chamber-view-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 13px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chamber-view-label {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.chamber-view-options { display: flex; flex-wrap: wrap; gap: 6px; }
.chamber-view-button {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid transparent;
  color: var(--muted);
  background: transparent;
  font-size: 9px;
  cursor: pointer;
}
.chamber-view-button:hover { color: var(--text); }
.chamber-view-button[aria-pressed="true"] { border-color: rgba(97, 199, 178, .45); color: var(--text); background: rgba(97, 199, 178, .08); }

.senate-chamber {
  position: relative;
  width: 100%;
  min-height: 460px;
  margin: 0 auto;
}

.senate-chamber::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7%;
  width: 29%;
  height: 20%;
  transform: translateX(-50%);
  border: 1px solid rgba(97, 199, 178, .2);
  border-radius: 50% 50% 8px 8px;
  background: rgba(97, 199, 178, .025);
}

.chamber-dais {
  position: absolute;
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
  color: #577078;
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.senate-seat {
  position: absolute;
  width: 13px;
  height: 13px;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(207, 222, 222, .12);
  border-radius: 50%;
  background: var(--congress-unclassified);
  box-shadow: 0 0 0 3px transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.senate-seat:hover,
.senate-seat:focus-visible,
.senate-seat.is-active {
  z-index: 3;
  transform: translate(-50%, -50%) scale(1.45);
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .08);
  outline: none;
}

.senate-seat[data-camp="MOVE_FASTER"] { background: var(--congress-fast); }
.senate-seat[data-camp="SET_GUARDRAILS"] { background: var(--congress-guardrails); }
.senate-seat[data-camp="SLOW_DOWN"] { background: var(--congress-slow); }
.senate-seat[data-position="5"] { background: #e4bf5f; }
.senate-seat[data-position="4"] { background: #a8c86c; }
.senate-seat[data-position="3"] { background: #61c7b2; }
.senate-seat[data-position="2"] { background: #e56f88; }
.senate-seat[data-position="1"] { background: #c978df; }
.senate-seat[data-classified="true"] { border-color: rgba(255, 255, 255, .72); box-shadow: 0 0 11px rgba(255, 255, 255, .12); }

.chamber-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin: 2px 0 12px;
  color: var(--muted);
  font-size: 10px;
}

.legend-item { display: inline-flex; align-items: center; gap: 7px; }
.chamber-legend.is-multi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 10px;
}
.chamber-legend.is-multi-row .legend-item { min-width: 0; }
.legend-count {
  min-width: 20px;
  padding: 2px 6px;
  border: 1px solid rgba(207, 222, 222, .15);
  border-radius: 999px;
  color: var(--text);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  text-align: center;
}
.legend-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--congress-unclassified); }
.legend-dot.fast { background: var(--congress-fast); }
.legend-dot.guardrails { background: var(--congress-guardrails); }
.legend-dot.slow { background: var(--congress-slow); }
.legend-dot.position-5 { background: #e4bf5f; }
.legend-dot.position-4 { background: #a8c86c; }
.legend-dot.position-3 { background: #61c7b2; }
.legend-dot.position-2 { background: #e56f88; }
.legend-dot.position-1 { background: #c978df; }

.chamber-inspector {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--surface);
}

.inspector-empty { margin: auto 0; }
.inspector-empty strong { display: block; margin: 12px 0 8px; font-family: var(--serif); font-size: 32px; font-weight: 450; line-height: 1.05; }
.inspector-empty p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.inspector-person { display: flex; flex: 1; flex-direction: column; }
.person-avatar {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #071115;
  background: var(--congress-guardrails);
  font-family: var(--serif);
  font-size: 23px;
  overflow: hidden;
}
.person-avatar.fast { background: var(--congress-fast); }
.person-avatar.slow { background: var(--congress-slow); }
.inspector-person h3 { margin: 6px 0 3px; font-family: var(--serif); font-size: 36px; font-weight: 450; line-height: 1; }
.person-meta { color: var(--muted); font-size: 11px; }
.camp-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  margin-top: 22px;
  padding: 6px 9px;
  border: 1px solid rgba(97, 199, 178, .3);
  color: var(--teal-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.camp-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--congress-guardrails); }
.camp-pill.fast { border-color: rgba(228, 191, 95, .4); color: #f0d996; }
.camp-pill.fast::before { background: var(--congress-fast); }
.camp-pill.slow { border-color: rgba(201, 120, 223, .45); color: #e6b1f4; }
.camp-pill.slow::before { background: var(--congress-slow); }
.position-pill { display: inline-flex; align-self: flex-start; margin-top: 22px; padding: 6px 9px; border: 1px solid currentColor; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.position-pill.position-5 { color: #f0d996; }
.position-pill.position-4 { color: #cfe49d; }
.position-pill.position-3 { color: var(--teal-soft); }
.position-pill.position-2 { color: #f2a3b2; }
.position-pill.position-1 { color: #e6b1f4; }
.position-pill.is-unscored { color: var(--muted); }
.inspector-view-label { margin-top: 8px; color: var(--muted); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.person-summary { margin: 18px 0 24px; color: #b8c6c9; font-size: 13px; line-height: 1.7; }
.inspector-actions { display: grid; gap: 10px; margin-top: auto; }
.text-link { color: var(--teal-soft); font-size: 12px; font-weight: 700; text-decoration: none; }
.text-link:hover { color: #fff; }

.chamber-tooltip {
  position: fixed;
  z-index: 100;
  width: max-content;
  max-width: 230px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  color: var(--text);
  background: #050b0f;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .35);
  font-size: 10px;
  pointer-events: none;
}
.chamber-tooltip strong { display: block; }
.chamber-tooltip span { color: var(--muted); }

.senator-preview-grid,
.senator-directory-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.senator-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 22px;
  overflow: hidden;
  background: var(--surface);
  text-decoration: none;
  transition: background .18s ease;
}
.senator-card:hover { background: var(--surface-2); }
.senator-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--congress-guardrails); }
.senator-card.fast::before { background: var(--congress-fast); }
.senator-card.slow::before { background: var(--congress-slow); }
.senator-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.senator-card-avatar { position: relative; display: grid; width: 42px; height: 42px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: #101d23; font-family: var(--serif); }
.portrait-image { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; object-fit: cover; object-position: 50% 18%; transition: opacity .18s ease; }
.portrait-shell.has-portrait .portrait-image { opacity: 1; }
.avatar-fallback { position: relative; z-index: 0; }
.senator-card-state { color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.senator-card h3 { margin: 24px 0 3px; font-family: var(--serif); font-size: 26px; font-weight: 450; line-height: 1.05; }
.senator-card-party { color: var(--muted); font-size: 10px; }
.senator-card .camp-pill { margin-top: 16px; }
.senator-card p { margin: 17px 0 22px; color: var(--muted); font-size: 11px; line-height: 1.58; }
.senator-card-footer { display: flex; justify-content: space-between; gap: 16px; margin-top: auto; color: #70848c; font-size: 9px; text-transform: uppercase; }
.senator-card-footer span:last-child { flex: none; }

.coverage-expansion-head {
  display: block;
  margin-bottom: 38px;
}
.coverage-expansion-head h2 { max-width: 720px; line-height: 1.06; }

.coverage-caveat {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
}

.coming-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.coming-grid.coming-grid-single { grid-template-columns: minmax(0, 760px); }
.coming-card { min-height: 230px; padding: 30px; border: 1px solid var(--line); background: rgba(14, 26, 33, .7); }
.coming-card span { color: var(--amber); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.coming-card h3 { margin: 38px 0 10px; font-family: var(--serif); font-size: 36px; font-weight: 450; }
.coming-card p { max-width: 520px; margin: 0; color: var(--muted); font-size: 13px; }
.coming-card-link { display: block; color: inherit; text-decoration: none; transition: border-color .18s ease, background .18s ease; }
.coming-card-link * { text-decoration: none; }
.coming-card-link:hover, .coming-card-link:focus-visible { border-color: rgba(97, 199, 178, .55); background: rgba(97, 199, 178, .06); outline: none; }
.coming-card-link strong { display: inline-block; margin-top: 27px; color: var(--teal-soft); font-size: 10px; }

.footer-note a { color: var(--teal-soft); text-decoration: none; }
.footer-note a:hover, .footer-note a:focus-visible { color: var(--text); }

.directory-header {
  padding: 58px 0 45px;
  border-bottom: 1px solid var(--line);
}
.directory-header-row { display: flex; justify-content: space-between; gap: 50px; align-items: end; }
.directory-header h1 { margin: 13px 0 0; font-family: var(--serif); font-size: clamp(48px, 6vw, 72px); font-weight: 450; line-height: 1; }
.directory-summary { max-width: 470px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.directory-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { min-height: 34px; padding: 0 11px; border: 1px solid var(--line); color: var(--muted); background: transparent; font-size: 10px; cursor: pointer; }
.filter-button:hover, .filter-button[aria-pressed="true"] { border-color: var(--teal); color: var(--text); background: rgba(97, 199, 178, .07); }
.directory-count { color: var(--muted); font-size: 10px; }
.senator-directory-grid { grid-template-columns: repeat(3, 1fr); }
.senator-directory-grid .senator-card { min-height: 370px; }

.profile-header { padding: 55px 0 45px; border-bottom: 1px solid var(--line); }
.profile-topline { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.profile-breadcrumbs { color: var(--muted); font-size: 10px; }
.profile-breadcrumbs a { color: var(--muted); text-decoration: none; }
.profile-breadcrumbs a:hover { color: var(--text); }
.profile-back-link { flex: 0 0 auto; color: var(--teal-soft); font-size: 10px; font-weight: 600; text-decoration: none; }
.profile-back-link:hover { color: var(--text); }
.profile-identity { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(260px, .55fr); gap: 28px; align-items: center; }
.profile-avatar { position: relative; display: grid; width: 92px; height: 92px; place-items: center; overflow: hidden; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; color: #071115; background: var(--congress-guardrails); font-family: var(--serif); font-size: 34px; }
.profile-identity h1 { margin: 0 0 5px; font-family: var(--serif); font-size: clamp(45px, 5vw, 66px); font-weight: 450; line-height: .95; }
.profile-meta { color: var(--muted); font-size: 12px; }
.profile-overall { padding: 22px; border: 1px solid var(--line); background: var(--surface); }
.profile-overall-label { color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.profile-overall strong { display: block; margin: 9px 0 4px; font-family: var(--serif); font-size: 29px; font-weight: 450; }
.profile-overall small { color: var(--muted); font-size: 10px; }

.profile-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .55fr); gap: 56px; align-items: start; }
.profile-summary { margin: 0 0 36px; color: #c1cdcf; font-family: var(--serif); font-size: 28px; line-height: 1.35; }
.profile-rationale { padding: 22px; border-left: 2px solid var(--teal); background: var(--surface); }
.profile-rationale span { color: var(--teal); font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.profile-rationale p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.profile-aside { position: sticky; top: 98px; }
.profile-fact-table { border: 1px solid var(--line); background: var(--surface); }
.profile-fact { display: flex; justify-content: space-between; gap: 20px; padding: 13px 15px; border-bottom: 1px solid var(--line); font-size: 10px; }
.profile-fact:last-child { border-bottom: 0; }
.profile-fact span { color: var(--muted); }
.profile-fact strong { font-weight: 600; text-align: right; }
.profile-aside-note { margin: 16px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }

.profile-section-head { align-items: center; }
.profile-section-head p { justify-self: end; }
.profile-scale-guide { margin-top: -4px; padding: 16px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile-scale-guide div { display: flex; justify-content: space-between; gap: 30px; color: var(--text); font-size: 12px; }
.profile-scale-guide strong { font-weight: 600; }
.profile-scale-guide p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.dimension-list { margin-top: 0; border-top: 0; }
.dimension-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 30px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.dimension-name span { color: var(--muted); font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.dimension-name strong { display: block; margin-top: 5px; font-family: var(--serif); font-size: 22px; font-weight: 450; }
.position-scale { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; height: 25px; margin: 4px 0 10px; }
.position-scale::before { content: ""; position: absolute; top: 7px; right: 0; left: 0; height: 1px; background: #3a4d55; }
.scale-point { position: relative; }
.scale-point::before { content: ""; position: absolute; top: 3px; left: 50%; width: 8px; height: 8px; transform: translateX(-50%); border: 1px solid #53666e; border-radius: 50%; background: var(--bg); }
.scale-point.is-value::before { width: 12px; height: 12px; top: 1px; border-color: #fff; background: var(--teal); box-shadow: 0 0 13px rgba(97, 199, 178, .45); }
.position-ends { display: flex; justify-content: space-between; gap: 18px; color: #91a2a8; font-size: 12px; line-height: 1.35; }
.position-ends span:last-child { text-align: right; }
.dimension-copy { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.62; }
.dimension-evidence { display: inline-flex; margin-top: 10px; color: var(--teal-soft); font-size: 10px; font-weight: 700; text-decoration: none; }

.evidence-list { margin-top: 30px; }
.evidence-item { display: grid; grid-template-columns: 98px minmax(0, 1fr) auto; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.evidence-date { color: var(--muted); font-size: 10px; }
.evidence-type { display: block; margin-top: 5px; color: var(--teal); font-size: 8px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.evidence-content h3 { margin: 0 0 7px; font-family: var(--serif); font-size: 23px; font-weight: 450; }
.evidence-content p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.evidence-link { align-self: center; color: var(--teal-soft); font-size: 10px; font-weight: 700; text-decoration: none; }

.method-intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .65fr); gap: 60px; align-items: start; }
.method-intro-grid .profile-summary { max-width: 780px; }
.method-principles { display: grid; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.method-principle { padding: 18px; background: var(--surface); }
.method-principle span { color: var(--teal); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.method-principle p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.rubric-table { width: 100%; margin-top: 30px; border-collapse: collapse; border: 1px solid var(--line); background: var(--surface); }
.rubric-table th, .rubric-table td { padding: 15px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rubric-table th { color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.rubric-table td { color: #b8c5c8; font-size: 11px; line-height: 1.55; }
.rubric-table td:first-child { color: var(--text); font-weight: 700; }
.methodology-page .congress-section-head { align-items: center; }
.dimensions-rubric-table th,
.dimensions-rubric-table td { vertical-align: middle; }

.methodology-callout { margin-top: 36px; padding: 24px; border: 1px solid rgba(227, 154, 103, .35); background: rgba(227, 154, 103, .04); }
.methodology-callout strong { display: block; margin-bottom: 6px; font-family: var(--serif); font-size: 24px; font-weight: 450; }
.methodology-callout p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

@media (max-width: 1100px) {
  .senator-preview-grid { grid-template-columns: repeat(3, 1fr); }
  .senator-directory-grid { grid-template-columns: repeat(2, 1fr); }
  .chamber-shell { grid-template-columns: minmax(0, 1.5fr) minmax(260px, .65fr); }
}

@media (max-width: 900px) {
  .congress-hero-grid,
  .congress-section-head,
  .method-intro-grid,
  .profile-layout { grid-template-columns: 1fr; }
  .congress-section-head { align-items: start; }
  .profile-section-head { align-items: start; }
  .profile-section-head p { justify-self: start; }
  .congress-hero-grid { gap: 34px; }
  .chamber-shell { grid-template-columns: 1fr; }
  .chamber-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .chamber-inspector { min-height: 340px; }
  .profile-aside { position: static; }
  .profile-identity { grid-template-columns: auto 1fr; }
  .profile-overall { grid-column: 1 / -1; }
  #senate-chamber .congress-section-head { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  #senate-chamber .congress-section-head h2 { white-space: normal; }
  #senate-chamber .congress-section-head p { justify-self: start; }
}

@media (max-width: 700px) {
  .congress-subnav-inner { min-width: max-content; gap: 22px; }
  .congress-hero { padding: 58px 0 52px; }
  .congress-hero h1 { font-size: 56px; }
  .coverage-strip { grid-template-columns: 1fr; }
  .coverage-status { min-height: 90px; }
  .congress-section { padding: 58px 0; }
  .senator-preview-grid,
  .senator-directory-grid,
  .coming-grid { grid-template-columns: 1fr; }
  .senator-card { min-height: 270px; }
  .chamber-panel { padding: 21px 12px 24px; }
  .chamber-toolbar { padding: 0 8px; }
  .chamber-view-controls { align-items: flex-start; flex-direction: column; margin-right: 8px; margin-left: 8px; }
  .chamber-view-options { flex-wrap: nowrap; width: 100%; overflow-x: auto; padding-bottom: 3px; }
  .chamber-view-button { flex: 0 0 auto; }
  .chamber-note { display: none; }
  .senate-chamber { min-height: 380px; }
  .chamber-legend { padding: 0 8px; gap: 10px 14px; }
  .chamber-legend.is-multi-row { column-gap: 10px; }
  .directory-header-row { display: block; }
  .directory-summary { margin-top: 20px; }
  .directory-controls { align-items: flex-start; flex-direction: column; }
  .profile-identity { grid-template-columns: 1fr; }
  .profile-topline { align-items: flex-start; }
  .profile-avatar { width: 72px; height: 72px; font-size: 27px; }
  .dimension-row { grid-template-columns: 1fr; gap: 15px; }
  .profile-scale-guide div { align-items: flex-start; flex-direction: column; gap: 6px; }
  .evidence-item { grid-template-columns: 75px minmax(0, 1fr); gap: 14px; }
  .evidence-link { grid-column: 2; }
  .rubric-table { display: block; overflow-x: auto; }
  .coverage-caveat { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .senate-seat, .senator-card { transition: none; }
}
