:root {
  color-scheme: dark;
  --bg: #05070b;
  --panel: #09111c;
  --panel-soft: #0f1725;
  --panel-lift: #152235;
  --text: #f4f7fb;
  --muted: #bcc7d6;
  --quiet: #7d8ca2;
  --border: #21324a;
  --border-strong: #39577b;
  --heading: #ffffff;
  --accent: #2f65a7;
  --accent-strong: #9cc1ec;
  --cyan: #79b7ea;
  --coral: #d4ab1f;
  --umich-blue: #00274c;
  --umich-maize: #ffcb05;
  --umich-arboretum-blue: #2f65a7;
  --umich-arboretum-blue-soft: rgba(47, 101, 167, 0.9);
  --umich-maize-soft: rgba(255, 203, 5, 0.82);
  --highlight: var(--umich-maize);
  --highlight-soft: var(--umich-maize-soft);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --type-page-title: 32px;
  --type-section-title: 20px;
  --type-record-title: 18px;
  --type-intro: 17px;
  --type-body: 15px;
  --type-meta: 13px;
  --type-label: 12px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #eef1f4;
  --panel: #ffffff;
  --panel-soft: #f8fafb;
  --panel-lift: #f0f4f7;
  --text: #26374a;
  --muted: #566577;
  --quiet: #657283;
  --border: #d5dce4;
  --border-strong: #8698ab;
  --heading: #10243b;
  --accent: #2a5c8f;
  --accent-strong: #153f69;
  --cyan: #2a5c8f;
  --coral: #2a5c8f;
  --umich-maize: #ffcb05;
  --umich-arboretum-blue: #2a5c8f;
  --umich-arboretum-blue-soft: rgba(42, 92, 143, 0.72);
  --umich-maize-soft: rgba(255, 203, 5, 0.68);
  --highlight: #2a5c8f;
  --highlight-soft: rgba(42, 92, 143, 0.34);
  --shadow: 0 20px 55px rgba(16, 36, 59, 0.13);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 72%);
}

body::after {
  display: none;
}

html[data-theme="light"] body::before {
  background-image: none;
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.outer-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 48px 28px 24px;
}

.site-shell {
  position: relative;
  overflow: clip;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  height: 2px;
  background: var(--border-strong);
  opacity: 0.7;
  pointer-events: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}

.tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.topbar .tabs {
  flex: 1;
}

.tab-button,
.icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 0;
  border-radius: var(--radius);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.tab-button {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
}

.tab-button svg {
  font-size: 17px;
}

.tab-button:hover,
.icon-button:hover {
  color: var(--heading);
  background: var(--panel-lift);
}

.tab-button.is-active {
  color: var(--heading);
  background: rgba(47, 101, 167, 0.18);
  box-shadow: inset 0 -2px 0 var(--highlight);
}

.icon-button {
  width: 38px;
  padding: 0;
  font-size: 18px;
}

.theme-toggle {
  flex: 0 0 auto;
  border: 1px solid var(--border);
}

.theme-bulb {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="light"] .theme-toggle {
  color: var(--accent);
  border-color: #bdc8d4;
  background: #f8fafc;
  box-shadow: none;
}

html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .theme-toggle:focus-visible {
  color: var(--heading);
  border-color: var(--border-strong);
  background: var(--panel-lift);
}

html[data-theme="light"] .brand-icon-umich {
  color: #00274c;
  background: #ffcb05;
}

html[data-theme="light"] .orcid-line a {
  color: var(--accent);
}

html[data-theme="light"] .orcid-line a:hover,
html[data-theme="light"] .orcid-line a:focus-visible {
  color: var(--accent-strong);
}

html[data-theme="light"] .catalog-tab.is-active .catalog-count {
  color: var(--heading);
}

html[data-theme="light"] .site-shell {
  border-color: #c9d2dc;
}

html[data-theme="light"] .site-shell::before {
  display: none;
}

