/* RFAD | Nemchik pack — accessible field-guide visual system.
   Loaded after the original stylesheet; behaviour remains in app.js. */
:root {
  color-scheme: dark;
  /* Ash & copper: neutral reading surfaces, copper interaction, restrained gold. */
  --bg:#333738;--panel:#414748;--panel-light:#484e4e;--sidebar-bg:#2b3031;--topbar-bg:#333738f2;
  --ink:#f1efec;--reading-ink:#dedfdd;--lead-ink:#d2d6d3;--muted:#bec5c4;--dim:#bec5c4;--nav-ink:#d2d6d3;
  --hair:#69737370;--hair-strong:#697373;--control-border:#929d9c;
  --accent:#e5b395;--accent-contrast:#302820;--accent-hover:#f4cfb8;--focus:#f4cfb8;
  --gold:#dfc38c;--gold-contrast:#302820;--review-ink:#dfc38c;
  --hover-bg:#4a4541;--active-bg:#57483f;--active-border:#e5b39580;
  --switch-bg:#555f60;--switch-thumb:#d2d6d3;--switch-active-bg:#e5b39538;
  --field-bg:#414748;--field-border:#929d9c;--field-shadow:0 8px 24px #15191a18;--placeholder:#bec5c4;
  --stats-bg:#393f40;--category-start:#414748;--category-end:#393f40;--category-line:#e5b39524;
  --notice-bg:#443e32;--notice-border:#dfc38c66;--notice-ink:#e5d6b9;--source-bg:#3b4041;--source-rule:#b99b86;
  --bookmark-bg:#dfc38c14;--bookmark-border:#dfc38c80;--bookmark-fill:#dfc38c38;
  --mark-bg:#674b39;--mark-ink:#ffeadb;--mark-border:#e5b39599;
  --table-head-bg:#4a5050;--table-head-ink:#f1efec;--table-stripe:#f1efec06;
  --scroll-thumb:#929d9c;--scroll-track:#333738;--selection-bg:#825c43;--selection-ink:#fff5ef;
  --toast-bg:#e5c7b3;--toast-ink:#302820;--toast-shadow:0 10px 32px #15191a40;
  --popover-shadow:0 14px 42px #15191a4d,0 2px 8px #15191a20;--dialog-shadow:0 22px 70px #15191a66;--backdrop:#171b1bbd;
  --hero-rgb:65,71,72;--atlas-glow:#e5b39524;
  --sidebar:288px;--radius:14px;--surface-shadow:0 10px 26px #15191a18;
  --article-size:19px;--article-leading:1.85;
}
html[data-theme="light"] {
  color-scheme:light;
  --bg:#edecea;--panel:#fbfaf7;--panel-light:#e5e6e2;--sidebar-bg:#e2e2df;--topbar-bg:#edeceaf2;
  --ink:#343839;--reading-ink:#4c5353;--lead-ink:#4c5353;--muted:#586363;--dim:#586363;--nav-ink:#4c5353;
  --hair:#34383920;--hair-strong:#b5bfbe;--control-border:#707c7b;
  --accent:#884d2d;--accent-contrast:#ffffff;--accent-hover:#6c3b22;--focus:#884d2d;
  --gold:#755c26;--gold-contrast:#ffffff;--review-ink:#755c26;
  --hover-bg:#eee5dc;--active-bg:#eee0d5;--active-border:#884d2d80;
  --switch-bg:#d0d4d1;--switch-thumb:#606c6b;--switch-active-bg:#884d2d26;
  --field-bg:#fbfaf7;--field-border:#707c7b;--field-shadow:0 8px 24px #3438390a;--placeholder:#586363;
  --stats-bg:#e5e6e2;--category-start:#fbfaf7;--category-end:#e5e6e2;--category-line:#884d2d20;
  --notice-bg:#eee6d6;--notice-border:#755c2666;--notice-ink:#66512c;--source-bg:#e5e6e2;--source-rule:#9c7660;
  --bookmark-bg:#755c2610;--bookmark-border:#755c2680;--bookmark-fill:#755c2626;
  --mark-bg:#edd7c6;--mark-ink:#633a24;--mark-border:#884d2d80;
  --table-head-bg:#e5e6e2;--table-head-ink:#343839;--table-stripe:#34383906;
  --scroll-thumb:#7a8584;--scroll-track:#e2e2df;--selection-bg:#dec3ae;--selection-ink:#3e2c22;
  --toast-bg:#6c4631;--toast-ink:#fff8f2;--toast-shadow:0 10px 32px #34383926;
  --popover-shadow:0 14px 42px #3438391a,0 2px 8px #3438390d;--dialog-shadow:0 22px 70px #34383933;--backdrop:#34383966;
  --hero-rgb:251,250,247;--atlas-glow:#884d2d0e;
  --surface-shadow:0 10px 26px #3438390d;
}
html {font-size:18px;scroll-padding-top:112px;text-size-adjust:100%;-webkit-text-size-adjust:100%}
html[data-text-size="large"] {--article-size:22px;--article-leading:1.9}
body {font-size:18px;line-height:1.7;letter-spacing:0;background:var(--bg);color:var(--ink)}
button,input,select,textarea {font-family:var(--sans)}
button,a,input,select,summary {outline-offset:4px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {outline:3px solid var(--focus)}
button:disabled {opacity:.6}
::selection {background:var(--selection-bg);color:var(--selection-ink)}
h1,h2,h3 {text-wrap:balance}
p,li {text-wrap:pretty}
a,button {transition:color .15s,background-color .15s,border-color .15s,box-shadow .15s}
svg {width:22px;height:22px;stroke-width:1.6}
.skip {font-size:16px;border-radius:8px;background:var(--accent);color:var(--accent-contrast)}
.page-shell {margin-left:var(--sidebar)}
.content-wrap {max-width:1540px;padding:38px 48px 76px;margin-inline:auto}
main {min-height:calc(100dvh - 270px)}

/* Navigation: a visible table of contents, not fine print. */
.sidebar {width:var(--sidebar);background:var(--sidebar-bg);border-right-color:var(--hair-strong)}
.sidebar-top {height:112px;padding-inline:28px}
.brand {gap:16px;min-height:52px}
.brand img {width:32px;height:46px;opacity:1}
.brand-mark {display:flex;align-items:center;justify-content:center;width:34px;height:46px;flex-shrink:0;color:var(--accent)}
.brand-mark svg {width:34px;height:34px}
.brand strong {font-size:32px;letter-spacing:.075em}
.brand small {margin-top:8px;font-size:13px;letter-spacing:.045em}
.sidebar-scroll {padding:27px 18px 24px;scrollbar-gutter:stable}
.nav-label {font-size:12px;line-height:1.5;font-weight:650;letter-spacing:.13em;margin:0 12px 12px;color:var(--dim)}
.main-nav {margin-bottom:29px}
.main-nav a,.category-nav a,.sidebar-utility a {font-size:15px;line-height:1.45;padding:12px 11px;gap:11px;border-radius:9px;min-height:47px}
.main-nav a[aria-current],.category-nav a[aria-current],.sidebar-utility a[aria-current] {font-weight:600;box-shadow:inset 3px 0 0 var(--accent)}
.category-nav .nav-label {margin-top:29px;margin-bottom:10px}
.category-nav a {padding-block:11px;align-items:flex-start}
.nav-symbol {width:22px;font-size:22px;line-height:1.1;align-self:center;color:var(--dim)}
.nav-symbol svg {width:20px;height:20px}
.nav-count {font-size:13px;line-height:1.5;align-self:center;opacity:1}
.nav-end {font-size:19px}
.sidebar-utility {padding-top:17px;margin-top:26px}
.sidebar-utility a {font-size:14px;line-height:1.55;padding:12px 10px}
.sidebar-bottom {padding:20px 27px 0}
.switch-row {gap:15px;min-height:45px}
.switch-title {font-size:14px;line-height:1.45}
.switch-row small {font-size:12px;line-height:1.5;margin-top:4px}
.switch-row input {width:42px;height:38px}
.switch {width:38px;height:23px;border-radius:24px}
.switch:before {width:15px;height:15px;left:3px;top:3px}
.switch-row input:checked+.switch:before {transform:translateX(15px)}
.back-to-site {font-size:14px;min-height:56px;margin-top:18px;padding:16px 0}
.back-to-site span {font-size:21px}
.nav-loading {font-size:14px;line-height:1.6}

/* A compact masthead keeps the community, theme and search within reach. */
.topbar {height:88px;padding-inline:48px;gap:22px;background:var(--topbar-bg);border-bottom-color:var(--hair-strong);backdrop-filter:blur(18px)}
.topbar-title {font-size:16px;line-height:1.35;letter-spacing:0;color:var(--ink);flex:1}
.topbar-title span {font-size:12px;line-height:1.4;letter-spacing:.1em;margin-top:6px;color:var(--muted)}
.topbar-actions {gap:12px;min-width:0}
.social-links {display:flex;align-items:center;gap:7px;flex-wrap:nowrap}
.social-link,.community-link {font-size:14px;line-height:1.4;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;padding:9px 10px;border-radius:9px;white-space:nowrap}
.social-link:hover,.community-link:hover {background:var(--hover-bg);color:var(--accent)}
.social-link svg {width:21px;height:21px}
.social-link .social-label {display:inline}
.community-link span {font-size:16px;margin-left:0}
.theme-toggle,.quick-search {height:46px;min-height:46px;border-radius:9px;font-size:14px;padding:0 13px;gap:9px;background:var(--panel);border-color:var(--hair-strong)}
.theme-label {min-width:0}
.theme-icon svg,.quick-search svg {width:21px;height:21px}
kbd {font-size:12px;min-width:22px;line-height:24px;border-radius:5px}
.quick-search kbd {margin-left:8px}
.menu-button,.drawer-close {display:none}

/* Opening spread. The artwork is secondary to an instantly usable search. */
.freshness {font-size:13px;line-height:1.65;margin-bottom:27px;gap:18px;align-items:flex-start}
.freshness-left {gap:9px 13px}
.freshness .freshness-warning {display:inline;color:var(--review-ink)}
.freshness-separator {display:inline}
.freshness a {font-size:13px;line-height:1.65;flex-shrink:0}
.status-dot {width:7px;height:7px;flex-shrink:0}
.home-intro {display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);background:var(--panel);border:1px solid var(--hair-strong);border-radius:18px;overflow:hidden;box-shadow:var(--surface-shadow);isolation:isolate;min-height:385px}
.home-intro-copy {padding:48px 44px;display:flex;flex-direction:column;justify-content:center;min-width:0}
.home-intro h1 {font-size:clamp(42px,3.3vw,64px);line-height:1.08;letter-spacing:-.035em;max-width:15ch;margin:20px 0}
.home-intro h1 em {font-style:normal;color:var(--accent)}
.home-intro-copy>p,.home-intro .hero-intro {font-size:18px;line-height:1.75;color:var(--lead-ink);max-width:44ch}
.home-hero-art {position:relative;min-height:385px;overflow:hidden;margin:0;background:#1a2530 url("assets/rfad-hero.webp") 55% center/cover;isolation:isolate}
.home-hero-art:after {content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0c1920b8,transparent 55%);pointer-events:none;z-index:1}
.home-hero-art img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.home-hero-art figcaption,.home-hero-art .art-caption {position:absolute;left:25px;right:25px;bottom:22px;z-index:2;font-size:12px;line-height:1.6;letter-spacing:.07em;color:#e5eff2;text-shadow:0 1px 10px #000}
.eyebrow,.section-kicker {font-size:12px;line-height:1.5;font-weight:650;letter-spacing:.14em}
.eyebrow {gap:12px}
.eyebrow:before {width:28px}
.home-search {margin:27px 0 32px}
.search-box {min-height:66px;padding:0 19px;gap:15px;border-radius:11px;border-color:var(--field-border);background:var(--field-bg);box-shadow:var(--field-shadow)}
.search-box input {font-size:18px;height:64px;line-height:1.5;color:var(--ink)}
.search-box svg {width:23px;height:23px;flex-shrink:0}
.search-box button {min-width:44px;font-size:26px;padding-inline:7px}
.search-box kbd {font-size:13px}
.search-hints {font-size:14px;line-height:1.55;gap:8px 10px;margin-top:13px;color:var(--muted)}
.search-hints button {font-size:14px;line-height:1.4;min-height:34px;padding:6px 11px;border:1px solid var(--hair-strong);border-radius:7px;color:var(--accent);background:var(--panel)}
.search-hints button:hover {background:var(--hover-bg);border-color:var(--active-border)}
.home-stats {margin:24px 0 46px;border:1px solid var(--hair-strong);border-radius:12px;background:var(--stats-bg);overflow:hidden}
.home-stat {display:flex;align-items:center;gap:16px;padding:24px;min-width:0}
.home-stat strong {font-size:34px;line-height:1;flex-shrink:0;margin:0}
.home-stat span {font-size:14px;line-height:1.5}
.home-stat small {font-size:12px;line-height:1.55;margin-top:5px}
.section-heading {gap:30px;margin-bottom:23px;align-items:flex-end}
.section-heading h2 {font-size:36px;line-height:1.22;letter-spacing:-.025em}
.section-heading p {display:block;font-size:15px;line-height:1.65;max-width:34ch;color:var(--muted)}
.section-kicker {margin-bottom:9px;color:var(--dim)}
.text-link {font-size:15px;line-height:1.5;gap:12px;min-height:36px}
.text-link span {font-size:21px}
.path-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:49px}
.path-card {display:flex;flex-direction:column;align-items:flex-start;position:relative;min-width:0;min-height:235px;border:1px solid var(--hair-strong);border-radius:13px;padding:26px;background:var(--panel);box-shadow:var(--surface-shadow);transition:border-color .18s,background-color .18s,transform .18s}
.path-card:hover {background:var(--hover-bg);border-color:var(--active-border);transform:translateY(-3px)}
.path-number {font-size:13px;font-variant-numeric:tabular-nums;letter-spacing:.08em;color:var(--gold);margin-bottom:18px;display:inline-flex;align-items:center;justify-content:center;min-width:33px;height:31px;border:1px solid var(--notice-border);border-radius:7px;background:var(--notice-bg)}
.path-card h3 {font-size:27px;line-height:1.23;margin:0 0 11px}
.path-card p {font-size:16px;line-height:1.7;color:var(--muted);margin:0;max-width:36ch}
.path-card>.text-link {margin-top:auto;padding-top:17px}
.path-card .path-arrow {position:absolute;right:24px;top:26px;color:var(--accent);font-size:23px}
.topic-group {margin:0 0 37px}
.topic-group>h3,.topic-group>h2 {font-family:var(--sans);font-size:19px;font-weight:650;line-height:1.4;margin:0 0 16px;padding-left:14px;border-left:3px solid var(--gold)}
.topic-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.topic-card {display:block;position:relative;min-width:0;padding:23px 24px;background:var(--panel);border:1px solid var(--hair);border-radius:12px;transition:background-color .18s,border-color .18s;min-height:176px}
.topic-card:hover {border-color:var(--active-border);background:var(--hover-bg)}
.topic-card h3,.topic-card h4 {font:25px/1.25 var(--serif);margin:10px 0 9px;letter-spacing:-.015em}
.topic-card p {font-size:15px;line-height:1.7;color:var(--muted);margin:0}
.topic-card small,.topic-card .topic-count {font-size:13px;line-height:1.5;color:var(--dim)}
.topic-card .topic-icon {color:var(--accent)}
.topic-card .topic-icon svg {width:24px;height:24px}
.topic-card .category-card-top {margin-bottom:13px}
.topic-card .category-card-count {font-size:13px}
.recent-list {margin:8px 0 42px;border-top:1px solid var(--hair-strong)}
.recent-list a {display:flex;align-items:center;justify-content:space-between;gap:22px;padding:19px 5px;border-bottom:1px solid var(--hair);font-size:17px;line-height:1.6}
.recent-list a:hover {color:var(--accent);background:var(--active-bg)}
.recent-list small {font-size:13px;color:var(--muted)}

