:root {
  color-scheme: light;
  --text: #202b33;
  --muted: #5f6d77;
  --link: #1b6587;
  --line: #e4e9ec;
  --soft: #f4f8fa;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: #fff; color: var(--text); font: 400 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; border-radius: 2px; }
p { margin: 0 0 15px; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 620; }
img { max-width: 100%; }
.skip { position: fixed; z-index: 5; left: 16px; top: -80px; background: #fff; border: 1px solid var(--link); padding: 8px 14px; }
.skip:focus { top: 12px; }
.page { width: min(100%, 1000px); margin: 0 auto; padding: 0 40px 32px; }
.site-header { display: flex; justify-content: flex-end; padding: 20px 0 24px; }
.section-links { display: flex; flex-wrap: wrap; column-gap: 25px; font-size: 13px; }
.section-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: var(--muted); }
.section-links a:hover { color: var(--link); }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 180px; grid-template-areas: "name photo" "copy photo" "links photo"; column-gap: 54px; align-items: start; }
.intro-name { grid-area: name; }
h1 { margin: 0 0 24px; font-size: 36px; font-weight: 650; line-height: 1.15; letter-spacing: -1.1px; }
.intro-copy { grid-area: copy; min-width: 0; }
.portrait-link { grid-area: photo; display: block; width: 180px; margin-top: 4px; border-radius: 6px; overflow: hidden; }
.avatar { display: block; width: 100%; height: auto; }
.profile-links { grid-area: links; display: flex; flex-wrap: wrap; align-items: center; gap: 3px 22px; margin-top: 19px; font-size: 14px; }
.profile-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; white-space: nowrap; }
.profile-icon { display: block; flex: 0 0 15px; width: 15px; height: 15px; color: var(--text); }
.profile-links a:hover .profile-icon { color: var(--link); }
.phd-note { margin-top: 25px; padding: 13px 17px; border-left: 3px solid #76a3ba; background: var(--soft); font-size: 14px; line-height: 1.65; }
.phd-note a { display: inline-block; margin-left: 8px; white-space: nowrap; }
main, section { min-width: 0; }
main > section { margin-bottom: 49px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; padding-bottom: 13px; margin-bottom: 29px; border-bottom: 1px solid var(--line); }
h2 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.4; letter-spacing: -0.35px; }
.section-note { color: var(--muted); font-size: 12px; }
.paper { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 34px; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); scroll-margin-top: 26px; }
.paper:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.paper-body { grid-column: 2; min-width: 0; }
.paper-figure { margin: 4px 0 0; min-width: 0; align-self: start; }
.paper-figure > a { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.paper-figure img { display: block; width: 100%; height: auto; }
.paper-figure > a > img { height: 100%; min-height: 0; object-fit: contain; }
.paper-figure figcaption { margin-top: 10px; text-align: center; font-size: 11px; line-height: 1.5; color: var(--muted); }
.paper-figure > .feature-comparison { display: grid; grid-template-columns: 1fr 1fr; align-items: start; align-content: center; gap: 7px; }
.feature-comparison > span { display: block; min-width: 0; }
.feature-label { display: block; margin-top: 6px; color: var(--muted); text-align: center; font-size: 10px; line-height: 1.4; }
.paper h3 { margin: 0 0 7px; font-size: 17px; line-height: 1.45; font-weight: 650; letter-spacing: -0.15px; }
.paper h3 a { color: var(--link); }
.paper:target h3 { text-decoration: underline; text-decoration-color: #acc4d2; text-underline-offset: 4px; }
.authors { margin: 0 0 6px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.authors strong { color: var(--text); }
.paper-meta { display: flex; flex-wrap: wrap; gap: 3px 13px; margin-bottom: 5px; font-size: 12px; line-height: 1.6; }
.venue { color: var(--muted); font-weight: 550; }
.accepted { color: var(--text); font-weight: 650; }
.distinction { color: #8b493b; }
.paper-links { display: flex; flex-wrap: wrap; column-gap: 17px; row-gap: 2px; margin-bottom: 10px; font-size: 13px; }
.paper-links a { display: inline-flex; align-items: center; min-height: 24px; }
.paper-description { margin-bottom: 8px; font-size: 14px; line-height: 1.7; }
details { font-size: 13px; line-height: 1.7; }
summary { width: fit-content; min-height: 24px; padding: 2px 0; color: var(--muted); cursor: pointer; }
summary:hover { color: var(--link); }
summary::marker { font-size: 10px; }
details[open] summary { color: var(--link); }
details p { padding-left: 13px; margin-top: 9px; border-left: 2px solid var(--line); color: var(--muted); }
.activities, .honors { padding: 0; margin: 0; list-style: none; }
.activities li { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 34px; margin-bottom: 18px; font-size: 14px; }
.activities li:last-child { margin-bottom: 0; }
.activity-date { font-size: 12px; color: var(--muted); padding-top: 3px; }
.activities p { margin-top: 3px; color: var(--muted); }
.honors { font-size: 14px; }
.honors li { margin-bottom: 8px; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; border-top: 1px solid var(--line); padding-top: 19px; font-size: 12px; color: var(--muted); }
@media (max-width: 800px) {
  .page { padding: 0 28px 28px; }
  .site-header { padding: 12px 0 21px; }
  .intro { grid-template-columns: minmax(0, 1fr) 150px; column-gap: 30px; }
  .portrait-link { width: 150px; }
  h1 { font-size: 33px; }
  .paper { grid-template-columns: 150px minmax(0, 1fr); column-gap: 25px; }
  .activities li { grid-template-columns: 150px minmax(0, 1fr); column-gap: 25px; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 18px; }
  .page { padding: 0 22px 24px; }
  .site-header { padding: 7px 0 22px; justify-content: flex-start; }
  .section-links { column-gap: 25px; }
  .intro { grid-template-columns: minmax(0, 1fr) 105px; grid-template-areas: "name photo" "copy copy" "links links"; column-gap: 24px; }
  .intro-name { align-self: center; }
  h1 { margin-bottom: 0; font-size: 32px; }
  .portrait-link { width: 105px; margin-top: 0; }
  .intro-copy { margin-top: 24px; }
  .profile-links { column-gap: 22px; margin-top: 14px; }
  .phd-note { margin-top: 20px; padding: 12px 14px; }
  .phd-note a { margin-left: 0; margin-top: 3px; }
  main > section { margin-bottom: 37px; }
  .section-heading { margin-bottom: 23px; }
  h2 { font-size: 21px; }
  .paper { grid-template-columns: minmax(0, 1fr); gap: 15px; margin-bottom: 27px; padding-bottom: 27px; }
  .paper-body { grid-column: 1; grid-row: 1; }
  .paper-figure { grid-row: 2; width: 230px; max-width: 100%; margin-top: 3px; }
  .paper-figure figcaption { margin-top: 7px; text-align: left; }
  .paper h3 { font-size: 17px; }
  .paper-description { font-size: 15px; }
  .authors { font-size: 13px; }
  .activities li { grid-template-columns: 1fr; gap: 2px; margin-bottom: 19px; }
  .activity-date { padding-top: 0; }
}
@media (max-width: 380px) {
  .page { padding-left: 18px; padding-right: 18px; }
  .intro { grid-template-columns: minmax(0, 1fr) 84px; column-gap: 18px; }
  .portrait-link { width: 84px; }
  h1 { font-size: 28px; }
  .section-links { column-gap: 21px; }
  .profile-links { column-gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .page { max-width: none; padding: 0; }
  .site-header, .skip, .portrait-link, .profile-links, .paper-figure, details, footer { display: none; }
  .intro { display: block; }
  h1 { margin-bottom: 18px; }
  .phd-note { background: none; }
  .paper { display: block; break-inside: avoid; }
  a { color: inherit; }
  main > section { margin-bottom: 25px; }
}
