/* 纸张、墨色与留白是整本手册共用的视觉基础。 */
:root {
  color-scheme: light;
  --paper: #faf8f3;
  --sidebar: #f0eee6;
  --card: #fffdf8;
  --ink: #263c35;
  --body: #3d4740;
  --muted: #6b7167;
  --line: #dcded1;
  --accent: #a34d34;
  --tint: #edf0e7;
  --quote: #f1eae0;
  --hover: #e6e9dd;
  --focus: #a34d34;
  --serif: 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', Georgia, serif;
  --sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --side-width: 248px;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #1b2623;
  --sidebar: #17211e;
  --card: #202d28;
  --ink: #e5e6d9;
  --body: #d0d5c9;
  --muted: #a4afa0;
  --line: #3a4940;
  --accent: #df9e7e;
  --tint: #2a3a31;
  --quote: #332f27;
  --hover: #304137;
  --focus: #e7b399;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--body); font: 16px/1.8 var(--sans); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; transition: background-color .18s ease, color .18s ease; }
::selection { background: var(--ink); color: var(--paper); }
a { color: var(--ink); text-underline-offset: .24em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; border-radius: 3px; }
button { border: 0; background: none; }
svg { display: block; width: 22px; height: 22px; flex-shrink: 0; }
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, blockquote { margin-top: 0; }
h1, h2, h3 { color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 600; }
h1 { line-height: 1.35; }
h2 { font-size: 27px; line-height: 1.5; }
h3 { font-size: 16px; line-height: 1.7; }
p { margin-bottom: 1.3em; }
strong { font-weight: 600; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 18px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.reading-progress { position: fixed; top: 0; left: var(--side-width); right: 0; height: 2px; z-index: 20; pointer-events: none; }
.reading-progress span { display: block; height: 100%; width: 0; background: var(--accent); }
.sidebar { width: var(--side-width); position: fixed; inset: 0 auto 0 0; padding: 42px 24px 26px; background: var(--sidebar); border-right: 1px solid var(--line); display: flex; flex-direction: column; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 13px; margin: 0 8px 36px; text-decoration: none; font: 24px/1.15 Georgia, var(--serif); letter-spacing: -.6px; }
.brand-mark { display: grid; width: 35px; height: 43px; place-items: center; color: var(--accent); }
.brand-mark svg { width: 35px; height: 35px; }
.brand-cn { display: block; font: 20px/1.6 var(--serif); letter-spacing: 5px; margin-top: 3px; }
.sidebar-search { display: flex; align-items: center; gap: 10px; padding: 9px 12px; min-height: 44px; margin-bottom: 30px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 13px; text-align: left; }
.sidebar-search:hover { background: var(--hover); }
kbd { font: 11px/1.5 var(--sans); border: 1px solid var(--line); border-radius: 3px; padding: 0 5px; color: var(--muted); }
.sidebar-search kbd { margin-left: auto; }
.sidebar nav, .mobile-menu nav { display: grid; gap: 7px; }
.sidebar nav a, .mobile-menu nav a { display: flex; align-items: center; gap: 13px; min-height: 44px; text-decoration: none; font-size: 13px; padding: 10px 12px; border-left: 2px solid transparent; border-radius: 0 4px 4px 0; line-height: 1.6; }
.sidebar nav a:hover, .mobile-menu nav a:hover { background: var(--hover); }
.sidebar nav a[aria-current], .mobile-menu nav a[aria-current] { background: var(--hover); border-left-color: var(--accent); font-weight: 600; }
.nav-number { color: var(--muted); font: 12px/1.5 Georgia, serif; }
.nav-symbol { font-size: 20px; width: 14px; line-height: 1; }
.sidebar nav .overview-link { margin-bottom: 13px; }
.sidebar-bottom { margin: auto 12px 0; padding-top: 45px; }
.small-flower { color: var(--accent); font-size: 30px; display: block; line-height: 1; margin-bottom: 12px; }
.sidebar-bottom p { color: var(--muted); font: 15px/1.8 var(--serif); margin-bottom: 12px; }
.sidebar-bottom a { text-decoration: none; font-size: 12px; color: var(--muted); }
.sidebar-bottom a span { margin-left: 30px; }
.page-shell { margin-left: var(--side-width); padding: 0 5.2%; }
.topbar { min-height: 83px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 20px; }
.breadcrumb { font-size: 12px; color: var(--muted); display: flex; gap: 13px; align-items: center; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.topbar-actions { display: flex; gap: 12px; align-items: center; }
.theme-toggle { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px; font-size: 12px; color: var(--muted); }
.theme-toggle:hover { color: var(--ink); }
.theme-toggle svg { width: 17px; height: 17px; }
.mobile-menu, .mobile-search { display: none; }
main { max-width: 1120px; margin-inline: auto; }
.cover { padding: 55px 0 47px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: 12px; letter-spacing: .09em; margin-bottom: 25px; }
.eyebrow > span:first-child:not(:last-child) { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.cover h1 { font-size: clamp(36px, 4vw, 62px); letter-spacing: -.04em; margin-bottom: 24px; white-space: nowrap; font-weight: 500; }
.cover h1 span { display: block; letter-spacing: -.035em; }
.cover-description { color: var(--muted); font-size: 14px; letter-spacing: .03em; margin-bottom: 31px; }
.cover-actions { display: flex; align-items: center; gap: 25px; }
.button-primary { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 4px; text-decoration: none; padding: 11px 20px; display: flex; align-items: center; gap: 27px; font-size: 13px; min-height: 46px; }
.button-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.button-text { display: flex; gap: 20px; align-items: center; font-size: 13px; text-decoration: none; min-height: 44px; }
.cover-art { position: relative; padding: 8px 0 0; align-self: center; }
.cover-art img { display: block; width: 100%; height: auto; }
.art-caption { display: block; text-align: center; font: 9px/1.6 Georgia, serif; letter-spacing: .22em; color: var(--muted); margin-top: -8px; }
:root[data-theme='dark'] .cover-art img { filter: sepia(.15) brightness(.83); }
.cover-meta { display: flex; align-items: center; gap: 27px; border-block: 1px solid var(--line); padding: 17px 0; font-size: 11px; color: var(--muted); }
.cover-meta > span { display: flex; align-items: baseline; gap: 8px; }
.cover-meta b { font: 22px/1.2 Georgia, serif; color: var(--ink); }
.cover-meta a { margin-left: auto; display: flex; gap: 17px; text-decoration: none; }
.overview-section { margin-top: 62px; }
.section-heading { display: flex; gap: 16px; align-items: baseline; margin-bottom: 24px; }
.section-heading h2 { margin-bottom: 0; }
.section-index { font: 11px/1.6 Georgia, serif; color: var(--accent); letter-spacing: .05em; }
.prose { font-size: 16px; line-height: 1.82; }
.prose > p, .prose > ul, .prose > ol, .prose > blockquote { max-width: 42em; }
.prose ul, .prose ol { padding-left: 1.6em; }
.prose li { padding-left: .2em; margin-bottom: .65em; }
.prose h2 { margin-top: 40px; margin-bottom: 22px; }
.prose > .section-heading h2 { margin-top: 0; }
.prose h3 { margin-top: 28px; margin-bottom: 16px; }
.prose blockquote { background: var(--quote); border-left: 2px solid var(--accent); padding: 24px 30px; margin: 28px 0; font-family: var(--serif); color: var(--ink); }
.prose blockquote p { margin: 0; }
.prose blockquote p:first-child { font-size: 21px; }
.prose blockquote a { font-size: 12px; }
.chapter-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 28px; border-top: 1px solid var(--line); }
.chapter-tile { display: flex; align-items: start; gap: 17px; padding: 25px 20px 25px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.chapter-tile:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.chapter-tile div { font-size: 13px; line-height: 1.9; color: var(--muted); }
.chapter-tile strong { display: block; margin-bottom: 7px; font: 19px/1.5 var(--serif); }
.chapter-tile:hover strong { color: var(--accent); }
.tile-number { color: var(--accent); font: 12px/1.5 Georgia, serif; padding-top: 5px; }
.tile-arrow { color: var(--muted); margin-left: auto; padding-left: 5px; font-size: 15px; }
.catalogue { scroll-margin-top: 28px; }
.catalogue-count { margin-left: auto; color: var(--muted); font: 12px/1.5 Georgia, serif; }
.catalogue-controls { margin-bottom: 22px; }
.search-field { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); background: var(--card); }
.search-field svg { width: 19px; height: 19px; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; min-width: 0; padding: 3px 0; }
.search-field:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.search-field input:focus-visible { outline: none; }
.search-field input::placeholder { color: var(--muted); opacity: 1; }
.stage-filters { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.stage-filters button { padding: 7px 13px; min-height: 40px; font-size: 12px; border: 1px solid transparent; border-radius: 4px; }
.stage-filters button:hover { background: var(--hover); }
.stage-filters button[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.stage-filters button[aria-pressed='true']::before { content: '✓'; margin-right: 5px; }
.table-scroll { overflow-x: auto; border-block: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; line-height: 1.65; }
thead { background: var(--sidebar); }
th, td { padding: 16px 13px; }
thead th { font-size: 11px; font-weight: 500; color: var(--muted); white-space: nowrap; }
tbody tr { border-top: 1px solid var(--line); }
tbody tr:hover { background: var(--tint); }
tbody th { font-weight: 500; min-width: 200px; width: 39%; }
td { color: var(--muted); }
.table-number { color: var(--accent); font-family: Georgia, serif; }
.resource-table-link { text-decoration: none; }
.resource-table-link span { color: var(--muted); white-space: nowrap; }
.stage-tag { font-size: 10px; display: inline-block; border: 1px solid var(--line); background: var(--tint); border-radius: 3px; padding: 3px 7px; max-width: 160px; }
.external-link { white-space: nowrap; text-decoration: none; font-size: 11px; }
.empty-state { text-align: center; padding: 25px; color: var(--muted); }
.empty-state button { color: var(--accent); text-decoration: underline; }
.about { border-top: 1px solid var(--line); padding-top: 35px; font-size: 13px; color: var(--muted); }
.about .section-heading h2 { font-size: 23px; }
.about ul { list-style: none; padding-left: 0; }
.about a { overflow-wrap: anywhere; }
.chapter-cover { padding-top: 55px; }
.chapter-cover .eyebrow { margin-bottom: 17px; }
.chapter-cover .eyebrow span { color: var(--muted); margin-left: 10px; font: 11px/1.5 Georgia, serif; letter-spacing: .08em; }
.chapter-cover h1 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 500; letter-spacing: -.02em; margin-bottom: 25px; }
.chapter-lead { color: var(--muted); max-width: 42em; }
.chapter-lead p { margin-bottom: 0; }
.chapter-toc { padding: 24px 0; margin: 35px 0 45px; border-block: 1px solid var(--line); display: grid; grid-template-columns: 80px 1fr; gap: 15px; font-size: 12px; }
.chapter-toc > span { color: var(--muted); padding-top: 7px; }
.chapter-toc > div { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.chapter-toc a { display: block; padding: 5px 0; text-decoration: none; }
.resource-card { border: 1px solid var(--line); border-radius: 5px; background: var(--card); margin-bottom: 46px; padding: 34px clamp(22px, 3vw, 44px); scroll-margin-top: 28px; }
.resource-card:target, .supplement:target { outline: 2px solid var(--accent); outline-offset: 5px; }
.resource-heading { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 25px; }
.resource-number { border: 1px solid var(--line); color: var(--accent); font: 22px/1.3 Georgia, serif; padding: 8px 11px; border-radius: 3px; }
.resource-heading h2 { font-size: 26px; line-height: 1.5; margin: 4px 0 0; }
.resource-heading > div { min-width: 0; }
.continuation { color: var(--accent); font-size: 11px; }
.anchor-link { padding: 6px; margin-left: auto; font-size: 17px; color: var(--muted); text-decoration: none; }
.original-link { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; font-size: 12px; margin: 0 0 22px; }
.original-link > span:first-child { color: var(--muted); }
.original-link a { overflow-wrap: anywhere; }
.original-link > span:last-child { color: var(--accent); }
.source-note { font-size: 13px; line-height: 1.8; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }
.field-label { font-size: 11px; letter-spacing: .05em; display: block; margin-bottom: 7px; color: var(--muted); }
.source-note p { margin-bottom: 15px; max-width: 50em; }
.extra-sources { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.extra-sources p { margin-bottom: 8px; }
.extra-sources a { overflow-wrap: anywhere; }
.core-idea { background: var(--tint); padding: 23px 25px; margin: 25px 0 30px; border-radius: 3px; }
.core-idea h3 { color: var(--accent); font-size: 11px; font-weight: 500; letter-spacing: .08em; margin-bottom: 10px; }
.core-idea p { font: 20px/1.75 var(--serif); color: var(--ink); max-width: 34em; margin-bottom: 0; }
.card-prose { max-width: 42em; font-size: 16px; line-height: 1.82; }
.card-prose > h3 { font-size: 13px; margin-bottom: 20px; }
.card-prose ol { list-style: none; padding: 0; counter-reset: point; margin-bottom: 32px; }
.card-prose ol li { counter-increment: point; position: relative; padding-left: 37px; margin-bottom: 18px; }
.card-prose ol li::before { content: counter(point, decimal-leading-zero); position: absolute; left: 0; top: 4px; color: var(--muted); font: 12px/1.8 Georgia, serif; }
.practice { border-block: 1px solid var(--line); padding: 24px 0; margin: 30px 0; }
.practice h3 { font-size: 13px; color: var(--accent); margin-bottom: 14px; }
.practice p { margin: 0; }
.resource-quote { margin: 0; border-left: 2px solid var(--accent); padding-left: 24px; }
.resource-quote h3 { font-size: 12px; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.resource-quote p { font: 17px/1.85 var(--serif); color: var(--ink); margin-bottom: 12px; }
.resource-quote cite { display: block; font-size: 12px; line-height: 1.8; font-style: normal; color: var(--muted); }
.supplement { border-top: 1px solid var(--line); padding: 30px 0; }
.supplement > h2 { font-size: 25px; }
.route-section { margin-top: 45px; }
.route-section > h2 { font-size: 25px; margin-bottom: 25px; }
.route-section:first-of-type > p > strong:only-child { display: block; background: var(--tint); padding: 24px; border-left: 2px solid var(--accent); font: 20px/1.85 var(--serif); }
.timeline { border-left: 1px solid var(--line); margin: 35px 0 25px 7px; max-width: 43em; }
.week { position: relative; padding: 0 0 27px 29px; }
.week::before { content: ''; position: absolute; top: 10px; left: -5px; width: 9px; height: 9px; border: 2px solid var(--paper); border-radius: 50%; background: var(--accent); }
.week h3 { margin: 0 0 18px; font: 21px/1.7 var(--serif); }
.week ul { padding-left: 19px; }
.week:last-child { padding-bottom: 0; }
.week li { margin-bottom: 13px; }
.checklist-progress { border: 1px solid var(--line); padding: 14px 20px; border-radius: 4px; display: flex; align-items: center; gap: 20px; font-size: 12px; color: var(--muted); background: var(--tint); }
.checklist-progress progress { width: 100%; height: 5px; flex: 1; appearance: none; border: 0; border-radius: 3px; background: var(--line); }
.checklist-progress progress::-webkit-progress-bar { background: var(--line); border-radius: 3px; }
.checklist-progress progress::-webkit-progress-value { background: var(--accent); border-radius: 3px; }
.checklist-progress progress::-moz-progress-bar { background: var(--accent); border-radius: 3px; }
.checklist-progress > span { white-space: nowrap; }
.prose .checklist { list-style: none; padding: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.prose .checklist li { padding: 0; margin: 0; border-bottom: 1px solid var(--line); }
.prose .checklist li:last-child { border: 0; }
.checklist label { display: flex; gap: 16px; align-items: flex-start; padding: 17px 20px; cursor: pointer; font-size: 15px; background: var(--card); }
.checklist label:hover { background: var(--tint); }
.checklist input { flex-shrink: 0; width: 18px; height: 18px; margin: 5px 0 0; accent-color: var(--accent); cursor: pointer; }
.checklist input:checked + span { text-decoration: line-through; color: var(--muted); }
.chapter-pagination { display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); padding: 30px 0; margin-top: 55px; }
.chapter-pagination a { text-decoration: none; max-width: 48%; }
.chapter-pagination a:last-child { text-align: right; }
.chapter-pagination span { display: block; color: var(--muted); font-size: 11px; margin-bottom: 8px; }
.chapter-pagination strong { font: 18px/1.5 var(--serif); }
.site-footer { max-width: 1120px; margin: 0 auto; border-top: 1px solid var(--line); padding: 25px 0 35px; display: flex; gap: 14px; justify-content: space-between; font-size: 10px; color: var(--muted); }
.site-footer p { margin-bottom: 0; }
.site-footer div { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.search-dialog { width: min(720px, calc(100% - 30px)); max-height: 85dvh; border: 1px solid var(--line); padding: 28px; border-radius: 8px; background: var(--paper); color: var(--body); box-shadow: 0 24px 100px #0003; overscroll-behavior: contain; }
.search-dialog::backdrop { background: #0a1913a6; backdrop-filter: blur(3px); }
.search-dialog[open] { animation: appear .15s ease-out; }
@keyframes appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.dialog-heading h2 { font-size: 25px; margin: 0; }
.dialog-close { min-height: 44px; padding: 5px 0 5px 15px; font-size: 12px; color: var(--muted); }
.dialog-close span { font-size: 22px; margin-left: 8px; }
.result-count { font-size: 12px; color: var(--muted); margin: 16px 0; }
.search-results { display: grid; gap: 12px; }
.result-card { padding: 20px; border: 1px solid var(--line); background: var(--card); border-radius: 4px; }
.result-card > p:first-child { color: var(--accent); font-size: 11px; margin-bottom: 10px; }
.result-card h3 { font: 19px/1.5 var(--serif); margin: 0 0 12px; }
.result-card h3 a { text-decoration: none; }
.result-card > p:last-child { color: var(--muted); font-size: 13px; margin: 0; }
.noscript-note { padding: 20px; text-align: center; font-size: 12px; }
@media (min-width: 1600px) { .page-shell { padding-inline: 6.5%; } }
@media (max-width: 1200px) {
  :root { --side-width: 220px; }
  .sidebar { padding-inline: 16px; }
  .page-shell { padding-inline: 4%; }
  .cover h1 { font-size: 43px; }
  .cover-meta { gap: 20px; }
  .cover-meta a { font-size: 10px; gap: 8px; }
  .brand { font-size: 22px; }
  .sidebar nav a { font-size: 12px; }
  .site-footer { flex-direction: column; }
}
@media (max-width: 960px) {
  .cover { grid-template-columns: 1.4fr 1fr; padding-top: 43px; }
  .cover h1 { font-size: 36px; }
  .eyebrow { font-size: 10px; }
  .cover-description { font-size: 12px; }
  .cover-actions { gap: 18px; }
  .cover-meta { flex-wrap: wrap; gap: 14px 20px; }
  .cover-meta a { margin-left: 0; }
  .resource-heading h2 { font-size: 24px; }
  .chapter-toc { grid-template-columns: 1fr; gap: 10px; }
  th, td { padding: 14px 11px; }
  table { min-width: 650px; }
}
@media (max-width: 760px) {
  :root { --side-width: 0px; }
  .sidebar { display: none; }
  .page-shell { margin: 0; padding-inline: 25px; }
  .topbar { min-height: 68px; position: relative; }
  .breadcrumb { margin-right: auto; font-size: 11px; gap: 9px; }
  .breadcrumb a, .breadcrumb > span:first-of-type { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; align-items: center; gap: 9px; cursor: pointer; list-style: none; min-height: 44px; font-size: 12px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary > span:last-child { transition: transform .16s ease; }
  .mobile-menu[open] summary > span:last-child { transform: rotate(180deg); }
  .mobile-menu nav { position: absolute; top: 65px; left: -8px; right: -8px; padding: 20px; background: var(--sidebar); border: 1px solid var(--line); border-radius: 4px; z-index: 30; box-shadow: 0 12px 24px #0001; animation: appear .16s ease-out; }
  .mobile-menu nav a { font-size: 14px; }
  .mobile-search { display: block; padding: 10px; min-height: 44px; }
  .mobile-search svg { width: 18px; height: 18px; }
  .topbar-actions { gap: 4px; }
  .theme-toggle { gap: 5px; }
  .cover { padding: 40px 0 32px; grid-template-columns: 1.25fr 1fr; }
  .cover h1 { font-size: clamp(32px, 5.4vw, 42px); }
  .eyebrow { margin-bottom: 22px; }
  .cover-description { max-width: 20em; }
  .cover-meta { gap: 15px 25px; }
  .cover-meta > a { margin-left: auto; }
  .overview-section { margin-top: 45px; }
  h2 { font-size: 25px; }
  .section-heading { gap: 12px; }
  .prose { font-size: 16px; }
  .chapter-cover { padding-top: 40px; }
  .chapter-cover h1 { font-size: 36px; }
  .chapter-toc { margin-bottom: 32px; }
  .resource-card { padding: 28px 25px; margin-bottom: 32px; }
  .card-prose { font-size: 16px; }
  .core-idea { padding: 20px; }
  .core-idea p { font-size: 19px; }
  .resource-heading { gap: 15px; }
  .resource-heading h2 { font-size: 23px; }
  .resource-number { font-size: 20px; padding: 7px 9px; }
  .resource-quote { padding-left: 18px; }
  .chapter-pagination strong { font-size: 16px; }
}
@media (max-width: 520px) {
  .page-shell { padding-inline: 22px; }
  .cover { display: flex; flex-direction: column; gap: 10px; align-items: stretch; padding-bottom: 22px; }
  .cover h1 { font-size: clamp(37px, 9.3vw, 48px); margin-bottom: 20px; }
  .cover-description { max-width: none; font-size: 13px; margin-bottom: 24px; }
  .eyebrow { font-size: 11px; }
  .cover-art { width: 78%; max-width: 300px; margin: 2px auto 0; }
  .art-caption { display: none; }
  .cover-meta { gap: 17px 23px; padding: 17px 0 13px; }
  .cover-meta > span { font-size: 10px; gap: 6px; }
  .cover-meta b { font-size: 20px; }
  .cover-meta > a { flex-basis: 100%; margin: 0; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 11px; font-size: 11px; }
  .chapter-grid { grid-template-columns: 1fr; }
  .chapter-tile:nth-child(even) { padding-left: 0; border-left: 0; }
  .chapter-tile { padding: 23px 0; gap: 18px; }
  .chapter-tile div { font-size: 14px; }
  .prose blockquote { padding: 23px; }
  .prose blockquote p:first-child { font-size: 18px; }
  .section-heading h2 { font-size: 23px; }
  .stage-filters { gap: 3px; }
  .stage-filters button { padding-inline: 9px; font-size: 11px; }
  .resource-card { padding: 25px 18px; margin-inline: -5px; }
  .resource-heading { gap: 12px; }
  .resource-heading h2 { font-size: 21px; }
  .resource-number { font-size: 18px; padding: 7px; }
  .anchor-link { padding: 3px; font-size: 14px; }
  .original-link { font-size: 11px; }
  .core-idea { padding: 20px 17px; margin-inline: -3px; }
  .core-idea p { font-size: 18px; }
  .card-prose ol li { padding-left: 28px; }
  .card-prose ol li::before { font-size: 11px; }
  .chapter-cover h1 { font-size: 32px; }
  .chapter-toc a { padding-block: 8px; }
  .route-section > h2 { font-size: 23px; }
  .week { padding-left: 22px; }
  .week h3 { font-size: 20px; }
  .week ul { padding-left: 17px; }
  .checklist label { padding: 17px 15px; gap: 12px; }
  .checklist-progress { gap: 12px; padding-inline: 15px; }
  .search-dialog { padding: 22px 18px; }
  .search-dialog kbd { display: none; }
  .result-card { padding: 18px; }
}
@media print {
  :root, :root[data-theme='dark'] { --paper: #fff; --card: #fff; --ink: #111; --body: #222; --muted: #444; --line: #bbb; --tint: #f5f5f5; --accent: #444; --quote: #f8f8f8; color-scheme: light; }
  body { font-size: 11pt; }
  .sidebar, .topbar, .reading-progress, .cover-actions, .cover-art, .catalogue-controls, .chapter-pagination, .site-footer, .chapter-toc, .search-dialog, .anchor-link, .checklist-progress, .skip-link, .noscript-note { display: none !important; }
  .page-shell { margin: 0; padding: 0; }
  .cover { display: block; padding-top: 0; }
  .cover h1 { font-size: 30pt; }
  .cover-meta a { display: none; }
  .resource-card { padding: 20pt 0; border: 0; border-top: 1pt solid #aaa; }
  .resource-heading, .core-idea, blockquote, .practice, .week h3 { break-inside: avoid; }
  .card-prose, .prose { font-size: 11pt; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 8pt; overflow-wrap: anywhere; }
  .original-link a::after { content: none; }
  .table-scroll { overflow: visible; }
  table { min-width: 0; font-size: 8pt; }
  th, td { padding: 6pt; }
  thead { display: table-header-group; }
  tr, li { break-inside: avoid; }
  .about { break-before: page; }
}
.prose blockquote cite { display: block; font: 12px/1.8 var(--sans); color: var(--muted); margin-top: 12px; }
