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;
  justify-content: center;
  align-items: center;
  display: flex;
}

.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;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}


.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100%;
  border-radius: 5px;
}

.interpolation-video-column {
}

.interpolation-panel .slider {
  margin: 0 !important;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}
#interpolation-image-wrapper img {
  border-radius: 5px;
}

/* Curated examples: lightweight, keyboard-accessible, and usable without JS. */
.demo-section { margin-top: 3rem; }
.demo-tabs { display: flex; gap: .35rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.demo-tabs a { color: #39473e; background: #fff; border: 1px solid #d6dfd0; border-radius: 100px; padding: .7rem 1rem; font-size: .84rem; font-weight: 600; transition: background .15s; }
.demo-tabs a:hover { border-color: #5b833f; background: #edf2e8; }
.demo-tabs a[aria-selected="true"] { color: #fff; background: #213d28; border-color: #213d28; }
.demo-panel[hidden] { display: none; }
.demo-panel { scroll-margin-top: 1rem; }
.demo-grid { display: grid; gap: 1.2rem; align-items: start; }
.t2i-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.edit-grid, .qa-grid, .math-grid, .grounding-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.demo-card { min-width: 0; background: #fff; border: 1px solid #e5e5e5; border-radius: 6px; overflow: hidden; }
.demo-card img { display: block; width: 100%; height: auto; }
.demo-image-link { display: block; }
.demo-image-link:focus-visible { outline-offset: -4px; }
.demo-copy { padding: 1.15rem 1.2rem 1.3rem; }
.saved-response summary { color: #426638; cursor: pointer; font-size: .83rem; font-weight: 600; padding: .2rem 0; }
.demo-prompt { color: #566158; font-size: .84rem; line-height: 1.65; }
.compare { position: relative; overflow: hidden; background: #eef1ea; }
.demo-card .compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.compare-before { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.compare-label { position: absolute; top: .65rem; padding: .25rem .55rem; background: #122017cc; border-radius: 4px; color: #fff; font-size: .7rem; font-weight: 600; }
.input-label { left: .65rem; }
.output-label { right: .65rem; }
.compare-divider { position: absolute; left: var(--split); top: 0; bottom: 0; width: 44px; transform: translateX(-50%); cursor: ew-resize; touch-action: none; user-select: none; }
.compare-divider::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(50% - 1px); width: 2px; background: #fff; box-shadow: 0 0 4px #0004; }
.compare-divider > span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; background: #fff; color: #24362c; width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 2px 10px #0003; font-size: 1.1rem; }
.edit-instruction { color: #414e44; font-size: .9rem; min-height: 2.8em; line-height: 1.5; }
.compare-control { display: block; margin-top: .9rem; font-size: .75rem; color: #60705f; }
.compare-control input { display: block; width: 100%; margin: .6rem 0; accent-color: #467532; cursor: ew-resize; }
.original-links { display: flex; justify-content: space-between; font-size: .76rem; }
.original-links a { color: #436b35; text-decoration: underline; text-underline-offset: 3px; }
.demo-card .qa-image { height: 330px; object-fit: contain; background: #eef1ed; }
.demo-question { color: #2c3931; line-height: 1.7; font-size: .91rem; margin-bottom: .9rem; }
.question-options { color: #697168; font-size: .79rem; margin-bottom: .9rem; }
.model-answer { background: #edf4e7; border-left: 3px solid #72a449; border-radius: 0 6px 6px 0; padding: .8rem 1rem; }
.model-answer > span, .reasoning-excerpt > span { text-transform: uppercase; font-size: .65rem; letter-spacing: .07em; color: #547049; font-weight: 650; }
.model-answer > p { margin: .25rem 0 0; color: #254429; font-weight: 650; }
.math-figure { height: 390px; display: flex; align-items: center; justify-content: center; padding: 1rem; background: #fafbf9; border-bottom: 1px solid #e6eae2; }
.math-figure a { max-height: 100%; max-width: 100%; }
.demo-card .math-figure img { width: auto; height: auto; max-width: 100%; max-height: 358px; }
.reasoning-excerpt { padding: .9rem 1rem; background: #f6f7f4; border-radius: 6px; margin: .9rem 0; }
.reasoning-excerpt > p { font-size: .82rem; line-height: 1.8; color: #465348; margin-top: .5rem; overflow-wrap: anywhere; }
.saved-response { margin-top: 1rem; }
.saved-response pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #f6f7f4; padding: 1rem; font: .76rem/1.7 ui-monospace, monospace; max-height: 400px; overflow: auto; margin-top: .6rem; }
.grounding-image { position: relative; width: 100%; height: 420px; background: #eef1ed; }
.demo-card .grounding-image img { height: 100%; width: 100%; object-fit: contain; }
.grounding-image.grounding-square { height: auto; aspect-ratio: 1; }
.demo-card .grounding-square img { position: absolute; inset: 0; object-fit: fill; }
.grounding-image svg { position: absolute; inset: 0; height: 100%; width: 100%; pointer-events: none; }
.grounding-image rect { fill: none; stroke-width: 3px; vector-effect: non-scaling-stroke; }
.tag-list { display: flex; gap: .5rem; flex-wrap: wrap; margin: .65rem 0 1rem; }
.tag-chip { font-size: .76rem; color: #3e4c43; background: #f3f5f0; border-radius: 5px; padding: .4rem .6rem; }
.tag-chip > span { color: var(--tag-color); margin-right: .2rem; }
.grounding-toggle { display: flex; gap: .5rem; align-items: center; color: #5c6c5f; font-size: .8rem; cursor: pointer; }
.grounding-toggle input { accent-color: #467532; }
.demo-section a:focus-visible, .demo-section input:focus-visible, .demo-section summary:focus-visible { outline: 3px solid #5a8c3e; outline-offset: 3px; }
@media (max-width: 800px) {
  .t2i-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-tabs a { padding: .6rem .8rem; font-size: .77rem; }
}
@media (max-width: 560px) {
  .demo-section { padding: 2.5rem 1rem; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-copy { padding: 1rem; }
  .demo-card .qa-image { height: 290px; }
  .grounding-image { height: 360px; }
}
@media (prefers-reduced-motion: reduce) { .demo-tabs a { transition: none; } }