/* Existing category and editorial components remain available. */
.hero {min-height:465px;padding:45px;border-radius:16px}
.hero h1 {font-size:clamp(42px,4vw,68px);max-width:650px;line-height:1.1}
.hero-intro {font-size:18px;max-width:46ch;line-height:1.8}
.hero-search {max-width:690px;margin-top:31px}
.hero-index,.hero-caption {font-size:12px;line-height:1.6}
.category-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;background:transparent;border:0;margin-bottom:48px}
.category-card {border:1px solid var(--hair);border-radius:12px;background:var(--panel);padding:26px;min-height:205px}
.category-card-top {margin-bottom:20px}
.category-card-icon {width:32px;height:32px}
.category-card-icon svg {width:20px;height:20px}
.category-card-count {font-size:13px}
.category-card h3 {font-size:26px;line-height:1.25;margin-bottom:11px}
.category-card p {font-size:16px;line-height:1.7;min-height:0;padding-right:0}
.category-card-arrow {font-size:22px;right:20px;bottom:17px}
.start-grid {gap:30px;margin-bottom:46px}
.start-item {grid-template-columns:30px minmax(0,1fr) 24px;gap:16px;padding:21px 0}
.start-item-num {font-size:13px}
.start-item h3 {font-size:23px;line-height:1.3}
.start-item p {font-size:14px;line-height:1.5;margin-top:7px}
.start-item-arrow {font-size:22px}
.feature-card {min-height:295px;padding:32px;border-radius:13px}
.feature-card h3 {font-size:35px;line-height:1.18;margin:14px 0}
.feature-card p {font-size:16px;line-height:1.7;max-width:36ch}
.feature-card .text-link {font-size:15px;margin-top:22px}
.source-note {padding:27px 29px;border-radius:12px;gap:19px;align-items:flex-start}
.source-note-icon {font-size:25px}
.source-note h3 {font-size:17px;font-weight:650;line-height:1.5;margin-bottom:7px}
.source-note p {font-size:15px;line-height:1.85;color:var(--notice-ink);max-width:95ch}
.source-note .text-link {font-size:15px;margin-top:12px}

