
:root {
  --serif: Georgia, "Iowan Old Style", "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bg:#ffffff; --fg:#1f2937; --muted:#6b7280; --rule:#e5e7eb; --surface:#f8fafc;
  --link:#1d4ed8; --xref:#0f766e; --cite:#64748b; --danger:#b91c1c;
  --figure-plate:#ffffff; --figure-border:#e5e7eb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg:#111827; --fg:#d1d5db; --muted:#9ca3af; --rule:#374151; --surface:#1b2432;
    --link:#93c5fd; --xref:#5eead4; --cite:#94a3b8; --danger:#fca5a5;
    --figure-border:#4b5563;
  }
}
html { color-scheme: light dark; }
body { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.7; margin: 0;
       background: var(--bg); color: var(--fg); overflow-wrap: break-word; }
main { max-width: 70ch; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
h1, h2, h3 { font-family: var(--sans); line-height: 1.25; text-wrap: balance; }
h1 { font-size: 1.55rem; letter-spacing: -0.01em; margin: 0 0 0.4rem; }
h2 { font-size: 1.22rem; margin: 2.4rem 0 0.7rem; }
h3 { font-size: 1.02rem; margin: 1.8rem 0 0.5rem; }
p { margin: 0 0 1rem; text-wrap: pretty; }
ol, ul { padding-left: 1.4rem; }
li { margin: 0.25rem 0; }
a { color: var(--link); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 2px; }
.review-header { margin-bottom: 1.2rem; }
.review-meta { color: var(--muted); font-family: var(--sans); font-size: 0.86rem; }
.review-body { margin-top: 1.2rem; }
sup.cite { line-height: 0; font-family: var(--sans); font-size: 0.7em; }
.cite a { color: var(--cite); text-decoration: none; padding: 0 0.06em; }
.cite a:hover { color: var(--link); text-decoration: underline; }
.cite-unmapped { color: var(--danger); font-weight: 600; }
.xref { color: var(--xref); text-decoration: underline; text-decoration-style: dotted;
        text-decoration-thickness: 1px; text-underline-offset: 2px; }
.xref:hover { text-decoration-style: solid; }
figure.review-figure { margin: 1.8rem 0; padding: 1rem 1rem 0.75rem;
  border: 1px solid var(--figure-border); border-radius: 8px;
  background: var(--figure-plate); overflow-x: auto; }
figure.review-figure svg { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.review-figure figcaption { margin-top: 0.7rem; padding-top: 0.6rem; border-top: 1px solid #e5e7eb;
  font-family: var(--sans); font-size: 0.88rem; line-height: 1.5; color: #4b5563; }
.key-papers { margin-top: 2.4rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.key-papers li { margin: 0.35rem 0; }
.metric { color: var(--muted); font-size: 0.9rem; }
.dig-deeper { margin: 2.2rem 0; padding: 0.9rem 1.25rem 1rem; background: var(--surface);
  border: 1px solid var(--rule); border-left: 3px solid var(--xref); border-radius: 0 8px 8px 0; }
.dig-deeper h2 { margin-top: 0.2rem; font-size: 1.05rem; color: var(--xref); }
.site-nav { font-family: var(--sans); font-size: 0.85rem; padding-bottom: 0.7rem;
  margin-bottom: 1.4rem; border-bottom: 1px solid var(--rule); color: var(--muted); overflow-wrap: anywhere; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--link); text-decoration: underline; }
.site-nav .wordmark { font-weight: 700; letter-spacing: 0.02em; color: var(--fg); }
.site-nav .sep { margin: 0 0.45em; color: var(--rule); }
.site-nav [aria-current] { color: var(--fg); }
.site-foot { margin-top: 3rem; padding-top: 0.8rem; border-top: 1px solid var(--rule);
  font-family: var(--sans); font-size: 0.82rem; color: var(--muted); }
.site-foot a { color: var(--muted); }
.med-notice { font-family: var(--sans); font-size: 0.9rem; line-height: 1.55;
  background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--danger);
  border-radius: 0 6px 6px 0; padding: 0.7rem 0.95rem; margin: 1.2rem 0; color: var(--fg); }
.med-notice strong { color: var(--danger); }
.med-notice-foot { margin-top: 2.4rem; }
/* /health catalog */
.cat-hero h1 { margin-bottom: 0.3rem; }
.cat-lede { font-family: var(--sans); color: var(--muted); font-size: 0.98rem; margin: 0 0 1rem; }
.cat-jump { font-family: var(--sans); font-size: 0.9rem; line-height: 1.9; margin: 1.2rem 0 1.6rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
.cat-jump a { display: inline-block; margin: 0 0.55em 0.2em 0; color: var(--xref); text-decoration: none;
  white-space: nowrap; }
.cat-jump a:hover { text-decoration: underline; }
.cat-group { margin: 2rem 0 0.5rem; font-size: 1.12rem; color: var(--fg);
  scroll-margin-top: 1rem; }
.cat-count { color: var(--muted); font-weight: 400; font-size: 0.85rem; }
.cat-card { padding: 0.75rem 0; border-top: 1px solid var(--rule); }
.cat-card a.cat-title { font-family: var(--sans); font-weight: 600; color: var(--link);
  text-decoration: none; font-size: 1.02rem; }
.cat-card a.cat-title:hover { text-decoration: underline; }
.cat-card p { margin: 0.25rem 0 0; font-size: 0.96rem; color: var(--fg); }
.cat-card .cat-refs { color: var(--muted); font-size: 0.82rem; font-family: var(--sans); }
