:root {
  --font-sans: "Inter", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Iowan Old Style", "Georgia", "Times New Roman", serif;
  --font-mono: "SFMono-Regular", "Roboto Mono", "Cascadia Mono", "Menlo", "Consolas", monospace;
  --color-text: #283342;
  --color-muted: #647084;
  --color-link: #53658c;
  --color-link-hover: #354568;
  --color-surface: #f7f8fa;
  --color-panel: #ffffff;
  --color-border: #dfe4ec;
  --color-nav: rgba(247, 248, 250, 0.96);
  --color-callout: #896747;
  --figure-blue: #4e9bc7;
  --figure-green: #63a96b;
  --figure-purple: #9b78d0;
  --figure-orange: #d9902f;
  --figure-red: #c94d48;
  --figure-line: #5f666b;
  --news-date-width: 104px;
  --section-label-width: 112px;
  --section-main-width: 48ch;
  --section-side-width: 34ch;
  --section-column-gap: clamp(12px, 1.4vw, 18px);
  --section-row-width: calc(var(--section-label-width) + (var(--section-column-gap) * 2) + var(--section-main-width) + var(--section-side-width));
  --shadow-soft: 0 16px 36px rgba(34, 39, 45, 0.07);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.005em;
  background-color: var(--color-surface);
  background-image: none;
  background-attachment: fixed;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

td,
th,
tr,
p,
li {
  font-family: var(--font-sans);
  font-size: inherit;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color .18s ease-in-out, opacity .18s ease-in-out;
}

a:focus,
a:hover {
  color: var(--color-link-hover);
  opacity: 1;
}

p {
  margin: 0 0 0.65rem;
}

li {
  list-style-type: none;
  margin: 0 0 4px;
  padding: 0;
  line-height: 1.55;
}

.award-subline {
  margin-left: 1.25em;
  font-size: 12px;
  line-height: 1.45;
  color: #666;
}

ul {
  padding-left: 0;
  margin: 0;
}

.news-list {
  padding-left: 0;
  margin: 0;
}

.news-list li {
  display: grid;
  grid-template-columns: var(--news-date-width) minmax(0, 1fr);
  column-gap: var(--section-column-gap);
  align-items: start;
  padding: 1px 0;
}

.news-list li > span:first-child {
  display: block;
  width: auto;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.news-item-content {
  display: block;
  min-width: 0;
}

.talks-list,
.service-list,
.funding-list,
.award-list {
  display: grid;
  gap: 4px 0;
  width: 100%;
  margin: 6px 0 18px;
}

.section-heading-tight {
  margin-top: 12px !important;
}

.talk-row,
.service-row,
.funding-row,
.award-row {
  display: grid;
  column-gap: var(--section-column-gap);
  row-gap: 0;
  align-items: start;
  box-sizing: border-box;
  width: 100%;
  padding: 5px 8px;
  border-top: 1px solid rgba(83, 94, 101, 0.1);
  border-radius: 6px;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.talk-row,
.service-row,
.funding-row,
.award-row {
  grid-template-columns: 120px minmax(0, 1fr);
  max-width: 100%;
}

.talk-row:first-child,
.service-row:first-child,
.funding-row:first-child,
.award-row:first-child {
  border-top-color: transparent;
}

.talk-row:nth-child(even),
.service-row:nth-child(even),
.funding-row:nth-child(even),
.award-row:nth-child(even) {
  background: rgba(249, 248, 244, 0.62);
}

.talk-row:hover,
.service-row:hover,
.funding-row:hover,
.award-row:hover {
  background: rgba(239, 247, 250, 0.7);
  border-top-color: rgba(105, 151, 170, 0.18);
}

.talk-row-sub {
  margin-top: -4px;
}

.talk-date,
.service-category,
.funding-date,
.award-date {
  color: #356f90;
  font-size: 15px;
  line-height: 1.45;
  white-space: nowrap;
}

.talk-date,
.funding-date,
.award-date {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.service-category {
  white-space: normal;
}

.talk-title,
.talk-venue,
.award-title,
.award-source {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.45;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.service-head {
  position: relative;
  padding-left: 14px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.service-head::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #356f90;
  box-shadow: 0 0 0 2px rgba(53, 111, 144, 0.1);
}

.service-detail {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.45;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.inspiration-note {
  width: 100%;
  max-width: var(--section-row-width);
  margin: 18px 0 0;
  color: var(--color-text);
  line-height: 1.45;
  text-align: right;
}

.inspiration-note-text {
  font-size: 13px;
}

.inspiration-credit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 5px;
  vertical-align: middle;
}

.inspiration-credit-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(34, 39, 45, 0.2);
}

.service-category-empty {
  visibility: hidden;
}

.award-title-detail {
  color: #666;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.award-source {
  display: grid;
  gap: 1px;
}

.award-source-main {
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.award-source-detail {
  color: #666;
  font-size: 12px;
  line-height: 1.45;
}

.talk-title,
.service-category,
.award-title {
  font-weight: 500;
}

.talk-title a,
.talk-venue a,
.service-head a,
.service-detail a,
.award-title a,
.award-source a {
  color: var(--color-link);
}

strong {
  font: inherit;
  font-weight: 600;
}

b {
  font-weight: 600;
}

heading {
  display: block;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: 0;
  color: #202830;
}

papertitle {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  color: #1f262d;
}


#author {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.45;
  color: #666b70;
}

#author a {
  color: #666b70;
}

#author me {
  color: #15191d;
  font-weight: 500;
}

#author a:focus,
#author a:hover {
  color: var(--color-link-hover);
  text-decoration: none;
}

name {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
  color: #171d23;
}

jobtitle {
  display: block;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: inherit;
}

song {
  font-family: var(--font-serif);
  font-size: 16px;
}


/* name {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 32px;
} */

.one {
  /* width: 150px;
  height: 150px; */
  position: relative;
}

.two {
  /* width: 150px;
  height: 150px; */
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: transparent;
}


nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 22px;
  background-color: var(--color-nav);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  white-space: nowrap;
  box-sizing: border-box;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
}

.nav-toggle {
  display: none;
}

.content {
  padding-top: 84px;
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}

.anchor {
  scroll-margin-top: 84px;
  margin-left: -10px;
}

nav a {
  color: rgba(255, 255, 255, 0.92);
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
}

nav a:hover,
nav a:focus {
  color: #f1c16f;
}

.content > table {
  width: 100%;
  max-width: 1000px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}

.content > table > tbody > tr > td {
  padding-left: 20px;
  padding-right: 20px;
}

td,
th,
table {
  box-sizing: border-box;
}

.profile-main {
  padding-left: 0 !important;
  padding-right: 28px !important;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.55;
}

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

.profile-main a:hover,
.profile-main a:focus {
  color: var(--color-link-hover);
}

