:root {
  color-scheme: light;
  --ink: #13201f;
  --muted: #5e6b68;
  --line: #d8e1de;
  --surface: #ffffff;
  --surface-2: #f4f8f7;
  --teal: #2f8f85;
  --teal-text: #24756d;
  --teal-soft: #e2f3f0;
  --coral: #d35d47;
  --coral-text: #b04736;
  --coral-soft: #fae7e2;
  --rubric-chart-red: #dc5038;
  --glove-red: #b91f24;
  --title-shadow-brown: rgba(74, 42, 29, 0.72);
  --gold: #d0a31f;
  --gold-text: #805908;
  --blue: #2d5f8b;
  --shadow: 0 18px 50px rgba(27, 43, 41, 0.12);
}

/* Manually published charts are embedded in Backend. */
.backend-charts { margin-top: 54px; padding-top: 32px; border-top: 2px solid var(--ink); scroll-margin-top: 90px; }
.charts-page { width: min(1260px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 64px; }
.charts-hero { max-width: 1000px; padding: 6px 0 20px; }
.charts-hero h2 { margin: 0; font-size: clamp(44px, 6vw, 64px); line-height: 1.08; letter-spacing: -.055em; }
.charts-intro { font-size: clamp(20px, 2.4vw, 28px); font-weight: 650; letter-spacing: -.035em; line-height: 1.22; margin: 16px 0; }
.charts-hero > p:not(.eyebrow):not(.charts-intro) { color: var(--muted); max-width: 750px; }
.charts-snapshot-line { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; font-size: 14px; margin-top: 25px; }
.charts-date { color: var(--teal-text); font-weight: 750; }
.chart-filters { display: flex; gap: 14px; flex-wrap: wrap; align-items: end; border-block: 1px solid var(--line); padding: 23px 0; }
.chart-filters label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; flex: 1 1 200px; min-width: 0; }
.chart-filters select { font: inherit; font-weight: 500; background: var(--surface); color: var(--ink); border: 1px solid #a8b6b2; border-radius: 6px; padding: 11px 32px 11px 10px; min-height: 44px; width: 100%; }
.chart-filters .button { min-height: 44px; }
.chart-reset { padding: 12px 4px; font-size: 14px; }
.chart-selection-summary { display: flex; flex-wrap: wrap; gap: 12px 26px; padding: 24px 0 8px; font-size: 15px; }
.chart-selection-summary a { margin-left: auto; }
.chart-position-note { font-size: 14px; max-width: 970px; color: var(--muted); margin-bottom: 30px; }
.chart-text-0 { color: var(--teal-text); font-weight: 650; }
.chart-text-1 { color: var(--coral-text); font-weight: 650; }
.charts-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.chart-panel { min-width: 0; border-top: 2px solid var(--ink); padding: 24px 0 20px; margin-bottom: 32px; scroll-margin-top: 90px; }
.chart-panel > header { display: flex; gap: 15px; min-height: 112px; }
.chart-index { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 7px; }
.chart-panel h3 { margin: 0 0 10px; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.2; letter-spacing: -.03em; }
.chart-panel header p { color: var(--muted); margin: 0 0 25px; font-size: 14px; max-width: 800px; }
#chart-dimensions > header { display: grid; grid-template-columns: 20px minmax(0, 1fr) minmax(280px, 360px); gap: 24px; align-items: start; margin-bottom: 24px; }
#chart-dimensions header .chart-threshold-control { margin-bottom: 0; }
.chart-explanation { border: 1px solid #bacfc8; border-left: 4px solid var(--teal-text); border-radius: 8px; background: #f0f6f3; padding: 20px 22px; }
.chart-explanation h4 { margin: 0 0 9px; color: var(--ink); font-size: 19px; line-height: 1.25; letter-spacing: -.02em; }
.chart-panel .chart-explanation p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; }
.chart-explanation a { display: inline-block; color: var(--teal-text); font-weight: 750; font-size: 15px; line-height: 1.5; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.chart-explanation a:hover { text-decoration-thickness: 2px; }
.chart-explanation a:focus-visible { outline: 2px solid var(--teal-text); outline-offset: 5px; border-radius: 2px; }
.chart-explanation a span { white-space: nowrap; }
.chart-explanation small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.chart-axis { font-size: 11px; color: var(--muted); margin-bottom: 12px; }
.chart-axis > div { display: flex; justify-content: space-between; margin: 7px 55px 0 95px; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.chart-family-row { border-bottom: 1px solid var(--line); padding: 13px 0 15px; }
.chart-family-row h4, .chart-role-family h4 { font-size: 15px; margin: 0 0 10px; font-weight: 700; }
.chart-family-row h4 a, .chart-role-family h4 a, .chart-heatmap th a { text-decoration-color: #b9c9c4; text-underline-offset: 3px; }
.chart-series { display: grid; grid-template-columns: 85px minmax(30px, 1fr) 45px; gap: 6px 10px; align-items: center; margin-top: 9px; font-size: 13px; }
.chart-series > small { grid-column: 2 / -1; color: var(--muted); font-size: 11px; }
.chart-series-name { font-size: 12px; }
.chart-bar-track { height: 11px; background: #edf1ef; position: relative; }
.chart-bar { display: block; height: 100%; }
.chart-position-0 { background: var(--teal); fill: var(--teal); }
.chart-position-1 { background: var(--coral); fill: var(--coral); }
.chart-value { font-size: 13px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chart-distribution { display: grid; grid-template-columns: 85px minmax(30px, 1fr) 45px; align-items: center; gap: 6px 10px; margin-top: 9px; }
.chart-distribution svg { display: block; width: 100%; height: 20px; overflow: visible; }
.chart-distribution strong { font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.chart-distribution small { grid-column: 2 / -1; font-size: 11px; color: var(--muted); }
.chart-guide { stroke: #d8e1de; stroke-width: .4; }
.chart-range { opacity: .4; }
.chart-median { stroke: var(--ink); stroke-width: .7; }
.chart-small-sample { display: inline-block; color: #805908; background: #faf0cc; padding: 1px 5px; border-radius: 3px; font-size: 10px; font-weight: 650; }
.chart-missing { color: var(--muted); font-size: 12px; }
.chart-footnote { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 18px; }
.chart-role-head, .chart-role-row { display: grid; grid-template-columns: 180px 1fr 1fr; gap: 28px; }
.chart-role-head { font-size: 12px; font-weight: 650; border-bottom: 1px solid var(--line); padding: 0 0 12px; }
.chart-role-family { padding: 15px 0; border-bottom: 1px solid var(--line); }
.chart-role-row { align-items: start; margin: 9px 0 0; }
.chart-role-cell { display: grid; grid-template-columns: minmax(25px, 1fr) 70px; align-items: center; gap: 5px 12px; }
.chart-role-cell small { grid-column: 1 / -1; font-size: 11px; color: var(--muted); }
.chart-mobile-label { display: none; }
.chart-table-scroll { max-width: 100%; overflow-x: auto; padding-bottom: 5px; }
/* Share a fixed white-to-red 0–100% scale between cells and legends. */
#chart-dimensions { --chart-heat-low: #ffffff; --chart-heat-high: #dc6060; }
.chart-heatmap { --chart-divider: #4e6660; border-block: 2px solid var(--chart-divider); width: 100%; min-width: 670px; border-collapse: separate; border-spacing: 3px; font-size: 13px; }
.chart-threshold-control { max-width: 620px; margin: 0 0 28px; }
.chart-threshold-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; }
.chart-threshold-heading output { padding: 5px 13px; border-radius: 6px; background: var(--teal-soft); color: var(--teal-text); font-size: 18px; font-variant-numeric: tabular-nums; }
.chart-threshold-control input[type="range"] { width: 100%; height: 44px; margin: 0; accent-color: var(--teal-text); cursor: pointer; }
.chart-threshold-control input:focus-visible { outline: 3px solid var(--teal-text); outline-offset: 3px; border-radius: 4px; }
.chart-threshold-ticks { display: flex; justify-content: space-between; gap: 0; font-size: 11px; color: var(--muted); }
.chart-panel .chart-threshold-control p { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.chart-heatmap caption { text-align: left; font-size: 12px; color: var(--muted); padding: 0 0 14px; }
.chart-heatmap th { text-align: left; padding: 8px; font-weight: 650; }
.chart-heatmap thead th { font-size: 12px; text-align: center; }
.chart-heatmap tbody th { width: 29%; }
.chart-heatmap tbody th > span { display: block; font-size: 11px; font-weight: 500; margin-top: 4px; }
.chart-heatmap td { padding: 12px 7px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; background: color-mix(in srgb, var(--chart-heat-high) calc(var(--heat) * 100%), var(--chart-heat-low)); color: var(--ink); }
.chart-heatmap tr:nth-child(2n) th { padding-bottom: 17px; }
/* Keep each family's supporting and challenging rows together. */
.chart-heatmap tbody tr:nth-child(2n + 3) > * { border-top: 2px solid var(--chart-divider); padding-top: 16px; }
.chart-dimension-help { appearance: none; border: 0; border-radius: 3px; padding: 6px 2px; background: transparent; color: inherit; font: inherit; font-weight: inherit; text-decoration: underline dotted; text-decoration-color: var(--muted); text-underline-offset: 5px; cursor: help; }
.chart-dimension-help:hover { color: var(--teal-text); }
.chart-dimension-help:focus-visible { outline: 2px solid var(--teal-text); outline-offset: 3px; }
.chart-dimension-tooltip { position: fixed; inset: 0; width: min(340px, calc(100vw - 24px)); height: fit-content; max-height: calc(100dvh - 24px); margin: auto; padding: 16px 18px; overflow: auto; border: 1px solid #5e7771; border-radius: 10px; background: var(--ink); color: #fff; box-shadow: var(--shadow); font-size: 14px; font-weight: 450; line-height: 1.6; text-align: left; text-wrap: pretty; }
.chart-dimension-tooltip[style] { right: auto; bottom: auto; margin: 0; }
.chart-dimension-tooltip strong { display: block; margin-bottom: 7px; font-size: 15px; font-weight: 750; }
.chart-heat-key { display: flex; gap: 12px; align-items: center; justify-content: end; font-size: 11px; color: var(--muted); margin-top: 10px; }
.chart-heat-key:first-child { margin: 0 0 18px; }
.chart-heat-key i { width: 80px; height: 10px; background: linear-gradient(to right, var(--chart-heat-low), var(--chart-heat-high)); }
.chart-evidence { margin: 35px 0 60px; scroll-margin-top: 90px; }
.chart-evidence header > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.chart-evidence h3, .chart-methods h3 { font-size: 30px; letter-spacing: -.035em; }
.chart-evidence-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.chart-evidence-list article { border-top: 1px solid var(--line); padding: 20px 0; min-width: 0; }
.chart-evidence-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.chart-evidence-meta strong { margin-left: auto; }
.chart-evidence-list h4 { font-size: 16px; margin: 12px 0; }
.chart-evidence-list p { font-size: 14px; line-height: 1.65; }
.chart-evidence-list small { font-size: 12px; color: var(--muted); }
.chart-pagination { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; font-size: 14px; padding: 20px 0; }
.chart-methods { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 30px; scroll-margin-top: 90px; }
.chart-method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 32px; }
.chart-method-grid h4 { font-size: 16px; margin-bottom: 8px; }
.chart-methods p, .chart-methods li { font-size: 13px; line-height: 1.7; }
.chart-methods summary { font-weight: 700; cursor: pointer; padding: 18px 0 8px; font-size: 14px; }
@media (max-width: 950px) {
  #chart-dimensions > header { grid-template-columns: 20px minmax(0, 1fr); gap: 15px; }
  #chart-dimensions .chart-explanation { grid-column: 2; max-width: 520px; }
  .charts-overview { grid-template-columns: 1fr; gap: 0; }
  .chart-panel > header { min-height: 0; }
  .chart-role-head, .chart-role-row { grid-template-columns: 120px 1fr 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .charts-page { width: calc(100% - 32px); padding-top: 30px; }
  .charts-snapshot-line { font-size: 12px; }
  .chart-filters { gap: 12px; }
  .chart-filters label { flex-basis: 100%; }
  .chart-selection-summary { gap: 8px 14px; font-size: 13px; }
  .chart-selection-summary a { margin-left: 0; flex-basis: 100%; }
  .chart-panel { margin-bottom: 25px; }
  .chart-series, .chart-distribution { grid-template-columns: 75px minmax(20px, 1fr) 42px; gap: 6px; }
  .chart-axis > div { margin-left: 81px; margin-right: 48px; }
  .chart-series-name { font-size: 11px; }
  .chart-role-head { display: none; }
  .chart-role-row { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
  .chart-role-row > .chart-series-name { grid-column: 1 / -1; }
  .chart-role-cell { grid-template-columns: 1fr; gap: 7px; }
  .chart-mobile-label { display: block; font-size: 11px; }
  .chart-role-cell .chart-value { text-align: left; }
  .chart-role-cell small { font-size: 10px; }
  .chart-evidence-list, .chart-method-grid { grid-template-columns: 1fr; }
  .chart-methods { padding: 20px; }
  .chart-heat-key { justify-content: start; gap: 7px; font-size: 10px; }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(244, 248, 247, 0.92), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at top left, rgba(47, 143, 133, 0.12), transparent 42%),
    radial-gradient(circle at bottom right, rgba(211, 93, 71, 0.1), transparent 36%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
}

.seo-fallback {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 9vw, 110px) 0;
}

.seo-fallback h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.seo-fallback > p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.seo-fallback nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 28px;
}

.initial-page-content { overflow-wrap: anywhere; line-height: 1.65; }
.initial-page-content section { margin-top: 32px; }
.initial-page-content h2 { font-size: 1.75rem; line-height: 1.2; }
.initial-page-content h3 { font-size: 1.3rem; line-height: 1.3; }
.initial-page-content h4 { font-size: 1.05rem; }
.initial-page-content a { text-decoration: underline; text-underline-offset: 3px; }
.initial-debate-summary { padding: 16px 0; border-bottom: 1px solid var(--line); }
.initial-page-content table { width: 100%; border-collapse: collapse; }
.initial-page-content th, .initial-page-content td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); }
.initial-page-content caption { text-align: left; margin-bottom: 12px; }

.seo-fallback nav a {
  color: var(--blue);
  font-weight: 800;
  text-underline-offset: 3px;
}

.seo-noscript {
  width: min(920px, calc(100% - 36px));
  margin: -64px auto 64px;
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid rgba(45, 95, 139, 0.72);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 100;
  padding: 9px 13px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 140ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

#main-content:focus {
  outline: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 6px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header nav {
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.brand {
  font-weight: 850;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 7px 9px rgba(27, 43, 41, 0.2));
}

.brand-name {
  font-size: 1.37rem;
}

.site-header nav a {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a.primary-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  line-height: 1;
}

.primary-nav-link {
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease,
    color 140ms ease;
}

.primary-nav-link:hover,
.primary-nav-link:focus-visible,
.primary-nav-link.active {
  color: #ffffff;
  background: var(--glove-red);
  box-shadow: 0 7px 7px rgba(185, 31, 36, 0.24);
}

.primary-nav-link.active {
  border-color: #000000;
}

.primary-nav-link:focus-visible {
  outline: 2px solid rgba(185, 31, 36, 0.36);
  outline-offset: 2px;
}

.external-sites {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.external-sites-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 10px;
  color: #ffffff;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
}

.external-sites-label:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.external-sites-label[aria-expanded="true"] .external-sites-chevron {
  transform: rotate(180deg);
}

.external-sites-links[hidden] {
  display: none;
}

.external-sites-links {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 40;
  display: grid;
  width: min(19rem, calc(100vw - 2rem));
  padding: 6px;
  background: var(--surface);
  border: 1px solid rgba(47, 143, 133, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(27, 43, 41, 0.18);
}

.site-header nav .external-sites-links a {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 5px;
  line-height: 1.4;
}

.external-sites-links a + a {
  border-top: 1px solid var(--line);
}

.external-sites-links strong {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 850;
}

.external-site-description {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.external-sites-links a:hover,
.external-sites-links a:focus-visible {
  background: var(--teal-soft);
  outline: 2px solid var(--teal);
  outline-offset: -2px;
}

.site-header nav a:not(.primary-nav-link):hover,
.back-link:hover {
  color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 42px;
  align-items: end;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
}

.site-footer > div {
  display: grid;
  gap: 7px;
}

.footer-brand {
  width: max-content;
  font-size: 1.08rem;
  font-weight: 900;
  text-decoration: none;
}

.site-footer p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
}

.site-footer nav a {
  color: #40524f;
  font-size: 0.8rem;
  font-weight: 800;
  text-underline-offset: 3px;
}

.landing,
.debate-page,
.search-page,
.topics-page,
.rankings-page,
.interlocutor-profile-page,
.assessment-page,
.corrections-page,
.insights-page,
.not-found {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.insights-intro { padding: 48px 0 32px; }
.insights-intro h1 { margin: 0; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.05; }
.insights-intro > p { max-width: 900px; }
.insights-snapshot { border-left: 3px solid var(--gold); padding-left: 18px; color: var(--muted); }
.insights-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin-top: 28px; }
.insights-index a { padding: 9px 0; color: var(--blue); font-weight: 750; text-underline-offset: 4px; }
.insights-index span { color: var(--gold-text); }
.insight-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.insight-copy h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; }
.insight-finding { font-size: 1.15rem; font-weight: 750; }
.insight-stat { display: grid; gap: 4px; padding: 16px 0; }
.insight-stat strong { color: var(--gold-text); font-size: 2.25rem; line-height: 1.1; }
.insight-stat span { color: var(--muted); font-size: 0.95rem; }
.insight-limitation { color: #40524f; border-left: 3px solid var(--line); padding-left: 14px; }
.insight-companion { margin: 24px 0; padding: 18px 20px; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 8px; background: var(--surface); color: var(--ink); }
.insight-companion .insight-companion-label { margin: 0 0 8px; font-size: 0.85rem; font-weight: 750; color: var(--muted); }
.insight-companion .insight-companion-title { margin: 0 0 14px; font-size: 1.1rem; }
.insight-companion a { color: var(--blue); text-underline-offset: 3px; }
.insight-companion .insight-companion-scope { margin-bottom: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.9rem; color: #40524f; }
.insight-links { padding-left: 20px; }
.insight-links li { margin: 12px 0; }
.insight-links a, .insight-figure a, .assessment-guide a { color: var(--blue); text-underline-offset: 3px; }
.insight-figure { margin: 0; min-width: 0; align-self: start; }
.insight-figure h3 { margin: 0; font-size: 1.1rem; }
.insight-figure > p, .insight-figure figcaption { color: #40524f; font-size: 0.95rem; }
.insight-figure img { display: block; width: 100%; height: auto; margin: 20px 0; }
.insight-figure > a { display: block; }
.weight-explorer { padding: 36px 0 44px; border-top: 2px solid var(--teal); scroll-margin-top: 100px; }
.weight-explorer > header { max-width: 1000px; }
.weight-explorer h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.15; }
.weight-scope { padding-left: 16px; border-left: 3px solid var(--gold); color: #40524f; font-size: .95rem; }
.weight-explorer-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px; align-items: start; margin-top: 30px; }
.weight-controls, .weight-results { min-width: 0; }
.weight-controls fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.weight-controls legend { font-size: 1.35rem; font-weight: 800; padding: 0; }
.weight-filters { margin: 16px 0 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.weight-filters .weight-cohort-label { margin-top: 16px; }
.weight-filters .button { font-size: .85rem; padding: 8px 12px; }
.weight-filter-count { margin: 12px 0; color: var(--blue); font-weight: 800; }
.weight-result-scope { margin: 0 0 8px; font-size: .9rem; color: var(--blue); font-weight: 750; }
.weight-result-count { margin: 0 0 8px; font-size: .95rem; }
.weight-result-count strong { font-size: 1.35rem; }
.weight-small-sample, .weight-link-warning { padding: 12px 16px; border-left: 4px solid var(--gold); background: #fff8e3; color: #423d2b; font-size: .9rem; line-height: 1.5; }
.weight-share { padding-top: 16px; border-top: 1px solid var(--line); }
.weight-share label { display: block; margin: 16px 0 8px; font-size: .9rem; font-weight: 750; }
.weight-share input { box-sizing: border-box; width: 100%; min-width: 0; padding: 10px; border: 1px solid #a8b6b2; border-radius: 6px; background: white; color: var(--ink); font: inherit; font-size: .85rem; }
.weight-share p { margin: 8px 0 0; font-size: .85rem; color: #40524f; }
.weight-presets { margin-top: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.weight-presets > p:first-child { margin: 0 0 10px; font-weight: 750; }
.weight-preset-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.weight-preset-buttons button { min-height: 44px; padding: 9px 12px; border: 1px solid #a8b6b2; border-radius: 7px; background: white; color: var(--ink); font: inherit; font-size: .9rem; font-weight: 750; cursor: pointer; }
.weight-preset-buttons button[aria-pressed="true"] { background: var(--glove-red); border-color: #132321; color: white; }
.weight-preset-buttons button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.weight-presets #weight-preset-help { margin: 10px 0; color: #40524f; font-size: .85rem; line-height: 1.4; }
.weight-presets .weight-preset-state { margin: 0; font-size: .85rem; font-weight: 750; color: var(--blue); }
.weight-controls #weight-slider-help { font-size: .9rem; color: #40524f; margin: 10px 0 20px; }
.weight-slider { margin-bottom: 18px; }
.weight-slider > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.weight-slider label { font-weight: 750; }
.weight-slider output { color: var(--glove-red); font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.weight-slider input[type="range"] { appearance: auto; accent-color: var(--glove-red); display: block; width: 100%; min-height: 30px; height: 30px; margin: 2px 0; padding: 0; cursor: pointer; }
.weight-slider input:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 5px; }
.weight-slider p { margin: 0; font-size: .85rem; color: #40524f; line-height: 1.4; }
.weight-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.weight-actions .button { font-size: .9rem; }
.weight-actions > span { font-size: .9rem; font-weight: 750; }
.weight-cohort-label { display: block; font-weight: 750; margin-bottom: 8px; }
.weight-controls select { width: 100%; padding: 12px; background: white; color: var(--ink); border: 1px solid #a8b6b2; border-radius: 6px; font: inherit; font-size: .95rem; }
.weight-procedure-note { font-size: .85rem; color: #40524f; }
.weight-results { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.weight-result-state { font-size: .85rem; color: #40524f; margin: 0 0 22px; }
.weight-score-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.weight-score-card { border-top: 4px solid var(--teal); padding-top: 12px; min-width: 0; }
.weight-score-card.con-god { border-color: var(--coral); }
.weight-score-card h3 { font-size: 1.1rem; margin: 0 0 10px; }
.weight-score-card > strong { display: block; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.15; font-variant-numeric: tabular-nums; color: var(--teal-text); }
.weight-score-card.con-god > strong { color: var(--coral-text); }
.weight-score-card > span { display: block; font-size: .85rem; color: #40524f; margin-top: 6px; }
.weight-score-card small { display: block; font-size: .8rem; color: #40524f; margin-top: 12px; line-height: 1.5; }
.weight-comparison { margin: 28px 0 20px; }
.weight-bar-row { display: grid; grid-template-columns: 66px minmax(0, 1fr) 46px; gap: 10px; align-items: center; margin: 14px 0; font-size: .8rem; }
.weight-bar-row > strong { text-align: right; font-variant-numeric: tabular-nums; }
.weight-bar-track { height: 19px; background: #e7eeeb; position: relative; }
.weight-bar-fill { display: block; height: 100%; background: var(--teal); }
.weight-bar-track.con-god .weight-bar-fill { background: var(--coral); }
.weight-baseline-mark { position: absolute; width: 2px; top: -4px; bottom: -4px; background: var(--ink); transform: translateX(-1px); }
.weight-axis { display: flex; justify-content: space-between; margin: 0 56px 0 76px; font-size: .75rem; color: #40524f; }
.weight-chart-key { font-size: .8rem; color: #40524f; margin: 14px 0 0; }
.weight-gap { padding: 20px 0; border-block: 1px solid var(--line); }
.weight-gap > p { margin: 0 0 8px; font-size: 1.2rem; font-weight: 750; }
.weight-gap strong { color: var(--gold-text); white-space: nowrap; }
.weight-gap > span { color: #40524f; font-size: .9rem; }
.weight-outcomes { display: flex; flex-wrap: wrap; gap: 14px 24px; padding: 0; margin: 22px 0; list-style: none; font-size: .85rem; }
.weight-outcomes li strong { display: block; font-size: 1.6rem; }
.weight-changes { margin: 0; color: #40524f; font-size: .9rem; }
.weight-limit { max-width: 1050px; font-size: .9rem; color: #40524f; margin: 24px 0; }
.weight-explorer .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.weight-explorer details { padding: 16px 0; border-top: 1px solid var(--line); }
.weight-explorer summary { cursor: pointer; font-weight: 750; }
.weight-explorer details p { font-size: .9rem; color: #40524f; max-width: 1050px; }
.weight-explorer a { color: var(--blue); text-underline-offset: 3px; }
.weight-table-scroll { max-height: 560px; overflow: auto; }
.weight-table-scroll table { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 650px; }
.weight-table-scroll caption { text-align: left; padding-bottom: 12px; color: #40524f; }
.weight-table-scroll th, .weight-table-scroll td { text-align: left; border-bottom: 1px solid var(--line); padding: 12px; vertical-align: top; }
.weight-table-scroll th:first-child { width: 48%; }
.weight-table-scroll thead th { background: var(--surface-2); }
.weight-table-scroll tbody th { font-weight: 650; }
.weight-table-scroll th span, .weight-table-scroll td span { display: block; font-weight: 400; margin-top: 5px; color: #40524f; }
.weight-row-changed { background: #fff9e9; }
@media (max-width: 850px) {
  .weight-explorer-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 450px) {
  .weight-results { padding: 16px; }
  .weight-score-cards { gap: 12px; }
  .weight-score-card h3 { font-size: 1rem; }
  .weight-score-card > strong { font-size: 2rem; }
}
.assessment-guide, .related-debates { padding: 30px 0; border-top: 1px solid var(--line); }
.assessment-guide h2, .related-debates h2 { margin: 0 0 18px; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.1; }
.assessment-guide-summary { max-width: 960px; font-size: 1.15rem; }
.assessment-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 24px 0; }
.assessment-guide-side { padding: 20px; border-left: 4px solid var(--teal); background: var(--surface); min-width: 0; color: var(--ink); }
.assessment-guide-side.coral { border-left-color: var(--coral); }
.assessment-guide-side h3 { margin-top: 0; font-size: 1.2rem; }
.assessment-guide-side .eyebrow { font-size: 0.8rem; }
.assessment-guide .source-note { color: var(--muted); font-size: 0.9rem; }
.debate-section, #overall-heading { scroll-margin-top: 100px; }
.related-debate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.related-debate-item { display: flex; flex-direction: column; min-width: 0; }
.related-debate-item > h3 { margin: 0; color: var(--blue); font-size: 1rem; }
.related-debate-reason { color: var(--muted); font-size: 0.95rem; }
.related-debate-item .recent-assessment-card { margin-top: auto; min-width: 0; }
@media (max-width: 900px) {
  .insight-story { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .insight-figure { max-width: 760px; }
  .related-debate-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .insights-index, .assessment-guide-grid { grid-template-columns: minmax(0, 1fr); }
  .insights-intro { padding-top: 32px; }
  .assessment-guide-side { padding: 14px; }
}

.landing-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(240px, 0.75fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
  min-height: clamp(480px, 72vh, 620px);
  padding: clamp(28px, 4vw, 48px) 0;
}

.intro-copy h1,
.debate-hero h1,
.not-found h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 5.7rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.intro-copy h1 {
  color: var(--glove-red);
  text-shadow: 0.03em 0.04em 0 var(--title-shadow-brown);
}

.lede {
  max-width: 580px;
  margin: 22px 0 0;
  color: #30413e;
  font-size: clamp(0.96rem, 1.5vw, 1.16rem);
  line-height: 1.22;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.landing-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 600px;
  margin: 20px 0 0;
}

.landing-stats div {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.landing-stats dt {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-stats dd {
  align-self: end;
  margin: 0;
  color: var(--ink);
  font-size: 1.34rem;
  font-weight: 900;
  line-height: 1;
}

.landing-topic-link {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.landing-topic-browse {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
}

.landing-topic-link p {
  margin: 0;
}

.landing-topic-link .landing-reassessment-note {
  margin-top: 8px;
  color: #40524f;
}

.landing-topic-link a {
  color: var(--blue);
  font-weight: 850;
  text-underline-offset: 3px;
}

.recent-assessments {
  padding: clamp(28px, 5vw, 54px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.recent-assessments-heading {
  align-items: end;
}

.recent-assessments-actions {
  display: grid;
  justify-items: end;
  max-width: 430px;
  gap: 8px;
  text-align: right;
}

.recent-assessments-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.scorecard-correction-link {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 850;
  text-underline-offset: 3px;
}

.recent-assessment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.recent-assessment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(27, 43, 41, 0.07);
}

.recent-assessment-card:nth-child(4n + 2) {
  border-top-color: var(--blue);
}

.recent-assessment-card:nth-child(4n + 3) {
  border-top-color: var(--coral);
}

.recent-assessment-card:nth-child(4n + 4) {
  border-top-color: var(--gold);
}

.recent-assessment-meta,
.recent-assessment-footer,
.recent-assessment-scores {
  display: flex;
  align-items: center;
}

.recent-assessment-meta,
.recent-assessment-footer {
  justify-content: space-between;
  gap: 10px;
}

.recent-assessment-meta > span:last-child {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
  text-transform: uppercase;
}

.recent-assessment-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.recent-assessment-card h3 a {
  text-decoration: none;
}

.recent-assessment-card h3 a:hover,
.recent-assessment-card h3 a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.recent-assessment-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
}

.recent-assessment-people {
  display: inline-flex;
  min-width: 0;
  padding-left: 3px;
}

.recent-assessment-people .card-interlocutor {
  width: 32px;
  height: 32px;
}

.recent-assessment-people .card-interlocutor + .card-interlocutor {
  margin-left: -7px;
}

.recent-assessment-scores {
  gap: 5px;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.recent-assessment-scores .teal {
  color: var(--teal-text);
}

.recent-assessment-scores .coral {
  color: var(--coral-text);
}

.recent-assessment-scores i {
  color: var(--line);
  font-style: normal;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.pagination-controls,
.pagination-pages {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.pagination-control,
.pagination-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 9px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}

.pagination-page {
  min-width: 28px;
}

.pagination-ellipsis {
  min-width: 14px;
  color: var(--muted);
  text-align: center;
}

.pagination-control:hover,
.pagination-control:focus-visible,
.pagination-page:hover,
.pagination-page:focus-visible {
  color: var(--blue);
  border-color: rgba(47, 143, 133, 0.46);
}

.pagination-control.disabled,
.pagination-page.active {
  color: #fff;
  background: var(--ink);
  border-color: rgba(19, 32, 31, 0.2);
}

.pagination-control.disabled {
  opacity: 0.42;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-showcase {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-self: end;
  justify-content: center;
  width: min(100%, 464px);
  min-width: 0;
  margin: 0;
  padding: clamp(10px, 1.6vw, 18px);
}

.logo-showcase::before,
.logo-showcase::after {
  content: "";
  position: absolute;
  border-radius: 8px;
}

.logo-showcase::before {
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(232, 224, 211, 0.78)),
    linear-gradient(135deg, rgba(47, 143, 133, 0.18), rgba(211, 93, 71, 0.14));
  border: 1px solid rgba(19, 32, 31, 0.12);
  box-shadow:
    0 34px 72px rgba(27, 43, 41, 0.22),
    0 10px 22px rgba(27, 43, 41, 0.12);
  transform: rotate(-1.2deg);
}

.logo-showcase::after {
  inset: clamp(6px, 1vw, 12px);
  z-index: -1;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(208, 163, 31, 0.26);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.84);
}

.logo-showcase img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 420px);
  height: auto;
  max-height: min(64vh, 560px);
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(19, 32, 31, 0.16);
  border-radius: 8px;
  box-shadow:
    0 20px 46px rgba(27, 43, 41, 0.2),
    0 2px 0 rgba(255, 255, 255, 0.9) inset;
}

.debate-list {
  padding: 20px 0 76px;
}

.search-page,
.topics-page,
.rankings-page,
.interlocutor-profile-page {
  padding: clamp(28px, 5vw, 58px) 0 76px;
}

.topics-page *,
.rankings-page *,
.interlocutor-profile-page * {
  min-width: 0;
}

.search-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.search-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.search-count {
  margin: 0;
  padding: 8px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 850;
  white-space: nowrap;
}

.search-tool {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
  padding: clamp(16px, 3vw, 24px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(27, 43, 41, 0.08);
}

.search-form {
  display: grid;
  gap: 8px;
}

.search-form label,
.filter-heading-copy strong {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-input-row input {
  flex: 1 1 280px;
  min-height: 44px;
  min-width: 0;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
}

#search-query:placeholder-shown:not(:focus) {
  color: #fff;
  background-color: var(--glove-red);
  border-color: var(--glove-red);
}

#search-query:placeholder-shown:not(:focus)::placeholder {
  color: #fff;
  opacity: 1;
}

.filter-section {
  display: grid;
  gap: 10px;
}

.filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}

.filter-accordion {
  padding: 10px 12px;
  background: rgba(247, 250, 249, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.filter-accordion .filter-heading {
  cursor: pointer;
}

.filter-heading::-webkit-details-marker {
  display: none;
}

.filter-heading::before {
  content: "+";
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.filter-accordion[open] .filter-heading::before {
  content: "-";
}

.filter-heading-copy {
  display: grid;
  flex: 1;
  gap: 2px;
  min-width: 0;
}

.filter-photo-preview {
  display: flex;
  flex: 0 0 auto;
  gap: 5px;
}

.filter-photo-preview img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f6ead0;
}

@media (max-width: 600px) {
  .filter-accordion .filter-heading {
    flex-wrap: wrap;
  }

  .filter-photo-preview img {
    width: 40px;
    height: 40px;
  }

  .filter-heading-copy {
    order: 1;
    flex-basis: 100%;
  }

  .filter-count {
    margin-left: auto;
  }
}

.filter-heading-copy small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.filter-count {
  flex: 0 0 auto;
  padding: 5px 9px;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.filter-accordion[open] .interlocutor-filter-list {
  margin-top: 10px;
}

.interlocutor-filter-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  align-content: start;
  gap: 8px;
  max-height: min(420px, 48vh);
  overflow-y: auto;
  padding-right: 4px;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.person-filter {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
}

.person-filter {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) max-content;
  align-items: center;
  min-width: 0;
  gap: 9px;
  padding: 7px 9px;
  text-align: left;
}

.person-filter img,
.result-person img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: cover;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(19, 32, 31, 0.16);
}

.person-filter span {
  min-width: 0;
  font-size: 0.86rem;
  font-weight: 800;
}

.person-filter strong {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.person-filter.active {
  background: var(--teal-soft);
  border-color: rgba(47, 143, 133, 0.48);
  box-shadow: inset 0 0 0 1px rgba(47, 143, 133, 0.2);
}

.person-filter:hover {
  border-color: rgba(47, 143, 133, 0.48);
}

.search-results {
  padding-top: 4px;
}

.search-match-label {
  max-width: min(100%, 720px);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.search-result-list {
  display: grid;
  gap: 14px;
}

.search-result {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(27, 43, 41, 0.08);
  content-visibility: auto;
  contain-intrinsic-block-size: auto 360px;
}

.search-result h3,
.search-result p {
  margin: 0;
}

.search-result h3 {
  font-size: 1.35rem;
}

.search-result p:not(.motion) {
  color: var(--muted);
}

.search-result-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 18px;
}

.search-result-main > div:first-child {
  display: grid;
  gap: 10px;
}

.result-people {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 8px;
}

.result-person {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 5px 8px 5px 5px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
}

.result-person:hover,
.result-person:focus-visible {
  border-color: rgba(45, 95, 139, 0.56);
  box-shadow: 0 6px 16px rgba(27, 43, 41, 0.1);
}

.result-person:focus-visible {
  outline: 2px solid rgba(45, 95, 139, 0.32);
  outline-offset: 2px;
}

.result-person span {
  min-width: 0;
  color: #30413e;
  font-size: 0.78rem;
  font-weight: 850;
}

.rankings-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(236px, 300px);
  align-items: end;
  gap: clamp(22px, 4vw, 54px);
  margin-bottom: 30px;
}

.rankings-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
  line-height: 0.92;
}

.rankings-lede {
  max-width: 720px;
  margin: 16px 0 0;
  color: #40524f;
  font-size: clamp(1rem, 1.6vw, 1.23rem);
  font-weight: 650;
  line-height: 1.4;
}

.rankings-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 9px 18px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(27, 43, 41, 0.08);
}

.rankings-summary span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rankings-summary strong {
  color: var(--ink);
  font-size: 1.36rem;
  line-height: 1;
}

.ranking-tool {
  margin-bottom: 0;
  padding: clamp(14px, 2.5vw, 20px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(27, 43, 41, 0.08);
}

.ranking-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) max-content;
  align-items: end;
  gap: 12px;
}

.ranking-control {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.ranking-form label,
.ranking-comparison-form .ranking-control > span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ranking-form select,
.ranking-comparison-form select {
  min-width: 0;
  min-height: 42px;
  padding: 8px 30px 8px 10px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
}

.ranking-comparison-form select:has(option[value=""]:checked) {
  color: #fff;
  background-color: var(--glove-red);
  border-color: var(--glove-red);
  color-scheme: dark;
}

.ranking-comparison-form select option {
  color: var(--ink);
  background-color: #fff;
}

.ranking-form-actions {
  display: flex;
  align-self: end;
  gap: 8px;
}

.ranking-form-actions .button {
  min-height: 42px;
  padding: 8px 12px;
}

.ranking-comparison {
  display: grid;
  gap: 14px;
  margin: 0 0 26px;
  padding: 0 0 24px;
  border-bottom: 1px solid rgba(47, 143, 133, 0.28);
}

.ranking-comparison-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1;
}

.ranking-comparison-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 8px 0 0;
  color: #40524f;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.35;
}

.ranking-comparison-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr) max-content;
  align-items: end;
  gap: 12px;
}

.ranking-comparison-versus {
  display: grid;
  place-items: center;
  align-self: end;
  min-height: 42px;
}

.ranking-comparison-versus img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 3px 4px rgba(91, 38, 28, 0.18));
}

.ranking-comparison-actions {
  display: flex;
  gap: 8px;
}

.ranking-comparison-actions .button {
  min-height: 42px;
  padding: 8px 12px;
}

.comparison-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.comparison-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.comparison-person {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 14px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.comparison-person-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.comparison-person-identity:hover strong,
.comparison-person-identity:focus-visible strong {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.comparison-person-identity img {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(19, 32, 31, 0.18);
}

.comparison-person-identity span {
  display: grid;
  gap: 2px;
}

.comparison-person-identity strong {
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.1;
}

.comparison-person-identity small,
.comparison-person-stats dt {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.comparison-person-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 0;
}

.comparison-person-stats div {
  display: grid;
  gap: 2px;
}

.comparison-person-stats dd {
  margin: 0;
  color: #40524f;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.05;
}

.comparison-person-stats dd.strong,
.comparison-person-stats dd.bias {
  color: var(--teal-text);
}

.comparison-person-stats dd.mixed {
  color: var(--gold-text);
}

.comparison-person-stats dd.weak,
.comparison-person-stats dd.fallacy {
  color: var(--coral-text);
}

.reasoning-distribution {
  display: grid;
  gap: 18px;
  margin: 4px 0 32px;
  padding: 28px 0 30px;
  border-top: 1px solid rgba(47, 143, 133, 0.32);
  border-bottom: 1px solid rgba(47, 143, 133, 0.22);
}

.reasoning-distribution-heading {
  display: block;
}

.reasoning-distribution-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.3vw, 2.35rem);
  line-height: 1;
}

.reasoning-distribution-heading > div > p:not(.eyebrow) {
  max-width: 680px;
  margin: 9px 0 0;
  color: #40524f;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.38;
}

.reasoning-distribution-readout {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 2.2fr);
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reasoning-readout-focus {
  display: grid;
  align-content: center;
  gap: 4px;
}

.reasoning-readout-focus span,
.reasoning-readout-stats dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reasoning-readout-focus strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.16;
}

.reasoning-readout-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.reasoning-readout-stats div {
  display: grid;
  align-content: start;
  gap: 4px;
}

.reasoning-readout-stats dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1;
}

.reasoning-readout-stats .fallacy dd {
  color: var(--coral-text);
}

.reasoning-readout-stats .bias dd {
  color: var(--teal-text);
}

.reasoning-readout-stats dd small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.15;
}

.reasoning-distribution-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  color: #40524f;
  font-size: 0.78rem;
  font-weight: 750;
}

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

.reasoning-distribution-legend i {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 2px;
}

.reasoning-distribution-legend i.fallacy,
.reasoning-bar-track .fallacy {
  background: var(--coral);
}

.reasoning-distribution-legend i.bias,
.reasoning-bar-track .bias {
  background: var(--teal);
}

.reasoning-distribution-legend small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
}

.reasoning-topic-chart {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.reasoning-topic-row {
  display: grid;
  grid-template-columns: minmax(360px, 430px) minmax(0, 1fr);
  gap: 20px;
  padding: 6px 0;
  border-bottom: 2px solid rgba(47, 143, 133, 0.3);
}

.reasoning-topic-name {
  display: grid;
  align-content: center;
  gap: 4px;
}

.reasoning-topic-name strong {
  color: var(--ink);
  font-size: 0.91rem;
  line-height: 1.16;
}

.reasoning-topic-name span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.reasoning-topic-average {
  color: var(--blue);
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.reasoning-rate-bars {
  display: grid;
  gap: 4px;
}

.reasoning-rate-bar {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 84px;
  align-items: center;
  gap: 9px;
}

.reasoning-rate-bar > span:first-child {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.reasoning-bar-track {
  display: block;
  height: 8px;
  overflow: hidden;
  background: #e7edeb;
  border-radius: 999px;
}

.reasoning-bar-track i {
  display: block;
  width: var(--bar-width);
  height: 100%;
  border-radius: inherit;
}

.reasoning-rate-bar strong {
  color: #40524f;
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.reasoning-distribution-note {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.38;
}

.section-score-distribution {
  display: grid;
  gap: 22px;
  margin: 4px 0 32px;
  padding: 30px 0 34px;
  border-top: 1px solid rgba(47, 143, 133, 0.32);
  border-bottom: 1px solid rgba(47, 143, 133, 0.22);
}

.backend-page .backend-rubric-evidence {
  margin-top: clamp(34px, 6vw, 68px);
  padding: clamp(24px, 4vw, 38px);
  background:
    radial-gradient(circle at top right, rgba(208, 163, 31, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(239, 248, 247, 0.94), rgba(255, 252, 242, 0.92));
  border: 1px solid rgba(47, 143, 133, 0.24);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(21, 57, 67, 0.08);
}

.section-score-distribution-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: 28px;
}

.section-score-distribution-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.3vw, 2.35rem);
  line-height: 1;
}

.section-score-distribution-heading > div > p:not(.eyebrow) {
  max-width: 790px;
  margin: 9px 0 0;
  color: #40524f;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.45;
}

.section-score-distribution-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.section-score-distribution-summary div {
  display: grid;
  align-content: start;
  gap: 4px;
  padding-left: 10px;
  border-left: 2px solid rgba(47, 143, 133, 0.35);
}

.section-score-distribution-summary dt {
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-score-distribution-summary dd {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.section-score-chart-figure {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px 18px 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(27, 43, 41, 0.06);
}

.section-score-chart-frame {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
}

.section-score-y-axis {
  display: flex;
  height: 260px;
  flex-direction: column;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: right;
}

.section-score-chart-scroll {
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-color: rgba(47, 143, 133, 0.42) transparent;
}

.section-score-chart-scroll:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

.section-score-chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--bucket-count), minmax(34px, 1fr));
  min-width: 880px;
  height: 294px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-score-chart::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 260px;
  background:
    linear-gradient(to bottom, rgba(47, 143, 133, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, transparent calc(50% - 0.5px), rgba(47, 143, 133, 0.16) calc(50% - 0.5px), rgba(47, 143, 133, 0.16) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(to top, rgba(47, 143, 133, 0.22) 1px, transparent 1px);
  content: "";
  pointer-events: none;
}

.section-score-bucket {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 260px 34px;
  min-width: 0;
  text-align: center;
}

.section-score-bar-column {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
}

.section-score-bar-column > span {
  position: absolute;
  bottom: min(calc(var(--bar-height) + 4px), calc(100% - 14px));
  color: #40524f;
  font-size: 0.59rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.section-score-bar-column i {
  width: min(72%, 28px);
  height: var(--bar-height);
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--bar-color) 78%, var(--ink)),
    color-mix(in srgb, var(--bar-color) 82%, #ffffff)
  );
  border: 1px solid color-mix(in srgb, var(--bar-color) 72%, var(--ink));
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--bar-color) 26%, transparent);
}

.section-score-bucket.populated .section-score-bar-column i {
  min-height: 2px;
}

.section-score-bucket > strong {
  align-self: start;
  padding-top: 8px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.section-score-chart-figure figcaption {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.4;
}

.rubric-extremes-accordion {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(38, 91, 105, 0.22);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(27, 43, 41, 0.06);
}

.rubric-extremes-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  color: #173f4c;
  background: linear-gradient(90deg, rgba(232, 246, 243, 0.94), rgba(255, 249, 229, 0.92));
  cursor: pointer;
  list-style: none;
  transition: background 160ms ease;
}

.rubric-extremes-accordion summary::-webkit-details-marker {
  display: none;
}

.rubric-extremes-accordion summary:hover {
  background: linear-gradient(90deg, rgba(219, 240, 236, 0.98), rgba(255, 245, 211, 0.96));
}

.rubric-extremes-accordion summary:focus-visible {
  outline: 3px solid rgba(47, 143, 133, 0.34);
  outline-offset: -3px;
}

.rubric-extremes-accordion summary > span {
  display: grid;
  gap: 4px;
}

.rubric-extremes-accordion summary strong {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.1;
}

.rubric-extremes-accordion summary small {
  color: #4b6268;
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.35;
}

.rubric-extremes-accordion summary i {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  background: #1f6475;
  border-radius: 50%;
  box-shadow: 0 7px 16px rgba(21, 57, 67, 0.15);
}

.rubric-extremes-accordion summary i::before,
.rubric-extremes-accordion summary i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 160ms ease;
}

.rubric-extremes-accordion summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.rubric-extremes-accordion[open] summary {
  border-bottom: 1px solid rgba(38, 91, 105, 0.18);
}

.rubric-extremes-accordion[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.rubric-extremes-content {
  display: grid;
  gap: 22px;
  padding: 22px;
}

.rubric-extremes-intro,
.rubric-extremes-note,
.rubric-extremes-column > div > p:not(.eyebrow) {
  margin: 0;
  color: #40524f;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.5;
}

.rubric-extremes-intro {
  max-width: 980px;
}

.rubric-extremes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rubric-extremes-column {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(38, 91, 105, 0.17);
  border-radius: 10px;
}

.rubric-extremes-column--top {
  border-top: 4px solid var(--teal);
}

.rubric-extremes-column--bottom {
  border-top: 4px solid var(--coral);
}

.rubric-extremes-column > div {
  display: grid;
  gap: 6px;
}

.rubric-extremes-column h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
}

.rubric-extremes-column ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rubric-extreme-card {
  display: grid;
  gap: 7px;
  padding: 14px;
  background: #f8fbfa;
  border: 1px solid rgba(38, 91, 105, 0.14);
  border-radius: 8px;
}

.rubric-extreme-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rubric-extreme-card-heading > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #ffffff;
  background: #55706c;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 900;
}

.rubric-extreme-card--top .rubric-extreme-card-heading > span {
  background: var(--teal-text);
}

.rubric-extreme-card--bottom .rubric-extreme-card-heading > span {
  background: var(--coral);
}

.rubric-extreme-card-heading strong {
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.rubric-extreme-card-heading strong.strong {
  color: var(--teal-text);
}

.rubric-extreme-card-heading strong.mixed {
  color: #9a6800;
}

.rubric-extreme-card-heading strong.weak {
  color: var(--coral-text);
}

.rubric-extreme-card h4 {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.24;
}

.rubric-extreme-speaker {
  margin: 0;
  color: #40524f;
  font-size: 0.79rem;
  font-weight: 800;
  line-height: 1.3;
}

.rubric-extreme-card > a {
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
}

.rubric-extreme-card > a:hover,
.rubric-extreme-card > a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rubric-extreme-assessment {
  margin: 3px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(38, 91, 105, 0.14);
}

.rubric-extreme-move {
  margin: 0;
  color: #40524f;
  font-size: 0.75rem;
  line-height: 1.46;
}

.rubric-extreme-move span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.rubric-extreme-move span .rubric-extreme-move-score {
  display: inline-block;
  margin: 0 0 0 5px;
  padding: 1px 5px;
  color: var(--ink);
  background: rgba(38, 91, 105, 0.1);
  border-radius: 999px;
  font-size: 0.59rem;
  letter-spacing: 0;
  line-height: 1.4;
  vertical-align: 1px;
}

.rubric-extreme-analysis {
  display: grid;
  gap: 9px;
  margin-top: 10px;
  padding-top: 11px;
  border-top: 1px solid rgba(38, 91, 105, 0.14);
}

.rubric-extreme-analysis > strong {
  color: #173f4c;
  font-size: 0.71rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.rubric-extreme-analysis p {
  margin: 0;
  color: #40524f;
  font-size: 0.75rem;
  line-height: 1.46;
}

.rubric-extreme-analysis p span {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 6px;
  color: #173f4c;
  background: var(--teal-soft);
  border-radius: 999px;
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  line-height: 1.35;
  text-transform: uppercase;
}

.rubric-extreme-analysis p + p span {
  color: #783225;
  background: var(--coral-soft);
}

.rubric-extremes-note {
  padding-top: 2px;
  font-size: 0.72rem;
}

.rankings-list-section {
  display: grid;
  gap: 16px;
}

.rankings-list-section .section-heading {
  align-items: end;
}

.rankings-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.38;
}

.rankings-notes {
  display: grid;
  max-width: 520px;
  gap: 3px;
}

.rankings-context-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.38;
}

.ranking-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 9px 24px rgba(27, 43, 41, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ranking-card:hover,
.ranking-card:focus-within {
  border-color: rgba(47, 143, 133, 0.62);
  box-shadow: 0 13px 28px rgba(27, 43, 41, 0.11);
}

.ranking-card-main {
  display: grid;
  grid-template-columns: 46px 52px minmax(0, 1fr) max-content;
  align-items: center;
  gap: 12px;
  padding: 11px 14px 11px 11px;
  color: var(--ink);
  text-decoration: none;
}

.ranking-place {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #ffffff;
  background: var(--ink);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.ranking-card-main > img,
.ranking-card-main > .portrait-placeholder img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: cover;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(19, 32, 31, 0.18);
}

.ranking-person,
.ranking-score {
  display: grid;
  gap: 3px;
}

.ranking-person strong {
  font-size: 1rem;
  font-weight: 900;
}

.ranking-person small,
.ranking-score small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ranking-appearance-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.sample-confidence {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.sample-confidence i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
}

.sample-confidence.developing i {
  background: var(--blue);
}

.sample-confidence.established i {
  background: var(--teal);
}

.ranking-person .ranking-topic {
  color: #40524f;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}

.ranking-tag-bars {
  display: grid;
  width: min(100%, 420px);
  gap: 4px;
  margin-top: 3px;
}

.ranking-tag-rate {
  display: grid;
  grid-template-columns: 54px minmax(72px, 1fr) 76px;
  align-items: center;
  gap: 7px;
}

.ranking-tag-rate > span:first-child {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ranking-tag-track {
  display: block;
  height: 6px;
  overflow: hidden;
  background: #e7edeb;
  border-radius: 999px;
}

.ranking-tag-track i {
  display: block;
  width: var(--bar-width);
  height: 100%;
  border-radius: inherit;
}

.ranking-tag-rate.fallacy .ranking-tag-track i {
  background: var(--coral);
}

.ranking-tag-rate.bias .ranking-tag-track i {
  background: var(--teal);
}

.ranking-tag-rate strong {
  color: #40524f;
  font-size: 0.65rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.ranking-score {
  min-width: 0;
  text-align: right;
}

.ranking-score-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 252px;
  gap: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.ranking-score strong {
  font-size: 1.32rem;
  line-height: 1;
}

.ranking-score.strong strong {
  color: var(--teal-text);
}

.ranking-score.mixed strong {
  color: var(--gold-text);
}

.ranking-score.weak strong {
  color: var(--coral-text);
}

.ranking-chart-note {
  max-width: 960px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.ranking-card.has-score-profile .ranking-card-main {
  grid-template-columns: 46px 52px minmax(0, 1fr) minmax(180px, 224px) 252px;
}

.ranking-mini-chart {
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 2px 10px;
}

.ranking-mini-chart figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
}

.ranking-mini-chart figcaption span {
  font-weight: 600;
}

.ranking-mini-chart .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ranking-mini-chart .profile-score-bars {
  height: 52px;
  margin-top: 18px;
  gap: 3px;
  background: linear-gradient(to top, transparent calc(50% - 1px), var(--line) 50%, transparent calc(50% + 1px));
  border-bottom: 1px solid var(--line);
}

.ranking-mini-chart .profile-score-bars li {
  position: relative;
  display: block;
}

.ranking-mini-bar {
  position: absolute;
  inset: auto 0 0;
  height: var(--bar-height);
  background: var(--profile-score-bar-color);
  border-radius: 3px 3px 0 0;
}

.ranking-mini-count {
  position: absolute;
  bottom: calc(var(--bar-height) + 3px);
  left: 0;
  width: 100%;
  color: #40524f;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.ranking-mini-axis {
  display: flex;
  justify-content: space-between;
  padding-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1100px) {
  .ranking-card.has-score-profile .ranking-card-main {
    grid-template-columns: 46px 52px minmax(0, 1fr) 252px;
  }

  .ranking-card.has-score-profile .ranking-person {
    grid-column: 3 / -1;
  }

  .ranking-mini-chart {
    grid-column: 1 / 4;
    grid-row: 2;
    width: min(100%, 280px);
    justify-self: end;
  }

  .ranking-card.has-score-profile .ranking-score-pair {
    grid-column: 4;
    grid-row: 2;
  }
}

@media (max-width: 640px) {
  .ranking-card.has-score-profile .ranking-card-main {
    grid-template-columns: 42px 48px minmax(0, 1fr);
  }

  .ranking-mini-chart {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 320px);
    padding-top: 10px;
  }

  .ranking-card.has-score-profile .ranking-score-pair {
    grid-column: 2 / -1;
    grid-row: 3;
  }
}

@media (max-width: 360px) {
  .ranking-card .ranking-tag-rate {
    grid-template-columns: 54px minmax(20px, 1fr) 70px;
    gap: 5px;
  }
}

@media (forced-colors: active) {
  .ranking-mini-bar {
    background: CanvasText;
  }
}

.ranking-method summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 8px 13px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  list-style: none;
}

.ranking-method summary::-webkit-details-marker {
  display: none;
}

.ranking-method summary::after {
  content: "+";
  color: var(--teal-text);
  font-size: 1.05rem;
  font-weight: 900;
}

.ranking-method[open] summary::after {
  content: "-";
}

.ranking-method {
  margin-top: 10px;
  background: rgba(247, 250, 249, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ranking-method > div {
  display: grid;
  gap: 9px;
  padding: 2px 13px 14px;
  color: #40524f;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.42;
}

.ranking-method p {
  margin: 0;
}

.profile-back-link {
  display: inline-block;
  margin-bottom: 18px;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.8fr);
  align-items: end;
  gap: clamp(24px, 5vw, 68px);
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.profile-identity {
  display: flex;
  align-items: center;
  gap: 18px;
}

.profile-identity > img,
.profile-identity > .portrait-placeholder img {
  width: clamp(92px, 12vw, 136px);
  height: clamp(92px, 12vw, 136px);
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(19, 32, 31, 0.18), 0 14px 30px rgba(27, 43, 41, 0.12);
}

.profile-identity h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  line-height: 0.96;
}

.profile-identity p:not(.eyebrow) {
  margin: 10px 0 8px;
  color: #40524f;
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.35;
}

.profile-hero-scores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-metric {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 88px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.94);
}

.profile-metric dt,
.profile-debate-card dt {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.profile-metric dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.05;
}

.profile-metric.strong dd,
.profile-metric.bias dd {
  color: var(--teal-text);
}

.profile-metric.mixed dd {
  color: var(--gold-text);
}

.profile-metric.weak dd,
.profile-metric.fallacy dd {
  color: var(--coral-text);
}

.profile-distribution,
.profile-scorecards {
  display: grid;
  gap: 18px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(47, 143, 133, 0.26);
}

.profile-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.profile-section-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1;
}

.profile-section-heading > p {
  max-width: 450px;
  margin: 0;
  color: #40524f;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.38;
}

@media (min-width: 641px) {
  .profile-opponents .profile-section-heading {
    gap: clamp(38px, 6vw, 72px);
  }
}

.profile-distribution-overview {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-distribution-overview strong {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 900;
}

.profile-distribution-overview span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.profile-bio-chart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.profile-biography { max-width: 65ch; padding: 24px 0; }
.profile-biography h2, .profile-biography h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin: 0 0 16px; }
.profile-biography > p:not(.eyebrow) { line-height: 1.7; }
.profile-biography .profile-biography-source { font-size: 0.85rem; }
.profile-bio-chart .profile-score-histogram { width: 100%; min-width: 0; margin: 0; }

@media (max-width: 850px) {
  .profile-bio-chart { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

.profile-score-histogram {
  width: min(52%, 640px);
  margin: 0 auto;
}

.profile-score-chart {
  position: relative;
  padding-left: 34px;
}

.profile-score-y-label {
  position: absolute;
  top: 50%;
  left: 0;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
}

.profile-score-bars {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: clamp(4px, 1.2vw, 12px);
  height: clamp(180px, 25vw, 230px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-score-bars li {
  display: grid;
  grid-template-rows: 22px minmax(0, 1fr) 28px;
  min-width: 0;
}

.profile-score-bars li:nth-child(1) {
  --profile-score-bar-color: var(--coral);
}

.profile-score-bars li:nth-child(2) {
  --profile-score-bar-color: color-mix(in srgb, var(--coral) 78%, var(--gold));
}

.profile-score-bars li:nth-child(3) {
  --profile-score-bar-color: color-mix(in srgb, var(--coral) 55%, var(--gold));
}

.profile-score-bars li:nth-child(4) {
  --profile-score-bar-color: color-mix(in srgb, var(--coral) 30%, var(--gold));
}

.profile-score-bars li:nth-child(5) {
  --profile-score-bar-color: var(--gold);
}

.profile-score-bars li:nth-child(6) {
  --profile-score-bar-color: color-mix(in srgb, var(--gold) 80%, var(--teal));
}

.profile-score-bars li:nth-child(7) {
  --profile-score-bar-color: color-mix(in srgb, var(--gold) 60%, var(--teal));
}

.profile-score-bars li:nth-child(8) {
  --profile-score-bar-color: color-mix(in srgb, var(--gold) 40%, var(--teal));
}

.profile-score-bars li:nth-child(9) {
  --profile-score-bar-color: color-mix(in srgb, var(--gold) 20%, var(--teal));
}

.profile-score-bars li:nth-child(10) {
  --profile-score-bar-color: var(--teal);
}

.profile-score-bar-count {
  align-self: center;
  color: #40524f;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.profile-score-bar {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent calc(25% - 1px),
    rgba(47, 143, 133, 0.12) calc(25% - 1px),
    rgba(47, 143, 133, 0.12) 25%
  );
  border-bottom: 1px solid rgba(47, 143, 133, 0.38);
}

.profile-score-bar i {
  width: min(72%, 42px);
  height: var(--bar-height);
  background: var(--profile-score-bar-color, var(--teal));
  border-radius: 5px 5px 0 0;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--profile-score-bar-color, var(--teal)) 28%, transparent);
}

.profile-score-bars li.has-score .profile-score-bar i {
  min-height: 4px;
}

.profile-score-bucket-label {
  align-self: end;
  overflow: visible;
  color: var(--muted);
  font-size: 0.6rem;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.profile-score-histogram figcaption {
  margin: 10px 0 0 34px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.4;
}

.profile-score-histogram.comparison-score-histogram {
  grid-column: 1 / -1;
  width: 100%;
  margin: 3px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(47, 143, 133, 0.18);
}

.comparison-score-histogram .profile-score-chart {
  padding-left: 28px;
}

.comparison-score-histogram .profile-score-bars {
  gap: clamp(3px, 0.55vw, 7px);
  height: clamp(135px, 14vw, 170px);
}

.comparison-score-histogram .profile-score-y-label {
  font-size: 0.54rem;
}

.comparison-score-histogram figcaption {
  margin: 8px 0 0 28px;
  font-size: 0.66rem;
}

.debate-score-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 2px 0 20px;
}

.debate-score-profile-slot {
  min-width: 0;
}

.debate-multi-interlocutor-note {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0;
  padding: 14px 16px;
  color: #40524f;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.debate-multi-interlocutor-note.coral {
  border-left-color: var(--coral);
}

.debate-multi-interlocutor-note strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.debate-score-profiles {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  padding: 18px 20px 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
}

.debate-score-profiles.coral {
  border-left-color: var(--coral);
}

.debate-score-profile {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.debate-score-profile + .debate-score-profile {
  padding-top: 18px;
  border-top: 1px solid rgba(47, 143, 133, 0.16);
}

.debate-score-profile-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.debate-score-profile-heading h3 {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.1;
}

.debate-score-profile-heading a {
  color: var(--ink);
  text-decoration: none;
}

.debate-score-profile-heading a:hover,
.debate-score-profile-heading a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.debate-score-profile-heading span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: uppercase;
}

.profile-score-histogram.debate-score-histogram {
  width: 100%;
  margin: 0;
}

.debate-score-histogram .profile-score-chart {
  padding-left: 28px;
}

.debate-score-histogram .profile-score-bars {
  gap: clamp(3px, 0.55vw, 7px);
  height: clamp(135px, 14vw, 170px);
}

.debate-score-histogram .profile-score-y-label {
  font-size: 0.54rem;
}

.debate-score-histogram figcaption {
  margin: 8px 0 0 28px;
  font-size: 0.66rem;
}

.debate-score-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

@media (max-width: 820px) {
  .debate-score-profile-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .profile-score-histogram {
    width: 100%;
  }

  .profile-score-chart {
    padding-left: 23px;
  }

  .profile-score-bars {
    gap: 3px;
    height: 174px;
  }

  .profile-score-y-label {
    font-size: 0.52rem;
  }

  .profile-score-bar-count {
    font-size: 0.64rem;
  }

  .profile-score-bar i {
    width: 76%;
  }

  .profile-score-bucket-label {
    font-size: 0.51rem;
    letter-spacing: -0.06em;
  }

  .profile-score-histogram figcaption {
    margin-left: 23px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .profile-score-bar i {
    animation: profile-score-bar-rise 420ms ease-out both;
    transform-origin: bottom;
  }
}

@keyframes profile-score-bar-rise {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

.profile-score-bars li.is-empty .profile-score-bar i {
  height: 100%;
  visibility: hidden;
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 58px);
  margin-top: 30px;
}

.profile-breakdown {
  display: grid;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.profile-breakdown-list,
.profile-opponent-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.profile-breakdown-list li,
.profile-opponent-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 55px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.profile-breakdown-list li > span,
.profile-opponent-list a {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
}

.profile-breakdown-list strong,
.profile-opponent-list strong {
  display: block;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.16;
}

.profile-breakdown-list small,
.profile-opponent-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.profile-breakdown-list b,
.profile-opponent-list b {
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.profile-breakdown-list b.strong,
.profile-opponent-list b.strong {
  color: var(--teal-text);
}

.profile-breakdown-list b.mixed,
.profile-opponent-list b.mixed {
  color: var(--gold-text);
}

.profile-breakdown-list b.weak,
.profile-opponent-list b.weak {
  color: var(--coral-text);
}

.profile-opponent-list a {
  color: var(--ink);
  text-decoration: none;
}

.profile-opponent-list a:hover strong,
.profile-opponent-list a:focus-visible strong {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.profile-opponent-list img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(19, 32, 31, 0.18);
}

.profile-debate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-debate-card {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 9px 24px rgba(27, 43, 41, 0.06);
}

.profile-debate-card h3,
.profile-debate-card p {
  margin: 0;
}

.profile-debate-card h3 {
  font-size: 1rem;
  line-height: 1.15;
}

.profile-debate-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.profile-debate-card h3 a:hover,
.profile-debate-card h3 a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.profile-debate-card > p:not(.eyebrow) {
  color: #40524f;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.32;
}

.profile-debate-opponent {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.26;
}

.profile-debate-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 2px 0 0;
}

.profile-debate-card dl div {
  display: grid;
  gap: 3px;
}

.profile-debate-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1;
}

.profile-debate-card dd.strong {
  color: var(--teal-text);
}

.profile-debate-card dd.mixed {
  color: var(--gold-text);
}

.profile-debate-card dd.weak {
  color: var(--coral-text);
}

.empty-results {
  display: grid;
  gap: 4px;
  padding: 20px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.empty-results strong {
  color: var(--ink);
}

.topics-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
  gap: clamp(18px, 4vw, 46px);
  align-items: end;
  margin-bottom: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(47, 143, 133, 0.24);
}

.topics-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.topics-lede {
  max-width: 700px;
  margin: 16px 0 0;
  color: #30413e;
  font-size: clamp(1rem, 1.7vw, 1.24rem);
  line-height: 1.28;
}

.topics-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 8px 14px;
  padding: 16px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(47, 143, 133, 0.32), transparent 50%),
    var(--ink);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(27, 43, 41, 0.18);
}

.topics-summary span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topics-summary strong {
  font-size: 1.7rem;
  line-height: 1;
  text-align: right;
}

.topic-jump-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.topic-jump {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(27, 43, 41, 0.06);
}

.topic-jump span {
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.1;
}

.topic-jump strong {
  display: inline-grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.topic-jump:hover,
.topic-jump:focus-visible {
  border-color: rgba(47, 143, 133, 0.46);
  transform: translateY(-1px);
}

.topic-category-list {
  display: grid;
  gap: clamp(30px, 5vw, 50px);
}

.topic-category {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  content-visibility: auto;
  contain-intrinsic-block-size: auto 1400px;
  scroll-margin-top: 92px;
}

.topic-category-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.72fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 14px;
}

.topic-category-heading h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2.45rem);
  line-height: 1;
  letter-spacing: 0;
}

.topic-category-heading > p {
  margin: 0;
  color: #30413e;
  font-size: 0.95rem;
  line-height: 1.35;
}

.topic-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}

.topic-debate-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  min-height: 210px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-top: 4px solid rgba(47, 143, 133, 0.72);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(27, 43, 41, 0.07);
  overflow: hidden;
}

.topic-debate-card:nth-child(4n + 2) {
  border-top-color: rgba(45, 95, 139, 0.72);
}

.topic-debate-card:nth-child(4n + 3) {
  border-top-color: rgba(211, 93, 71, 0.72);
}

.topic-debate-card:nth-child(4n + 4) {
  border-top-color: rgba(208, 163, 31, 0.78);
}

.topic-card-title {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.08;
  text-decoration: none;
}

.topic-card-title > span:last-child {
  overflow-wrap: anywhere;
}

.topic-card-title:hover,
.topic-card-title:focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.topic-chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
}

.topic-chip-row span {
  display: inline-flex;
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  padding: 2px 5px;
  color: #30413e;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 0.62rem;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.topic-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.topic-card-people {
  --avatar-size: 32px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding-left: 3px;
  isolation: isolate;
}

.topic-card-people img {
  display: block;
  width: var(--avatar-size);
  height: var(--avatar-size);
  object-fit: cover;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow:
    0 7px 16px rgba(27, 43, 41, 0.14),
    0 0 0 1px rgba(19, 32, 31, 0.16);
}

.topic-card-people img + img {
  margin-left: -7px;
}

.topic-card-duration {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-align: right;
  text-transform: uppercase;
}

.topic-card-reveal {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 12px;
  color: #f7fbf8;
  background:
    linear-gradient(135deg, rgba(19, 32, 31, 0.98), rgba(39, 62, 58, 0.96));
  border-radius: 7px;
  box-shadow:
    inset 0 4px 0 rgba(247, 251, 248, 0.16),
    0 20px 38px rgba(19, 32, 31, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition:
    opacity 150ms ease,
    transform 150ms ease;
}

.topic-debate-card:hover .topic-card-reveal,
.topic-debate-card:focus-within .topic-card-reveal {
  opacity: 1;
  transform: translateY(0);
}

.topic-card-reveal span {
  display: block;
  margin-bottom: 2px;
  color: rgba(247, 251, 248, 0.62);
  font-size: 0.54rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.topic-card-reveal p {
  margin: 0;
  color: rgba(247, 251, 248, 0.9);
  font-size: 0.66rem;
  font-weight: 720;
  line-height: 1.15;
}

.topic-category-heading h2 a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.topic-breadcrumb { margin-bottom: 24px; line-height: 1.7; }
.topic-breadcrumb a, .topic-scope a, .topic-related-links a { color: var(--blue); text-underline-offset: 3px; }
.topic-detail-page .topics-hero { grid-template-columns: minmax(0, 1fr); }
.topic-scope { max-width: 900px; margin: 24px 0 32px; }
.topic-related-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.topic-related-links h2 { width: 100%; margin: 0 0 8px; }

.assessment-page {
  width: min(1180px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  padding: clamp(34px, 5vw, 64px) 0 82px;
}

.assessment-page * {
  min-width: 0;
}

.assessment-page h1,
.assessment-page h2,
.assessment-page h3,
.assessment-page p,
.assessment-page strong {
  overflow-wrap: anywhere;
}

.assessment-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: clamp(22px, 5vw, 58px);
  align-items: end;
  margin-bottom: clamp(34px, 6vw, 68px);
  padding-bottom: clamp(24px, 4vw, 42px);
  border-bottom: 1px solid rgba(47, 143, 133, 0.24);
}

.assessment-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.backend-page .assessment-hero h1 {
  font-size: clamp(2.15rem, 4.3vw, 3.85rem);
}

.assessment-lede {
  max-width: 760px;
  margin: 22px 0 0;
  color: #30413e;
  font-size: clamp(1.08rem, 2vw, 1.48rem);
}

.assessment-stamp {
  position: relative;
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding: 20px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(47, 143, 133, 0.24), transparent 42%),
    var(--ink);
  border: 1px solid rgba(19, 32, 31, 0.2);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(27, 43, 41, 0.18);
}

.assessment-stamp::after {
  display: block;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--coral), var(--gold));
  border-radius: 999px;
  content: "";
}

.assessment-stamp span,
.score-band span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assessment-stamp strong {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1;
}

.assessment-stamp p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.assessment-principles,
.assessment-flow,
.assessment-rubric,
.assessment-examples,
.assessment-detail,
.backend-summary,
.backend-selection,
.backend-objectivity,
.backend-technical,
.backend-report {
  margin-top: clamp(34px, 6vw, 68px);
}

.backend-summary-panel {
  padding: clamp(20px, 3vw, 28px);
  background:
    radial-gradient(circle at top right, rgba(65, 142, 158, 0.14), transparent 44%),
    linear-gradient(135deg, #edf6f7 0%, #f4f7f4 60%, #f8f4e9 100%);
  border: 1px solid rgba(38, 91, 105, 0.2);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(21, 57, 67, 0.09);
}

.backend-summary-copy p {
  margin: 0;
  color: #30413e;
  font-size: 1.03rem;
  line-height: 1.65;
}

.backend-summary-copy strong {
  color: #173f4c;
}

.backend-process-hero {
  display: block;
  margin-bottom: 26px;
  padding-bottom: 24px;
}

.backend-process-hero .eyebrow {
  display: none;
}

.backend-page:has(.backend-process-guide) {
  padding-top: 28px;
}

.backend-process-guide .section-heading {
  margin-bottom: 16px;
}

.backend-process-intro {
  max-width: 900px;
  color: var(--muted);
}

.backend-process-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 16px 0;
}

.backend-process-actions a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.backend-process-text {
  margin: 16px 0 24px;
}

.backend-process-text summary {
  padding: 12px 16px;
}

.backend-process-text summary strong {
  font-size: 1rem;
}

.backend-process-panels {
  display: grid;
  gap: 26px;
}

.backend-process-panels figure {
  margin: 0;
  scroll-margin-top: 24px;
}

.backend-process-panels figure > a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.backend-process-panels img {
  display: block;
  width: 100%;
  height: auto;
}

.backend-process-panels figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 10px 2px 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.backend-process-panels figcaption a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.backend-process-scope {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.backend-selection {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
  padding: clamp(22px, 4vw, 38px);
  background:
    radial-gradient(circle at bottom left, rgba(47, 143, 133, 0.12), transparent 38%),
    #f7faf9;
  border: 1px solid rgba(38, 91, 105, 0.2);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(21, 57, 67, 0.08);
  scroll-margin-top: 24px;
}

.backend-selection-copy h2,
.backend-recommendation-card h3 {
  margin: 0;
  color: #173f4c;
}

.backend-selection-copy h2 {
  margin-top: 5px;
  font-size: clamp(1.7rem, 3.6vw, 2.65rem);
  line-height: 1.02;
}

.backend-selection-copy > p:not(.eyebrow) {
  margin: 16px 0 0;
  color: #30413e;
  font-size: 1rem;
  line-height: 1.65;
}

.backend-selection-copy strong {
  color: #173f4c;
}

.backend-recommendation-card {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 26px);
  background: #ffffff;
  border: 1px solid rgba(38, 91, 105, 0.2);
  border-top: 5px solid var(--coral);
  border-radius: 11px;
  box-shadow: 0 14px 30px rgba(21, 57, 67, 0.09);
}

.backend-recommendation-card h3 {
  margin-top: 4px;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
}

.backend-recommendation-card > div > p:last-child,
.backend-recommendation-privacy {
  margin: 7px 0 0;
  color: #4b6268;
  line-height: 1.5;
}

.backend-recommendation-card > div > p:last-child {
  font-size: 0.9rem;
}

.backend-recommendation-form {
  display: grid;
  gap: 8px;
}

.backend-recommendation-form label:not(.backend-recommendation-honey) {
  margin-top: 5px;
  color: #173f4c;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.backend-recommendation-form input:not([type="hidden"]),
.backend-recommendation-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfdfc;
  border: 1px solid rgba(38, 91, 105, 0.3);
  border-radius: 7px;
  font: inherit;
}

.backend-recommendation-form input:not([type="hidden"]):focus,
.backend-recommendation-form textarea:focus {
  outline: 3px solid rgba(47, 143, 133, 0.25);
  outline-offset: 1px;
  border-color: var(--teal-text);
}

.backend-recommendation-form .button {
  justify-self: start;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.backend-recommendation-form textarea {
  min-height: 130px;
  resize: vertical;
}

.feedback-screening-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding-left: 20px;
  color: #30413e;
  font-size: 0.88rem;
  line-height: 1.55;
}

.feedback-screening-list strong {
  color: var(--blue);
}

.feedback-team-note,
.feedback-selection-note {
  font-size: 0.84rem;
}

.feedback-selection-note {
  margin: 0;
  color: #30413e;
  line-height: 1.55;
}

.backend-recommendation-honey {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.backend-recommendation-success {
  margin: 0;
  padding: 12px 14px;
  color: #17594f;
  background: #e8f6f1;
  border: 1px solid rgba(47, 143, 133, 0.32);
  border-radius: 7px;
  line-height: 1.5;
}

.backend-recommendation-privacy {
  padding-top: 12px;
  border-top: 1px solid rgba(38, 91, 105, 0.15);
  font-size: 0.76rem;
}

.backend-objectivity-accordion {
  overflow: hidden;
  background: rgba(251, 253, 252, 0.96);
  border: 1px solid rgba(38, 91, 105, 0.24);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(21, 57, 67, 0.09);
}

.backend-objectivity-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(20px, 3vw, 28px);
  color: #173f4c;
  background:
    radial-gradient(circle at right center, rgba(208, 163, 31, 0.12), transparent 34%),
    linear-gradient(90deg, rgba(226, 243, 240, 0.92), rgba(255, 252, 240, 0.9));
  cursor: pointer;
  list-style: none;
  transition: background 160ms ease;
}

.backend-objectivity-accordion summary::-webkit-details-marker {
  display: none;
}

.backend-objectivity-accordion summary:hover {
  background:
    radial-gradient(circle at right center, rgba(208, 163, 31, 0.17), transparent 36%),
    linear-gradient(90deg, rgba(216, 238, 234, 0.96), rgba(255, 249, 226, 0.94));
}

.backend-objectivity-accordion summary:focus-visible {
  outline: 3px solid rgba(47, 143, 133, 0.34);
  outline-offset: -3px;
}

.backend-objectivity-accordion summary > span {
  display: grid;
  gap: 5px;
}

.backend-objectivity-kicker {
  color: #2d7185;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.backend-objectivity-accordion summary strong {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  line-height: 1.08;
}

.backend-objectivity-accordion summary small {
  color: #4b6268;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
}

.backend-objectivity-accordion summary i {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  background: #1f6475;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(21, 57, 67, 0.16);
}

.backend-objectivity-accordion summary i::before,
.backend-objectivity-accordion summary i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 160ms ease;
}

.backend-objectivity-accordion summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.backend-objectivity-accordion[open] summary {
  border-bottom: 1px solid rgba(38, 91, 105, 0.2);
}

.backend-objectivity-accordion[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.assessment-faq {
  margin-bottom: 30px;
  scroll-margin-top: 110px;
  box-shadow: none;
}

.assessment-faq > summary {
  display: grid;
  grid-template-columns: clamp(64px, 9vw, 88px) minmax(0, 1fr) 34px;
  gap: clamp(10px, 2vw, 20px);
  padding: 12px clamp(12px, 2vw, 22px);
}

.assessment-faq-art {
  display: block;
  width: 100%;
  height: auto;
}

.assessment-faq > summary > span {
  min-width: 0;
}

.assessment-faq > summary strong {
  font-size: 1.18rem;
  line-height: 1.3;
}

.assessment-faq-content {
  padding: clamp(20px, 4vw, 36px);
}

.assessment-faq-list {
  display: grid;
  gap: 24px;
  max-width: 78ch;
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.65;
}

.assessment-faq-list > div + div {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.assessment-faq-list dt {
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.45;
}

.assessment-faq-list dd {
  margin: 8px 0 0;
}

.assessment-faq-list p {
  margin: 0;
}

.assessment-faq-list p + p {
  margin-top: 12px;
}

.assessment-faq-list a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.profile-score-histogram.assessment-faq-score-graph {
  width: 100%;
  max-width: 420px;
  margin: 16px 0 20px;
}

.assessment-faq-score-graph figcaption {
  margin: 0 0 8px;
}

.assessment-faq-score-graph figcaption strong,
.assessment-faq-score-graph figcaption span {
  display: block;
}

.assessment-faq-score-graph figcaption strong {
  color: var(--ink);
  font-size: 0.85rem;
  margin-bottom: 3px;
}

.assessment-faq-score-graph .profile-score-chart {
  padding-left: 0;
}

.assessment-faq-score-graph .profile-score-bars {
  height: 120px;
  gap: 4px;
}

.assessment-faq-score-graph .profile-score-bucket-label {
  font-size: 0.55rem;
}

.assessment-faq-reference {
  margin: 10px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
}

.assessment-faq-reference a,
.scoreboard .assessment-faq-link {
  color: var(--muted);
  text-underline-offset: 3px;
}

.scoreboard .assessment-faq-link {
  justify-self: center;
  font-size: 0.75rem;
  text-align: center;
}

.assessment-faq-reference a:hover,
.assessment-faq-reference a:focus-visible,
.scoreboard .assessment-faq-link:hover,
.scoreboard .assessment-faq-link:focus-visible {
  color: var(--blue);
}

.backend-objectivity-content {
  padding: clamp(20px, 4vw, 36px);
  background:
    linear-gradient(180deg, rgba(248, 251, 250, 0.98), rgba(242, 247, 246, 0.98));
}

.backend-objectivity-intro,
.backend-objectivity-limit {
  margin: 0;
  color: #30413e;
  font-size: 1rem;
  line-height: 1.65;
}

.backend-objectivity-intro {
  max-width: 940px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid rgba(38, 91, 105, 0.16);
  border-left: 4px solid var(--gold);
  border-radius: 9px;
}

.backend-objectivity-intro strong,
.backend-objectivity-limit strong {
  color: #173f4c;
}

.backend-objectivity-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 20px 0;
  padding: 0;
  counter-reset: objectivity-step;
  list-style: none;
}

.backend-objectivity-steps > li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  padding: 18px 18px 18px 58px;
  background: #ffffff;
  border: 1px solid rgba(38, 91, 105, 0.16);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(21, 57, 67, 0.05);
  counter-increment: objectivity-step;
}

.backend-objectivity-steps > li::before {
  position: absolute;
  top: 17px;
  left: 16px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #ffffff;
  background: #1f6475;
  border-radius: 50%;
  content: counter(objectivity-step, decimal-leading-zero);
  font-size: 0.68rem;
  font-weight: 900;
}

.backend-objectivity-steps h3 {
  margin: 2px 0 0;
  color: #173f4c;
  font-size: 1rem;
}

.backend-objectivity-steps p,
.backend-objectivity-steps ul {
  margin: 0;
  color: #30413e;
  font-size: 0.9rem;
  line-height: 1.58;
}

.backend-objectivity-steps ul {
  display: grid;
  gap: 7px;
  padding-left: 18px;
}

.backend-objectivity-steps li li::marker {
  color: var(--teal-text);
}

.backend-objectivity-limit {
  padding-top: 16px;
  border-top: 1px solid rgba(38, 91, 105, 0.18);
}

.backend-report-panel {
  overflow: hidden;
  background: rgba(251, 253, 252, 0.96);
  border: 1px solid rgba(38, 91, 105, 0.24);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(21, 57, 67, 0.09);
}

.backend-report-header {
  display: grid;
  gap: 6px;
  padding: clamp(20px, 3vw, 28px);
  background:
    radial-gradient(circle at right center, rgba(211, 93, 71, 0.13), transparent 34%),
    linear-gradient(90deg, rgba(239, 246, 246, 0.94), rgba(255, 247, 239, 0.92));
  border-bottom: 1px solid rgba(38, 91, 105, 0.2);
}

.backend-report-header h2,
.backend-report-header p {
  margin: 0;
}

.backend-report-header h2 {
  color: #173f4c;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.08;
}

.backend-report-header p {
  color: #4b6268;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

.backend-report-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
}

.backend-report-copy {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.backend-report-copy .eyebrow,
.backend-report-copy h3,
.backend-report-copy p {
  margin: 0;
}

.backend-report-copy h3 {
  color: #173f4c;
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  line-height: 1.08;
}

.backend-report-copy p:not(.eyebrow) {
  color: #30413e;
  font-size: 0.98rem;
  line-height: 1.68;
}

.backend-report-copy strong {
  color: #173f4c;
}

.backend-report-library {
  display: grid;
  gap: clamp(30px, 5vw, 48px);
}

.backend-report-group {
  display: grid;
  gap: 16px;
}

.backend-report-group-heading {
  display: grid;
  gap: 5px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(38, 91, 105, 0.2);
}

.backend-report-group-heading > span {
  color: #b34835;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.backend-report-group-heading h3,
.backend-report-group-heading p {
  margin: 0;
}

.backend-report-group-heading h3 {
  color: #173f4c;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.15;
}

.backend-report-group-heading p {
  max-width: 760px;
  color: #4b6268;
  font-size: 0.86rem;
  line-height: 1.5;
}

.backend-report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: stretch;
}

.backend-report-card {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 26px);
  color: #f4f9f9;
  background:
    linear-gradient(145deg, rgba(47, 143, 133, 0.2), transparent 46%),
    #173f4c;
  border: 1px solid rgba(23, 63, 76, 0.3);
  border-top: 5px solid var(--coral);
  border-radius: 11px;
  box-shadow: 0 16px 34px rgba(21, 57, 67, 0.14);
}

.backend-report-card > span {
  color: #f0c65a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.backend-report-card > strong {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
}

.backend-report-card h4 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.12;
}

.backend-report-card strong {
  color: #ffffff;
}

.backend-report-card > p,
.backend-report-card > small {
  margin: 0;
  color: rgba(240, 248, 248, 0.82);
  line-height: 1.55;
}

.backend-report-card > p {
  font-size: 0.9rem;
}

.backend-report-card dl {
  display: grid;
  gap: 0;
  margin: 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.backend-report-card dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.backend-report-card dt,
.backend-report-card dd {
  margin: 0;
}

.backend-report-card dt {
  color: rgba(240, 248, 248, 0.7);
  font-size: 0.76rem;
  font-weight: 750;
}

.backend-report-card dd {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 900;
  text-align: right;
}

.backend-report-link {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.backend-report-card > small {
  font-size: 0.74rem;
}

.backend-technical {
  padding: clamp(22px, 4vw, 36px);
  color: #f2f8f8;
  font-size: 0.86rem;
  background: linear-gradient(145deg, #173f4c 0%, #123641 58%, #0f3039 100%);
  border: 1px solid rgba(38, 91, 105, 0.3);
  border-radius: 16px;
  box-shadow: 0 22px 52px rgba(3, 23, 30, 0.18);
}

.backend-technical .section-heading h2,
.backend-technical h3 {
  color: #ffffff;
}

.backend-technical .eyebrow {
  color: #f0c65a;
}

.backend-technical .section-summary,
.backend-technical-intro,
.backend-technical-grid p,
.backend-technical-note {
  color: rgba(237, 247, 248, 0.82);
}

.backend-technical-intro {
  max-width: 900px;
  margin: 0 0 18px;
  line-height: 1.62;
}

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

.backend-technical-grid article {
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
}

.backend-technical-grid h3 {
  margin: 0 0 8px;
  font-size: 0.96rem;
}

.backend-technical-grid p,
.backend-technical-note {
  margin: 0;
  line-height: 1.58;
}

.backend-technical-note {
  margin-top: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--gold);
  border-radius: 7px;
  font-size: 0.8rem;
}

.backend-technical-note strong {
  color: #ffffff;
}

.principle-grid,
.example-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.principle-card,
.assessment-example {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(27, 43, 41, 0.08);
}

.principle-card {
  border-top: 4px solid var(--teal);
}

.principle-card:nth-child(2) {
  border-top-color: var(--blue);
}

.principle-card:nth-child(3) {
  border-top-color: var(--coral);
}

.principle-card:nth-child(4) {
  border-top-color: var(--gold);
}

.principle-card h3,
.assessment-example h3 {
  margin: 0;
  font-size: 1.04rem;
}

.principle-card p,
.assessment-example p,
.process-steps p,
.score-band p,
.assessment-detail-copy p {
  margin: 0;
  color: #30413e;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
}

.process-steps li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 8px 12px;
  align-content: start;
  min-height: 176px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-steps span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 900;
}

.process-steps strong {
  font-size: 1rem;
}

.score-band-list {
  display: grid;
  gap: 10px;
}

.assessment-rubric-intro {
  max-width: 820px;
  margin: 0 0 18px;
  color: #30413e;
  font-size: 1rem;
}

.rubric-dimensions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.rubric-formulas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 24px;
}

.rubric-formulas article {
  display: grid;
  gap: 8px;
  padding: 15px;
  background: #162a27;
  border: 1px solid rgba(47, 143, 133, 0.38);
  border-radius: 14px;
  color: #fff;
}

.rubric-formulas code {
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: normal;
}

.score-bands-heading {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.score-band {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  overflow: hidden;
  padding: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.score-band div {
  display: grid;
  align-content: start;
  gap: 4px;
}

.score-band strong {
  font-size: 1.6rem;
  line-height: 1;
}

.score-band span {
  color: var(--blue);
}

.score-band i {
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--band-width);
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--coral));
}

.example-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.assessment-example {
  border-left: 5px solid var(--blue);
}

.assessment-example:nth-child(2) {
  border-left-color: var(--teal);
}

.assessment-example:nth-child(3) {
  border-left-color: var(--coral);
}

.assessment-example:nth-child(4) {
  border-left-color: var(--gold);
}

.example-move {
  color: var(--ink) !important;
  font-weight: 800;
}

.assessment-detail {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(18px, 4vw, 48px);
  padding: clamp(22px, 4vw, 38px) 0;
  border-top: 1px solid rgba(47, 143, 133, 0.24);
  border-bottom: 1px solid rgba(47, 143, 133, 0.24);
}

.assessment-detail h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 0.96;
}

.assessment-detail-copy {
  display: grid;
  gap: 14px;
  font-size: 1.02rem;
}

.corrections-page {
  display: grid;
  gap: clamp(40px, 7vw, 76px);
  padding: clamp(34px, 6vw, 70px) 0 82px;
}

.corrections-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: clamp(24px, 5vw, 58px);
}

.corrections-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.9rem, 7vw, 5.7rem);
  line-height: 0.9;
}

.corrections-lede {
  max-width: 760px;
  margin: 22px 0 0;
  color: #30413e;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  font-weight: 650;
  line-height: 1.42;
}

.corrections-action-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(211, 93, 71, 0.16), transparent 44%),
    #fff;
  border: 1px solid rgba(211, 93, 71, 0.28);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.corrections-action-card > span {
  color: var(--coral-text);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.corrections-action-card > strong {
  font-size: 1.35rem;
  line-height: 1.08;
}

.corrections-action-card p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.correction-report-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
  padding: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(circle at bottom left, rgba(47, 143, 133, 0.12), transparent 40%),
    #f7faf9;
  border: 1px solid rgba(38, 91, 105, 0.2);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(21, 57, 67, 0.08);
  scroll-margin-top: 24px;
}

.correction-report-intro h2 {
  margin: 5px 0 0;
  color: #173f4c;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 0.98;
}

.feedback-recommendation-section {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  scroll-margin-top: 90px;
}

.correction-report-intro > p:not(.eyebrow) {
  margin: 18px 0 0;
  color: #30413e;
  line-height: 1.6;
}

.correction-report-context {
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.86);
  border-left: 4px solid var(--teal);
  border-radius: 5px;
  font-size: 0.88rem;
}

.correction-report-card {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  border: 1px solid rgba(38, 91, 105, 0.2);
  border-top: 5px solid var(--coral);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(21, 57, 67, 0.09);
}

.correction-report-form {
  display: grid;
  gap: 8px;
}

.correction-report-form label:not(.correction-report-honey) {
  margin-top: 6px;
  color: #173f4c;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.correction-report-form label span {
  color: var(--muted);
  font-size: 0.68rem;
}

.correction-report-form input:not([type="hidden"]),
.correction-report-form select,
.correction-report-form textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfdfc;
  border: 1px solid rgba(38, 91, 105, 0.3);
  border-radius: 7px;
  font: inherit;
}

.correction-report-form input:not([type="hidden"]),
.correction-report-form select {
  min-height: 46px;
}

.correction-report-form textarea {
  min-height: 92px;
  resize: vertical;
}

.correction-report-form input:not([type="hidden"]):focus,
.correction-report-form select:focus,
.correction-report-form textarea:focus {
  outline: 3px solid rgba(47, 143, 133, 0.25);
  outline-offset: 1px;
  border-color: var(--teal-text);
}

.correction-report-form .button {
  justify-self: start;
  margin-top: 10px;
  cursor: pointer;
}

.correction-report-honey {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.correction-report-success {
  margin: 0;
  padding: 12px 14px;
  color: #17594f;
  background: #e8f6f1;
  border: 1px solid rgba(47, 143, 133, 0.32);
  border-radius: 7px;
  line-height: 1.5;
}

.correction-report-privacy {
  margin: 0;
  padding-top: 14px;
  color: #4b6268;
  border-top: 1px solid rgba(38, 91, 105, 0.15);
  font-size: 0.76rem;
  line-height: 1.5;
}

.corrections-process-list,
.revision-log-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.corrections-process-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.corrections-process-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.corrections-process-list li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 900;
}

.corrections-process-list li > div {
  display: grid;
  align-content: start;
  gap: 7px;
}

.corrections-process-list strong {
  line-height: 1.16;
}

.corrections-process-list p,
.revision-log-list p {
  margin: 0;
  color: #40524f;
  font-size: 0.82rem;
  line-height: 1.45;
}

.revision-log-list {
  border-top: 1px solid var(--line);
}

.revision-log-list li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.revision-log-list time {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.revision-log-list li > div {
  display: grid;
  gap: 8px;
}

.revision-log-list h3 {
  margin: 0;
  font-size: 1.16rem;
}

.revision-log-list a {
  width: max-content;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  text-underline-offset: 3px;
}

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

.section-heading h2,
.debate-section h2,
.overall h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0;
}

.backend-page .backend-summary .section-heading h2,
.backend-page .backend-technical .section-heading h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

#debates-heading {
  scroll-margin-top: 86px;
}

.section-summary {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: right;
}

.debate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.debate-card,
.argument,
.overall-side,
.scoreboard,
.reference-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.debate-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: 14px;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(27, 43, 41, 0.08);
  content-visibility: auto;
  contain-intrinsic-block-size: auto 480px;
}

.card-topline,
.argument-meta,
.section-score-pair,
.card-actions,
.argument-footer,
.overall-score,
.side-score-strip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-topline,
.argument-meta {
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.timestamp-link {
  color: inherit;
  text-decoration: none;
}

.timestamp-link:hover,
.timestamp-link:focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.card-label {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.debate-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-width: 30px;
  min-height: 24px;
  color: #ffffff;
  background: var(--ink);
  border: 1px solid rgba(19, 32, 31, 0.22);
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
}

.debate-card h3 {
  margin: 0;
  font-size: 1.4rem;
}

.debate-title-link {
  color: inherit;
  text-decoration: none;
}

.debate-title-year {
  display: inline-block;
  margin-inline-start: 0.42em;
  color: var(--muted);
  font-size: 0.72em;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transform: translateY(0.12em);
}

.debate-title-link:hover,
.debate-title-link:focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.debate-card p {
  margin: 0;
  color: var(--muted);
}

.card-interlocutors {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding-left: 2px;
}

.card-interlocutor {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.card-interlocutor + .card-interlocutor {
  margin-left: -8px;
}

.card-interlocutor img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: cover;
  background: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 11px rgba(27, 43, 41, 0.15), 0 0 0 1px rgba(19, 32, 31, 0.15);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.card-interlocutor:hover,
.card-interlocutor:focus-visible {
  z-index: 1;
  outline: none;
}

.card-interlocutor:hover img,
.card-interlocutor:focus-visible img {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 7px 14px rgba(27, 43, 41, 0.2), 0 0 0 2px rgba(45, 95, 139, 0.42);
}

.motion {
  color: var(--ink) !important;
  font-weight: 750;
}

.motion.large {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.38rem);
}

.source-note {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}

.scoring-note {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: start;
  margin: 0 0 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 8px;
}

.interaction-guide {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 20px;
  padding: 12px 16px;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
}

.interaction-guide strong {
  min-width: max-content;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.interaction-guide span {
  color: rgba(255, 255, 255, 0.8);
}

.scoring-note strong,
.quote-side {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scoring-note span {
  color: #30413e;
}

.assessment-model {
  flex-basis: 100%;
  color: var(--muted) !important;
  font-size: 0.82rem;
  font-weight: 800;
}

.quote-panel {
  margin: 0 0 18px;
  padding: 4px 0 0;
}

.quote-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.quote-panel-head h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.quote-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 240px;
  gap: 18px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 247, 0.9));
  border: 1px solid var(--line);
  border-top: 7px solid var(--teal);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(27, 43, 41, 0.1);
}

.quote-card.coral {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 231, 226, 0.62));
  border-top-color: var(--coral);
}

.quote-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.quote-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #30413e;
  font-size: 1.02rem;
}

.quote-card-mark {
  position: absolute;
  right: 18px;
  bottom: -34px;
  color: rgba(47, 143, 133, 0.1);
  font-family: Georgia, serif;
  font-size: 11rem;
  line-height: 1;
}

.quote-card.coral .quote-card-mark {
  color: rgba(211, 93, 71, 0.1);
}

.side-score-strip {
  align-items: stretch;
  margin-top: 4px;
}

.mini-score {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 10px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-score span,
.mini-score strong {
  position: relative;
  z-index: 1;
}

.mini-score span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.mini-score strong {
  display: block;
  margin-top: 4px;
  font-size: 1.55rem;
  line-height: 1;
}

.mini-score i {
  position: absolute;
  inset: auto auto 0 0;
  width: var(--score-width);
  height: 5px;
  background: var(--teal);
}

.mini-score.coral i {
  background: var(--coral);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
}

.button:hover {
  transform: translateY(-1px);
}

.debate-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(128px, 178px) 270px;
  gap: clamp(18px, 3vw, 28px);
  align-items: end;
  padding: clamp(28px, 5vw, 58px) 0 24px;
}

.debate-hero > *,
.quote-card,
.scoring-note,
.interaction-guide {
  min-width: 0;
}

.debate-hero h1 {
  max-width: 840px;
  font-size: clamp(1.5rem, 3.9vw, 3.35rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.debate-hero h1 .debate-title-year {
  font-size: clamp(0.92rem, 0.38em, 1.3rem);
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 850;
  text-decoration: none;
}

.scoreboard {
  display: grid;
  gap: 10px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.scoreboard > div:first-child {
  padding: 12px;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
}

.scoreboard > div:first-child span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.scoreboard > div:first-child strong {
  display: block;
  font-size: 2.6rem;
  line-height: 1;
}

.scoreboard .scorecard-correction-link {
  justify-self: center;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
}

.scoreboard .scorecard-correction-link:hover,
.scoreboard .scorecard-correction-link:focus-visible {
  color: var(--blue);
}

.debate-gloves-panel {
  align-self: center;
  justify-self: center;
  width: min(100%, 178px);
  margin: 0;
}

.debate-gloves-panel img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 26px rgba(27, 43, 41, 0.22));
}

.columns-head {
  position: sticky;
  top: 64px;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 12px 0;
  background: rgba(244, 248, 247, 0.92);
  backdrop-filter: blur(12px);
}

.side-heading {
  --avatar-size: clamp(42px, 4.2vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.side-name {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.side-speaker-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  gap: 10px;
}

.side-speaker-lockup strong {
  flex: 1 1 18ch;
  min-width: 0;
  text-align: left;
  overflow-wrap: break-word;
  word-break: normal;
}

.side-speaker-lockup .speaker-avatar-stack {
  flex-wrap: wrap;
  max-width: 100%;
  row-gap: 8px;
}

.portrait-placeholder {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: #e3f3f0;
  color: #173d38;
}

.portrait-placeholder > img {
  visibility: hidden;
}

.portrait-placeholder > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 850;
  font-size: 0.78rem;
}

.profile-identity > .portrait-placeholder > span {
  font-size: 2rem;
}

.speaker-avatar-stack {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding-left: 4px;
  isolation: isolate;
}

.speaker-avatar {
  display: block;
  width: var(--avatar-size);
  height: var(--avatar-size);
  object-fit: cover;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow:
    0 7px 16px rgba(27, 43, 41, 0.14),
    0 0 0 1px rgba(19, 32, 31, 0.16);
}

.speaker-avatar-link {
  position: relative;
  display: block;
  border-radius: 50%;
}

.speaker-avatar-link + .speaker-avatar-link {
  margin-left: calc(var(--avatar-size) * -0.14);
}

.speaker-avatar-link:hover,
.speaker-avatar-link:focus-visible {
  z-index: 1;
  outline: none;
}

.speaker-avatar-link:hover .speaker-avatar,
.speaker-avatar-link:focus-visible .speaker-avatar {
  box-shadow:
    0 8px 18px rgba(27, 43, 41, 0.18),
    0 0 0 2px rgba(45, 95, 139, 0.48);
}

.speaker-avatar + .speaker-avatar {
  margin-left: calc(var(--avatar-size) * -0.14);
}

.side-heading.teal {
  border-left: 5px solid var(--teal);
}

.side-heading.coral {
  border-left: 5px solid var(--coral);
}

.debate-section {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.section-score {
  min-width: 94px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.section-score span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.section-score strong {
  font-size: 1.6rem;
  line-height: 1;
}

.section-score.strong {
  border-color: rgba(47, 143, 133, 0.35);
  background: var(--teal-soft);
}

.section-score.mixed {
  border-color: rgba(208, 163, 31, 0.36);
  background: #fff6d9;
}

.section-score.weak {
  border-color: rgba(211, 93, 71, 0.34);
  background: var(--coral-soft);
}

.exchange-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px 14px;
}

.argument {
  position: relative;
  min-height: 0;
  padding: 14px;
}

.argument.side-pro {
  grid-column: 1;
}

.argument.side-con {
  grid-column: 2;
}

.argument::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 8px 0 0 8px;
  background: var(--teal);
}

.argument.coral::before {
  background: var(--coral);
}

.argument p {
  margin: 12px 0;
  color: #243633;
  font-size: 0.98rem;
}

.argument-meta strong {
  min-width: 42px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface-2);
  text-align: center;
}

.argument-meta strong.strong {
  background: var(--teal-soft);
}

.argument-meta strong.mixed {
  background: #fff6d9;
}

.argument-meta strong.weak {
  background: var(--coral-soft);
}

.argument-footer {
  flex-wrap: wrap;
  align-items: center;
  margin-top: auto;
}

.critique {
  position: relative;
  display: inline-flex;
}

.critique button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.critique-popover {
  position: fixed;
  left: clamp(24px, 6vw, 80px);
  top: 86px;
  z-index: 30;
  display: grid;
  gap: 8px;
  width: min(520px, calc(100vw - 44px));
  max-height: calc(100vh - 112px);
  padding: 13px;
  overflow: auto;
  color: #fff;
  background: #13201f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: 0.92rem;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.critique-text {
  display: grid;
  gap: 8px;
}

.critique-section {
  display: block;
}

.critique-section > strong {
  font-weight: 850;
}

.critique:hover .critique-popover,
.critique:focus-within .critique-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 800;
  text-decoration: none;
}

.tag-wrap {
  position: relative;
  display: inline-flex;
}

.tag-popover {
  position: fixed;
  left: clamp(24px, 6vw, 80px);
  top: 86px;
  z-index: 35;
  display: grid;
  gap: 8px;
  width: min(520px, calc(100vw - 44px));
  max-height: calc(100vh - 112px);
  padding: 14px;
  overflow: auto;
  color: #fff;
  background: #13201f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: 0.92rem;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.tag-popover strong {
  font-size: 1rem;
}

.tag-popover em {
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.tag-context {
  color: rgba(255, 255, 255, 0.84);
}

.tag-popover-note {
  padding-top: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.tag-wrap:hover .tag-popover,
.tag-wrap:focus-within .tag-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tag.fallacy {
  color: #8f3829;
  background: var(--coral-soft);
  border-color: rgba(211, 93, 71, 0.28);
}

.tag.bias {
  color: #1e625c;
  background: var(--teal-soft);
  border-color: rgba(47, 143, 133, 0.28);
}

.tag.clean {
  color: #586663;
  background: var(--surface-2);
}

.overall {
  padding: 34px 0 76px;
  border-top: 1px solid var(--line);
}

.overall-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.overall-side {
  padding: 18px;
}

.overall-side.teal {
  border-top: 5px solid var(--teal);
}

.overall-side.coral {
  border-top: 5px solid var(--coral);
}

.overall-score {
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.overall-score span {
  color: var(--muted);
  font-weight: 850;
}

.overall-score strong {
  font-size: 2.4rem;
  line-height: 1;
}

.overall-side h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
  text-transform: uppercase;
}

.overall-side ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #30413e;
}

.logical-extension {
  margin-bottom: 76px;
  padding: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(circle at top right, rgba(65, 142, 158, 0.15), transparent 42%),
    linear-gradient(135deg, #edf6f7 0%, #f2f6f5 58%, #f7f4ec 100%);
  border: 1px solid rgba(38, 91, 105, 0.24);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(21, 57, 67, 0.1);
}

.logical-extension-heading > div {
  min-width: 0;
}

.logical-extension-heading h2 {
  margin: 0;
  color: #163d4a;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.logical-extension-heading .eyebrow {
  color: #2d7185;
}

.logical-extension-heading .section-summary {
  color: #4b6268;
}

.ai-extension-accordion {
  overflow: hidden;
  background: rgba(251, 253, 252, 0.94);
  border: 1px solid rgba(38, 91, 105, 0.24);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(21, 57, 67, 0.08);
}

.ai-extension-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: #183b47;
  background: linear-gradient(90deg, rgba(217, 235, 239, 0.96), rgba(238, 243, 238, 0.94));
  cursor: pointer;
  list-style: none;
  transition: background 160ms ease;
}

.ai-extension-accordion summary::-webkit-details-marker {
  display: none;
}

.ai-extension-accordion summary:hover {
  background: linear-gradient(90deg, rgba(207, 230, 235, 0.98), rgba(230, 239, 234, 0.96));
}

.ai-extension-accordion summary:focus-visible {
  outline: 3px solid rgba(47, 143, 133, 0.3);
  outline-offset: -3px;
}

.ai-extension-accordion summary > span {
  display: grid;
  gap: 4px;
}

.ai-extension-accordion summary strong {
  font-size: 1rem;
}

.ai-extension-accordion summary small {
  color: #536a6e;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
}

.ai-extension-accordion summary i {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  background: #1f6475;
  border-radius: 50%;
}

.ai-extension-accordion summary i::before,
.ai-extension-accordion summary i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: white;
  border-radius: 2px;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 160ms ease;
}

.ai-extension-accordion summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.ai-extension-accordion[open] summary {
  border-bottom: 1px solid rgba(38, 91, 105, 0.2);
}

.ai-extension-accordion[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.ai-extension-accordion-content {
  padding: clamp(18px, 2.5vw, 28px);
  background: linear-gradient(145deg, #173f4c 0%, #123641 58%, #0f3039 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.logical-extension-intro {
  max-width: 940px;
  margin: 0 0 22px;
  padding: 14px 16px;
  color: #edf7f8;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(4, 21, 27, 0.18);
}

.logical-extension-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.logical-extension-side {
  overflow: hidden;
  background: #fbfcfb;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(3, 23, 30, 0.24);
}

.logical-extension-side.teal {
  border-top: 5px solid var(--teal);
}

.logical-extension-side.coral {
  border-top: 5px solid var(--coral);
}

.logical-extension-side-heading {
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faf9 100%);
  border-bottom: 1px solid var(--line);
}

.logical-extension-side-heading span,
.extension-label,
.extension-premises span,
.extension-conclusion span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.logical-extension-side-heading h3 {
  margin: 4px 0 0;
  font-size: 1.22rem;
}

.extended-final-argument {
  padding: 18px;
}

.extension-label {
  margin: 0 0 9px;
}

.extension-thesis {
  margin: 0;
  color: var(--ink);
  font-size: 1.03rem;
  font-weight: 800;
  line-height: 1.46;
}

.extension-premises {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.extension-premises li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.extension-premises p,
.extension-conclusion p,
.new-argument p {
  margin: 5px 0 0;
  color: #30413e;
  line-height: 1.58;
}

.extension-conclusion {
  margin-top: 16px;
  padding: 16px;
  background: var(--surface-2);
  border-radius: 6px;
}

.logical-extension-side.teal .extension-conclusion {
  border-left: 4px solid var(--teal);
}

.logical-extension-side.coral .extension-conclusion {
  border-left: 4px solid var(--coral);
}

.new-arguments {
  padding: 18px;
  background: #eef4f3;
  border-top: 1px solid rgba(38, 91, 105, 0.16);
}

.new-arguments h4 {
  margin: 0 0 12px;
  font-size: 0.92rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.new-argument-list {
  display: grid;
  gap: 10px;
}

.new-argument {
  padding: 15px;
  background: #ffffff;
  border: 1px solid rgba(38, 91, 105, 0.18);
  border-radius: 6px;
  box-shadow: 0 5px 16px rgba(21, 57, 67, 0.06);
}

.new-argument h5 {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
}

@media (prefers-reduced-motion: reduce) {
  .backend-objectivity-accordion summary,
  .backend-objectivity-accordion summary i::before,
  .backend-objectivity-accordion summary i::after,
  .rubric-extremes-accordion summary,
  .rubric-extremes-accordion summary i::before,
  .rubric-extremes-accordion summary i::after,
  .ai-extension-accordion summary,
  .ai-extension-accordion summary i::before,
  .ai-extension-accordion summary i::after {
    transition: none;
  }
}

.inline-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: 4px;
}

.inline-links a {
  color: var(--blue);
  font-weight: 800;
}

.route-loading {
  display: grid;
  min-height: calc(100vh - 64px);
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 48px 20px;
  color: var(--muted);
  text-align: center;
}

.route-loading-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #ffffff;
  background: var(--ink);
  border-radius: 50%;
  font-size: 1.1rem;
  animation: route-loading-pulse 900ms ease-in-out infinite alternate;
}

.route-loading p {
  margin: 0;
  font-weight: 800;
}

@keyframes route-loading-pulse {
  to {
    opacity: 0.48;
    transform: scale(0.9);
  }
}

.not-found {
  min-height: calc(100vh - 64px);
  padding: 80px 0;
}

.reference-page {
  width: min(820px, calc(100% - 32px));
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 76px) 0;
}

.reference-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
}

.reference-nav .back-link {
  margin-bottom: 0;
}

.reference-nav span {
  color: var(--muted);
  font-weight: 850;
}

.reference-card {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border-top: 6px solid var(--coral);
  box-shadow: var(--shadow);
}

.reference-card.bias {
  border-top-color: var(--teal);
}

.reference-card h1 {
  margin: 0;
  font-size: clamp(2.1rem, 7vw, 4.4rem);
  line-height: 0.95;
}

.reference-card p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: #30413e;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.reference-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.reference-contexts {
  padding: 28px 0 0;
}

