body {
  font-family: 'Google Sans', 'Noto Sans', 'Castoro', sans-serif;
}

.publication-title {
  font-family: 'Google Sans', 'Noto Sans', 'Castoro', sans-serif;
  line-height: 1.2;
  margin-bottom: 1.5rem !important;
}

.publication-authors {
  margin-bottom: 0.25rem;
}

.publication-authors .author-block {
  display: inline-block;
  margin: 0 0.25rem;
}

.publication-authors a {
  color: #1a1a1a;
  text-decoration: underline;
}

.publication-affiliations {
  margin-bottom: 1.5rem;
  color: #555;
}

.publication-venue {
  margin-top: 0.75rem;
}

.venue-badge {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  border: 1.5px solid #1a1a1a;
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
}

.publication-links {
  margin-top: 1.5rem;
}

.publication-links .link-block {
  display: inline-block;
  margin: 0.25rem 0.25rem;
}

.publication-links .button {
  background: #1a1a1a;
  color: #fff;
}

.publication-links .button:hover {
  background: #333;
  color: #fff;
}

.publication-links .button.is-coming-soon {
  background: #5a5a5a;
  cursor: not-allowed;
  opacity: 0.85;
}

.publication-links .button.is-coming-soon:hover {
  background: #5a5a5a;
}

.coming-soon-tag {
  font-size: 0.78em;
  opacity: 0.75;
  margin-left: 0.15em;
  font-weight: normal;
}

.teaser {
  margin: 0 auto;
  text-align: center;
}

.teaser img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.teaser figcaption,
.figure-large figcaption {
  text-align: justify;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
  margin-top: 0.35rem;
}

.figure-large {
  margin: 2rem 0 4rem 0;
  text-align: center;
}

.figure-large + .figure-large {
  margin-top: 4rem;
}

.figure-large figcaption {
  margin-bottom: 0.5rem;
}

.figure-large img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

.table-wrap {
  margin: 1.5rem auto 0 auto;
  max-width: 720px;
}

.table-scroll {
  margin: 1.5rem auto 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.quant-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  border: 1px solid #1a1a1a;
}

.quant-table th,
.quant-table td {
  padding: 0.6rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid #b8b8b8;
  border-right: 1px solid #d8d8d8;
}

.quant-table th:last-child,
.quant-table td:last-child {
  border-right: none;
}

.quant-table tbody tr:last-child td {
  border-bottom: none;
}

.quant-table th {
  font-weight: 600;
  border-bottom: 2px solid #1a1a1a;
  background: #f0f0f3;
}

.quant-table td:last-child,
.quant-table th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.quant-table tr.upper-bound {
  background: #f5f5fa;
  font-style: italic;
  color: #444;
  border-top: 2px solid #1a1a1a;
}

.quant-table tr.upper-bound td {
  border-top: 2px solid #1a1a1a;
}

.quant-table-full {
  min-width: 760px;
  font-size: 0.88rem;
}

.quant-table-full th,
.quant-table-full td {
  padding: 0.4rem 0.6rem;
}

.quant-table-full thead th {
  text-align: center;
  border-bottom: 1px solid #cfcfcf;
}

.quant-table-full thead tr:last-child th {
  border-bottom: 2px solid #1a1a1a;
  font-weight: 500;
  font-size: 0.82rem;
  color: #333;
}

.quant-table-full th.group-head {
  background: #f2f2f5;
  border-bottom: 1px solid #cfcfcf;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.quant-table-full tbody td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.quant-table-full tbody td:first-child {
  text-align: left;
  font-weight: 500;
  white-space: nowrap;
}

.quant-table-full tr.family-row td {
  background: #fafafa;
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid #1a1a1a;
  padding-top: 0.55rem;
  padding-bottom: 0.4rem;
  color: #1a1a1a;
}

.quant-table-full td.best {
  font-weight: 700;
  color: #0a0a0a;
}

.quant-table-full td.second {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.underline-demo {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.table-note {
  font-size: 0.82rem;
  color: #666;
  margin-top: 0.6rem;
  text-align: center;
}

.limitations-header {
  margin-top: 2.5rem !important;
  color: #6b3a3a;
}

pre.bibtex {
  background: #f5f5f5;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.5;
}

pre.bibtex code {
  background: transparent;
  padding: 0;
  color: #1a1a1a;
}

.footer {
  padding: 2rem 1.5rem;
  background: #fafafa;
}
