:root {
  --bg: #07111f;
  --bg-soft: #0b1727;
  --panel: rgba(15, 29, 47, 0.78);
  --panel-solid: #0f1d2f;
  --panel-light: #13243a;
  --line: rgba(148, 180, 213, 0.15);
  --line-strong: rgba(148, 180, 213, 0.28);
  --text: #f1f6fb;
  --muted: #93a8bd;
  --cyan: #51d4c8;
  --cyan-soft: rgba(81, 212, 200, 0.14);
  --blue: #76a8ff;
  --purple: #b191ff;
  --amber: #f2be6b;
  --red: #ff7f8c;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --radius: 20px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -10%, rgba(81, 212, 200, 0.12), transparent 26rem),
    radial-gradient(circle at 95% 8%, rgba(118, 168, 255, 0.12), transparent 28rem),
    var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
::selection { background: rgba(81,212,200,.3); }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: white; color: #000; padding: .7rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.ambient { position: fixed; border-radius: 50%; filter: blur(85px); pointer-events: none; opacity: .12; }
.ambient-a { width: 280px; height: 280px; background: var(--cyan); left: -140px; top: 30%; }
.ambient-b { width: 320px; height: 320px; background: var(--blue); right: -180px; top: 55%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(7, 17, 31, .75);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; width: max-content; }
.brand-mark { width: 34px; height: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; transform: rotate(45deg); }
.brand-mark i { display: block; border-radius: 3px; background: linear-gradient(135deg, var(--cyan), var(--blue)); opacity: .9; }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(3) { opacity: .35; }
.brand span:last-child { display: grid; line-height: 1.1; }
.brand b { font-size: .95rem; letter-spacing: .02em; }
.brand small { color: var(--muted); font-size: .63rem; margin-top: .25rem; letter-spacing: .03em; }
.main-nav { display: flex; align-items: center; gap: .35rem; padding: .3rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(14,27,44,.55); }
.main-nav a { color: var(--muted); padding: .48rem .9rem; border-radius: 10px; font-size: .86rem; transition: .2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--text); background: rgba(255,255,255,.06); }
.search-trigger { justify-self: end; border: 1px solid var(--line); background: rgba(14,27,44,.6); border-radius: 12px; padding: .5rem .55rem .5rem .75rem; display: flex; gap: .75rem; align-items: center; cursor: pointer; }
.search-trigger:hover { border-color: var(--line-strong); background: var(--panel-light); }
kbd { color: var(--muted); background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 6px; padding: .15rem .42rem; font-size: .7rem; font-family: inherit; }
.nav-toggle { display: none; justify-self: end; border: 0; background: none; font-size: 1.25rem; }