.profile-side {
  text-align: center;
}

.profile-name-wrap {
  margin-bottom: 8px;
  text-align: center;
}

.profile-summary {
  color: inherit;
}

.profile-callout {
  color: inherit;
  font-weight: 400;
}

.profile-links {
  margin-top: 10px;
  margin-bottom: 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.profile-photo {
  display: block;
  width: 100%;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.publication-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.scholar-citations {
  display: block;
  width: 290px;
  max-width: 100%;
  color: var(--color-muted);
  text-decoration: none;
}

.scholar-summary {
  display: block;
  margin-bottom: 4px;
  color: var(--color-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.scholar-chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.scholar-bar {
  fill: #afd2f2;
  transform-box: fill-box;
  transform-origin: center bottom;
}

.scholar-line {
  fill: none;
  stroke: #d94b3d;
  stroke-width: 1.8;
  stroke-linecap: round;
  pointer-events: none;
}

.scholar-citations:hover .scholar-bar,
.scholar-citations:focus-visible .scholar-bar {
  fill: #94bee7;
}

.scholar-citations:focus-visible {
  outline: 2px solid var(--color-link);
  outline-offset: 6px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .scholar-citations.is-animating .scholar-bar {
    animation: scholar-bar-rise 650ms ease-out both;
    animation-delay: var(--bar-delay);
  }

  .scholar-citations.is-animating .scholar-line {
    animation: scholar-line-draw 1.4s ease-out both;
  }
}

@keyframes scholar-bar-rise {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes scholar-line-draw {
  from { stroke-dasharray: 1; stroke-dashoffset: 1; }
  to { stroke-dasharray: 1; stroke-dashoffset: 0; }
}

.publication-gallery {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-width: 0;
  contain: inline-size;
  gap: 8px;
  margin: 20px 0 24px;
}

.publication-gallery-row {
  display: flex;
  gap: inherit;
  width: 100%;
  min-width: 0;
}

.publication-gallery-item {
  position: relative;
  display: block;
  flex: var(--teaser-ratio) 1 calc(var(--teaser-ratio) * 110px);
  min-width: 0;
  max-width: 100%;
  aspect-ratio: var(--teaser-ratio);
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid var(--color-border);
  background: #fff;
}

.publication-gallery-item[data-publication-id="27-track4action"] {
  background: transparent;
}

.publication-gallery-row .publication-gallery-item {
  flex-basis: 0;
  height: 100%;
}

.publication-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.publication-gallery-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 8px 10px;
  color: #fff;
  background: rgba(32, 37, 41, 0.9);
  font-size: 11px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
}

.publication-gallery-item:hover .publication-gallery-caption,
.publication-gallery-item:focus-visible .publication-gallery-caption {
  opacity: 1;
}

.publication-gallery-venue {
  display: block;
  margin-top: 3px;
  opacity: 0.8;
}

.publication-gallery-item:focus-visible {
  outline: 2px solid var(--color-link);
  outline-offset: 1px;
  z-index: 1;
}

#publications-main-table > tbody > tr[id],
#publications-collab-table > tbody > tr[id] {
  scroll-margin-top: 90px;
}

#publications-main-table > tbody > tr:target {
  outline: 2px solid var(--color-link);
  outline-offset: 3px;
}

.publication-filter-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 12px 0 8px;
}

.publication-filter-row {
  display: flex;
  align-items: center;
  gap: 10px 14px;
}

.publication-filter-primary {
  flex-wrap: nowrap;
}

.publication-filter-topics {
  flex-wrap: wrap;
}

.publication-filter-option {
  --filter-border: rgba(61, 127, 151, 0.5);
  --filter-hover-border: rgba(66, 101, 150, 0.66);
  --filter-active-border: rgba(58, 48, 112, 0.74);
  --filter-fill-a: rgba(232, 252, 255, 0.82);
  --filter-fill-b: rgba(216, 242, 249, 0.66);
  --filter-hover-fill-a: rgba(225, 239, 255, 0.9);
  --filter-hover-fill-b: rgba(203, 222, 248, 0.78);
  --filter-active-fill-a: rgba(211, 201, 255, 0.92);
  --filter-active-fill-b: rgba(183, 166, 242, 0.84);
  --filter-text: #456a78;
  --filter-hover-text: #3a557b;
  --filter-active-text: #2f2a63;
  --filter-shadow: rgba(49, 91, 130, 0.09);
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--filter-border);
  background:
    linear-gradient(180deg, var(--filter-fill-a), var(--filter-fill-b));
  color: var(--filter-text);
  border-radius: 8px;
  padding: 5px 13px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: 0.025em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    inset 0 -1px 0 rgba(55, 117, 143, 0.07),
    0 1px 2px var(--filter-shadow);
  transition: color .18s ease-in-out, border-color .18s ease-in-out, background .18s ease-in-out, box-shadow .18s ease-in-out, transform .18s ease-in-out;
}

.publication-filter-option:hover,
.publication-filter-option:focus-within {
  color: var(--filter-hover-text);
  border-color: var(--filter-hover-border);
  background:
    linear-gradient(180deg, var(--filter-hover-fill-a), var(--filter-hover-fill-b));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(66, 101, 150, 0.12),
    0 2px 5px var(--filter-shadow);
  transform: translateY(-1px);
  outline: none;
}

.publication-filter-option.is-active,
.publication-filter-option:has(.publication-filter-checkbox:checked) {
  color: var(--filter-active-text);
  border-color: var(--filter-active-border);
  background:
    linear-gradient(180deg, var(--filter-active-fill-a), var(--filter-active-fill-b));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(58, 48, 112, 0.16),
    0 2px 6px var(--filter-shadow);
}

.publication-filter-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.publication-filter-option span {
  display: inline-block;
}

.publication-tag-list {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-right: 8px;
  vertical-align: middle;
}

.publication-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 7px;
  border: 1.5px solid rgba(55, 117, 143, 0.54);
  background:
    linear-gradient(180deg, rgba(230, 250, 253, 0.84), rgba(213, 239, 248, 0.68));
  color: #2b7188;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.02em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    inset 0 -1px 0 rgba(55, 117, 143, 0.08),
    0 1px 2px rgba(39, 111, 137, 0.07);
}

.publication-tag-plain {
  background: transparent;
  box-shadow: none;
}

.publication-empty-state {
  display: none;
  margin-top: 6px;
  color: #8d96a0;
  font-size: 12px;
}

.publication-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 8px;
  margin: 8px 0 4px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 650;
  font-style: italic;
}

.publication-venue {
  color: #4e8fb8;
}

.publication-note {
  color: var(--color-callout);
  font-style: normal;
}

.publication-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.publication-links a {
  color: #b55b58;
  white-space: nowrap;
}

.publication-links a::before {
  content: "[";
}

