:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #1d1d1f;
  --text: #515154;
  --muted: #6e6e73;
  --line: #e8e8ed;
  --link: #0066cc;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
/* Keep in-page links clear of the sticky header. */
html { scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: var(--link); text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .6; }
a, button, input, select { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
input:focus-visible, select:focus-visible { outline-offset: 1px; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; font-weight: 450; }
h1 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.035em; margin: 0 0 27px; max-width: 900px; }
h2 { font-size: 29px; letter-spacing: -.025em; margin: 0 0 23px; }
h3 { font-size: 21px; margin: 0 0 12px; }
p { color: var(--text); margin: 0 0 23px; }
li { color: var(--text); }
strong { font-weight: 500; }
.container, .site-header, .site-footer { width: min(1000px, calc(100% - 80px)); margin-inline: auto; }
.container { min-height: 50vh; padding-bottom: 72px; }
.preview-notice { margin: 0; padding: 10px 24px; border-bottom: 1px solid #f0f0f2; background: #fafafa; text-align: center; font-size: 11px; color: var(--muted); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
/* The header stays at the top while scrolling. The shadow paints white across the full
   window width, and the clip keeps that paint from spilling above or below the header. */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); box-shadow: 0 0 0 100vmax var(--paper); clip-path: inset(0 -100vmax); }
