/* NovaLin — one palette, shared spacing, no external assets. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f6f8fb;
  --text: #172436;
  --muted: #617087;
  --line: #e2e8f0;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --tint: #edf4ff;
  --diagram: #91b4fa;
  --header: rgb(255 255 255 / 94%);
  --shadow: 0 8px 30px rgb(23 36 54 / 4%);
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', 'Noto Sans CJK SC', sans-serif;
  --mono: 'Cascadia Code', 'SFMono-Regular', Consolas, monospace;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #101722;
  --surface: #161f2d;
  --text: #e5ecf7;
  --muted: #a0aec2;
  --line: #2b3749;
  --accent: #8ab4ff;
  --accent-hover: #b0ccff;
  --tint: #1a2a44;
  --diagram: #42659c;
  --header: rgb(16 23 34 / 94%);
  --shadow: 0 8px 30px rgb(0 0 0 / 10%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
body::selection { background: var(--tint); color: var(--accent); }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: default; }
svg { display: block; }
img { max-width: 100%; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.4; }
h1 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.045em; font-weight: 750; }
h2 { font-size: 28px; letter-spacing: -.035em; font-weight: 700; }
h3 { font-size: 19px; letter-spacing: -.02em; font-weight: 650; }
.container { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.icon { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-arrow { width: 18px; height: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 30; top: 12px; left: 16px; transform: translateY(-200%); padding: 10px 20px; background: var(--accent); color: var(--bg); border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--header); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { height: 80px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 23px; line-height: 1; letter-spacing: -.7px; font-weight: 720; }
.brand-mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand-mark .mark-front { fill: var(--accent); }
.brand-mark .mark-back { fill: #8db6ff; }
.main-nav { margin-left: auto; display: flex; gap: 32px; align-items: center; }
.main-nav a { position: relative; font-size: 14px; padding-block: 28px; color: var(--muted); }
.main-nav a:hover, .main-nav a[aria-current='page'] { color: var(--accent); }
.main-nav a[aria-current='page']::after { content: ''; height: 2px; position: absolute; bottom: 16px; left: 0; right: 0; background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-button { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; background: transparent; border: 1px solid transparent; border-radius: 6px; }
.icon-button:hover { background: var(--surface); border-color: var(--line); }
.theme-toggle, .menu-toggle { display: none; }
.js .theme-toggle { display: inline-flex; }
.sun-icon { display: none; }
[data-theme='dark'] .sun-icon { display: block; }
[data-theme='dark'] .moon-icon { display: none; }
.hero { display: grid; grid-template-columns: 1.06fr 1fr; gap: 32px; align-items: center; padding-block: 78px 80px; }
.hero h1 { font-size: clamp(46px, 4.6vw, 66px); line-height: 1.29; letter-spacing: -.055em; font-weight: 760; }
.hero h1 span { color: var(--accent); }
.hero p { max-width: 475px; font-size: 17px; line-height: 1.95; color: var(--muted); margin-top: 24px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 20px; border: 1px solid var(--line); border-radius: 5px; font-size: 14px; font-weight: 550; background: var(--bg); transition: transform .18s; }
.button:hover { border-color: var(--accent); background: var(--tint); }
.button-primary { background: #2563eb; color: #fff; border-color: #2563eb; }
.button-primary:hover { background: #1d4ed8; color: #fff; border-color: #1d4ed8; transform: translateY(-2px); }
.button-secondary { color: var(--accent); border-color: var(--diagram); }
.text-link { color: var(--accent); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 550; }
.text-link:hover { text-decoration: underline; }
.topology { position: relative; width: 100%; max-width: 530px; justify-self: end; }
.topology svg { width: 100%; height: auto; overflow: visible; }
.topology .wire { fill: none; stroke: var(--diagram); stroke-width: 1.25; }
.topology .node { fill: var(--bg); stroke: var(--diagram); stroke-width: 1.2; }
.topology .node-halo { fill: var(--tint); }
.topology .dot { fill: var(--diagram); }
.topology .node-icon { fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.topology text { fill: var(--muted); font-family: var(--mono); font-size: 12px; }
.topology .packet { fill: var(--accent); animation: packet 5s ease-in-out infinite; }
.topology .packet-second { animation-delay: 2.5s; }
@keyframes packet { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.section { border-top: 1px solid var(--line); padding-block: 45px 48px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-heading p, .section-intro { color: var(--muted); font-size: 14px; margin-top: 8px; }
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 30px; }
.focus-item { padding: 0 28px; border-left: 1px solid var(--line); }
.focus-item:first-child { padding-left: 0; border-left: 0; }
.focus-item:last-child { padding-right: 0; }
.focus-item > .icon { width: 31px; height: 31px; color: var(--accent); margin-bottom: 20px; }
.focus-item h3 { font-size: 17px; margin-bottom: 10px; }
.focus-item p { font-size: 13px; color: var(--muted); line-height: 1.9; }
.note-row { border-top: 1px solid var(--line); display: grid; grid-template-columns: 130px 1fr auto; gap: 24px; padding: 24px 0; align-items: center; }
.note-row:last-child { border-bottom: 1px solid var(--line); }
.note-category { color: var(--accent); font-size: 13px; }
.note-body { min-width: 0; }
.note-title { display: inline-block; font-size: 18px; font-weight: 650; line-height: 1.6; letter-spacing: -.02em; }
.note-title:hover { color: var(--accent); }
.note-row p { color: var(--muted); font-size: 13px; line-height: 1.85; margin-top: 6px; max-width: 670px; }
.note-end { display: flex; align-items: center; gap: 28px; }
.note-end time { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.note-arrow { padding: 12px; color: var(--accent); border-radius: 6px; }
.note-arrow:hover { background: var(--tint); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; padding: 24px; transition: transform .2s, box-shadow .2s; }
.project-card:hover { border-color: var(--diagram); box-shadow: var(--shadow); transform: translateY(-3px); }
.project-card-head { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }
.project-card .project-symbol { width: 37px; height: 37px; color: var(--accent); }
.project-card h3 { font-size: 18px; }
.project-card p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.project-card .text-link { margin-top: auto; padding-top: 20px; font-size: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.tag { font-size: 11px; line-height: 1.5; color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: 3px 8px; border-radius: 4px; }
.about-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 34px; background: var(--tint); border-radius: 8px; margin: 0 0 48px; }
.about-band h2 { font-size: 24px; }
.about-band p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 24px; }
.footer-main { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-main .brand { font-size: 19px; }
.footer-main .brand-mark { width: 25px; height: 25px; }
.footer-description { color: var(--muted); font-size: 12px; margin-top: 12px; }
.footer-links { display: flex; gap: 24px; font-size: 13px; color: var(--muted); }
.footer-links a:hover, .footer-meta a:hover { color: var(--accent); }
.footer-meta { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 26px; padding-top: 18px; font-size: 11px; color: var(--muted); }
.filing-links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.page-heading { padding: 34px 0 42px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 32px; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span[aria-hidden] { color: var(--diagram); }
.page-heading h1 + p { margin-top: 16px; max-width: 660px; color: var(--muted); line-height: 1.9; }
.page-main { min-height: calc(100vh - 291px); padding-bottom: 72px; }
.notes-controls { display: none; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; margin-bottom: 22px; }
.js .notes-controls { display: flex; }
.filter-group { display: flex; gap: 5px; flex-wrap: wrap; }
.filter-button { font-size: 13px; border: 1px solid transparent; background: transparent; padding: 8px 12px; border-radius: 5px; min-height: 42px; color: var(--muted); }
.filter-button:hover { color: var(--accent); background: var(--surface); }
.filter-button[aria-pressed='true'] { color: var(--accent); background: var(--tint); }
.search-field { position: relative; flex: 0 1 280px; min-width: 180px; }
.search-field > .icon { position: absolute; top: 12px; left: 12px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-field input { min-height: 42px; width: 100%; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 5px; padding: 8px 12px 8px 39px; font-size: 13px; }
.search-field input::placeholder { color: var(--muted); opacity: 1; }
.result-count { color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.notes-page .note-row { padding-block: 29px; }
.notes-page .note-title { font-size: 21px; }
.empty-state { text-align: center; padding: 64px 20px; border-top: 1px solid var(--line); }
.empty-state > .icon { margin: 0 auto 20px; width: 32px; height: 32px; color: var(--muted); }
.empty-state p { font-size: 14px; color: var(--muted); margin: 10px 0 22px; }
.collection-note { margin-top: 34px; padding-left: 16px; border-left: 2px solid var(--diagram); color: var(--muted); font-size: 13px; }
.project-detail { display: grid; grid-template-columns: 240px 1fr; border-top: 1px solid var(--line); padding: 40px 0; gap: 50px; scroll-margin-top: 110px; }
.project-detail:last-child { border-bottom: 1px solid var(--line); }
.project-visual { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; min-height: 220px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.project-visual::before, .project-visual::after { content: ''; position: absolute; width: 150px; height: 150px; border: 1px solid var(--line); transform: rotate(45deg); border-radius: 22px; }
.project-visual::after { width: 220px; height: 220px; border-radius: 30px; }
.project-visual > .icon { width: 66px; height: 66px; color: var(--accent); stroke-width: 1.1; z-index: 1; }
.project-detail h2 { font-size: 29px; margin-bottom: 8px; }
.project-subtitle { color: var(--accent); font-size: 14px; margin-bottom: 16px; }
.project-detail .description { color: var(--muted); font-size: 15px; }
.project-detail h3 { font-size: 15px; margin-top: 22px; }
.project-detail ul { padding-left: 20px; color: var(--muted); font-size: 14px; margin: 10px 0 18px; }
.project-detail .project-note { font-size: 12px; color: var(--muted); margin-block: 16px 22px; }
.project-status { color: var(--muted); font-size: 12px; display: inline-block; margin-bottom: 12px; }
.about-layout { display: grid; grid-template-columns: 1fr 280px; gap: 80px; padding-top: 12px; }
.about-copy h2 { font-size: 24px; margin-bottom: 18px; }
.about-copy p { color: var(--muted); margin-bottom: 20px; }
.about-copy section + section { border-top: 1px solid var(--line); padding-top: 32px; margin-top: 32px; }
.about-aside { align-self: start; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.about-aside .brand-mark { width: 60px; height: 60px; margin-bottom: 24px; }
.about-aside h2 { font-size: 22px; }
.about-aside p { color: var(--muted); font-size: 13px; margin-block: 12px 22px; }
.topic-list { list-style: none; padding: 0; margin: 0; }
.topic-list li { padding: 13px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.topic-list strong { display: block; color: var(--text); margin-bottom: 3px; }
.article-heading { max-width: 840px; padding-bottom: 36px; }
.article-heading h1 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.5; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; color: var(--muted); font-size: 12px; margin-top: 20px; }
.article-meta .note-category { font-size: 12px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 740px) 220px; justify-content: space-between; gap: 64px; border-top: 1px solid var(--line); padding-top: 38px; }
.prose { min-width: 0; font-size: 16px; line-height: 1.95; overflow-wrap: break-word; }
.prose h2 { font-size: 25px; margin: 48px 0 20px; scroll-margin-top: 105px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 28px 0 12px; }
.prose p { margin-block: 18px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-block: 10px; }
.prose strong { font-weight: 650; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--surface); border-radius: 4px; padding: 2px 5px; }
.code-block { position: relative; margin: 22px 0; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding-top: 42px; overflow: hidden; }
.code-label { position: absolute; top: 12px; left: 20px; font: 11px var(--mono); color: var(--muted); }
.code-block pre { overflow-x: auto; margin: 0; padding: 0 20px 20px; line-height: 1.85; font-size: 14px; }
.code-block code { padding: 0; font-size: inherit; background: none; white-space: pre; }
.copy-button { position: absolute; top: 5px; right: 8px; border: 0; color: var(--muted); font-size: 11px; background: transparent; padding: 7px 10px; border-radius: 4px; }
.copy-button:hover { color: var(--accent); background: var(--tint); }
.callout { padding: 18px 22px; background: var(--tint); border-left: 3px solid var(--accent); margin-block: 24px; font-size: 14px; }
.callout p { margin: 0; }
.article-diagram { padding: 25px; border: 1px solid var(--line); border-radius: 7px; margin: 25px 0; background: var(--surface); }
.flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; font-size: 12px; }
.flow-node { padding: 11px 14px; border: 1px solid var(--diagram); border-radius: 5px; background: var(--bg); }
.flow-arrow { color: var(--accent); }
.flow-spaced { margin-top: 16px; }
figcaption { color: var(--muted); font-size: 12px; margin-top: 16px; text-align: center; }
.toc { position: sticky; top: 116px; align-self: start; border-left: 1px solid var(--line); padding-left: 24px; }
.toc h2 { font-size: 13px; margin-bottom: 16px; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { margin-block: 12px; }
.toc a { font-size: 12px; color: var(--muted); }
.toc a:hover, .toc a[aria-current='location'] { color: var(--accent); }
.toc .back-top { display: block; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; }
.article-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px; }
.table-wrap { overflow-x: auto; margin: 22px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { padding: 12px; text-align: left; border: 1px solid var(--line); }
.prose th { background: var(--surface); white-space: nowrap; }
.not-found { text-align: center; padding: 80px 0 110px; }
.error-code { color: var(--accent); font: 110px/1.2 var(--mono); letter-spacing: -.08em; margin-bottom: 24px; }
.not-found h1 { font-size: 34px; }
.not-found p { margin: 18px 0 28px; color: var(--muted); }
.not-found .hero-actions { justify-content: center; }
@media (min-width: 1500px) { .hero { padding-block: 100px; } }
@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 16px; padding-block: 64px; }
  .hero h1 { font-size: 48px; }
  .hero p { font-size: 15px; }
  .focus-item { padding-inline: 18px; }
  .note-row { grid-template-columns: 90px 1fr auto; gap: 16px; }
  .note-end { gap: 10px; }
  .project-card { padding: 20px; }
  .project-card-head { align-items: flex-start; flex-direction: column; }
  .project-card h3 { font-size: 17px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 180px; gap: 32px; }
  .about-layout { gap: 36px; grid-template-columns: 1fr 240px; }
  .notes-controls { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 88px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 68px; height: auto; flex-wrap: wrap; gap: 0; padding-block: 12px; }
  .brand { font-size: 22px; }
  .brand-mark { width: 28px; height: 28px; }
  .header-actions { margin-left: auto; }
  .main-nav { width: 100%; order: 3; margin-left: 0; justify-content: space-between; gap: 10px; }
  .main-nav a { padding-block: 13px; font-size: 14px; }
  .main-nav a[aria-current='page']::after { bottom: 5px; }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: flex; }
  .js .menu-toggle { display: inline-flex; }
  .hero { grid-template-columns: 1fr; gap: 18px; padding-block: 48px 30px; }
  .hero h1 { font-size: clamp(39px, 10.5vw, 55px); line-height: 1.35; }
  .hero p { max-width: 480px; font-size: 15px; margin-top: 20px; }
  .hero-actions { gap: 10px; margin-top: 24px; }
  .button { padding-inline: 16px; font-size: 13px; }
  .topology { width: min(100%, 420px); justify-self: center; margin-top: 8px; }
  .section { padding-block: 32px; }
  h2 { font-size: 25px; }
  .section-heading { gap: 16px; margin-bottom: 22px; }
  .section-heading .text-link { white-space: nowrap; font-size: 12px; }
  .section-heading p, .section-intro { font-size: 13px; }
  .focus-grid { grid-template-columns: 1fr 1fr; gap: 28px 22px; }
  .focus-item { padding: 0; border: 0; }
  .focus-item > .icon { width: 27px; height: 27px; margin-bottom: 15px; }
  .focus-item h3 { font-size: 16px; }
  .focus-item p { font-size: 12px; }
  .note-row { grid-template-columns: 1fr auto; gap: 7px 8px; padding-block: 22px; }
  .note-category { grid-column: 1; font-size: 12px; }
  .note-body { grid-column: 1 / -1; grid-row: 2; }
  .note-title { font-size: 17px; }
  .note-row p { font-size: 13px; }
  .note-end { grid-column: 2; grid-row: 1; }
  .note-end time { font-size: 11px; }
  .note-arrow { padding: 3px; }
  .project-grid { grid-template-columns: 1fr; gap: 14px; }
  .project-card { padding: 23px; }
  .project-card-head { align-items: center; flex-direction: row; gap: 15px; margin-bottom: 12px; }
  .project-card p { font-size: 13px; }
  .project-card .text-link { padding-top: 16px; }
  .about-band { padding: 26px; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
  .about-band h2 { font-size: 22px; }
  .about-band p { font-size: 13px; }
  .footer-main { align-items: flex-start; flex-direction: column; gap: 20px; }
  .footer-description { font-size: 11px; }
  .footer-meta { gap: 12px; }
  .page-heading { padding-block: 24px 30px; }
  .page-heading h1 + p { font-size: 14px; }
  .breadcrumbs { margin-bottom: 25px; font-size: 11px; }
  .page-main { padding-bottom: 48px; }
  .notes-controls { gap: 16px; padding-top: 16px; }
  .search-field { flex-basis: 100%; order: -1; }
  .filter-group { gap: 2px; }
  .filter-button { padding-inline: 9px; font-size: 12px; }
  .notes-page .note-title { font-size: 19px; }
  .project-detail { grid-template-columns: 1fr; gap: 24px; padding-block: 30px; }
  .project-visual { min-height: 160px; }
  .project-detail h2 { font-size: 26px; }
  .about-layout { grid-template-columns: 1fr; gap: 36px; }
  .about-aside { max-width: none; }
  .about-copy p { font-size: 15px; }
  .article-layout { display: flex; flex-direction: column; gap: 30px; padding-top: 24px; }
  .toc { position: static; order: -1; width: 100%; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
  .toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .toc li { margin: 0; }
  .toc .back-top { display: none; }
  .article-heading h1 { font-size: 30px; }
  .article-heading p { font-size: 14px; }
  .article-meta { gap: 10px 14px; }
  .prose { font-size: 15px; }
  .prose h2 { font-size: 23px; margin-top: 36px; }
  .code-block pre { font-size: 12px; }
  .flow { gap: 8px; }
  .article-diagram { margin-inline: 0; padding: 20px 12px; }
  .flow-node { padding: 8px 10px; }
  .not-found { padding-block: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .toc, .article-bottom, .copy-button, .hero-actions { display: none !important; }
  :root { --bg: #fff; --text: #000; --muted: #444; --line: #ccc; --surface: #f5f5f5; }
  .container { width: 100%; }
  .article-layout { display: block; }
  .prose { font-size: 11pt; }
  .code-block { break-inside: avoid; }
}
