:root {
  --text: #1f2933;
  --muted: #667085;
  --line: #d8dee6;
  --link: #1d5f9f;
  --link-hover: #0d3f6b;
  --accent: #b44a2b;
  --bg: #ffffff;
  --topbar-bg: rgba(255, 255, 255, 0.96);
  --soft: #f7f8fa;
  --button-bg: #ffffff;
  --chip-bg: #eef8ff;
  --chip-border: #9bd6f2;
  --chip-text: #0077c8;
  --system: #2563eb;
  --system-soft: #eef4ff;
  --highlight: #d6a900;
  --highlight-soft: #fff0a6;
  --sidebar: 235px;
  --gap: 40px;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
}

html[data-theme="dark"] {
  --text: #e5e7eb;
  --muted: #a7b0bd;
  --line: #34404c;
  --link: #82b7ff;
  --link-hover: #b6d4ff;
  --accent: #e27b5f;
  --bg: #101418;
  --topbar-bg: rgba(16, 20, 24, 0.94);
  --soft: #171d23;
  --button-bg: #151b21;
  --chip-bg: rgba(45, 131, 193, 0.16);
  --chip-border: rgba(130, 183, 255, 0.46);
  --chip-text: #9bd1ff;
  --system: #8ab8ff;
  --system-soft: rgba(59, 130, 246, 0.14);
  --highlight: #f6d65f;
  --highlight-soft: rgba(246, 214, 95, 0.22);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.56;
}

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

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  width: 100%;
  height: 52px;
  min-height: 52px;
  padding-right: max(30px, calc((100vw - 1340px) / 2 + 28px));
  padding-left: max(30px, calc((100vw - 1340px) / 2 + 28px));
  border-bottom: 1px solid var(--line);
  background: var(--topbar-bg);
  backdrop-filter: blur(6px);
}

.topbar__name {
  margin-right: auto;
  color: var(--text);
  font-weight: 700;
  font-size: 1.08rem;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav a.is-active {
  color: var(--text);
  border-bottom-color: var(--system);
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-toggle {
  display: none;
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--button-bg);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--muted);
}

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

.theme-toggle__icon--sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle__icon--moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle__icon--sun {
  display: block;
}

.site {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1020px);
  align-items: start;
  gap: var(--gap);
  max-width: 1340px;
  min-height: calc(100vh - 108px);
  margin: 0 auto;
  padding: 52px 28px 56px;
}

.site-footer {
  display: flex;
  justify-content: center;
  max-width: 1340px;
  min-height: 56px;
  margin: 0 auto;
  padding: 16px 28px 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

.profile {
  position: sticky;
  top: 72px;
  z-index: 2;
  align-self: start;
  padding: 22px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  box-shadow: 0 10px 28px rgba(31, 41, 51, 0.08);
  text-align: center;
}

html[data-theme="dark"] .profile {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.profile__photo {
  width: 178px;
  height: 178px;
  object-fit: cover;
  object-position: 50% 58%;
  border-radius: 50%;
  display: block;
  margin: 0 auto 18px;
}

.profile__name {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.2;
}

.profile__role,
.profile__degree,
.profile__location {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.profile__location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.profile__advisor {
  display: block;
  margin: 12px auto 0;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.profile__advisor:hover {
  border-color: var(--link);
  color: var(--link);
  text-decoration: none;
}

.profile__links {
  display: grid;
  gap: 7px;
  margin: 22px auto 20px;
  max-width: 205px;
  text-align: left;
}

.profile__links a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 30px;
  color: var(--text);
  font-size: 0.98rem;
}

.profile__links a:hover {
  color: var(--link);
  text-decoration: none;
}

.profile__links svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile__cv {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  font-weight: 600;
}

.content {
  min-width: 0;
}

.content > h1:first-child {
  margin-top: 0;
}

h1 {
  margin: 0 0 18px;
  font-size: 2rem;
  line-height: 1.25;
}

h2 {
  margin: 34px 0 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  font-size: 1.45rem;
  line-height: 1.3;
}

h3 {
  margin: 22px 0 8px;
  font-size: 1.08rem;
}

p {
  margin: 0 0 12px;
}

ul {
  margin: 8px 0 16px;
  padding-left: 20px;
}

li {
  margin: 7px 0;
}

strong {
  font-weight: 700;
}

.intro {
  font-size: 1.05rem;
}

.intro--lead {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.45;
}

.page-home,
.page-cv {
  --page-accent: var(--system);
  --page-accent-soft: var(--system-soft);
}

.page-home .content > h1:first-child,
.page-cv .content > h1:first-child {
  position: relative;
  padding-bottom: 12px;
}

.page-home .content > h1:first-child::after,
.page-cv .content > h1:first-child::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: var(--page-accent);
  content: "";
}

.page-home .content > h2,
.page-cv .content > h2 {
  padding-left: 10px;
  border-left: 3px solid var(--page-accent);
  border-bottom-color: color-mix(in srgb, var(--page-accent) 34%, var(--line));
}

.text-highlight {
  padding: 0 2px;
  border-radius: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.text-highlight--system {
  color: inherit;
  background: linear-gradient(transparent 64%, var(--highlight-soft) 64%);
}

.text-highlight--metric {
  color: inherit;
  background: linear-gradient(transparent 56%, var(--highlight-soft) 56%);
}

.home-narrative {
  display: grid;
  gap: 8px;
  margin: 16px 0 18px 7px;
  padding-left: 16px;
  border-left: 2px solid color-mix(in srgb, var(--system) 48%, var(--line));
}

.home-narrative p {
  position: relative;
  margin: 0;
  padding: 9px 12px;
  border-radius: 6px;
  background: var(--soft);
}

.home-narrative p::before {
  position: absolute;
  top: 16px;
  left: -22px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--system);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--system) 36%, var(--line));
  content: "";
}

.research-keyword-groups {
  display: grid;
  gap: 10px;
  margin: 8px 0 12px;
}

