:root {
  color-scheme: light;
  --ink: #222;
  --body: #424242;
  --muted: #606060;
  --rule: #e5e5e5;
  --link: #254762;
  --paper: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--body); font: 15px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: #17364d; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 10; top: 10px; left: 12px; transform: translateY(-150%); padding: 7px 11px; background: #fff; color: var(--ink); border: 1px solid var(--rule); }
.skip-link:focus { transform: none; }
.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; }
.site-shell { display: grid; grid-template-columns: 200px minmax(0, 720px); gap: 48px; max-width: 1060px; min-height: 100vh; margin: 0 auto; padding: 42px 46px 64px; background: #fff; }
.sidebar { position: sticky; top: 28px; align-self: start; min-width: 0; }
.identity { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.portrait { display: block; width: 136px; height: 160px; object-fit: cover; object-position: center 28%; }
.name-link { display: inline-block; margin-bottom: 5px; color: var(--ink); font-size: 18px; font-weight: 650; line-height: 1.3; text-decoration: none; }
.identity-text p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.profile-link { color: inherit; text-decoration: underline; text-decoration-color: #a9a9a9; text-underline-offset: 3px; }
.profile-link:hover { color: var(--link); text-decoration-color: currentColor; }
.sidebar-links { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin: 16px 0 0; font-size: 12px; line-height: 1.5; }
.sidebar-links a { overflow-wrap: anywhere; }
.section-nav { display: grid; gap: 1px; margin-top: 26px; }
.section-nav a { display: block; padding: 4px 0; color: var(--muted); font-size: 13px; text-decoration: none; }
.section-nav a:hover, .section-nav a:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.content { min-width: 0; max-width: 720px; }
.intro { padding: 6px 0 28px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ink); }
h1 { margin: 0; font-size: 34px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.role-line { margin: 5px 0 16px; color: var(--muted); font-size: 14px; }
.interests { margin: 0; }
.interests .label { margin: 0 0 4px; color: var(--muted); font-size: 12px; font-weight: 600; }
.interests p:last-child { margin: 0; color: var(--body); font-size: 14px; line-height: 1.65; }
.interests p span { padding: 0 4px; color: #858585; }
.section { padding: 25px 0 27px; border-top: 1px solid var(--rule); scroll-margin-top: 20px; }
.section-heading { margin-bottom: 13px; }
h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.paper-group { margin-top: 22px; }
.paper-group > h3 { margin: 0 0 5px; font-size: 14px; font-weight: 650; line-height: 1.45; }
.paper { padding: 11px 0; border-bottom: 1px solid #ededed; }
.paper:last-child { border-bottom: 0; }
.paper h4 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.45; }
.paper h4 a { color: inherit; text-decoration-color: #9b9b9b; text-decoration-thickness: 1px; }
.paper h4 a:hover { color: var(--link); text-decoration-color: currentColor; }
.paper-authors { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.paper-status { margin: 1px 0 4px; color: var(--muted); font-size: 13px; }
.paper-status a { color: var(--link); }
.paper-conference { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.paper-conference a { color: var(--link); }
details { color: var(--muted); font-size: 13px; }
summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--link); font-size: 13px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; color: #555; font: 15px/1 system-ui, sans-serif; }
details[open] summary::before { content: "−"; }
details > p { max-width: 670px; margin: 7px 0 1px; color: var(--body); font-size: 14px; line-height: 1.6; }
.listing-list { display: grid; }
.listing { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid #ededed; }
.listing:last-child { border-bottom: 0; }
.listing-date { margin: 1px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.listing h3 { margin: 0 0 2px; font-size: 15px; font-weight: 600; line-height: 1.45; }
.listing h3 a { color: inherit; text-decoration-color: #9b9b9b; text-decoration-thickness: 1px; }
.listing h3 a:hover { color: var(--link); text-decoration-color: currentColor; }
.listing div > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.listing div > p span { padding: 0 3px; color: #777; }
.site-footer { display: flex; align-items: baseline; gap: 8px; padding: 20px 0 0; color: var(--muted); font-size: 13px; }
.site-footer span:first-child { color: var(--ink); font-weight: 600; }
.education-list .listing { padding-top: 10px; padding-bottom: 10px; }
@media (min-width: 761px) and (max-height: 650px) {
  .sidebar { top: 18px; }
  .section-nav { margin-top: 18px; gap: 0; }
  .section-nav a { padding-top: 3px; padding-bottom: 3px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 16px; }
  .site-shell { display: block; min-height: 100vh; padding: 22px 22px 42px; }
  .sidebar { position: static; padding: 0 0 17px; border-bottom: 1px solid var(--rule); }
  .identity { flex-direction: row; align-items: center; gap: 13px; }
  .portrait { flex: 0 0 auto; width: 72px; height: 84px; }
  .name-link { margin-bottom: 3px; font-size: 17px; }
  .identity-text p { font-size: 12px; }
  .sidebar-links { flex-direction: row; flex-wrap: wrap; gap: 3px 14px; margin-top: 10px; font-size: 12px; }
  .section-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; }
  .section-nav a { padding: 2px 0; font-size: 12px; }
  .content { max-width: none; }
  .intro { padding: 27px 0 23px; }
  h1 { font-size: 30px; }
  .role-line { margin: 4px 0 12px; font-size: 13px; }
  .interests p:last-child { font-size: 13px; }
  .section { padding: 21px 0 23px; }
  h2 { font-size: 21px; }
  .paper-group { margin-top: 18px; }
  .paper h4 { font-size: 15px; }
  .listing { grid-template-columns: 95px minmax(0, 1fr); gap: 12px; padding: 10px 0; }
  .listing h3 { font-size: 14px; }
}
@media (max-width: 420px) {
  .site-shell { padding-right: 17px; padding-left: 17px; }
  .listing { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
