:root {
  color-scheme: light;
  --text: #29333e;
  --muted: #5c6570;
  --accent: #254d70;
  --line: #e3e8ed;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 44px 64px;
  border-top: 3px solid var(--accent);
}
.profile { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 38px; align-items: center; }
.portrait { display: block; width: 170px; height: auto; margin-top: 5px; }
.profile-links { list-style: none; margin: 18px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); font-size: 14px; }
.profile-links li + li { margin-top: 4px; }
.profile-links a { display: flex; align-items: center; gap: 10px; padding: 6px 7px; border-radius: 4px; }
.profile-links a:hover { background: #f0f4f7; text-decoration: none; }
.profile-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex: 0 0 20px; }
.profile-icon svg { display: block; width: 18px; height: 18px; }
.profile-text > p:last-child { margin-bottom: 0; }
h1, h2, h3 { line-height: 1.35; }
h1 { margin: 0; font-size: 38px; font-weight: 600; letter-spacing: -1px; }
.field { margin: 6px 0 0; color: var(--muted); font-size: 16px; letter-spacing: .15px; }
.email { margin: 9px 0 22px; font-size: 15px; }
p { margin: 12px 0; }
.profile-text > p:not(.field):not(.email),
.news li > span,
.papers p {
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
section + section { margin-top: 38px; }
h2 { margin: 0 0 20px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--accent); font-size: 23px; font-weight: 600; letter-spacing: -.35px; }
.news { list-style: none; margin: 0; padding: 0; }
.news li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; margin: 12px 0; }
.news time { color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.papers { margin: 0; padding-left: 29px; }
.papers li { padding-left: 9px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid #eef1f4; }
.papers li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.papers li::marker { color: var(--muted); font-size: 14px; }
h3 { margin: 0 0 5px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.papers p { margin: 3px 0; font-size: 15px; line-height: 1.65; }
.venue { color: #4e5863; }
.paper-link { display: inline-flex; align-items: center; gap: 4px; margin-left: 7px; font-style: normal; font-size: 13px; line-height: 1.4; vertical-align: baseline; white-space: nowrap; }
.paper-icon { width: 14px; height: 14px; flex: 0 0 14px; align-self: center; }
.paper-link:not([href]) { color: var(--muted); cursor: default; text-decoration: none; }
strong { font-weight: 700; }
::selection { background: #dfeaf3; }
@media (max-width: 600px) {
  .page { padding: 30px 22px 36px; }
  .profile { grid-template-columns: 1fr; gap: 20px; }
  .portrait { width: 136px; margin-top: 0; }
  .profile-sidebar { display: flex; align-items: center; gap: 22px; }
  .profile-links { margin: 0; padding: 0; border-top: 0; }
  body { font-size: 15px; }
  h1 { font-size: 32px; }
  h2 { font-size: 23px; }
  .news li { grid-template-columns: 78px 1fr; gap: 10px; }
  .news time { font-size: 14px; }
  .email { overflow-wrap: anywhere; }
  .papers { padding-left: 23px; }
  .papers li { padding-left: 3px; }
}
@media (max-width: 360px) {
  .profile-sidebar { gap: 12px; }
  .profile-links { font-size: 12px; }
  .profile-links a { gap: 6px; padding-inline: 0; }
}
@media print {
  .page { max-width: none; padding: 0; }
  body { font-size: 11pt; }
  h1 { font-size: 26pt; }
  section + section { margin-top: 20px; }
  .papers li { break-inside: avoid; }
  a { color: inherit; }
}