.research-keyword-group {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.research-keyword-group__label {
  padding-top: 0;
  color: var(--system);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.research-keyword-group .keyword-chips--section {
  margin: 0;
}

.research-keyword-group > .publication-card__tags {
  margin-top: 0;
}

.research-keyword-group .keyword-chips--outline span {
  min-height: 0;
  padding: 2px 8px;
  border-color: #fca5a5;
  color: #ef2b2d;
  background: color-mix(in srgb, #fee2e2 72%, var(--button-bg));
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.35;
}

.research-keyword-group .keyword-chips--outline {
  gap: 5px;
}

.home-section {
  scroll-margin-top: 76px;
}

.home-section:not(.home-section--about) {
  margin-top: 76px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.page-home .home-section--publications,
.page-home #conferences {
  padding-top: 34px;
  padding-bottom: 38px;
  background: var(--soft);
  box-shadow: 0 0 0 100vmax var(--soft);
  clip-path: inset(0 -100vmax);
}

.home-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 18px;
}

.home-identity h1 {
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 12px;
}

.home-identity h1::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: var(--page-accent);
  content: "";
}

.home-seeking {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  padding: 5px 12px;
  border: 1px solid #fca5a5;
  border-radius: 999px;
  color: #ef2b2d;
  background: color-mix(in srgb, #fee2e2 72%, var(--button-bg));
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.35;
  white-space: nowrap;
}

.home-seeking strong {
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .home-seeking {
    max-width: 100%;
    gap: 5px;
    padding: 5px 10px;
    font-size: 0.74rem;
    white-space: normal;
    text-align: center;
  }
}

.home-section > h2,
.home-section .publication-heading__title {
  margin: 0 0 12px;
  padding: 0 0 6px 10px;
  border-left: 3px solid var(--page-accent);
  border-bottom: 1px solid color-mix(in srgb, var(--page-accent) 34%, var(--line));
  font-size: 1.45rem;
}

.home-section .publication-heading__title {
  flex: 1;
}

.home-section__intro {
  margin: -2px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.home-project-group-title,
.home-conference-group-title {
  margin: 22px 0 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page-home .publication-card {
  grid-template-columns: 190px minmax(0, 1fr);
}

.page-home .project-card {
  grid-template-rows: 92px minmax(0, 1fr);
  min-height: 252px;
}

.project-index-heading > h2 {
  margin-bottom: 5px;
}

.project-index-heading > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.project-toolbar {
  margin-bottom: 20px;
}

.project-index-list {
  display: grid;
  gap: 12px;
}

.project-other-toggle {
  margin-top: 16px;
}

.project-index-list--other {
  margin-top: 16px;
}

.project-index-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  min-height: 178px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--button-bg);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--text) 6%, transparent);
}

.project-index-card[hidden] {
  display: none;
}

.project-index-card__media {
  display: grid;
  place-items: center;
  min-height: 146px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--system) 11%, transparent), transparent 62%), var(--soft);
}

.project-index-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-index-card__media--contain {
  padding: 8px;
}

.project-index-card__media--contain img {
  object-fit: contain;
}

.project-index-card__media--compact img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.project-index-card__media span {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--button-bg);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-index-card__body {
  align-self: center;
  min-width: 0;
}

.project-index-card__group {
  margin: 0 0 4px;
  color: var(--system);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-index-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.32;
}

.project-index-card h3 a {
  color: var(--text);
}

.project-index-card h3 a:hover {
  color: var(--link);
}

.project-index-card__summary {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.42;
}

.project-index-card__funding {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.project-index-card__funding span {
  color: inherit;
  font-weight: inherit;
}

.project-index-card__action {
  display: inline-flex;
  gap: 5px;
  margin-top: 9px;
  font-size: 0.78rem;
  font-weight: 750;
}

.page-cv .site {
  display: block;
  max-width: 1040px;
  padding-top: 42px;
}

.page-cv .content {
  width: 100%;
}

.cv-mobile-profile {
  display: none;
}

.cv-document-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--system);
}

.cv-document-header h1 {
  margin: 2px 0 2px;
  font-size: 2.15rem;
}

.cv-document-header__eyebrow {
  margin: 0;
  color: var(--system);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cv-document-header__role {
  margin: 0;
  color: var(--muted);
}

.cv-document-header__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px 12px;
  max-width: 410px;
  font-size: 0.82rem;
}

.cv-document-header__actions .cv-download {
  padding: 5px 10px;
  border-radius: 5px;
  color: #fff;
  background: var(--system);
  font-weight: 750;
}

.cv-document-header__actions .cv-download:hover {
  color: #fff;
  text-decoration: none;
}

.cv-document-header__actions span {
  flex-basis: 100%;
  color: var(--muted);
  text-align: right;
}

.page-cv #others {
  margin-top: 36px;
}

.page-cv #others ~ h3 {
  margin: 24px 0 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-cv #others ~ .recognition-list {
  margin: 0 0 15px;
  border-top: 0;
}

.page-cv #others ~ .recognition-list .recognition-item {
  position: relative;
  grid-template-columns: minmax(210px, 0.9fr) minmax(0, 1.1fr) auto;
  gap: 5px 12px;
  padding: 4px 0 4px 15px;
  border-bottom: 0;
}

.page-cv #others ~ .recognition-list .recognition-item::before,
.page-cv .cv-other-summary::before {
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 5px;
  height: 5px;
  background: var(--system);
  content: "";
  transform: rotate(45deg);
}

.page-cv #others ~ .recognition-list .recognition-item__title {
  grid-column: 1;
  grid-row: 1;
}

.page-cv #others ~ .recognition-list .recognition-item__meta {
  grid-column: 2;
  grid-row: 1;
}

.page-cv #others ~ .recognition-list .recognition-item__year {
  grid-column: 3;
  grid-row: 1;
}

.page-cv .cv-other-summary {
  position: relative;
  margin: 0 0 14px;
  padding-left: 15px;
  font-size: 0.86rem;
  line-height: 1.4;
}

.page-cv #others ~ .entry {
  margin: 5px 0 10px;
}

.quick-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 24px;
}

.quick-links a {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  font-weight: 600;
}

.cv-actions {
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 28px;
}

.cv-actions span {
  color: var(--muted);
  font-size: 0.92rem;
}

.quick-links .cv-download {
  padding: 8px 18px;
  border-color: var(--link);
  border-radius: 6px;
  color: #ffffff;
  background: var(--link);
  font-weight: 700;
}

.quick-links .cv-download:hover {
  border-color: var(--link-hover);
  color: #ffffff;
  background: var(--link-hover);
  text-decoration: none;
}

.keyword-chips,
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 24px;
  padding: 0;
  list-style: none;
}

.keyword-chips span,
.chip-list li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  min-height: 31px;
  padding: 4px 12px;
  border: 1px solid var(--chip-border);
  border-radius: 999px;
  color: var(--chip-text);
  background: var(--chip-bg);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
}

.keyword-chips--section {
  margin: 8px 0 12px;
}

.entry {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 10px 26px;
  margin: 14px 0 22px;
}

.entry--summary {
  margin: 10px 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.entry__date {
  color: var(--accent);
  font-weight: 700;
}

.entry--summary .entry__body p:first-child {
  margin-top: 0;
}

.entry__date--nowrap {
  white-space: nowrap;
}

.entry__body p:last-child,
.entry__body ul:last-child {
  margin-bottom: 0;
}

.degree-notes,
.compact-list {
  margin: 3px 0 0;
  padding-left: 20px;
}

.degree-notes li,
.compact-list li {
  margin: 2px 0;
}

.degree-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}

