:root {
  color-scheme: light;
  --bg: #dde4d8;
  --panel: #ffffff;
  --panel-strong: #f7f6f1;
  --line: #d9d5c9;
  --text: #2f2418;
  --muted: #6f6251;
  --accent: #0b6e4f;
  --accent-soft: #dff4eb;
  --danger: #983628;
  --danger-soft: #f8e2dc;
  --shadow: 0 18px 40px rgba(52, 66, 48, 0.14);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(11, 110, 79, 0.10), transparent 38%),
    linear-gradient(180deg, #e2e8dc 0%, #d6ded0 100%);
  background-attachment: fixed;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1400px, calc(100vw - 32px));
  margin: 24px auto 56px;
}

/* Scroll reveal (classes applied by reveal.js; without JS nothing is hidden). */
.reveal-pending {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.reveal-pending.revealed {
  opacity: 1;
  transform: none;
}

.hero,
.overview-panel,
.controls,
.results-meta,
.record-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  padding: 28px;
  display: block;
}

.overview-panel {
  padding: 22px;
}

/* Standalone content islands: the sections sit as separate white boxes with
   open ground between them, so the background drift field shows through
   while scrolling. */
.island + .island { margin-top: 48px; }

.concepts-panel { margin-top: 20px; }
.concepts-title { margin: 0; font-size: 24px; }

/* Interstitial question headings between the white panels. */
.section-question {
  margin: 54px 4px 18px;
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.2;
  font-style: italic;
  font-weight: 600;
  text-align: center;
  color: var(--text);
}
.section-question:first-of-type { margin-top: 32px; }

.concept-grid.concept-grid-two { grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 1000px) {
  .concept-grid.concept-grid-two { grid-template-columns: 1fr; }
}
.design-options {
  margin: 10px 0;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.findings-copy {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}
.findings-copy:last-child { margin-bottom: 0; }

/* Hover tips: any element with data-tip grows a small ink tooltip above it
   (also on keyboard focus). Plain text only. */
[data-tip] { position: relative; }
[data-tip]:hover::after,
[data-tip]:focus-visible::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 8px);
  width: max-content;
  max-width: 320px;
  background: var(--text);
  color: #fbf9f4;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 12.5px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
  padding: 8px 11px;
  border-radius: 7px;
  box-shadow: 0 6px 18px rgba(47, 36, 24, 0.25);
  z-index: 40;
  pointer-events: none;
}

