:root {
  --ink: #22313f;
  --muted: #687784;
  --accent: #2d6d82;
  --line: #dce5e8;
  --side: #f1f6f7;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  line-height: 1.62;
  overflow: hidden;
}

a { color: var(--accent); }

.wrapper {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  width: min(1180px, 100%);
  height: 100vh;
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  width: auto;
  height: 100vh;
  min-height: 0;
  padding: 58px 38px 38px;
  float: none;
  overflow-y: auto;
  scrollbar-width: none;
  border-right: 1px solid var(--line);
  background: var(--side);
}

header::-webkit-scrollbar { display: none; }

header img {
  order: 1;
  width: 118px;
  height: 138px;
  margin: 0;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 7px;
}

header h1 {
  order: 2;
  margin: 25px 0 4px;
  font-size: 28px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.02em;
}

header h1 a { color: var(--ink); text-decoration: none; }

header > p:not(.view) {
  order: 3;
  margin: 0;
}

.chinese-name {
  display: block;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.profile-role {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.profile-links {
  display: grid;
  gap: 7px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.profile-links a {
  width: fit-content;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.profile-links a:hover { text-decoration: underline; }

header .view, footer { display: none; }

section {
  width: auto;
  height: 100vh;
  padding: 58px 65px 84px;
  float: none;
  overflow-y: auto;
  scrollbar-width: none;
}

section::-webkit-scrollbar { display: none; }

section h2 {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 29px 0 12px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.35;
}

section h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

section > h2:first-of-type { margin-top: 0; }
section p { margin: 0 0 13px; }
section ul, section ol { margin-top: 0; margin-bottom: 15px; }
section li { margin-bottom: 8px; }

.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  border-top: 1px solid var(--line);
}

.research-grid > div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.research-grid strong, .research-grid span { display: block; }
.research-grid strong { font-size: 14px; }
.research-grid span { margin-top: 2px; color: var(--muted); font-size: 13px; }

.education-list { border-top: 1px solid var(--line); }

.education-item {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.education-item > span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
}

.education-item p { margin: 0; }
.education-item small { color: var(--muted); font-size: 13px; }
.publication-note { color: var(--muted); font-size: 13px; }
section ol { padding-left: 25px; }
section ol li { padding-left: 3px; margin-bottom: 12px; }

@media screen and (max-height: 680px) and (min-width: 761px) {
  header { padding-top: 28px; padding-bottom: 24px; }
  header img { width: 92px; height: 108px; }
  header h1 { margin-top: 16px; font-size: 24px; }
  .chinese-name { margin-bottom: 12px; }
  .profile-links { gap: 5px; margin-top: 17px; padding-top: 14px; }
}

@media print, screen and (max-width: 760px) {
  html, body { height: auto; }
  body { overflow: auto; }
  .wrapper { display: block; width: 100%; height: auto; }
  header {
    position: static;
    width: auto;
    height: auto;
    min-height: 0;
    padding: 28px 24px;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  header img { width: 96px; height: 112px; }
  header h1 { margin-top: 18px; font-size: 23px; }
  section { width: auto; height: auto; padding: 34px 24px 60px; overflow: visible; }
  .research-grid { grid-template-columns: 1fr; }
  .education-item { grid-template-columns: 1fr; gap: 3px; }
}