.publication-links a::after {
  content: "]";
}

.publication-links a:hover,
.publication-links a:focus {
  color: var(--color-link-hover);
}

#publications-main-table,
#publications-collab-table {
  border-collapse: separate !important;
  border-spacing: 0 12px !important;
}

#publications-main-table > tbody > tr,
#publications-collab-table > tbody > tr {
  --publication-media-frame-height: 128px;
  --publication-media-frame-padding: 12px;
  --publication-row-border: rgba(95, 102, 107, 0.16);
  --publication-row-inner: rgba(255, 255, 255, 0.72);
  --publication-row-fill-a: rgba(255, 255, 255, 0.72);
  --publication-row-fill-b: rgba(250, 249, 246, 0.56);
  --publication-row-shadow: rgba(34, 39, 45, 0.04);
  --glass-border: rgba(95, 102, 107, 0.18);
  --glass-inner-border: rgba(255, 255, 255, 0.62);
  --glass-shine-a: rgba(255, 255, 255, 0.88);
  --glass-shine-b: rgba(251, 250, 247, 0.46);
  --glass-fill-a: rgba(255, 255, 255, 0.78);
  --glass-fill-b: rgba(250, 249, 246, 0.54);
  --glass-fill-c: rgba(247, 248, 246, 0.42);
  --glass-base: rgba(255, 255, 255, 0.58);
  --glass-shadow: rgba(34, 39, 45, 0.055);
  --glass-bottom-line: rgba(95, 102, 107, 0.12);
  --glass-glint: rgba(255, 255, 255, 0.42);
  --glass-ambient: rgba(78, 155, 199, 0.045);
  border: 0 !important;
}

#publications-main-table > tbody > tr:has(td[style*="width:65%"] p),
#publications-collab-table > tbody > tr:has(td[style*="width:65%"] p) {
  --publication-media-frame-height: 176px;
}

#publications-main-table > tbody > tr:hover,
#publications-collab-table > tbody > tr:hover {
  --publication-row-border: rgba(78, 155, 199, 0.24);
  --publication-row-inner: rgba(255, 255, 255, 0.78);
  --publication-row-fill-a: rgba(255, 255, 255, 0.82);
  --publication-row-fill-b: rgba(250, 249, 246, 0.68);
  --publication-row-shadow: rgba(34, 39, 45, 0.065);
  --glass-border: rgba(78, 155, 199, 0.26);
  --glass-inner-border: rgba(255, 255, 255, 0.72);
  --glass-shine-a: rgba(255, 255, 255, 0.92);
  --glass-shine-b: rgba(249, 251, 249, 0.56);
  --glass-fill-a: rgba(255, 255, 255, 0.84);
  --glass-fill-b: rgba(249, 250, 247, 0.62);
  --glass-fill-c: rgba(244, 248, 248, 0.48);
  --glass-base: rgba(255, 255, 255, 0.68);
  --glass-shadow: rgba(34, 39, 45, 0.085);
  --glass-bottom-line: rgba(78, 155, 199, 0.16);
  --glass-glint: rgba(255, 255, 255, 0.5);
  --glass-ambient: rgba(78, 155, 199, 0.07);
}

#publications-main-table > tbody > tr > td,
#publications-collab-table > tbody > tr > td {
  background:
    linear-gradient(145deg, var(--publication-row-fill-a), var(--publication-row-fill-b)),
    rgba(255, 255, 255, 0.34);
  border-top: 1px solid var(--publication-row-border);
  border-bottom: 1px solid var(--publication-row-border);
  box-shadow:
    inset 0 1px 0 var(--publication-row-inner),
    inset 0 -1px 0 rgba(95, 102, 107, 0.08),
    0 10px 24px var(--publication-row-shadow);
  backdrop-filter: blur(12px) saturate(1.06);
  -webkit-backdrop-filter: blur(12px) saturate(1.06);
  transition: background .22s ease-in-out, border-color .22s ease-in-out, box-shadow .22s ease-in-out;
}

#publications-main-table > tbody > tr > td:first-child,
#publications-collab-table > tbody > tr > td:first-child {
  border-left: 1px solid var(--publication-row-border);
  border-radius: 22px 0 0 22px;
}

#publications-main-table > tbody > tr > td:last-child,
#publications-collab-table > tbody > tr > td:last-child {
  border-right: 1px solid var(--publication-row-border);
  border-radius: 0 22px 22px 0;
}

#publications-main-table td[style*="width:35%"] > div:not(.two),
#publications-main-table td[style*="width:35%"] > .two,
#publications-collab-table td[style*="width:35%"] > div:not(.two),
#publications-collab-table td[style*="width:35%"] > .two {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--publication-media-frame-height);
  text-align: center;
  padding: var(--publication-media-frame-padding);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  background:
    radial-gradient(circle at 16% 0%, var(--glass-shine-a), var(--glass-shine-b) 34%, transparent 61%),
    linear-gradient(146deg, var(--glass-fill-a), var(--glass-fill-b) 50%, var(--glass-fill-c)),
    var(--glass-base);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 var(--glass-bottom-line),
    inset 1px 0 0 rgba(255, 255, 255, 0.2),
    0 13px 28px var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  box-sizing: border-box;
  overflow: hidden;
  transform: translateZ(0);
  transform-origin: center;
  transition: transform .14s ease-out, background .2s ease-out, border-color .2s ease-out, box-shadow .2s ease-out, backdrop-filter .2s ease-out;
  will-change: transform;
}

#publications-main-table > tbody > tr.publication-title-active td[style*="width:35%"] > div:not(.two),
#publications-main-table > tbody > tr.publication-title-active td[style*="width:35%"] > .two,
#publications-main-table > tbody > tr:hover td[style*="width:35%"] > div:not(.two),
#publications-main-table > tbody > tr:hover td[style*="width:35%"] > .two,
#publications-main-table > tbody > tr:has(td[style*="width:65%"]:hover) td[style*="width:35%"] > div:not(.two),
#publications-main-table > tbody > tr:has(td[style*="width:65%"]:hover) td[style*="width:35%"] > .two,
#publications-main-table > tbody > tr:has(td[style*="width:65%"]:focus-within) td[style*="width:35%"] > div:not(.two),
#publications-main-table > tbody > tr:has(td[style*="width:65%"]:focus-within) td[style*="width:35%"] > .two,
#publications-collab-table > tbody > tr.publication-title-active td[style*="width:35%"] > div:not(.two),
#publications-collab-table > tbody > tr.publication-title-active td[style*="width:35%"] > .two,
#publications-collab-table > tbody > tr:hover td[style*="width:35%"] > div:not(.two),
#publications-collab-table > tbody > tr:hover td[style*="width:35%"] > .two,
#publications-collab-table > tbody > tr:has(td[style*="width:65%"]:hover) td[style*="width:35%"] > div:not(.two),
#publications-collab-table > tbody > tr:has(td[style*="width:65%"]:hover) td[style*="width:35%"] > .two,
#publications-collab-table > tbody > tr:has(td[style*="width:65%"]:focus-within) td[style*="width:35%"] > div:not(.two),
#publications-collab-table > tbody > tr:has(td[style*="width:65%"]:focus-within) td[style*="width:35%"] > .two {
  transform: translateY(-2px) scale(1.035);
  transition: transform .055s cubic-bezier(.2, 0, 0, 1), background .14s ease-out, border-color .14s ease-out, box-shadow .14s ease-out, backdrop-filter .14s ease-out;
  border-color: rgba(78, 155, 199, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(78, 155, 199, 0.18),
    inset 1px 0 0 rgba(255, 255, 255, 0.26),
    0 17px 36px rgba(34, 39, 45, 0.1);
}