html[data-theme="light"] .topbar {
  border-bottom-color: #001f3d;
  background: var(--umich-blue);
}

html[data-theme="light"] .topbar .tab-button {
  color: #c7d5e3;
}

html[data-theme="light"] .topbar .tab-button:hover,
html[data-theme="light"] .topbar .tab-button:focus-visible,
html[data-theme="light"] .topbar .icon-button:hover,
html[data-theme="light"] .topbar .icon-button:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .topbar .tab-button.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 -3px 0 var(--umich-maize);
}

html[data-theme="light"] .topbar .theme-toggle {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .tab-button.is-active {
  background: #edf3f8;
}

html[data-theme="light"] .catalog-tab.is-active {
  color: var(--umich-blue);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

html[data-theme="light"] .record-card {
  border-color: #d1d9e2;
  background: transparent;
  box-shadow: none;
}

html[data-theme="light"] .record-card:hover,
html[data-theme="light"] .record-card:focus-visible {
  border-color: #d1d9e2;
  background: transparent;
  box-shadow: none;
}

html[data-theme="light"] .meta-line > span,
html[data-theme="light"] .presentation-year,
html[data-theme="light"] .presentation-group-heading span,
html[data-theme="light"] .timeline time {
  color: var(--highlight);
}

html[data-theme="light"] .section-head h2,
html[data-theme="light"] .featured-section-title {
  color: #000000;
}

html[data-theme="light"] .social-links a {
  background: #fafbfc;
}

html[data-theme="light"] .paper-actions a,
html[data-theme="light"] .presentation-doi,
html[data-theme="light"] .featured-links a {
  color: var(--accent-strong);
  border-color: #b7c3cf;
  background: #f6f8fa;
}

html[data-theme="light"] .paper-actions a:hover,
html[data-theme="light"] .paper-actions a:focus-visible,
html[data-theme="light"] .presentation-doi:hover,
html[data-theme="light"] .presentation-doi:focus-visible,
html[data-theme="light"] .featured-links a:hover,
html[data-theme="light"] .featured-links a:focus-visible {
  color: var(--panel);
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

html[data-theme="light"] .mobile-tabs {
  border-bottom-color: #001f3d;
  background: var(--umich-blue);
}

html[data-theme="light"] .mobile-tabs .tab-button {
  color: #c7d5e3;
}

html[data-theme="light"] .mobile-tabs .tab-button.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 -3px 0 var(--umich-maize);
}

.icon-button:active,
.tab-button:active {
  transform: translateY(1px);
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 40;
  width: max-content;
  max-width: 180px;
  padding: 4px 7px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  background: var(--panel);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

[data-tooltip]:hover::after,
[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.main-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  min-height: 720px;
}

.main-panel::before {
  display: none;
}

.sidebar {
  position: relative;
  z-index: 1;
  border-right: 1px solid var(--border);
}

.sidebar-inner {
  position: sticky;
  top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 42px 30px;
  text-align: center;
}

.avatar {
  width: 188px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: cover;
  object-position: 50% 42%;
  background: var(--panel-soft);
}

.name-block {
  margin-top: 18px;
}

.name-block h1 {
  margin: 0;
  color: var(--heading);
  font-size: 28px;
  font-weight: 300;
  line-height: 1.2;
}

.name-block strong {
  font-weight: 700;
}

.zh-name {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.orcid-line {
  margin: 7px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
}

.orcid-line a {
  color: #a6ce39;
  font-weight: 700;
}

.orcid-line a:hover,
.orcid-line a:focus-visible {
  color: #c5e86c;
}

.social-links {
  grid-area: social;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin: 10px 0;
}

.social-links a {
  --social-color: var(--muted);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.018);
  font-size: 12px;
  font-weight: 800;
  font-family: var(--mono);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.social-links a svg {
  width: 18px;
  height: 18px;
}

.social-links a:hover {
  color: var(--social-color);
  border-color: var(--social-color);
  background: var(--panel-lift);
  transform: translateY(-1px);
}

.social-cv {
  --social-color: var(--accent-strong);
}

.social-scholar {
  --social-color: var(--accent-strong);
}

.social-linkedin {
  --social-color: var(--accent-strong);
}

.social-mail {
  --social-color: var(--highlight);
}

.contact-list {
  grid-area: contact;
  width: 100%;
  max-width: 260px;
  margin: 22px 0 0;
  text-align: left;
}

.contact-list div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--border);
}

.contact-list dt {
  color: var(--quiet);
  font-size: 12px;
  font-family: var(--mono);
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.contact-list dd a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 140ms ease, text-decoration-color 140ms ease;
}

.contact-list dd a:hover,
.contact-list dd a:focus-visible {
  color: var(--accent-strong);
  text-decoration-color: var(--accent-strong);
  text-decoration-thickness: 2px;
}

.scholar-card {
  width: 100%;
  max-width: 260px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: left;
}

.mobile-scholar-card {
  display: none;
}

.scholar-card h2 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 500;
}

.scholar-card h2 a {
  color: var(--text);
}

.scholar-metrics {
  width: 100%;
  border-collapse: collapse;
  color: var(--text);
  font-size: 12px;
}

.scholar-metrics thead {
  border-bottom: 1px solid var(--border);
}

.scholar-metrics th,
.scholar-metrics td {
  padding: 4px 0;
  font-weight: 400;
}

.scholar-metrics th:first-child {
  text-align: left;
}

.scholar-metrics th:not(:first-child),
.scholar-metrics td {
  width: 32%;
  text-align: right;
}

.scholar-chart {
  position: relative;
  height: 174px;
  margin-top: 16px;
}

.scholar-axis {
  position: absolute;
  top: -7px;
  right: 0;
  bottom: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--quiet);
  font-size: 11px;
}

