/* Bilimsci: light/dark, system fonts only (no third-party requests). */
:root, [data-theme] {
  --bg: #faf9f5;
  --surface: #ffffff;
  --ink: #1a1c21;
  --muted: #5b6270;
  --faint: #8b92a0;
  --line: #e7e3d8;
  --line-strong: #cfc9b8;
  --accent: #1f3a68;
  --accent-ink: #ffffff;
  --accent-soft: #e8edf6;
  --link: #1d4f9f;
  --danger: #a3262a;
  --shadow: 0 1px 2px rgb(20 25 40 / .05), 0 6px 20px rgb(20 25 40 / .05);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Charter, "Source Serif Pro", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 12px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]), [data-theme="classic"] {
    --bg: #121418; --surface: #1a1d23; --ink: #e9ebf0; --muted: #a2a9b6; --faint: #7b8392;
    --line: #2a2f38; --line-strong: #3a414d; --accent: #8fb0ea; --accent-ink: #0f1622; --accent-soft: #1d2740;
    --link: #8fb0ea; --danger: #ff8a8e; --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px rgb(0 0 0 / .25);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; margin: 0; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; height: auto; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--accent); color: var(--accent-ink); padding: .5rem .8rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: .5rem; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 1.25rem; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--accent); font: 700 1.2rem/1 var(--serif); text-decoration: none; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.site-header nav { display: flex; gap: .25rem; margin-left: auto; }
.site-header nav a { color: var(--ink); text-decoration: none; padding: .45rem .8rem; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.site-header nav a:hover { background: var(--accent-soft); }
.nav-search { flex: 1; max-width: 420px; margin-left: auto; position: relative; }
.nav-search input { width: 100%; height: 40px; padding: 0 2.6rem 0 1rem; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); border-radius: 999px; font: inherit; font-size: .93rem; }
.nav-search button { position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--muted); border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.nav-search button:hover { color: var(--accent); background: var(--accent-soft); }
.nav-search + nav { margin-left: 0; }

/* Hero */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem); background:
  radial-gradient(900px 340px at 85% -10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
  linear-gradient(var(--bg), var(--bg)); border-bottom: 1px solid var(--line); }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); max-width: 16ch; letter-spacing: -.025em; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 62ch; margin-top: 1rem; }
.hero-search { display: flex; gap: .5rem; margin-top: 2rem; max-width: 640px; }
.hero-search input { flex: 1; min-width: 0; height: 54px; padding: 0 1.2rem; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); border-radius: 14px; font: inherit; box-shadow: var(--shadow); }
.hero-search button { height: 54px; padding: 0 1.6rem; border: 0; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font: 600 1rem var(--sans); cursor: pointer; }
.hero-search button:hover { filter: brightness(1.1); }
.hero-search.inline { margin: 1.5rem 0 2rem; }
.stats { display: flex; gap: clamp(1.5rem, 5vw, 3.5rem); margin: 2.5rem 0 0; padding: 0; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 0; font: 600 2rem/1.1 var(--serif); color: var(--ink); }

/* Blocks / cards */
.block { padding: 2.75rem 0 .5rem; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.1rem; gap: 1rem; }
.block-head h2 { font-size: 1.6rem; }
.block-head a { font-size: .92rem; text-decoration: none; font-weight: 500; }
.grid { display: grid; gap: 1rem; }
.grid.one { grid-template-columns: 1fr; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.35rem; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.paper-card h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.paper-card h3 a { color: var(--ink); text-decoration: none; }
.paper-card h3 a:hover { color: var(--link); }
.byline { color: var(--muted); font-size: .92rem; margin-bottom: .15rem; }
.byline a { color: inherit; text-decoration-color: var(--line-strong); }
.venue { color: var(--faint); font-size: .86rem; margin-bottom: .7rem; }
.snippet { color: var(--ink); font-size: .95rem; opacity: .88; margin-bottom: .8rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.foot { display: flex; justify-content: space-between; align-items: center; margin: 0; font-size: .86rem; }
.cited { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); }
.more { text-decoration: none; font-weight: 500; }
.author-card { display: flex; gap: 1rem; align-items: flex-start; }
.author-card h3 { font-size: 1.1rem; }
.author-card h3 a { color: var(--ink); text-decoration: none; }
.author-card .venue { margin-bottom: .5rem; }
.mini-stats { font-size: .82rem; color: var(--muted); margin: .5rem 0 0; }
.mini-stats strong { color: var(--ink); font-weight: 600; }
.avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 600 1rem var(--serif); text-decoration: none; letter-spacing: .02em; }
.avatar.big { width: 84px; height: 84px; font-size: 1.8rem; }
.avatar.sm { width: 34px; height: 34px; font-size: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0 0; }
.chip { font-size: .78rem; padding: .18rem .6rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); text-decoration: none; }
.chip:hover { text-decoration: underline; }

