/* Light in medicine: scoped styles for standalone and embedded article views. */
.lm-article {--paper:#fcfbf9;--ink:#263b3a;--muted:#5c716c;--line:#d9e3dd;--teal:#5BB4A7;--blue:#729FC5;--ochre:#D6A863;--rose:#C67A8D;--lm-card:#fff;--lm-copy:#465e57;--lm-figure:#f7f9f6;--lm-figure-line:#e5ebe5;--lm-caption:#536c64;--lm-link:#3f6579;--lm-target:#edf3f8;--lm-target-line:#b1cadf}
.lm-article * {box-sizing:border-box}
.lm-article a {color:var(--lm-link);text-underline-offset:3px}
.lm-article a:focus-visible, .lm-article summary:focus-visible {outline:2px solid #527da0;outline-offset:4px}
.lm-article .lm-title, .lm-article .lm-section-title, .lm-article .lm-card-title, .lm-article p, .lm-article figure {margin:0}
.lm-article .lm-title {font-size:38px;line-height:1.15;letter-spacing:-.03em}
.lm-article .lm-deck {margin-top:9px;color:var(--muted);font-size:16px}
.lm-article .lm-byline {margin-top:8px;color:var(--muted);font-size:11px}
.lm-article .lm-group {--accent:var(--teal);margin-top:34px;scroll-margin-top:18px}
.lm-article .lm-group .lm-section-title {font-size:23px;font-weight:750;line-height:1.3;border-left:4px solid var(--accent);padding-left:12px;margin-bottom:16px;letter-spacing:-.01em}
.lm-article .lm-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.lm-article .lm-card {min-width:0;display:flex;flex-direction:column;padding:24px;border:1px solid var(--line);border-radius:9px;background:var(--lm-card)}
.lm-article .lm-card .lm-card-title {font-size:21px;font-weight:750;line-height:1.25;letter-spacing:-.012em}
.lm-article .lm-card .lm-light {margin-top:6px;font-size:12px;color:var(--muted)}
.lm-article .lm-card figure {margin:16px 0 18px;padding:0;border:1px solid var(--lm-figure-line);border-radius:8px;background:var(--lm-figure);overflow:hidden}
.lm-article .lm-diagram {display:block;width:100%;height:auto;object-fit:contain;background:var(--lm-figure)}
.lm-article .lm-card figcaption {max-width:none;margin:0;padding:9px 13px 11px;font-size:11.5px;line-height:1.4;color:var(--lm-caption);text-align:center}
.lm-article .lm-copy {font-size:14px;line-height:1.65;color:var(--lm-copy)}
.lm-article .lm-copy p+p {margin-top:11px}
.lm-article .lm-card--feature {border-top:3px solid var(--teal)}
.lm-article .lm-card--feature .lm-card-title {font-size:25px}
.lm-article .lm-card--feature .lm-copy {font-size:15px}
.lm-article .lm-card--feature figure {background:var(--lm-figure)}
.lm-article #lm-pdt {border-top-color:var(--rose)}
.lm-article #lm-pdt figure {background:var(--lm-figure)}
.lm-article .diagnostics {--accent:var(--blue)}
.lm-article .diagnostics .lm-cards {grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.lm-article .diagnostics .lm-card {padding:20px}
.lm-article .diagnostics .lm-card-title {font-size:18px}
.lm-article .diagnostics .lm-light {font-size:11px}
.lm-article .diagnostics figure {margin:13px 0 12px;background:var(--lm-figure)}
.lm-article .diagnostics .lm-copy {font-size:13px;line-height:1.6}
.lm-article .other-research {--accent:var(--ochre)}
.lm-article .other-research figure {background:var(--lm-figure)}
.lm-article sup {font-size:10px;line-height:0;vertical-align:super;white-space:nowrap}
.lm-article sup a {text-decoration:none;padding:2px}
.lm-article .lm-sources {border:1px solid var(--line);border-radius:9px;background:var(--lm-card);margin-top:32px;padding:0;color:var(--muted)}
.lm-article .lm-sources[open] {border-color:var(--line);box-shadow:none}
.lm-article .lm-sources summary {cursor:pointer;color:var(--ink);font-size:13px;font-weight:700;line-height:1.5;min-height:48px;padding:14px 24px}
.lm-article .lm-sources ol {padding:0 24px 20px 46px;margin:0;columns:2;column-gap:32px}
.lm-article .lm-sources li {break-inside:avoid;margin-bottom:11px;padding-left:3px;font-size:11px;line-height:1.55;overflow-wrap:anywhere;scroll-margin-top:25px}
.lm-article .lm-sources li:target {background:var(--lm-target);outline:1px solid var(--lm-target-line)}
.lm-article .lm-sources a {text-decoration:none}
.lm-article .lm-sources a:hover {text-decoration:underline}
@media(max-width:950px) {
.lm-article .lm-card {padding:20px}
.lm-article .diagnostics .lm-cards {grid-template-columns:repeat(2,minmax(0,1fr))}
.lm-article .lm-card--feature .lm-card-title {font-size:23px}
.lm-article .lm-card .lm-card-title {font-size:20px}
}
@media(max-width:680px) {
.lm-article .lm-title {font-size:32px}
.lm-article .lm-deck {font-size:14px}
.lm-article .lm-group {margin-top:28px}
.lm-article .lm-group .lm-section-title {font-size:22px}
.lm-article .lm-cards, .lm-article .diagnostics .lm-cards {grid-template-columns:1fr;gap:15px}
.lm-article .lm-card, .lm-article .diagnostics .lm-card {padding:20px}
.lm-article .lm-card .lm-card-title {font-size:21px}
.lm-article .lm-card--feature .lm-card-title {font-size:24px}
.lm-article .lm-copy, .lm-article .lm-card--feature .lm-copy {font-size:14px}
.lm-article .lm-card figure {margin:15px 0}
.lm-article .diagnostics .lm-card-title {font-size:20px}
.lm-article .diagnostics .lm-copy {font-size:13.5px}
.lm-article .lm-sources summary {padding-right:20px;padding-left:20px}
.lm-article .lm-sources ol {columns:1;padding-right:20px;padding-left:42px}
.lm-article .lm-sources li {font-size:11.5px}
}
@media print {
.lm-article .lm-title {font-size:27px}
.lm-article .lm-deck {font-size:12px}
.lm-article .lm-group {margin-top:20px}
.lm-article .lm-group .lm-section-title {font-size:17px;break-after:avoid}
.lm-article .lm-cards {gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
.lm-article .lm-card, .lm-article .diagnostics .lm-card {break-inside:avoid;padding:12px}
.lm-article .lm-card .lm-card-title, .lm-article .lm-card--feature .lm-card-title {font-size:15px}
.lm-article .lm-card .lm-light {font-size:8px}
.lm-article .lm-card figure {margin:8px 0}
.lm-article .lm-diagram, .lm-article .lm-card--feature .lm-diagram, .lm-article .other-research .lm-diagram {height:100px}
.lm-article .lm-card figcaption {font-size:8px;padding:5px 8px 6px}
.lm-article .lm-copy, .lm-article .lm-card--feature .lm-copy {font-size:10px;line-height:1.5}
.lm-article .lm-copy p+p {margin-top:6px}
.lm-article .diagnostics .lm-cards {grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.lm-article .diagnostics .lm-card-title {font-size:12px}
.lm-article .diagnostics .lm-copy {font-size:8.5px}
.lm-article .diagnostics .lm-diagram {height:70px}
.lm-article .lm-sources {margin-top:18px}
.lm-article .lm-sources summary {min-height:0;padding:10px 12px}
.lm-article .lm-sources summary::after {display:none}
.lm-article .lm-sources ol {columns:2;padding:0 12px 10px 32px}
.lm-article .lm-sources li {font-size:8px}
.lm-article * {-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

.lm-article { width:min(1220px,calc(100% - 48px)); }
.lm-article .lm-card .lm-copy p { color:var(--lm-copy); font-size:inherit; line-height:inherit; }
.lm-article .lm-title { max-width:none; margin:0; font-size:38px; line-height:1.15; letter-spacing:-.03em; }
@media(max-width:680px) { .lm-article { width:calc(100% - 30px); } .lm-article .lm-title { font-size:32px; } }
@media print { .lm-article { width:100%; margin:0; } .visual-articles-page .page-hero { display:none; } .lm-article .lm-title { font-size:27px; } }

/* Article appearance: light stays the default, with an explicit reader switch. */
.lm-article .lm-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:60px; margin-bottom:12px; }
.lm-article .lm-toolbar .va-kicker { margin:0; }
.lm-article .va-title .lm-title,.lm-article .lm-section-title,.lm-article .lm-card-title { color:var(--ink); }
.lm-article .va-dates,.lm-article .breadcrumbs { color:var(--muted); }
.lm-article sup a,.lm-article .lm-sources summary::after { color:var(--lm-link); }
.lm-artwork { display:block; }
.lm-theme-toggle { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; gap:12px; min-height:60px; padding:10px 16px; border:3px solid #5b9e8e; border-radius:999px; background:#e7f2ee; color:#244b43; box-shadow:0 3px 12px #1a4f3b14; font-family:inherit; font-size:18px; font-weight:700; line-height:1.3; cursor:pointer; }
.lm-theme-toggle[hidden] { display:none; }
.lm-theme-toggle:focus-visible { outline:3px solid var(--teal); outline-offset:4px; }
.lm-theme-toggle:hover { border-color:#3d8f80; background:#d9ece6; }
.lm-theme-track { position:relative; display:flex; align-items:center; justify-content:space-around; width:64px; height:34px; border-radius:24px; background:#cbded6; color:#466b61; }
.lm-theme-track svg { position:relative; width:22px; height:22px; }
.lm-theme-thumb { position:absolute; top:2px; left:2px; width:30px; height:30px; border-radius:50%; background:#fff; box-shadow:0 1px 4px #142e3026; transition:transform .2s ease; }
.lm-theme-toggle[aria-pressed="true"] .lm-theme-track { background:#34556b; color:#f2dfa7; }
.lm-theme-toggle[aria-pressed="true"] .lm-theme-thumb { transform:translateX(30px); background:#203342; }
.lm-article[data-lm-theme="dark"] .lm-theme-toggle { border-color:#76bfb4; background:#203b4a; color:#eef6fb; box-shadow:0 3px 12px #0003; }
.lm-article[data-lm-theme="dark"] .lm-theme-toggle:hover { border-color:#a3d8cc; background:#2c4c5d; }
@media(max-width:680px) {
 .lm-article .lm-toolbar { flex-direction:column; align-items:stretch; gap:12px; }
 .lm-article .lm-toolbar .lm-theme-toggle { width:100%; }
}
.lm-article[data-lm-theme="dark"] { --ink:#e6eff6;--muted:#b0c1ce;--line:#344656;--lm-card:#172330;--lm-copy:#c0d0dc;--lm-figure:#101a26;--lm-figure-line:#314351;--lm-caption:#afc3d1;--lm-link:#9dcee4;--lm-target:#263e50;--lm-target-line:#7caac2; }
.lm-article[data-lm-theme="dark"] .va-kicker { color:#d6a282; }
main.lm-dark-reading { display:flow-root; background:#0c1520; color-scheme:dark; }
.lm-dark-reading .page-hero { background:linear-gradient(125deg,#101d2a,#182b38); border-color:#344656; }
.lm-dark-reading .page-hero h1 { color:#e6eff6; }
.lm-dark-reading .page-hero .breadcrumbs,.lm-dark-reading .page-hero .breadcrumbs a { color:#b3c6d4; }
.lm-dark-reading .page-hero .eyebrow { color:#d6a282; }
.lm-dark-reading .visual-article-filters .button { color:#d6e4ed; background:#192b39; border-color:#4a6172; }
.lm-dark-reading .visual-article-filters .button[aria-pressed="true"] { color:#14312f; background:#cce2dd; border-color:#cce2dd; }
.lm-dark-page .site-footer { background:#0c1520; border-color:#344656; }
.lm-dark-page .site-footer p,.lm-dark-page .footer-nav a { color:#afc2d0; }
.lm-dark-page .view-edge-button { background:#172330; border-color:#405365; color:#c4d5e0; }
.lm-dark-page { background:#0c1520; }
.lm-dark-page .site-header { background:#101a26; border-color:#344656; }
.lm-dark-page .site-header .site-nav { background:#101a26; border-color:#344656; box-shadow:none; }
.lm-dark-page .brand-text { color:#e6eff6; }
.lm-dark-page .brand-text > span { color:#d794a3; }
.lm-dark-page .site-header .site-nav a { color:#bacbd7; }
.lm-dark-page .site-header .site-nav a:hover,.lm-dark-page .site-header .site-nav a:focus-visible,.lm-dark-page .site-header .site-nav a[aria-current="page"] { color:#edf4f8; background:#243848; }
.lm-dark-page .site-header .nav-toggle { color:#e6eff6; background:#23394c; border-color:#4c6578; }
.lm-dark-page .site-nav.is-open { background:#101a26; border-color:#344656; }
@media (prefers-reduced-motion:reduce) { .lm-theme-thumb { transition:none; } }
@media print {
 .lm-dark-page { background:white; }
 .lm-toolbar .lm-theme-toggle { display:none; }
 .lm-article .lm-toolbar { min-height:0; margin-bottom:6px; }
 main.lm-dark-reading { background:white; color-scheme:light; }
 .lm-article[data-lm-theme="dark"] { --ink:#263b3a;--muted:#5c716c;--line:#d9e3dd;--lm-card:#fff;--lm-copy:#465e57;--lm-figure:#f7f9f6;--lm-figure-line:#e5ebe5;--lm-caption:#536c64;--lm-link:#3f6579;--lm-target:#edf3f8;--lm-target-line:#b1cadf; }
 .lm-article[data-lm-theme="dark"] .va-kicker { color:#637471; }
}