.scholar-bars {
  position: absolute;
  inset: 0 32px 16px 0;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  align-items: flex-end;
  background:
    linear-gradient(to bottom, var(--border) 0 1px, transparent 1px calc(50% - 1px), var(--border) calc(50% - 1px) 50%, transparent 50% calc(100% - 1px), var(--border) calc(100% - 1px));
}

.scholar-year {
  position: relative;
  display: flex;
  width: 16px;
  height: 100%;
  align-items: flex-end;
  justify-content: center;
}

.scholar-year::after {
  content: attr(data-citations) " citations";
  position: absolute;
  z-index: 2;
  top: max(2px, calc(100% - var(--bar-height) - 28px));
  left: 50%;
  padding: 3px 6px;
  color: var(--panel);
  background: var(--heading);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 2px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.scholar-bar {
  width: 14px;
  height: var(--bar-height);
  min-height: 2px;
  background: var(--quiet);
  transition: height 220ms ease, background 180ms ease;
}

.scholar-year:hover .scholar-bar,
.scholar-year:focus-visible .scholar-bar {
  background: var(--accent);
}

.scholar-year:hover::after,
.scholar-year:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.scholar-year:focus-visible {
  outline: none;
}

.scholar-year:focus-visible .scholar-bar {
  box-shadow: 0 0 0 2px var(--panel), 0 0 0 3px var(--accent-strong);
}

.scholar-year-label {
  position: absolute;
  top: calc(100% + 2px);
  color: var(--quiet);
  font-size: 10px;
}

.scholar-source-line {
  margin: 9px 0 0;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.45;
}

.scholar-source-line a {
  color: var(--accent-strong);
  font-weight: 700;
}

.scholar-source-line a:hover,
.scholar-source-line a:focus-visible {
  color: var(--heading);
}

.content-area {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 34px 42px 44px;
}

.mobile-profile,
.mobile-tabs {
  display: none;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.section-head-with-copy {
  align-items: end;
}

.section-head h2 {
  position: relative;
  margin: 0;
  color: var(--heading);
  font-family: var(--font);
  font-size: var(--type-page-title);
  font-weight: 700;
  line-height: 1.1;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 72px;
  height: 2px;
  border-radius: 99px;
  background: var(--umich-maize);
}

.section-head h2::before {
  display: none;
}

.section-caption {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.55;
}

.tab-panel {
  animation: panel-in 220ms ease both;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scan-y {
  from {
    background-position: 0 -320px;
  }
  to {
    background-position: 0 320px;
  }
}

@keyframes rail-shift {
  from {
    background-position: 220% 0;
  }
  to {
    background-position: -220% 0;
  }
}

@keyframes title-line {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(66px);
  }
}

@keyframes panel-sweep {
  0%,
  34% {
    transform: translateX(-100%);
  }
  72%,
  100% {
    transform: translateX(100%);
  }
}

.dashboard-card,
.timeline article,
.presentation-card,
.paper-card,
.award-tile {
  --reveal-y: 0px;
  --hover-y: 0px;
  transform: translateY(calc(var(--reveal-y) + var(--hover-y)));
}

.motion-ready .dashboard-card,
.motion-ready .timeline article,
.motion-ready .presentation-card,
.motion-ready .paper-card,
.motion-ready .award-tile {
  --reveal-y: 10px;
  opacity: 0;
  transition-property: opacity, transform, border-color, background, box-shadow;
  transition-duration: 280ms;
  transition-timing-function: ease;
}

.motion-ready .dashboard-card.is-visible,
.motion-ready .timeline article.is-visible,
.motion-ready .presentation-card.is-visible,
.motion-ready .paper-card.is-visible,
.motion-ready .award-tile.is-visible {
  --reveal-y: 0px;
  opacity: 1;
}

.prose {
  max-width: 760px;
}

.about-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: none;
}

.about-card.has-research-interests {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.about-summary,
.about-research {
  min-width: 0;
  padding: 22px 26px;
}

.about-summary {
  display: grid;
  gap: 18px;
}

.about-research {
  background: var(--panel-soft);
  border-top: 1px solid var(--border);
}

.about-summary > :last-child,
.about-research > :last-child {
  margin-bottom: 0;
}

.about-summary p {
  max-width: 78ch;
  margin: 0;
  text-align: left;
  text-wrap: pretty;
}

#about .research-interests li {
  text-align: left;
  text-wrap: pretty;
}

.about-card .about-education {
  color: var(--quiet);
  font-size: var(--type-intro);
}

.prose p {
  margin: 0 0 16px;
  color: var(--text);
  font-size: var(--type-intro);
}

#about .prose p {
  color: var(--muted);
}