/* Search and indexes. */
.breadcrumb {font-size:14px;line-height:1.65;gap:8px 12px;margin-bottom:31px;color:var(--muted)}
.breadcrumb a {padding-block:3px}
.page-heading {margin-bottom:30px}
.page-heading h1 {font-size:clamp(36px,3.25vw,56px);line-height:1.15;margin:12px 0 18px;letter-spacing:-.03em}
.page-heading p {font-size:18px;line-height:1.8;max-width:70ch}
.page-heading-row {align-items:center}
.heading-count {font-size:40px;line-height:1.1;padding:0}
.heading-count small {font-size:13px;line-height:1.4;margin-top:11px}
.category-lead {padding:37px 35px;border-radius:14px;margin-bottom:28px}
.category-lead-image {min-height:250px}
.category-lead-image .page-heading p {color:var(--muted)}
.search-tools {padding:20px 0;margin-bottom:12px;gap:17px}
.search-tools select {font-size:15px;line-height:1.5;min-height:47px;padding:11px 36px 11px 14px;border-radius:8px;max-width:100%}
.search-tools label {font-size:14px;line-height:1.5;gap:10px;min-height:44px}
.search-tools input[type=checkbox] {width:19px;height:19px;margin:0}
.result-count {font-size:14px;line-height:1.6;margin:22px 0 7px}
.result-row {padding:28px 0;gap:24px;grid-template-columns:minmax(0,1fr) 44px}
.result-meta {font-size:13px;line-height:1.6;gap:7px 10px;margin-bottom:11px}
.result-row h2 {font-size:29px;line-height:1.25;margin-bottom:12px;letter-spacing:-.02em}
.result-row p {font-size:17px;line-height:1.8;max-width:83ch;color:var(--reading-ink)}
.badge,.spoiler-label {font-size:13px;line-height:1.5}
.badge {gap:7px}
.badge:before {width:5px;height:5px}
.bookmark-button {width:44px;height:46px;border-radius:8px;color:var(--muted)}
.bookmark-button svg {width:20px;height:22px}
mark {border-radius:3px;padding:1px 3px}
.button {min-height:46px;padding:11px 17px;gap:12px;border-radius:8px;font-size:15px;line-height:1.5}
.button-primary {background:var(--accent);color:var(--accent-contrast)}
.button-primary:hover {background:var(--accent-hover)}
.load-more {margin:33px auto 8px;gap:21px;flex-wrap:wrap}
.load-more span {font-size:14px}
.empty-state {padding:65px 25px}
.empty-symbol {font-size:43px}
.empty-state h2 {font-size:36px;line-height:1.25;margin-bottom:18px}
.empty-state p {font-size:18px;line-height:1.8;max-width:55ch;margin-bottom:25px}