#publications-main-table td[style*="width:35%"] > .two,
#publications-collab-table td[style*="width:35%"] > .two {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  width: calc(100% - 20px) !important;
  height: var(--publication-media-frame-height) !important;
}

#publications-main-table td[style*="width:35%"] > div:not(.two)::before,
#publications-main-table td[style*="width:35%"] > .two::before,
#publications-collab-table td[style*="width:35%"] > div:not(.two)::before,
#publications-collab-table td[style*="width:35%"] > .two::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(120deg, var(--glass-glint), transparent 32%),
    linear-gradient(300deg, transparent 56%, var(--glass-ambient));
  opacity: 0.44;
  pointer-events: none;
  transition: opacity .22s ease-in-out;
}

#publications-main-table > tbody > tr:hover td[style*="width:35%"] > div:not(.two)::before,
#publications-main-table > tbody > tr:hover td[style*="width:35%"] > .two::before,
#publications-collab-table > tbody > tr:hover td[style*="width:35%"] > div:not(.two)::before,
#publications-collab-table > tbody > tr:hover td[style*="width:35%"] > .two::before {
  opacity: 0.58;
}

#publications-main-table td[style*="width:35%"] > div:not(.two)::after,
#publications-main-table td[style*="width:35%"] > .two::after,
#publications-collab-table td[style*="width:35%"] > div:not(.two)::after,
#publications-collab-table td[style*="width:35%"] > .two::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 18px;
  border: 1px solid var(--glass-inner-border);
  pointer-events: none;
}

#publications-main-table td[style*="width:35%"] > div:not(.two) > img,
#publications-main-table td[style*="width:35%"] > div:not(.two) > video,
#publications-main-table td[style*="width:35%"] > .two > img,
#publications-main-table td[style*="width:35%"] > .two > video,
#publications-collab-table td[style*="width:35%"] > div:not(.two) > img,
#publications-collab-table td[style*="width:35%"] > div:not(.two) > video,
#publications-collab-table td[style*="width:35%"] > .two > img,
#publications-collab-table td[style*="width:35%"] > .two > video {
  position: relative;
  z-index: 1;
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: calc(var(--publication-media-frame-height) - (var(--publication-media-frame-padding) * 2));
  object-fit: contain;
  margin: 0 auto;
  border-radius: 6px;
}

#publications-main-table td[style*="width:35%"],
#publications-main-table td[style*="width:65%"],
#publications-collab-table td[style*="width:35%"],
#publications-collab-table td[style*="width:65%"] {
  vertical-align: middle !important;
}

#publications-main-table td[style*="width:35%"] video,
#publications-main-table td[style*="width:35%"] img[src$=".gif"],
#publications-collab-table td[style*="width:35%"] video,
#publications-collab-table td[style*="width:35%"] img[src$=".gif"] {
  border-radius: 6px;
}

/* Hover swap is only enabled when the container actually has TWO media
   (teaser + interaction). Otherwise we leave the single image untouched. */
#publications-main-table td[style*="width:35%"] > div:not(.one):not(.two):has(> img + img) > img:first-of-type,
#publications-main-table td[style*="width:35%"] > div:not(.one):not(.two):has(> img + video) > img:first-of-type,
#publications-main-table td[style*="width:35%"] > div:not(.one):not(.two):has(> video + img) > video:first-of-type,
#publications-collab-table td[style*="width:35%"] > div:not(.one):not(.two):has(> img + img) > img:first-of-type,
#publications-collab-table td[style*="width:35%"] > div:not(.one):not(.two):has(> img + video) > img:first-of-type,
#publications-collab-table td[style*="width:35%"] > div:not(.one):not(.two):has(> video + img) > video:first-of-type {
  display: block !important;
  transition: opacity .2s ease-in-out;
}

#publications-main-table td[style*="width:35%"] > div:not(.two) > img + img,
#publications-main-table td[style*="width:35%"] > div:not(.two) > img + video,
#publications-main-table td[style*="width:35%"] > div:not(.two) > video + img,
#publications-collab-table td[style*="width:35%"] > div:not(.two) > img + img,
#publications-collab-table td[style*="width:35%"] > div:not(.two) > img + video,
#publications-collab-table td[style*="width:35%"] > div:not(.two) > video + img {
  position: absolute !important;
  inset: var(--publication-media-frame-padding) !important;
  width: calc(100% - (var(--publication-media-frame-padding) * 2)) !important;
  height: calc(100% - (var(--publication-media-frame-padding) * 2)) !important;
  object-fit: contain;
  object-position: center;
  z-index: 1;
  opacity: 0;
  display: block !important;
  pointer-events: none;
  transition: opacity .2s ease-in-out;
  border-radius: 6px;
  clip-path: inset(0 round 6px);
  -webkit-clip-path: inset(0 round 6px);
}

#publications-main-table td[style*="width:35%"] > div.publication-preview-ready:not(.one):not(.two):hover:has(> img + img) > img:first-of-type,
#publications-main-table td[style*="width:35%"] > div.publication-preview-ready:not(.one):not(.two):hover:has(> img + video) > img:first-of-type,
#publications-main-table td[style*="width:35%"] > div.publication-preview-ready:not(.one):not(.two):hover:has(> video + img) > video:first-of-type,
#publications-collab-table td[style*="width:35%"] > div.publication-preview-ready:not(.one):not(.two):hover:has(> img + img) > img:first-of-type,
#publications-collab-table td[style*="width:35%"] > div.publication-preview-ready:not(.one):not(.two):hover:has(> img + video) > img:first-of-type,
#publications-collab-table td[style*="width:35%"] > div.publication-preview-ready:not(.one):not(.two):hover:has(> video + img) > video:first-of-type {
  opacity: 0;
}