#about .research-interests-label {
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#about .research-interests {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  padding-left: 0;
  color: var(--muted);
  font-size: var(--type-intro);
  list-style: none;
}

#about .research-interests li {
  display: grid;
  grid-template-columns: 1.15em minmax(0, 1fr);
  column-gap: 0.6em;
  align-items: start;
  max-width: 78ch;
  margin: 0;
  padding-left: 0;
}

#about .interest-icon {
  color: var(--accent-strong);
}

#about .interest-icon {
  width: 1em;
  height: 1em;
  margin: 0.18em 0 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#about .interest-copy {
  min-width: 0;
}

#about .prose .mark {
  color: var(--text);
  text-decoration: none;
}

#about .prose a.mark {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 140ms ease, text-decoration-color 140ms ease;
}

#about .prose a.mark:hover,
#about .prose a.mark:focus-visible {
  color: var(--accent-strong);
  text-decoration-color: var(--accent-strong);
  text-decoration-thickness: 2px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.dashboard-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 142px;
  padding: 18px 18px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.008)), var(--panel-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.dashboard-card::before,
.dashboard-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.dashboard-card::before {
  display: none;
}

.dashboard-card::after {
  display: none;
}

.dashboard-card:hover {
  border-color: var(--border-strong);
  background: var(--panel-lift);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.featured-card {
  grid-column: 1 / -1;
}

.featured-papers-section {
  grid-column: 1 / -1;
}

.featured-papers-grid {
  display: grid;
  gap: 0;
}

.dashboard-label {
  display: block;
  margin-bottom: 10px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dashboard-label,
.dashboard-card h3,
.dashboard-card p,
.stat-metrics,
.featured-card a {
  position: relative;
  z-index: 1;
}

.dashboard-card h3 {
  margin: 0;
  color: var(--heading);
  font-size: 20px;
  line-height: 1.25;
}

.dashboard-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.paper-compact-meta {
  line-height: 1.35;
}

.featured-card h3 {
  font-size: var(--type-record-title);
}

.featured-title-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 150ms ease, text-decoration-color 150ms ease, text-decoration-thickness 150ms ease;
}

.featured-title-link:hover,
.featured-title-link:focus-visible {
  color: var(--accent-strong);
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}

.featured-card .featured-authors {
  color: var(--text);
  font-size: var(--type-meta);
  line-height: 1.45;
}

.featured-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 8px;
}

.featured-meta-row .paper-compact-meta,
.featured-meta-row .featured-links {
  margin: 0;
  padding: 0;
}

.featured-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: auto;
  padding-top: 8px;
}

