:root {
  --ps-page: #f3f5f4;
  --ps-card: #ffffff;
  --ps-soft: #edf2f0;
  --ps-ink: #172436;
  --ps-muted: #5a6878;
  --ps-border: #dce3e1;
  --ps-accent: #3859c9;
  --ps-accent-soft: #e9edff;
  --ps-shadow: 0 18px 50px rgba(20, 38, 48, .06);
  --bs-font-sans: 'BareMetalSans', system-ui, sans-serif;
  --bs-font-mono: 'BareMetalMono', Consolas, monospace;
  --bs-body-bg: var(--ps-page);
  --bs-body-color: var(--ps-ink);
  --bs-surface: var(--ps-card);
  --bs-surface-2: var(--ps-soft);
  --bs-border-color: var(--ps-border);
  --bs-secondary-color: var(--ps-muted);
  --bs-secondary: var(--ps-muted);
  --bs-primary: var(--ps-accent);
  --bs-primary-rgb: 56, 89, 201;
  --bs-shadow: var(--ps-shadow);
}

:root[data-theme="night"] {
  --ps-page: #101923;
  --ps-card: #182534;
  --ps-soft: #202f3d;
  --ps-ink: #edf3f4;
  --ps-muted: #a9bac5;
  --ps-border: #344756;
  --ps-accent: #aab9ff;
  --ps-accent-soft: #29385b;
  --ps-shadow: 0 18px 50px rgba(0, 0, 0, .18);
  --bs-primary-rgb: 170, 185, 255;
}