#publications-main-table td[style*="width:35%"] > div.publication-preview-ready:not(.one):not(.two):hover > img + img,
#publications-main-table td[style*="width:35%"] > div.publication-preview-ready:not(.one):not(.two):hover > img + video,
#publications-main-table td[style*="width:35%"] > div.publication-preview-ready:not(.one):not(.two):hover > video + img,
#publications-collab-table td[style*="width:35%"] > div.publication-preview-ready:not(.one):not(.two):hover > img + img,
#publications-collab-table td[style*="width:35%"] > div.publication-preview-ready:not(.one):not(.two):hover > img + video,
#publications-collab-table td[style*="width:35%"] > div.publication-preview-ready:not(.one):not(.two):hover > video + img {
  opacity: 1;
}

#publications-main-table .publication-row-compact > td {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

#publications-main-table .publication-row-compact .publication-meta {
  margin: 5px 0 2px;
}

#publications-main-table .publication-row-compact .publication-tag-list {
  gap: 6px;
  margin-top: 2px;
}

.news-toggle-wrap {
  margin: 2px 0 14px;
}

.news-toggle-button {
  border: 1px solid transparent;
  background: transparent;
  padding: 0;
  color: var(--color-link);
  font-size: 12px;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-decoration: none;
}

.news-toggle-button:hover,
.news-toggle-button:focus {
  color: var(--color-link-hover);
  opacity: 1;
  outline: none;
}

/* ===== Global responsive foundations ===== */
img {
  max-width: 100%;
  height: auto;
}

/* Rounded corners for every image / video / GIF inside publication and
   collaboration tables (avoid affecting profile photo, nav icons, etc.). */
#publications-main-table img,
#publications-main-table video,
#publications-collab-table img,
#publications-collab-table video {
  border-radius: 6px;
}

/* Chromium does not clip the painted <video> frame by border-radius alone;
   force the clip via clip-path so the rounded corners are visible. */
#publications-main-table video,
#publications-collab-table video {
  clip-path: inset(0 round 6px);
  -webkit-clip-path: inset(0 round 6px);
  overflow: hidden;
}

table {
  width: 100%;
  table-layout: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media only screen and (max-width: 768px) {
  :root {
    --section-label-width: 92px;
    --section-main-width: 1.2fr;
    --section-side-width: 0.8fr;
    --section-column-gap: 10px;
    --section-row-width: 100%;
  }

  /* Profile section: stack columns */
  td[style*="width:67%"],
  td[style*="width:33%"] {
    width: 100% !important;
    display: block;
  }

  .profile-table > tbody > tr {
    display: flex;
    flex-direction: column;
  }

  .profile-side {
    order: -1;
    text-align: left;
  }

  .profile-main {
    order: 0;
  }

  /* Publication rows: stack image + text columns */
  td[style*="width:35%"],
  td[style*="width:65%"] {
    width: 100% !important;
    display: block;
    padding: 8px 12px !important;
  }

  #publications-main-table,
  #publications-collab-table {
    border-spacing: 0 18px !important;
  }

  #publications-main-table > tbody > tr,
  #publications-collab-table > tbody > tr {
    --publication-media-frame-height: auto;
    --publication-media-frame-padding: 10px;
    --publication-mobile-card-padding: clamp(18px, 5vw, 26px);
    --publication-row-border: rgba(95, 102, 107, 0.18);
    --publication-row-inner: rgba(255, 255, 255, 0.78);
    --publication-row-fill-a: rgba(255, 255, 255, 0.82);
    --publication-row-fill-b: rgba(250, 249, 246, 0.66);
    --publication-row-shadow: rgba(34, 39, 45, 0.055);
  }

  #publications-main-table > tbody > tr > td:first-child,
  #publications-collab-table > tbody > tr > td:first-child {
    border-right: 1px solid var(--publication-row-border);
    border-bottom: 0;
    border-radius: 24px 24px 0 0;
    padding: 18px var(--publication-mobile-card-padding) 8px !important;
  }

  #publications-main-table > tbody > tr > td:last-child,
  #publications-collab-table > tbody > tr > td:last-child {
    border-left: 1px solid var(--publication-row-border);
    border-top: 0;
    border-radius: 0 0 24px 24px;
    padding: 10px var(--publication-mobile-card-padding) 18px !important;
  }

  #publications-main-table td[style*="width:35%"] .image-container,
  #publications-main-table td[style*="width:35%"] .media-container,
  #publications-main-table td[style*="width:35%"] .one,
  #publications-main-table td[style*="width:35%"] .two,
  #publications-main-table td[style*="width:35%"] > div,
  #publications-collab-table td[style*="width:35%"] .image-container,
  #publications-collab-table td[style*="width:35%"] .media-container,
  #publications-collab-table td[style*="width:35%"] .one,
  #publications-collab-table td[style*="width:35%"] .two,
  #publications-collab-table td[style*="width:35%"] > div {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  #publications-main-table td[style*="width:35%"] > div:not(.two),
  #publications-collab-table td[style*="width:35%"] > div:not(.two) {
    height: auto;
    min-height: 0;
  }

  td[style*="width:35%"] .two {
    left: 50% !important;
    width: 100% !important;
    transform: translateX(-50%);
  }

  #publications-main-table td[style*="width:35%"] > .two,
  #publications-collab-table td[style*="width:35%"] > .two {
    left: 50% !important;
    width: 100% !important;
    height: auto !important;
    transform: translateX(-50%);
  }

  #publications-main-table papertitle,
  #publications-collab-table papertitle {
    font-size: 15px;
    line-height: 1.3;
  }

  #publications-main-table #author,
  #publications-collab-table #author {
    font-size: 12px;
    line-height: 1.45;
  }

  #publications-main-table .publication-meta,
  #publications-collab-table .publication-meta {
    font-size: 12px;
    margin: 8px 0 7px;
  }

  #publications-main-table p,
  #publications-collab-table p {
    font-size: 12px;
    line-height: 1.52;
  }

  #publications-main-table .publication-tag,
  #publications-collab-table .publication-tag {
    font-size: 9px;
    line-height: 1.1;
    padding: 2px 8px;
  }

  td[style*="width:35%"] .image-container img,
  td[style*="width:35%"] .image-container video,
  td[style*="width:35%"] .media-container img,
  td[style*="width:35%"] .media-container video,
  td[style*="width:35%"] .one img,
  td[style*="width:35%"] .two img,
  td[style*="width:35%"] .two video,
  td[style*="width:35%"] > div img,
  td[style*="width:35%"] > div video {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
  }

  td img {
    display: block;
    margin: 0 auto;
  }

  .content {
    padding-top: 98px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .anchor {
    scroll-margin-top: 98px;
  }

  .content > table {
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding: 0;
  }

  .content > table > tbody > tr > td {
    padding-left: 0;
    padding-right: 0;
  }

  .profile-main,
  .profile-side {
    padding: 12px 16px !important;
    box-sizing: border-box;
  }

  .profile-side {
    padding-top: 12px !important;
    padding-bottom: 4px !important;
  }

  .profile-main {
    padding-top: 8px !important;
  }

  .profile-name-wrap {
    margin-bottom: 10px;
    text-align: left;
  }

  .profile-links {
    text-align: left;
  }

  name {
    font-size: 29px;
  }

  jobtitle {
    font-size: 13px;
    line-height: 1.45;
  }

  .profile-summary,
  .profile-callout {
    max-width: none;
    font-size: 13px;
    line-height: 1.55;
  }

  .profile-photo {
    width: min(58vw, 180px);
    max-width: 180px;
    margin: 0;
    border-radius: 16px;
  }

  /* Talks / Services / Awards lists: better spacing for touch */
  li {
    padding: 4px 0;
    line-height: 1.6;
  }

  .award-subline {
    font-size: 11px;
  }

  .news-list li {
    grid-template-columns: 84px minmax(0, 1fr);
    column-gap: var(--section-column-gap);
    padding: 1px 0;
    font-size: 12px;
    line-height: 1.5;
  }

  .news-item-content {
    overflow-wrap: break-word;
  }

  .talks-list {
    gap: 6px;
    margin-top: 4px;
  }

  .service-list,
  .funding-list,
  .award-list {
    gap: 6px;
    margin-top: 4px;
  }

  .talk-row,
  .service-row,
  .funding-row,
  .award-row {
    grid-template-columns: 1fr;
    row-gap: 6px;
    align-items: start;
  }

  .talk-date,
  .funding-date,
  .award-date,
  .service-category,
  .talk-title,
  .talk-venue,
  .award-title,
  .award-source,
  .award-source-main,
  .service-head,
  .service-detail {
    font-size: 13px;
    line-height: 1.45;
  }

  .funding-date,
  .award-date {
    white-space: nowrap;
  }

  .service-category {
    white-space: normal;
  }

  .award-title-detail,
  .award-source-detail {
    font-size: 11px;
    line-height: 1.45;
  }

  /* Profile links: bigger touch targets */
  .profile-links a {
    display: inline-block;
    padding: 6px 8px;
  }

  .profile-links a:first-child {
    padding-left: 0;
  }

  /* Publication tags wrap on small screens */
  .publication-tag-list {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
  }
}