.reference-context-list {
  display: grid;
  gap: 14px;
}

.reference-context-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  content-visibility: auto;
  contain-intrinsic-block-size: auto 300px;
  scroll-margin-top: 92px;
}

.reference-context-card h3,
.reference-context-card p,
.reference-context-card blockquote {
  margin: 0;
}

.reference-speaker {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.reference-interlocutor {
  color: var(--coral-text);
}

.reference-context-card blockquote {
  padding-left: 14px;
  color: #243633;
  border-left: 4px solid var(--line);
  font-size: 1rem;
}

.reference-context-card > p:not(.reference-speaker):not(.reference-debate-return) {
  color: #30413e;
}

.reference-debate-link,
.reference-debate-return a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.reference-debate-link:hover,
.reference-debate-return a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reference-debate-return {
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .debate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recent-assessment-grid,
  .corrections-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-jump-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .principle-grid,
  .process-steps,
  .rubric-formulas,
  .backend-technical-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .site-header nav {
    justify-content: flex-start;
    width: 100%;
  }

  .landing-panel,
  .assessment-hero,
  .assessment-detail,
  .topics-hero,
  .topic-category-heading,
  .debate-hero,
  .quote-grid,
  .overall-grid,
  .logical-extension-grid,
  .profile-hero,
  .corrections-hero,
  .correction-report-section {
    grid-template-columns: 1fr;
  }

  .rubric-extremes-grid {
    grid-template-columns: 1fr;
  }

  .corrections-action-card {
    max-width: 620px;
  }

  .landing-panel {
    min-height: auto;
  }

  .logo-showcase {
    justify-self: center;
    width: min(100%, 370px);
  }

  .logo-showcase img {
    width: min(100%, 340px);
    max-height: 480px;
  }

  .debate-gloves-panel {
    width: min(100%, 150px);
  }

  .columns-head {
    top: 108px;
  }

  .side-heading {
    grid-template-columns: 1fr;
    --avatar-size: 48px;
  }

  .side-speaker-lockup {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .side-speaker-lockup strong {
    text-align: left;
  }

  .quote-card {
    min-height: 210px;
  }

  .quote-card blockquote {
    font-size: 2.15rem;
  }

  .section-title-row,
  .section-score-pair,
  .interaction-guide,
  .scoring-note,
  .side-score-strip,
  .card-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .landing,
  .debate-page,
  .search-page,
  .topics-page,
  .rankings-page,
  .interlocutor-profile-page,
  .assessment-page,
  .corrections-page,
  .not-found {
    width: min(100vw - 20px, 1180px);
  }

  .assessment-page {
    max-width: calc(100vw - 20px);
  }

  .search-result-main {
    grid-template-columns: 1fr;
  }

  .search-hero {
    align-items: start;
    flex-direction: column;
  }

  .recent-assessments-heading,
  .recent-assessments-actions {
    align-items: start;
    justify-items: start;
    text-align: left;
  }

  .recent-assessment-grid,
  .corrections-process-list {
    grid-template-columns: 1fr;
  }

  .revision-log-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .topics-summary {
    grid-template-columns: minmax(0, 1fr) max-content;
  }

  .topic-jump-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rankings-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .rankings-list-section .section-heading {
    align-items: start;
  }

  .ranking-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ranking-comparison-form {
    grid-template-columns: 1fr;
  }

  .ranking-comparison-versus {
    min-height: 32px;
    margin: -3px 0;
  }

  .ranking-comparison-versus img {
    width: 38px;
    height: 38px;
  }

  .ranking-comparison-actions {
    justify-content: flex-start;
  }

  .comparison-results,
  .profile-detail-grid,
  .profile-debate-grid {
    grid-template-columns: 1fr;
  }

  .comparison-person {
    grid-template-columns: 1fr;
  }

  .ranking-form-actions {
    grid-column: 1 / -1;
  }

  .reasoning-distribution-readout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .reasoning-readout-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .reasoning-topic-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-score-distribution-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-score-distribution-summary {
    max-width: 580px;
  }

  .ranking-card-main {
    grid-template-columns: 42px 48px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .ranking-place {
    width: 42px;
    height: 42px;
  }

  .ranking-card-main > img,
  .ranking-card-main > .portrait-placeholder img {
    width: 48px;
    height: 48px;
  }

  .ranking-score-pair {
    grid-column: 2 / -1;
    width: auto;
    padding: 8px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .ranking-tag-bars {
    width: 100%;
  }

  .ranking-score {
    text-align: left;
  }

  .ranking-score:last-child {
    text-align: right;
  }

  .profile-identity {
    align-items: flex-start;
  }

  .profile-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .assessment-hero,
  .assessment-detail,
  .backend-selection,
  .backend-report-content,
  .backend-report-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }

  .principle-grid,
  .process-steps,
  .example-grid,
  .rubric-formulas,
  .backend-objectivity-steps,
  .backend-technical-grid {
    grid-template-columns: 1fr;
  }

  .score-band {
    grid-template-columns: 1fr;
  }

  .interlocutor-filter-list {
    grid-template-columns: 1fr;
  }

  .result-people {
    justify-content: flex-start;
  }

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

  .card-topline {
    flex-wrap: wrap;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 6px;
    min-height: 52px;
    padding: 5px 10px;
  }

  .brand {
    flex: 0 0 auto;
  }

  .brand-name {
    display: none;
  }

  .site-header nav {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 2px;
    width: auto;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-header nav::-webkit-scrollbar {
    display: none;
  }

  .site-header nav a.primary-nav-link {
    min-height: 32px;
    padding: 5px 6px;
    font-size: 0.76rem;
  }

  .external-sites {
    display: none;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .intro-copy h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .landing-panel {
    gap: 24px;
    padding: 30px 0 38px;
  }

  .landing-stats {
    gap: 6px;
  }

  .landing-stats div {
    padding: 9px 8px;
  }

  .landing-stats dt {
    font-size: 0.58rem;
  }

  .landing-stats dd {
    font-size: 1.16rem;
  }

  .logo-showcase {
    width: min(100%, 278px);
    padding: 9px;
  }

  .logo-showcase img {
    width: min(100%, 256px);
    max-height: 380px;
  }

  .pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-summary {
    text-align: left;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    width: min(100vw - 20px, 1180px);
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .columns-head,
  .exchange-grid {
    grid-template-columns: 1fr;
  }

  .columns-head {
    position: static;
  }

  .side-heading {
    --avatar-size: 44px;
  }

  .argument.side-pro,
  .argument.side-con {
    grid-column: 1;
    min-height: auto;
  }

  .quote-panel-head h2 {
    font-size: 1.7rem;
  }

  .quote-card {
    min-height: auto;
    padding: 20px;
  }

  .quote-card blockquote {
    font-size: 1.78rem;
  }

  .critique-popover {
    position: fixed;
    top: auto;
    left: 10px;
    right: 10px;
    bottom: 18px;
    width: auto;
    max-height: calc(100vh - 36px);
    pointer-events: none;
  }

  .critique:hover .critique-popover,
  .critique:focus-within .critique-popover {
    pointer-events: none;
  }

  .tag-popover {
    top: auto;
    left: 10px;
    right: 10px;
    bottom: 18px;
    width: auto;
    max-height: min(620px, calc(100vh - 96px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.methods-study, .methods-shared { max-width: 960px; padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.methods-study h2, .methods-shared h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; }
.methods-study h3 { margin-top: 28px; }
.methods-study p, .methods-shared p { max-width: 80ch; }
.methods-study a, .methods-shared a { color: var(--blue); text-underline-offset: 3px; }
.methods-study .button.primary { color: #fff; }
.methods-table-wrap { margin: 24px 0; }
.methods-table-wrap table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.methods-table-wrap caption { text-align: left; font-weight: 750; margin-bottom: 12px; }
.methods-table-wrap th, .methods-table-wrap td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.methods-table-wrap thead { background: var(--surface); }
.methods-table-wrap th:first-child { width: 52%; }
#shared-heading { scroll-margin-top: 100px; }