.inline-action {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

a.inline-action {
  color: var(--link);
}

a.inline-action:hover {
  border-color: var(--link);
  text-decoration: none;
}

a.inline-action--thesis {
  border-color: var(--system);
  color: #fff;
  background: var(--system);
}

a.inline-action--thesis:hover {
  border-color: color-mix(in srgb, var(--system) 78%, var(--text));
  color: #fff;
  background: color-mix(in srgb, var(--system) 78%, var(--text));
}

.inline-action--disabled {
  color: var(--muted);
  background: var(--soft);
  cursor: default;
}

.skills-table {
  width: 100%;
  margin: 10px 0 24px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.86rem;
}

.skills-table th,
.skills-table td {
  padding: 7px 9px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.skills-table th {
  width: 170px;
  color: var(--text);
  background: var(--soft);
  font-weight: 700;
  text-align: left;
}

.skills-table td {
  color: var(--text);
}

.coursework {
  margin-top: 10px;
}

.coursework summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--button-bg);
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
  list-style: none;
}

.coursework summary::-webkit-details-marker {
  display: none;
}

.coursework summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 700;
  line-height: 1;
}

.coursework[open] summary::after {
  content: "-";
}

.coursework summary:hover {
  border-color: var(--link);
  color: var(--link);
}

.coursework .chip-list {
  margin: 4px 0 0;
}

.coursework-groups {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.coursework-groups h3 {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.coursework-group--orange h3 {
  color: #c85612;
}

.coursework-group--orange .chip-list--coursework li {
  border-color: #ffcaa7;
  color: #a94710;
  background: #fff2e8;
}

[data-theme="dark"] .coursework-group--orange .chip-list--coursework li {
  border-color: color-mix(in srgb, #f59e62 55%, var(--line));
  color: #ffb27d;
  background: color-mix(in srgb, #c85612 16%, var(--button-bg));
}

.page-cv .content > h1 {
  margin-bottom: 8px;
}

.page-cv .cv-actions {
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  gap: 10px;
  margin: 6px 0 18px;
}

.page-cv .quick-links .cv-download {
  padding: 5px 11px;
  border-color: var(--system);
  background: var(--system);
  font-size: 0.84rem;
}

.page-cv .quick-links .cv-download:hover {
  border-color: color-mix(in srgb, var(--system) 78%, var(--text));
  background: color-mix(in srgb, var(--system) 78%, var(--text));
}

.page-cv .cv-actions span {
  font-size: 0.82rem;
}

.page-cv .content > h2 {
  margin: 23px 0 8px;
  padding-bottom: 4px;
  font-size: 1.25rem;
}

.page-cv #research-interests + ul {
  display: grid;
  gap: 6px;
  margin: 5px 0 16px;
  padding-left: 0;
  list-style: none;
}

.page-cv #research-interests + ul li {
  margin: 0;
  padding: 5px 9px;
  border-left: 2px solid color-mix(in srgb, var(--system) 68%, var(--line));
  background: color-mix(in srgb, var(--system-soft) 58%, transparent);
}

.page-cv .entry__date,
.page-cv .recognition-item__year {
  color: var(--muted);
  background: none;
}

.page-cv .entry {
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 8px 18px;
  margin: 8px 0 14px;
  font-size: 0.91rem;
  line-height: 1.4;
}

.page-cv .entry__date {
  font-size: 0.84rem;
}

.page-cv .entry__body p {
  margin-bottom: 3px;
}

.page-cv .degree-notes,
.page-cv .compact-list {
  margin-top: 2px;
  padding-left: 18px;
}

.page-cv .degree-notes li,
.page-cv .compact-list li {
  margin: 1px 0;
}

.page-cv .cv-entry__note {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: italic;
}

.page-cv .cv-project {
  margin: 9px 0 0;
}

.page-cv .cv-project__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
  margin: 0;
}

.page-cv .cv-project__sponsor {
  color: var(--muted);
  font-size: 0.86rem;
}

.page-cv .cv-project__period {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.84rem;
  white-space: nowrap;
}

.page-cv .cv-interest-list {
  margin: 4px 0 0;
  padding-left: 18px;
  font-size: 0.91rem;
  line-height: 1.5;
}

.page-cv .coursework {
  margin-top: 6px;
}

.page-cv .coursework summary {
  min-height: 27px;
  padding: 3px 8px;
  font-size: 0.8rem;
}

.page-cv .skills-table {
  margin: 6px 0 16px;
  font-size: 0.82rem;
}

.page-cv .skills-table th,
.page-cv .skills-table td {
  padding: 5px 8px;
}

.page-cv .skills-table th {
  width: 184px;
}

.page-cv .content > ul {
  margin: 4px 0 12px;
  padding-left: 18px;
  font-size: 0.89rem;
  line-height: 1.38;
}

.page-cv .content > ul > li {
  margin: 3px 0;
}

.cv-simple-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 0;
  padding: 4px 0 20px;
  border-bottom: 2px solid var(--text);
}

.cv-simple-header h1 {
  margin: 0;
  font-size: 1.9rem;
}

.cv-simple-header__action {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.cv-simple-header__actions {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.cv-simple-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 7px 15px;
  border: 1px solid var(--system);
  border-radius: 5px;
  color: #fff;
  background: var(--system);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cv-simple-download:hover {
  color: #fff;
  border-color: color-mix(in srgb, var(--system) 78%, var(--text));
  background: color-mix(in srgb, var(--system) 78%, var(--text));
  text-decoration: none;
}

.cv-simple-updated {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.2;
  white-space: nowrap;
}

.cv-simple-download svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cv-portfolio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--text);
  background: var(--button-bg);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.cv-portfolio-toggle:hover,
.cv-portfolio-toggle[aria-expanded="true"] {
  border-color: var(--system);
  color: var(--system);
  background: var(--system-soft);
}

.cv-portfolio-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portfolio-preview {
  margin: 18px 0 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
}

.portfolio-preview[hidden] {
  display: none;
}

.portfolio-preview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.portfolio-preview__header h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1.05rem;
}

.portfolio-preview__header p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.portfolio-preview__actions {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.portfolio-preview iframe {
  display: block;
  width: 100%;
  height: min(72vh, 760px);
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.document-mobile-preview {
  display: none;
}

.cv-simple-panel {
  margin: 0;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line);
}

.page-cv .cv-simple-panel > h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  font-size: 1.18rem;
}

.page-cv .content {
  counter-reset: cv-section;
}

.page-cv .cv-simple-panel > h2::before {
  color: var(--system);
  content: "0" counter(cv-section);
  counter-increment: cv-section;
  font-size: 0.72rem;
  font-weight: 850;
}

