:root {
  color-scheme: light;
  --ink: #20242b;
  --copy: #353a40;
  --muted: #59616b;
  --accent: #205c99;
  --rule: #d7dce1;
  --serif: "STIX Two Text", Georgia, "Songti SC", "Noto Serif CJK SC", SimSun, serif;
  --sans: "Source Sans 3", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; border-top: 3px solid var(--accent); color: var(--ink); background: #fff; font: 1rem/1.78 var(--sans); }
main, footer { width: min(100% - 3rem, 64rem); margin-inline: auto; }
a { color: var(--accent); text-decoration: underline; text-decoration-color: #aabcc9; text-underline-offset: .22em; }
a:hover { color: #082e50; text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; top: -5rem; left: 1rem; padding: .4rem .8rem; background: white; }
.skip:focus { top: .5rem; }
footer { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding: .95rem 0; }


.links { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; }
footer a { color: var(--muted); font-size: .9rem; }


h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); }
.intro { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "name photo" "about photo"; column-gap: clamp(2rem,6vw,5.1rem); align-items: start; padding: clamp(1.15rem,2.6vw,2rem) 0 1.7rem; }
.identity { grid-area: name; }
h1 { font-size: clamp(1.75rem,3vw,2.125rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.16; }
h1 span { display: inline-block; margin-left: .18em; color: var(--muted); font-size: .78em; font-weight: 400; font-style: normal; }
.affiliation, .label p { color: var(--muted); }
.affiliation { margin-top: .5rem; }
.portrait { grid-area: photo; width: clamp(8rem,14vw,10.5rem); height: auto; border: 1px solid var(--rule); border-radius: 8px; }
.about { grid-area: about; margin-top: .9rem; color: var(--copy); }
.about p + p { margin-top: .4rem; }
.about p[lang="en"] { max-width: 70ch; line-height: 1.58; }
.authors strong { color: var(--ink); }
.links { margin-top: .6rem; font-size: .94rem; }
.contact { margin-top: 1rem; align-items: center; }
.contact a { display: inline-grid; grid-template-columns: 1rem auto; align-items: center; column-gap: .4rem; min-height: 1.75rem; line-height: 1.4; text-decoration: none; }
.contact a:hover, .contact a:focus-visible { text-decoration: underline; }
.contact img { display: block; width: 1rem; height: 1rem; object-fit: contain; }

.section { display: grid; grid-template-columns: minmax(0,1fr); gap: .85rem; border-top: 1px solid var(--rule); padding: 1.55rem 0 1.65rem; }
#publications { border-top: 1px solid #aab4be; }
.label h2 { font-size: 1.43rem; line-height: 1.5; font-weight: 600; }
.label p { margin-top: .2rem; font-size: .9rem; }
.entries { min-width: 0; overflow-wrap: anywhere; }
.entries article + article { margin-top: 1.4rem; }
article p { color: var(--copy); margin-top: .45rem; }
article h3 { font-weight: 600; font-size: clamp(1.25rem,2.2vw,1.62rem); line-height: 1.24; }
.venue { color: var(--accent); font-size: .91rem; letter-spacing: .012em; font-weight: 600; margin: 0 0 .3rem; }
.venue cite { font-style: normal; }
.authors { color: var(--muted); font: 1.05rem/1.52 var(--serif); }

.compact article + article { border-top: 1px solid #e6ebef; padding-top: 1.1rem; }
.compact article h3 { font-size: 1.27rem; line-height: 1.38; }
.education { list-style: none; margin: 0; padding: 0; }
.education li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem 1rem; color: var(--copy); }
.education li + li { margin-top: .4rem; }
.education li span:nth-child(n+3) { color: var(--muted); font-size: .94rem; }
footer { border-top: 1px solid var(--rule); padding-bottom: 1.6rem; }
.reviewing { margin: 0; color: var(--copy); }


.reviewing cite { display: inline-block; font-family: var(--serif); }
.bibliography article + article { margin-top: 1rem; }
.bibliography h3 { font-size: 1.25rem; line-height: 1.27; }
.bibliography .authors { margin-top: .15rem; }
.bibliography .venue { margin: .1rem 0 0; color: var(--muted); font-weight: 400; }
.bibliography .venue cite { font-style: italic; color: var(--ink); }
.bibliography .contribution { font-size: .96rem; margin-top: .12rem; }
.featured-paper { display: grid; grid-template-columns: minmax(0,1fr) 14rem; align-items: center; gap: 2rem; }
.matching-result { margin: 0; padding: .5rem 0 .5rem 1rem; border-left: 1px solid var(--rule); color: var(--copy); font-size: .86rem; }
.matching-result figcaption { color: var(--ink); margin-bottom: .45rem; font-weight: 600; }
.bar-value { display: flex; align-items: center; gap: .4rem; font-variant-numeric: tabular-nums; font-weight: 600; line-height: 1.25; }
.bar-value::before { content: ""; width: var(--rate); border-top: .5rem solid var(--accent); }
.matching-result div + div { margin-top: .35rem; }
.bibliography .collaboration h3 { font-size: 1.09rem; font-weight: 500; line-height: 1.35; }
.bibliography .collaboration .authors { margin-top: .08rem; font-size: .98rem; }
.collaboration + .collaboration { margin-top: .7rem; }
.projects { list-style: none; margin: 0; padding: 0; color: var(--copy); }
.projects li + li { margin-top: .45rem; }
@media (max-width: 46rem) {
  .featured-paper { grid-template-columns: minmax(0,1fr); gap: .6rem; }
  .matching-result { max-width: 20rem; }
  main, footer { width: min(100% - 2.1rem, 40rem); }
  .intro { grid-template-areas: "name photo" "about about"; column-gap: .8rem; padding-block: 1.1rem; align-items: center; }
  .portrait { width: clamp(4.8rem,21vw,7rem); }
  .section { gap: .85rem; padding: 1.45rem 0 1.65rem; }
  .label { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem; }
  .label p { margin: 0; }
}
@media (max-width: 32rem) {
  h1 span { display: block; margin: .2rem 0; }
  .affiliation { font-size: .9rem; }
  .affiliation .separator { display: none; }
  .affiliation .program { display: block; }
  .contact { display: grid; grid-template-columns: max-content max-content; gap: .15rem 1rem; }
  .contact a:first-child { grid-column: 1 / -1; }
  .contact a { justify-self: start; }
}
.program { display: inline-block; }
@media print {
  @page { size: A4; margin: 12mm 14mm; }
  body { border: 0; font-size: 10pt; line-height: 1.32; }
  main { width: 100%; }
  footer, .skip, .label p { display: none; }
  .intro { padding: 0 0 5pt; grid-template-areas: "name photo" "about photo"; }
  .portrait { width: 48pt; }
  h1 { font-size: 19pt; }
  .section { display: block; padding: 5pt 0; }
  .label { margin-bottom: 3pt; break-after: avoid; }
  .label h2 { font-size: 12pt; line-height: 1.25; }
  .entries article { break-inside: avoid; }
  article h3, .compact article h3 { font-size: 11pt; line-height: 1.2; }
  .affiliation, .about, .entries article p, .links, .education li span { font-size: 10pt; line-height: 1.32; }
  article p, .about, .contact, .links, .venue { margin: 2pt 0 0; }
  .entries article + article { margin-top: 5pt; }
  .bibliography h3, .bibliography .collaboration h3 { font-size: 11pt; }
  .bibliography .contribution { font-size: 10pt; }
  .compact article + article { padding-top: 4pt; }
  a { color: inherit; }
}