html { scroll-behavior: auto; scroll-padding-top: 6rem; }
body { background: var(--ps-page); color: var(--ps-ink); }
[hidden] { display: none !important; }
a { color: var(--ps-accent); }
:focus-visible { outline: 3px solid #7996ff; outline-offset: 3px; }
.page-width { width: min(100% - 3rem, 80rem); margin-inline: auto; }
.skip-link {
  position: fixed; top: .5rem; left: .5rem; z-index: 1000;
  transform: translateY(-200%); padding: .7rem 1rem; border-radius: .4rem;
  color: #fff; background: #101d2e;
}
.skip-link:focus { transform: none; }
.reading-progress { position: fixed; top: 0; left: 0; z-index: 101; width: 100%; height: 3px; pointer-events: none; }
.reading-progress > div { width: 0; height: 100%; background: #79e1c4; }

.sitebar {
  position: sticky; top: 0; z-index: 100; background: var(--ps-card);
  border-bottom: 1px solid var(--ps-border);
}
.sitebar-inner {
  width: min(100% - 3rem, 90rem); min-height: 4.65rem; margin: auto;
  display: flex; align-items: center; gap: 2rem;
}
.wordmark { display: inline-flex; align-items: center; gap: .65rem; color: var(--ps-ink); font-size: 1.16rem; font-weight: 700; letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.wordmark > span:last-child > span { color: var(--ps-accent); }
.wordmark-icon { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: .54rem; background: #1e3244; }
.wordmark-icon span { width: .75rem; height: .75rem; border: 2px solid #8ce2c7; border-radius: .18rem; transform: rotate(45deg); }
.site-nav { display: flex; align-items: center; gap: 1.65rem; margin-left: 1rem; }
.site-nav a, .site-actions a { color: var(--ps-muted); font-size: .79rem; text-decoration: none; }
.site-nav a:hover, .site-actions a:hover { color: var(--ps-accent); }
.site-actions { display: flex; align-items: center; gap: .7rem; margin-left: auto; }
.source-button.bt, .print-button.bt { padding: .42rem .65rem; color: var(--ps-muted); font-size: .77rem; font-weight: 600; white-space: nowrap; }
.source-button span, .print-button span { margin-left: .2rem; }
.bm-theme-picker { display: flex; align-items: center; gap: .45rem; color: var(--ps-muted); font-size: .72rem; white-space: nowrap; }
.bm-theme-picker .fsl { width: 5.2rem; min-height: 2rem; padding: .25rem .4rem; border-radius: .4rem; background-image: none; appearance: auto; font-size: .74rem; }

.hero { position: relative; overflow: hidden; color: #f5faf9; background: radial-gradient(circle at 81% 18%, #254e58 0, transparent 31%), linear-gradient(130deg, #102233 0%, #142d3c 58%, #132d35 100%); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .2; background-image: linear-gradient(rgba(185, 225, 222, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(185, 225, 222, .12) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to left, #000, transparent 70%); }
.hero-inner {
  position: relative; width: min(100% - 3rem, 80rem); margin: auto;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0 4.25rem;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(22rem, .82fr); align-items: center; gap: clamp(3rem, 7vw, 8rem);
}
.hero-eyebrow, .section-kicker, .panel-kicker, .contents-kicker { font-family: var(--bs-font-mono); font-size: .68rem; font-weight: 400; letter-spacing: .13em; text-transform: uppercase; }
.hero-eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 2rem; color: #b7d3d1; }
.signal { display: inline-block; flex: 0 0 auto; width: .46rem; height: .46rem; border-radius: 50%; background: #88e4c5; box-shadow: 0 0 0 .23rem rgba(136, 228, 197, .12); }
.eyebrow-separator { color: #718e96; }
.hero h1 { margin: 0; color: #fff; font-size: clamp(4.2rem, 8.6vw, 8rem); font-weight: 700; line-height: .96; letter-spacing: -.075em; }
.hero h1 > span { color: #a9e8d5; }
.hero h1 i { color: #92acef; font-style: normal; }
.hero-subtitle { max-width: 33rem; margin: 1.55rem 0 0; color: #f0f7f5; font-size: clamp(1.48rem, 2.8vw, 2.45rem); line-height: 1.25; letter-spacing: -.045em; }
.hero-subtitle em { color: #a9e8d5; font-style: normal; }
.hero-description { max-width: 31rem; margin: 1.2rem 0 0; color: #bed0d3; font-size: .96rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-actions .bt { display: inline-flex; align-items: center; gap: 1.1rem; min-height: 3rem; padding: .75rem 1rem; border-radius: .45rem; font-size: .82rem; font-weight: 700; }
.hero-primary.bt { color: #112d2b; background: #a5e8d0; border-color: #a5e8d0; }
.hero-primary.bt:hover { color: #112d2b; background: #c1f3e0; border-color: #c1f3e0; }
.hero-secondary.bt { color: #e5f1ef; border-color: rgba(215, 239, 234, .28); }
.hero-secondary.bt:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 3.65rem; }
.hero-meta div { display: grid; gap: .3rem; }
.hero-meta div > span { color: #91aeb2; font-family: var(--bs-font-mono); font-size: .61rem; letter-spacing: .09em; text-transform: uppercase; }
.hero-meta strong { color: #e6f4f0; font-size: .76rem; font-weight: 600; }
.stack-figure { margin: 0; padding: 1.25rem; border: 1px solid rgba(202, 238, 225, .18); border-radius: .9rem; background: rgba(8, 24, 34, .48); box-shadow: 0 2rem 5rem rgba(0, 0, 0, .22); }
.stack-top { display: flex; justify-content: space-between; gap: 1rem; padding: .15rem .25rem 1rem; color: #9ab6b7; font-family: var(--bs-font-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; }
.stack-list { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.stack-row { display: grid; grid-template-columns: 2rem 1fr auto; align-items: start; gap: .8rem; min-width: 0; padding: 1rem; border: 1px solid rgba(213, 236, 233, .12); border-radius: .55rem; background: rgba(255, 255, 255, .045); }
.stack-row > div { display: grid; gap: .2rem; min-width: 0; }
.stack-row div > span, .stack-number { color: #a8c7c2; font-family: var(--bs-font-mono); font-size: .57rem; letter-spacing: .1em; text-transform: uppercase; }
.stack-row strong { color: #f3f9f7; font-size: .88rem; font-weight: 600; }
.stack-row small { color: #a6babc; font-size: .68rem; overflow-wrap: anywhere; }
.stack-number { padding-top: .12rem; }
.stack-arrow { color: #89d9be; }
.stack-experience { border-left: 3px solid #86ddbd; }
.stack-services { border-left: 3px solid #92b3f6; }
.stack-libraries { border-left: 3px solid #d5c996; }
.stack-kernel { border-left: 3px solid #d1a5a9; }
.stack-figure figcaption { display: flex; align-items: center; gap: .6rem; padding: 1rem .25rem .15rem; color: #a4babc; font-size: .68rem; }
.stack-figure figcaption .signal { width: .3rem; height: .3rem; box-shadow: none; }
.hero-footer { position: relative; display: flex; justify-content: space-between; gap: 1rem; width: min(100% - 3rem, 80rem); margin: auto; padding: 1.15rem 0; border-top: 1px solid rgba(221, 241, 238, .15); color: #9cb6b8; font-family: var(--bs-font-mono); font-size: .61rem; letter-spacing: .1em; text-transform: uppercase; }

.briefing { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); padding-top: 6rem; padding-bottom: 3.25rem; }
.section-kicker { margin: 0 0 1.15rem; color: var(--ps-accent); }
.section-kicker span { color: var(--ps-muted); }
.briefing-heading h2, .reader-heading h2 { margin: 0; color: var(--ps-ink); font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 700; line-height: 1.08; letter-spacing: -.06em; }
.briefing-heading h2 em { color: var(--ps-accent); font-style: normal; }
.briefing-heading > p:last-child, .reader-heading > div:first-child > p:last-child { max-width: 29rem; margin: 1.1rem 0 0; color: var(--ps-muted); font-size: .9rem; line-height: 1.75; }
.briefing-card { overflow: hidden; min-height: 20rem; border-radius: .85rem; box-shadow: var(--ps-shadow); }
.briefing-card .bm-tabs { display: block; }
.briefing-card .bm-tab-list { display: flex; gap: .35rem; padding: 1.1rem 1.3rem .9rem; overflow-x: auto; border-bottom: 1px solid var(--ps-border); }
.briefing-card .bm-tab-list .bt { flex: 0 0 auto; padding: .48rem .7rem; border: 0; border-radius: .4rem; color: var(--ps-muted); background: transparent; font-size: .76rem; font-weight: 600; }
.briefing-card .bm-tab-list .bt:hover { color: var(--ps-ink); background: var(--ps-soft); }
.briefing-card .bm-tab-list .bt[aria-selected="true"] { color: var(--ps-accent); background: var(--ps-accent-soft); }
.briefing-card .bm-tab-panel { display: block; overflow: visible; }
.briefing-panel { padding: 1.8rem 2rem 2rem; }
.briefing-panel + .briefing-panel { border-top: 1px solid var(--ps-border); }
.panel-kicker { margin: 0 0 1rem; color: var(--ps-accent); }
.briefing-panel h3 { margin: 0 0 .75rem; color: var(--ps-ink); font-size: 1.32rem; font-weight: 700; letter-spacing: -.035em; }
.briefing-panel > p:not(.panel-kicker) { max-width: 38rem; margin: 0 0 1.4rem; color: var(--ps-muted); font-size: .88rem; line-height: 1.75; }
.briefing-panel a { color: var(--ps-accent); font-size: .8rem; font-weight: 700; text-decoration: none; }
.briefing-panel a span { margin-left: .45rem; }
.briefing-panel a:hover { text-decoration: underline; }

.jump-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-bottom: 6rem; }
.jump-card.cd { position: relative; display: grid; gap: .6rem; min-height: 11rem; padding: 1.5rem; color: var(--ps-ink); text-decoration: none; box-shadow: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.jump-card:hover { transform: translateY(-3px); border-color: #9eafd8; box-shadow: var(--ps-shadow); }
.jump-card > span { color: var(--ps-muted); font-family: var(--bs-font-mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; }
.jump-card strong { padding-top: .35rem; font-size: 1rem; letter-spacing: -.025em; }
.jump-card small { max-width: 16rem; color: var(--ps-muted); font-size: .75rem; line-height: 1.5; }
.jump-card b { position: absolute; right: 1.4rem; top: 1.3rem; color: var(--ps-accent); font-size: 1rem; }

.reader { padding: 4.5rem 0 6rem; border-top: 1px solid var(--ps-border); }
.reader-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.reader-heading h2 { font-size: clamp(2rem, 3.5vw, 3.15rem); }
.search-shell { position: relative; width: min(100%, 22rem); flex: 0 0 auto; }
.search-shell label { display: block; margin-bottom: .5rem; color: var(--ps-muted); font-size: .72rem; font-weight: 700; }
.search-field { position: relative; display: flex; align-items: center; }
.search-field .fc { min-height: 3rem; padding: .7rem 4.1rem .7rem 2.65rem; border-radius: .5rem; background: var(--ps-card); color: var(--ps-ink); font-size: .8rem; }
.search-field .fc::placeholder { color: var(--ps-muted); opacity: .8; }
.search-icon { position: absolute; z-index: 1; left: 1rem; width: .8rem; height: .8rem; border: 1.5px solid var(--ps-muted); border-radius: 50%; pointer-events: none; }
.search-icon::after { content: ''; position: absolute; width: .38rem; height: 1.5px; right: -.28rem; bottom: -.14rem; transform: rotate(45deg); background: var(--ps-muted); }
.clear-search.bt { position: absolute; right: .35rem; padding: .35rem .5rem; color: var(--ps-accent); font-size: .7rem; }
.search-results { position: absolute; top: calc(100% + .5rem); right: 0; z-index: 20; width: min(32rem, 90vw); max-height: 25rem; overflow: auto; padding: 1rem; border: 1px solid var(--ps-border); border-radius: .65rem; background: var(--ps-card); box-shadow: var(--ps-shadow); }
.search-results > p { margin: 0 0 .65rem; color: var(--ps-muted); font-size: .72rem; }
.search-results ul { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.search-results li + li { padding-top: .75rem; border-top: 1px solid var(--ps-border); }
.search-results a { font-size: .82rem; font-weight: 700; text-decoration: none; }
.search-results a:hover { text-decoration: underline; }
.search-results li p { margin: .25rem 0 0; color: var(--ps-muted); font-size: .73rem; line-height: 1.5; }
.search-results mark { padding: 0 .1em; color: #183229; background: #c6efc5; }
.reader-layout { display: grid; grid-template-columns: 14.5rem minmax(0, 1fr); align-items: start; gap: clamp(2rem, 4vw, 4.5rem); }
.contents-sticky { position: sticky; top: 6.5rem; }
.contents-kicker { margin: 0 0 .65rem; color: var(--ps-accent); }
.contents-disclosure > summary { padding: .5rem 0 .85rem; color: var(--ps-ink); font-size: .85rem; font-weight: 700; }
.contents-nav ol { display: grid; gap: .1rem; margin: 0; padding: 0; list-style: none; }
.contents-nav a { display: block; padding: .4rem .65rem; border-left: 2px solid transparent; color: var(--ps-muted); font-size: .75rem; line-height: 1.45; text-decoration: none; }
.contents-nav a:hover, .contents-nav a[aria-current="location"] { border-color: var(--ps-accent); color: var(--ps-accent); background: var(--ps-accent-soft); }
.reading-note { display: flex; gap: .7rem; margin-top: 1.75rem; padding: 1rem; border: 1px solid var(--ps-border); border-radius: .5rem; background: var(--ps-card); }
.reading-note-mark { color: var(--ps-accent); }
.reading-note p { margin: 0; color: var(--ps-muted); font-size: .72rem; line-height: 1.65; }
.reading-note strong { color: var(--ps-ink); }
.contents-source { display: inline-block; margin-top: 1.2rem; color: var(--ps-muted); font-size: .72rem; text-decoration: none; }
.contents-source:hover { color: var(--ps-accent); }

.paper-content { min-width: 0; padding: clamp(1.5rem, 4vw, 3.75rem); border: 1px solid var(--ps-border); border-radius: .85rem; background: var(--ps-card); box-shadow: var(--ps-shadow); font-family: 'Wavefunction-Serif', Georgia, serif; font-size: 1.055rem; line-height: 1.75; overflow-wrap: anywhere; }
.paper-content:focus { outline: none; }
.paper-section + .paper-section { margin-top: 3.8rem; padding-top: 2.75rem; border-top: 1px solid var(--ps-border); }
.paper-content h2, .paper-content h3 { scroll-margin-top: 6.5rem; color: var(--ps-ink); font-family: var(--bs-font-sans); font-weight: 700; letter-spacing: -.045em; }
.paper-content h2 { margin: 0 0 1.6rem; font-size: clamp(1.7rem, 2.7vw, 2.35rem); line-height: 1.15; }
.paper-content h3 { margin: 2.25rem 0 .75rem; font-size: 1.18rem; line-height: 1.35; }
.paper-section:first-child > h3:first-child { margin-top: 0; font-size: 1.8rem; }
.paper-content p { margin: 0 0 1.15rem; }
.paper-content strong { color: var(--ps-ink); }
.paper-content ul, .paper-content ol { margin: 0 0 1.3rem; padding-left: 1.4rem; }
.paper-content li { padding-left: .2rem; }
.paper-content li p { margin-bottom: .4rem; }
.paper-content a { color: var(--ps-accent); text-decoration-thickness: 1px; text-underline-offset: .15em; }
.paper-content a[href^="#evidence-"] { margin-left: .08rem; font-family: var(--bs-font-mono); font-size: .7em; font-weight: 400; white-space: nowrap; }
.paper-content code { padding: .12rem .27rem; border-radius: .25rem; background: var(--ps-soft); color: var(--ps-ink); font-family: var(--bs-font-mono); font-size: .8em; }
.paper-content pre { overflow-x: auto; margin: 1.5rem 0; padding: 1.2rem 1.35rem; border-radius: .55rem; background: #152938; color: #d9e8e7; font-family: var(--bs-font-mono); font-size: .7rem; line-height: 1.7; overflow-wrap: normal; }
.paper-content pre code { padding: 0; color: inherit; background: none; font-size: inherit; white-space: pre; }
.paper-content hr { margin: 2rem 0; border: 0; border-top: 1px solid var(--ps-border); }
.paper-content .assessment, .paper-content .measurement { margin: 1.5rem 0; padding: 1.2rem 1.35rem; border-left: 3px solid var(--ps-accent); border-radius: 0 .4rem .4rem 0; background: var(--ps-accent-soft); }
.paper-table { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--ps-border); border-radius: .5rem; }
.paper-table .tb { min-width: 40rem; margin: 0; color: var(--ps-ink); font-family: var(--bs-font-sans); font-size: .73rem; line-height: 1.6; }
.paper-table .tb > :not(caption) > * > * { padding: .8rem .85rem; border-color: var(--ps-border); vertical-align: top; }
.paper-table .tb > thead > tr > th { color: var(--ps-muted); background: var(--ps-soft); font-size: .65rem; }
.paper-table td[id^="evidence-"] { scroll-margin-top: 6.5rem; }
.paper-table td[id^="evidence-"]:target { background: var(--ps-accent-soft); }
.reference-number { color: var(--ps-accent); font-family: var(--bs-font-mono); font-size: .72rem; }
.paper-content .bm-disclosure { margin-top: 1.25rem; padding: 0 1rem; border: 1px solid var(--ps-border); border-radius: .55rem; font-family: var(--bs-font-sans); }
.paper-content .bm-disclosure > summary { padding: 1rem 0; color: var(--ps-accent); font-size: .8rem; font-weight: 700; }
.paper-content .bm-disclosure-content { padding: 0 0 1rem; }
.paper-content .bm-disclosure-content .paper-table { margin: 0; }

.footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2.5rem 0 3.5rem; border-top: 1px solid var(--ps-border); }
.footer strong { color: var(--ps-ink); font-size: 1.2rem; letter-spacing: -.055em; }
.footer strong span { color: var(--ps-accent); }
.footer p { margin: .5rem 0 0; color: var(--ps-muted); font-size: .75rem; }
.footer > div:last-child { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: start; }
.footer a { color: var(--ps-muted); font-size: .75rem; text-decoration: none; }
.footer a:hover { color: var(--ps-accent); }

@media (max-width: 960px) {
  .site-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero h1 { font-size: clamp(4rem, 10vw, 6rem); }
  .hero-meta { gap: 1rem; }
  .briefing { grid-template-columns: 1fr; gap: 2rem; }
  .reader-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .contents-sticky { position: static; }
  .contents-nav ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reading-note, .contents-source { display: none; }
}
@media (max-width: 700px) {
  .page-width, .sitebar-inner, .hero-inner, .hero-footer { width: min(100% - 2rem, 80rem); }
  .sitebar-inner { min-height: 4rem; gap: .5rem; }
  .source-button.bt { display: none; }
  .site-actions { gap: .3rem; }
  .hero-inner { grid-template-columns: 1fr; padding: 4rem 0 3rem; }
  .hero h1 { font-size: clamp(4rem, 15vw, 6rem); }
  .hero-meta { margin-top: 2.5rem; }
  .stack-figure { max-width: 35rem; }
  .hero-footer { flex-wrap: wrap; font-size: .57rem; }
  .briefing { padding-top: 4rem; }
  .jump-links { grid-template-columns: 1fr; padding-bottom: 4rem; }
  .jump-card.cd { min-height: 9rem; }
  .reader { padding-top: 3.5rem; }
  .reader-heading { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
  .search-shell { width: 100%; }
  .search-results { right: auto; left: 0; width: 100%; }
  .paper-content { font-size: 1rem; }
  .footer { flex-direction: column; }
}
@media (max-width: 390px) {
  .bm-theme-picker { gap: .2rem; font-size: .65rem; }
  .bm-theme-picker .fsl { width: 4.7rem; }
  .print-button.bt { padding-inline: .35rem; }
  .contents-nav ol { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  :root, :root[data-theme="night"] { --ps-page: #fff; --ps-card: #fff; --ps-soft: #f2f2f2; --ps-ink: #111; --ps-muted: #333; --ps-border: #bbb; --ps-accent: #162e8a; --ps-accent-soft: #f2f2f2; }
  .sitebar, .reading-progress, .skip-link, .hero-actions, .hero-meta, .hero-footer, .stack-figure, .briefing, .jump-links, .reader-heading, .contents-aside, .footer { display: none !important; }
  .hero { color: #111; background: #fff; }
  .hero::before { display: none; }
  .hero-inner { display: block; width: 100%; padding: 0 0 1.5rem; }
  .hero h1, .hero h1 > span, .hero h1 i, .hero-subtitle, .hero-subtitle em, .hero-description, .hero-eyebrow { color: #111; }
  .hero h1 { font-size: 3rem; }
  .hero-subtitle { font-size: 1.3rem; }
  .hero-description { font-size: .85rem; }
  .reader { width: 100%; padding: 0; border: 0; }
  .reader-layout { display: block; }
  .paper-content { padding: 0; border: 0; box-shadow: none; font-size: 10pt; }
  .paper-section + .paper-section { margin-top: 1.5rem; padding-top: 1rem; }
  .paper-content h2, .paper-content h3 { break-after: avoid; }
  .paper-content pre { white-space: pre-wrap; overflow-wrap: anywhere; color: #111; background: #f2f2f2; }
  .paper-content pre code { white-space: pre-wrap; }
  .paper-table { overflow: visible; }
  .paper-table .tb { min-width: 0; font-size: 7pt; }
}