.page-cv .cv-simple-panel > ul:last-child {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-cv .cv-simple-panel > ul:last-child li {
  margin: 0;
  padding: 7px 10px;
  border-left: 2px solid color-mix(in srgb, var(--system) 68%, var(--line));
  background: color-mix(in srgb, var(--system-soft) 58%, transparent);
}

.recognition-list {
  margin: 4px 0 16px;
  border-top: 1px solid var(--line);
}

.recognition-item {
  display: grid;
  grid-template-columns: 82px minmax(190px, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  line-height: 1.34;
}

.recognition-item__year {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.recognition-item__title {
  color: var(--text);
  font-weight: 700;
}

.recognition-item__meta {
  color: var(--muted);
}

.chip-list--coursework {
  gap: 4px 6px;
}

.chip-list--coursework li {
  min-height: 24px;
  padding: 2px 8px;
  font-size: 0.82rem;
  font-weight: 600;
}

.pub-toolbar {
  margin: 4px 0 24px;
  padding: 13px 0 11px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pub-search {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--button-bg);
}

.pub-search:focus-within {
  border-color: var(--link);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--link) 16%, transparent);
}

.pub-search svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.pub-search input {
  width: 100%;
  min-width: 0;
  padding: 8px 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
}

.pub-search input::placeholder {
  color: var(--muted);
  opacity: 0.9;
}

.pub-topic-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.pub-topic-filter {
  min-height: 29px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--button-bg);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.pub-topic-filter:hover {
  border-color: var(--link);
  color: var(--link);
}

.pub-topic-filter.is-active {
  border-color: var(--accent);
  color: var(--bg);
  background: var(--accent);
}

.pub-result-count {
  margin: 7px 1px 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: right;
}

.pub-section[hidden],
.pub-year-group[hidden],
.pub[hidden],
.pub-empty[hidden] {
  display: none;
}

.pub-empty {
  margin: 24px 0;
  color: var(--muted);
}

.pub-section + .pub-section {
  margin-top: 30px;
}

.pub-section > h2 {
  margin: 24px 0 8px;
}

.pub-year-group {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  border-top: 1px solid var(--line);
}

.pub-year-heading {
  margin: 9px 0 0;
  padding: 0;
  border: 0;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.3;
}

.pub-year-list {
  min-width: 0;
}

.pub {
  margin: 0;
  padding: 8px 0 9px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 68%, transparent);
}

.pub:last-child {
  border-bottom: 0;
}

.pub__title {
  display: block;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.28;
}

a.pub__title {
  color: var(--link);
}

a.pub__title:hover {
  color: var(--link-hover);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

span.pub__title {
  color: var(--text);
}

.pub__authors,
.pub__venue,
.pub__links {
  margin: 1px 0 0;
  font-size: 0.84rem;
  line-height: 1.34;
}

.pub__authors strong,
.talk__authors strong {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.page-cv #publications + ul strong {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.pub__venue {
  color: var(--muted);
}

.pub__pdf-link,
.talk__pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 1px 7px 2px;
  border: 1px solid color-mix(in srgb, var(--accent) 48%, var(--line));
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  text-decoration: none;
  vertical-align: 1px;
  white-space: nowrap;
}

.pub__pdf-link::before,
.talk__pdf-link::before {
  content: "";
  width: 8px;
  height: 10px;
  border: 1px solid currentColor;
  border-radius: 1px;
  box-sizing: border-box;
}

.pub__pdf-link:hover,
.talk__pdf-link:hover {
  background: var(--accent-soft);
  color: var(--link-hover);
  text-decoration: none;
}

.pub__links a,
.pub__links span {
  display: inline-block;
  margin-right: 12px;
  font-size: 0.95rem;
}

/* Publication index */
.page-publications .site {
  grid-template-columns: var(--sidebar) minmax(0, 1020px);
  max-width: 1340px;
  gap: 40px;
}

.publication-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.publication-heading__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.publication-heading__title svg {
  width: 28px;
  height: 28px;
  fill: color-mix(in srgb, var(--link) 12%, var(--button-bg));
  stroke: var(--link);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.publication-scope {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--button-bg) 84%, var(--line));
}

.publication-scope__button {
  min-height: 30px;
  padding: 3px 14px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 750;
  cursor: pointer;
}

.publication-scope__button:hover { color: var(--link); }
.publication-scope__button.is-active {
  color: #fff;
  background: var(--link);
  box-shadow: 0 1px 3px color-mix(in srgb, var(--link) 30%, transparent);
}

.publication-toolbar { margin: 18px 0 20px; }
.publication-search {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--button-bg);
}
.publication-search:focus-within {
  border-color: var(--link);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--link) 14%, transparent);
}
.publication-search svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  stroke-linecap: round;
}
.publication-search input {
  width: 100%;
  min-width: 0;
  padding: 8px 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
}

.publication-keywords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.publication-keywords__label {
  margin-right: 3px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}