.facet-browser .facet-howto {
  margin: 0 0 20px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 1000px) {
  .concept-grid { grid-template-columns: 1fr; }
}
.concept-card {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.concept-card h3 { margin: 0 0 12px; font-size: 16px; }
.concept-viz { margin: 0 0 12px; }
.concept-viz svg { width: 100%; height: auto; display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.concept-copy {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.concept-copy strong { color: var(--text); }

.flow-and-dims {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.dims-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 4px;
}
@media (max-width: 900px) {
  .dims-grid { grid-template-columns: 1fr; }
}

/* Tradeoff spectra: one pole-to-pole row per conflict code, using the same
   ochre/slate orientation colors as the diverging bars and drift charts. */
.dim-block > h3 { margin: 0 0 10px; font-size: 18px; }
.facet-panel-title { margin: 0 0 4px; font-size: 18px; }
.facet-panel-sub { margin: 0 0 18px; font-size: 13.5px; color: var(--muted); }
.dim-block .dim-desc { max-width: 1080px; }

.dim-spectrum.judge-spectrum {
  max-width: 640px;
  margin: 14px auto 10px;
}
.judge-spectrum .dim-spectrum-bar {
  height: 2px;
  background: linear-gradient(90deg, #b07d48, #4a6f80);
}
.judge-spectrum .dim-spectrum-bar::before { background: #b07d48; }
.judge-spectrum .dim-spectrum-bar::after { background: #4a6f80; }
.judge-spectrum .dim-pole {
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
}
.judge-spectrum .dim-pole em { font-style: normal; font-weight: 400; }
.judge-spectrum .dim-pole:first-child { color: #b07d48; }
.judge-spectrum .dim-pole:last-child { color: #4a6f80; }

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; }
}
.doc-quote {
  margin: 0;
  padding: 14px 16px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.doc-quote blockquote {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  font-style: italic;
}
.doc-quote figcaption {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.tradeoff-spectra {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 16px;
}
@media (max-width: 900px) {
  .tradeoff-spectra { grid-template-columns: 1fr; }
}
.tradeoff-row {
  display: grid;
  grid-template-columns: 150px 1fr 150px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.tradeoff-pole { color: var(--muted); line-height: 1.25; }
.tradeoff-pole.left { text-align: right; color: #b07d48; font-weight: 600; }
.tradeoff-pole.right { text-align: left; color: #4a6f80; font-weight: 600; }
.tradeoff-bar {
  position: relative;
  display: block;
  height: 2px;
  background: linear-gradient(90deg, #b07d48, #4a6f80);
  border-radius: 1px;
}
.tradeoff-bar::before,
.tradeoff-bar::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
}
.tradeoff-bar::before { left: -1px; background: #b07d48; }
.tradeoff-bar::after { right: -1px; background: #4a6f80; }
.tradeoff-sub {
  margin: 4px 0 0;
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.45;
}
.tradeoff-footnote {
  margin: 14px 0 0;
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
}
.drift-metric {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.drift-metric h3 { margin: 0 0 8px; font-size: 16px; }
.drift-metric .dim-desc { max-width: 1080px; }
.dim-pole em { font-style: italic; font-size: 11px; color: var(--muted); }
@media (max-width: 640px) {
  .tradeoff-row { grid-template-columns: 1fr; gap: 2px; }
  .tradeoff-bar { display: none; }
  .tradeoff-pole.left { text-align: left; }
  .tradeoff-pole.left::after { content: " ↔ "; color: var(--muted); }
}

.flow-diagram-horizontal {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: start;
}

.flow-arrow-h {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(11, 110, 79, 0.45);
  padding-top: 11px;
}

.flow-arrow-h svg {
  width: 26px;
  height: 10px;
  display: block;
}

.dims-list {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.dim-item {
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
}

.dim-item h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.dim-spectrum {
  margin: 12px 0 8px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.dim-pole {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-style: italic;
  color: var(--accent);
  white-space: nowrap;
}

.dim-spectrum-bar {
  position: relative;
  display: block;
  height: 1.5px;
  background: var(--line);
}

.dim-spectrum-bar::before,
.dim-spectrum-bar::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.dim-spectrum-bar::before {
  left: -1px;
}

.dim-spectrum-bar::after {
  right: -1px;
}

.dim-desc {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.section-heading h2 {
  margin: 0;
  font-size: 28px;
}

.section-copy {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 0.95;
}

.hero-subtitle {
  margin: 12px 0 0;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.3;
  font-style: italic;
  color: var(--muted);
}

.hero-copy {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
}

.hero-models {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.flow-diagram {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: center;
}

.flow-step {
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
}

.flow-step h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.flow-step p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13.5px;
}

.flow-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-style: italic;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
}

.flow-arrow {
  text-align: center;
  font-size: 22px;
  color: var(--muted);
  line-height: 1;
}

.analysis-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.hero-links {
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14px;
}

.hero-links a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 110, 79, 0.35);
  padding-bottom: 1px;
}

.hero-links a:hover {
  border-bottom-color: var(--accent);
}

.matrix-table-wrap {
  margin-top: 16px;
  overflow-x: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.45;
}

.matrix-table th,
.matrix-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.matrix-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.matrix-table code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #efe6d8;
}

.muted-row td {
  color: var(--muted);
  font-style: italic;
}

.notable-list {
  margin: 16px 0 0;
  padding-left: 22px;
  line-height: 1.6;
  font-size: 14px;
}

.notable-list li + li {
  margin-top: 14px;
}

.notable-list em {
  color: var(--muted);
  font-size: 13px;
}

.drift-panel {
  margin-top: 20px;
}

.drift-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.drift-controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  padding-top: 4px;
}

.drift-condition-bar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.drift-condition-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.drift-condition-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drift-chip {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.drift-chip:hover,
.drift-chip.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.drift-btn {
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  color: var(--text);
}

.drift-btn:hover,
.drift-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.drift-legend {
  margin-top: 14px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.drift-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.drift-legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.drift-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.drift-chart-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-strong);
  padding: 18px 18px 12px;
}

.drift-chart-card h3 {
  margin: 0 0 2px;
  font-size: 18px;
}

.drift-chart-card .drift-poles {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
}

.drift-chart-card canvas {
  width: 100%;
  height: 520px;
  display: block;
}

.drift-meta {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.filters-panel {
  margin-top: 20px;
  padding: 24px 26px;
  display: grid;
  gap: 0;
}

.filters-header {
  margin-bottom: 18px;
}

.filters-header h2 {
  margin: 0;
  font-size: 22px;
}

.filter-group {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(217, 205, 185, 0.55);
}

.filter-group:first-of-type {
  border-top: none;
  padding-top: 4px;
}

.filter-group-head {
  display: contents;
}

.filter-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 8px;
  font-weight: 600;
}

.filter-quick {
  display: flex;
  gap: 4px;
  padding-top: 4px;
}

.filter-quick-btn {
  border: none;
  background: none;
  padding: 4px 8px;
  font: inherit;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  border-radius: 6px;
}

.filter-quick-btn:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, border-color 0.12s, box-shadow 0.12s;
  --chip-color: var(--accent);
}

.filter-chip:hover {
  color: var(--text);
  border-color: var(--chip-color);
}

.filter-chip.active {
  background: color-mix(in srgb, var(--chip-color) 14%, transparent);
  color: var(--text);
  border-color: var(--chip-color);
  box-shadow: inset 0 0 0 1px var(--chip-color);
}

.filter-chip .chip-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--chip-color);
  opacity: 0.45;
  flex-shrink: 0;
}

.filter-chip.active .chip-swatch {
  opacity: 1;
}

/* Condition/document chips have no color identity — use accent for both states. */
.filter-chip.no-swatch .chip-swatch {
  display: none;
}

.filter-aux {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 16px;
  align-items: end;
  margin-top: 20px;
  padding: 18px 0 4px;
  border-top: 1px solid rgba(217, 205, 185, 0.7);
}

.filter-aux label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.filter-aux label > span {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.filter-aux select,
.filter-aux input[type="search"] {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  background: white;
  font: inherit;
  font-size: 13px;
  color: var(--text);
}

.filter-aux .search-field {
  grid-column: span 2;
}

.filter-aux .checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 9px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  color: var(--text);
}

.filter-aux .checkbox > span {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}

.filter-aux .checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

@media (max-width: 1100px) {
  .filter-group {
    grid-template-columns: 1fr;
  }
  .filter-group-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .filter-aux {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-aux .search-field {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .filter-aux {
    grid-template-columns: 1fr;
  }
  .filter-aux .search-field {
    grid-column: span 1;
  }
}

.controls {
  margin-top: 20px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.controls label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.controls select,
.controls input,
.categorization input,
.categorization textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: white;
  font: inherit;
  color: var(--text);
}

.search-field {
  grid-column: span 2;
}

.condition-badge {
  background: var(--accent-soft);
  color: var(--accent);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
}

.checkbox input {
  width: 18px;
  height: 18px;
}

.results-meta {
  margin-top: 16px;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 14px;
}

.records-controls {
  margin-top: 28px;
}

.records-controls .records-controls-head {
  margin-bottom: 14px;
}

.records-controls .records-controls-head h2 {
  margin: 4px 0 6px;
}

.records-controls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.record-condition-label {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.record-condition-label > span {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
}

.record-condition-label select {
  font: inherit;
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-strong);
  color: var(--text);
  min-width: 220px;
}

.coding-summary {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.model-summary-card,
.dimension-card,
.coding-block {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-strong);
}

.model-summary-card {
  padding: 16px;
}

.model-summary-header h3,
.dimension-header h3,
.coding-block-header h3 {
  margin: 0;
}

.model-summary-header p,
.coding-summary-text {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.dimension-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dimension-card {
  padding: 14px;
}

.dimension-header,
.coding-block-header,
.direction-copy,
.coding-chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dimension-header {
  margin-bottom: 14px;
}

.dimension-header span,
.coding-block-header span {
  color: var(--muted);
  font-size: 13px;
}

.direction-row + .direction-row {
  margin-top: 10px;
}

.direction-copy {
  font-size: 13px;
  color: var(--muted);
}

.direction-copy strong {
  color: var(--text);
  font-size: 14px;
}

.direction-bar-track {
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: #efe4d3;
  overflow: hidden;
}

.direction-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #c79c58, var(--accent));
}

.record-list {
  margin-top: 18px;
  display: grid;
  gap: 18px;
}

.record-card {
  padding: 22px;
}

.record-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.record-title {
  margin: 0;
  font-size: 26px;
}

.record-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
}

@media (max-width: 1100px) {
  .controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .flow-and-dims,
  .analysis-grid,
  .drift-grid,
  .dimension-grid,
  .controls {
    grid-template-columns: 1fr;
  }

  .search-field {
    grid-column: span 1;
  }

  .drift-header {
    flex-direction: column;
  }
}

.round-badge,
.strategy-badge,
.retry-badge {
  background: var(--accent-soft);
  color: var(--accent);
}

.error-badge {
  background: var(--danger-soft);
  color: var(--danger);
}

.change-description,
.error-message {
  margin: 16px 0 0;
  line-height: 1.5;
}

.coding-block {
  margin-top: 16px;
  padding: 14px;
}

.coding-chip-row {
  margin-top: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.coding-chip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #efe6d8;
  color: var(--text);
  font-size: 12px;
}

.muted-chip {
  color: var(--muted);
}

.error-message {
  padding: 12px 14px;
  border-left: 4px solid var(--danger);
  background: var(--danger-soft);
  color: var(--danger);
}

.diff-grid,
.payload-grid,
.categorization {
  display: grid;
  gap: 14px;
}

.diff-grid,
.payload-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.categorization {
  grid-template-columns: 1fr 2fr;
  margin-top: 18px;
}

.diff-panel,
.details-block,
.categorization label {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-strong);
}

.diff-panel,
.categorization label {
  padding: 14px;
}

.diff-panel h3,
.payload-grid h4 {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.before-panel {
  border-left: 4px solid #ad8d56;
}

.after-panel {
  border-left: 4px solid var(--accent);
}

.diff-text,
.payload-text {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, monospace;
  font-size: 13px;
  line-height: 1.55;
}

.details-block {
  margin-top: 16px;
  overflow: hidden;
}

.details-block summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 600;
}

.payload-grid {
  padding: 0 16px 16px;
}

.hidden {
  display: none;
}

.empty-state {
  padding: 28px;
  text-align: center;
  color: var(--muted);
}

.compact-empty {
  padding: 20px;
}

@media (max-width: 980px) {
  .hero,
  .analysis-grid,
  .controls,
  .diff-grid,
  .payload-grid,
  .categorization {
    grid-template-columns: 1fr;
  }

  .flow-and-dims {
    grid-template-columns: 1fr;
  }

  .flow-diagram-horizontal {
    grid-template-columns: 1fr;
  }

  .flow-arrow-h {
    transform: rotate(90deg);
    padding-top: 0;
    justify-self: center;
  }

  .dims-list {
    grid-template-columns: 1fr;
  }

  .dimension-grid,
  .drift-grid {
    grid-template-columns: 1fr;
  }

  .search-field {
    grid-column: auto;
  }
}

/* ===================================================================
   Two-slot grader facet browser (shared with narratives.html via
   facets.js). All rules scoped under .facet-browser so class names like
   .diff-grid / .diff-panel don't collide with the record-card styles.
   =================================================================== */

.facet-browser { --before-color: #ad8d56; --after-color: #0b6e4f; }

.facet-browser .story-tabs { margin-top: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.facet-browser .tab-group-label {
  width: 100%; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); font-weight: 700; margin: 6px 0 0;
}
.facet-browser .story-tab {
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel-strong); font: inherit; font-size: 13px; cursor: pointer; color: var(--muted);
}
.facet-browser .story-tab.active { background: var(--accent); border-color: var(--accent); color: white; font-weight: 700; }

.facet-browser .story-panel {
  display: none; margin-top: 14px;
  background: var(--panel-strong); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px;
}
.facet-browser .story-panel.active { display: block; }

.facet-browser .story-description { color: var(--muted); line-height: 1.6; font-size: 15px; margin: 0 0 20px; }
.facet-browser .story-takeaway { color: var(--text); line-height: 1.6; font-size: 15px; margin: 0 0 14px; }
.facet-browser .highlight-links { margin: 0 0 18px; }
.facet-browser .highlight-link {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  font-style: italic;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.facet-browser .highlight-link:hover { color: #084c37; }
/* inline-block stops the underline propagating to the arrow */
.facet-browser .highlight-arrow {
  display: inline-block;
  margin-left: 3px;
  font-style: normal;
  font-size: 12px;
}

/* Arrival pulse on the example viewer after a highlight-link jump. */
@keyframes jump-flash {
  0% { outline-color: rgba(11, 110, 79, 0.55); }
  100% { outline-color: rgba(11, 110, 79, 0); }
}
.jump-flash {
  outline: 2px solid rgba(11, 110, 79, 0);
  outline-offset: 4px;
  border-radius: 8px;
  animation: jump-flash 1.6s ease-out;
}
.facet-browser .story-description code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 13px;
  background: #efe6d8; padding: 1px 5px; border-radius: 4px;
}

.facet-browser .dir-legend { display: flex; gap: 18px; flex-wrap: wrap; margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.facet-browser .dir-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.facet-browser .dir-swatch { width: 13px; height: 13px; border-radius: 3px; }

.facet-browser .facet-duo {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px; align-items: start; margin-bottom: 26px;
}
.facet-browser .facet-duo .freq-section { margin-bottom: 0; }
.facet-browser .drift-section h3 { font-size: 16px; margin: 0 0 12px; }
.facet-browser .drift-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.facet-browser .sd-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.facet-browser .sd-toggle input { accent-color: var(--accent); }
.facet-browser .facet-drift svg { width: 100%; height: auto; display: block; }
.facet-browser .facet-drift-note { margin: 8px 0 0; font-size: 12px; color: var(--muted); font-style: italic; }
@media (max-width: 900px) {
  .facet-browser .facet-duo { grid-template-columns: 1fr; }
}

.facet-browser .freq-section { margin-bottom: 26px; }
.facet-browser .freq-section h3 { font-size: 16px; margin: 0 0 12px; }
.facet-browser .freq-bars { display: grid; gap: 8px; }
.facet-browser .freq-row { display: grid; grid-template-columns: 170px 1fr 132px; gap: 12px; align-items: center; font-size: 14px; }
.facet-browser .freq-label { color: var(--muted); text-align: right; }
.facet-browser .freq-track { height: 22px; background: #efe6d8; border-radius: 11px; overflow: hidden; position: relative; }
.facet-browser .freq-seg { height: 100%; display: inline-block; transition: width 0.5s ease; }
.facet-browser .freq-track.stacked { display: flex; }
.facet-browser .freq-track.diverging .freq-seg { position: absolute; top: 0; }
.facet-browser .freq-track.diverging .seg-neg { right: 50%; }
.facet-browser .freq-track.diverging .seg-pos { left: 50%; }
.facet-browser .freq-track.diverging .center-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(47,36,24,0.35); }
.facet-browser .freq-value { font-size: 12px; font-weight: 700; line-height: 1.3; }

.facet-browser .condition-selector { margin-bottom: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.facet-browser .condition-selector > span { font-size: 14px; color: var(--muted); font-weight: 700; }
.facet-browser .cond-chip {
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel-strong); font: inherit; font-size: 13px; cursor: pointer; color: var(--muted);
}
.facet-browser .cond-chip.active { background: var(--accent); color: white; border-color: var(--accent); font-weight: 700; }
.facet-browser .model-chip { display: inline-flex; align-items: center; gap: 6px; opacity: 0.45; }
.facet-browser .model-chip.active { opacity: 1; background: var(--panel-strong); color: var(--text); border-color: var(--line); font-weight: 600; }
.facet-browser .model-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.facet-browser .dir-chip.active { font-weight: 700; color: white; }

.facet-browser .panel-toolbar { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 18px; }
.facet-browser .panel-toolbar label {
  display: inline-flex; flex-direction: column; gap: 6px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700;
}
.facet-browser .panel-toolbar select {
  font: inherit; font-size: 14px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--panel-strong); color: var(--text); min-width: 200px;
}
.facet-browser .shuffle-btn {
  padding: 9px 18px; border: 1px solid var(--accent); border-radius: 10px;
  background: var(--accent); color: white; font: inherit; font-size: 14px; cursor: pointer; font-weight: 700;
}
.facet-browser .shuffle-btn:hover { filter: brightness(0.95); }
.facet-browser .shuffle-btn:disabled { background: var(--line); border-color: var(--line); color: var(--muted); cursor: not-allowed; }
.facet-browser .example-counter { font-size: 12px; color: var(--muted); margin-left: auto; }

.facet-browser .example-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 16px;
}
.facet-browser .example-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.facet-browser .example-meta { font-size: 13px; color: var(--muted); }
.facet-browser .example-meta strong { color: var(--text); }
.facet-browser .example-summary { margin: 0 0 12px; font-size: 14px; line-height: 1.55; }

.facet-browser .code-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.facet-browser .code-chip {
  display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 999px; background: #efe6d8; font-size: 12px;
}

.facet-browser .evidence-quote {
  margin: 0 0 12px; padding: 10px 14px; border: 1px solid var(--line);
  background: var(--panel-strong); border-radius: 8px; font-size: 14px; font-style: italic; line-height: 1.5;
}
.facet-browser .evidence-quote .quote-kicker {
  display: block; font-style: normal; font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px;
}

.facet-browser .diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.facet-browser .diff-panel { border-radius: 10px; padding: 14px; }
.facet-browser .diff-panel.before { background: #faf5ee; }
.facet-browser .diff-panel.after { background: #f0faf5; }
.facet-browser .diff-panel h4 { margin: 0 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.facet-browser .diff-panel pre {
  margin: 0; white-space: pre-wrap; word-break: break-word;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 12px; line-height: 1.5; max-height: 400px; overflow-y: auto;
}
.facet-browser .no-example {
  padding: 20px; text-align: center; color: var(--muted); font-style: italic;
  background: var(--panel-strong); border-radius: 14px; border: 1px dashed var(--line);
}

@media (max-width: 700px) {
  .facet-browser .diff-grid { grid-template-columns: 1fr; }
  .facet-browser .freq-row { grid-template-columns: 110px 1fr 104px; }
}

/* =====================================================================
   Datawrapper restyle overrides (appended; later rules win the cascade)
   ===================================================================== */

/* =====================================================================
   V2 — Datawrapper restyle
   Roboto throughout, quiet gray ground with flat white cards, thin
   #dadada borders, 4-6px radii, Datawrapper blue for interaction.
   ===================================================================== */

:root {
  --bg: #f4f4f4;
  --panel: #ffffff;
  --panel-strong: #f7f7f7;
  --line: #e0e0e0;
  --text: #333333;
  --muted: #6e6e6e;
  --accent: #1d81a2;
  --accent-soft: #e3f1f6;
  --danger: #c71e1d;
  --danger-soft: #fae5e5;
  --shadow: none;
  --radius: 6px;
  --sans: Roboto, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--sans);
  background: #f4f4f4;
  font-size: 16px;
}

.page-shell {
  width: min(1320px, calc(100vw - 40px));
  margin: 36px auto 64px;
}

.hero,
.overview-panel,
.controls,
.results-meta,
.record-card,
.concept-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: none;
}
.hero { padding: 32px; }
.overview-panel { padding: 26px; }
.island + .island { margin-top: 28px; }

/* Full-bleed hero band: spans the whole viewport and sits flush with the
   top edge, differentiating it from the boxed sections below. The inner
   wrapper keeps the hero content aligned with the shell column. */
body { overflow-x: hidden; } /* 100vw includes the scrollbar gutter */
.hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: -36px; /* cancel the shell's top margin */
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 44px 20px 38px;
}
.hero > div {
  width: min(1320px, calc(100vw - 40px));
  margin: 0 auto;
}

/* Hero layout: text column left, edit-quote carousel right. */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}
.hero-carousel { justify-self: end; }
/* JS-driven carousel: slides rest offstage right, .is-active holds the
   stage, .is-left parks offstage left, so navigation can run either way. */
.hero-carousel .carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 64px;
  transform: translateX(110%);
  transition: transform 0.55s ease;
}
.hero-carousel .carousel-slide.is-active { transform: translateX(0); }
.hero-carousel .carousel-slide.is-left { transform: translateX(-115%); }
.hero-carousel .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  color: #6e6e6e;
  font-family: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.hero-carousel .carousel-arrow:hover { border-color: var(--accent); color: var(--accent); }
.hero-carousel .carousel-arrow.prev { left: 12px; }
.hero-carousel .carousel-arrow.next { right: 12px; }
.hero-carousel .carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #d4d4d4;
  cursor: pointer;
}
.hero-carousel .carousel-dot.is-active { background: #1d81a2; }
@media (prefers-reduced-motion: reduce) {
  .hero-carousel .carousel-slide { transition: none; }
}
@media (max-width: 1180px) {
  .hero-carousel { display: none; }
}

.section-question {
  text-align: left;
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  color: #333333;
  margin: 44px 2px 12px;
}
.section-question:first-of-type { margin-top: 32px; }

h1 {
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-style: normal;
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--muted);
  margin-top: 12px;
}

.hero-byline {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a8a8a;
}

.hero-copy {
  font-size: 17px;
  line-height: 1.7;
  color: #4a4a4a;
  max-width: none;
  margin-top: 18px;
}

.hero-links { margin-top: 22px; }
.hero-links a {
  font-size: 15.5px;
  font-weight: 500;
  border-bottom-color: rgba(29, 129, 162, 0.35);
}

/* Raw-data links parked right after the Results Explorer, so readers reach
   the methodology and transcripts once they've seen the results. */
.explore-links {
  margin: 18px 2px 0;
  display: flex;
  gap: 28px;
}
.explore-links a {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid rgba(29, 129, 162, 0.35);
  text-decoration: none;
}
.explore-links a:hover { border-bottom-color: var(--accent); }

.findings-copy { font-size: 16px; line-height: 1.65; color: #4a4a4a; }
.findings-copy strong { color: #333333; }

.concept-card h3 { font-size: 17px; font-weight: 700; }
.concept-copy { font-size: 14.5px; line-height: 1.6; }
.design-options { font-size: 14px; }

.concept-viz svg { border-radius: 4px; }
.concept-viz svg text { font-family: var(--sans); }

.dim-block > h3,
.facet-panel-title { font-weight: 700; font-size: 20px; }
.dim-desc { font-size: 14.5px; }

.dim-pole { font-family: var(--sans); font-style: normal; }
.judge-spectrum .dim-pole { font-size: 13.5px; }
.tradeoff-sub { font-style: normal; font-size: 13px; color: #8a8a8a; }
.tradeoff-row { font-size: 13.5px; }

.doc-quote { border-radius: 4px; }
.doc-quote blockquote { font-size: 14px; font-style: normal; color: #4a4a4a; }
.doc-quote figcaption {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  color: #8a8a8a;
}

[data-tip]:hover::after,
[data-tip]:focus-visible::after {
  font-family: var(--sans);
  background: #333333;
  border-radius: 4px;
  font-size: 12px;
}

/* ============================ Facet browser ============================ */

.facet-browser { --before-color: #b07d48; --after-color: #4a6f80; }

.facet-browser .tab-group-label { color: #999999; letter-spacing: 0.08em; }

.facet-browser .story-tab,
.facet-browser .cond-chip {
  border-radius: 4px;
  border-color: #c8c8c8;
  background: #ffffff;
  color: #4a4a4a;
  font-size: 14px;
}
.facet-browser .story-tab:hover,
.facet-browser .cond-chip:hover { border-color: var(--accent); color: var(--accent); }
.facet-browser .story-tab.active,
.facet-browser .cond-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  font-weight: 500;
}
.facet-browser .model-chip.active {
  background: #ffffff;
  color: #333333;
  border-color: #c8c8c8;
}
.facet-browser .condition-selector > span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a8a8a;
  font-weight: 500;
}

.facet-browser .story-panel { border-radius: 6px; background: #fcfcfc; }
.facet-browser .story-takeaway { font-size: 16px; line-height: 1.65; }
.facet-browser .story-description code,
.facet-browser .code-chip { background: #efefef; }

.facet-browser .highlight-link { font-style: normal; font-size: 13.5px; }

.facet-browser .dir-legend { font-size: 13px; }
.facet-browser .dir-swatch { border-radius: 2px; }

.facet-browser .drift-section h3,
.facet-browser .freq-section h3 { font-size: 15px; font-weight: 700; }
.facet-browser .facet-drift-note { font-style: normal; font-size: 12px; color: #8a8a8a; }

.facet-browser .freq-label { font-size: 13.5px; }
.facet-browser .freq-value { font-size: 12px; font-weight: 500; color: #4a4a4a; }
.facet-browser .freq-track { background: #ececec; border-radius: 4px; }
/* Fill tips get the same button-like rounding on their outward ends; the
   inner edges stay square where they meet at the center line. */
.facet-browser .freq-track.diverging .seg-neg { border-radius: 4px 0 0 4px; }
.facet-browser .freq-track.diverging .seg-pos { border-radius: 0 4px 4px 0; }
.facet-browser .freq-track.diverging .center-line { background: rgba(51, 51, 51, 0.35); }

.facet-browser .facet-howto {
  border-radius: 4px;
  font-size: 13px;
}

.facet-browser .panel-toolbar label { letter-spacing: 0.04em; }
.facet-browser .panel-toolbar select { border-radius: 4px; font-size: 14px; }
.facet-browser .shuffle-btn {
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}
.facet-browser .example-counter { font-size: 12.5px; }

.facet-browser .example-card { border-radius: 6px; }
.facet-browser .example-meta { font-size: 13px; }
.facet-browser .example-summary { font-size: 14.5px; }
.facet-browser .code-chip { font-size: 12.5px; border-radius: 4px; }

.facet-browser .evidence-quote { border-radius: 4px; font-style: normal; font-size: 14px; color: #4a4a4a; }

.facet-browser .diff-panel { border-radius: 4px; }
.facet-browser .diff-panel.before { background: #faf6ef; }
.facet-browser .diff-panel.after { background: #eef4f7; }

.facet-browser .no-example { border-radius: 6px; font-style: normal; font-size: 14px; }

/* Drift chart: neutral gridlines and Roboto labels. */
.facet-browser .facet-drift svg text { font-family: var(--sans); }
.facet-browser .facet-drift svg text[fill="#6f6251"] { fill: #8a8a8a; }
.facet-browser .facet-drift svg line[stroke="#e4dccd"] { stroke: #e6e6e6; }
.facet-browser .facet-drift svg line[stroke="#8b8074"] { stroke: #999999; }

/* --- Conversations page (record cards) --- */
.badge { border-radius: 4px; font-size: 11px; letter-spacing: 0.06em; }
.record-condition-label select,
.filter-aux select,
.filter-aux input[type="search"],
.controls select,
.controls input { border-radius: 4px; }
.diff-panel, .details-block, .categorization label { border-radius: 6px; }
.drift-chart-card, .model-summary-card, .dimension-card, .coding-block { border-radius: 6px; }
.drift-btn, .drift-chip, .filter-chip, .coding-chip { border-radius: 4px; font-size: 13.5px; }
.record-title { font-size: 24px; font-weight: 700; }
.matrix-table code, .coding-chip { background: #efefef; }
.direction-bar-track { background: #ececec; }
.before-panel { border-left-color: #b07d48; }
.after-panel { border-left-color: var(--accent); }

@media (max-width: 600px) {
  .consensus-box { padding: 10px 10px !important; border-left-width: 2px !important; }
  .consensus-box li { margin-bottom: 8px !important; }
}
