:root {
  --ink: #102a2b;
  --muted: #607273;
  --paper: #f5f3ed;
  --white: #fff;
  --line: #dce3df;
  --teal: #18a999;
  --teal-dark: #08796f;
  --lime: #dafa82;
  --amber: #f4a83d;
  --violet: #8b70d8;
  --rose: #d76583;
  --slate: #61777a;
  --shadow: 0 22px 60px rgba(16, 42, 43, .11);
  --radius: 24px;
  /* Canonical interface system. Page styles consume these tokens. */
  --ui-page-background: #faf9f5;
  --ui-surface-background: #fff;
  --ui-border: #cbd3cf;
  --ui-rule: #263536;
  --ui-accent: #08796f;
  --ui-surface-radius: 2px;
  --ui-control-radius: 2px;
  --ui-surface-shadow: 0 9px 26px rgba(16, 42, 43, .055);
  --ui-page-padding: 54px 0 100px;
  --ui-compact-label-size: 11px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: Inter, "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.12;
}
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow-container { width: min(860px, calc(100% - 40px)); }
.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;
}

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(245, 243, 237, .92);
  border-bottom: 1px solid rgba(16, 42, 43, .08);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 800 18px Inter, "Avenir Next", "Segoe UI", sans-serif; text-decoration: none; }
