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


.footer .icon-link {
    font-size: 25px;
    color: #000;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.dnerf {
  font-variant: small-caps;
}


.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

.teaser {
  font-family: 'Google Sans', sans-serif;
}


.publication-title {
}

.publication-banner {
  max-height: parent;

}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.publication-header .hero-body {
}

.publication-title {
    font-family: 'Google Sans', sans-serif;
}

.publication-authors {
    font-family: 'Google Sans', sans-serif;
}

.publication-venue {
    color: #555;
    width: fit-content;
    font-weight: bold;
}

.publication-awards {
    color: #ff3860;
    width: fit-content;
    font-weight: bolder;
}

.publication-authors {
}

.publication-authors a {
   color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

.author-block {
  display: inline-block;
}

.publication-banner img {
}

.publication-authors {
  /*color: #4286f4;*/
}

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    overflow: hidden;
    border-radius: 10px !important;
}

.publication-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.publication-body img {
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  padding: 20px;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}

.slider-pagination .slider-page {
  background: #000000;
}

.eql-cntrb {
  font-size: smaller;
}

td.unc-col, th.unc-col {
  background-color: rgba(0, 0, 0, 0.03);
}

code.label-suc, .label-token.label-suc {
  background-color: rgba(178, 248, 174, 0.45);
  color: #000;
  padding: 0.15em 0.4em;
  border: 1px solid #999;
  border-radius: 4px;
  font-size: 0.9em;
}

code.label-fail, .label-token.label-fail {
  background-color: rgba(253, 180, 166, 0.45);
  color: #000;
  padding: 0.15em 0.4em;
  border: 1px solid #999;
  border-radius: 4px;
  font-size: 0.9em;
}

code.label-unc, .label-token.label-unc {
  background-color: rgba(246, 254, 254, 0.45);
  color: #000;
  padding: 0.15em 0.4em;
  border: 1px solid #999;
  border-radius: 4px;
  font-size: 0.9em;
}

.content ol li {
  margin-bottom: 0.75em;
}

ul.label-list {
  list-style: none;
  padding-left: 2em;
  margin: 0.5em 0;
}

ul.label-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75em;
}

ul.label-list li > code,
ul.label-list li > .label-token {
  display: inline-flex;
  justify-content: center;
  width: 5.5em;
  min-width: 5.5em;
  text-align: center;
  flex-shrink: 0;
  margin-right: 0.4em;
}

ul.label-list li > .label-token {
  font-size: 1.1em;
}

ul.label-list .label-desc {
  flex: 1;
}

ul.label-list .label-dash {
  flex-shrink: 0;
  margin: 0 0.5em 0 0.03em;
}

ul.label-list .label-desc code {
  display: inline;
  width: auto;
  min-width: 0;
  text-align: left;
  margin-right: 0;
}

code.roa {
  background: none;
  padding: 0;
  color: #000;
  font-weight: 400;
  font-size: 1.1em;
  font-family: 'CMU Typewriter Text', 'Courier New', monospace;
}

/* Sidebar Table of Contents — permanent sidebar */
/* Scale: 190px at 1000px viewport → 260px at 1300px+ */
:root {
  --sidebar-w: clamp(190px, calc(23.333vw - 43.333px), 260px);
}

.toc-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: var(--sidebar-w);
  max-width: var(--sidebar-w);
  height: 100vh;
  padding: 4rem 1.25rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: #fff;
  border-right: 1px solid #e0e0e0;
}

.toc-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
  margin-bottom: 1rem;
  padding-left: 0.6rem;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-group {
  margin-bottom: 2rem;
  border-left: 2px solid transparent;
  padding-left: 0.6rem;
  transition: border-color 0.2s;
}

.toc-group:last-child {
  margin-bottom: 0;
}

.toc-group.is-active-group {
  border-left-color: #999;
}

.toc-link {
  display: block;
  text-decoration: none;
  color: #999;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 0.3rem 0;
  transition: color 0.2s, border-color 0.2s;
  border-left: 2px solid transparent;
  padding-left: 0.6rem;
  margin-left: -0.6rem;
}

.toc-link.toc-top {
  font-size: 1.05rem;
  font-weight: 600;
  color: #999;
  padding: 0.35rem 0;
  padding-left: 0;
  border-left: none;
  margin-left: 0;
  margin-bottom: 0.25rem;
}

.toc-group.is-active-group > .toc-top {
  color: #363636;
}

.toc-group.is-active-group .toc-sub .toc-link {
  color: #777;
}

.toc-link.is-active {
  color: #000;
  border-left-color: #3273dc;
  font-weight: 600;
}

.toc-link.toc-top.is-active {
  color: #3273dc;
}

.toc-link:hover {
  color: #3273dc;
}

.toc-sub {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0.6rem;
}

/* Shift all content right for sidebar — symmetric padding in right area */
body > section.hero,
body > section.section,
#sec-method > section,
#sec-evaluation > section,
footer.footer {
  padding-left: calc(var(--sidebar-w) + 1.5rem);
  padding-right: 1.5rem;
}

body > section.hero.is-light,
#sec-method > section.hero.is-light,
#sec-evaluation > section.hero.is-light {
  background: linear-gradient(to right, #fff calc(var(--sidebar-w) + 1px), whitesmoke calc(var(--sidebar-w) + 1px));
}