/* Pages */
.page { padding: 1.25rem 0 4rem; }
.page.narrow { max-width: 640px; padding-top: 4rem; }
.page-head { margin: 1rem 0 1.25rem; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: .9rem 0 0; padding: 0; font-size: .83rem; color: var(--faint); }
.crumbs li + li::before { content: "/"; margin: 0 .5rem; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.sortbar { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .9rem; color: var(--muted); margin: 0 0 1.25rem; }
.sortbar a { padding: .3rem .8rem; border-radius: 999px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: var(--surface); }
.sortbar a[aria-current] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pager { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2rem; justify-content: center; }
.pager a { padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; background: var(--surface); }
.pager a[aria-current] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.sec { font-size: 1.3rem; margin: 2rem 0 .9rem; }
.empty { color: var(--muted); padding: 1rem 0; }

/* Author profile */
.profile-head { display: flex; gap: 1.5rem; align-items: center; margin: 1.5rem 0 1.25rem; }
.profile-head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.affil { color: var(--muted); font-size: 1.05rem; margin: .2rem 0 0; }
.bio { max-width: 70ch; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; margin-top: 2rem; align-items: start; }
.profile-grid h2 { font-size: 1.25rem; margin-bottom: .8rem; }
table.plain { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.plain th { text-align: left; font: 600 .76rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: .5rem .6rem; border-bottom: 2px solid var(--line-strong); }
table.plain td { padding: .85rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain .num, .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sub { color: var(--muted); font-size: .84rem; margin-top: .15rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin-bottom: 1rem; }
.panel h2 { font-size: 1.05rem; margin-bottom: .7rem; }
table.metrics { width: 100%; border-collapse: collapse; }
table.metrics th { text-align: left; font-weight: 500; color: var(--muted); padding: .45rem 0; border-bottom: 1px solid var(--line); }
table.metrics td { text-align: right; font: 600 1.15rem var(--serif); padding: .45rem 0; border-bottom: 1px solid var(--line); }
table.metrics tr:last-child > * { border-bottom: 0; }
.co-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.co-list li { display: flex; gap: .75rem; align-items: center; }
.co-list a { text-decoration: none; font-weight: 500; }

/* Paper page */
.paper-wrap { padding-bottom: 4rem; }
.paper-head { max-width: 62rem; margin: 1.5rem auto 0; text-align: center; }
.paper-venue { font: .92rem/1.4 var(--serif); color: var(--muted); letter-spacing: .01em; margin-bottom: 1rem; }
.paper-head h1 { font-size: clamp(1.8rem, 4.4vw, 2.9rem); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 1.1rem; }
.paper-authors { font: 1.15rem/1.5 var(--serif); margin: 0 0 .3rem; }
.paper-authors a { color: var(--ink); text-decoration-color: var(--line-strong); }
.paper-authors sup { color: var(--muted); font: .7rem var(--sans); margin-left: 1px; }
.affiliations { list-style: none; counter-reset: aff; margin: 0 0 1.4rem; padding: 0; font-size: .88rem; color: var(--muted); font-style: italic; }
.affiliations li { display: inline; counter-increment: aff; }
.affiliations li::before { content: counter(aff); font-size: .65rem; vertical-align: super; font-style: normal; margin-right: 2px; }
.affiliations li + li::before { content: " · " counter(aff); }
.paper-actions { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.btn { display: inline-flex; align-items: center; gap: .45rem; font: 500 .9rem var(--sans); padding: .55rem 1rem; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--accent-soft); border-color: var(--accent); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.12); background: var(--accent); }
.btn.danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 50%, transparent); }
.btn.small { padding: .3rem .7rem; font-size: .82rem; }
.paper-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2.25rem; margin: 0; padding: 1rem 0; border-block: 1px solid var(--line); }
.paper-stats div { text-align: center; }
.paper-stats dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.paper-stats dd { margin: .1rem 0 0; font: 600 1.05rem var(--serif); }

.paper-layout { display: grid; grid-template-columns: 220px minmax(0, 46rem); gap: 3.5rem; justify-content: center; margin-top: 2.5rem; align-items: start; }
.toc { position: sticky; top: 5.2rem; font-size: .88rem; max-height: calc(100vh - 7rem); overflow: auto; }
.toc-title { font: 600 .72rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: .6rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: .3rem .8rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--accent); border-left-color: var(--accent); font-weight: 600; }

