/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

a {
  color: #1772d0;
  text-decoration: none;
  transition: color .15s ease;
}

a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

body {
  color: #222;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}

td,
th,
tr,
p,
a,
strong {
  font-family: inherit;
  font-size: inherit;
}

p,
li {
  text-wrap: pretty;
}

a:focus-visible {
  border-radius: 2px;
  outline: 2px solid #1772d0;
  outline-offset: 2px;
}

hr {
  margin: 8px 0 14px;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

h2,
heading {
  color: #202124;
  letter-spacing: -0.01em;
}

heading {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 23px;
}

papertitle {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}

.paper-authors a,
.paper-authors strong,
.paper-authors .author-name {
  white-space: nowrap;
}

.paper-note {
  display: inline-block;
  margin: 3px 0 1px 12px;
  padding-left: 10px;
  border-left: 2px solid #d8d8d8;
  color: #555;
  font-size: 13.5px;
  line-height: 1.35;
}

.award {
  color: #d30000;
}

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

subname {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 26px;
}

.one {
  width: 160px;
  height: 100px;
  position: relative;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
}

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

.publication-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.publication-tab {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 5px 9px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #1772d0;
  cursor: pointer;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 13.5px;
  line-height: 1.3;
  text-align: left;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}

.publication-tab:hover,
.publication-tab:focus-visible {
  color: #f09228;
}

.publication-tab:focus-visible {
  border-radius: 3px;
  outline: 2px solid #1772d0;
  outline-offset: 2px;
}

.publication-tab.is-active {
  border-color: #111827;
  color: #111827;
  font-weight: 700;
}

.publication-list {
  scroll-margin-top: 12px;
}

.publication-topic-row td {
  padding: 26px 20px 8px 20px;
}

.publication-topic-heading {
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
}

.publication-topic-heading h3 {
  margin: 0;
  color: #111827;
  font-size: 19px;
  line-height: 1.25;
}

.publication-topic-heading p {
  max-width: 600px;
  margin: 5px 0 0 0;
  color: #536271;
  font-size: 13.5px;
  line-height: 1.45;
}

.publication-list > tbody > tr:not(.publication-topic-row) {
  transition: background-color .15s ease, box-shadow .15s ease;
}

.publication-list tr[hidden] {
  display: none !important;
}

.publication-list > tbody > tr:not(.publication-topic-row):hover td {
  background-color: #f8fafc;
}

.publication-list > tbody > tr:not(.publication-topic-row) td:first-child {
  border-radius: 8px 0 0 8px;
}

.publication-list > tbody > tr:not(.publication-topic-row) td:last-child {
  border-radius: 0 8px 8px 0;
}

.publication-list .one {
  width: 160px;
  height: 100px;
  overflow: hidden;
  background: transparent;
}

.publication-list .one img {
  width: 100% !important;
  height: 100% !important;
  object-fit: fill;
  object-position: center;
}

.publication-list .one img.thumb-left {
  object-position: left center;
}

.publication-list .one img.thumb-crop {
  object-fit: cover;
  object-position: center;
}

#news-section li + li {
  margin-top: 6px;
}

.site-credit {
  margin: 12px 0 18px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}

.site-credit a {
  color: #536271;
}

.site-credit a:hover,
.site-credit a:focus-visible {
  color: #1772d0;
}

/* Logo section responsive styling — grid keeps column width equal regardless of label length */
.logo-container {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  justify-items: stretch;
  column-gap: 14px;
  row-gap: 10px;
  padding: 10px 0;
  width: 58%;
  margin: 0 auto;
}

.logo-cell > a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  width: 100%;
}