/* Scale ToC text at narrower sidebar widths */
@media screen and (min-width: 1000px) and (max-width: 1299px) {
  .toc-link {
    font-size: 0.82rem;
    padding: 0.2rem 0;
  }
  .toc-link.toc-top {
    font-size: 0.92rem;
  }
  .toc-group {
    margin-bottom: 1.25rem;
  }
  .toc-nav {
    padding: 3rem 0.75rem 2rem 1.25rem;
  }
}

/* Hide sidebar on small screens, remove content offset */
@media screen and (max-width: 999px) {
  .toc-nav {
    display: none;
  }

  body > section.hero,
  body > section.section,
  #sec-method > section,
  #sec-evaluation > section,
  footer.footer {
    padding-left: 1.5rem;
  }

  body > section.hero.is-light,
  #sec-method > section.hero.is-light,
  #sec-evaluation > section.hero.is-light {
    background: whitesmoke;
  }

  .de-plot-wrapper {
    max-width: 900px;
    padding-right: 0;
  }

  .de-plot-section-title,
  .de-plot-state-label,
  .de-plot-legend,
  .de-slice-subheader {
    padding-left: 0;
  }

  .de-plot-sticky-header {
    margin-right: 0;
    padding-right: 0;
  }
}

/* Data Efficiency Interactive Panels */
.de-panel {
  border: none;
  border-radius: 0;
  padding: 1rem 0;
  background: #fff;
  overflow: visible;
}

.de-panel-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #eee;
  margin: -1rem 0 0.75rem;
  padding: 0.75rem 0 0.5rem;
  border-radius: 0;
}

.de-slider-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem auto 0.25rem;
  max-width: 500px;
}

.de-slider-bound {
  font-size: 0.7rem;
  color: #888;
  white-space: nowrap;
  min-width: 2rem;
}

.de-slider-bound-max {
  text-align: right;
}

.de-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #ddd;
  outline: none;
  cursor: pointer;
}

.de-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3273dc;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.de-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3273dc;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.de-traj-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #3273dc;
  margin-bottom: 0.75rem;
}

.de-table {
  font-size: 1.05rem;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
}

.de-table th {
  padding: 0.4rem 0.5rem;
  font-size: 0.95rem;
  border: none;
}

.de-table td {
  padding: 0.35rem 0.5rem;
  border: none;
}

.de-table thead tr {
  border-bottom: 2px solid #363636;
}

.de-baseline-row td {
  color: #555;
}

.de-baseline-row:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.018);
}

.de-sep-row td {
  padding: 0;
  height: 1px;
  border-bottom: 1px solid #dbdbdb;
}

.de-ours-row {
  background-color: rgba(50, 115, 220, 0.06);
}

.de-ours-row-last {
  border-bottom: 2px solid #363636;
}

.de-traj-col {
  text-align: center !important;
  font-size: 0.9rem;
  padding-left: 0.4rem !important;
  padding-right: 0.4rem !important;
  background-color: rgba(50, 115, 220, 0.05);
}

.de-traj-col + td,
.de-traj-col + th {
  padding-left: 2.5rem !important;
}

.de-metric-start {
  border-left: 2px solid #dbdbdb;
}

.de-footnote {
  font-size: 0.78rem;
  color: #888;
  text-align: center;
  margin-top: 0.75rem;
}

/* Plot image grids */
.de-plot-wrapper {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
  max-width: calc(900px + 6rem + 30px);
  padding-right: calc(6rem + 30px);
  margin-left: auto;
  margin-right: auto;
}

.de-plot-grid {
  display: grid;
  gap: 4px 6px;
  align-items: center;
  margin: 0 auto 8px;
  max-width: 900px;
}

.de-plot-label {
  font-size: 1rem;
  font-weight: 600;
  text-align: right;
  padding-right: 8px;
  color: #444;
  line-height: 1.2;
}

.de-plot-header {
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  color: #444;
  padding: 2px 0;
}

.de-plot-sticky-header {
  position: sticky;
  top: 0;
  z-index: 6;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 6px 0 10px;
  margin-bottom: 8px;
  margin-right: calc(-6rem - 30px);
  padding-right: calc(6rem + 30px);
}

.de-plot-section-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #444;
  text-align: center;
  margin-bottom: 0.25rem;
  padding-left: calc(6rem + 30px);
}

.de-plot-state-label {
  font-size: 0.9rem;
  color: #777;
  text-align: center;
  margin-bottom: 0.5rem;
  padding-left: calc(6rem + 30px);
}

.de-slice-info {
  font-size: 0.85rem;
  font-weight: 400;
  color: #888;
  line-height: 1.2;
}

.de-ytick-cell {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  align-self: stretch;
  padding-right: 3px;
  font-size: 0.7rem;
  color: #666;
}

.de-xtick-cell {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #666;
  padding-top: 1px;
}

.de-plot-img {
  width: 100%;
  display: block;
  border-radius: 3px;
  border: 1px solid #ddd;
  background: #fafafa;
  aspect-ratio: 328 / 203;
  object-fit: fill;
}

.de-plot-legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 1rem;
  color: #555;
  margin: 0.25rem 0 0.5rem;
  padding-left: calc(6rem + 30px);
}

.de-legend-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 3px;
  border: 1px solid #ccc;
}

.de-swatch-suc { background-color: #fae622; }
.de-swatch-unc { background-color: #d1d1d1; }
.de-swatch-fail { background-color: #410351; }

.de-slice-subheader {
  font-size: 1rem;
  color: #555;
  text-align: center;
  padding: 0.6rem 0 0.3rem;
  font-weight: 600;
  padding-left: calc(6rem + 30px);
}

.de-xaxis-title {
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  color: #444;
  padding: 2px 0 8px;
}


