:root {
  color-scheme: light;
  --bg: #fdfbfc;
  --surface: #fff;
  --ink: #28242b;
  --muted: #655b64;
  --accent: #c0266d;
  --tint: #faeaf2;
  --line: #e4dce1;
  --media-bg: #f2edf0;
  --frame: 1184px;
  --gutter: clamp(20px, 4.2vw, 60px);
  --row-thumb: 118px;
  --row-gap: 22px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1a171b;
  --surface: #241e24;
  --ink: #f5eef3;
  --muted: #c5b7c1;
  --accent: #f472b6;
  --tint: #452537;
  --line: #493b44;
  --media-bg: #312832;
}
*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-gutter: stable; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
button, input, select, summary { font: inherit; }
button, summary, select { cursor: pointer; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--ink); }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.frame { width: 100%; max-width: var(--frame); padding-inline: var(--gutter); margin-inline: auto; }
.site-header { background: var(--surface); border-block-end: 1px solid var(--line); }
.masthead { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 720; white-space: nowrap; }
.brand img { width: 38px; height: 38px; object-fit: cover; border-radius: 50%; }
.desktop-nav { margin-left: auto; display: flex; align-self: stretch; align-items: stretch; gap: clamp(12px,1.9vw,26px); }
.desktop-nav a { position: relative; display: flex; align-items: center; font-size: 14px; font-weight: 560; color: var(--muted); text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--accent); }
.desktop-nav a[aria-current]::after { content: ""; position: absolute; height: 3px; background: var(--accent); bottom: -1px; inset-inline: 0; }
.theme-switch { display: grid; place-items: center; width: 38px; height: 38px; background: transparent; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); line-height: 1; font-size: 20px; }
.theme-switch:hover { background: var(--tint); }
.mobile-nav { display: none; }
.skip-link { position: absolute; top: 2px; left: 12px; transform: translateY(-160%); padding: 6px 12px; background: var(--surface); z-index: 10; }
.skip-link:focus { transform: none; }
.page { padding-top: clamp(32px,4.4vw,58px); padding-bottom: clamp(48px,6vw,80px); min-height: 64vh; }
.page h1 { font-size: clamp(36px,4.2vw,56px); line-height: 1.04; letter-spacing: -.045em; font-weight: 730; text-wrap: balance; }
.page-head { margin-bottom: 30px; }
.page-head p, .role, .affiliation { color: var(--muted); }
.page-head p { margin-top: 11px; font-size: 17px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.section-heading h2 { font-size: clamp(23px,2.3vw,29px); line-height: 1.15; letter-spacing: -.032em; font-weight: 690; }
.section-heading > a { flex: none; text-decoration: none; font-size: 14px; font-weight: 650; }
.section-heading > a:hover { text-decoration: underline; }
.home-intro { display: grid; grid-template-columns: minmax(0,1.26fr) minmax(0,1fr); gap: clamp(30px,6vw,83px); align-items: start; }
.role { margin-top: 14px; font-size: 16px; font-weight: 650; line-height: 1.5; }
.lead { max-width: 45ch; margin: 18px 0 11px; font-size: clamp(19px,1.6vw,23px); line-height: 1.47; letter-spacing: -.015em; }
.affiliation { max-width: 54ch; font-size: 14px; }
.intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 22px; }
.primary-actions, .contact-actions, .profile-icons { display: inline-flex; align-items: center; }
.primary-actions { gap: 10px; }
.contact-actions { gap: 10px; white-space: nowrap; }
.profile-icons { gap: 5px; }
.profile-icons a {
  display: grid; place-items: center; width: 35px; height: 35px; flex: none;
  border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--surface);
}
.profile-icons a:hover, .profile-icons a:focus-visible { color: var(--accent); border-color: var(--accent); background: var(--tint); }
.profile-icons svg { display: block; width: 18px; height: 18px; }
.intro-actions a, .resources a, .resources summary { font-size: 14px; font-weight: 650; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; padding: 10px 16px; min-height: 42px; background: var(--accent); color: var(--bg); border: 1px solid var(--accent); text-decoration: none; }
.button.secondary { color: var(--ink); background: var(--surface); border-color: var(--line); }
.intro-photo { margin: 0; }
.intro-photo > a { display: block; overflow: hidden; border-radius: 8px; background: var(--media-bg); }
.intro-photo img { width: 100%; aspect-ratio: 1.8; object-fit: cover; object-position: center 46%; }
.intro-photo figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.intro-photo figcaption a { color: var(--muted); }
.home-section { margin-top: clamp(32px,4.1vw,52px); }
.work-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.work { overflow: hidden; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; }
.work-image { display: grid; place-items: center; height: clamp(125px,13vw,164px); background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.work-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; padding: 10px; }
.work-body { display: flex; flex: 1; flex-direction: column; align-items: start; gap: 8px; padding: 17px 19px 18px; }
.work-body h3, .paper-text h3, .aa-body h2 { line-height: 1.28; font-weight: 660; letter-spacing: -.02em; }
.work-body h3 { font-size: 20px; }
.work-body h3 a, .paper-text h3 a { color: var(--ink); text-decoration: none; }
.work-body h3 a:hover, .paper-text h3 a:hover { color: var(--accent); text-decoration: underline; }
.work-body > p:not(.meta) { color: var(--muted); font-size: 14px; }
.work-body .resources { margin-top: auto; padding-top: 8px; }
.meta, .category, .aa-date, .aa-venue { color: var(--muted); font-size: 13px; line-height: 1.44; }
.meta span { margin: 0 2px; }
.resources { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 19px; }
.resources .resource-primary { color: var(--accent); }
.updates { border-top: 1px solid var(--line); }
.updates > a { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.updates strong, .updates small { display: block; }
.updates time, .updates small { font-size: 13px; color: var(--muted); }
.updates strong { line-height: 1.35; font-weight: 630; }
.updates small { margin-top: 3px; }
.updates a:hover strong { color: var(--accent); text-decoration: underline; }
.finder { display: none; }
.js .finder { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 16px; }
.finder label { display: grid; align-content: end; gap: 5px; color: var(--muted); font-size: 13px; font-weight: 630; }
.finder .search-field { flex: 1 1 270px; }
.finder select, .finder input { width: 100%; min-height: 45px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); font-size: 16px; line-height: 1.4; font-weight: 400; }
.finder select { min-width: 126px; padding-right: 25px; appearance: auto; }
.finder input::placeholder { color: var(--muted); opacity: .9; }
.js .paper-finder { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.paper-filter-row { display: grid; grid-template-columns: 52px minmax(0,1fr); align-items: baseline; gap: 10px; }
.filter-label { font-size: 13px; font-weight: 650; color: var(--muted); }
.paper-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.paper-finder .paper-choice { position: relative; display: inline-flex; color: var(--ink); }
.paper-choice input[type="radio"] { position: absolute; inset: 0; z-index: 1; margin: 0; padding: 0; width: 100%; height: 100%; min-height: 0; opacity: 0; cursor: pointer; }
.choice-face { display: inline-flex; gap: 8px; align-items: baseline; min-height: 34px; padding: 6px 12px; white-space: nowrap;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 600; line-height: 20px; }
.choice-face small { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; font-weight: 500; }
.paper-choice input[value=""] + .choice-face small { display: none; }
.paper-choice input:not(:disabled):hover + .choice-face { border-color: var(--accent); }
.paper-choice input:checked + .choice-face { border-color: var(--accent); background: var(--tint); color: var(--accent); }
.paper-choice input[name="view"]:checked + .choice-face { background: var(--accent); color: var(--bg); }
.paper-choice input:checked + .choice-face small { color: inherit; }
.paper-choice input:focus-visible + .choice-face { outline: 3px solid var(--accent); outline-offset: 3px; }
.paper-choice input:disabled { cursor: default; }
.paper-choice input:disabled + .choice-face { color: var(--muted); opacity: .60; background: transparent; }
.paper-search-tools { display: grid; grid-template-columns: minmax(0,1fr) minmax(106px,155px); gap: 12px; margin-top: 7px; }
.paper-search-tools label, .paper-search-tools select { min-width: 0; }
.paper-search-tools label > span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.paper-search-tools input, .paper-search-tools select { min-height: 38px; padding-block: 6px; }
.paper-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 3px 14px; flex-wrap: wrap; }
.paper-topics { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.paper-topics li + li::before { content: "·"; margin-right: 8px; }
@media (min-width: 1060px) {
  .js .paper-finder { grid-template-columns: minmax(0,1fr) minmax(182px,22%); column-gap: 24px; align-items: center; }
  .paper-filter-row { grid-column: 1; }
  .paper-search-tools { grid-column: 2; grid-row: 1 / 3; grid-template-columns: minmax(0,1fr); gap: 7px; margin: 0; }
}
.result-status { color: var(--muted); font-size: 13px; margin-top: 9px; min-height: 20px; }
.list-status { display: flex; gap: 16px; align-items: baseline; }
.paper-finder + .list-status { flex-wrap: wrap; gap: 2px 10px; margin-top: 9px; font-size: 13px; color: var(--muted); }
.paper-finder + .list-status .result-status { margin: 0; }
.paper-finder + .list-status a { color: inherit; text-decoration: none; }
.paper-finder + .list-status a:is(:hover,:focus-visible) { color: var(--accent); text-decoration: underline; }
.paper-finder + .list-status > a { white-space: nowrap; }
.paper-finder + .list-status > a::before {
  content: ""; display: inline-block; vertical-align: .24em; width: 2px; height: 2px;
  margin-right: 10px; border-radius: 50%; background: currentColor;
}
.list-status button { background: transparent; border: 0; padding: 0; color: var(--accent); text-decoration: underline; font-size: 13px; }
.year-group { margin-top: 30px; }
.year-label { margin: 0; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 21px; line-height: 1.2; font-weight: 680; letter-spacing: -.025em; }
.paper-row, .event-row { display: grid; grid-template-columns: var(--row-thumb) minmax(0,1fr); align-items: start; gap: var(--row-gap); padding-block: 18px; border-bottom: 1px solid var(--line); }
.paper-thumb, .event-thumb { background: #fff; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.paper-thumb { display: block; cursor: zoom-in; }
.paper-thumb:hover, .paper-thumb:focus-visible { border-color: var(--accent); }
.paper-figure-preview {
  position: fixed; z-index: 12; pointer-events: none; padding: 6px; border: 1px solid var(--line);
  border-radius: 7px; background-color: #fff; background-origin: content-box;
  background-size: contain; background-position: center; background-repeat: no-repeat;
  box-shadow: 0 6px 26px #24142330;
}
.paper-figure-preview img { display: block; width: 100%; height: 100%; object-fit: contain; }
.paper-thumb img, .event-thumb img { width: 100%; aspect-ratio: 1.47; object-fit: contain; }
.paper-thumb img { padding: 4px; }
.paper-text h3 { font-size: 20px; margin: 4px 0 6px; max-width: 74ch; }
.authors { max-width: 96ch; color: var(--muted); font-size: 14px; }
.authors strong { color: var(--ink); font-weight: 680; }
.contribution { margin-top: 6px; color: var(--muted); font-size: 13px; }
.contribution b { color: var(--ink); font-weight: 650; margin-right: 4px; }
.paper-text .resources { margin-top: 9px; }
.citation summary { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.citation summary::marker { font-size: 10px; }
.citation[open] { flex-basis: 100%; }
.cite-panel { max-width: 70ch; padding: 12px 15px; border-left: 2px solid var(--accent); background: var(--tint); margin-top: 8px; }
.reference { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; user-select: all; }
.cite-panel button, .empty button { margin-top: 6px; padding: 3px 0; border: 0; background: none; color: var(--accent); font-size: 14px; font-weight: 640; text-decoration: underline; }
.copy-status { font-size: 13px; margin-left: 10px; color: var(--muted); }
.empty { margin: 28px 0; }
.event-row { grid-template-columns: var(--row-thumb) minmax(0,1fr) 96px 18px; grid-template-areas: "image body date arrow"; text-decoration: none; color: var(--ink); align-items: center; }
.event-thumb { grid-area: image; }.event-thumb img { object-fit: cover; object-position: center 60%; }
.event-thumb.fit-contain img { object-fit: contain; object-position: center; }
.aa-body { grid-area: body; min-width: 0; }.aa-body h2 { font-size: 20px; margin: 3px 0 4px; }
.aa-venue { display: block; }.category { color: var(--accent); font-weight: 600; }
.aa-date { grid-area: date; font-variant-numeric: tabular-nums; justify-self: end; }
.row-arrow { grid-area: arrow; color: var(--accent); justify-self: end; }
.event-row:hover { text-decoration: none; }.event-row:hover h2 { text-decoration: underline; text-underline-offset: .15em; color: var(--accent); }
.reader-article { width: 100%; max-width: none; color: var(--ink); margin: 0; }
.reader-article .prose { color: var(--ink); width: 100%; max-width: none; }
.reader-article .aa-back { color: var(--accent); font-size: 14px; margin: 0 0 22px; font-weight: 620; }
.reader-article .aa-kicker { display: none; }
.reader-article .aa-post-head { border-color: var(--line); margin: 0 0 20px; }
.reader-article .aa-post-title { color: var(--ink); font-size: clamp(32px,4vw,52px); margin: 0 0 16px; }
.reader-article .aa-post-meta { color: var(--muted); line-height: 1.55; }
.reader-article .aa-post-tags { gap: 8px; }
.reader-article .badge { color: var(--accent); background: var(--tint); border-color: transparent; font-size: 12px; padding-inline: 9px; }
.reader-article .aa-cover { max-width: 860px; }.reader-article .aa-cover figcaption, .reader-article .aa-gallery figcaption { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 7px 0 0; }
.reader-article .aa-cover-natural > img { height: auto; aspect-ratio: auto; padding: 0; }
.reader-article .aa-post-body { max-width: 76ch; margin-top: 24px; }.reader-article .aa-post-body-wide { max-width: none; }
.reader-article .aa-post-body p { color: var(--ink); }
.reader-article .aa-post-body a, .reader-article figcaption a { color: var(--accent); }
.reader-article .article-intro { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: clamp(22px,4vw,56px); }
.reader-article .article-intro .aa-post-head { border: 0; margin: 0; padding: 0; }
.reader-article .article-intro .aa-post-head > :last-child { margin-bottom: 0; }
.reader-article .article-intro .aa-post-head p a { color: var(--accent); }
.reader-article .article-intro .aa-post-meta { display: grid; gap: 10px; }
.reader-article .article-intro figure { margin: 0; }
.reader-article figure > a:has(> img) { display: block; }
.reader-article figure > a > img { margin-block: 0; }
.reader-article .article-intro img { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: auto; border: 0; padding: 0; object-fit: contain; }
.reader-article .grx-intro + .aa-post-body .aa-gallery figure:last-child { max-width: 520px; grid-column: 1/-1; justify-self: center; }
.reader-article figcaption a { margin-inline-start: 4px; text-decoration: underline; }
.cv-head { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.cv-meta { color: var(--muted); margin: 8px 0 0; font-size: 15px; }
.cv-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cv-actions .button { font-size: 14px; font-weight: 650; min-height: 44px; }
.cv-actions button:disabled { opacity: .65; cursor: progress; }
.cv-surface { padding: clamp(8px,2vw,25px); background: var(--media-bg); border: 1px solid var(--line); border-radius: 8px; }
#cv-pages { width: 100%; max-width: 860px; display: grid; gap: 18px; margin-inline: auto; }
#cv-pages canvas { width: 100%; max-width: 100%; height: auto; display: block; background: #fff; box-shadow: 0 1px 5px #211a201c; }
#cv-status:not(:empty), #cv-error:not([hidden]) { margin: 8px 0 12px; color: var(--muted); }
.reader-metrics {
  max-width: none; width: 100%; color: var(--ink); --fallback-p: var(--accent); --fallback-b2: var(--surface);
  --fallback-su: #247653; --fallback-er: #a33f44;
}
:root[data-theme="dark"] .reader-metrics { --fallback-su: #8ed9b6; --fallback-er: #ffaab1; }
.reader-metrics .metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(16px,2.3vw,28px); }
.reader-metrics .metrics-grid > * { min-width: 0; }
.reader-metrics .metrics-card { background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: 8px; padding: clamp(15px,2vw,24px); }
.reader-metrics .metrics-source { opacity: 1; color: var(--muted); }
.reader-metrics .metrics-bars { overflow-x: auto; }
.reader-metrics .metrics-bar-item i { background: var(--accent); opacity: .75; }
.reader-metrics .rg-tab.is-active { color: var(--accent); background: var(--surface); }
.reader-metrics .rg-history-spark { color: var(--accent); }
.site-footer { padding-block: 24px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 24px; }
.footer-inner nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 17px; }.footer-inner a { color: var(--muted); }.footer-inner small { width: 100%; font-size: 12px; }
@media (max-width: 860px) {
  .masthead { gap: 12px; min-height: 62px; }.desktop-nav { display: none; }.theme-switch { margin-left: auto; }
  .mobile-nav { display: block; position: relative; }.mobile-nav summary { list-style: none; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--surface); font-size: 14px; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; z-index: 5; top: calc(100% + 8px); right: 0; min-width: 208px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 26px #172c2119; background: var(--surface); }
  .mobile-nav nav a { display: block; color: var(--ink); padding: 9px 12px; text-decoration: none; font-size: 15px; }
  .mobile-nav nav a[aria-current] { background: var(--tint); color: var(--accent); font-weight: 650; border-radius: 4px; }
  .reader-metrics .metrics-grid { grid-template-columns: minmax(0,1fr); }
  .work-grid { gap: 13px; }.work-body { padding: 14px; }
  .footer-inner nav { margin-left: 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --row-thumb: 64px; --row-gap: 12px; }
  .masthead { min-height: 58px; }.brand img { width: 32px; height: 32px; }
  .page { padding-top: 29px; }.page-head { margin-bottom: 21px; }.page-head p { font-size: 15px; }
  .home-intro { grid-template-columns: 1fr; gap: 21px; }.role { font-size: 14px; margin-top: 10px; }.lead { font-size: 19px; margin: 14px 0 8px; }
  .intro-actions { margin-top: 15px; }.intro-photo img { aspect-ratio: 2; }
  .section-heading { margin-bottom: 13px; }.work-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .work { display: grid; grid-template-columns: 76px minmax(0,1fr); align-items: start; gap: 13px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 14px 0; background: transparent; }
  .work-image { height: 65px; border: 1px solid var(--line); border-radius: 4px; }.work-image img { padding: 2px; }
  .work-body { padding: 0; gap: 4px; }.work-body h3 { font-size: 18px; }.work-body .resources { padding-top: 3px; }
  .updates > a { grid-template-columns: 1fr; gap: 3px; }.updates small { display: none; }
  .cv-head { align-items: flex-start; gap: 12px; margin-bottom: 17px; }
  .cv-actions { width: 100%; }.cv-actions .button { flex: 1 1 auto; padding-inline: 10px; text-align: center; }
  #cv-pages { gap: 10px; }
  .reader-metrics .metrics-kpis { grid-template-columns: repeat(3,minmax(0,1fr)); padding: 12px 0; }
  .reader-metrics .metric-kpi { border: 0; padding: 0; }
  .reader-metrics .metric-kpi + .metric-kpi { border-inline-start: 1px solid var(--line); padding-inline-start: 8px; }
  .reader-metrics .rg-pie-wrap { grid-template-columns: 5rem minmax(0,1fr); gap: 10px; }
  .reader-metrics .rg-pie { width: 5rem; }
  .reader-metrics .rg-pie:after { inset: 1.2rem; }
  .reader-metrics .rg-pie-row { grid-template-columns: .58rem minmax(0,1fr) auto; }
  .js .finder { gap: 8px; }.finder .search-field { flex-basis: 100%; }.finder label:not(.search-field,.paper-choice) { flex: 1; min-width: 0; }
  .paper-filter-row { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
  .paper-filter-row .filter-label { margin-right: 3px; }
  .paper-choices { display: contents; }
  .paper-finder .paper-choice { flex: 0 0 auto; }
  .choice-face { padding: 6px 10px; min-height: 36px; gap: 6px; }
  .paper-search-tools { grid-template-columns: minmax(0,1fr) 99px; gap: 8px; margin-top: 5px; }
  .paper-search-tools input, .paper-search-tools select { padding-inline: 9px; }
  .paper-finder + .list-status { gap: 2px 12px; margin-top: 7px; }
  .paper-finder + .list-status > a::before { display: none; }
  .paper-meta { display: block; }.paper-topics { margin-top: 2px; font-size: 11px; }
  .finder select { min-width: 0; }.result-status { margin-top: 7px; }.year-group { margin-top: 18px; }
  .paper-row, .event-row { padding-block: 12px; }.paper-thumb img, .event-thumb img { aspect-ratio: 1.1; }
  .paper-text h3, .aa-body h2 { font-size: 17px; }.authors { font-size: 13px; }.meta, .category, .aa-date, .aa-venue { font-size: 12px; }
  .paper-text .resources, .work-body .resources { gap: 5px 12px; }
  .event-row { grid-template-columns: var(--row-thumb) minmax(0,1fr); grid-template-areas: "image date" "image body"; align-items: start; row-gap: 1px; }
  .aa-date { justify-self: start; }.event-row .category, .row-arrow { display: none; }.aa-body h2 { margin-top: 2px; }.aa-venue { line-height: 1.4; }
  .reader-article .article-intro { grid-template-columns: 1fr; gap: 18px; }.reader-article .aa-back { margin-bottom: 16px; }
  .reader-article .aa-post-title { font-size: 32px; }.reader-article .aa-post-meta { font-size: 14px; }
  .footer-inner { display: grid; gap: 12px; }
}
@media (max-width: 370px) {
  :root { --gutter: 16px; --row-thumb: 52px; }.resources { column-gap: 11px; }
  .reader-metrics .rg-pie-wrap { grid-template-columns: minmax(0,1fr); }
  .reader-metrics .rg-pie { justify-self: center; }
}