.publication-keyword,
.publication-card__tag {
  border: 1px solid var(--tag-border, #bfd3ff);
  border-radius: 999px;
  color: var(--tag-text, #2563eb);
  background: var(--tag-bg, #eef4ff);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.35;
}
.publication-keyword {
  min-height: 27px;
  padding: 3px 10px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  cursor: pointer;
}
.publication-keyword:hover,
.publication-keyword.is-active {
  color: #fff;
  background: var(--tag-text);
  border-color: var(--tag-text);
}
.publication-keyword--blue,
.publication-card__tag--blue { --tag-text: #2563eb; --tag-bg: #edf4ff; --tag-border: #b9d0ff; }
.publication-keyword--orange,
.publication-card__tag--orange { --tag-text: #c85612; --tag-bg: #fff2e8; --tag-border: #ffcaa7; }
.publication-keyword--teal,
.publication-card__tag--teal { --tag-text: #087f78; --tag-bg: #e8f8f6; --tag-border: #a7ddd8; }
.publication-keyword--violet,
.publication-card__tag--violet { --tag-text: #7c3aed; --tag-bg: #f3edff; --tag-border: #d5c1ff; }
.publication-keyword--green,
.publication-card__tag--green { --tag-text: #278449; --tag-bg: #ebf8ef; --tag-border: #b8dfc3; }
.publication-keyword--cyan,
.publication-card__tag--cyan { --tag-text: #08729a; --tag-bg: #e9f7fc; --tag-border: #adddeb; }
.publication-card__tag--detail {
  --tag-text: var(--muted);
  --tag-bg: transparent;
  --tag-border: color-mix(in srgb, var(--muted) 38%, var(--line));
  font-weight: 650;
}

.publication-filter-status {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}
.publication-section[hidden],
.publication-card[hidden],
.publication-empty[hidden] { display: none; }
.publication-section + .publication-section { margin-top: 34px; }
.publication-section > h2 { margin: 0 0 10px; font-size: 1.18rem; }
.publication-card-list { display: grid; gap: 12px; }
.publication-patent-toggle {
  display: block;
  justify-self: start;
  min-height: 36px;
  margin: 2px 0;
  padding: 5px 14px;
  border: 1px solid color-mix(in srgb, var(--link) 55%, var(--line));
  border-radius: 999px;
  color: var(--link);
  background: var(--button-bg);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
}
.publication-patent-toggle:hover {
  border-color: var(--link);
  background: var(--system-soft);
}
.publication-patent-toggle[hidden] { display: none; }
[data-pub-expand-korean] {
  margin-top: 14px;
}
.publication-section--korean {
  margin-top: 12px;
}
.publication-card {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 18px;
  min-height: 172px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--button-bg);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--text) 6%, transparent);
}
.publication-card.is-selected { border-color: color-mix(in srgb, var(--link) 72%, var(--line)); }
.publication-card__media {
  display: grid;
  place-items: center;
  height: 140px;
  min-height: 0;
  padding: 8px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--bg) 72%, var(--button-bg));
}
.publication-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.publication-card__media--full {
  height: auto;
  aspect-ratio: 1143 / 701;
  padding: 0;
}
.publication-card__media--compact {
  height: 140px;
  padding: 12px;
  aspect-ratio: auto;
}
.publication-card__media--compact img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}
.publication-card__media--contained {
  height: 140px;
  padding: 10px;
}
.publication-card__media--contained img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.publication-card__status {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--button-bg);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}
.publication-card__body { align-self: center; min-width: 0; }
.publication-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 4px;
  color: var(--system);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}
.publication-card__title {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.32;
}
.publication-card__title a { color: inherit; text-decoration: none; }
.publication-card__title a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.publication-card__title .publication-card__pdf-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  margin-left: 4px;
  align-items: center;
  justify-content: center;
  color: #d93025;
  text-decoration: none;
  vertical-align: -4px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.publication-card__title .publication-card__pdf-icon:hover {
  color: #b3261e;
  text-decoration: none;
  transform: translateY(-1px);
}
.publication-card__pdf-icon svg {
  width: 22px;
  height: 22px;
}
.publication-card__pdf-icon .pdf-icon__page { fill: currentColor; }
.publication-card__pdf-icon .pdf-icon__fold { fill: #fff; opacity: 0.45; }
.publication-card__pdf-icon .pdf-icon__label {
  fill: #fff;
  font: 800 6.6px/1 system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  letter-spacing: -0.2px;
}
.publication-card__authors { margin: 6px 0 0; color: var(--muted); font-size: 0.82rem; line-height: 1.35; }
.publication-card__authors strong { color: var(--text); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.publication-card__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.publication-card__tag { padding: 2px 8px; }
.publication-empty { color: var(--muted); }

@media (max-width: 720px) {
  .page-home .publication-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .project-index-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    min-height: 136px;
    padding: 11px;
  }

  .project-index-card__media {
    min-height: 112px;
  }

  .publication-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .publication-scope { width: 100%; }
  .publication-scope__button { flex: 1; padding-inline: 8px; }
  .publication-card { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; min-height: 132px; padding: 11px; }
  .publication-card__media { height: 108px; }
  .publication-card__media--full { height: auto; }
  .publication-card__media--compact { height: 108px; padding: 8px; }
  .publication-card__media--contained { height: 108px; padding: 8px; }
  .publication-card__status { max-width: 76px; padding: 4px 7px; font-size: 0.58rem; text-align: center; }
  .publication-card__title { font-size: 0.92rem; }
  .publication-card__authors { font-size: 0.76rem; }
}

@media (max-width: 470px) {
  .publication-card,
  .page-home .publication-card { grid-template-columns: 1fr; }
  .project-index-card { grid-template-columns: 1fr; }
  .project-index-card__media { min-height: 116px; max-height: 170px; }
  .publication-card__media { height: 150px; }
  .publication-card__media--image {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
  }
  .publication-card__media--image img {
    width: 100%;
    height: auto;
    max-height: none;
  }
  .publication-card__media--compact {
    height: 170px;
    padding: 10px;
  }
  .publication-card__media--compact img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  .publication-card__media--contained {
    height: 150px;
    padding: 10px;
  }
  .publication-card__media--contained img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
}

.talk-list {
  margin: 6px 0 24px;
  border-top: 1px solid var(--line);
}

.talk {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  padding: 8px 0 9px;
  border-bottom: 1px solid var(--line);
}

.talk__year {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
}

.talk__title {
  margin: 0 0 2px;
  padding: 0;
  border: 0;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.28;
}

.talk__venue,
.talk__authors {
  margin: 1px 0;
  font-size: 0.84rem;
  line-height: 1.34;
}

.talk__venue {
  color: var(--muted);
}

.talk__authors {
  color: var(--text);
}

.award .talk__title a {
  color: inherit;
  text-decoration: none;
}

.award .talk__title a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.award__honor {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.award__project {
  margin: 1px 0;
  color: var(--text);
  font-size: 0.84rem;
  font-style: italic;
  line-height: 1.34;
}

.publication-card-list--patents {
  gap: 0;
  border-top: 1px solid var(--line);
}

.publication-card.publication-card--patent-list,
.page-home .publication-card--patent-list {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
  padding: 9px 0 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.publication-card--patent-list.is-selected {
  border-color: var(--line);
}

.publication-card__year {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
}

.publication-card--patent-list .publication-card__body {
  align-self: start;
}

.publication-card--patent-list .publication-card__meta {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: none;
}

.publication-card__patent-heading .publication-card__title {
  font-size: 0.96rem;
  line-height: 1.28;
}

.publication-card--patent-list .publication-card__authors {
  margin: 3px 0 0;
  font-size: 0.8rem;
}

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

.project-card {
  display: grid;
  grid-template-rows: 145px minmax(0, 1fr);
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--bg);
}

.project-card:hover {
  border-color: var(--link);
  color: var(--text);
  text-decoration: none;
}

.project-card__media {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(29, 95, 159, 0.14), transparent 58%),
    var(--soft);
}

.project-card__body {
  display: flex;
  flex-direction: column;
  padding: 13px 13px 14px;
}

.project-card h3 {
  margin: 0 0 4px;
  color: var(--link);
  font-size: 0.98rem;
  line-height: 1.3;
}

.project-card__period {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
}

.project-card p {
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 10px;
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-top: auto;
}

.project-card__tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
}

.project-figure,
.content-figure {
  margin: 18px 0 20px;
}

.project-figure img,
.content-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.content-figure--compact img {
  width: min(100%, 420px);
  margin: 0 auto;
}

.content-figure--compact figcaption {
  max-width: 520px;
  margin-right: auto;
  margin-left: auto;
}

.project-figure figcaption,
.content-figure figcaption {
  margin-top: 8px;
  padding: 8px 10px;
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  color: var(--muted);
  background: var(--soft);
  font-size: 0.86rem;
  line-height: 1.45;
}

.project-figure-grid,
.content-figure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 20px;
}

.project-figure-grid .project-figure,
.content-figure-grid .content-figure {
  margin: 0;
}

.project-video {
  margin: 18px 0 22px;
}

.project-video__frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.project-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-video figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.funding-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 28px;
}

.funding-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto);
  gap: 14px;
  align-items: start;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.funding-item h3 {
  margin: 0 0 4px;
  color: var(--link);
  font-size: 1rem;
  line-height: 1.3;
}

.funding-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.funding-item__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.funding-item__meta span {
  display: inline-flex;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.project-funding {
  margin-top: 24px;
}

.project-funding__list {
  margin: 0;
  padding-left: 20px;
}

.project-funding__list li {
  margin: 4px 0;
}

.field-site-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 10px 0 30px;
}