.logo-container img {
  max-width: 55px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.logo-cell {
  text-align: center;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.logo-tenure {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #000;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  white-space: nowrap;
}

.logo-tenure-sep {
  display: inline-block;
  margin: 0 0.15em;
  color: #000;
  font-weight: 500;
}

.logo-tenure-present {
  color: #000;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-style: italic;
}

/* Individual logo scaling based on original percentages (5% = base/default) */
.logo-amazon img { max-width: 50px; }
.logo-deepmind img { max-width: 50px; } /* 4.2% / 5% = 0.84 */
.logo-ai2 img { max-width: 55px; }      /* 6% / 5% = 1.2 */
.logo-ut img { max-width: 52px; }       /* 5% / 5% = 1.0 (base) */
.logo-ri img { max-width: 41px; }       /* 3.7% / 5% = 0.74 */
.logo-cu img { max-width: 55px; }       /* 5% / 5% = 1.0 (base) */

/* Individual logo padding control */
.logo-amazon { padding: 0; }
.logo-deepmind { padding: 0; }
.logo-ai2 { padding: 0; }  /* Reduced from 7px */
.logo-ut { padding: 0; }
.logo-ri { padding: 0; }
.logo-cu { padding: 0; }

/* Responsive adjustments — below 901px six columns get too narrow for nowrap labels */
@media (max-width: 900px) {
  .logo-container {
    width: 95%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 10px;
    row-gap: 12px;
  }

  .logo-cell > a {
    height: 46px;
  }

  .logo-container img {
    max-width: 48px;
    max-height: 42px;
  }

  .logo-amazon img { max-width: 42px; }
  .logo-deepmind img { max-width: 42px; }
  .logo-ai2 img { max-width: 54px; }
  .logo-ut img { max-width: 48px; }
  .logo-ri img { max-width: 36px; }
  .logo-cu img { max-width: 48px; }
}

@media (max-width: 600px) {
  .logo-container {
    column-gap: 8px;
  }

  .logo-cell > a {
    height: 40px;
  }

  .logo-container img {
    max-width: 42px;
    max-height: 36px;
  }

  .logo-amazon img { max-width: 34px; }
  .logo-deepmind img { max-width: 34px; }
  .logo-ai2 img { max-width: 48px; }
  .logo-ut img { max-width: 40px; }
  .logo-ri img { max-width: 30px; }
  .logo-cu img { max-width: 40px; }

  .logo-tenure {
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0;
  }

  .publication-topic-heading p {
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    font-size: 14px;
  }

  .social-links a {
    white-space: nowrap;
  }

  .social-separator {
    display: none;
  }
}

@media (max-width: 520px) {
  body {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.5;
  }

  table,
  tbody,
  tr,
  td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  table {
    table-layout: fixed;
  }

  td,
  p,
  li,
  a {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body > table {
    width: 100% !important;
    max-width: 100% !important;
  }

  .intro-row {
    display: flex !important;
    flex-direction: column;
  }

  .intro-photo {
    order: -1;
    padding: 24px 20px 0 !important;
  }

  .intro-photo img[alt="profile photo"] {
    width: 140px !important;
    height: 140px !important;
    margin: 0 auto;
  }

  .intro-bio {
    padding: 0 20px 12px !important;
  }

  .intro-bio > p:first-child {
    margin: 8px 0 14px;
  }

  .intro-bio > p:nth-child(2) {
    margin: 0 0 14px;
  }

  .intro-bio > p:last-child {
    margin: 0;
  }

  .intro-bio name {
    font-size: 30px;
  }

  .intro-bio subname {
    font-size: 22px;
  }

  .logo-container {
    width: calc(100% - 40px);
  }

  #news-section ul {
    margin: 8px 0 0;
    padding-left: 22px;
  }

  .publication-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .publication-tab {
    justify-content: center;
    min-height: 48px;
    padding: 8px;
    border: 1px solid #dce3ea;
    border-radius: 8px;
    background: #f8fafc;
    text-align: center;
  }

  .publication-tab.is-active {
    border-color: #1772d0;
    background: #eaf3fc;
    color: #125ca8;
  }

  .publication-list,
  .publication-list tbody,
  .publication-list tr,
  .publication-list td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  .publication-list > tbody > tr:not(.publication-topic-row) {
    width: calc(100% - 32px) !important;
    margin: 0 16px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(17, 24, 39, .05);
  }

  .publication-list > tbody > tr:not(.publication-topic-row) td {
    background: transparent !important;
  }

  .publication-list > tbody > tr:not(.publication-topic-row) td:first-child {
    padding: 16px 16px 4px !important;
  }

  .publication-list > tbody > tr:not(.publication-topic-row) td:last-child {
    padding: 8px 16px 16px !important;
  }

  .publication-list > tbody > tr:not(.publication-topic-row) td:first-child,
  .publication-list > tbody > tr:not(.publication-topic-row) td:last-child {
    border-radius: 0;
  }

  .publication-list .one {
    width: min(280px, 100%);
    height: 158px;
    margin: 0 auto;
  }

  .publication-list .one img {
    object-fit: contain;
  }

  .publication-list papertitle {
    font-size: 16px;
  }

  .publication-list .paper-note {
    margin-left: 0;
  }

  .publication-topic-row td {
    padding: 18px 20px 12px 20px !important;
  }
}

@media (max-width: 350px) {
  .social-links {
    max-width: 260px;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}