.abstract { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 4px var(--radius) var(--radius) 4px; padding: 1.2rem 1.5rem 0.4rem; margin-bottom: 2.5rem; font: 1.02rem/1.65 var(--serif); }
.abstract h2 { font: 700 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .7rem; }

.paper-body { font: 1.12rem/1.75 var(--serif); counter-reset: sec fig; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.paper-body p { margin: 0 0 1.1em; text-align: justify; text-justify: inter-word; }
.paper-body h2 { font-size: 1.55rem; margin: 2.6rem 0 .8rem; counter-increment: sec; counter-reset: sub; }
.paper-body h2:not(.unnumbered)::before { content: counter(sec) ".\2002"; color: var(--accent); }
.paper-body h3 { font-size: 1.2rem; margin: 1.8rem 0 .5rem; counter-increment: sub; font-style: italic; font-weight: 600; }
.paper-body h3::before { content: counter(sec) "." counter(sub) "\2002"; color: var(--accent); font-style: normal; }
.paper-body h4 { font-size: 1.05rem; margin: 1.4rem 0 .3rem; font-style: italic; font-weight: 500; }
.paper-body ul, .paper-body ol { padding-left: 1.5rem; margin: 0 0 1.1em; }
.paper-body li { margin-bottom: .3em; }
.paper-body blockquote { margin: 1.4rem 0; padding: .2rem 1.2rem; border-left: 3px solid var(--line-strong); color: var(--muted); font-style: italic; }
.paper-body code { font: .88em var(--mono); background: var(--accent-soft); padding: .12em .35em; border-radius: 4px; }
.paper-body pre { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.2rem; overflow-x: auto; font-size: .88rem; line-height: 1.55; margin: 1.3rem 0; }
.paper-body pre code { background: none; padding: 0; font-size: inherit; }
.paper-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.paper-body a { text-underline-offset: .15em; }
.paper-body a[href^="#ref-"] { text-decoration: none; font: .85em var(--sans); padding: 0 1px; }
.paper-body .katex-display { margin: 1.3rem 0; overflow-x: auto; overflow-y: hidden; padding: .3rem 0; }
.paper-body figure { margin: 2rem 0; text-align: center; }
.paper-body figure img { border-radius: 6px; background: #fff; border: 1px solid var(--line); padding: .5rem; }
.paper-body figcaption, .table-caption { font: .93rem/1.5 var(--sans); color: var(--muted); margin-top: .7rem; text-align: left; }
.paper-body figcaption strong, .table-caption strong { color: var(--ink); }
.table-caption { margin: 1.6rem 0 .5rem; text-align: left !important; }
.table-wrap { overflow-x: auto; margin: 0 0 1.6rem; }
.paper-body table { border-collapse: collapse; width: 100%; font: .94rem/1.45 var(--sans); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); font-variant-numeric: tabular-nums; }
.paper-body th { text-align: left; font-weight: 600; padding: .55rem .8rem; border-bottom: 1px solid var(--ink); }
.paper-body td { padding: .45rem .8rem; }
.paper-body tbody tr:hover { background: var(--accent-soft); }
.references { margin-top: 3rem; }
.references h2 { font-size: 1.55rem; margin-bottom: 1rem; }
.references ol { padding-left: 2.2rem; font: .96rem/1.55 var(--serif); }
.references li { margin-bottom: .6rem; padding-left: .3rem; }
.references li:target { background: var(--accent-soft); border-radius: 4px; }
.footnotes { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .92rem; }
.footnotes-sep { display: none; }
.footnote-ref a { text-decoration: none; font: .75rem var(--sans); }
.footnote-backref { text-decoration: none; margin-left: .3em; }
.related { max-width: 62rem; margin-inline: auto; padding-top: 4rem; }

/* Cite dialog */
dialog { border: 1px solid var(--line-strong); border-radius: 16px; padding: 0; background: var(--surface); color: var(--ink); width: min(640px, calc(100% - 2rem)); box-shadow: 0 24px 80px rgb(0 0 0 / .3); }
dialog::backdrop { background: rgb(10 14 24 / .5); backdrop-filter: blur(3px); }
.cite-box { padding: 1.3rem 1.5rem 1.5rem; }
.cite-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cite-top h2 { font-size: 1.35rem; }
.x { border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 8px; width: 36px; height: 36px; }
.x:hover { background: var(--accent-soft); }
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: .9rem; }
.tabs button { border: 0; background: none; padding: .55rem .9rem; font: 500 .9rem var(--sans); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
dialog textarea { width: 100%; resize: vertical; font: .88rem/1.55 var(--mono); padding: .85rem 1rem; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); color: var(--ink); }
.cite-actions { display: flex; gap: .5rem; align-items: center; margin-top: .9rem; }
#cite-status { font-size: .85rem; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); margin-top: 3rem; padding: 2rem 0 3rem; color: var(--muted); font-size: .9rem; }
.site-footer p { margin: 0 0 .5rem; }
.footer-links a { margin-right: 1.1rem; color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .paper-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
  .profile-grid { grid-template-columns: 1fr; }
  .grid.three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .bar { flex-wrap: wrap; height: auto; padding: .7rem 0; gap: .6rem; }
  .nav-search { order: 3; flex-basis: 100%; max-width: none; }
  .site-header nav { margin-left: auto; }
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  .paper-body { font-size: 1.05rem; }
  .paper-body p { text-align: left; }
  .profile-head { flex-direction: column; align-items: flex-start; }
  .hero-search { flex-direction: column; }
  .hero-search button { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }


/* ---- Site themes (chosen in the admin panel; Classic above follows the system light/dark setting) ---- */
[data-theme="daylight"] {
  --bg: #ffffff; --surface: #ffffff; --ink: #0f172a; --muted: #4b5a70; --faint: #8190a5;
  --line: #e2e8f0; --line-strong: #c4cfdd; --accent: #0a5bd3; --accent-ink: #ffffff; --accent-soft: #e8f1ff;
  --link: #0a5bd3; --danger: #c62828; --shadow: 0 1px 2px rgb(15 23 42 / .05), 0 8px 24px rgb(15 23 42 / .07);
  color-scheme: light;
}
[data-theme="midnight"] {
  --bg: #0a0f1f; --surface: #111a33; --ink: #e7ecf8; --muted: #9ba9c8; --faint: #6b7a9e;
  --line: #1d2a4a; --line-strong: #2d3f69; --accent: #5eead4; --accent-ink: #052a30; --accent-soft: #113341;
  --link: #7dd3fc; --danger: #ff8a8e; --shadow: 0 1px 2px rgb(0 0 0 / .5), 0 10px 30px rgb(0 0 0 / .35);
  color-scheme: dark;
}
[data-theme="library"] {
  --bg: #f3ead6; --surface: #fbf6e8; --ink: #2a2017; --muted: #6a5944; --faint: #9a8970;
  --line: #e0d2b4; --line-strong: #c8b78e; --accent: #7a1f2b; --accent-ink: #fff8ee; --accent-soft: #f0ddd0;
  --link: #8a2434; --danger: #a3262a; --shadow: 0 1px 2px rgb(60 40 10 / .08), 0 8px 22px rgb(60 40 10 / .08);
  color-scheme: light;
}

/* Print = "Download PDF": a clean single-column manuscript */
@media print {
  @page { margin: 2cm 2.2cm; }
  :root { --bg: #fff; --surface: #fff; --ink: #000; --muted: #333; --faint: #555; --line: #bbb; --line-strong: #999; --accent: #000; --accent-soft: #f2f2f2; --link: #000; }
  body { background: #fff; font-size: 10.5pt; }
  .site-header, .site-footer, .crumbs, .paper-actions, .toc, .related, dialog, .skip { display: none !important; }
  .wrap { width: 100%; }
  .paper-head { margin-top: 0; }
  .paper-head h1 { font-size: 20pt; }
  .paper-stats { border-color: #000; }
  .abstract { border: 0; border-left: 2px solid #000; border-radius: 0; background: none; padding: 0 0 0 1rem; font-size: 10pt; }
  .paper-layout { display: block; margin-top: 1.2rem; }
  .paper-body { font-size: 10.5pt; line-height: 1.5; }
  .paper-body h2, .paper-body h3 { break-after: avoid; }
  .paper-body figure, .paper-body table, .table-caption, .references li { break-inside: avoid; }
  .paper-body a { text-decoration: none; color: #000; }
  .paper-body figure img { border: 0; padding: 0; }
  .paper-layout a[href^="http"]::after { content: none; }
}
.chip .count { opacity: .65; margin-left: .2rem; }
.chips.big { gap: .5rem; }
.chips.big .chip { font-size: .9rem; padding: .3rem .8rem; }