.brand-mention {
  white-space: normal;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  margin-right: 0.34em;
  vertical-align: -0.14em;
}

.brand-icon-umich {
  border-radius: 3px;
  color: var(--umich-blue);
  background: var(--umich-maize);
  box-shadow: 0 0 0 1px rgba(255, 203, 5, 0.22);
  font-family: var(--font);
  font-size: 0.72em;
  font-weight: 900;
  line-height: 1;
}

.brand-icon-lab {
  color: var(--umich-arboretum-blue);
}

.brand-icon-sjsu {
  width: 1.2em;
  height: 1.2em;
  object-fit: contain;
}

.brand-icon-car {
  color: var(--umich-arboretum-blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mark {
  display: inline;
  color: var(--text);
  font-weight: 700;
  padding: 0;
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  box-shadow: none;
}

.mark-blue,
.mark-cyan,
.mark-purple,
.mark-orange,
.mark-lime,
.mark-pink,
.mark-gold {
  color: var(--text);
  text-decoration-color: var(--border-strong);
}

.featured-section-title {
  display: inline-block;
  margin: 0 0 14px;
  padding-bottom: 6px;
  color: var(--heading);
  border-bottom: 2px solid var(--border-strong);
  font-family: var(--font);
  font-size: var(--type-section-title);
  font-weight: 700;
  line-height: 1.25;
}

#about .featured-section-title {
  border-bottom-color: var(--umich-maize);
}

.news-list {
  display: grid;
  gap: 8px;
  max-height: 205px;
  margin: 0;
  padding: 0 8px 0 0;
  overflow: auto;
  list-style: none;
  scrollbar-color: var(--border-strong) transparent;
}

.news-list li {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 6px 0;
}

.news-list time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}

.news-list p {
  margin: 0;
  color: var(--text);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.quick-grid article,
.note-list article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-soft);
}

.quick-grid article {
  padding: 16px;
  border-top-color: color-mix(in srgb, var(--accent) 55%, var(--border));
}

.metric {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 800;
}

.quick-grid article:nth-child(2) .metric {
  color: var(--accent-strong);
}

.quick-grid article:nth-child(3) .metric {
  color: var(--accent-strong);
}

.quick-grid p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 18px;
}

.experience-sections,
.presentation-groups {
  display: grid;
  gap: 34px;
}

.experience-group {
  display: grid;
  gap: 14px;
}