#app { min-height: 75vh; }
.page { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 68px 0 100px; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; color: var(--cyan); font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 700; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.02; letter-spacing: -.055em; margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.55rem); line-height: 1.2; letter-spacing: -.035em; }
h3 { letter-spacing: -.02em; }
.muted { color: var(--muted); }
.gradient-text { color: transparent; background: linear-gradient(90deg, var(--cyan), #91c9ff 48%, var(--purple)); background-clip: text; }
.btn { border: 1px solid var(--line); border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 46px; padding: .65rem 1rem; font-weight: 650; font-size: .88rem; transition: .22s ease; cursor: pointer; background: rgba(255,255,255,.035); }
.btn:hover { transform: translateY(-2px); border-color: var(--line-strong); background: rgba(255,255,255,.07); }
.btn-primary { color: #06131c; background: var(--cyan); border-color: var(--cyan); }
.btn-primary:hover { background: #78e6dc; }
.btn-sm { min-height: 36px; padding: .4rem .7rem; font-size: .78rem; border-radius: 9px; }
.chip, .tag { display: inline-flex; align-items: center; width: max-content; border-radius: 999px; border: 1px solid var(--line); color: #abc0d4; background: rgba(255,255,255,.03); font-size: .7rem; padding: .25rem .6rem; }
.tag.cyan { color: var(--cyan); border-color: rgba(81,212,200,.25); background: var(--cyan-soft); }

.hero { position: relative; min-height: 630px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 4rem; padding-top: 54px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 span { display: block; }
.hero-copy .lead { max-width: 640px; color: #adc0d2; font-size: 1.08rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-note { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 2.25rem; color: var(--muted); font-size: .75rem; }
.hero-note span::before { content: "✓"; color: var(--cyan); margin-right: .4rem; }
.atlas-visual { position: relative; height: 470px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(118,168,255,.17); border-radius: 50%; }
.orbit-1 { width: 360px; height: 360px; animation: spin 24s linear infinite; }
.orbit-2 { width: 255px; height: 255px; animation: spin 17s linear infinite reverse; }
.orbit::before, .orbit::after { content: ""; position: absolute; width: 11px; height: 11px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 22px var(--cyan); }
.orbit::before { left: 20px; top: 80px; }
.orbit::after { right: 35px; bottom: 55px; background: var(--blue); box-shadow: 0 0 22px var(--blue); }
.visual-core { position: relative; width: 172px; height: 172px; border-radius: 34px; transform: rotate(45deg); background: linear-gradient(135deg, rgba(81,212,200,.22), rgba(118,168,255,.09)); border: 1px solid rgba(81,212,200,.32); box-shadow: inset 0 0 40px rgba(81,212,200,.08), 0 30px 80px rgba(0,0,0,.4); }
.visual-core::before, .visual-core::after { content: ""; position: absolute; inset: 30px; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; }
.visual-core::after { inset: 61px; background: var(--cyan); border: 0; border-radius: 10px; box-shadow: 0 0 40px rgba(81,212,200,.5); }
.float-label { position: absolute; padding: .55rem .75rem; border-radius: 11px; background: rgba(11,23,39,.84); border: 1px solid var(--line); color: #afc3d6; font-size: .72rem; backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.float-label b { color: var(--text); margin-right: .3rem; }
.fl-1 { left: 0; top: 18%; }.fl-2 { right: 0; top: 32%; }.fl-3 { left: 12%; bottom: 12%; }.fl-4 { right: 12%; bottom: 5%; }
@keyframes spin { to { transform: rotate(360deg); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(15,29,47,.56); overflow: hidden; }
.stat { padding: 1.7rem 1.9rem; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat strong { display: block; font-size: 2rem; line-height: 1; letter-spacing: -.04em; }
.stat span { color: var(--muted); font-size: .75rem; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin: 90px 0 28px; }
.section-head p { color: var(--muted); max-width: 540px; margin-bottom: 0; }
.section-head a { color: var(--cyan); font-size: .82rem; white-space: nowrap; }

.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.route-card { position: relative; min-height: 230px; padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(20,39,62,.7), rgba(11,24,40,.62)); overflow: hidden; transition: .25s ease; }
.route-card:hover { transform: translateY(-4px); border-color: var(--route-color, var(--line-strong)); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.route-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -60px; top: -60px; border-radius: 50%; background: var(--route-color); filter: blur(55px); opacity: .16; }
.route-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--route-color); background: color-mix(in srgb, var(--route-color) 13%, transparent); border: 1px solid color-mix(in srgb, var(--route-color) 25%, transparent); }
.route-card h3 { margin: 1.1rem 0 .5rem; }
.route-card p { color: var(--muted); font-size: .82rem; min-height: 3.9em; }
.route-meta { display: flex; justify-content: space-between; color: #7f97ae; font-size: .7rem; margin-top: 1.1rem; }
.arrow { transition: transform .2s; }.route-card:hover .arrow { transform: translateX(4px); }

.paper-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.paper-card { display: flex; flex-direction: column; min-height: 280px; padding: 1.25rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(15,29,47,.62); transition: .24s ease; }
.paper-card:hover { transform: translateY(-3px); border-color: rgba(81,212,200,.3); background: rgba(18,35,55,.85); }
.paper-card-top { display: flex; justify-content: space-between; gap: .75rem; color: var(--muted); font-size: .7rem; }
.paper-card h3 { margin: 1rem 0 .25rem; font-size: 1.12rem; }
.paper-full-title { color: #849aaf; font-size: .72rem; line-height: 1.4; min-height: 2em; }
.paper-card .summary { color: #b5c6d5; font-size: .82rem; margin: 1rem 0; }
.paper-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; }
.paper-card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: .9rem; margin-top: 1rem; font-size: .72rem; }
.paper-card-footer span { color: var(--cyan); }
.paper-card-footer b { font-weight: 500; color: var(--muted); }

.principle-band { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; margin-top: 90px; padding: 2.8rem; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(120deg, rgba(81,212,200,.08), rgba(118,168,255,.04)); }
.principle-list { counter-reset: q; display: grid; gap: .65rem; }
.principle-list div { counter-increment: q; display: flex; align-items: center; gap: .8rem; padding: .7rem; border-radius: 11px; background: rgba(255,255,255,.025); color: #aebfd0; font-size: .82rem; }
.principle-list div::before { content: "0" counter(q); color: var(--cyan); font-family: ui-monospace, monospace; font-size: .72rem; }

.page-hero { padding: 20px 0 42px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin: .8rem 0 1rem; }
.page-hero p { color: var(--muted); max-width: 720px; }
.catalog-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 2rem; padding-top: 32px; }
.filters { position: sticky; top: 100px; height: max-content; padding: 1.1rem; border: 1px solid var(--line); border-radius: 17px; background: rgba(12,25,42,.73); }
.filter-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.filter-head b { font-size: .88rem; }.filter-head button { border: 0; background: none; color: var(--cyan); font-size: .72rem; cursor: pointer; }
.filter-group { margin-top: 1rem; }
.filter-group label { display: block; color: #8298ad; font-size: .68rem; text-transform: uppercase; letter-spacing: .09em; margin-bottom: .4rem; }
.filter-group select, .catalog-search { width: 100%; color: var(--text); background: #0b1828; border: 1px solid var(--line); border-radius: 10px; padding: .65rem .75rem; outline: none; font-size: .78rem; }
.filter-group select:focus, .catalog-search:focus { border-color: rgba(81,212,200,.48); }
select option { background: #0b1828; }
.catalog-main { min-width: 0; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.result-count { color: var(--muted); font-size: .8rem; }.result-count b { color: var(--text); }
.view-toggle { display: flex; gap: .35rem; }.view-toggle button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: transparent; cursor: pointer; color: var(--muted); }.view-toggle button.active { color: var(--cyan); background: var(--cyan-soft); }
.catalog-grid.list { grid-template-columns: 1fr; }
.catalog-grid.list .paper-card { min-height: 0; display: grid; grid-template-columns: 120px 1fr 200px; gap: 1rem; align-items: center; }
.catalog-grid.list .paper-card-top { grid-row: span 3; flex-direction: column; justify-content: center; }
.catalog-grid.list .summary { margin: .35rem 0; }
.catalog-grid.list .paper-tags { grid-column: 3; grid-row: 1 / span 3; }
.catalog-grid.list .paper-card-footer { display: none; }
.empty-state { grid-column: 1/-1; padding: 4rem 2rem; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }

.route-timeline { position: relative; display: grid; gap: 1.25rem; margin-top: 38px; }
.route-timeline::before { content: ""; position: absolute; left: 25px; top: 35px; bottom: 35px; width: 1px; background: linear-gradient(var(--cyan), var(--blue), var(--purple)); opacity: .45; }
.timeline-route { display: grid; grid-template-columns: 52px 1fr; gap: 1.3rem; position: relative; }
.timeline-node { width: 52px; height: 52px; border: 1px solid color-mix(in srgb, var(--route-color) 45%, transparent); background: #0c1a2b; color: var(--route-color); border-radius: 15px; display: grid; place-items: center; z-index: 1; box-shadow: 0 0 25px color-mix(in srgb, var(--route-color) 12%, transparent); }
.timeline-content { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; background: rgba(15,29,47,.58); }
.timeline-content header { display: flex; justify-content: space-between; gap: 1.5rem; }
.timeline-content h2 { font-size: 1.3rem; margin-bottom: .25rem; }
.timeline-content header p { color: var(--muted); font-size: .8rem; max-width: 700px; }
.route-papers { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: .8rem; }
.route-paper-link { padding: .45rem .7rem; border-radius: 9px; border: 1px solid var(--line); color: #b6c8d8; background: rgba(255,255,255,.025); font-size: .74rem; }
.route-paper-link:hover { color: var(--route-color); border-color: color-mix(in srgb, var(--route-color) 35%, transparent); }
.route-arrow { color: #60788f; }

.paper-detail { padding-top: 32px; }
.breadcrumbs { display: flex; gap: .5rem; align-items: center; color: #70879e; font-size: .72rem; margin-bottom: 2.5rem; }.breadcrumbs a:hover { color: var(--cyan); }
.detail-hero { display: grid; grid-template-columns: 1fr 330px; gap: 3rem; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.detail-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); margin: .8rem 0 .5rem; }
.detail-full-title { color: #9eb1c3; font-size: 1rem; max-width: 780px; }
.detail-summary { font-size: 1.15rem; max-width: 760px; margin-top: 2rem; color: #d1dce7; }
.detail-meta { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.4rem; }
.link-panel { align-self: end; padding: 1.2rem; border-radius: 18px; border: 1px solid var(--line); background: rgba(15,29,47,.7); }
.link-panel h3 { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.paper-links { display: grid; gap: .55rem; }
.paper-links a, .paper-links .unavailable { display: flex; justify-content: space-between; align-items: center; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 10px; font-size: .78rem; }
.paper-links a:hover { border-color: rgba(81,212,200,.35); color: var(--cyan); }
.paper-links .unavailable { color: #667d92; cursor: not-allowed; }
.verified { color: var(--cyan); font-size: .66rem; margin-top: .8rem; }
.detail-layout { display: grid; grid-template-columns: 215px minmax(0,1fr); gap: 3rem; padding-top: 42px; }
.toc { position: sticky; top: 105px; height: max-content; border-left: 1px solid var(--line); padding-left: 1rem; }
.toc b { display: block; font-size: .72rem; color: #7e94a9; text-transform: uppercase; letter-spacing: .11em; margin-bottom: .8rem; }
.toc a { display: block; color: #849aae; font-size: .74rem; padding: .35rem 0; }.toc a:hover { color: var(--cyan); }
.detail-content section { scroll-margin-top: 100px; margin-bottom: 58px; }
.detail-content section > h2 { font-size: 1.65rem; display: flex; align-items: center; gap: .65rem; }
.section-number { color: var(--cyan); font-family: ui-monospace, monospace; font-size: .72rem; letter-spacing: 0; }
.explanation { color: #b7c7d6; font-size: .96rem; }
.question-stack { display: grid; gap: .65rem; }
.question-card { display: grid; grid-template-columns: 45px 1fr; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.022); }
.q-num { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--cyan-soft); color: var(--cyan); font-family: ui-monospace, monospace; font-size: .72rem; }
.question-card h3 { font-size: .82rem; margin-bottom: .25rem; color: #dce6ef; }.question-card p { color: #9fb2c5; font-size: .82rem; margin: 0; }
.dimensions { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.dimension-card { padding: 1.05rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(15,29,47,.55); }
.dimension-card span { display: block; color: var(--cyan); font-size: .67rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .4rem; }.dimension-card p { color: #b4c5d5; font-size: .82rem; margin: 0; }
.lineage-flow { display: flex; align-items: stretch; gap: .65rem; overflow-x: auto; padding-bottom: .5rem; }
.lineage-node { flex: 1; min-width: 160px; padding: .85rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
.lineage-node small { color: var(--muted); display: block; }.lineage-node b { font-size: .82rem; }.lineage-node.current { border-color: rgba(81,212,200,.32); background: var(--cyan-soft); }.lineage-connector { align-self: center; color: #5c758c; }
.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.research-card { padding: 1.05rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(15,29,47,.56); }.research-card h3 { font-size: .78rem; color: var(--cyan); }.research-card p { color: #a7bacb; font-size: .8rem; margin: 0; }
.reading-callout { display: grid; grid-template-columns: 130px 1fr; gap: 1.3rem; padding: 1.4rem; border-radius: 17px; border: 1px solid rgba(242,190,107,.22); background: rgba(242,190,107,.06); }
.reading-grade { display: grid; place-items: center; border-right: 1px solid rgba(242,190,107,.2); color: var(--amber); text-align: center; }.reading-grade strong { font-size: 2rem; line-height: 1; }.reading-grade span { font-size: .68rem; }
.reading-callout p { color: #c4cbd1; margin: 0; }
.source-note { padding: .8rem 1rem; border-left: 2px solid var(--cyan); background: rgba(81,212,200,.04); color: #8fa5b9; font-size: .75rem; }

.search-overlay { position: fixed; inset: 0; z-index: 100; display: none; place-items: start center; padding-top: 12vh; background: rgba(2,8,15,.72); backdrop-filter: blur(10px); }
.search-overlay.open { display: grid; }
.search-panel { width: min(680px, calc(100% - 32px)); max-height: 72vh; border: 1px solid var(--line-strong); border-radius: 20px; background: #0d1b2c; box-shadow: 0 35px 100px rgba(0,0,0,.55); overflow: hidden; }
.search-input-wrap { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: center; padding: 1rem; border-bottom: 1px solid var(--line); }
.search-input-wrap input { width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 1rem; }
.search-hints { display: flex; gap: .45rem; flex-wrap: wrap; padding: .75rem 1rem 0; }.search-hints span { color: #71899f; font-size: .67rem; }
.search-results { max-height: 54vh; overflow: auto; padding: .6rem; }
.search-result { display: grid; grid-template-columns: 48px 1fr auto; gap: .8rem; align-items: center; padding: .75rem; border-radius: 12px; }
.search-result:hover, .search-result.active { background: rgba(255,255,255,.05); }
.result-mark { width: 42px; height: 42px; border-radius: 11px; background: var(--cyan-soft); color: var(--cyan); display: grid; place-items: center; font-size: .66rem; font-weight: 800; }
.search-result b { display: block; font-size: .84rem; }.search-result small { color: var(--muted); font-size: .7rem; }.search-result > span:last-child { color: #60778d; }
.search-empty { padding: 3rem; text-align: center; color: var(--muted); font-size: .82rem; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 20px); padding: .7rem 1rem; border-radius: 10px; background: #e9f7f5; color: #09201f; font-size: .78rem; opacity: 0; pointer-events: none; transition: .25s; }.toast.show { opacity: 1; transform: translate(-50%,0); }

.site-footer { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 36px 0 48px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; color: var(--muted); font-size: .74rem; }
.site-footer b { color: var(--text); }.site-footer p { margin: .35rem 0 0; }.brand-dot { display: inline-block; width: 7px; height: 7px; margin-right: .4rem; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.footer-links { display: flex; align-items: start; gap: 1rem; }.footer-links button { color: inherit; border: 0; padding: 0; background: none; cursor: pointer; }.footer-links a:hover,.footer-links button:hover { color: var(--cyan); }
.footer-note { grid-column: 1/-1; padding-top: 1rem; border-top: 1px solid var(--line); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }.main-nav { position: absolute; display: none; top: 67px; left: 16px; right: 16px; padding: .7rem; background: #0c1a2b; box-shadow: var(--shadow); }.main-nav.open { display: grid; }.search-trigger { display: none; }.nav-toggle { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 80px; }.atlas-visual { height: 390px; }.route-grid,.paper-grid { grid-template-columns: repeat(2,1fr); }.principle-band { grid-template-columns: 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }.filters { position: static; display: grid; grid-template-columns: repeat(2,1fr); gap: .7rem; }.filter-head,.filters > .catalog-search { grid-column: 1/-1; }.filter-group { margin: 0; }
  .detail-hero { grid-template-columns: 1fr; }.link-panel { max-width: 480px; }.detail-layout { grid-template-columns: 1fr; }.toc { display: none; }
}
@media (max-width: 650px) {
  .page { width: min(100% - 28px, var(--max)); padding-top: 45px; }.site-header { height: 66px; padding: 0 15px; }.brand small { display: none; }
  .hero { min-height: 0; gap: 1rem; padding-top: 38px; }.hero h1 { font-size: 3rem; }.hero .lead { font-size: .94rem; }.atlas-visual { height: 330px; transform: scale(.82); margin: -10px -40px; }.fl-1 { left: 8%; }.fl-2 { right: 8%; }
  .stats { grid-template-columns: 1fr 1fr; }.stat:nth-child(2) { border-right: 0; }.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-head { margin-top: 65px; align-items: start; flex-direction: column; gap: .2rem; }.route-grid,.paper-grid { grid-template-columns: 1fr; }.principle-band { padding: 1.4rem; }
  .filters { grid-template-columns: 1fr; }.filter-head,.filters > .catalog-search { grid-column: auto; }.catalog-grid.list .paper-card { display: flex; }.catalog-grid.list .paper-card-top { flex-direction: row; }.catalog-grid.list .paper-tags { display: flex; }
  .timeline-content header { display: block; }.route-papers { align-items: flex-start; }.route-arrow { display: none; }
  .detail-hero h1 { font-size: 3.2rem; }.dimensions,.research-grid { grid-template-columns: 1fr; }.reading-callout { grid-template-columns: 1fr; }.reading-grade { border-right: 0; border-bottom: 1px solid rgba(242,190,107,.2); padding-bottom: 1rem; }.question-card { grid-template-columns: 36px 1fr; }
  .site-footer { grid-template-columns: 1fr; }.footer-links { flex-wrap: wrap; }
}

/* v0.2.0 · Atlas Portal --------------------------------------------------- */
.portal-page { padding-top: 22px; }
.portal-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  min-height: 610px;
  overflow: hidden;
  border-radius: 36px;
  background:
    linear-gradient(90deg, rgba(246,245,240,.99) 0%, rgba(246,245,240,.92) 46%, rgba(246,245,240,.34) 100%),
    url("assets/alpine-spa-background.png") 73% 49% / cover no-repeat;
  box-shadow: 0 34px 90px rgba(42,47,43,.09);
}
.portal-hero::after { content:"";position:absolute;inset:0;pointer-events:none;border:1px solid rgba(255,255,255,.55);border-radius:inherit; }
.portal-copy { position:relative;z-index:1;align-self:center;padding:clamp(58px,7vw,96px);padding-right:24px; }
.portal-copy h1 { max-width:790px;margin:1.25rem 0 1.7rem;color:#252a27;font-size:clamp(3.9rem,7vw,7rem);font-weight:520;line-height:.96;letter-spacing:-.07em; }
.portal-copy h1 span { display:block; }.portal-copy h1 .portal-title-primary { color:#252a27;font-weight:520; }.portal-copy h1 .portal-title-secondary { color:#747d77;font-weight:420; }
.portal-copy > p { max-width:680px;margin:0;color:#4f5752;font-size:1.13rem;line-height:1.95; }
.portal-manifesto { position:relative;z-index:1;align-self:end;margin:0 36px 36px;padding:1.4rem 1.5rem;border:1px solid rgba(255,255,255,.5);border-radius:22px;background:rgba(246,245,240,.62);box-shadow:0 18px 55px rgba(36,42,38,.08);backdrop-filter:blur(22px); }
.portal-manifesto > span,.portal-manifesto > p { color:#6f7772;font-size:.68rem;letter-spacing:.12em;text-transform:uppercase; }
.portal-manifesto blockquote { margin:1.1rem 0;color:#323834;font-family:"Iowan Old Style","Songti SC","STSong",serif;font-size:1.1rem;line-height:1.7; }
.portal-manifesto > p { margin:0;letter-spacing:.08em; }
.direction-section { padding-top:100px; }
.portal-section-head { margin-top:0; }
.direction-count { color:#737b76;font-size:.72rem;letter-spacing:.11em;text-transform:uppercase; }
.direction-card { display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);min-height:520px;overflow:hidden;border-radius:30px;background:#292e2b;color:#f4f3ee;box-shadow:0 28px 75px rgba(34,39,36,.14);transition:transform .55s var(--ease),box-shadow .55s var(--ease); }
.direction-card:hover { transform:translateY(-5px);box-shadow:0 38px 95px rgba(34,39,36,.2); }
.direction-visual { position:relative;overflow:hidden;background:linear-gradient(180deg,rgba(38,44,40,.08),rgba(38,44,40,.68)),url("assets/alpine-spa-background.png") 63% center/cover no-repeat; }
.direction-visual::after { content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 76%,#292e2b 100%); }
.direction-index { position:absolute;z-index:2;top:28px;left:30px;font-size:.72rem;letter-spacing:.16em; }
.direction-status { position:absolute;z-index:2;left:30px;bottom:28px;display:inline-flex;align-items:center;gap:.55rem;padding:.55rem .75rem;border-radius:999px;background:rgba(242,241,235,.84);color:#3a423d;font-size:.7rem;letter-spacing:.05em;backdrop-filter:blur(14px); }
.direction-status i { width:6px;height:6px;border-radius:50%;background:#6b7e72;box-shadow:0 0 0 4px rgba(107,126,114,.14); }
.direction-orbit { position:absolute;z-index:1;top:50%;left:50%;width:210px;height:210px;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.34);border-radius:50%; }
.direction-orbit::before,.direction-orbit::after { content:"";position:absolute;inset:26px;border:1px solid rgba(255,255,255,.25);border-radius:50%; }
.direction-orbit::after { inset:73px;background:rgba(246,245,240,.68);border:0;box-shadow:0 0 50px rgba(255,255,255,.28); }
.direction-orbit i { position:absolute;width:8px;height:8px;border-radius:50%;background:#f5f3ec;box-shadow:0 0 0 6px rgba(245,243,236,.13);animation:portal-breathe 4s ease-in-out infinite; }
.direction-orbit i:nth-child(1){top:16px;left:62px}.direction-orbit i:nth-child(2){right:10px;top:102px;animation-delay:-1.3s}.direction-orbit i:nth-child(3){left:27px;bottom:24px;animation-delay:-2.6s}
@keyframes portal-breathe { 0%,100%{transform:scale(.78);opacity:.62}50%{transform:scale(1.08);opacity:1} }
.direction-body { display:flex;flex-direction:column;justify-content:center;padding:clamp(42px,6vw,78px); }
.direction-kicker { color:#aab1ac;font-size:.72rem;letter-spacing:.15em;text-transform:uppercase; }
.direction-body h2 { margin:1.15rem 0 1.5rem;font-size:clamp(3.1rem,5.5vw,5.8rem);font-weight:480;line-height:.94;letter-spacing:-.065em; }
.direction-body > p { max-width:640px;color:#c4cac6;font-size:1.05rem;line-height:1.9; }
.direction-meta { display:flex;flex-wrap:wrap;gap:1.6rem;margin-top:1rem;padding-top:1.4rem;border-top:1px solid rgba(255,255,255,.11);color:#aeb5b0;font-size:.74rem;text-transform:uppercase;letter-spacing:.08em; }
.direction-meta b { color:#f3f2ed;font-size:1.05rem;font-weight:540; }
.direction-enter { display:inline-flex;align-items:center;gap:.6rem;margin-top:2.2rem;color:#f3f2ed;font-size:.9rem; }
.direction-enter .ui-icon { width:17px;height:17px;transition:transform .35s var(--ease); }.direction-card:hover .direction-enter .ui-icon { transform:translateX(5px); }
.future-note { display:grid;grid-template-columns:160px 1fr;gap:1.5rem;margin-top:24px;padding:1.5rem 1.65rem;border-radius:18px;background:rgba(230,231,226,.64); }
.future-note span { color:#737b76;font-size:.7rem;letter-spacing:.13em;text-transform:uppercase; }.future-note p { margin:0;color:#59615c;font-size:.93rem; }

/* Reading typography: designed for returning to a paper, not merely scanning it. */
.question-card { padding:1.35rem 1.45rem;gap:1rem; }
.question-card h3 { margin-bottom:.55rem;font-size:1.18rem;line-height:1.45; }
.question-card p { color:#4d544f;font-size:1.125rem;line-height:1.88; }
.dimension-card p { color:#4d544f;font-size:1.125rem;line-height:1.86; }
.equation-card > p { padding:0 1.4rem 1.25rem;color:#d2d7d3;font-size:1.125rem;line-height:1.9; }
.symbol-glossary { margin:0 1.35rem 1.35rem;padding:1.15rem 1.2rem;border:1px solid rgba(255,255,255,.09);border-radius:15px;background:rgba(255,255,255,.045); }
.symbol-glossary h4 { margin:0 0 .65rem;color:#aeb6b0;font-size:.74rem;font-weight:560;letter-spacing:.13em;text-transform:uppercase; }
.symbol-glossary dl { margin:0; }
.symbol-glossary dl > div { display:grid;grid-template-columns:minmax(120px,.32fr) minmax(0,1fr);gap:1rem;padding:.62rem 0;border-top:1px solid rgba(255,255,255,.075); }
.symbol-glossary dt,.symbol-glossary dd { margin:0; }
.symbol-glossary dt { color:#fff;font-size:1rem; }
.symbol-glossary dd { color:#c9cfcb;font-size:1.04rem;line-height:1.75; }
.symbol-math .katex { font-size:1.02em; }
.lineage-node b { line-height:1.7; }
.lineage-paper-link { display:inline-flex;align-items:center;gap:.2rem;padding:.08rem .28rem;margin:0 .05rem;border-radius:7px;color:#35413a;background:rgba(94,116,103,.1);text-decoration:underline;text-decoration-color:rgba(53,65,58,.28);text-underline-offset:3px;transition:background .2s ease,color .2s ease; }
.lineage-paper-link:hover { color:#1e2822;background:rgba(94,116,103,.19); }
.lineage-paper-link .ui-icon { width:12px;height:12px; }
.lineage-node.current .lineage-paper-link { background:rgba(255,255,255,.42); }

@media (max-width: 980px) {
  .portal-hero { grid-template-columns:1fr;min-height:720px;background:linear-gradient(180deg,rgba(246,245,240,.98) 0%,rgba(246,245,240,.76) 58%,rgba(246,245,240,.28) 100%),url("assets/alpine-spa-background.png") center/cover no-repeat; }
  .portal-copy { align-self:start;padding:70px 54px 20px; }
  .portal-manifesto { max-width:430px;margin:0 42px 42px; }
  .direction-card { grid-template-columns:1fr; }.direction-visual { min-height:330px; }.direction-visual::after { background:linear-gradient(180deg,transparent 72%,#292e2b 100%); }
}

@media (max-width: 650px) {
  .portal-page { padding-top:18px; }
  .portal-hero { min-height:680px;border-radius:28px;background:linear-gradient(180deg,rgba(246,245,240,.98) 0%,rgba(246,245,240,.82) 62%,rgba(246,245,240,.3) 100%),url("assets/alpine-spa-background.png") 61% center/cover no-repeat; }
  .portal-copy { padding:58px 24px 10px; }.portal-copy h1 { font-size:2.84rem;line-height:1.02;letter-spacing:-.075em; }.portal-copy h1 span { white-space:nowrap; }.portal-copy > p { font-size:1rem;line-height:1.82; }
  .portal-manifesto { margin:0 18px 20px;padding:1.15rem; }.portal-manifesto blockquote { font-size:1rem; }
  .direction-section { padding-top:78px; }.direction-count { display:none; }
  .direction-card { min-height:0;border-radius:25px; }.direction-visual { min-height:270px; }.direction-body { padding:34px 24px 40px; }.direction-body h2 { font-size:3.1rem; }.direction-body > p { font-size:1rem; }
  .direction-meta { gap:1rem; }.future-note { grid-template-columns:1fr;gap:.55rem;padding:1.25rem; }
  .question-card { grid-template-columns:38px 1fr;padding:1.15rem; }.question-card h3 { font-size:1.16rem; }.question-card p { font-size:1.125rem;line-height:1.82; }
  .dimension-card p { font-size:1.125rem; }
  .equation-card > p { padding:0 1rem 1rem;font-size:1.125rem;line-height:1.82; }
  .symbol-glossary { margin:0 1rem 1rem;padding:1rem; }.symbol-glossary dl > div { grid-template-columns:1fr;gap:.25rem; }.symbol-glossary dd { font-size:1.04rem; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; } }

/* Refined editorial theme — calm, light and typography-led. */
:root {
  --bg: #f5f5f7;
  --bg-soft: #fbfbfd;
  --panel: rgba(255,255,255,.82);
  --panel-solid: #ffffff;
  --panel-light: #f5f5f7;
  --line: rgba(0,0,0,.09);
  --line-strong: rgba(0,0,0,.16);
  --text: #1d1d1f;
  --muted: #6e6e73;
  --cyan: #147ce5;
  --cyan-soft: rgba(20,124,229,.09);
  --blue: #0071e3;
  --purple: #8a63d2;
  --amber: #a86700;
  --red: #d70015;
  --shadow: 0 18px 50px rgba(0,0,0,.08);
}
body {
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.72;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
}
body::before,.ambient { display: none; }
h1,h2,h3,.stat strong { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", sans-serif; }
h1 { font-size: clamp(2.9rem, 6.2vw, 5.15rem); line-height: 1.04; letter-spacing: -.058em; font-weight: 720; }
h2 { font-size: clamp(1.75rem, 3vw, 2.55rem); line-height: 1.18; letter-spacing: -.04em; font-weight: 680; }
h3 { font-weight: 650; }
.gradient-text { color: var(--text); background: none; }
.eyebrow { color: #6e6e73; font-size: .69rem; letter-spacing: .13em; }
.eyebrow::before { background: #b4b4b8; }
.site-header {
  height: 68px;
  background: rgba(250,250,252,.82);
  border-color: rgba(0,0,0,.07);
  backdrop-filter: saturate(180%) blur(22px);
}
.brand-mark { width: 28px; height: 28px; gap: 3px; }
.brand-mark i { background: #1d1d1f; border-radius: 2px; }
.brand-mark i:nth-child(2),.brand-mark i:nth-child(3) { opacity: .25; }
.brand b { font-size: .88rem; }.brand small { color: #86868b; }
.main-nav { border: 0; background: transparent; gap: .1rem; }
.main-nav a { color: #6e6e73; font-size: .8rem; padding: .42rem .8rem; }
.main-nav a:hover,.main-nav a.active { color: #1d1d1f; background: rgba(0,0,0,.055); }
.search-trigger { background: rgba(255,255,255,.68); border-color: rgba(0,0,0,.08); color: #3a3a3c; }
.search-trigger:hover { background: white; border-color: rgba(0,0,0,.15); }
kbd { color: #6e6e73; background: #f2f2f4; border-color: rgba(0,0,0,.08); }
.page { padding-top: 72px; }
.hero { min-height: 610px; padding-top: 42px; }
.hero-copy .lead { color: #515154; font-size: 1.13rem; line-height: 1.75; max-width: 610px; }
.hero-note { color: #7b7b80; }.hero-note span::before { color: #0071e3; }
.btn { border-color: rgba(0,0,0,.12); background: rgba(255,255,255,.7); color: #1d1d1f; border-radius: 980px; min-height: 44px; padding: .65rem 1.15rem; }
.btn:hover { background: white; border-color: rgba(0,0,0,.18); box-shadow: 0 8px 20px rgba(0,0,0,.07); }
.btn-primary { color: white; background: #1d1d1f; border-color: #1d1d1f; }
.btn-primary:hover { color: white; background: #000; }
.atlas-visual { height: 430px; }
.orbit { border-color: rgba(0,0,0,.07); }
.orbit::before,.orbit::after { background: #86868b; box-shadow: none; width: 8px; height: 8px; }
.visual-core { background: linear-gradient(145deg,#fff,#f1f1f3); border-color: rgba(0,0,0,.09); box-shadow: 0 30px 70px rgba(0,0,0,.1); }
.visual-core::before { border-color: rgba(0,0,0,.09); }.visual-core::after { background: #1d1d1f; box-shadow: none; }
.float-label { color: #515154; background: rgba(255,255,255,.88); border-color: rgba(0,0,0,.08); box-shadow: 0 10px 30px rgba(0,0,0,.07); }.float-label b { color: #1d1d1f; }
.stats { background: rgba(255,255,255,.72); border-color: rgba(0,0,0,.08); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; }
.stat { border-color: rgba(0,0,0,.07); }.stat span { color: #86868b; }
.section-head p,.muted { color: #6e6e73; }.section-head a { color: #06c; }
.route-card { background: #fff; border-color: rgba(0,0,0,.07); box-shadow: 0 1px 2px rgba(0,0,0,.02); }
.route-card:hover { border-color: rgba(0,0,0,.12); box-shadow: 0 16px 40px rgba(0,0,0,.07); }
.route-card::after { opacity: .06; }.route-card p { color: #6e6e73; }.route-meta { color: #86868b; }
.route-icon { background: #f5f5f7; border-color: rgba(0,0,0,.06); filter: saturate(.65); }
.paper-card { background: #fff; border-color: rgba(0,0,0,.07); box-shadow: 0 1px 2px rgba(0,0,0,.02); }
.paper-card:hover { background: #fff; border-color: rgba(0,0,0,.13); box-shadow: 0 16px 40px rgba(0,0,0,.07); }
.paper-card-top,.paper-full-title { color: #86868b; }.paper-card .summary { color: #515154; }
.tag,.chip { color: #6e6e73; border-color: rgba(0,0,0,.08); background: #f5f5f7; }.tag.cyan { color: #06c; background: rgba(0,102,204,.07); border-color: transparent; }
.paper-card-footer { border-color: rgba(0,0,0,.07); }.paper-card-footer span { color: #06c; }.paper-card-footer b { color: #86868b; }
.principle-band { background: #fff; border-color: rgba(0,0,0,.07); box-shadow: 0 1px 2px rgba(0,0,0,.02); }
.principle-list div { background: #f5f5f7; color: #515154; }.principle-list div::before { color: #06c; }
.page-hero { border-color: rgba(0,0,0,.08); }.page-hero p { color: #6e6e73; }
.filters { background: rgba(255,255,255,.84); border-color: rgba(0,0,0,.08); box-shadow: 0 8px 28px rgba(0,0,0,.04); }
.filter-head button { color: #06c; }.filter-group label { color: #86868b; }
.filter-group select,.catalog-search { color: #1d1d1f; background: #f5f5f7; border-color: rgba(0,0,0,.08); }
.filter-group select:focus,.catalog-search:focus { background: #fff; border-color: #0071e3; box-shadow: 0 0 0 3px rgba(0,113,227,.12); }
select option { background: white; }.result-count,.view-toggle button { color: #6e6e73; }.view-toggle button { border-color: rgba(0,0,0,.09); }.view-toggle button.active { color: #06c; background: rgba(0,102,204,.07); }
.timeline-route::before { opacity: .2; }.timeline-node { background: white; box-shadow: 0 6px 20px rgba(0,0,0,.05); filter: saturate(.7); }
.timeline-content { background: white; border-color: rgba(0,0,0,.07); }.timeline-content header p { color: #6e6e73; }.route-paper-link { color: #515154; background: #f5f5f7; border-color: transparent; }
.detail-hero { border-color: rgba(0,0,0,.08); }.detail-full-title { color: #6e6e73; }.detail-summary { color: #343437; font-size: 1.12rem; line-height: 1.75; }
.link-panel { background: #fff; border-color: rgba(0,0,0,.08); box-shadow: 0 10px 30px rgba(0,0,0,.045); }.link-panel h3 { color: #86868b; }.paper-links a,.paper-links .unavailable { border-color: rgba(0,0,0,.08); }.paper-links a:hover { color: #06c; border-color: rgba(0,102,204,.3); }.paper-links .unavailable { color: #aeaeb2; }.verified { color: #2c8b43; }
.breadcrumbs { color: #86868b; }.breadcrumbs a:hover { color: #06c; }
.toc { border-color: rgba(0,0,0,.09); }.toc b { color: #86868b; }
.toc button { display: block; width: 100%; border: 0; background: none; color: #6e6e73; font-size: .76rem; text-align: left; padding: .34rem 0; cursor: pointer; }.toc button:hover,.toc button:focus { color: #06c; outline: none; }
.detail-content section > h2 { color: #1d1d1f; }.section-number { color: #86868b; }.explanation { color: #515154; font-size: 1rem; line-height: 1.85; }
.source-note { color: #6e6e73; background: #f1f6fb; border-color: #0071e3; }
.question-card,.dimension-card,.research-card { background: #fff; border-color: rgba(0,0,0,.07); }.question-card h3 { color: #1d1d1f; }.question-card p,.dimension-card p,.research-card p { color: #515154; }.q-num { color: #06c; background: rgba(0,102,204,.07); }
.dimension-card span,.research-card h3 { color: #147ce5; }
.lineage-node { background: white; border-color: rgba(0,0,0,.08); }.lineage-node small { color: #86868b; }.lineage-node.current { background: #f1f6fb; border-color: rgba(0,102,204,.18); }.lineage-connector { color: #aeaeb2; }
.reading-callout { background: #fffaf2; border-color: rgba(168,103,0,.18); }.reading-grade { color: #a86700; border-color: rgba(168,103,0,.16); }.reading-callout p { color: #515154; }
.section-intro { color: #6e6e73; margin: -.35rem 0 1.25rem; }
.concept-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; }
.concept-card { padding: 1.2rem; background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 18px; }
.concept-card h3 { font-size: .95rem; margin-bottom: .55rem; }.concept-card p { color: #6e6e73; font-size: .82rem; margin: 0; }
.method-flow { display: grid; grid-template-columns: repeat(4,1fr); gap: .65rem; }
.flow-step { position: relative; min-height: 128px; padding: 1rem; background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 18px; }
.flow-step:not(:last-child)::after { content: "→"; position: absolute; right: -.55rem; top: 48%; z-index: 2; width: 1rem; height: 1rem; display: grid; place-items: center; color: #aeaeb2; background: var(--bg); border-radius: 50%; font-size: .7rem; }
.flow-step > span { color: #86868b; font-size: .66rem; letter-spacing: .08em; }.flow-step p { margin: 1rem 0 0; color: #343437; font-size: .84rem; }
.algorithm-list { display: grid; gap: .75rem; }
.algorithm-item { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.15rem; background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 18px; }
.algorithm-item > span { color: #86868b; font-size: .72rem; }.algorithm-item h3 { font-size: .94rem; margin-bottom: .35rem; }.algorithm-item p { color: #515154; font-size: .84rem; margin: 0; }
.experiment-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; margin-bottom: 1rem; }
.experiment-grid article { padding: 1.15rem; background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 18px; }.experiment-grid span { color: #86868b; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }.experiment-grid p { color: #343437; font-size: .84rem; margin: .7rem 0 0; }
.paper-figure { margin: 1.5rem 0 0; overflow: hidden; background: white; border: 1px solid rgba(0,0,0,.07); border-radius: 22px; }
.paper-figure img { display: block; width: 100%; max-height: 680px; object-fit: contain; background: white; }.paper-figure figcaption { padding: .8rem 1rem; color: #6e6e73; font-size: .72rem; border-top: 1px solid rgba(0,0,0,.07); }.paper-figure figcaption a { color: #06c; }
.paper-figure.figure-unavailable::before { content: "论文原图需要联网加载，可通过下方作者项目页查看。"; display: block; padding: 2.5rem 1rem; color: #86868b; text-align: center; font-size: .82rem; background: #fbfbfd; }
.search-overlay { background: rgba(245,245,247,.7); backdrop-filter: saturate(180%) blur(18px); }.search-panel { background: rgba(255,255,255,.96); border-color: rgba(0,0,0,.1); box-shadow: 0 30px 90px rgba(0,0,0,.17); }.search-input-wrap { border-color: rgba(0,0,0,.08); }.search-input-wrap input { color: #1d1d1f; }.search-hints span { color: #86868b; }.search-result:hover,.search-result.active { background: #f5f5f7; }.result-mark { color: #06c; background: rgba(0,102,204,.07); }.search-result small { color: #86868b; }.search-empty { color: #6e6e73; }
.site-footer { border-color: rgba(0,0,0,.08); color: #86868b; }.site-footer b { color: #1d1d1f; }.brand-dot { background: #1d1d1f; box-shadow: none; }.footer-note { border-color: rgba(0,0,0,.07); }.footer-links a:hover,.footer-links button:hover { color: #06c; }

@media (max-width: 980px) {
  .main-nav { background: rgba(255,255,255,.97); box-shadow: 0 20px 50px rgba(0,0,0,.12); border: 1px solid rgba(0,0,0,.08); }
  .concept-grid,.experiment-grid { grid-template-columns: 1fr 1fr; }.method-flow { grid-template-columns: 1fr 1fr; }.flow-step:nth-child(2)::after { display: none; }
}
@media (max-width: 650px) {
  body { font-size: 14px; }.site-header { height: 62px; }.hero h1 { font-size: 2.75rem; }.hero-copy .lead { font-size: .95rem; }.atlas-visual { opacity: .9; }
  .concept-grid,.experiment-grid,.method-flow { grid-template-columns: 1fr; }.flow-step { min-height: 0; }.flow-step:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -.65rem; }.algorithm-item { grid-template-columns: 36px 1fr; }
}

/* ──────────────────────────────────────────────────────────
   Alpine editorial system — restrained, warm and spacious
   ────────────────────────────────────────────────────────── */
:root {
  --bg: #ecebe6;
  --bg-soft: #f5f4ef;
  --panel-solid: #fbfaf6;
  --line: rgba(31,34,32,.10);
  --line-strong: rgba(31,34,32,.18);
  --text: #202321;
  --muted: #6d726f;
  --cyan: #626d67;
  --cyan-soft: rgba(98,109,103,.10);
  --blue: #4e5a54;
  --amber: #8a6b3f;
  --radius: 26px;
  --max: 1320px;
  --ease: cubic-bezier(.22,1,.36,1);
}
html { scroll-padding-top: 92px; }
body {
  font-size: 16px;
  line-height: 1.75;
  background:
    radial-gradient(circle at 10% 8%, rgba(255,255,255,.7), transparent 30rem),
    linear-gradient(180deg,#f2f1ec 0,#e9e8e2 100%);
  color: var(--text);
}
.ui-icon { width: 18px; height: 18px; display: inline-block; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.btn .ui-icon,.section-head a .ui-icon,.paper-card-footer .ui-icon { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.btn:hover .ui-icon,.section-head a:hover .ui-icon,.paper-card:hover .paper-card-footer .ui-icon { transform: translateX(4px); }
.site-header {
  top: 10px;
  width: min(calc(100% - 36px), 1380px);
  height: 64px;
  margin: 14px auto 0;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 18px;
  background: rgba(247,246,241,.76);
  box-shadow: 0 10px 34px rgba(38,42,39,.06);
  backdrop-filter: blur(24px) saturate(120%);
}
.brand { gap: .65rem; }.brand-mark { width: 25px; height: 25px; }.brand-mark i { background: #303532; border-radius: 3px; }.brand b { font-size: .9rem; font-weight: 650; }.brand small { font-size: .66rem; letter-spacing: .02em; }
.main-nav a { min-width: 74px; text-align: center; font-size: .83rem; padding: .45rem .85rem; border-radius: 12px; }
.main-nav a:hover,.main-nav a.active { background: rgba(46,51,48,.07); }
.search-trigger { min-width: 92px; justify-content: space-between; padding: .43rem .5rem .43rem .75rem; background: rgba(255,255,255,.44); }
.page { width: min(var(--max),calc(100% - 56px)); padding: 46px 0 120px; }
.home-page { padding-top: 30px; }
.premium-hero {
  min-height: 650px;
  grid-template-columns: minmax(0,1.3fr) minmax(280px,.7fr);
  gap: 4.5rem;
  padding: 86px 74px 110px;
  overflow: hidden;
  border-radius: 38px;
  background:
    linear-gradient(90deg,rgba(247,246,241,.97) 0%,rgba(247,246,241,.9) 42%,rgba(247,246,241,.28) 72%,rgba(247,246,241,.08) 100%),
    url("assets/alpine-spa-background.png") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.58), 0 30px 80px rgba(44,47,45,.09);
}
.hero-copy { max-width: 730px; align-self: center; }
.hero-copy h1 { margin: 1.25rem 0 1.6rem; font-size: clamp(4rem,7.2vw,6.7rem); line-height: .98; letter-spacing: -.072em; font-weight: 660; }
.hero-copy .lead { max-width: 620px; color: #545a56; font-size: 1.14rem; line-height: 1.85; }
.hero-actions { margin-top: 2.3rem; gap: .7rem; }
.btn { min-height: 48px; padding: .72rem 1.25rem; border: 1px solid rgba(32,35,33,.13); border-radius: 14px; font-size: .9rem; font-weight: 580; box-shadow: none; transition: transform .35s var(--ease),background .35s var(--ease),box-shadow .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(33,37,34,.09); }
.btn-primary { background: #252a27; border-color: #252a27; }.btn-primary:hover { background: #151816; }
.hero-note { margin-top: 2rem; gap: 1.25rem; font-size: .78rem; color: #6a706c; }
.hero-note span { display: inline-flex; align-items: center; gap: .35rem; }.hero-note span::before { display:none; }.hero-note .ui-icon { width: 14px; height: 14px; }
.hero-index { align-self: end; justify-self: end; width: min(100%,330px); padding: 1.25rem; border: 1px solid rgba(255,255,255,.7); border-radius: 24px; background: rgba(247,246,241,.62); box-shadow: 0 20px 50px rgba(42,46,43,.08); backdrop-filter: blur(18px); }
.hero-index-label { display: block; padding: .25rem .35rem .9rem; color: #777d79; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.hero-index > div { display: grid; grid-template-columns: 34px 1fr; gap: .8rem; align-items: center; padding: .85rem .35rem; border-top: 1px solid rgba(32,35,33,.1); }
.hero-index > div > b { color: #8b908d; font-size: .72rem; font-weight: 550; }.hero-index p { margin: 0; line-height: 1.25; }.hero-index strong { display: block; font-size: .92rem; font-weight: 620; }.hero-index small { color: #747a76; font-size: .73rem; }
.stats { position: relative; z-index: 2; width: calc(100% - 92px); margin: -46px auto 0; border: 0; border-radius: 24px; background: rgba(251,250,246,.9); box-shadow: 0 20px 54px rgba(40,44,41,.1); backdrop-filter: blur(18px); }
.stat { padding: 1.65rem 2rem; border-color: rgba(32,35,33,.08); }.stat strong { font-size: 2.15rem; font-weight: 570; }.stat span { font-size: .8rem; }
.section-head { margin: 108px 0 34px; align-items: end; }.section-head h2 { margin-bottom: .55rem; }.section-head p { font-size: 1rem; }.section-head a { display: inline-flex; align-items: center; gap: .35rem; color: #4e5953; font-size: .86rem; font-weight: 570; }
.eyebrow { color: #747a76; font-size: .72rem; font-weight: 620; letter-spacing: .14em; }.eyebrow::before { width: 18px; background: #858b87; }
h2 { font-size: clamp(2rem,3.2vw,3rem); letter-spacing: -.05em; font-weight: 630; }
.route-grid { gap: 16px; }.route-card { min-height: 250px; padding: 1.7rem; border: 0; border-radius: 26px; background: rgba(250,249,245,.82); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); transition: transform .45s var(--ease),box-shadow .45s var(--ease),background .45s var(--ease); }
.route-card:hover { transform: translateY(-6px); background: #fbfaf6; box-shadow: 0 22px 50px rgba(37,41,38,.09); }.route-card::after { display:none; }
.route-icon { width: 46px; height: 46px; color: #4f5a54; border: 0; border-radius: 15px; background: #ecece7; filter: none; }.route-icon .ui-icon { width: 21px; height: 21px; }
.route-card h3 { margin-top: 1.4rem; font-size: 1.15rem; }.route-card p { font-size: .9rem; line-height: 1.75; }.route-meta { margin-top: 1.35rem; font-size: .76rem; }.route-meta .arrow .ui-icon { width: 16px; height: 16px; }
.paper-grid { gap: 16px; }.paper-card { min-height: 320px; padding: 1.65rem; border: 0; border-radius: 26px; background: rgba(250,249,245,.9); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); transition: transform .45s var(--ease),box-shadow .45s var(--ease); }.paper-card:hover { transform: translateY(-6px); border: 0; box-shadow: 0 22px 54px rgba(37,41,38,.09); }
.paper-card-top { font-size: .78rem; }.paper-card h3 { margin-top: 1.35rem; font-size: 1.35rem; }.paper-full-title { font-size: .81rem; line-height: 1.55; }.paper-card .summary { font-size: .93rem; line-height: 1.75; }.tag,.chip { padding: .3rem .65rem; font-size: .73rem; border: 0; background: #ebeae5; }.tag.cyan { color: #4d5952; background: #e4e8e4; }
.paper-card-footer { margin-top: 1.15rem; padding-top: 1rem; }.paper-card-footer span { display: inline-flex; align-items: center; gap: .3rem; color: #4e5953; font-size: .8rem; font-weight: 580; }
.principle-band { margin-top: 108px; padding: 3.4rem; border: 0; border-radius: 32px; background: #292e2b; color: #f5f4ef; box-shadow: 0 30px 70px rgba(33,37,34,.12); }.principle-band .eyebrow,.principle-band .muted { color: #aeb5b0; }.principle-band .eyebrow::before { background:#969d98; }.principle-band .btn { color:#f5f4ef;border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.06); }.principle-list div { padding: .85rem 1rem; color: #d9ddd9; background: rgba(255,255,255,.055); }.principle-list div::before { color: #aeb8b1; }
.page-hero { padding: 58px 0 54px; }.page-hero h1 { font-size: clamp(3.2rem,6vw,5.5rem); }.page-hero p { max-width: 780px; font-size: 1.08rem; }
.filters { top: 98px; padding: 1.3rem; border: 0; border-radius: 22px; background: rgba(250,249,245,.92); box-shadow: 0 18px 45px rgba(40,44,41,.07); }.filter-group label { font-size: .74rem; }.filter-group select,.catalog-search { padding: .76rem .82rem; border: 0; border-radius: 12px; background: #eeede8; font-size: .85rem; }
.timeline-node { border: 0; background: #f9f8f4; color: #505b55; }.timeline-node .ui-icon { width: 21px;height:21px; }.timeline-content { padding: 1.7rem; border: 0; border-radius: 24px; background: rgba(250,249,245,.9); }
.paper-detail { padding-top: 42px; }.detail-hero { grid-template-columns: minmax(0,1fr) 320px; gap: 3rem; padding: 52px; border: 0; border-radius: 32px; background: linear-gradient(135deg,rgba(251,250,246,.96),rgba(243,242,236,.9)); box-shadow: 0 22px 60px rgba(39,43,40,.07); }
.detail-hero h1 { font-size: clamp(3.8rem,7vw,6.6rem); font-weight: 640; }.detail-full-title { font-size: 1.05rem; }.detail-summary { max-width: 820px; font-size: 1.2rem; line-height: 1.85; }.detail-meta .tag { font-size: .77rem; }
.link-panel { padding: 1rem; border: 0; border-radius: 22px; background: rgba(255,255,255,.58); box-shadow: none; }.paper-links a,.paper-links .unavailable { min-height: 48px; border: 0; border-radius: 12px; background: rgba(236,235,230,.72); font-size: .83rem; }.paper-links a .ui-icon { width:15px;height:15px; }
.detail-layout { grid-template-columns: 220px minmax(0,1fr); gap: 4.5rem; padding-top: 70px; }.toc { padding: 1.2rem; border: 0; border-radius: 20px; background: rgba(247,246,241,.72); backdrop-filter: blur(12px); }.toc b { padding: .1rem .35rem .7rem; font-size: .75rem; }.toc button { padding: .42rem .35rem; font-size: .82rem; border-radius: 8px; transition: color .25s,background .25s; }.toc button:hover,.toc button.active { color: #29312d; background: rgba(67,77,71,.08); }
.detail-content { max-width: 940px; }.detail-content section { margin-bottom: 82px; }.detail-content section > h2 { margin-bottom: 1.35rem; font-size: clamp(1.8rem,3vw,2.55rem); }.section-number { color: #878d89; font-size: .75rem; }.section-intro { font-size: .98rem; line-height: 1.8; }.explanation { color: #454b47; font-size: 1.08rem; line-height: 1.95; }
.source-note { padding: 1rem 1.15rem; border: 0; border-radius: 12px; color: #626963; background: rgba(228,230,225,.75); font-size: .83rem; }
.concept-grid { gap: 12px; }.concept-card { min-height: 160px; padding: 1.35rem; border: 0; border-radius: 20px; background: rgba(250,249,245,.88); }.concept-card h3 { font-size: 1.05rem; }.concept-card p { color: #5d635f; font-size: .9rem; line-height: 1.8; }
.method-flow { gap: 10px; }.flow-step { min-height: 150px; padding: 1.2rem; border: 0; border-radius: 20px; background: rgba(250,249,245,.9); }.flow-step:not(:last-child)::after { color: #727975; background: #ecebe6; }.flow-step > span { font-size: .72rem; }.flow-step p { color: #393e3b; font-size: .9rem; line-height: 1.75; }
.algorithm-list { gap: 12px; }.algorithm-item { padding: 1.35rem; border: 0; border-radius: 20px; background: rgba(250,249,245,.9); }.algorithm-item h3 { font-size: 1.03rem; }.algorithm-item p { color: #515753; font-size: .93rem; line-height: 1.85; }
.equation-list { display: grid; gap: 14px; }.equation-card { overflow: hidden; border-radius: 22px; background: #292e2b; color: #f3f2ed; box-shadow: 0 18px 45px rgba(31,35,32,.1); }.equation-card header { display: flex; align-items: baseline; gap: .8rem; padding: 1.15rem 1.35rem 0; }.equation-card header span { color: #9fa7a1; font-size: .72rem; }.equation-card h3 { margin:0;font-size: .94rem;font-weight:570; }.equation { margin: 1rem 1.35rem; padding: 1.35rem 1.5rem; overflow-x:auto; border:1px solid rgba(255,255,255,.1); border-radius:14px; background:rgba(255,255,255,.045); color:#fff; font-family:"STIX Two Math","Cambria Math","Times New Roman",serif; font-size:1.18rem; line-height:1.65; letter-spacing:.01em; white-space:normal; scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.2) transparent; }.equation .katex-display { margin:0;overflow:visible; }.equation .katex { font-size:1.06em; }.equation .katex-html { padding:.12rem 0; }.equation-fallback { white-space:pre-wrap; }.equation-card > p { margin:0;padding:0 1.35rem 1.35rem;color:#c8ceca;font-size:.9rem;line-height:1.85; }
.experiment-grid { gap: 12px; }.experiment-grid article { min-height: 180px; padding: 1.35rem; border: 0; border-radius: 20px; background: rgba(250,249,245,.9); }.experiment-grid span { font-size: .75rem; }.experiment-grid p { font-size: .92rem; line-height: 1.8; }
.question-stack { gap: 10px; }.question-card { padding: 1.2rem; border: 0; border-radius: 18px; background: rgba(250,249,245,.9); }.question-card h3 { font-size: .92rem; }.question-card p { font-size: .91rem; line-height: 1.8; }.q-num { background:#e5e8e4;color:#59635d; }
.dimensions { gap: 12px; }.dimension-card { min-height: 150px; padding: 1.25rem; border: 0; border-radius: 20px; background: rgba(250,249,245,.9); }.dimension-card span { color:#657069;font-size:.74rem; }.dimension-card p { font-size:.92rem;line-height:1.8; }
.lineage-node { padding:1rem;border:0;border-radius:16px;background:rgba(250,249,245,.9); }.lineage-node.current { background:#dfe4df;border:0; }.reading-callout { padding:1.6rem;border:0;border-radius:22px;background:#f5eee2; }.research-grid { gap:12px; }.research-card { padding:1.25rem;border:0;border-radius:20px;background:rgba(250,249,245,.9); }.research-card h3 { color:#657069; }.research-card p { font-size:.91rem;line-height:1.8; }
.paper-figure { border: 0; border-radius: 24px; background: #faf9f5; box-shadow: 0 20px 50px rgba(39,43,40,.08); }.paper-figure figcaption { padding: 1rem 1.15rem; border-color: rgba(31,34,32,.08); font-size: .8rem; }.paper-figure figcaption a { display:inline-flex;align-items:center;gap:.25rem;color:#4e5953; }.paper-figure figcaption .ui-icon { width:13px;height:13px; }
.view-toggle button { display:grid; place-items:center; }.view-toggle .ui-icon { width:16px;height:16px; }
.route-arrow,.lineage-connector { display:inline-grid;place-items:center; }.route-arrow .ui-icon,.lineage-connector .ui-icon { width:14px;height:14px; }
.verified { display:flex;align-items:center;gap:.45rem;color:#5d685f;font-size:.72rem; }.verified > span { width:6px;height:6px;border-radius:50%;background:#718178;box-shadow:0 0 0 4px rgba(113,129,120,.1); }
.search-overlay { display:grid; visibility:hidden; opacity:0; pointer-events:none; transition:opacity .3s var(--ease),visibility .3s; }.search-overlay.open { visibility:visible;opacity:1;pointer-events:auto; }.search-panel { transform:translateY(-10px) scale(.985); border:0;border-radius:24px;background:rgba(247,246,241,.96);box-shadow:0 40px 100px rgba(29,33,30,.18);transition:transform .4s var(--ease); }.search-overlay.open .search-panel { transform:none; }.search-input-wrap { padding:1.15rem 1.25rem; }.search-input-wrap input { font-size:1.05rem; }.search-result { padding:.85rem;border-radius:14px; }.result-mark { background:#e7e8e3;color:#525c56; }.result-mark .ui-icon { width:18px;height:18px; }.search-result > .ui-icon { color:#7b817d;width:16px;height:16px; }
.site-footer { padding-top:46px; }.footer-links { gap:1.3rem; }
#app { transition: opacity .28s var(--ease), transform .35s var(--ease); }.page-enter { animation: page-in .48s var(--ease) both; } @keyframes page-in { from { opacity:0; transform:translateY(8px); } to { opacity:1;transform:none; } }

@media (max-width: 980px) {
  .site-header { width:calc(100% - 24px);margin-top:10px; }.main-nav { top:72px;left:12px;right:12px;border:0;border-radius:18px; }
  .premium-hero { grid-template-columns:1fr;padding:72px 52px 100px;background:linear-gradient(90deg,rgba(247,246,241,.96),rgba(247,246,241,.72)),url("assets/alpine-spa-background.png") center/cover no-repeat; }.hero-index { justify-self:start;width:330px; }.stats { width:calc(100% - 48px); }
  .detail-hero { grid-template-columns:1fr;padding:38px; }.detail-layout { grid-template-columns:minmax(0,1fr);gap:0;min-width:0; }.detail-content { max-width:none;min-width:0; }.toc { display:flex;position:sticky;top:82px;z-index:10;gap:.25rem;width:100%;min-width:0;max-width:100%;margin-bottom:42px;padding:.55rem;overflow-x:auto;white-space:nowrap;box-shadow:0 10px 30px rgba(35,39,36,.07);scrollbar-width:none; }.toc::-webkit-scrollbar { display:none; }.toc b { display:none; }.toc button { flex:0 0 auto;width:auto;padding:.55rem .75rem; }.detail-content section { scroll-margin-top:155px; }
  .concept-grid,.experiment-grid { grid-template-columns:1fr; }.method-flow { grid-template-columns:1fr 1fr; }.research-grid { grid-template-columns:1fr; }
}
@media (max-width: 650px) {
  body { font-size:16px; }.site-header { height:58px;padding:0 15px;border-radius:15px; }.page { width:calc(100% - 24px);padding-top:30px;padding-bottom:80px; }.home-page { padding-top:18px; }
  .premium-hero { min-height:680px;padding:58px 24px 92px;border-radius:28px;background:linear-gradient(180deg,rgba(247,246,241,.96) 0%,rgba(247,246,241,.75) 72%,rgba(247,246,241,.45) 100%),url("assets/alpine-spa-background.png") 64% center/cover no-repeat; }.hero-copy h1 { margin:1rem 0 1.35rem;font-size:3.4rem;line-height:1.01; }.hero-copy .lead { font-size:1rem;line-height:1.8; }.hero-actions { display:grid;grid-template-columns:1fr; }.hero-actions .btn { width:100%; }.hero-note { gap:.7rem;flex-direction:column; }.hero-index { width:100%;padding:1rem;border-radius:20px; }.hero-index > div { padding:.65rem .25rem; }
  .stats { width:calc(100% - 24px);margin-top:-38px;grid-template-columns:1fr 1fr;border-radius:20px; }.stat { padding:1.2rem; }.stat strong { font-size:1.75rem; }
  .section-head { margin-top:82px;gap:.6rem; }.section-head h2 { font-size:2.15rem; }.route-grid,.paper-grid { gap:12px; }.route-card { min-height:220px;padding:1.4rem;border-radius:22px; }.paper-card { min-height:280px;padding:1.4rem;border-radius:22px; }.principle-band { margin-top:82px;padding:2rem 1.35rem;border-radius:26px; }
  .page-hero { padding:36px 0; }.page-hero h1 { font-size:3.1rem; }.detail-hero { padding:26px 20px;border-radius:26px; }.detail-hero h1 { font-size:3.45rem; }.detail-summary { font-size:1.05rem; }.detail-layout { padding-top:36px; }.toc { top:70px;margin-bottom:36px; }.detail-content section { margin-bottom:64px;scroll-margin-top:145px; }.detail-content section > h2 { font-size:1.85rem; }.explanation { font-size:1rem; }.method-flow { grid-template-columns:1fr; }.flow-step { min-height:0; }.algorithm-item { grid-template-columns:32px 1fr;padding:1.15rem; }.equation { margin:.8rem 1rem;padding:1rem;font-size:1rem; }.equation-card header { padding:1rem 1rem 0; }.equation-card > p { padding:0 1rem 1rem;font-size:.87rem; }.dimensions { grid-template-columns:1fr; }.reading-callout { grid-template-columns:1fr; }.research-grid { grid-template-columns:1fr; }
  .search-overlay { padding-top:8vh; }.search-panel { width:calc(100% - 20px); }
}

/* Final reading-scale overrides must follow the complete editorial theme. */
.question-card h3 { margin-bottom:.55rem;font-size:1.18rem;line-height:1.45; }
.question-card p { color:#4d544f;font-size:1.125rem;line-height:1.88; }
.dimension-card p { color:#4d544f;font-size:1.125rem;line-height:1.86; }
.equation-card > p { padding:0 1.4rem 1.25rem;color:#d2d7d3;font-size:1.125rem;line-height:1.9; }
.symbol-glossary dd { color:#c9cfcb;font-size:1.04rem;line-height:1.75; }

@media (max-width: 650px) {
  .question-card h3 { font-size:1.16rem; }
  .question-card p,.dimension-card p,.equation-card > p { font-size:1.125rem; }
  .equation-card > p { padding:0 1rem 1rem;line-height:1.82; }
  .symbol-glossary dd { font-size:1.04rem; }
}
