@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-ext-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #fbfbf9;
  --surface: #ffffff;
  --text: #141414;
  --muted: #666666;
  --rule: #deddd8;
  --rule-strong: #141414;
  --link: #141414;
  --link-hover: #2f6b3a;
  --button: #141414;
  --button-text: #ffffff;
  --accent: #2f6b3a;
  --accent-soft: #e6eee4;
  --sidebar-w: 300px;
  --gutter: 56px;
  --serif: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

html[data-theme="dark"] {
  --bg: #151515;
  --surface: #1c1c1c;
  --text: #e8e8e6;
  --muted: #a0a09c;
  --rule: #2f2f2d;
  --rule-strong: #e8e8e6;
  --link: #e8e8e6;
  --link-hover: #9cc58f;
  --button: #e8e8e6;
  --button-text: #151515;
  --accent: #9cc58f;
  --accent-soft: #223022;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  transition: background-color .3s ease, color .3s ease;
}
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--rule); transition: color .15s ease, text-decoration-color .15s ease; }
a:hover { color: var(--link-hover); text-decoration-color: currentColor; }
.sidebar a, .mobile-nav a, .button { text-decoration: none; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }

.theme-toggle {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 40;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s ease, transform .4s ease;
}
.theme-toggle:hover { border-color: var(--accent); }
.theme-toggle.spin { transform: rotate(360deg); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-sun { display: none; }
html[data-theme="dark"] .icon-sun { display: block; }
html[data-theme="dark"] .icon-moon { display: none; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  padding: 72px 36px 40px 44px;
  overflow-y: auto;
  border-right: 1px solid var(--rule);
  background: var(--bg);
  transition: background-color .3s ease;
}
.sidebar-rule {
  display: block;
  width: 64px;
  height: 4px;
  margin-bottom: 22px;
  background: var(--rule-strong);
}
.sidebar-name {
  display: block;
  margin-bottom: 26px;
  color: var(--text);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  letter-spacing: -.005em;
}
.sidebar-name:hover { color: var(--text); text-decoration: none; }
.sidebar-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid var(--rule);
}
.sidebar-role {
  margin-bottom: 28px;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.45;
}
.sidebar-role span { color: var(--muted); }

.sidebar-nav { display: grid; gap: 2px; }
.sidebar-nav a,
.sidebar-subnav a {
  display: block;
  padding: 2px 0 2px 12px;
  border-left: 2px solid transparent;
  color: var(--text);
  transition: color .15s ease, border-color .15s ease;
}
.sidebar-nav a { font-size: 1.05rem; }
.sidebar-nav a:hover,
.sidebar-subnav a:hover { color: var(--accent); text-decoration: none; }
.sidebar-nav a[aria-current="true"],
.sidebar-subnav a[aria-current="true"] { color: var(--accent); border-left-color: var(--accent); }
.sidebar-nav .nav-cv { font-weight: 600; }

.sidebar-subnav {
  display: grid;
  gap: 0;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.sidebar-subnav a {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
  padding-bottom: 4px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 22px;
}
.divider-line { flex: 1; height: 1px; background: var(--rule); }
.divider-mark { width: 18px; height: 18px; }

.sidebar-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-left: 14px;
}
.sidebar-links a { display: inline-flex; color: var(--muted); transition: color .15s ease, transform .15s ease; }
.sidebar-links a:hover { color: var(--accent); transform: translateY(-1px); }
.sidebar-links svg { width: 19px; height: 19px; display: block; }

.main {
  margin-left: var(--sidebar-w);
  max-width: calc(var(--sidebar-w) + 860px);
  padding: 96px 80px 64px 72px;
}

.section-grid {
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr);
  column-gap: 18px;
  align-items: baseline;
}
.num {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.num::after { content: " /"; color: var(--muted); font-weight: 400; }

.hero { margin-bottom: 96px; }
.hero > div { max-width: 720px; }
.hero-photo { display: none; }
.kicker {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
h1 {
  margin: 0 0 12px;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.01em;
}
.affil {
  margin: 0 0 34px;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--muted);
}
.affil a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--accent); }
.affil a:hover { color: var(--accent); }
.bio p { text-align: left; }
.bio .bio-note { color: var(--muted); font-style: italic; }

.meta-lines {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 20px;
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.meta-lines dt {
  white-space: nowrap;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding-top: 4px;
}
.meta-lines dd { margin: 0; }
.fields { margin: 0; padding: 0; list-style: none; line-height: 1.5; }
.fields li { padding-left: 16px; position: relative; }
.fields li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1px; background: var(--accent); }

.hero-actions { margin: 28px 0 0; }
.button {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background-color .2s ease, color .2s ease;
}
.button:hover { background: var(--accent); color: var(--bg); text-decoration: none; }