.brand-mark {
  width: 39px; height: 39px; display: inline-grid; place-items: center;
  border-radius: 12px; color: var(--lime); background: var(--ink);
  font: 800 17px Inter, "Avenir Next", "Segoe UI", sans-serif; letter-spacing: -.08em;
}
.brand-mark-small { width: 28px; height: 28px; border-radius: 9px; font-size: 12px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav form { margin: 0; }
.nav-link { border: 0; color: var(--ink); background: none; font-weight: 600; text-decoration: none; cursor: pointer; }
.nav-button { padding: 0; }
.nav-greeting { color: var(--muted); font-size: 14px; }

.button {
  min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  border: 1px solid transparent; border-radius: var(--ui-control-radius); text-decoration: none; cursor: pointer;
  font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: none; }
.button-primary { color: white; background: var(--ink); box-shadow: none; }
.button-primary:hover { background: #174244; box-shadow: none; }
.button-small { min-height: 40px; padding: 0 17px; font-size: 14px; color: white; background: var(--ink); }
.button-wide { width: 100%; }
.text-link { color: var(--teal-dark); font-weight: 700; text-underline-offset: 4px; }
.back-link { display: inline-block; color: var(--muted); font-weight: 700; text-decoration: none; }

.flash-wrap { position: relative; z-index: 30; }
.flash { margin: 14px 0 -4px; padding: 13px 18px; border-radius: 12px; font-weight: 600; box-shadow: 0 8px 25px rgba(16, 42, 43, .08); }
.flash-notice { border: 1px solid #99d8ca; background: #e7f8f2; }
.flash-alert { border: 1px solid #e9b0a7; background: #fff0ed; }

.editorial-home { min-height: calc(100vh - 76px); padding: 54px 0 100px; background: #faf9f5; }
.editorial-masthead { padding-bottom: 32px; border-bottom: 3px double #263536; }
.editorial-kicker, .editorial-section-label { margin-bottom: 8px; color: #536462; font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.editorial-masthead h1 { margin-bottom: 10px; font: 700 clamp(42px, 6vw, 66px)/1.02 Inter, "Avenir Next", "Segoe UI", sans-serif; letter-spacing: -.045em; }
.editorial-masthead > p:last-child { max-width: 760px; margin: 0; color: #52615f; font: 18px/1.55 Inter, "Avenir Next", "Segoe UI", sans-serif; }
.topic-search { margin: 26px 0 42px; padding-bottom: 26px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #bdc5c1; }
.catalogue-search-field { position: relative; min-width: 240px; flex: 1 1 auto; }
.catalogue-order-field { flex: 0 1 310px; display: flex; align-items: center; gap: 10px; }
.catalogue-order-field label { flex: 0 0 auto; color: var(--muted); font-size: 12px; font-weight: 750; }
.topic-search input, .topic-search select {
  width: 100%; height: 44px; padding: 0 13px; border: 1px solid #aeb9b4; border-radius: 2px;
  color: var(--ink); background: white; font-size: 14px;
}
.topic-search .catalogue-search-field input { padding-right: 47px; }
.topic-search input:focus, .topic-search select:focus { border-color: #405957; outline: 2px solid rgba(64, 89, 87, .15); }
.catalogue-search-button {
  position: absolute; top: 1px; right: 1px; width: 42px; height: 42px; padding: 0;
  display: grid; place-items: center; border: 0; border-left: 1px solid var(--line); color: var(--ink);
  background: transparent; cursor: pointer;
}
.catalogue-search-button:hover { color: var(--teal-dark); background: #f0f4f2; }
.catalogue-search-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.editorial-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: start; gap: 58px; }
.question-index-heading { min-height: 42px; padding-bottom: 13px; display: flex; align-items: start; justify-content: space-between; border-bottom: 1px solid #263536; }
.question-index-heading p { margin: 0; }
.question-index-heading > div > p:last-child { color: var(--muted); font-size: 12px; }
.editorial-clear { color: #405957; font-size: 12px; font-weight: 700; text-underline-offset: 3px; }
.editorial-topic { padding: 25px 0 23px; border-bottom: 1px solid #cdd3cf; }
.editorial-topic-taxonomy { margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px 13px; }
.editorial-topic-taxonomy a { color: #63716f; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.editorial-topic-taxonomy a:first-child { color: #274846; }
.editorial-topic-body { display: grid; grid-template-columns: minmax(0, 1fr) 235px; gap: 35px; }
.editorial-topic h2 { margin-bottom: 7px; font: 700 28px/1.1 Inter, "Avenir Next", "Segoe UI", sans-serif; letter-spacing: -.035em; }
.editorial-topic h2 a { text-decoration: none; }
.editorial-topic h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.editorial-topic-body > div:first-child > p { max-width: 660px; margin: 0; color: #4f5f5d; font: 14px/1.55 Inter, "Avenir Next", "Segoe UI", sans-serif; }
.editorial-result { padding-top: 3px; }
.editorial-result p { margin-bottom: 11px; }
.editorial-result p span { display: block; color: #71807d; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.editorial-result p strong { font-size: 13px; }
.editorial-opinion-scale { margin-top: 14px; }
.editorial-scale-track { position: relative; height: 6px; border-radius: 1px; background: linear-gradient(90deg, #92665c 0%, #d8d7d1 50%, #477c76 100%); }
.editorial-scale-midpoint { position: absolute; top: -3px; bottom: -3px; left: 50%; width: 1px; background: #596966; }
.editorial-scale-indicator { position: absolute; top: -6px; left: var(--result-position); width: 2px; height: 18px; background: #172d2e; transform: translateX(-1px); }
.editorial-scale-indicator::before { content: ""; position: absolute; top: -3px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: #172d2e; }
.editorial-scale-labels { margin-top: 7px; display: grid; grid-template-columns: 1fr 1fr 1fr; color: #6d7b79; font-size: 8px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.editorial-scale-labels span:nth-child(2) { text-align: center; }
.editorial-scale-labels span:last-child { text-align: right; }
.editorial-opinion-scale.is-empty .editorial-scale-track { background: #dfe3df; }
.editorial-result small { display: block; margin-top: 7px; color: #7a8785; font-size: 9px; }
.editorial-topic-footer { margin-top: 17px; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #687674; font-size: 11px; }
.editorial-topic-footer p { margin: 0; }
.editorial-topic-footer a { color: #274f4c; font-weight: 800; text-underline-offset: 3px; }
.editorial-sidebar { position: sticky; top: 24px; }
.editorial-sidebar section { padding-bottom: 27px; margin-bottom: 27px; border-bottom: 1px solid #cdd3cf; }
.editorial-sidebar h2 { margin-bottom: 13px; padding-bottom: 8px; border-bottom: 1px solid #263536; font: 700 17px Inter, "Avenir Next", "Segoe UI", sans-serif; }
.category-list, .ranked-topic-list { margin: 0; padding: 0; list-style: none; }
.category-list li + li, .ranked-topic-list li + li { border-top: 1px solid #e0e4e1; }
.category-list a { padding: 9px 0; display: flex; justify-content: space-between; gap: 15px; text-decoration: none; }
.category-list span { font-size: 12px; font-weight: 700; }
.category-list b { color: #7b8885; font-size: 11px; }
.ranked-topic-list { counter-reset: ranked; }
.ranked-topic-list li { position: relative; padding: 10px 0 10px 25px; counter-increment: ranked; }
.ranked-topic-list li::before { content: counter(ranked); position: absolute; left: 0; top: 10px; color: #82908d; font: 11px Inter, "Avenir Next", "Segoe UI", sans-serif; }
.ranked-topic-list a { font: 700 13px/1.3 Inter, "Avenir Next", "Segoe UI", sans-serif; text-decoration: none; }
.ranked-topic-list a:hover { text-decoration: underline; }
.ranked-topic-list span { margin-top: 2px; display: block; color: #83908e; font-size: 9px; }
.sidebar-note { margin: 0; color: #71807d; font: 12px/1.5 Inter, "Avenir Next", "Segoe UI", sans-serif; }
.selected-tag-filter {
  margin: 0 0 11px; padding: 8px 0 10px; display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; border-bottom: 1px solid #e0e4e1; color: #63716f; font-size: 11px;
}
.selected-tag-filter strong { color: var(--ink); }
.selected-tag-filter a { color: var(--teal-dark); font-weight: 750; text-underline-offset: 3px; }
.editorial-tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.editorial-tag-cloud a.is-selected { border-color: var(--ink); color: white; background: var(--ink); }
.editorial-tag-cloud a { padding: 4px 7px; border: 1px solid #c6ceca; border-radius: 2px; color: #4f5f5d; font-size: 10px; text-decoration: none; }
.editorial-tag-cloud a:hover { border-color: #687b77; background: #f0f2ef; }
.editorial-empty { padding: 45px 0; border-bottom: 1px solid #cdd3cf; }
.editorial-empty h2 { font: 700 25px Inter, "Avenir Next", "Segoe UI", sans-serif; }
.editorial-empty p { color: var(--muted); }
.editorial-pagination { padding-top: 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; font-size: 11px; }
.editorial-pagination a { color: #274f4c; font-weight: 800; text-underline-offset: 3px; }
.editorial-pagination a:last-child, .editorial-pagination span:last-child { text-align: right; }
.editorial-pagination span { color: #9aa4a1; }
.editorial-pagination b { font-weight: 600; }

.results-hero { color: white; background: var(--ink); }
.results-hero-grid { min-height: 390px; padding: 76px 0; display: flex; align-items: center; }
.results-hero-grid > div { max-width: 850px; }
.results-hero .eyebrow { color: var(--lime); }
.results-hero h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(45px, 6vw, 72px); letter-spacing: -.055em; }
.results-hero h1 em { color: var(--lime); font-style: normal; }
.results-hero .hero-lede { margin-bottom: 0; }

.hero { position: relative; overflow: hidden; color: white; background: var(--ink); }
.hero::after {
  content: ""; position: absolute; inset: auto -10% -270px auto; width: 620px; height: 620px;
  border-radius: 50%; background: rgba(218, 250, 130, .09); filter: blur(4px);
}
.hero-grid { min-height: 610px; padding-block: 94px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; }
.eyebrow { margin-bottom: 16px; color: var(--teal-dark); font: 800 12px Inter, "Avenir Next", "Segoe UI", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: var(--lime); }
.hero h1 { max-width: 680px; margin-bottom: 26px; font-size: clamp(46px, 6vw, 76px); letter-spacing: -.055em; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-lede { max-width: 620px; margin-bottom: 36px; color: #cbd8d5; font-size: 19px; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.hero .button-primary { color: var(--ink); background: var(--lime); box-shadow: none; }
.hero .button-primary:hover { background: #e4ff98; }
.hero .text-link { color: white; }
.hero-visual { position: relative; min-height: 400px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(255, 255, 255, .15); border-radius: 50%; }
.orbit-one { width: 355px; height: 355px; }
.orbit-two { width: 265px; height: 265px; border-style: dashed; animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.weight-card {
  position: relative; z-index: 2; width: 230px; padding: 28px;
  color: var(--ink); background: white; border-radius: 28px; transform: rotate(-3deg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .25);
}
.weight-card::before { content: ""; position: absolute; width: 38px; height: 5px; top: 12px; left: calc(50% - 19px); border-radius: 5px; background: #d7dedb; }
.weight-label, .weight-note { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.weight-card strong { display: block; margin: 9px 0; font: 800 55px Inter, "Avenir Next", "Segoe UI", sans-serif; letter-spacing: -.06em; }
.mini-meter, .meter { height: 7px; overflow: hidden; border-radius: 20px; background: #e1e8e5; }
.mini-meter { margin-bottom: 11px; }
.mini-meter span, .meter span { height: 100%; display: block; border-radius: inherit; background: var(--teal); }
.fact-chip {
  position: absolute; z-index: 3; padding: 10px 16px; color: var(--ink); background: var(--lime);
  border-radius: 100px; font-size: 13px; font-weight: 800; box-shadow: 0 12px 25px rgba(0, 0, 0, .18);
}
.chip-one { top: 62px; right: 8px; transform: rotate(6deg); }
.chip-two { bottom: 48px; left: 4px; transform: rotate(-7deg); background: #8fe0d4; }
.chip-three { bottom: 42px; right: 25px; transform: rotate(4deg); background: #f5ba65; }

.topics-section { padding: 100px 0 110px; }
.results-section { padding-top: 65px; }
.section-heading { margin-bottom: 42px; display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(34px, 4vw, 48px); letter-spacing: -.04em; }
.section-heading > p { max-width: 420px; margin-bottom: 4px; color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.topic-card {
  --accent: var(--teal);
  position: relative; min-height: 690px; padding: 28px; display: flex; flex-direction: column;
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); background: var(--white); text-decoration: none;
  box-shadow: 0 5px 0 transparent; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.topic-card:hover { transform: translateY(-7px); border-color: var(--accent); box-shadow: 0 22px 45px rgba(16, 42, 43, .1); }
.topic-teal, .topic-amber, .topic-violet, .topic-rose, .topic-slate { --accent: var(--ui-accent); }
.topic-card-top { display: flex; justify-content: space-between; color: var(--muted); font-weight: 700; }
.topic-examine { position: relative; z-index: 2; margin-left: auto; color: var(--accent); font-size: 12px; text-decoration: none; }
.topic-arrow { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.topic-symbol { width: 72px; height: 72px; margin: 42px 0 30px; display: grid; place-items: center; border-radius: 22px; background: color-mix(in srgb, var(--accent) 18%, white); color: var(--accent); font-size: 35px; }
.topic-card h3 { margin-bottom: 15px; font-size: 25px; letter-spacing: -.03em; }
.results-section .topic-card .topic-headline { margin: 28px 0 8px; min-height: 0; font-size: 30px; line-height: 1.1; }
.results-section .topic-statement { min-height: 116px; margin: 0; color: var(--muted); font-size: 14px; font-weight: 400; line-height: 1.5; }
.topic-card > p { color: var(--muted); font-size: 15px; }
.card-cta { margin-top: auto; color: var(--accent); font-weight: 800; }
.collective-summary { margin: 23px 0; padding: 18px; border-radius: 16px; background: #f3f5f2; }
.collective-summary-link { display: block; color: inherit; text-decoration: none; cursor: pointer; }
.collective-summary-link .collective-summary { transition: box-shadow .2s, transform .2s; }
.collective-summary-link:hover .collective-summary { transform: translateY(-2px); box-shadow: 0 9px 24px rgba(16, 42, 43, .1); }
.collective-summary-link:focus-visible { border-radius: 16px; outline: 3px solid var(--accent); outline-offset: 3px; }
.collective-heading { margin-bottom: 14px; }
.collective-heading span { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.collective-heading strong { display: block; margin-top: 3px; color: var(--accent); font-size: 14px; }
.collective-bars { display: grid; gap: 7px; }
.collective-row { display: grid; grid-template-columns: 92px 1fr 34px; align-items: center; gap: 7px; }
.collective-row > span { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.collective-row b { color: var(--muted); font-size: 9px; text-align: right; }
.collective-track { height: 5px; overflow: hidden; border-radius: 10px; background: #dce3df; }
.collective-track i { height: 100%; display: block; border-radius: inherit; background: var(--accent); }
.collective-summary small { display: block; margin-top: 12px; color: var(--muted); font-size: 10px; }
.collective-summary-primary { margin-top: 20px; background: color-mix(in srgb, var(--accent) 7%, #f3f5f2); }
.collective-summary-primary .collective-heading strong { font-size: 18px; line-height: 1.25; }
.collective-summary-primary .collective-row { grid-template-columns: 105px 1fr 34px; }
.collective-summary-primary .collective-row > span { font-size: 10px; }
.opinion-dial { position: relative; width: 220px; height: 130px; margin: 6px auto 16px; }
.dial-label { position: absolute; z-index: 2; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.dial-label-no { top: 79px; left: 5px; }
.dial-label-neutral { top: 0; left: 50%; transform: translateX(-50%); }
.dial-label-yes { top: 79px; right: 5px; }
.dial-arc {
  position: absolute; top: 16px; left: 35px; width: 150px; height: 150px;
  box-sizing: border-box; border: 9px solid #d9e1dc; border-radius: 50%;
  clip-path: inset(0 0 50% 0);
}
.dial-arc::before {
  content: ""; position: absolute; inset: -9px; border: 9px solid var(--accent); border-radius: 50%;
  clip-path: polygon(50% 0, 100% 0, 100% 50%, 50% 50%);
  opacity: .7;
}
.dial-needle {
  position: absolute; z-index: 3; top: 23px; left: 108px; width: 4px; height: 69px;
  border-radius: 4px; background: var(--ink); transform: rotate(var(--dial-angle));
  transform-origin: 50% 100%; transition: transform .7s cubic-bezier(.22, .8, .26, 1);
}
.dial-needle::before { content: ""; position: absolute; top: -4px; left: -3px; border: 5px solid transparent; border-bottom: 9px solid var(--ink); }
.dial-hub { position: absolute; z-index: 4; top: 85px; left: 103px; width: 14px; height: 14px; border: 4px solid white; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1px rgba(16, 42, 43, .12); }
.results-section .card-cta { display: inline-block; margin-top: auto; text-decoration: none; }
.results-section .card-cta-primary { z-index: 2; margin: 0 0 18px; }
.card-progress { margin-top: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.card-progress-label { margin-bottom: 10px; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.card-progress-label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-progress-label strong { color: var(--accent); }
.card-progress .meter span { background: var(--accent); }
.card-progress small { display: block; margin-top: 9px; color: var(--muted); }

.how-section { padding: 100px 0; background: #e9ece5; }
.compact-heading { margin-bottom: 48px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps-grid article { padding-top: 24px; border-top: 2px solid #c8d2cc; }
.steps-grid article > span { width: 35px; height: 35px; margin-bottom: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--ink); font-weight: 800; }
.steps-grid h3 { margin-bottom: 12px; font-size: 19px; }
.steps-grid p { color: var(--muted); font-size: 14px; }

.participate-section { padding: 88px 0; color: white; background: #0c2223; }
.participate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.participate-section .eyebrow { color: var(--lime); }
.participate-section h2 { max-width: 600px; margin: 0; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.045em; }
.participate-copy { align-self: end; }
.participate-copy p { max-width: 580px; margin-bottom: 28px; color: #b9c9c6; font-size: 17px; }
.button-participate { color: var(--ink); background: var(--lime); }

.topic-page { --accent: var(--ui-accent); min-height: 760px; }
.topic-page .back-link { margin-bottom: 28px; }
.topic-hero-card { padding: clamp(28px, 5vw, 44px); }
.topic-hero-card h1 { margin-bottom: 24px; font-size: clamp(28px, 4vw, 36px); letter-spacing: -.035em; }
.topic-hero-card blockquote { margin: 0 0 32px; padding: 17px 0 17px 20px; border-left: 2px solid var(--ui-accent); font: 600 clamp(17px, 2.4vw, 21px)/1.5 Inter, "Avenir Next", "Segoe UI", sans-serif; }
.signin-gate { padding: 22px; border-radius: var(--ui-surface-radius); background: #edf2ee; }
.signin-gate > div { display: flex; align-items: center; gap: 20px; }
.opinion-form fieldset, .answer-form fieldset { margin: 0; padding: 0; border: 0; }
.opinion-options { display: grid; gap: 10px; }
.opinion-option, .answer-option { padding: 15px 17px; display: flex; align-items: center; gap: 15px; cursor: pointer; }
.opinion-option input, .answer-option input { position: absolute; opacity: 0; pointer-events: none; }
.radio-dot { width: 19px; height: 19px; border: 2px solid #aab7b2; border-radius: 50%; box-shadow: inset 0 0 0 4px white; }
.opinion-option:has(input:checked), .answer-option:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, white); }
.opinion-option input:checked + .radio-dot { border-color: var(--accent); background: var(--accent); }
.opinion-submit { display: flex; align-items: center; gap: 24px; }
.opinion-submit small { color: var(--muted); }
.current-weight { margin-top: 24px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; }
.current-weight .eyebrow { margin-bottom: 7px; }
.current-weight h2 { margin-bottom: 5px; }
.current-weight p:last-child { margin-bottom: 0; color: var(--muted); }
.weight-ring {
  width: 120px; height: 120px; display: grid; place-content: center; text-align: center; border-radius: 50%;
  background: radial-gradient(circle at center, white 58%, transparent 59%), conic-gradient(var(--accent) calc(var(--weight) * 1%), #e1e7e4 0);
}
.weight-ring strong { font: 800 25px Inter, "Avenir Next", "Segoe UI", sans-serif; }
.weight-ring span { color: var(--muted); font-size: 11px; }

.quiz-page { --accent: var(--ui-accent); min-height: calc(100vh - 76px); }
.quiz-container { width: min(820px, calc(100% - 40px)); }
.quiz-header { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.quiz-header .back-link { margin-bottom: 20px; }
.quiz-header .eyebrow { margin-bottom: 0; color: var(--accent); }
.quiz-weight { text-align: right; }
.quiz-weight span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.quiz-weight strong { font: 800 33px Inter, "Avenir Next", "Segoe UI", sans-serif; }
.quiz-progress { margin: 22px 0 28px; }
.quiz-progress > div { height: 5px; overflow: hidden; background: #d3d9d5; }
.quiz-progress > div span { height: 100%; display: block; background: var(--accent); }
.quiz-progress p { margin-top: 9px; color: var(--muted); font-size: 12px; }
.quiz-progress p span { padding: 0 5px; }
.quiz-card { padding: clamp(27px, 5vw, 44px); }
.question-card { min-height: 720px; display: flex; flex-direction: column; }
.quiz-question-heading { padding-bottom: 25px; border-bottom: 1px solid #cbd3cf; }
.question-meta { margin-bottom: 21px; display: flex; justify-content: space-between; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.retake-badge { padding: 3px 8px; border: 1px solid color-mix(in srgb, var(--accent) 45%, white); border-radius: 2px; color: var(--ink); background: color-mix(in srgb, var(--accent) 8%, white); }
.question-card h1 { max-width: 710px; min-height: 2.5em; margin-bottom: 25px; font-size: clamp(24px, 3.5vw, 29px); line-height: 1.25; letter-spacing: -.025em; }
.fact-importance { margin: 0; padding: 11px 14px; border-left: 2px solid var(--accent); color: var(--muted); background: #f4f5f2; font-size: 11px; line-height: 1.5; }
.fact-importance strong { display: block; color: var(--ink); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.fact-importance span { display: block; margin-top: 3px; }
.feedback-question + .fact-importance { margin-top: -8px; }
.question-card .answer-form { padding-top: 25px; flex: 1; display: flex; flex-direction: column; }
.answer-form fieldset { margin-bottom: 24px; display: grid; gap: 9px; }
.answer-option { min-height: 58px; }
.answer-letter { width: 31px; height: 31px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 2px; color: var(--muted); background: #edf1ef; font-weight: 800; }
.answer-option:has(input:checked) .answer-letter { color: white; background: var(--accent); }
.quiz-action-footer { margin-top: auto; }
.quiz-action-footer .button { min-height: 50px; border-radius: 2px; box-shadow: none; }
.quiz-action-footer .button:hover { transform: none; }
.glossary-term {
  position: relative; border-bottom: 1px dotted currentColor; text-decoration: none;
  cursor: help; outline: none;
}
.glossary-term::after {
  content: attr(data-definition); position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 20;
  width: max-content; max-width: min(280px, 75vw); padding: 8px 10px; border-radius: 7px;
  color: white; background: var(--ink); box-shadow: 0 5px 18px rgba(16, 42, 43, .2);
  font: 600 12px/1.35 Inter, "Avenir Next", "Segoe UI", sans-serif; text-align: left;
  opacity: 0; pointer-events: none; transform: translate(-50%, 4px);
  transition: opacity .12s, transform .12s;
}
.glossary-term:hover::after, .glossary-term:focus::after {
  opacity: 1; transform: translate(-50%, 0);
}
.glossary-term:focus-visible { border-radius: 2px; outline: 2px solid var(--accent); outline-offset: 2px; }
.quiz-hint { margin: 14px 0 0; color: var(--muted); text-align: center; font-size: 11px; }
.opinion-reminder { margin-top: 20px; padding: 15px 0; display: flex; align-items: center; gap: 12px; border-top: 1px solid #cbd3cf; border-bottom: 1px solid #cbd3cf; border-radius: 0; color: var(--muted); background: transparent; font-size: 12px; }
.opinion-reminder strong { color: var(--ink); }
.opinion-reminder a { margin-left: auto; color: var(--accent); font-weight: 800; }
.feedback-status { display: flex; align-items: center; gap: 18px; }
.status-icon { width: 57px; height: 57px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--accent); font: 700 30px Inter, "Avenir Next", "Segoe UI", sans-serif; }
.feedback-incorrect .status-icon { background: #d66c5d; }
.feedback-card.feedback-incorrect { border-top-color: #b84d40; }
.feedback-status h1 { margin: 0; color: var(--accent); font-size: clamp(25px, 4vw, 34px); line-height: 1; }
.feedback-incorrect .feedback-status h1 { color: #b84d40; }
.feedback-question { margin: 28px 0 20px; padding: 16px 18px; border-radius: 2px; background: #f2f4f1; font-weight: 600; }
.answer-comparison { margin: 12px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.answer-comparison p { margin: 0; padding: 15px; border: 1px solid #edd0cc; border-radius: 2px; }
.answer-comparison p:last-child { border-color: #afe0d5; }
.answer-comparison span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.answer-comparison-correct { grid-template-columns: 1fr; }
.answer-comparison-correct p { border-color: #afe0d5; background: #f6fbf8; }
.explanation { margin: 20px 0 28px; }
.explanation-panel { margin-bottom: 14px; padding: 18px 20px; border-radius: 2px; background: #f2f4f1; }
.explanation-panel h2 { margin-bottom: 8px; font-size: 16px; }
.explanation-panel p { margin: 0; color: var(--muted); }
.source-link { color: var(--teal-dark); font-weight: 800; }

.opinions-page { min-height: calc(100vh - 76px); }
.opinions-masthead { padding-bottom: 31px; border-bottom: 1px solid var(--line); }
.opinions-masthead h1 { font-size: clamp(42px, 6vw, 68px); }
.opinions-tools {
  margin: 27px 0 0; padding: 14px; display: flex; align-items: center;
  gap: 10px; border: 1px solid var(--line); background: white;
}
.opinion-search-field { position: relative; min-width: 240px; flex: 1 1 auto; }
.opinion-order-field { flex: 0 1 310px; display: flex; align-items: center; gap: 10px; }
.opinion-order-field label { flex: 0 0 auto; color: var(--muted); font-size: 12px; font-weight: 750; }
.opinions-tools input, .opinions-tools select {
  width: 100%; height: 43px; padding: 0 13px; border: 1px solid #cbd4d0; border-radius: 0;
  color: var(--ink); background: #fbfcfb; font: 500 13px/1 Inter, "Avenir Next", "Segoe UI", sans-serif;
}
.opinions-tools .opinion-search-field input { padding-right: 47px; }
.opinions-tools input:focus, .opinions-tools select:focus { outline: 2px solid color-mix(in srgb, var(--teal) 35%, white); outline-offset: 0; }
.opinion-search-button {
  position: absolute; top: 1px; right: 1px; width: 41px; height: 41px; padding: 0;
  display: grid; place-items: center; border: 0; border-left: 1px solid var(--line); color: var(--ink);
  background: transparent; cursor: pointer;
}
.opinion-search-button:hover { color: var(--teal-dark); background: #f0f4f2; }
.opinion-search-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.opinions-index-heading {
  margin: 29px 0 13px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--ink);
}
.opinions-index-heading p { margin: 0 0 9px; color: var(--muted); font-size: 13px; }
.opinions-index-heading a { margin-bottom: 9px; }
.opinions-grid { display: block; }
.opinion-card {
  min-width: 0; padding: 20px 0 22px; border-bottom: 1px solid var(--line); background: transparent;
}
.opinion-card-taxonomy { min-height: 20px; display: flex; flex-wrap: wrap; gap: 5px 10px; color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.opinion-card-taxonomy span + span::before { content: "·"; margin-right: 10px; color: var(--line-dark); }
.opinion-card-body { display: grid; grid-template-columns: minmax(0, 1fr) 125px; align-items: center; gap: 30px; }
.opinion-card-copy { min-width: 0; }
.opinion-card h2 { margin: 7px 0 6px; font-size: 23px; line-height: 1.13; letter-spacing: -.025em; }
.opinion-card h2 a { color: var(--ink); text-decoration: none; }
.opinion-card h2 a:hover { color: var(--accent); }
.opinion-card-statement {
  max-width: 850px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55;
}
.compact-opinion-heading { margin: 13px 0 0; display: flex; align-items: baseline; gap: 6px; }
.compact-opinion-heading span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.compact-opinion-heading strong { color: var(--teal-dark); font-size: 12px; }
.personal-choice-dial { width: 100%; max-width: 330px; height: auto; margin: 0 auto; display: block; overflow: visible; }
.compact-choice-dial { width: 108px; max-width: 108px; margin: 0 auto; }
.personal-dial-arc { fill: none; stroke: #cfd9d4; stroke-width: 7; stroke-linecap: round; }
.personal-weight-guide { fill: none; stroke: #d8e0dc; stroke-width: 1; stroke-dasharray: 3 4; }
.personal-weight-guide-label { fill: #879793; font: 700 7px Inter, "Avenir Next", "Segoe UI", sans-serif; }
.personal-dial-choice { height: 100%; display: flex; align-items: center; color: var(--muted); font: 700 9px/1.15 Inter, "Avenir Next", "Segoe UI", sans-serif; }
.personal-dial-choice-center { justify-content: center; text-align: center; }
.personal-dial-choice-left { justify-content: flex-start; text-align: left; }
.personal-dial-choice-right { justify-content: flex-end; text-align: right; }
.personal-dial-choice.is-selected { color: var(--accent); font-weight: 900; }
.personal-weight-arrow { stroke: var(--accent); stroke-width: 5; stroke-linecap: round; }
.personal-arrow-head { fill: var(--accent); }
.opinion-card .personal-weight-arrow { stroke: var(--teal-dark); }
.opinion-card .personal-arrow-head { fill: var(--teal-dark); }
.personal-dial-hub { fill: white; stroke: var(--ink); stroke-width: 2; }
.personal-dial-hub-centre { fill: var(--ink); }
.compact-result-numbers { margin: 4px 0 0; display: flex; align-items: baseline; gap: 8px; color: var(--muted); font-size: 9px; }
.compact-result-numbers strong { color: var(--teal-dark); font-size: 11px; }
.personal-card-actions { margin-top: 12px; display: flex; align-items: center; gap: 18px; }
.personal-card-actions a { color: var(--teal-dark); font-size: 11px; font-weight: 750; text-underline-offset: 3px; }
.personal-card-actions a + a { padding-left: 18px; border-left: 1px solid var(--line); }
.opinions-empty { margin-top: 0; border-top: 0; }

.fact-report-link { margin-left: 16px; color: var(--muted); font-size: 11px; font-weight: 700; text-underline-offset: 3px; }

.topic-reaction-panel {
  margin-top: 24px; padding: 26px 30px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 35px; border: 1px solid var(--line); background: white;
}
.topic-reaction-panel h2 { margin: 0 0 7px; font-size: 22px; }
.topic-reaction-panel p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.reaction-actions { display: grid; gap: 13px; }
.reaction-actions form { margin: 0; }
.like-control { padding-bottom: 13px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--ui-border); }
.like-control > span, .dislike-form label { color: var(--muted); font-size: 10px; font-weight: 750; }
.reaction-like, .reaction-dislike, .reaction-remove {
  min-width: 78px; min-height: 38px; padding: 0 15px; border: 1px solid #9daba6; color: var(--ink); background: white;
  font: 750 11px Inter, "Avenir Next", "Segoe UI", sans-serif; cursor: pointer;
}
.reaction-like.is-active, .reaction-dislike.is-active { border-color: var(--teal-dark); color: white; background: var(--teal-dark); }
.dislike-form { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.dislike-form label { grid-column: 1 / -1; }
.dislike-form textarea {
  min-height: 58px; padding: 9px 10px; resize: vertical; border: 1px solid #bdc8c3; border-radius: 0;
  color: var(--ink); background: #fbfcfb; font: 12px/1.4 Inter, "Avenir Next", "Segoe UI", sans-serif;
}
.dislike-form .reaction-dislike { min-height: 58px; }
.reaction-remove { grid-column: 1 / -1; justify-self: end; min-height: 28px; padding: 0; border: 0; color: var(--muted); background: transparent; text-decoration: underline; }
.fact-contribution-panel {
  margin-top: 18px; padding: 21px 0; display: flex; align-items: center; justify-content: space-between;
  gap: 30px; border-top: 1px solid #aeb9b4; border-bottom: 1px solid #aeb9b4;
}
.fact-contribution-panel h2 { margin: 0 0 5px; font-size: 20px; }
.fact-contribution-panel p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.contribution-button { min-height: 40px; flex: 0 0 auto; border-color: #687b77; border-radius: 0; color: var(--ink); background: transparent; box-shadow: none; font-size: 11px; }

.editorial-form-page { min-height: calc(100vh - 76px); padding: 46px 0 90px; background: #faf9f5; }
.form-page-container { width: min(760px, calc(100% - 40px)); }
.form-page-container > header { margin: 25px 0 28px; padding-bottom: 25px; border-bottom: 3px double var(--ink); }
.form-page-container > header h1 { margin: 0 0 8px; font-size: clamp(36px, 6vw, 55px); letter-spacing: -.045em; }
.form-page-container > header > p:last-child { max-width: 650px; margin: 0; color: var(--muted); }
.reported-question { margin: 0 0 25px; padding: 18px 20px; border-left: 3px solid var(--teal-dark); background: white; }
.reported-question strong, .reported-question span { display: block; }
.reported-question strong { margin-bottom: 5px; color: var(--muted); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.editorial-form { padding: 28px; display: grid; gap: 20px; border: 1px solid var(--line); background: white; }
.editorial-form .field label { margin-bottom: 7px; display: block; font-size: 12px; font-weight: 750; }
.editorial-form input[type="text"], .editorial-form input[type="url"], .editorial-form select, .editorial-form textarea {
  width: 100%; padding: 12px 13px; border: 1px solid #bdc8c3; border-radius: 0;
  color: var(--ink); background: #fbfcfb; font: 14px/1.45 Inter, "Avenir Next", "Segoe UI", sans-serif;
}
.editorial-form select { height: 46px; padding-top: 0; padding-bottom: 0; }
.editorial-form textarea { resize: vertical; }
.editorial-form input:focus, .editorial-form select:focus, .editorial-form textarea:focus { border-color: var(--teal-dark); outline: 2px solid rgba(8, 121, 111, .12); }
.editorial-form .button { justify-self: start; border-radius: 0; }

.proposal-page { min-height: calc(100vh - 76px); padding: 42px 0 100px; background: #faf9f5; }
.proposal-page-container > .back-link { margin-bottom: 22px; }
.proposal-masthead { padding-bottom: 28px; border-bottom: 3px double #263536; }
.proposal-masthead h1 { margin-bottom: 9px; font-size: clamp(42px, 6vw, 62px); letter-spacing: -.045em; }
.proposal-masthead > p:last-child { max-width: 760px; margin: 0; color: #52615f; font-size: 17px; }
.proposal-workspace { margin-top: 34px; display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: start; gap: 58px; }
.proposal-section-heading { padding-top: 16px; border-top: 2px solid var(--ink); }
.proposal-section-heading h2 { margin-bottom: 7px; font-size: 26px; }
.proposal-section-heading > p:last-child { margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.proposal-form { padding: 25px; }
.proposal-guidance { padding-top: 13px; border-top: 1px solid #263536; }
.proposal-guidance h2 { margin-bottom: 11px; font-size: 19px; }
.proposal-guidance ul { margin: 0; padding: 0; list-style: none; }
.proposal-guidance li { padding: 9px 0; border-top: 1px solid #dfe3df; color: #425452; font-size: 12px; }
.proposal-guidance > p:last-child { margin: 17px 0 0; color: #71807d; font-size: 11px; }
.proposal-history { margin-top: 60px; }
.proposal-history > header { padding-bottom: 11px; display: flex; align-items: end; justify-content: space-between; border-bottom: 2px solid var(--ink); }
.proposal-history > header p { margin-bottom: 5px; }
.proposal-history > header h2 { margin: 0; font-size: 27px; }
.proposal-history > header > span { color: var(--muted); font-size: 11px; }
.proposal-record { padding: 23px 0; display: grid; grid-template-columns: minmax(0, 1fr) 105px; gap: 30px; border-bottom: 1px solid #cdd3cf; }
.proposal-record-meta { display: flex; flex-wrap: wrap; gap: 5px 14px; color: #71807d; font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.proposal-record h3 { margin: 7px 0 5px; font-size: 20px; }
.proposal-record-main > p { max-width: 780px; margin: 0; color: #52615f; font-size: 13px; }
.proposal-status { margin: 0; padding-left: 14px; align-self: start; border-left: 2px solid #7c8986; }
.proposal-status span, .proposal-status strong { display: block; }
.proposal-status span { color: #71807d; font-size: 8px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.proposal-status strong { font-size: 12px; }
.proposal-status-approved { border-left-color: #477c76; }
.proposal-status-declined { border-left-color: #92665c; }
.proposal-history-empty { margin: 0; padding: 25px 0; color: var(--muted); font-size: 13px; border-bottom: 1px solid #cdd3cf; }
.proposal-final-wording { margin-top: 15px; padding: 12px 15px; border-left: 2px solid #477c76; background: #f0f4f1; }
.proposal-final-wording > strong { color: #52615f; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.proposal-final-wording h4 { margin: 4px 0; font-size: 15px; }
.proposal-final-wording p { margin: 0; color: #52615f; font-size: 12px; }

.proposal-answer-fields { margin: 0; padding: 0; border: 0; }
.proposal-answer-fields legend { font-size: 12px; font-weight: 750; }
.proposal-answer-fields > p { margin: 2px 0 10px; color: var(--muted); font-size: 11px; }
.proposal-answer-row { margin-top: 8px; display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 8px; }
.proposal-answer-row input[type="text"] { width: 100%; padding: 11px 12px; border: 1px solid #bdc8c3; border-radius: 0; }
.fact-source-fields, .fact-assessment-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.fact-proposition-reference { padding: 15px 17px; border-left: 3px solid #405957; background: #f0f3f0; }
.fact-proposition-reference strong { color: #52615f; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.fact-proposition-reference blockquote { margin: 6px 0; font-size: 14px; font-weight: 650; }
.fact-proposition-reference p { margin: 0; color: var(--muted); font-size: 10px; }
.fact-proposal-history { margin-top: 38px; }
.fact-proposal-history h2 { padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-size: 22px; }
.fact-proposal-history article { padding: 14px 0; display: flex; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); }
.fact-proposal-history article strong, .fact-proposal-history article span { display: block; }
.fact-proposal-history article strong { font-size: 13px; }
.fact-proposal-history article span { color: var(--muted); font-size: 10px; }
.fact-proposal-history article b { font-size: 11px; }

.moderation-page { min-height: calc(100vh - 76px); padding: 54px 0 100px; background: #faf9f5; }
.moderation-masthead { margin-bottom: 38px; }
.moderation-section { margin-top: 36px; }
.moderation-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.moderation-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.moderation-meta strong { color: var(--teal-dark); }
.moderation-item h3 { margin: 8px 0; font-size: 20px; }
.moderation-item > p, .moderation-item blockquote { max-width: 850px; margin: 9px 0; color: var(--muted); font-size: 13px; }
.moderation-item blockquote { padding-left: 15px; border-left: 2px solid var(--line); }
.proposal-details { margin: 16px 0; display: grid; gap: 7px; font-size: 12px; }
.proposal-details div { display: grid; grid-template-columns: 80px 1fr; }
.proposal-details dt { color: var(--muted); font-weight: 750; }
.proposal-details dd { margin: 0; }
.moderation-form { max-width: 850px; margin-top: 15px; display: grid; grid-template-columns: minmax(250px, 1fr) auto; gap: 9px; }
.moderation-form textarea { min-height: 58px; padding: 9px 11px; border: 1px solid #bdc8c3; border-radius: 0; resize: vertical; }
.moderation-form > div { display: flex; gap: 7px; }
.moderation-form .button { min-height: 40px; padding: 0 14px; border-radius: 0; box-shadow: none; font-size: 11px; }
.moderation-editor { max-width: 900px; grid-template-columns: 1fr; gap: 12px; }
.moderation-editor > .moderation-edit-fields { display: grid; gap: 12px; }
.moderation-editor .field label, .moderation-answer-editor legend { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 750; }
.moderation-editor input[type="text"], .moderation-editor input[type="url"], .moderation-editor select, .moderation-editor textarea {
  width: 100%; padding: 9px 10px; border: 1px solid #bdc8c3; border-radius: 0; color: var(--ink); background: white;
}
.moderation-editor > .moderation-actions { display: flex; justify-content: flex-end; gap: 7px; }
.moderation-answer-editor { margin: 0; padding: 10px 12px; border: 1px solid var(--line); }
.moderation-answer-editor > div { margin-top: 6px; display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 7px; }
.moderation-inline-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.moderation-approve { border-color: var(--teal-dark); color: white; background: var(--teal-dark); }
.moderation-decline { border-color: #8b615b; color: #70453f; background: white; }
.moderation-withdraw { border-color: #7d6840; color: #66512c; background: #fbf8ef; }
.moderation-form-guidance { margin: 0; padding: 12px 14px; border-left: 2px solid var(--ui-accent); color: var(--muted); background: #f3f5f2; font-size: 11px; }
.moderation-empty { padding: 25px 0; color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); }
.moderation-guidance { max-width: 780px; margin: 14px 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.featured-order-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.featured-order-list li { min-height: 66px; padding: 10px 0; display: grid; grid-template-columns: 28px minmax(220px, 1fr) 90px auto; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.featured-rank { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.featured-question-summary strong, .featured-question-summary span { display: block; }
.featured-question-summary strong { font-size: 14px; }
.featured-question-summary span, .featured-adjustment { margin-top: 3px; color: var(--muted); font-size: 10px; }
.featured-adjustment { text-align: right; font-variant-numeric: tabular-nums; }
.featured-order-actions { display: flex; justify-content: flex-end; gap: 5px; }
.featured-order-actions form { margin: 0; }
.editorial-control { min-height: 32px; padding: 0 10px; border: 1px solid #607673; color: var(--teal-dark); background: transparent; font: inherit; font-size: 10px; font-weight: 750; cursor: pointer; }
.editorial-control:hover { background: #edf2ef; }
.editorial-control:disabled { opacity: .35; cursor: default; }
.editorial-control-muted { border-color: var(--line); color: var(--muted); }
.draft-question-item { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.draft-question-item h3 { margin-bottom: 3px; }
.draft-question-item > div > p { margin: 0; color: var(--muted); font-size: 11px; }
.draft-question-item .button { min-height: 40px; flex: 0 0 auto; border-radius: 0; box-shadow: none; font-size: 11px; }

.account-page { min-height: calc(100vh - 76px); padding: 54px 0 100px; background: #faf9f5; }
.account-container { width: min(1000px, calc(100% - 40px)); }
.account-container-narrow { width: min(680px, calc(100% - 40px)); }
.account-masthead { padding-bottom: 28px; border-bottom: 3px double #263536; }
.account-masthead h1 { margin-bottom: 9px; font-size: clamp(42px, 6vw, 62px); letter-spacing: -.045em; }
.account-masthead > p:last-child { max-width: 690px; margin: 0; color: #52615f; font-size: 17px; }
.account-layout { margin-top: 34px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(230px, 1fr); align-items: start; gap: 58px; }
.account-form-panel { padding-top: 20px; border-top: 2px solid var(--ink); }
.account-layout .account-form-panel { margin: 0; }
.account-container-narrow .account-form-panel { margin-top: 34px; }
.account-switch { margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.account-switch a, .label-line a { color: #274f4c; font-weight: 750; text-underline-offset: 3px; }
.account-form { display: grid; gap: 19px; }
.account-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label, .label-line label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.account-form .field input {
  width: 100%; height: 46px; padding: 0 13px; border: 1px solid #aeb9b4; border-radius: 2px;
  color: var(--ink); background: white; outline: none;
}
.account-form .field input:focus { border-color: #405957; outline: 2px solid rgba(64, 89, 87, .15); }
.field small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.label-line { display: flex; justify-content: space-between; font-size: 12px; }
.check-field { display: flex; gap: 9px; color: var(--muted); font-size: 13px; }
.account-form .button { width: auto; justify-self: start; border-radius: 2px; box-shadow: none; }
.account-note { padding-top: 13px; border-top: 1px solid #263536; }
.account-note h2 { margin-bottom: 11px; font-size: 19px; }
.account-note ul { margin: 0; padding: 0; list-style: none; }
.account-note li { padding: 9px 0; border-top: 1px solid #dfe3df; color: #425452; font-size: 12px; }
.account-note > p:last-child { margin: 17px 0 0; color: #71807d; font-size: 11px; }
.account-back-link { margin-top: 23px; display: inline-block; color: #405957; font-size: 12px; font-weight: 750; text-underline-offset: 3px; }
.form-errors { margin-bottom: 20px; padding: 14px 17px; border: 1px solid #c88c83; border-radius: 0; background: #fff0ed; font-size: 13px; }
.form-errors ul { margin: 5px 0 0; padding-left: 20px; }

/*
 * CENTRAL DESIGN SYSTEM
 * These primitives are the visual contract for every user-facing page.
 * Page selectors may determine layout; they must not redefine the palette,
 * typography, surface treatment, choices, controls, or section rhythm.
 */
.ui-page {
  min-height: calc(100vh - 76px);
  padding: var(--ui-page-padding);
  background: var(--ui-page-background);
}
.ui-masthead { padding-bottom: 32px; border-bottom: 3px double var(--ui-rule); }
.ui-masthead h1 { margin-bottom: 10px; font-size: clamp(42px, 6vw, 66px); line-height: 1.02; letter-spacing: -.045em; }
.ui-masthead > p:last-child { max-width: 760px; margin-bottom: 0; color: #52615f; font-size: 17px; line-height: 1.55; }
.ui-sheet, .ui-panel {
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-surface-radius);
  background: var(--ui-surface-background);
}
.ui-sheet { box-shadow: var(--ui-surface-shadow); }
.ui-sheet-emphasis { border-top: 3px solid var(--ui-accent); }
.ui-sheet-emphasis.feedback-incorrect { border-top-color: #b84d40; }
.ui-panel { box-shadow: none; }
.ui-choice {
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-control-radius);
  background: var(--ui-surface-background);
  transition: border-color .15s, background .15s;
}
.ui-choice:hover { border-color: var(--ui-accent); background: #f5f8f6; }
.ui-choice:has(input:checked) { border-color: var(--ui-accent); background: #edf5f1; }
.ui-action-footer { margin-top: 24px; padding-top: 19px; border-top: 1px solid var(--ui-border); }
.ui-action-footer .button, .ui-button {
  border-radius: var(--ui-control-radius);
  box-shadow: none;
}
.ui-action-footer .button:hover, .ui-button:hover { transform: none; }
.ui-disclosure > summary {
  padding: 0 34px 10px 0; display: flex; align-items: baseline; justify-content: space-between;
  position: relative; border-bottom: 2px solid var(--ink); cursor: pointer; list-style: none;
}
.ui-disclosure > summary::-webkit-details-marker { display: none; }
.ui-disclosure > summary::after {
  content: "+"; position: absolute; right: 3px; top: -5px; color: var(--muted);
  font-size: 25px; font-weight: 400; line-height: 1;
}
.ui-disclosure[open] > summary::after { content: "−"; }
.ui-disclosure > summary:hover::after { color: var(--ink); }
.ui-disclosure > summary:focus-visible { outline: 2px solid var(--ui-accent); outline-offset: 5px; }
.ui-disclosure > summary h2 { margin: 0; font-size: 24px; }
.ui-disclosure > summary span { color: var(--muted); font-size: 11px; }
.ui-kicker {
  margin-bottom: 8px; color: #536462; font-size: var(--ui-compact-label-size);
  font-weight: 800; letter-spacing: .11em; text-transform: uppercase;
}

/* Help layout; typography and surfaces come from the central primitives. */
.help-container { width: min(1040px, calc(100% - 40px)); }
.help-layout { margin-top: 38px; display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 58px; }
.help-contents { position: sticky; top: 24px; padding: 18px 20px; }
.help-contents > strong { display: block; padding-bottom: 9px; border-bottom: 1px solid var(--ui-rule); font-size: 13px; }
.help-contents ol { margin: 8px 0 0; padding: 0; list-style: none; }
.help-contents li + li { border-top: 1px solid #e0e4e1; }
.help-contents a { padding: 7px 0; display: block; color: #405957; font-size: 11px; font-weight: 700; text-decoration: none; }
.help-contents a:hover { text-decoration: underline; text-underline-offset: 3px; }
.help-article { min-width: 0; }
.help-article > section { padding: 4px 0 34px; scroll-margin-top: 24px; }
.help-article > section + section { padding-top: 31px; border-top: 1px solid var(--ui-border); }
.help-article h2 { margin-bottom: 15px; font-size: 29px; letter-spacing: -.025em; }
.help-article p, .help-steps { max-width: 720px; color: #425452; font-size: 14px; line-height: 1.7; }
.help-steps { margin: 0; padding-left: 22px; }
.help-steps li { padding: 4px 0 8px 5px; }
.help-formula { max-width: 720px; margin: 22px 0; padding: 17px 19px; border-left: 3px solid var(--ui-accent); }
.help-formula span, .help-formula strong { display: block; }
.help-formula span { margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.help-formula strong { font-size: 14px; font-weight: 700; }

.site-footer { padding: 32px 0; color: #afbfbc; background: #0c2223; font-size: 13px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-inner p { margin: 0; display: flex; align-items: center; gap: 10px; }

@media (max-width: 900px) {
  .editorial-layout { grid-template-columns: 1fr; }
  .editorial-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
  .editorial-sidebar section { margin: 0; }
  .hero-grid { min-height: auto; padding: 75px 0; grid-template-columns: 1fr; gap: 35px; }
  .hero-visual { min-height: 350px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 620px; }
  .topic-symbol { margin: 28px 0 20px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .account-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 38px; }
  .participate-grid { grid-template-columns: 1fr; gap: 35px; }
  .topic-reaction-panel { grid-template-columns: 1fr; }
  .proposal-workspace { grid-template-columns: minmax(0, 1fr) 240px; gap: 38px; }
  .help-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 35px; }
}

@media (max-width: 640px) {
  .container, .narrow-container, .quiz-container { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 67px; }
  .brand > span:last-child, .nav-greeting { display: none; }
  .site-nav { gap: 14px; }
  .editorial-home { padding: 34px 0 70px; }
  .editorial-masthead h1 { font-size: 43px; }
  .editorial-masthead > p:last-child { font-size: 16px; }
  .topic-search { align-items: stretch; flex-direction: column; }
  .catalogue-search-field, .catalogue-order-field { width: 100%; min-width: 0; flex: none; }
  .editorial-topic-body { grid-template-columns: 1fr; gap: 18px; }
  .editorial-topic-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .editorial-sidebar { grid-template-columns: 1fr; }
  .hero-grid { padding: 58px 0; }
  .results-hero-grid { min-height: 0; padding: 58px 0; }
  .results-hero h1 { font-size: 44px; }
  .hero h1 { font-size: 45px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-visual { transform: scale(.86); margin: -25px 0; }
  .topics-section, .how-section { padding: 70px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 20px; }
  .topic-card { padding: 23px; }
  .results-section .topic-statement { min-height: 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid article > span { margin-bottom: 18px; }
  .topic-page { padding-top: 30px; }
  .topic-hero-card { border-radius: var(--ui-surface-radius); }
  .opinion-submit, .signin-gate > div { align-items: stretch; flex-direction: column; }
  .current-weight { align-items: flex-start; gap: 20px; }
  .weight-ring { width: 95px; height: 95px; flex: 0 0 auto; }
  .quiz-header { align-items: start; }
  .quiz-card { border-radius: 2px; }
  .question-card { min-height: 0; }
  .question-card h1 { min-height: 0; }
  .answer-comparison { grid-template-columns: 1fr; }
  .opinion-reminder { align-items: flex-start; flex-wrap: wrap; }
  .opinion-reminder a { margin-left: 0; }
  .account-page { padding: 34px 0 70px; }
  .account-container, .account-container-narrow { width: min(100% - 28px, 1000px); }
  .account-masthead h1 { font-size: 43px; }
  .account-layout { grid-template-columns: 1fr; gap: 36px; }
  .account-field-row { grid-template-columns: 1fr; }
  .editorial-form { padding: 20px; }
  .moderation-form { grid-template-columns: 1fr; }
  .moderation-form > div { justify-content: flex-start; }
  .proposal-workspace { grid-template-columns: 1fr; gap: 36px; }
  .proposal-form { padding: 20px; }
  .proposal-record { grid-template-columns: minmax(0, 1fr) 90px; gap: 16px; }
  .fact-contribution-panel { align-items: flex-start; flex-direction: column; gap: 15px; }
  .draft-question-item { align-items: flex-start; flex-direction: column; gap: 14px; }
  .featured-order-list li { grid-template-columns: 24px minmax(0, 1fr); gap: 9px; }
  .featured-adjustment { grid-column: 2; text-align: left; }
  .featured-order-actions { grid-column: 2; justify-content: flex-start; flex-wrap: wrap; }
  .fact-source-fields, .fact-assessment-fields, .moderation-inline-fields { grid-template-columns: 1fr; }
  .opinions-tools { align-items: stretch; flex-direction: column; }
  .opinion-search-field, .opinion-order-field { width: 100%; min-width: 0; flex: none; }
  .opinion-card-body { grid-template-columns: minmax(0, 1fr) 95px; gap: 12px; }
  .compact-choice-dial { width: 82px; max-width: 82px; }
  .help-container { width: min(100% - 28px, 1040px); }
  .help-layout { grid-template-columns: 1fr; gap: 28px; }
  .help-contents { position: static; }
  .ui-page { padding: 34px 0 70px; }
  .ui-masthead h1 { font-size: 43px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 13px; }
}