.field-site-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--text);
  background: var(--bg);
}

.field-site-card:hover {
  border-color: var(--link);
  color: var(--text);
  text-decoration: none;
}

.field-site-card__media {
  min-width: 0;
  aspect-ratio: 16 / 9;
  min-height: 190px;
  max-height: 270px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(29, 95, 159, 0.2), rgba(180, 74, 43, 0.08)),
    var(--soft);
}

.field-site-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.field-site-card h3 {
  margin: 0 0 8px;
  color: var(--link);
  font-size: 1.08rem;
  line-height: 1.3;
}

.field-site-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
}

.field-site-card__intro {
  min-width: 0;
  align-self: center;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.field-site-card__location-line {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.field-site-card__meta,
.field-site-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.field-site-card__meta {
  margin-bottom: 10px;
}

.field-site-detail__meta {
  margin: 8px 0 22px;
}

.field-site-card__meta span,
.field-site-detail__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--soft);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
}

.field-site-detail__meta span {
  font-size: 0.82rem;
}

p.field-site-card__label {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

p.field-site-card__label:not(:first-child) {
  margin-top: 10px;
}

.field-site-card__period {
  margin: 0 0 22px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.field-site-card__data-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.48;
}

.field-site-card__data {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.42;
}

.field-site-card__location {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

.field-site-card__data--sites {
  color: var(--text);
  font-weight: 600;
}

.field-site-card__data li {
  margin: 2px 0;
}

.field-site-detail__category {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.field-site-detail {
  margin: 20px 0;
}

.field-site-detail__figure {
  margin: 18px 0 28px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.field-site-detail__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: var(--soft);
  object-fit: contain;
}

.field-site-detail__figure figcaption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.field-site-detail__figures {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.field-site-detail__figures .content-figure {
  margin: 0;
}

.field-site-detail__data {
  margin: 0;
  padding-left: 20px;
}

.field-site-detail__data li {
  margin: 4px 0;
}

.note-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.note-card-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 28px;
}

.note-card {
  display: block;
  padding: 14px 15px;
  color: var(--text);
}

.note-card:hover {
  border-color: var(--link);
  color: var(--text);
  text-decoration: none;
}

.note-card h2 {
  margin: 5px 0 6px;
  padding: 0;
  border: 0;
  color: var(--link);
  font-size: 1rem;
  line-height: 1.32;
}

.note-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.note-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

.note-card__meta span {
  color: var(--muted);
  font-weight: 600;
}

.note-intro {
  margin: -4px 0 20px;
  color: var(--muted);
}

.research-log-notice {
  max-width: 660px;
  margin: -8px 0 20px;
  padding: 9px 11px;
  border-left: 3px solid var(--system);
  color: var(--muted);
  background: var(--soft);
  font-size: 0.86rem;
  line-height: 1.45;
}

.research-log-notice strong {
  color: var(--text);
}

.note-filter-groups {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 9px 18px;
  margin: 0 0 18px;
}

.note-filter-group {
  display: flex;
  flex: 0 1 auto;
  align-items: start;
  gap: 8px;
}

.note-filter-group__label {
  padding-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.4;
  text-transform: uppercase;
}

.note-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
}

.note-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--button-bg);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 650;
  cursor: pointer;
}

.note-filter span {
  color: inherit;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  opacity: 0.76;
}

.note-filter:hover {
  border-color: var(--link);
  color: var(--link);
}

.note-filter.is-active {
  border-color: var(--accent);
  color: var(--bg);
  background: var(--accent);
}

.note-archive {
  margin: 0 0 28px;
}

.note-entry {
  margin: 0 0 22px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg);
}

.note-entry--with-gallery {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.note-entry__body {
  min-width: 0;
}

.note-entry__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px 12px;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.note-entry[hidden] {
  display: none;
}

.note-entry__date {
  grid-column: 1;
  justify-self: start;
  padding: 3px 8px;
  border: 1px solid var(--chip-border);
  border-radius: 4px;
  color: var(--system);
  background: var(--system-soft);
  font-size: 0.78rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

.note-entry__header h2 {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1.2rem;
  line-height: 1.4;
}

.note-entry__content {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.68;
}

.note-entry__content > :last-child,
.note-page__content > :last-child {
  margin-bottom: 0;
}

.note-entry__content > p > a:only-child,
.note-page__content > p > a:only-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  margin-top: 6px;
  padding: 6px 11px;
  border: 1px solid #162033;
  border-radius: 5px;
  color: #ffffff;
  background: #162033;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.note-entry__content > p > a:only-child::after,
.note-page__content > p > a:only-child::after {
  content: "\2197";
  font-size: 0.92rem;
}

.note-entry__content > p > a:only-child:hover,
.note-page__content > p > a:only-child:hover {
  border-color: var(--link);
  color: #ffffff;
  background: var(--link);
  text-decoration: none;
}

html[data-theme="dark"] .note-entry__content > p > a:only-child,
html[data-theme="dark"] .note-page__content > p > a:only-child {
  border-color: #3b82c4;
  background: #2b659a;
}

html[data-theme="dark"] .note-entry__content > p > a:only-child:hover,
html[data-theme="dark"] .note-page__content > p > a:only-child:hover {
  border-color: #66a7e3;
  background: #3478b6;
}

.note-gallery {
  width: 100%;
  max-width: 720px;
  margin: 0 0 22px;
}

.note-entry > .note-gallery {
  width: 260px;
  margin: 0;
}

.note-gallery__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.note-gallery__slide {
  width: 100%;
  height: 100%;
}

.note-gallery__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.note-gallery__slide[hidden] {
  display: none;
}

.note-gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.note-gallery__placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.note-gallery__photo-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 5px;
  font-size: 1.35rem;
  line-height: 1;
}

.note-gallery__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
}

.note-gallery__controls button {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--text);
  background: var(--button-bg);
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.note-gallery__controls button:hover {
  border-color: var(--link);
  color: var(--link);
}

.note-archive__tag {
  margin-top: 1px;
  padding: 2px 7px;
  border: 1px solid var(--note-tag-border, var(--line));
  border-radius: 999px;
  color: var(--note-tag-text, var(--muted));
  background: var(--note-tag-bg, var(--soft));
  font-size: 0.73rem;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
}

.note-archive__tag--conference {
  --note-tag-text: #175b96;
  --note-tag-border: #9fc5ea;
  --note-tag-bg: #edf5ff;
}

.note-archive__tag--exhibition {
  --note-tag-text: #146f61;
  --note-tag-border: #8bc9bb;
  --note-tag-bg: #eaf8f4;
}

.note-archive__tag--award {
  --note-tag-text: #855700;
  --note-tag-border: #dfbf63;
  --note-tag-bg: #fff6dd;
}

.note-archive__tag--scholarship {
  --note-tag-text: #6940a8;
  --note-tag-border: #c2ace7;
  --note-tag-bg: #f4efff;
}