.timeline article {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.timeline time {
  color: var(--muted);
  font-family: var(--mono);
  font-size: var(--type-label);
  font-weight: 800;
  white-space: nowrap;
}

.timeline h3,
.note-list h3,
.award-tile h3,
.paper-card h3,
.presentation-card h3,
.featured-card h3 {
  margin: 0;
  color: var(--heading);
  font-family: var(--font);
  font-size: var(--type-record-title);
  font-weight: 700;
  line-height: 1.35;
}

.publication-label {
  flex: 0 0 auto;
  color: var(--highlight);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 900;
}

.paper-card h3,
.featured-card h3 {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 10px;
  align-items: baseline;
}

.paper-card .authors,
.paper-card .meta-line,
.paper-card .publication-award,
.paper-card .paper-details,
.featured-card .featured-authors,
.featured-card .featured-meta-row {
  margin-left: 54px;
}

.timeline p,
.note-list p,
.award-tile p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.55;
}

.experience-role-summary,
.experience-shared-meta {
  display: block;
}

.experience-role-summary {
  color: var(--text);
}

.experience-shared-meta {
  margin-top: 5px;
}

.paper-list {
  display: grid;
  gap: 0;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.publication-board {
  display: grid;
  gap: 34px;
  margin-top: 22px;
}

.catalog-index {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: -4px 0 0;
  border-bottom: 1px solid var(--border);
}

.catalog-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 2px 10px;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 160ms ease;
}

.catalog-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
}

.catalog-tab:hover {
  color: var(--heading);
}

.catalog-tab:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

.catalog-tab.is-active {
  color: var(--heading);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.catalog-tab.is-active::after {
  background: var(--umich-maize);
}

.catalog-count {
  display: inline;
  min-width: 0;
  height: auto;
  padding: 0;
  border-radius: 0;
  color: var(--quiet);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.catalog-tab.is-active .catalog-count {
  color: inherit;
  background: transparent;
}

.publication-group {
  display: grid;
  gap: 12px;
  padding-top: 16px;
}

.group-title,
.presentation-group-heading h3 {
  margin: 0;
  color: var(--accent-strong);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.paper-list.compact {
  gap: 0;
  max-height: none;
}

.paper-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  min-height: 0;
  padding: 12px 42px 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.012);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.paper-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 0 99px 99px 0;
  background: rgba(156, 193, 236, 0.55);
  transition: background 180ms ease, top 180ms ease, bottom 180ms ease;
}

.paper-card.text-only {
  min-height: 0;
  padding: 12px 42px 12px 16px;
}

.paper-card:hover,
.paper-card:focus-visible {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
  outline: none;
}

.paper-card:hover::before,
.paper-card:focus-visible::before,
.paper-card.is-expanded::before {
  top: 0;
  bottom: 0;
  background: var(--paper-accent);
}

.paper-card:active {
  --hover-y: 1px;
}

.paper-card img {
  display: none;
}

.authors {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: var(--type-meta);
  line-height: 1.45;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
  align-items: center;
  margin-top: 6px;
  color: var(--quiet);
  font-size: var(--type-meta);
  line-height: 1.45;
}

.meta-line > span,
.meta-line > .publication-venue {
  padding-right: 10px;
  border-right: 1px solid var(--border-strong);
}

.meta-line > span:last-child,
.meta-line > .publication-venue:last-child {
  padding-right: 0;
  border-right: 0;
}

.publication-venue {
  color: var(--heading);
  font-weight: 800;
}

.journal-venue {
  font-style: italic;
  font-weight: 400;
}

.publication-detail {
  color: var(--quiet);
  white-space: nowrap;
}

.paper-card.text-only .publication-detail {
  white-space: normal;
  overflow-wrap: anywhere;
}

.paper-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
}

.paper-card.is-expanded .paper-details {
  max-height: 300px;
}

.paper-details p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.55;
}

.paper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 0;
}

.paper-actions a,
.presentation-doi,
.featured-links a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 9px;
  border: 1px solid rgba(156, 193, 236, 0.48);
  border-radius: 6px;
  color: var(--heading);
  background: rgba(47, 101, 167, 0.18);
  font-size: 13px;
  font-weight: 700;
  transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.paper-actions a:hover,