@media (max-width: 768px) {
  nav {
    justify-content: flex-start;
    padding: 10px 16px;
    min-height: 56px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
  }

  .nav-toggle-line {
    display: block;
    width: 17px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    transition: transform .18s ease-in-out, opacity .18s ease-in-out;
  }

  .site-nav.is-open .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-nav.is-open .nav-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .site-nav.is-open .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--color-nav);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 26px rgba(16, 24, 40, 0.16);
    transition: max-height .22s ease-in-out;
  }

  .site-nav.is-open .nav-links {
    max-height: 320px;
  }

  nav a {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.08em;
    padding: 13px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .content {
    padding-top: 72px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .anchor {
    scroll-margin-top: 72px;
  }

  heading {
    font-size: 20px;
  }

  papertitle {
    font-size: 14px;
  }

  #author {
    font-size: inherit;
  }

  .publication-filter-bar {
    gap: 6px;
  }

  .publication-filter-row {
    gap: 6px;
  }

  .publication-filter-option {
    font-size: 11px;
    padding: 4px 10px;
  }

  /* News date spans: slightly smaller */
  .news-list li span[style*="color: gray"] {
    font-size: 12px;
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
  }

  .content > table {
    padding: 0;
  }

  .profile-side {
    padding-top: 0 !important;
  }

  .profile-photo {
    width: min(56vw, 164px);
    max-width: 164px;
    margin-top: 4px;
  }
}