.brand { color: var(--ink); font-size: 21px; font-weight: 500; letter-spacing: -.6px; text-decoration: none; }
.site-header nav { display: flex; align-items: center; gap: 34px; font-size: 13px; }
.site-header nav a { color: var(--text); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 7px; }
.intro, .page-intro { padding: 72px 0 48px; max-width: 840px; }
.home-intro { padding: 88px 0 76px; }
.lead { font-size: 21px; line-height: 1.65; color: var(--ink); font-weight: 400; }
.home-intro > p:not(.lead):not(.actions):not(.status-note) { max-width: 760px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 34px; margin-bottom: 24px; }
.button { display: inline-block; padding: 12px 23px; border: 1px solid #0071e3; border-radius: 24px; background: #0071e3; color: #fff; text-decoration: none; font-size: 15px; font-weight: 400; line-height: 1.5; min-height: 46px; transition: background-color .15s ease; }
.button:hover { background: #0077ed; border-color: #0077ed; text-decoration: none; }
.button.secondary { color: var(--ink); background: #fff; border-color: #d2d2d7; }
.button.secondary:hover { background: #f5f5f7; border-color: #c6c6cc; }
.text-button { padding: 4px 0; border: 0; background: none; color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice { position: fixed; z-index: 20; bottom: 16px; left: 50%; transform: translateX(-50%); width: min(1000px, calc(100% - 32px)); display: flex; align-items: center; gap: 28px; padding: 20px 24px; border: 1px solid #d2d2d7; border-radius: 14px; background: #fff; box-shadow: 0 4px 24px #0000000d; font-size: 14px; line-height: 1.6; }
.cookie-notice p { margin: 0; }
.cookie-notice-action { flex: none; text-align: center; }
.cookie-notice-action .button { font-size: 14px; padding: 10px 18px; }
.cookie-notice-action p { font-size: 11px; margin-top: 5px; color: var(--muted); }
.cookie-notice-visible { padding-bottom: 150px; }
@media (max-width: 600px) {
  .cookie-notice { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 20px; bottom: 12px; }
  .cookie-notice-action { text-align: left; }
  .cookie-notice-visible { padding-bottom: 230px; }
}
.danger { color: #974334; }
.status-note, .source-meta, .results-meta, .table-note { color: var(--muted); font-size: 14px; line-height: 1.7; }
.home-intro .status-note { margin-bottom: 0; font-size: 13px; }
.home-section { padding: 62px 0; border-top: 1px solid var(--line); }
.home-section > p, .text-section > p { max-width: 770px; }
.plain-list { padding-left: 21px; margin: 0 0 30px; }
.plain-list li { margin-bottom: 11px; padding-left: 3px; }
.search-form { display: flex; gap: 14px; margin: 34px 0; max-width: 800px; }
input:not([type=checkbox]):not([type=radio]), select { border: 1px solid #d2d2d7; border-radius: 8px; background: #fff; color: var(--ink); padding: 12px 14px; min-height: 46px; min-width: 0; }
select {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: 44px;
  background-image: url('/assets/chevron-down.svg');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px 14px;
  text-overflow: ellipsis;
  cursor: pointer;
}
@media (forced-colors: active) {
  select { -webkit-appearance: auto; appearance: auto; background-image: none; padding-inline-end: 14px; }
}
.search-form input { flex: 1; }
.search-form button { flex: none; }
.research-list { padding: 0; list-style: none; margin: 0 0 24px; }
.research-list > li { padding: 32px 0; border-bottom: 1px solid var(--line); }
.research-list > li:first-child { border-top: 1px solid var(--line); }
.research-list h3 { font-size: 20px; }
.research-list h3 a { text-decoration: none; }
.research-list h3 a:hover { text-decoration: underline; }
.research-list p:last-child { margin: 0; max-width: 860px; }
.research-list .source-meta { margin: 0 0 10px; font-size: 13px; }
.library-controls { display: flex; align-items: end; gap: 14px; margin: 4px 0 24px; }
.library-controls label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.library-controls input, .library-controls select { width: 100%; font-size: 14px; }
.library-controls .search-field { flex: 1; }
.results-meta { margin: 0 0 20px; }
.empty-state { padding: 28px 0; }
.breadcrumb { font-size: 14px; padding-top: 26px; margin: 0; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.breadcrumb li { color: var(--muted); }
.breadcrumb li + li::before { content: '/'; padding: 0 9px; color: #c7c7cc; }
.breadcrumb [aria-current] { color: var(--text); }
.breadcrumb + .page-intro, .breadcrumb + article > .page-intro { padding-top: 34px; }
.study { max-width: 740px; font-size: 17px; line-height: 1.75; }
.study .page-intro { padding: 28px 0; max-width: none; }
.study h1 { font-size: clamp(32px, 4.6vw, 42px); line-height: 1.18; letter-spacing: -.035em; margin-bottom: 20px; }
.study h2 { font-size: 21px; line-height: 1.35; font-weight: 500; letter-spacing: -.015em; margin: 0 0 12px; }
.study p { margin-bottom: 16px; }
.study .lead { font-size: 18px; line-height: 1.65; color: var(--text); margin-bottom: 18px; }
.study .source-meta { font-size: 13px; line-height: 1.6; margin-bottom: 0; }
.study > section { margin: 0; padding: 26px 0; border-top: 1px solid var(--line); }
.study > section > :last-child { margin-bottom: 0; }
.study ul { padding-left: 21px; margin: 0; }
.study li { margin-bottom: 8px; padding-left: 2px; }
.study li:last-child { margin-bottom: 0; }
.study .evidence-list { list-style: none; padding: 0; margin: 0; }
.study .evidence-list > li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start; padding: 0; margin-bottom: 18px; }
.study .evidence-list > li:last-child { margin-bottom: 0; }
.study .evidence-list p { margin: 0; }
.study .evidence-marker { font-size: 22px; line-height: 1.35; font-weight: 500; text-align: center; }
.study .evidence-list--findings .evidence-marker { color: #187342; }
.study .evidence-list--limitations .evidence-marker { color: #b42318; }
.study .source-links { margin: 16px 0; padding-left: 20px; font-size: 14px; }
.study .citation { font-size: 14px; line-height: 1.7; color: var(--muted); }
.study .actions { font-size: 14px; gap: 14px 24px; }
.text-section { margin: 0; padding: 38px 0; border-top: 1px solid var(--line); }
.study-details { display: grid; grid-template-columns: minmax(140px, 230px) 1fr; gap: 12px 25px; margin: 25px 0; font-size: 14px; }
.study-details dt { color: var(--muted); }
.study-details dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.study-details + .actions { margin-top: 24px; }
.copy-status { font-size: 13px; margin-left: 15px; }
.notice { padding: 16px 0; border-top: 1px solid #adb3ba; border-bottom: 1px solid #adb3ba; color: var(--text); font-size: 14px; margin-bottom: 28px; }
.data-section { padding: 40px 0; border-bottom: 1px solid var(--line); max-width: 880px; }
.data-section:last-child { border-bottom: 0; }
.data-section h2 { font-size: 23px; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; }
.data-table th, .data-table td { padding: 17px 20px 17px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font-size: 13px; font-weight: 500; color: var(--muted); }
.data-table tbody th { font-weight: 400; }
.data-table td { white-space: nowrap; }
.withheld { color: var(--muted); }
.table-note { margin: 14px 0 0; font-size: 13px; }
.endpoint-list { padding-left: 22px; }
.endpoint-list li { margin-bottom: 11px; }
.text-section { max-width: 850px; }
.text-section h2 { font-size: 23px; }
.stepper { display: flex; justify-content: space-between; list-style: none; padding: 0; max-width: 760px; margin: 30px 0; border-bottom: 1px solid var(--line); gap: 20px; font-size: 14px; }
.stepper li { display: flex; gap: 8px; padding-bottom: 13px; color: var(--muted); }
.stepper li[aria-current] { color: var(--ink); border-bottom: 2px solid var(--ink); font-weight: 500; }
.demo-form, .review-section { max-width: 820px; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { font-size: 23px; font-weight: 500; line-height: 1.4; margin-bottom: 22px; padding: 0; }
.choice-row, .checkbox-row { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: 15px; margin: 16px 0; }
.choice-row input, .checkbox-row input { margin-top: 6px; flex: none; accent-color: #343b43; }
.checkbox-row + .button { margin-top: 15px; }
.field-label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; margin: 24px 0; max-width: 600px; }
.completion-panel, .decision-result { padding: 25px 0; border-top: 1px solid var(--line); margin-top: 30px; }
.completion-panel h2 { font-size: 25px; }
.decision-result h3 { font-size: 20px; }
.application-details { margin-bottom: 35px; }
.site-footer { padding: 38px 0 42px; border-top: 1px solid var(--line); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 13px; margin-bottom: 17px; }
.site-footer p { font-size: 12px; color: var(--muted); margin-bottom: 0; }
.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; }
.skip-link { position: absolute; top: -60px; left: 20px; background: #fff; color: var(--ink); padding: 12px; z-index: 30; }
.skip-link:focus { top: 10px; }

@media (max-width: 800px) {
  .container, .site-header, .site-footer { width: calc(100% - 48px); }
  .site-header { gap: 20px; padding: 25px 0; }
  .site-header nav { gap: 21px; font-size: 13px; }
  .intro, .page-intro { padding-top: 54px; }
  .home-intro { padding-top: 64px; }
  .library-controls { flex-wrap: wrap; }
  .library-controls .search-field { flex-basis: 100%; }
  .library-controls > label:not(.search-field) { flex: 1; }
}

@media (max-width: 520px) {
  .preview-notice { font-size: 11px; padding: 9px 18px; }
  .site-header { display: block; padding: 12px 0 10px; }
  html { scroll-padding-top: 104px; }
  .brand { font-size: 21px; }
  .site-header nav { justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin-top: 8px; font-size: 13px; }
  h1 { font-size: 36px; line-height: 1.2; }
  h2 { font-size: 25px; }
  .lead { font-size: 19px; }
  .home-intro { padding: 52px 0 48px; }
  .home-section { padding-block: 43px; }
  .home-intro .actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .search-form { flex-direction: column; gap: 10px; }
  .search-form .button { align-self: flex-start; }
  .research-list h3 { font-size: 19px; }
  .research-list .source-meta { font-size: 12px; }
  .library-controls { gap: 14px 10px; }
  .library-controls > label:not(.search-field) { min-width: 0; flex-basis: calc(50% - 10px); }
  .library-controls select { font-size: 12px; }
  .library-controls button { width: 100%; }
  .study { font-size: 16px; }
  .study .page-intro { padding: 24px 0; }
  .study h2 { font-size: 20px; }
  .study .lead { font-size: 17px; }
  .study > section { padding: 24px 0; }
  .study .evidence-list > li { gap: 10px; }
  .study .evidence-marker { font-size: 21px; line-height: 1.333333; }
  .study-details { grid-template-columns: 1fr; gap: 4px; }
  .study-details dd { margin-bottom: 14px; }
  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding-right: 9px; }
  .data-table thead th { font-size: 11px; }
  .table-note { font-size: 12px; }
  .stepper { gap: 10px; font-size: 12px; }
  .stepper li { gap: 5px; }
  .demo-form .actions, .review-section .actions { align-items: stretch; flex-direction: column; }
  .demo-form .actions button, .review-section .actions button { text-align: left; }
  .site-footer nav { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}

@media (forced-colors: active) {
  .study .evidence-list .evidence-marker { color: CanvasText; }
}

@media print {
  .preview-notice, .site-header, .site-footer, .button, .search-form, .library-controls, .catalogue-filters, .participation-note, .on-this-page, .copy-row { display: none; }
  .container { width: 100%; }
  h1 { font-size: 30px; }
  h2 { font-size: 22px; }
  .study h1 { font-size: 30px; }
  .study h2 { font-size: 18px; }
  body { color: #000; font-size: 12px; }
  .research-list > li { break-inside: avoid; }
}

/* Library structure: topics, catalogue, summaries */
.library-section { padding: 8px 0 34px; }
.section-label { font-size: 19px; font-weight: 500; letter-spacing: -.01em; margin: 44px 0 14px; }
.topic-grid { list-style: none; padding: 0; margin: 0 0 34px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.topic-grid > li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.topic-grid h2, .topic-grid h3, .topic-grid h4 { font-size: 18px; font-weight: 500; letter-spacing: -.01em; margin: 0 0 8px; }
.topic-grid p { font-size: 15px; line-height: 1.65; margin: 0 0 8px; }
.topic-grid .source-meta { font-size: 13px; margin: 0; }
.topic-grid--wide { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
.label { display: inline-block; margin-right: 8px; padding: 0 7px; border: 1px solid #d2d2d7; border-radius: 4px; font-size: 12px; line-height: 1.75; color: var(--text); white-space: nowrap; vertical-align: 1px; }
.publication-list { list-style: none; padding: 0; margin: 0 0 28px; border-top: 1px solid var(--line); }
.publication-list > li { padding: 20px 0; border-bottom: 1px solid var(--line); content-visibility: auto; contain-intrinsic-size: auto 150px; }
.publication-list h3, .publication-list h4 { font-size: 17px; line-height: 1.45; font-weight: 450; letter-spacing: 0; margin: 0 0 7px; }
.publication-list p { margin: 0 0 4px; font-size: 14px; line-height: 1.6; }
.publication-list .authors { color: var(--muted); }
.publication-list .ref-links { margin: 6px 0 0; }
.catalogue-filters { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; margin: 30px 0 18px; }
.catalogue-filters label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.catalogue-filters input, .catalogue-filters select { width: 100%; font-size: 14px; }
.catalogue-filters .checkbox-row { grid-column: span 2; flex-direction: row; align-items: center; gap: 9px; margin: 0; font-size: 14px; }
.catalogue-filters .checkbox-row input { width: auto; margin: 0; }
.catalogue-filters .filter-actions { grid-column: span 2; display: flex; justify-content: flex-end; gap: 10px; margin: 0; }
.catalogue-empty { padding: 20px 0; }
.catalogue-link { margin: 20px 0 0; }
.at-a-glance .study-details { margin: 0; }
.copy-row { margin: 0 0 14px; }
.copy-row .copy-status { margin-left: 8px; }
.topic-page { max-width: 860px; }
.topic-page > section { padding: 30px 0; border-top: 1px solid var(--line); }
.topic-page > section > h2 { font-size: 24px; }
.topic-page .page-intro { padding-bottom: 30px; }
.topic-intro p { max-width: 760px; }
.on-this-page ul { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; }
.reference-group { margin-top: 34px; scroll-margin-top: 20px; }
.reference-group h3 { font-size: 20px; font-weight: 500; margin-bottom: 14px; }
.reference-group .count { color: var(--muted); font-weight: 400; }
.link-list { list-style: none; padding: 0; margin: 0 0 20px; }
.link-list li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.link-list li:first-child { border-top: 1px solid var(--line); }
.link-list .source-meta { font-size: 14px; }
.study .link-list { padding-left: 0; }
.study .link-list li { margin-bottom: 0; padding-left: 0; }
.participation-note { margin: 44px 0 8px; padding: 28px 30px; border: 1px solid var(--line); border-radius: 14px; background: #fbfbfd; max-width: 860px; }
.participation-note h2 { font-size: 21px; font-weight: 500; letter-spacing: -.015em; margin: 0 0 10px; }
.participation-note p { margin-bottom: 12px; max-width: 700px; }
.participation-note .actions { margin: 16px 0 0; font-size: 15px; }
.query { padding: 14px 16px; background: #f5f5f7; border-radius: 8px; }
.policy code, .query code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }
.policy li code { background: #f5f5f7; padding: 1px 5px; border-radius: 4px; }

@media (max-width: 800px) {
  .catalogue-filters { grid-template-columns: 1fr 1fr; }
  .catalogue-filters .search-field { grid-column: 1 / -1; }
  .catalogue-filters .checkbox-row, .catalogue-filters .filter-actions { grid-column: span 1; }
  .topic-grid--wide { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .catalogue-filters { grid-template-columns: 1fr 1fr; gap: 12px 10px; }
  .catalogue-filters .search-field, .catalogue-filters .checkbox-row, .catalogue-filters .filter-actions { grid-column: 1 / -1; }
  .catalogue-filters select { font-size: 13px; }
  .catalogue-filters .filter-actions { justify-content: flex-start; }
  .participation-note { padding: 22px 20px; }
  .publication-list h3, .publication-list h4 { font-size: 16px; }
  .reference-group h3 { font-size: 18px; }
}

.policy ul + p { margin-top: 18px; }

/* Topic evidence overviews */
.evidence-tier { margin-top: 34px; }
.evidence-tier > h3 { margin-bottom: 4px; }
.evidence-statements { list-style: none; padding: 0; margin: 18px 0 0; }
.evidence-statements > li { padding: 18px 0; border-top: 1px solid var(--line); }
.evidence-statements p { margin: 0; max-width: 760px; }
.evidence-statements .source-meta { margin-top: 6px; }
.evidence-kind { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px !important; }
.evidence-kind--helped { color: #187342; }
.evidence-kind--no-benefit, .evidence-kind--harm { color: #b42318; }

/* Story-sharing prototype */
textarea { font: inherit; border: 1px solid #d2d2d7; border-radius: 8px; background: #fff; color: var(--ink); padding: 12px 14px; width: 100%; resize: vertical; line-height: 1.6; }
textarea:focus-visible { outline-offset: 1px; }
.story-principles { max-width: 820px; margin-bottom: 10px; }
.story-principles h2, .open-story h2, .story-history h2 { font-size: 21px; }
.demo-form .field-label input, .demo-form .field-label select, .demo-form .field-label textarea { width: 100%; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field-grid .field-label { margin: 14px 0; max-width: none; }
.field-grid .wide { grid-column: 1 / -1; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.check-grid .checkbox-row { margin: 8px 0; }
.inline-fields { display: flex; gap: 8px; }
.inline-fields input { flex: 1 1 40%; }
.inline-fields select { flex: 1 1 60%; }
.treatment-list { display: grid; gap: 16px; margin: 18px 0; }
.treatment-card { border: 1px solid var(--line); border-radius: 14px; padding: 6px 20px 10px; background: #fff; }
.treatment-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.treatment-card-head h3 { font-size: 17px; margin: 14px 0 0; }
.link-button { border: 0; background: none; padding: 6px 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 14px; }
.link-button:hover { color: var(--ink); }
.add-button { width: 100%; border-style: dashed; }
.field-error { color: #9b1c1c; font-size: 14px; }
.identifier-check { border-left: 3px solid #9b1c1c; padding: 4px 0 4px 16px; margin: 18px 0; font-size: 14px; }
.identifier-check .plain-list { margin-bottom: 0; }
.updates-optin { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 6px; }
.updates-optin h3 { font-size: 17px; }
.story-card { max-width: 820px; border: 1px solid var(--line); border-radius: 14px; padding: 6px 26px 4px; margin: 26px 0; background: #fff; }
.story-card h2 { font-size: 21px; margin-bottom: 4px; }
.story-card h3 { font-size: 16px; margin-top: 22px; }
.treatment-summary { list-style: none; padding: 0; margin: 0 0 10px; }
.treatment-summary li { border-top: 1px solid var(--line); padding: 10px 0; }
.treatment-summary li p { margin: 4px 0; font-size: 15px; }
.treatment-summary .source-meta { font-size: 14px; }
.open-story, .story-history { max-width: 820px; }
.example-key { margin: 14px 0; }
.stepper li.step-done { opacity: .45; }
@media (max-width: 700px) {
  .field-grid, .check-grid { grid-template-columns: 1fr; }
  .treatment-card { padding: 4px 14px 8px; }
  .story-card { padding: 4px 18px 2px; }
}

/* Story review (private) and live story form */
.turnstile-box{min-height:65px;margin:1rem 0}
.review-item{margin-bottom:2rem}
.review-item .treatment-card{margin:.75rem 0}
.review-item h4{margin:1.25rem 0 .5rem}
.review-guide{margin:1.5rem 0}
.story-list { margin: 2rem 0; padding: 0; list-style: none; }
.story-list-item p { margin-bottom: 10px; }
.story-list-item { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.story-list-item h2 { font-size: 23px; margin-bottom: 4px; }
.pagination { display: flex; gap: 24px; align-items: center; margin: 1rem 0 2rem; font-size: 15px; }
.story-page h1 { font-size: clamp(30px, 3.4vw, 42px); }
.review-item .update-note { font-weight: 500; color: var(--ink); }
.symptom-group { margin: 1.25rem 0 .25rem; font-weight: 500; color: var(--ink); }
.saved-key-panel { max-width: 720px; padding-top: 32px; }
.saved-key-panel .key-details { font-size: 16px; }
.saved-key-panel .key-details dd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 22px; letter-spacing: .04em; color: var(--ink); }
.button[aria-disabled="true"] { opacity: .45; }
.saved-key-panel .copy-one { margin-left: 14px; padding: 4px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; font-size: 14px; letter-spacing: 0; vertical-align: middle; }
.saved-key-panel .copy-one:hover { border-color: var(--muted); }

/* Founder section */
.founder-photo { float: right; width: 220px; height: 220px; margin: 6px 0 20px 36px; border-radius: 12px; object-fit: cover; }
.founder::after { content: ""; display: block; clear: both; }
@media (max-width: 600px) { .founder-photo { float: none; display: block; width: 160px; height: 160px; margin: 0 0 20px; } }