.paper-actions a:focus-visible,
.presentation-doi:hover,
.presentation-doi:focus-visible,
.featured-links a:hover,
.featured-links a:focus-visible {
  color: var(--panel);
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

.meta-line .paper-actions a {
  min-height: 20px;
  padding: 1px 7px;
  font-size: 11px;
}

.paper-toggle {
  position: absolute;
  top: 9px;
  right: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.paper-toggle:hover {
  color: var(--accent);
  background: var(--panel);
}

.paper-toggle svg {
  font-size: 20px;
  transition: transform 180ms ease;
}

.paper-card.is-expanded .paper-toggle svg {
  transform: rotate(180deg);
}

.note-list,
.award-strip {
  display: grid;
  gap: 0;
}

.note-list article {
  padding: 18px;
}

.award-strip {
  grid-template-columns: 1fr;
}

.award-tile {
  --award-color: var(--border-strong);
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-soft);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.award-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--award-color);
  opacity: 0.85;
}

.award-tile:hover {
  border-color: var(--border-strong);
  background: var(--panel-lift);
  --hover-y: -2px;
}

.award-tile h3 {
  margin-top: 0;
}

.presentation-group {
  display: grid;
  gap: 14px;
}

#presentation-board {
  margin-top: 22px;
}

.presentation-group-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
}

.presentation-group-heading span {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: var(--type-label);
  font-weight: 800;
}

.presentation-list {
  display: grid;
  gap: 0;
}

.presentation-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  padding: 17px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.012);
}

.presentation-year {
  color: var(--highlight);
  font-family: var(--mono);
  font-size: var(--type-label);
  font-weight: 800;
}

.presentation-authors,
.presentation-venue {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-meta);
  line-height: 1.45;
}

.presentation-venue {
  font-style: italic;
  font-weight: 400;
}

.presentation-card h3 {
  margin: 5px 0 7px;
}

.presentation-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.presentation-note {
  display: inline-flex;
  margin-top: 9px;
  color: var(--highlight);
  font-size: 12px;
  font-weight: 800;
}

.presentation-doi {
  flex: 0 0 auto;
  width: fit-content;
  margin-top: 0;
}

.note-list time,
.award-tile time {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: var(--type-label);
  font-weight: 800;
}