.section { margin-bottom: 96px; scroll-margin-top: 40px; }
.section-head { margin-bottom: 30px; }
.section-head h2 {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin: 0;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.1;
}
.section-head h2::after { content: ""; flex: 1; height: 1px; background: var(--rule); transform: translateY(-.3em); }
.section-body { margin-left: calc(var(--gutter) + 18px); max-width: 720px; }

.sub-heading {
  margin: 0 0 6px;
  padding-top: 8px;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  scroll-margin-top: 40px;
}
.sub-heading:not(:first-child) { margin-top: 44px; }

.paper { padding: 20px 0 22px; border-bottom: 1px solid var(--rule); }
.paper:last-of-type { border-bottom: 0; }
.paper-title { margin: 0 0 4px; font-size: 1.28rem; font-weight: 600; line-height: 1.3; }
.paper-meta { margin: 0; color: var(--muted); font-style: italic; font-size: 1rem; }
.paper-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.paper.compact { padding: 14px 0 16px; }
.paper.compact .paper-title { font-size: 1.15rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--button);
  border-radius: 2px;
  background: transparent;
  color: var(--button);
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.pill.toggle::after { content: "\25BE"; font-size: .8em; transition: transform .2s ease; }
.pill.toggle[aria-expanded="true"] { background: var(--button); color: var(--button-text); }
.pill.toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.pill.toggle:hover { background: var(--button); color: var(--button-text); }
.pill.is-muted { border-color: var(--rule); color: var(--muted); cursor: default; }

