/* Light-touch page polish */
.layout--single.wide .page {
  float: none;
  width: 100%;
  padding-inline: 1.5rem;
}

@media (min-width: 64em) {
  .layout--single.wide .page {
    padding-inline: 8rem;
  }
}

body,
.initial-content,
.page,
.page__content {
  background: #ffffff;
}

.masthead {
  display: none;
}

.page__content {
  max-width: 900px;
  margin-inline: auto;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.5;
  color: #262626;
}

.page__title {
  max-width: 980px;
  margin: 3rem auto 0.65rem;
  text-align: center;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.12;
  color: #111827;
}

.page__content p,
.page__content li {
  margin-bottom: 0.72rem;
}

.page__content hr {
  margin: 1.55rem 0 1.15rem;
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.09);
}

.page__content .tldr-box {
  margin: 1rem auto 1.15rem;
  padding: 0.65rem 0.85rem;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  border-left: 3px solid #0b7fd1;
  background: #f8fafc;
  color: #0f172a;
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.82rem !important;
  line-height: 1.38;
  font-style: italic;
  font-weight: 400;
}

.page__content .home-heading {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  height: 2.15rem;
  margin: 0;
  padding-left: max(1.5rem, calc((100vw - 980px) / 2));
  box-sizing: border-box;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.94);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.page__content .home-heading a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.16);
  color: #64748b;
  text-decoration: none;
  background: transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.page__content .home-heading a:hover {
  color: #334155;
  border-color: rgba(15, 23, 42, 0.34);
}

.page__content .home-heading a:focus-visible {
  outline: 2px solid rgba(15, 23, 42, 0.24);
  outline-offset: 2px;
}

.lead-italic {
  margin: 1.35rem 0 0.48rem;
  padding-left: 0.55rem;
  border-left: 3px solid #111827;
  font-size: 0.98rem !important;
  line-height: 1.3;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #0f172a;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0.65rem 0 1.25rem;
}

.button-row .btn {
  margin: 0;
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: none;
  text-decoration: none !important;
}

.button-row a.btn.btn--arxiv {
  background-color: #b31b1b !important;
  color: #ffffff !important;
}

.button-row a.btn.btn--alpha {
  background-color: #ff8080 !important;
  color: #ffffff !important;
}

.button-row a.btn.btn--openreview {
  background-color: #0b7fd1 !important;
  color: #ffffff !important;
}

.author-row {
  margin: 0 0 0.3rem;
  text-align: center;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.4;
}

.affiliation-row {
  margin: 0 0 1rem;
  text-align: center;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #475569;
  font-size: 0.74rem;
  line-height: 1.3;
}

.author-link {
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: #0f172a;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.3);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.author-link:hover {
  color: #0b7fd1;
  border-color: rgba(11, 127, 209, 0.6);
}

.button-row .btn:hover {
  filter: brightness(0.98);
}

.button-row .btn:focus-visible {
  outline: 2px solid rgba(15, 23, 42, 0.35);
  outline-offset: 2px;
}

.page__content img {
  display: block;
  margin-inline: auto;
}

.feature-figure {
  margin-top: 0.25rem;
  margin-bottom: 0.3rem;
}

.feature-figure.figure--narrow {
  max-width: min(100%, 650px);
}

.page__content p.figure-caption,
.page__content p.mini-caption {
  text-align: center;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #4b5563;
}

.page__content p.figure-caption {
  margin: 0.36rem auto 0.05rem;
  max-width: 100%;
  font-size: 0.8rem !important;
  line-height: 1.28;
}

.page__content p.mini-caption {
  margin: 0.32rem 0 0;
  font-size: 0.56rem !important;
  line-height: 1.25;
}

.figure-grid {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 0.65rem 0 0.25rem;
}

.figure-grid--center {
  justify-content: center;
}

.figure-grid > div {
  flex: 1 1 240px;
}

.figure-grid--dual > div {
  max-width: 360px;
}

.figure-grid img {
  width: 100%;
}

.inline-note-trigger {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: #385a7c;
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.inline-note-trigger:hover {
  color: #1f4f7a;
}

.inline-note-trigger:focus-visible {
  outline: 2px solid rgba(15, 23, 42, 0.2);
  outline-offset: 2px;
}

.inline-note-trigger--math {
  font-size: 0.92em;
}

.inline-note-body {
  margin: -0.18rem 0 0.72rem;
  padding: 0.12rem 0 0.12rem 0.7rem;
  border-left: 2px solid #cbd5e1;
  color: #334155;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.42;
}

.inline-note-body strong {
  color: #1f2937;
  font-style: normal;
  font-weight: 600;
}

.inline-note-body a {
  color: #1f4f7a;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.inline-note-body p:last-child {
  margin-bottom: 0;
}

mjx-container:not([display="true"]) {
  font-size: 90% !important;
}

mjx-container[display="true"] {
  font-size: 94% !important;
}

@media (max-width: 50em) {
  .layout--single.wide .page {
    padding-inline: 1rem;
  }

  .page__title {
    margin-top: 2.8rem;
    font-size: 1.45rem;
  }

  .page__content .home-heading {
    padding-left: 1rem;
  }

  .page__content {
    font-size: 0.84rem;
  }

  .lead-italic {
    font-size: 0.9rem !important;
  }
}

@media (min-width: 50em) {
  .page__content p.mini-caption {
    white-space: nowrap;
  }
  .page__content p.figure-caption {
    white-space: normal;
  }
}