.record-card {
  --card-accent: var(--border-strong);
  position: relative;
  overflow: hidden;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.featured-card.record-card,
.presentation-card.record-card,
.award-tile.record-card {
  padding: 14px 0 16px;
}

.paper-card.record-card,
.paper-card.text-only {
  padding: 14px 34px 16px 0;
}

.award-tile.record-card {
  --card-accent: var(--award-color);
}

.record-card::before {
  display: none;
}

.record-card::after {
  display: none;
}

.record-card:hover,
.record-card:focus-visible {
  --hover-y: 0px;
  border-color: var(--border);
  background: transparent;
  box-shadow: none;
}

.paper-card h3 > span:last-child {
  transition: color 150ms ease;
}

.paper-card.record-card:hover,
.paper-card.record-card:focus-visible {
  border-color: var(--border-strong);
  background: rgba(47, 101, 167, 0.09);
}

.paper-card.record-card:hover h3 > span:last-child,
.paper-card.record-card:focus-visible h3 > span:last-child {
  color: var(--accent-strong);
}

.paper-card.record-card:hover .paper-toggle,
.paper-card.record-card:focus-visible .paper-toggle {
  color: var(--accent-strong);
  background: var(--panel-lift);
}

html[data-theme="light"] .paper-card.record-card:hover,
html[data-theme="light"] .paper-card.record-card:focus-visible {
  background: rgba(42, 92, 143, 0.07);
}

.featured-card.record-card:hover,
.featured-card.record-card:focus-within {
  border-color: var(--border-strong);
  background: rgba(47, 101, 167, 0.09);
}

.featured-card.record-card:hover .featured-title-link,
.featured-card.record-card:focus-within .featured-title-link {
  color: var(--accent-strong);
}

html[data-theme="light"] .featured-card.record-card:hover,
html[data-theme="light"] .featured-card.record-card:focus-within {
  background: rgba(42, 92, 143, 0.07);
}

.award-tile time {
  color: var(--highlight);
}

.site-footer {
  padding: 18px 0 4px;
  color: var(--quiet);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 1023px) {
  .outer-shell {
    padding: 10px;
  }

  .topbar,
  .sidebar {
    display: none;
  }

  .main-panel {
    display: block;
    min-height: 0;
  }

  .content-area {
    padding: 0 18px 26px;
  }

  .mobile-profile {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0 -18px;
    padding: 16px 18px;
    background: var(--panel);
    border-bottom: 1px solid var(--border);
  }

  .mobile-scholar-card {
    display: block;
    max-width: none;
    margin: 26px 0 30px;
    padding-top: 24px;
  }

  .mobile-scholar-card h2 {
    margin-bottom: 16px;
    font-size: var(--type-section-title);
    font-weight: 700;
  }

  .mobile-scholar-card .scholar-metrics {
    font-size: 14px;
  }

  .mobile-scholar-card .scholar-chart {
    height: 220px;
  }

  .mobile-scholar-card .scholar-source-line {
    font-size: 11px;
  }

  .mobile-avatar {
    width: 76px;
    aspect-ratio: 1;
    border-radius: var(--radius);
    border: 1px solid var(--border);
  }

  .mobile-copy {
    min-width: 0;
    flex: 1;
  }

  .mobile-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .mobile-theme-toggle {
    width: 34px;
    min-height: 34px;
  }

  .mobile-name,
  .mobile-role {
    margin: 0;
  }

  .mobile-name {
    color: var(--heading);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.2;
  }

  .mobile-role {
    color: var(--muted);
    font-size: 13px;
  }

  .mobile-orcid {
    margin-top: 3px;
    font-size: 10px;
  }

  .mobile-social {
    justify-content: flex-start;
    margin: 5px 0 0;
  }

  .mobile-social a {
    width: 30px;
    height: 30px;
  }

  .mobile-tabs {
    position: sticky;
    top: 109px;
    z-index: 25;
    display: flex;
    margin: 0 -18px 26px;
    padding: 8px 14px;
    overflow-x: auto;
    background: var(--panel);
    border-bottom: 1px solid var(--border);
  }

  .mobile-tabs .tab-button {
    flex: 0 0 auto;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .catalog-index {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .catalog-tab {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 14px;
  }

  .featured-card {
    grid-column: auto;
  }

  .award-strip {
    grid-template-columns: 1fr;
  }

  .paper-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .paper-list.compact {
    max-height: none;
  }

  .paper-card {
    grid-template-columns: 1fr;
    padding: 12px 40px 12px 0;
  }

}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .content-area {
    padding-left: 14px;
    padding-right: 14px;
  }

  .mobile-profile,
  .mobile-tabs {
    margin-left: -14px;
    margin-right: -14px;
  }

  .mobile-tabs {
    top: 109px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .tab-button {
    min-height: 36px;
    padding: 7px 10px;
  }

  #about .prose p,
  #about .research-interests {
    font-size: 16px;
  }

  #about .research-interests-label {
    font-size: 14px;
  }

  .about-card {
    border-radius: 8px;
  }

  .about-card.has-research-interests {
    grid-template-columns: 1fr;
  }

  .about-summary,
  .about-research {
    padding: 20px 18px;
  }

  .about-research {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .news-list li,
  .timeline article,
  .presentation-card {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .news-list time {
    width: fit-content;
  }

  .paper-card h3,
  .timeline h3,
  .note-list h3,
  .award-tile h3,
  .presentation-card h3,
  .featured-card h3 {
    font-size: 17px;
  }

  .meta-line > span,
  .meta-line > .publication-venue {
    border-right: 0;
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