/* Reading view: generous measure, steady rhythm, a useful secondary rail. */
.article-layout {display:grid;grid-template-columns:minmax(0,76ch) minmax(210px,244px);justify-content:center;align-items:start;gap:clamp(32px,3vw,58px)}
.article-main {font-size:var(--article-size);max-width:76ch;min-width:0}
.article-heading h1 {font-size:clamp(37px,3vw,53px);line-height:1.15;letter-spacing:-.025em;margin:18px 0 24px}
.article-heading .article-lead {font-size:20px;line-height:1.8;max-width:72ch;margin-bottom:28px;color:var(--lead-ink)}
.article-meta {gap:10px 16px;padding-bottom:24px;margin-bottom:31px;align-items:center}
.article-meta span {font-size:13px;line-height:1.5}
.article-tools {gap:9px;flex-wrap:wrap}
.article-tools .bookmark-button,.article-tools .button {min-height:44px;height:auto;padding:9px 12px;font-size:14px;line-height:1.5;border-radius:8px}
.article-tools .bookmark-button {width:auto;gap:8px}
.article-tools .bookmark-button span {font-size:14px}
.reading-tools {display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 26px;font-size:14px;color:var(--muted)}
.reading-tools>span {margin-right:5px;font-size:14px}
.reading-tools button {display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:15px;line-height:1.4;min-width:44px;min-height:44px;padding:8px 13px;border:1px solid var(--hair-strong);border-radius:8px;background:var(--panel);color:var(--ink)}
.reading-tools button:hover {border-color:var(--active-border);background:var(--hover-bg)}
.reading-tools button[aria-pressed="true"] {border-color:var(--accent);background:var(--active-bg);color:var(--accent);box-shadow:inset 0 -2px 0 var(--accent)}
.article-content {font-size:var(--article-size);line-height:var(--article-leading);color:var(--reading-ink);max-width:76ch}
.article-content>p {font-size:inherit;line-height:inherit;margin:0 0 1.35em;max-width:none}
.article-content h2 {font-size:1.55em;line-height:1.25;letter-spacing:-.02em;color:var(--ink);margin:1.65em 0 .7em;scroll-margin-top:112px}
.article-content h3 {font-size:1.25em;line-height:1.35;color:var(--ink);margin:1.5em 0 .65em;scroll-margin-top:112px}
.article-content h4 {font:650 1.05em/1.5 var(--sans);margin:1.4em 0 .6em;color:var(--ink);scroll-margin-top:112px}
.article-content ul,.article-content ol {font-size:inherit;line-height:inherit;padding-left:1.35em;margin:0 0 1.4em;max-width:none}
.article-content li {font-size:inherit;line-height:inherit;margin-bottom:.6em;padding-left:.2em}
.article-content li::marker {color:var(--accent)}
.article-content strong {font-weight:650;color:var(--ink)}
.article-content a {color:var(--accent);border-bottom:1px solid var(--active-border);text-underline-offset:4px}
.article-content a:hover {border-bottom-color:var(--accent)}
.article-content blockquote {margin:1.6em 0;padding:8px 0 8px 24px;border-left:3px solid var(--gold);color:var(--lead-ink)}
.article-content code {font-size:.9em;background:var(--source-bg);padding:2px 5px;border-radius:4px}
.article-content pre {max-width:100%;overflow:auto;padding:20px;background:var(--source-bg);border:1px solid var(--hair-strong);border-radius:9px}
.article-content pre code {padding:0;background:none}
.article-content hr {margin:35px 0;border:0;border-top:1px solid var(--hair-strong)}
.table-hint {font-size:13px;line-height:1.6;margin:27px 0 10px;color:var(--muted)}
.table-wrap {max-width:100%;margin:12px 0 33px;border-radius:10px;border-color:var(--hair-strong);box-shadow:var(--surface-shadow);scrollbar-width:auto}
table,.article-content table {font-size:16px;line-height:1.75;min-width:460px;width:100%}
th,.article-content th {font-size:14px;line-height:1.65;font-weight:650;padding:17px 18px;min-width:120px;color:var(--table-head-ink)}
td,.article-content td {font-size:16px;line-height:1.75;padding:17px 18px;min-width:120px;max-width:480px}
html[data-text-size="large"] .article-content table,html[data-text-size="large"] .article-content td {font-size:18px}
html[data-text-size="large"] .article-content th {font-size:16px}
.article-notice {padding:22px 25px;border-left-width:3px;border-radius:0 9px 9px 0;margin:0 0 30px}
.article-notice strong {font-size:15px;line-height:1.5;letter-spacing:0;font-weight:650;margin-bottom:9px}
.article-notice p {font-size:17px;line-height:1.85;color:var(--notice-ink)}
.article-aside {position:sticky;top:116px;padding-top:3px;display:block;max-height:calc(100dvh - 135px);overflow-y:auto;scrollbar-width:thin;padding-right:5px}
.aside-block {padding:21px 0;border-top-color:var(--hair-strong)}
.aside-label {font-size:12px;line-height:1.6;letter-spacing:.11em;margin-bottom:13px;font-weight:650}
.aside-block p {font-size:15px;line-height:1.85;color:var(--muted)}
.aside-block .text-link {font-size:14px;line-height:1.6;gap:9px;margin-top:11px}
.aside-block .tags {gap:9px}
.tags button {font-size:14px;line-height:1.5;min-height:33px;padding:5px 9px;border:1px solid var(--hair-strong);border-radius:6px;background:var(--panel)}
.tags button:hover {background:var(--hover-bg);border-color:var(--active-border)}
.related-links a {font-size:15px;line-height:1.7;padding:12px 0;color:var(--reading-ink)}
.article-toc {padding:0 0 21px;margin-bottom:0;border-bottom:1px solid var(--hair-strong)}
.article-toc h2,.article-toc h3 {font:650 14px/1.5 var(--sans);letter-spacing:.02em;margin-bottom:12px;color:var(--ink)}
.toc-links {display:flex;flex-direction:column;gap:2px;border-left:1px solid var(--hair-strong)}
.toc-links a,.toc-links button {display:block;width:100%;text-align:left;font-size:14px;line-height:1.65;padding:8px 0 8px 13px;margin-left:-1px;border-left:2px solid transparent;color:var(--muted);overflow-wrap:anywhere}
.toc-links a:hover,.toc-links a[aria-current="true"],.toc-links a[aria-current="location"],.toc-links button:hover,.toc-links button[aria-current="true"],.toc-links button[aria-current="location"] {color:var(--accent);border-left-color:var(--accent);background:var(--active-bg)}
.article-source {margin-top:39px;padding:23px 25px;border-left-width:3px;border-radius:0 9px 9px 0}
.article-source p {font-size:14px;line-height:1.85}
.article-source a {font-size:14px;line-height:1.6;margin-top:12px;padding-block:4px}
.article-figure {margin:32px 0;border:1px solid var(--hair-strong);border-radius:11px;overflow:hidden;background:var(--panel)}
.article-figure img {max-width:100%;max-height:720px;width:auto;height:auto;object-fit:contain;margin-inline:auto;background:#fff}
.article-figure figcaption {font-size:14px;line-height:1.75;color:var(--muted);padding:17px 21px;border-top:1px solid var(--hair)}
.figure-open {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:12px 19px;font-size:14px;line-height:1.6;color:var(--accent);background:var(--source-bg);width:100%;border:0;border-bottom:1px solid var(--hair-strong)}
.figure-open:hover {background:var(--hover-bg)}
.figure-open svg {width:20px;height:20px}
.spoiler-gate {padding:43px 29px;border-radius:12px;margin:29px 0}
.spoiler-gate>svg {width:30px;height:30px;margin-bottom:19px}
.spoiler-gate h2 {font-size:35px;line-height:1.25;margin-bottom:18px}
.spoiler-gate p {font-size:18px;line-height:1.8;max-width:49ch;margin-bottom:26px}
.spoiler-gate .button {font-size:15px;min-height:48px}

/* Source review, footer and utility states. */
.about-intro {grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);gap:34px;margin-bottom:40px}
.audit-summary {padding:30px;border-radius:12px;background:var(--panel);border-color:var(--hair-strong)}
.audit-summary h2 {font-size:29px;line-height:1.3;margin-bottom:19px}
.audit-summary p {font-size:17px;line-height:1.85}
.audit-meta div {padding:15px 0;gap:24px}
.audit-meta dt,.audit-meta dd {font-size:14px;line-height:1.6}
.audit-findings {margin-bottom:44px}
.audit-item {grid-template-columns:35px minmax(0,1fr);gap:20px;padding:28px 0}
.audit-number {font-size:14px;line-height:1.5;padding-top:5px}
.audit-item h3 {font-size:28px;line-height:1.3;margin-bottom:14px}
.audit-item p {font-size:18px;line-height:1.85;max-width:81ch}
.audit-item .text-link {font-size:15px;margin-top:13px}
.source-list {margin-bottom:36px}
.source-list li {padding:18px 0}
.source-list a {font-size:17px;line-height:1.7;gap:22px}
.footer {max-width:1540px;padding:36px 48px;gap:32px;align-items:flex-start;border-top-color:var(--hair-strong)}
.footer-brand {font-size:22px;line-height:1.35}
.footer-brand span {font-size:18px;padding:0 8px}
.footer-brand small {font-size:13px;line-height:1.6;margin-top:10px}
.footer-links {gap:10px 22px;max-width:430px}
.footer-links a,.footer-source {font-size:14px;line-height:1.7;padding:3px 0;min-height:32px}
.footer-source {display:block;max-width:155px}
.footer-source span {margin-left:8px}
.loading-state {padding:100px 25px}
.loading-mark {font-size:50px}
.loading-state p {font-size:18px;line-height:1.75;margin-top:23px}
.toast {font-size:15px;line-height:1.65;padding:14px 21px;border-radius:10px;left:calc(50% + var(--sidebar)/2);bottom:25px}
.no-script {font-size:16px;line-height:1.7}
dialog {background:var(--panel);color:var(--ink);border:1px solid var(--hair-strong);border-radius:14px;padding:26px;max-width:min(1100px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-shadow:var(--dialog-shadow)}
dialog::backdrop {background:var(--backdrop);backdrop-filter:blur(5px)}
dialog h2 {font-size:30px;line-height:1.3}
dialog p,dialog label {font-size:17px;line-height:1.8}
dialog button {min-width:44px;min-height:44px}
dialog img {max-width:100%;max-height:calc(100dvh - 180px);object-fit:contain;margin:auto}
dialog .dialog-close {font-size:25px;position:absolute;right:12px;top:12px;z-index:2;background:var(--panel);border:1px solid var(--hair-strong);border-radius:8px}

@media(min-width:1700px) {
  :root {--sidebar:296px}
  .content-wrap {padding:43px 58px 85px}
  .topbar,.footer {padding-inline:58px}
  .home-intro {min-height:425px}
  .home-intro-copy {padding:52px}
  .home-hero-art {min-height:425px}
  .home-intro h1 {font-size:66px}
  .home-intro-copy>p {font-size:20px}
  .topic-card {padding:27px}
}
@media(max-width:1450px) {
  .content-wrap {padding-inline:35px}
  .topbar,.footer {padding-inline:35px}
  .topbar-actions {gap:8px}
  .social-link {padding:8px;gap:0}
  .social-link .social-label {display:none}
  .home-intro-copy {padding:35px 31px}
  .home-intro h1 {font-size:47px}
  .home-intro-copy>p {font-size:18px}
  .path-card {padding:23px;min-height:245px}
  .path-card h3 {font-size:25px}
  .topic-grid,.category-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-stat {padding:21px 18px;gap:12px;align-items:flex-start}
  .home-stat strong {font-size:30px}
  .home-stat span {font-size:14px}
  .home-stat small {font-size:12px}
  .article-layout {gap:32px;grid-template-columns:minmax(0,1fr) 220px}
  .article-tools {margin-left:0}
  .footer {flex-wrap:wrap}
  .footer-links {max-width:none;flex:1}
  .footer-source {max-width:none}
}
@media(max-width:1250px) {
  :root {--sidebar:280px}
  .sidebar-top {padding-inline:23px}
  .sidebar-bottom {padding-inline:23px}
  .sidebar-scroll {padding-inline:15px}
  .content-wrap {padding:30px 29px 60px}
  .topbar,.footer {padding-inline:29px}
  .topbar-title {font-size:15px}
  .topbar-title span {font-size:12px;letter-spacing:.05em}
  .theme-toggle {width:44px;min-width:44px;padding:0}
  .theme-label {display:none}
  .quick-search {width:44px;min-width:44px;padding:0}
  .quick-search>span,.quick-search kbd {display:none}
  .topbar-actions {gap:7px}
  .social-links {gap:2px}
  .home-intro {grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);min-height:360px}
  .home-intro h1 {font-size:42px}
  .home-hero-art {min-height:360px}
  .home-intro-copy {padding:31px 27px}
  .path-grid {grid-template-columns:1fr;gap:12px}
  .path-card {display:grid;grid-template-columns:35px minmax(0,1fr);column-gap:19px;row-gap:7px;min-height:0;padding:23px 25px}
  .path-number {grid-row:1 / span 3;margin:1px 0 0}
  .path-card h3 {margin:0;grid-column:2}
  .path-card p {grid-column:2;font-size:16px;max-width:none}
  .path-card>.text-link {grid-column:2;margin:0;padding-top:6px}
  .path-card .path-arrow {display:none}
  .section-heading h2 {font-size:33px}
  .section-heading p {font-size:14px;max-width:27ch}
  .home-stats {margin-bottom:38px}
  .home-stat {display:block}
  .home-stat strong {display:block;font-size:31px;margin-bottom:11px}
  .home-stat span {display:block;font-size:14px}
  .home-stat small {font-size:12px}
  .article-layout {grid-template-columns:minmax(0,1fr);gap:34px}
  .article-main {max-width:76ch;margin-inline:auto;width:100%}
  .article-aside {position:static;max-height:none;overflow:visible;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 28px}
  .article-toc {grid-column:1 / -1}
  .toc-links {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px}
  .article-heading h1 {font-size:42px}
  .article-tools {margin-left:auto}
  .about-intro {grid-template-columns:1fr}
  .footer-links {justify-content:flex-start}
}
@media(max-width:1000px) and (min-width:801px) {
  .topbar {padding-inline:23px;gap:12px}
  .topbar-title {font-size:14px;max-width:165px}
  .topbar-title span {font-size:12px}
  .topbar-actions {gap:3px}
  .social-links {gap:0}
  .social-link {min-width:39px;padding-inline:6px}
  .content-wrap {padding-inline:25px}
  .home-intro {grid-template-columns:1fr}
  .home-hero-art {min-height:245px}
  .home-intro-copy {padding:34px}
  .home-intro h1 {font-size:47px;max-width:16ch}
  .home-intro-copy>p {max-width:49ch}
  .section-heading {align-items:flex-start;flex-direction:column;gap:13px}
  .section-heading p {max-width:none;font-size:15px}
  .topic-grid,.category-grid {grid-template-columns:1fr}
  .topic-card {min-height:0}
  .category-card {min-height:0}
}
@media(max-width:800px) {
  :root {--sidebar:0px;--article-size:18px}
  html {font-size:18px;scroll-padding-top:125px}
  html[data-text-size="large"] {--article-size:20px}
  body {font-size:18px;line-height:1.7}
  .page-shell {margin-left:0}
  .sidebar {width:min(320px,calc(100vw - 34px));transform:translateX(-100%);visibility:hidden;transition:transform .2s}
  .drawer-open .sidebar {transform:translateX(0);visibility:visible}
  .sidebar-top {height:100px;padding-inline:24px;justify-content:space-between}
  .sidebar-scroll {padding:24px 17px}
  .sidebar-bottom {padding-inline:25px}
  .brand strong {font-size:31px}
  .brand small {font-size:13px}
  .drawer-close {display:grid;place-items:center;width:44px;height:44px;padding:0;font-size:29px;color:var(--muted);border-radius:8px}
  .menu-button {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;width:44px;height:44px;padding:0;flex-shrink:0}
  .menu-button span {width:21px;height:2px;background:var(--accent)}
  .topbar {min-height:84px;height:auto;padding:15px 24px;gap:12px;flex-wrap:wrap}
  .topbar-title {font-size:15px;line-height:1.4;max-width:none;min-width:150px;flex:1;margin-right:0}
  .topbar-title span {font-size:12px;line-height:1.4;letter-spacing:.06em;margin-top:4px}
  .topbar-actions {gap:7px;margin-left:auto}
  .social-links {gap:3px}
  .social-link {min-width:44px;min-height:44px;padding:9px}
  .social-link .social-label {display:none}
  .theme-toggle,.quick-search {width:44px;height:44px;min-height:44px;padding:0;border-radius:8px;background:transparent}
  .theme-label,.quick-search>span,.quick-search kbd {display:none}
  .theme-icon svg,.quick-search svg {width:21px;height:21px}
  .community-link {display:inline-flex;font-size:14px;min-height:44px}
  .content-wrap {padding:27px 24px 52px}
  .freshness {font-size:13px;gap:12px;margin-bottom:23px;flex-wrap:wrap}
  .freshness-left {gap:8px 11px}
  .freshness a {font-size:13px}
  .freshness .freshness-warning {display:inline}
  .home-intro {min-height:0;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);border-radius:14px}
  .home-intro-copy {padding:32px 27px}
  .home-intro h1 {font-size:44px;line-height:1.1;max-width:15ch;margin:17px 0}
  .home-intro-copy>p {font-size:18px;line-height:1.75}
  .home-hero-art {min-height:350px}
  .home-hero-art figcaption,.home-hero-art .art-caption {font-size:12px;left:18px;right:18px;bottom:18px}
  .home-search {margin:23px 0 30px}
  .search-box {min-height:62px;padding:0 15px;gap:12px}
  .search-box input {font-size:18px;height:60px}
  .search-hints,.search-hints button {font-size:14px}
  .search-hints button {min-height:38px;padding:7px 11px}
  .section-heading h2 {font-size:33px}
  .section-heading p {font-size:15px}
  .eyebrow,.section-kicker {font-size:12px;letter-spacing:.11em}
  .text-link {font-size:15px}
  .path-grid {margin-bottom:37px}
  .path-card {padding:23px}
  .path-card h3 {font-size:25px}
  .path-card p {font-size:17px}
  .topic-grid,.category-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
  .topic-card,.category-card {padding:23px;min-height:0}
  .topic-card h3,.topic-card h4,.category-card h3 {font-size:25px}
  .topic-card p,.category-card p {font-size:16px;line-height:1.75;min-height:0}
  .topic-card small,.category-card-count {font-size:13px}
  .home-stat {padding:22px 18px}
  .home-stat strong {font-size:31px}
  .home-stat span {font-size:14px}
  .home-stat small {font-size:12px}
  .hero {padding:34px;min-height:440px}
  .hero h1 {font-size:49px}
  .hero-intro {font-size:18px;max-width:40ch}
  .hero .eyebrow,.hero-index,.hero-caption {font-size:12px}
  .hero-search {margin-top:27px;max-width:100%}
  .start-grid {grid-template-columns:1fr;margin-bottom:37px}
  .start-item h3 {font-size:23px}
  .start-item p {font-size:14px}
  .start-item-num {font-size:13px}
  .feature-card {padding:28px;min-height:280px}
  .feature-card h3 {font-size:33px}
  .feature-card p {font-size:17px}
  .source-note {padding:24px;gap:15px}
  .source-note h3 {font-size:17px}
  .source-note p {font-size:16px}
  .source-note .text-link {font-size:15px}
  .breadcrumb {font-size:14px;margin-bottom:25px;gap:7px 10px}
  .page-heading h1 {font-size:38px}
  .page-heading p {font-size:18px}
  .category-lead {padding:31px 27px}
  .heading-count {font-size:34px}
  .heading-count small {font-size:13px}
  .result-row {padding:25px 0;gap:17px;grid-template-columns:minmax(0,1fr) 44px}
  .result-row h2 {font-size:27px}
  .result-row p {font-size:17px;line-height:1.85}
  .result-meta,.badge,.spoiler-label {font-size:13px}
  .result-count {font-size:14px}
  .bookmark-button {width:44px;height:46px}
  .search-tools select {font-size:16px;min-height:48px}
  .search-tools label {font-size:14px}
  .article-heading h1 {font-size:38px;line-height:1.17}
  .article-heading .article-lead {font-size:19px;line-height:1.8}
  .article-main,.article-content {font-size:var(--article-size);line-height:var(--article-leading)}
  .article-meta span,.article-meta .badge {font-size:13px}
  .article-tools {margin-left:0;width:100%;margin-top:5px}
  .article-tools .button,.article-tools .bookmark-button,.article-tools .bookmark-button span {font-size:14px;min-height:44px}
  .article-content table,.article-content td {font-size:16px}
  .article-content th {font-size:14px}
  .article-content td,.article-content th {padding:15px 16px}
  .article-notice {padding:21px}
  .article-notice strong {font-size:15px}
  .article-notice p {font-size:17px}
  .table-hint {font-size:13px}
  .article-source {padding:22px}
  .article-source p,.article-source a {font-size:14px}
  .article-aside {grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 25px}
  .aside-label {font-size:12px}
  .aside-block p,.related-links a {font-size:15px}
  .aside-block .text-link,.tags button,.toc-links a,.toc-links button {font-size:14px}
  .spoiler-gate {padding:33px 25px}
  .spoiler-gate h2 {font-size:31px}
  .spoiler-gate p {font-size:18px}
  .audit-summary {padding:25px}
  .audit-summary h2 {font-size:28px}
  .audit-summary p {font-size:17px}
  .audit-meta dt,.audit-meta dd {font-size:14px}
  .audit-item h3 {font-size:27px}
  .audit-item p {font-size:18px}
  .audit-item .text-link {font-size:15px}
  .source-list a {font-size:17px}
  .footer {padding:32px 24px;gap:24px;display:flex;flex-wrap:wrap}
  .footer-brand {font-size:22px}
  .footer-brand small {font-size:13px}
  .footer-links {gap:10px 20px;flex-basis:100%;margin-top:0;justify-content:flex-start}
  .footer-links a,.footer-source {font-size:14px}
  .footer-source {max-width:none}
  .toast {left:50%;font-size:15px;bottom:17px}
  .empty-state h2 {font-size:32px}
  .empty-state p {font-size:18px}
}
@media(max-width:600px) {
  .topbar {display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px 11px;padding:12px 18px}
  .topbar-title {font-size:15px;min-width:0;line-height:1.35}
  .topbar-title span {font-size:12px;letter-spacing:.045em}
  .topbar-actions {grid-column:1 / -1;width:100%;display:flex;justify-content:flex-end;margin:0;gap:7px;padding-top:5px;border-top:1px solid var(--hair)}
  .social-links {margin-right:auto;gap:4px}
  .social-link {min-width:44px;padding:9px}
  .community-link {font-size:14px;padding-inline:7px}
  .content-wrap {padding:25px 19px 43px}
  .home-intro {display:flex;flex-direction:column}
  .home-intro-copy {padding:31px 25px}
  .home-intro h1 {font-size:42px;max-width:17ch;margin:17px 0 18px}
  .home-intro-copy>p {font-size:18px;max-width:44ch}
  .home-hero-art {min-height:225px;max-height:260px;width:100%;background-position:center 50%}
  .home-hero-art img {object-position:center 50%}
  .home-hero-art figcaption,.home-hero-art .art-caption {font-size:12px;left:20px;right:20px}
  .eyebrow,.section-kicker {font-size:12px;letter-spacing:.095em}
  .eyebrow:before {width:22px}
  .home-search {margin-top:23px;margin-bottom:28px}
  .search-box {gap:10px;padding-inline:13px;min-height:62px}
  .search-box input {font-size:17px;line-height:1.5;height:60px}
  .search-box kbd {display:none}
  .search-box svg {width:22px;height:22px}
  .search-box button {min-width:38px;padding-inline:4px}
  .search-hints {gap:8px;font-size:14px}
  .search-hints button {font-size:14px}
  .home-stats {display:grid;grid-template-columns:1fr;margin:23px 0 34px}
  .home-stat {display:grid;grid-template-columns:68px 1fr;align-items:center;gap:17px;padding:20px 23px}
  .home-stat+.home-stat {border-left:0;border-top:1px solid var(--hair)}
  .home-stat strong {font-size:30px;margin:0;display:block}
  .home-stat span {font-size:15px}
  .home-stat small {font-size:13px;margin-top:4px}
  .section-heading {flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:20px}
  .section-heading h2 {font-size:32px;line-height:1.25}
  .section-heading p {font-size:16px;max-width:none}
  .section-heading .text-link {font-size:15px}
  .path-grid {gap:13px}
  .path-card {grid-template-columns:31px minmax(0,1fr);gap:9px 15px;padding:23px 21px;border-radius:11px}
  .path-number {font-size:13px;min-width:31px;height:30px}
  .path-card h3 {font-size:25px}
  .path-card p {font-size:17px;line-height:1.75}
  .topic-group {margin-bottom:30px}
  .topic-group>h2,.topic-group>h3 {font-size:18px;margin-bottom:15px}
  .topic-grid,.category-grid {grid-template-columns:1fr;gap:12px}
  .topic-card,.category-card {padding:24px;min-height:0}
  .topic-card h3,.topic-card h4,.category-card h3 {font-size:26px}
  .topic-card p,.category-card p {font-size:17px;line-height:1.75}
  .topic-card small,.category-card-count {font-size:13px}
  .category-card-top {margin-bottom:18px}
  .category-card-icon {width:31px;height:31px}
  .category-card-icon svg {width:19px;height:19px}
  .category-card-arrow {font-size:21px}
  .recent-list a {font-size:17px;gap:15px;padding:19px 0}
  .recent-list small {font-size:13px}
  .hero {padding:30px 25px;min-height:455px}
  .hero h1 {font-size:43px;max-width:14ch}
  .hero-intro {font-size:18px;max-width:35ch}
  .hero .eyebrow {font-size:12px}
  .hero-index {display:none}
  .feature-card {padding:27px;min-height:285px}
  .feature-card h3 {font-size:32px}
  .feature-card p {font-size:17px}
  .start-item {grid-template-columns:27px minmax(0,1fr) 21px;gap:11px;padding:20px 0}
  .start-item h3 {font-size:24px}
  .start-item p {font-size:14px}
  .source-note {padding:23px 21px;gap:13px}
  .source-note-icon {font-size:23px}
  .source-note h3 {font-size:17px}
  .source-note p {font-size:16px;line-height:1.85}
  .page-heading h1 {font-size:36px;margin:13px 0 18px}
  .page-heading p {font-size:18px;line-height:1.8}
  .page-heading-row {display:block}
  .heading-count {font-size:30px;text-align:left;margin-top:24px}
  .heading-count small {font-size:13px;display:inline;margin:0 0 0 12px}
  .category-lead {padding:28px 24px}
  .category-lead .heading-count {display:block}
  .category-lead-image {min-height:265px}
  .search-tools {gap:13px;align-items:flex-start;padding:18px 0}
  .search-tools select {font-size:16px;width:100%;max-width:100%;min-height:48px}
  .search-tools label {font-size:14px}
  .result-row {padding:25px 0;gap:14px;grid-template-columns:minmax(0,1fr) 44px}
  .result-row h2 {font-size:27px;line-height:1.3;margin-bottom:11px}
  .result-row p {font-size:17px;line-height:1.8}
  .result-meta,.badge,.spoiler-label {font-size:13px;line-height:1.6}
  .result-meta {gap:6px 9px}
  .bookmark-button {width:44px;height:46px}
  .load-more {gap:15px;margin-top:26px}
  .button,.load-more .button {font-size:15px;min-height:46px}
  .load-more span {font-size:14px}
  .breadcrumb {font-size:13px;line-height:1.75;margin-bottom:24px}
  .article-heading h1 {font-size:35px;line-height:1.18;margin:17px 0 23px}
  .article-heading .article-lead {font-size:19px;line-height:1.85;margin-bottom:24px}
  .article-content {font-size:var(--article-size);line-height:var(--article-leading)}
  .article-content>p {font-size:inherit}
  .article-meta {gap:10px 12px;padding-bottom:24px;margin-bottom:27px}
  .article-meta span {font-size:13px}
  .article-tools {gap:8px;flex-wrap:wrap}
  .reading-tools {font-size:14px;gap:7px;margin-bottom:25px}
  .reading-tools button {font-size:15px;min-height:44px;padding:9px 12px}
  .article-content table,.article-content td {font-size:16px;line-height:1.8}
  .article-content th {font-size:14px;line-height:1.7}
  .article-content td,.article-content th {padding:15px;min-width:120px}
  .table-hint {font-size:13px;line-height:1.7;margin-bottom:9px}
  .article-notice {padding:21px 18px}
  .article-notice p {font-size:17px;line-height:1.85}
  .article-notice strong {font-size:15px}
  .article-source {padding:21px 19px;margin-top:32px}
  .article-source p,.article-source a {font-size:14px}
  .article-aside {grid-template-columns:1fr;gap:5px}
  .article-toc {grid-column:auto;padding-top:6px}
  .toc-links {grid-template-columns:1fr}
  .toc-links a,.toc-links button {font-size:15px;min-height:44px;padding:9px 0 9px 14px}
  .aside-label {font-size:12px}
  .aside-block p,.related-links a {font-size:16px;line-height:1.8}
  .aside-block .text-link,.tags button {font-size:15px}
  .article-figure {margin:27px 0}
  .article-figure figcaption {padding:17px;font-size:14px}
  .figure-open {font-size:14px;padding:12px 16px;min-height:48px}
  .spoiler-gate {padding:32px 23px}
  .spoiler-gate h2 {font-size:30px}
  .spoiler-gate p {font-size:18px;line-height:1.8}
  .audit-summary {padding:25px 22px}
  .audit-summary h2 {font-size:28px}
  .audit-summary p {font-size:18px}
  .audit-meta div {gap:17px;padding:15px 0}
  .audit-meta dt,.audit-meta dd {font-size:14px;line-height:1.65}
  .audit-item {grid-template-columns:26px minmax(0,1fr);gap:13px;padding:27px 0}
  .audit-number {font-size:13px}
  .audit-item h3 {font-size:26px}
  .audit-item p {font-size:18px;line-height:1.85}
  .audit-item .text-link {font-size:15px}
  .source-list a {font-size:17px;line-height:1.75}
  .footer {padding:31px 21px;display:flex;gap:25px}
  .footer-brand {font-size:22px;white-space:normal}
  .footer-brand small {font-size:13px}
  .footer-links {gap:8px 22px;margin:0}
  .footer-links a,.footer-source {font-size:14px;min-height:39px}
  .empty-state {padding:45px 7px}
  .empty-state h2 {font-size:31px}
  .empty-state p {font-size:18px;line-height:1.85}
  dialog {padding:23px 19px;border-radius:12px;max-width:calc(100vw - 22px);max-height:calc(100dvh - 22px)}
  dialog h2 {font-size:27px}
  dialog p,dialog label {font-size:17px}
}
@media(max-width:360px) {
  .topbar {padding-inline:13px}
  .topbar-actions {gap:4px}
  .social-links {gap:0}
  .social-link {min-width:42px;padding:8px}
  .content-wrap {padding-inline:16px}
  .home-intro-copy {padding:27px 21px}
  .home-intro h1 {font-size:38px}
  .home-intro-copy>p {font-size:18px}
  .home-hero-art {min-height:205px}
  .path-card {padding:21px 18px;column-gap:12px}
  .path-card h3 {font-size:24px}
  .section-heading h2 {font-size:30px}
  .article-heading h1 {font-size:33px}
  .search-box {padding-inline:11px;gap:8px}
  .search-box input {font-size:17px}
  .search-box button {min-width:33px}
  .topic-card,.category-card {padding:22px}
}
@media(prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto}
  *,*:before,*:after {transition:none!important;animation:none!important}
  .path-card:hover {transform:none}
}
/* Current home composition, illustrated references and expanded media. */
.hero-meta {display:flex;align-items:center;flex-wrap:wrap;gap:8px 15px;margin-top:26px;padding-top:21px;border-top:1px solid var(--hair)}
.hero-meta span {font-size:13px;line-height:1.6;color:var(--muted)}
.hero-meta span+span:before {content:"·";color:var(--gold);margin-right:15px}
.hero-art-caption {position:absolute;z-index:2;left:24px;right:24px;bottom:24px;font-size:12px;line-height:1.7;letter-spacing:.12em;color:#e4eff1;text-shadow:0 1px 10px #000}
.path-number {font-size:12px;line-height:1.6;letter-spacing:.09em;min-width:0;min-height:0;height:auto;display:block;border:0;background:none;border-radius:0;padding:0;margin:0 0 23px;color:var(--gold)}
.path-icon {display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--active-border);border-radius:10px;background:var(--active-bg);color:var(--accent);margin-bottom:19px}
.path-icon svg {width:25px;height:25px}
.section-description {font-size:16px;line-height:1.7;color:var(--muted);max-width:32ch}
.topic-group-heading {display:flex;align-items:center;gap:15px;padding:0 0 15px;margin-bottom:17px;border-bottom:1px solid var(--hair-strong)}
.topic-group-heading .section-kicker {font-size:13px;line-height:1.5;letter-spacing:.04em;color:var(--gold);margin:0}
.topic-group-heading h3 {font:600 20px/1.4 var(--sans);letter-spacing:0;margin:0;color:var(--ink)}
.topic-card {display:grid;grid-template-columns:31px minmax(0,1fr);gap:18px;align-items:start}
.topic-card .category-card-icon {width:27px;height:27px;margin:7px 0 0 4px}
.topic-card .category-card-icon svg {width:20px;height:20px}
.topic-card h4 {margin:0 0 9px}
.topic-card .category-card-count {display:block;line-height:1.6;font-size:13px;margin-top:13px;padding-right:18px}
.topic-arrow {position:absolute;bottom:21px;right:22px;font-size:23px;line-height:1;color:var(--dim)}
.recent-section {margin:8px 0 45px}
.recent-list a {display:grid;grid-template-columns:minmax(125px,.55fr) minmax(0,1.5fr) 22px;gap:20px}
.recent-list a>span:first-child {font-size:14px;line-height:1.6;color:var(--muted)}
.recent-list h3 {font:24px/1.35 var(--serif);margin:0;color:var(--ink)}
.recent-list a>span:last-child {font-size:21px;color:var(--accent)}
.guide-links {display:grid;gap:11px;margin:27px 0 34px}
.guide-links a {display:flex;justify-content:space-between;align-items:center;gap:19px;padding:17px 21px;min-height:64px;border:1px solid var(--hair-strong);border-radius:9px;font-size:18px;line-height:1.65;color:var(--accent);background:var(--panel);text-decoration:none}
.guide-links a:hover {background:var(--hover-bg);border-color:var(--active-border)}
.guide-links a>span:last-child {flex-shrink:0;font-size:23px}
.social-link svg {width:24px;height:24px;stroke-width:1.6}
.figure-open {display:block;position:relative;min-height:0;padding:16px;border:0;background:var(--panel);cursor:zoom-in;line-height:0}
.figure-open:hover {background:var(--panel)}
.figure-open img {display:block;max-width:100%;width:auto;max-height:760px;object-fit:contain;margin:auto}
.figure-zoom {position:static;display:inline-flex;align-items:center;gap:8px;margin-top:12px;background:var(--panel);color:var(--accent);border:1px solid var(--control-border);border-radius:8px;padding:9px 13px;font-size:14px;line-height:1.5;box-shadow:var(--surface-shadow)}
.figure-dark img {background:#17232d}
.image-dialog {width:min(1240px,calc(100vw - 42px));padding:0;overflow:hidden;border-radius:14px}
.image-dialog[open] {display:flex;flex-direction:column}
.image-dialog-top {display:flex;align-items:center;justify-content:space-between;gap:25px;padding:17px 20px 17px 25px;border-bottom:1px solid var(--hair-strong);flex-shrink:0}
.image-dialog-top h2 {font:500 20px/1.45 var(--sans);margin:0;max-width:85ch;overflow-wrap:anywhere}
.image-dialog-top button {font-size:29px;line-height:1;flex-shrink:0;width:44px;height:44px;min-width:44px;min-height:44px;border:1px solid var(--hair-strong);border-radius:8px;background:var(--panel-light);color:var(--ink);padding:0}
.image-dialog-top button:hover {background:var(--hover-bg);border-color:var(--active-border)}
.image-dialog-scroll {overflow:auto;min-height:0;max-height:calc(100dvh - 215px);padding:20px;background:var(--bg);scrollbar-color:var(--scroll-thumb) var(--scroll-track)}
.image-dialog-scroll img {display:block;margin:auto;width:auto;height:auto;max-width:100%;max-height:none;background:#fff}
.image-dialog[data-background="dark"] .image-dialog-scroll img {background:#17232d}
#image-caption {font-size:14px;line-height:1.7;color:var(--muted);padding:16px 25px;margin:0;flex-shrink:0;border-top:1px solid var(--hair-strong);max-height:135px;overflow-y:auto}
.rune-combination {min-width:160px;max-width:none}
.rune-symbols {display:flex;align-items:flex-start;justify-content:flex-start;gap:10px;flex-wrap:wrap;min-width:130px;padding:2px 0}
.rune-symbol {display:flex;align-items:center;flex-direction:column;justify-content:flex-start;gap:8px;max-width:80px;min-width:56px;font-weight:400}
.rune-symbol img {width:56px;height:56px;min-width:56px;object-fit:contain;padding:4px;border:1px solid var(--hair-strong);border-radius:8px;background:#fbfaf7;box-shadow:0 2px 8px #0001}
.rune-symbol span {font-size:13px;line-height:1.5;text-align:center;color:var(--muted);overflow-wrap:anywhere}
.mobile-toc {display:none}
@media(min-width:801px) {
  .path-card p,.topic-card p,.category-card p,.feature-card p,.result-row p,.audit-summary p {font-size:18px}
}
@media(min-width:1700px) {.rune-symbol img {width:64px;height:64px;min-width:64px}.rune-symbol {min-width:64px}}
@media(max-width:1250px) {
  .mobile-toc {display:block;border:1px solid var(--hair-strong);border-radius:10px;background:var(--panel);padding:0;margin:0 0 27px}
  .mobile-toc summary {cursor:pointer;min-height:50px;padding:14px 19px;font-size:16px;line-height:1.5;font-weight:600;color:var(--accent)}
  .mobile-toc[open] summary {border-bottom:1px solid var(--hair)}
  .mobile-toc .toc-links {margin:9px 17px 14px;border-left:0}
  .mobile-toc .toc-links button,.mobile-toc .toc-links a {min-height:44px;font-size:15px;line-height:1.6;padding:10px 8px;border-left:0;border-radius:6px}
  .article-aside .article-toc {display:none}
  .path-card {grid-template-columns:46px minmax(0,1fr);column-gap:19px;row-gap:8px;padding:24px}
  .path-number {grid-column:1 / -1;grid-row:1;margin:0 0 10px;min-width:0;height:auto;font-size:12px}
  .path-icon {grid-column:1;grid-row:2 / span 3;margin:1px 0 0}
  .path-card h3 {grid-column:2;grid-row:2;margin:0}
  .path-card p {grid-column:2;grid-row:3}
  .path-card>.text-link {grid-column:2;grid-row:4;padding-top:8px}
}
@media(max-width:800px) {
  .hero-meta {gap:7px 13px;padding-top:18px;margin-top:22px}
  .hero-meta span {font-size:13px}
  .hero-meta span+span:before {margin-right:13px}
  .hero-art-caption {left:20px;right:20px;bottom:19px;font-size:12px;letter-spacing:.1em}
  .section-description {font-size:16px;max-width:none}
  .topic-group-heading h3 {font-size:19px}
  .topic-card {gap:17px;grid-template-columns:30px minmax(0,1fr)}
  .topic-card .category-card-count {font-size:13px}
  .recent-list a {grid-template-columns:minmax(0,1fr) 22px;gap:7px 17px}
  .recent-list a>span:first-child {font-size:14px;grid-column:1}
  .recent-list h3 {font-size:24px;grid-column:1}
  .recent-list a>span:last-child {grid-column:2;grid-row:1 / span 2}
  .guide-links a {font-size:18px;padding:17px 19px}
  .rune-symbol img {width:56px;height:56px;min-width:56px}
  .image-dialog {width:calc(100vw - 28px);max-height:calc(100dvh - 28px)}
  .image-dialog-top {padding:15px 17px;gap:17px}
  .image-dialog-top h2 {font-size:18px;line-height:1.5}
  .image-dialog-scroll {padding:13px}
  #image-caption {font-size:14px;padding:15px 17px}
}
@media(max-width:600px) {
  html {scroll-padding-top:152px}
  .article-content h2,.article-content h3,.article-content h4 {scroll-margin-top:152px}
  .hero-meta {gap:8px 12px}
  .hero-meta span+span:before {content:none}
  .hero-meta span {font-size:13px;padding:4px 9px;background:var(--active-bg);border:1px solid var(--hair);border-radius:6px}
  .path-card {grid-template-columns:39px minmax(0,1fr);column-gap:15px;padding:23px 21px}
  .path-icon {width:39px;height:41px;border-radius:9px}
  .path-icon svg {width:24px;height:24px}
  .path-number {font-size:12px;line-height:1.6;letter-spacing:.075em;margin-bottom:9px}
  .topic-group-heading {gap:13px;margin-bottom:15px;padding-bottom:13px}
  .topic-group-heading h3 {font-size:18px}
  .topic-group-heading .section-kicker {font-size:13px}
  .topic-card {grid-template-columns:28px minmax(0,1fr);gap:17px}
  .topic-card h4 {margin-top:0;font-size:25px}
  .topic-card p {font-size:17px}
  .topic-card .category-card-icon {width:25px;height:25px;margin-left:2px}
  .topic-card .category-card-icon svg {width:18px;height:18px}
  .topic-arrow {right:19px;bottom:21px}
  .recent-list h3 {font-size:24px}
  .guide-links a {font-size:17px;line-height:1.75;padding:16px 17px;gap:15px}
  .figure-zoom {font-size:13px;line-height:1.5;padding:8px 10px}
  .image-dialog {width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:0;border-radius:11px}
  .image-dialog-top {padding:13px 14px;gap:13px}
  .image-dialog-top h2 {font-size:17px;line-height:1.5}
  .image-dialog-scroll {max-height:calc(100dvh - 240px);padding:9px}
  #image-caption {font-size:14px;line-height:1.7;padding:14px;max-height:160px}
  .rune-symbols {gap:9px}
  .rune-symbol span {font-size:13px}
  .social-link {min-width:44px}
  .search-box button {min-width:44px}
}
@media(max-width:520px) {
  .home-intro-copy {padding:28px 24px}
  .home-intro h1 {font-size:36px;line-height:1.15;margin:16px 0 17px;max-width:18ch}
  .home-intro-copy>p,.home-intro .hero-intro {font-size:18px;line-height:1.65}
  .home-hero-art {display:none}
  .hero-meta {margin-top:19px;padding-top:16px;gap:7px 9px}
  .hero-meta span {font-size:13px;line-height:1.5;padding:3px 8px}
  .home-search {margin-top:21px;margin-bottom:27px}
}
@media print {
  :root {--sidebar:0px;--bg:#fff;--ink:#111;--reading-ink:#222;--muted:#444;--accent:#194d5a}
  .sidebar,.topbar,.footer,.article-tools,.reading-tools,.toast,.article-aside {display:none!important}
  .page-shell {margin:0}
  .content-wrap {padding:0;max-width:none}
  .article-layout {display:block}
  .article-main,.article-content {font-size:12pt;max-width:none}
  .article-source {break-inside:avoid}
  .table-wrap {overflow:visible}
  table,.article-content table {min-width:0;font-size:10pt}
}