.note-archive__tag--competition {
  --note-tag-text: #994713;
  --note-tag-border: #e5ad82;
  --note-tag-bg: #fff0e6;
}

.note-archive__tag--academic {
  --note-tag-text: #286875;
  --note-tag-border: #9bcbd4;
  --note-tag-bg: #edf8fb;
}

.note-archive__tag--personal {
  --note-tag-text: #963d53;
  --note-tag-border: #e3a7b5;
  --note-tag-bg: #fff0f3;
}

.note-archive__tag--career {
  --note-tag-text: #34713a;
  --note-tag-border: #9dc79e;
  --note-tag-bg: #edf7ed;
}

.note-archive__tag--recognition {
  --note-tag-text: #5147a3;
  --note-tag-border: #aaa5df;
  --note-tag-bg: #f1f0ff;
}

.note-archive__tag--development {
  --note-tag-text: #6840a5;
  --note-tag-border: #bca7e2;
  --note-tag-bg: #f3effc;
}

.note-archive__tag--field-work {
  --note-tag-text: #2f713d;
  --note-tag-border: #98c69f;
  --note-tag-bg: #edf7ef;
}

html[data-theme="dark"] .note-archive__tag--conference {
  --note-tag-text: #9ac8ff;
  --note-tag-border: #356b9e;
  --note-tag-bg: rgba(40, 111, 176, 0.2);
}

html[data-theme="dark"] .note-archive__tag--exhibition {
  --note-tag-text: #86d7c7;
  --note-tag-border: #367d70;
  --note-tag-bg: rgba(35, 125, 106, 0.2);
}

html[data-theme="dark"] .note-archive__tag--award {
  --note-tag-text: #f1cf70;
  --note-tag-border: #8b6c26;
  --note-tag-bg: rgba(145, 104, 21, 0.2);
}

html[data-theme="dark"] .note-archive__tag--scholarship {
  --note-tag-text: #c9afff;
  --note-tag-border: #7259a5;
  --note-tag-bg: rgba(105, 71, 167, 0.2);
}

html[data-theme="dark"] .note-archive__tag--competition {
  --note-tag-text: #f0b184;
  --note-tag-border: #92582f;
  --note-tag-bg: rgba(151, 76, 28, 0.2);
}

html[data-theme="dark"] .note-archive__tag--academic {
  --note-tag-text: #91d3df;
  --note-tag-border: #447d87;
  --note-tag-bg: rgba(45, 116, 129, 0.2);
}

html[data-theme="dark"] .note-archive__tag--personal {
  --note-tag-text: #efa7b8;
  --note-tag-border: #914f5f;
  --note-tag-bg: rgba(148, 56, 78, 0.2);
}

html[data-theme="dark"] .note-archive__tag--career {
  --note-tag-text: #9ed49f;
  --note-tag-border: #4f7f52;
  --note-tag-bg: rgba(61, 123, 66, 0.2);
}

html[data-theme="dark"] .note-archive__tag--recognition {
  --note-tag-text: #bdb5ff;
  --note-tag-border: #625b9d;
  --note-tag-bg: rgba(83, 72, 154, 0.2);
}

html[data-theme="dark"] .note-archive__tag--development {
  --note-tag-text: #c8adfa;
  --note-tag-border: #71599d;
  --note-tag-bg: rgba(103, 70, 156, 0.2);
}

html[data-theme="dark"] .note-archive__tag--field-work {
  --note-tag-text: #9ed3a7;
  --note-tag-border: #4f7f58;
  --note-tag-bg: rgba(58, 121, 70, 0.2);
}

.note-empty {
  color: var(--muted);
}

.note-date {
  color: var(--muted);
  font-size: 0.92rem;
}

.note-page__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.note-page__header h1 {
  grid-column: 1 / -1;
  margin: 0;
}

.note-page__header time {
  justify-self: start;
  padding: 4px 9px;
  border: 1px solid var(--chip-border);
  border-radius: 4px;
  color: var(--system);
  background: var(--system-soft);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.35;
}

.note-page__back {
  grid-column: 1 / -1;
  width: fit-content;
  font-size: 0.88rem;
  font-weight: 700;
}

.note-page__back::before {
  content: "\2190 ";
}

.note-page__content {
  font-size: 1rem;
  line-height: 1.72;
}