/* Quiet matte theme. Keep layout and interaction overrides together. */
nav {
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(40, 51, 66, .025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
nav a { color: var(--color-muted); font-weight: 600; letter-spacing: .04em; }
nav a:hover, nav a:focus { color: var(--color-link-hover); }
a:focus-visible, button:focus-visible, .publication-filter-option:focus-within {
  outline: 2px solid var(--color-link);
  outline-offset: 4px;
}
.content { padding-bottom: 56px; }
heading { color: var(--color-text); font-size: 25px; letter-spacing: -.025em; }
.content > table > tbody > tr > td > table:not(.profile-table):not(#publications-main-table):not(#publications-collab-table) {
  margin-top: 36px !important;
  margin-bottom: 12px;
}
.anchor { margin-left: 0; }
name { color: var(--color-text); letter-spacing: -.035em; font-size: 36px; line-height: 1.2; }
.profile-name-wrap, .profile-links { text-align: left; }
.profile-main { font-size: 16px; line-height: 1.7; }
jobtitle { font-size: 15px; line-height: 1.7; color: var(--color-muted); }
.profile-photo { border-radius: 16px; box-shadow: 0 12px 32px rgba(40, 51, 66, .08); }
.profile-callout {
  background: #eef1f7;
  border-left: 3px solid #a6b2cd;
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  margin-top: 18px;
}
.profile-links a { display: inline-block; padding-block: 8px; }
.news-list {
  padding: 6px 14px;
  background: #fcfcfe;
  border: 1px solid #e3e5ed;
  border-radius: 12px;
}
.news-list li {
  grid-template-columns: 88px minmax(0, 1fr);
  column-gap: 14px;
  margin: 0;
  padding: 5px 0;
  font-size: 15px;
  line-height: 1.5;
}
.news-list li + li { border-top: 1px dashed #d2d4df; }
.news-list li > span:first-child {
  color: #8583aa !important;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding-top: 2px;
}
.news-toggle-button { min-height: 44px; font-size: 14px; }
.talks-list, .service-list, .funding-list, .award-list { gap: 0; margin: 4px 0 10px; }
.content > table > tbody > tr > td > table:not(.profile-table):not(#publications-main-table):not(#publications-collab-table):has(> tbody > tr > td > :is(#talks, #awards, #fundings, #services)) {
  margin-top: 20px !important;
  margin-bottom: 4px;
}
.talk-row, .service-row, .funding-row, .award-row {
  padding: 5px 12px;
  border-radius: 0;
  border-top: 1px solid var(--color-border);
  row-gap: 2px;
}
.talk-row:nth-child(even), .service-row:nth-child(even),
.funding-row:nth-child(even), .award-row:nth-child(even) { background: transparent; }
.talk-row:hover, .service-row:hover, .funding-row:hover, .award-row:hover { background: #f0f3f8; }
.talk-date, .funding-date, .award-date, .service-category {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--color-link);
}
.talk-title, .award-title, .service-head {
  grid-column: 2;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
  overflow-wrap: anywhere;
  min-width: 0;
}
.talk-venue, .award-source, .service-detail {
  grid-column: 2;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.65;
  min-width: 0;
  overflow-wrap: anywhere;
}
.award-source-main { color: var(--color-muted); font-size: 14px; line-height: 1.65; }
.award-title-detail, .award-source-detail { color: var(--color-muted); font-size: 14px; line-height: 1.65; font-weight: 400; }
.service-head { padding-left: 0; }
.service-head::before { content: none; }
.service-row-cont { border-top: 0; padding-top: 0; }
.inspiration-note { max-width: 100%; color: var(--color-muted); }
.publication-filter-row { flex-wrap: wrap; }
.publication-filter-option {
  font-family: var(--font-sans);
  font-size: 13px;
  min-height: 40px;
  box-sizing: border-box;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-muted);
  box-shadow: none;
  letter-spacing: 0;
  line-height: 1.4;
  border-radius: 999px;
}
.publication-filter-option:hover, .publication-filter-option:focus-within {
  background: #eef1f7; color: var(--color-link-hover); border-color: #a6b2cd;
  box-shadow: none; transform: none;
}
.publication-filter-option.is-active, .publication-filter-option:has(.publication-filter-checkbox:checked) {
  background: #e9e6fc; border-color: #aca3da; color: #554a8b; box-shadow: none;
}
.publication-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--font-sans); font-weight: 500; font-size: 10px; line-height: 1.4;
  background: #f2f1fc; color: #69659a; border: 0; box-shadow: none;
}
.publication-tag::before {
  content: "";
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttp%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%222%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttp%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%222%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
.publication-tag-list { flex-wrap: wrap; gap: 6px; max-width: 100%; }
.publication-venue { color: var(--color-link); }
.publication-links { gap: 6px; align-items: center; }
.publication-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 25px;
  box-sizing: border-box;
  padding: 3px 8px;
  border-radius: 7px;
  background: #a69bea;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.4;
  text-decoration: none;
  transition: background .18s ease;
}
.publication-links a::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttp%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%2013a5%205%200%200%200%207%20.1l3-3a5%205%200%200%200-7-7l-1.7%201.7M14%2011a5%205%200%200%200-7-.1l-3%203a5%205%200%200%200%207%207l1.7-1.7%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttp%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%2013a5%205%200%200%200%207%20.1l3-3a5%205%200%200%200-7-7l-1.7%201.7M14%2011a5%205%200%200%200-7-.1l-3%203a5%205%200%200%200%207%207l1.7-1.7%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
.publication-links a[href*="arxiv.org"]::before,
.publication-links a[href$=".pdf"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttp%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203H6a1%201%200%200%200-1%201v16a1%201%200%200%200%201%201h12a1%201%200%200%200%201-1V8zM14%203v5h5M9%2012h6M9%2016h6%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttp%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203H6a1%201%200%200%200-1%201v16a1%201%200%200%200%201%201h12a1%201%200%200%200%201-1V8zM14%203v5h5M9%2012h6M9%2016h6%22%2F%3E%3C%2Fsvg%3E");
}
.publication-links a[href*="github.com"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttp%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%20.75a11.25%2011.25%200%200%200-3.56%2021.92c.56.1.77-.24.77-.54v-2.1c-3.13.68-3.79-1.33-3.79-1.33-.51-1.3-1.25-1.65-1.25-1.65-1.02-.7.08-.69.08-.69%201.13.08%201.72%201.16%201.72%201.16%201%201.72%202.64%201.22%203.28.93.1-.73.39-1.22.71-1.5-2.5-.29-5.13-1.25-5.13-5.56%200-1.23.44-2.23%201.16-3.02-.12-.28-.5-1.43.11-2.98%200%200%20.95-.3%203.1%201.15a10.8%2010.8%200%200%201%205.64%200c2.15-1.45%203.1-1.15%203.1-1.15.61%201.55.23%202.7.11%202.98.72.79%201.16%201.79%201.16%203.02%200%204.32-2.63%205.27-5.14%205.55.4.35.76%201.04.76%202.1v3.09c0%20.3.2.65.78.54A11.25%2011.25%200%200%200%2012%20.75Z%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttp%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%20.75a11.25%2011.25%200%200%200-3.56%2021.92c.56.1.77-.24.77-.54v-2.1c-3.13.68-3.79-1.33-3.79-1.33-.51-1.3-1.25-1.65-1.25-1.65-1.02-.7.08-.69.08-.69%201.13.08%201.72%201.16%201.72%201.16%201%201.72%202.64%201.22%203.28.93.1-.73.39-1.22.71-1.5-2.5-.29-5.13-1.25-5.13-5.56%200-1.23.44-2.23%201.16-3.02-.12-.28-.5-1.43.11-2.98%200%200%20.95-.3%203.1%201.15a10.8%2010.8%200%200%201%205.64%200c2.15-1.45%203.1-1.15%203.1-1.15.61%201.55.23%202.7.11%202.98.72.79%201.16%201.79%201.16%203.02%200%204.32-2.63%205.27-5.14%205.55.4.35.76%201.04.76%202.1v3.09c0%20.3.2.65.78.54A11.25%2011.25%200%200%200%2012%20.75Z%22%2F%3E%3C%2Fsvg%3E");
}
.publication-links a::after { content: none; }
.publication-links a:hover, .publication-links a:focus { background: #9386d7; color: #fff; }
.publication-meta { font-style: normal; font-weight: 500; }
papertitle { color: var(--color-text); font-size: 18px; line-height: 1.45; }
#author, #author a { color: var(--color-muted); line-height: 1.6; }
:is(#publications-main-table, #publications-collab-table) > tbody > tr > td {
  background: #fff; border-color: var(--color-border); box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
:is(#publications-main-table, #publications-collab-table) > tbody > tr > td:first-child {
  border-radius: 14px 0 0 14px;
  background:
    radial-gradient(ellipse at 85% 12%, rgba(245, 242, 231, .4), transparent 65%),
    radial-gradient(ellipse at 12% 88%, rgba(230, 234, 243, .45), transparent 70%),
    linear-gradient(135deg, #f0eff4 0%, #f6f5f7 48%, #f0f3f5 100%);
}
:is(#publications-main-table, #publications-collab-table) > tbody > tr > td:last-child { border-radius: 0 14px 14px 0; padding: 20px 20px 20px 10px !important; }
:is(#publications-main-table, #publications-collab-table) td[style*="width:35%"] > :is(div:not(.two), .two) {
  background: transparent;
  border: 0; border-radius: 0; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none; will-change: auto;
}
:is(#publications-main-table, #publications-collab-table) td[style*="width:35%"] > :is(div:not(.two), .two)::before,
:is(#publications-main-table, #publications-collab-table) td[style*="width:35%"] > :is(div:not(.two), .two)::after { content: none; }
:is(#publications-main-table, #publications-collab-table) > tbody > tr:hover td[style*="width:35%"] > div:not(.two),
:is(#publications-main-table, #publications-collab-table) > tbody > tr.publication-title-active td[style*="width:35%"] > div:not(.two),
:is(#publications-main-table, #publications-collab-table) > tbody > tr:has(td[style*="width:65%"]:focus-within) td[style*="width:35%"] > div:not(.two) {
  transform: none; box-shadow: none;
}
.publication-gallery-item { border-radius: 6px; }

@media (max-width: 768px) {
  .content { padding: 80px 18px 40px; }
  .content > table, .profile-table { table-layout: fixed; }
  .profile-main, .profile-side { padding-left: 0 !important; padding-right: 0 !important; }
  .profile-photo { width: 128px; max-width: 128px; margin-bottom: 16px; }
  name { font-size: clamp(28px, 7vw, 34px); }
  jobtitle { font-size: 14px; line-height: 1.7; }
  .profile-summary, .profile-callout { font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
  heading { font-size: 24px; }
  .nav-toggle { width: 44px; height: 44px; border-color: var(--color-border); background: #fff; }
  .nav-toggle-line { background: var(--color-link); }
  .nav-links { border-color: var(--color-border); box-shadow: 0 12px 24px rgba(40,51,66,.04); }
  nav a { font-size: 13px; border-color: var(--color-border); }
  .talk-date, .funding-date, .award-date, .service-category { grid-column: 1; grid-row: auto; font-size: 14px; }
  .talk-title, .award-title, .service-head { grid-column: 1; font-size: 16px; line-height: 1.65; }
  .talk-venue, .award-source, .service-detail { grid-column: 1; font-size: 14px; line-height: 1.65; }
  .talk-row, .funding-row, .award-row, .service-row { padding: 5px 0; }
  .service-category-empty { display: none; }
  .service-row-cont { padding-top: 0; }
  .news-list { padding: 5px 10px; }
  .news-list li { grid-template-columns: 76px minmax(0, 1fr); column-gap: 8px; font-size: 14px; padding: 5px 0; }
  .news-list li span[style*="color: gray"] { font-family: var(--font-sans); font-size: 12px; }
  .publication-filter-option { min-height: 44px; font-size: 13px; padding: 7px 12px; }
  .publication-heading-row { gap: 18px; }
  .scholar-summary { font-size: 14px; }
  :is(#publications-main-table, #publications-collab-table) { display: block; }
  :is(#publications-main-table, #publications-collab-table) > tbody { display: block; }
  :is(#publications-main-table, #publications-collab-table) > tbody > tr { display: block; margin-bottom: 18px; }
  :is(#publications-main-table, #publications-collab-table) > tbody > tr > td:first-child {
    border-radius: 14px 14px 0 0; padding: 14px 14px 4px !important;
  }
  :is(#publications-main-table, #publications-collab-table) > tbody > tr > td:last-child {
    border-radius: 0 0 14px 14px; padding: 14px 16px 18px !important;
    overflow-wrap: anywhere;
  }
  :is(#publications-main-table, #publications-collab-table) papertitle { font-size: 17px; line-height: 1.5; }
  :is(#publications-main-table, #publications-collab-table) #author { font-size: 14px; line-height: 1.65; }
  :is(#publications-main-table, #publications-collab-table) p { font-size: 15px; line-height: 1.7; }
  :is(#publications-main-table, #publications-collab-table) .publication-meta { font-size: 14px; line-height: 1.6; }
  :is(#publications-main-table, #publications-collab-table) .publication-tag { font-size: 10px; line-height: 1.5; padding: 2px 8px; }
  .publication-links { gap: 8px; }
  .publication-links a { min-height: 28px; padding: 4px 9px; line-height: 1.4; }
  .inspiration-note { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Compact desktop copy reduces empty space around wide paper figures.
   Stacked mobile cards retain the larger reading sizes above. */
@media (min-width: 769px) {
  :is(#publications-main-table, #publications-collab-table) > tbody > tr > td:last-child {
    padding: 14px 18px 14px 10px !important;
  }
  :is(#publications-main-table, #publications-collab-table) papertitle {
    font-size: 17px;
    line-height: 1.35;
  }
  :is(#publications-main-table, #publications-collab-table) #author,
  :is(#publications-main-table, #publications-collab-table) #author a {
    font-size: 14px;
    line-height: 1.4;
  }
  :is(#publications-main-table, #publications-collab-table) p {
    font-size: 14px;
    line-height: 1.5;
    margin: 6px 0 0;
  }
}

/* Trim the thin right-edge artifact in the ChronoFlow animation only. */
#publications-main-table #ChronoFlowPolicy_interaction {
  clip-path: inset(0 2% 0 0 round 6px);
  -webkit-clip-path: inset(0 2% 0 0 round 6px);
}

/* Only the cover determines media height. Interaction media are overlays,
   so loading or revealing a taller GIF/video cannot expand the card. */
:is(#publications-main-table, #publications-collab-table) td[style*="width:35%"] {
  padding: 14px !important;
}
:is(#publications-main-table, #publications-collab-table) td[style*="width:35%"] > div:not(.two) {
  --publication-media-frame-padding: 0px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  height: auto;
  min-height: 0;
  padding: 0;
  /* Override legacy hover selectors that otherwise restore glass edges. */
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  overflow: hidden;
}
:is(#publications-main-table, #publications-collab-table) td[style*="width:35%"] > div:not(.two) > :is(img, video) {
  grid-area: 1 / 1;
  align-self: center;
  min-width: 0;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
  transition: transform .2s ease, opacity .2s ease;
}
:is(#publications-main-table, #publications-collab-table) td[style*="width:35%"] > div:not(.two) > :is(img, video) + :is(img, video) {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(#publications-main-table, #publications-collab-table) > tbody > tr:hover td[style*="width:35%"] > div:not(.two) > :is(img, video) {
    transform: scale(1.025);
  }
}
@media (max-width: 768px) {
  :is(#publications-main-table, #publications-collab-table) > tbody > tr > td:first-child {
    padding: 16px !important;
  }
}

/* Small category pills follow the title and wrap with it when needed. */
:is(#publications-main-table, #publications-collab-table) papertitle > .publication-tag-list {
  position: static;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5px;
  margin: 0 0 0 8px;
  vertical-align: middle;
  text-align: left;
}
:is(#publications-main-table, #publications-collab-table) papertitle > .publication-tag-list .publication-tag {
  border: 1px solid rgba(105, 101, 154, .22);
  background: rgba(255, 255, 255, .35);
  padding: 2px 8px;
  font-size: 10px;
  line-height: 1.4;
  max-width: 100%;
  box-sizing: border-box;
}