.panel {
  margin-top: 14px;
  padding: 2px 0 2px 18px;
  border-left: 2px solid var(--button);
  font-size: 1.02rem;
  line-height: 1.65;
  hyphens: auto;
}
.panel p { margin: 0; }
.panel[hidden] { display: none; }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-label {
  margin-bottom: 4px;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-grid p:not(.contact-label) { font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }

.site-footer {
  margin-left: var(--sidebar-w);
  border-top: 1px solid var(--rule);
  padding: 48px 0 40px;
  scroll-margin-top: 40px;
}
.footer-grid,
.footer-updated {
  max-width: 860px;
  margin-left: calc(72px + var(--gutter) + 18px);
  margin-right: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.footer-title {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.footer-text {
  margin: 0 0 14px;
  font-size: .98rem;
  line-height: 1.6;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.footer-text strong { color: var(--text); font-weight: 600; }
.footer-text a { color: var(--text); }
.footer-links { display: grid; gap: 2px; justify-items: end; align-content: start; padding-top: 26px; }
.footer-links a { color: var(--text); font-style: italic; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-updated {
  margin-top: 28px;
  font-size: .85rem;
  font-style: italic;
  color: var(--muted);
}

.mobile-bar { display: none; }

@media (max-width: 1100px) {
  :root { --sidebar-w: 270px; }
  .sidebar { padding-left: 34px; padding-right: 26px; }
  .sidebar-name { font-size: 1.3rem; }
  .main { padding: 88px 48px 56px 48px; }
  .footer-grid, .footer-updated { margin-left: calc(48px + var(--gutter) + 18px); margin-right: 48px; }
  .footer-grid { gap: 32px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  body { font-size: 18px; }
  .sidebar { display: none; }
  .mobile-bar {
    display: block;
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
  }
  .mobile-nav {
    display: flex;
    gap: 18px;
    align-items: baseline;
    overflow-x: auto;
    margin-right: 58px;
    padding: 16px 12px 14px 20px;
    white-space: nowrap;
    font-size: 1rem;
    scrollbar-width: none;
  }
  .mobile-nav a { color: var(--text); }
  .mobile-nav a[aria-current="true"] { color: var(--accent); }
  .mobile-name { display: none; }
  .theme-toggle { top: 9px; right: 14px; width: 36px; height: 36px; }
  .main { margin-left: 0; padding: 40px 20px 48px; }
  .section-grid { grid-template-columns: 1fr; }
  .hero .num, .section-head .num { display: none; }
  .hero-photo {
    display: block;
    width: 110px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid var(--rule);
  }
  h1 { font-size: 2.3rem; }
  .section-head h2 { font-size: 1.8rem; }
  .section-body { margin-left: 0; }
  .site-footer { margin-left: 0; padding: 36px 0 32px; }
  .footer-grid, .footer-updated { margin-left: 20px; margin-right: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 8px; }
  .footer-links { justify-items: start; padding-top: 0; grid-auto-flow: column; justify-content: start; gap: 18px; }
  .contact-grid { grid-template-columns: 1fr; gap: 12px; }
  .meta-lines { grid-template-columns: 1fr; }
  .section, .sub-heading { scroll-margin-top: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .theme-toggle, .sidebar, .mobile-bar { display: none; }
  .site-footer { margin-left: 0; }
  .main { margin: 0; padding: 0; }
  .panel[hidden] { display: block; }
}

.link-list { margin: 0; padding: 0; list-style: none; font-size: 1rem; line-height: 1.6; }

.contact-pair {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 6px;
  align-items: start;
}
.contact-pair p { margin: 0; }
.contact-pair .contact-label { margin-bottom: 0; }
@media (max-width: 860px) {
  .contact-pair { grid-column: auto; grid-template-columns: 1fr; row-gap: 2px; }
  .contact-pair .c-email { order: 1; }
  .contact-pair .c-inst { order: 2; }
  .contact-pair .contact-label.c-inst { margin-top: 12px; }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  max-width: 860px;
  margin: 28px 80px 0 calc(72px + var(--gutter) + 18px);
}
.footer-bottom .footer-updated { margin: 0; max-width: none; }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.to-top:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
@media (max-width: 1100px) { .footer-bottom { margin-left: calc(48px + var(--gutter) + 18px); margin-right: 48px; } }
@media (max-width: 860px) { .footer-bottom { margin-left: 20px; margin-right: 20px; } }

@media (min-width: 861px) and (max-height: 860px) {
  .sidebar { padding-top: 44px; padding-bottom: 24px; }
  .sidebar-name { margin-bottom: 20px; }
  .sidebar-role { margin-bottom: 20px; }
  .divider { margin: 20px 0 16px; }
}

.paper-previous {
  display: inline-block;
  margin: 2px 0 0;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}
.paper-previous-label {
  margin-right: 4px;
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.paper-previous em { color: var(--text); }

body { font-size: 15.5px; line-height: 1.7; }
h1 { font-size: 2.05rem; font-weight: 600; letter-spacing: -.02em; }
.section-head h2 { font-size: 1.45rem; font-weight: 500; }
.paper-title { font-size: 1.02rem; }
.paper.compact .paper-title { font-size: 1rem; }
.paper-meta, .affil-sub, .sidebar-role, .footer-updated, .bio .bio-note { font-style: normal; }
.affil { font-size: .95rem; }



.sidebar-name { font-size: 1.12rem; letter-spacing: -.02em; }
.sidebar-role { font-size: .82rem; line-height: 1.55; }
.sidebar-photo { border-radius: 4px; }
.sidebar-subnav a { font-size: .74rem; font-weight: 500; }

.sub-heading { font-size: .82rem; font-weight: 600; }

.pill {
  border: 0;
  border-radius: 0;
  padding: 2px 4px;
  background: transparent;
  color: var(--text);
  font-size: .8rem;
  font-weight: 500;
}
.pill::before { content: "["; color: var(--muted); }
.pill::after { content: "]"; color: var(--muted); }
.pill.toggle::after,
.pill.toggle[aria-expanded="true"]::after { content: "]"; transform: none; font-size: 1em; }
.pill.toggle[aria-expanded="true"],
.pill.toggle:hover { background: var(--text); color: var(--bg); }
.pill.toggle[aria-expanded="true"]::before, .pill.toggle[aria-expanded="true"]::after,
.pill.toggle:hover::before, .pill.toggle:hover::after { color: var(--bg); }
.pill.is-muted { color: var(--muted); }
.panel { border-left: 1px dashed var(--muted); font-size: .92rem; }
.paper-previous { border-radius: 0; font-size: .82rem; }

.button { border-radius: 0; }
.fields li::before { content: "-"; background: none; width: auto; height: auto; top: 0; color: var(--accent); }
.footer-text { font-size: .88rem; }
.to-top { border-radius: 0; font-weight: 500; }
.theme-toggle { border-radius: 4px; }


:root { --sidebar-w: 320px; }
.main { max-width: calc(var(--sidebar-w) + 980px); }
.hero > div, .section-body { max-width: 800px; }
.footer-grid, .footer-bottom { max-width: 880px; }
.sidebar-role { font-size: .78rem; }
h1, .section-head h2, .paper-title, .paper-meta, .paper-previous, .affil { text-wrap: balance; }
.bio p, .panel p, .footer-text { text-wrap: pretty; }
@media (max-width: 1100px) {
  :root { --sidebar-w: 290px; }
  .sidebar-role { font-size: .74rem; }
}
.bio .bio-note { text-wrap: balance; }

:root { --prose: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }

.bio p, .panel p {
  max-width: 68ch;
  font-family: var(--prose);
  font-size: 1.06rem;
  line-height: 1.72;
}
.panel p { font-size: 1rem; }
.bio .bio-note { font-family: var(--prose); font-size: 1rem; }

h1 { font-weight: 500; }
.sidebar-name, .paper-title, .footer-text strong, .sidebar-nav .nav-cv { font-weight: 500; }

.hero > div, .section-body { max-width: 86ch; }
.meta-lines { grid-template-columns: 18ch 1fr; column-gap: 0; }
.affil { max-width: 86ch; }

::selection { background: var(--accent); color: var(--bg); }

.paper-links { align-items: center; }
.paper-status {
  font-size: .8rem;
  color: var(--muted);
}
.paper-links .pill + .paper-status { margin-left: 8px; }

.sidebar-links {
  justify-content: space-between;
  gap: 0;
  padding-left: 0;
  padding-right: 0;
}