@media (max-width: 860px) {
  .cv-mobile-profile {
    display: block;
  }

  .topbar {
    position: sticky;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    justify-content: stretch;
    gap: 8px;
    height: auto;
    min-height: 54px;
    padding: 9px 16px;
  }

  .topbar__name {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .nav-toggle {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    background: var(--button-bg);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
  }

  .nav-toggle__bars {
    display: grid;
    gap: 3px;
    width: 14px;
  }

  .nav-toggle__bars span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    font-size: 0.95rem;
  }

  .topbar.is-nav-open .nav {
    display: grid;
  }

  .nav a {
    min-height: 34px;
    padding: 5px 0;
    border-bottom-width: 0;
  }

  .nav a.is-active {
    color: var(--system);
    border-bottom-color: transparent;
  }

  .theme-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .site {
    display: block;
    min-height: auto;
    padding: 22px 20px 44px;
  }

  .site-footer {
    justify-content: center;
    min-height: 52px;
    padding: 14px 20px 20px;
  }

  .profile {
    position: static;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0 14px;
    margin: 0 0 24px;
    padding: 12px 14px;
    text-align: left;
  }

  .profile__photo {
    grid-row: 1 / 6;
    width: 76px;
    height: 76px;
    margin: 0;
  }

  .profile__name {
    font-size: 1.24rem;
  }

  .profile__role,
  .profile__degree,
  .profile__location {
    font-size: 0.9rem;
  }

  .profile__location {
    justify-content: flex-start;
  }

  .profile__links {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
    max-width: none;
    margin: 12px 0 0;
  }

  .profile__advisor {
    grid-column: 1 / -1;
    margin: 10px 0 0;
    text-align: center;
  }

  .profile__links a {
    min-height: 28px;
    font-size: 0.9rem;
  }

  .profile__links svg {
    width: 18px;
    height: 18px;
  }

  .entry {
    display: block;
  }

  .entry__date {
    margin-bottom: 4px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .talk {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
  }

  .pub-year-group {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
  }
}

@media (max-width: 620px) {
  .home-section:not(.home-section--about) {
    margin-top: 54px;
    padding-top: 14px;
  }

  .cv-simple-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 2px 0 16px;
  }

  .cv-simple-header__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    align-items: stretch;
  }

  .cv-simple-header__action {
    min-width: 0;
  }

  .cv-simple-download,
  .cv-portfolio-toggle {
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding-inline: 8px;
  }

  .cv-simple-header h1 {
    font-size: 1.65rem;
  }

  .cv-simple-download {
    min-height: 38px;
    padding: 6px 12px;
  }

  .portfolio-preview {
    margin-top: 14px;
    padding: 11px;
  }

  .portfolio-preview__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .portfolio-preview iframe {
    display: none;
  }

  .document-mobile-preview {
    display: grid;
    justify-items: center;
    gap: 12px;
  }

  .document-mobile-preview__image {
    display: block;
    width: min(100%, 390px);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(31, 41, 51, 0.08);
  }

  .document-mobile-preview--landscape .document-mobile-preview__image {
    width: 100%;
  }

  .document-mobile-preview__image img {
    display: block;
    width: 100%;
    height: auto;
  }

  .document-mobile-preview__open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 7px 16px;
    border: 1px solid var(--system);
    border-radius: 5px;
    color: #fff;
    background: var(--system);
    font-weight: 800;
  }

  .document-mobile-preview__open:hover {
    color: #fff;
    text-decoration: none;
  }

  .cv-simple-panel {
    padding: 22px 0 24px;
  }

  .cv-document-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .cv-document-header__actions {
    justify-content: flex-start;
    max-width: none;
  }

  .cv-document-header__actions span {
    text-align: left;
  }

  .research-keyword-group {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .research-keyword-group__label {
    padding-top: 0;
  }

  .research-keyword-group .keyword-chips {
    gap: 6px;
  }

  .research-keyword-group .keyword-chips span {
    min-height: 28px;
    padding: 3px 9px;
    font-size: 0.82rem;
  }

  .research-keyword-group .keyword-chips--outline {
    gap: 5px;
  }

  .research-keyword-group .keyword-chips--outline span {
    min-height: 0;
    padding: 2px 8px;
    font-size: 0.72rem;
  }

  .nav-toggle__label {
    display: none;
  }

  .nav-toggle {
    width: 34px;
    justify-content: center;
    padding: 0;
  }

  .page-inner .profile {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0 12px;
    margin-bottom: 20px;
    padding: 10px 12px;
  }

  .page-inner .profile__photo {
    grid-row: 1 / 3;
    width: 56px;
    height: 56px;
  }

  .page-inner .profile__name {
    align-self: end;
    font-size: 1.08rem;
  }

  .page-inner .profile__role {
    align-self: start;
    font-size: 0.84rem;
  }

  .page-inner .profile__degree,
  .page-inner .profile__location {
    display: none;
  }

  .page-inner .profile__links {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin-top: 9px;
  }

  .page-inner .profile__links a {
    display: inline-grid;
    grid-template-columns: 1fr;
    place-items: center;
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--button-bg);
    line-height: 0;
  }

  .page-inner .profile__links a:hover {
    border-color: var(--link);
  }

  .page-inner .profile__links svg {
    display: block;
    width: 17px;
    height: 17px;
    margin: auto;
  }

  .page-cv .profile__advisor,
  .page-news .profile__advisor {
    display: none;
  }

  .page-inner .profile__links span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .page-news .profile__links,
  .page-research-log .profile__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 6px 10px;
  }

  .page-news .profile__links a,
  .page-research-log .profile__links a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    height: auto;
    min-height: 28px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    line-height: 1.2;
    text-align: left;
  }

  .page-news .profile__links svg,
  .page-research-log .profile__links svg {
    flex: 0 0 18px;
    margin: 0;
  }

  .page-news .profile__links span,
  .page-research-log .profile__links span {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .page-research-log .profile,
  .page-cv .profile {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0 14px;
    margin: 0 0 24px;
    padding: 12px 14px;
  }

  .page-research-log .profile__photo,
  .page-cv .profile__photo {
    grid-row: 1 / 6;
    width: 76px;
    height: 76px;
  }

  .page-research-log .profile__name,
  .page-cv .profile__name {
    align-self: auto;
    font-size: 1.24rem;
  }

  .page-research-log .profile__role,
  .page-research-log .profile__degree,
  .page-research-log .profile__location,
  .page-cv .profile__role,
  .page-cv .profile__degree,
  .page-cv .profile__location {
    display: block;
    align-self: auto;
    font-size: 0.9rem;
  }

  .page-research-log .profile__location,
  .page-cv .profile__location {
    display: inline-flex;
  }

  .page-research-log .profile__advisor,
  .page-cv .profile__advisor {
    display: block;
  }

  .page-research-log .profile__links,
  .page-cv .profile__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 6px 10px;
    width: 100%;
    margin: 12px 0 0;
  }

  .page-research-log .profile__links a,
  .page-cv .profile__links a {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    justify-content: initial;
    place-items: initial;
    align-items: center;
    gap: 10px;
    width: auto;
    height: auto;
    min-height: 30px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    line-height: 1.2;
  }

  .page-research-log .profile__links span,
  .page-cv .profile__links span {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .project-index-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-index-card__media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .project-index-card__media img,
  .project-index-card__media--compact img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

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

  .field-site-grid {
    grid-template-columns: 1fr;
  }

  .funding-item {
    grid-template-columns: 1fr;
  }

  .funding-item__meta {
    justify-content: flex-start;
  }

  .field-site-card {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .field-site-card__media {
    min-height: 150px;
  }

  .field-site-card__intro {
    padding-left: 0;
    padding-top: 12px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .project-figure-grid,
  .content-figure-grid {
    grid-template-columns: 1fr;
  }

  .pub-result-count {
    text-align: left;
  }

  .note-entry {
    margin-bottom: 16px;
    padding: 18px 16px;
  }

  .note-entry--with-gallery {
    display: block;
  }

  .note-entry > .note-gallery {
    width: 100%;
    margin-bottom: 16px;
  }

  .note-gallery__stage {
    height: 180px;
    aspect-ratio: auto;
  }

  .note-entry__header {
    gap: 4px 8px;
  }

  .note-entry__header h2 {
    font-size: 1.08rem;
  }

  .note-entry__content {
    font-size: 0.92rem;
  }

  .skills-table,
  .skills-table tbody,
  .skills-table tr,
  .skills-table th,
  .skills-table td {
    display: block;
    width: 100%;
  }

  .skills-table th {
    padding: 9px 0 2px;
    border: 0;
    background: transparent;
  }

  .skills-table td {
    padding: 0 0 9px;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .page-cv .entry {
    display: block;
    margin: 7px 0 13px;
  }

  .page-cv .entry__date {
    margin-bottom: 2px;
  }

  .page-cv .skills-table th,
  .page-cv .skills-table td {
    width: 100%;
  }

  .page-cv .skills-table th {
    padding: 6px 0 1px;
  }

  .page-cv .skills-table td {
    padding: 0 0 6px;
  }

  .recognition-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 2px 10px;
    padding: 7px 0;
  }

  .recognition-item__meta {
    grid-column: 2;
  }

  .page-cv #others ~ .recognition-list .recognition-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1px 10px;
  }

  .page-cv #others ~ .recognition-list .recognition-item__title {
    grid-column: 1;
    grid-row: 1;
  }

  .page-cv #others ~ .recognition-list .recognition-item__year {
    grid-column: 2;
    grid-row: 1;
  }

  .page-cv #others ~ .recognition-list .recognition-item__meta {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
