/* Metric-VLA project page. Layout follows the GCE-Pose / Nerfies template (Bulma 0.9.1). */
:root {
  --pose: #2f7fb3;
  --pose-deep: #004d6f;
  --ink-2: #4a4a4a;
  --ink-3: #7a7a7a;
  --bar-base: #c2c7cc;
}
body { font-family: 'Noto Sans', sans-serif; }
.publication-title, .publication-authors, .teaser, .title { font-family: 'Google Sans', sans-serif; }
.publication-authors a { color: inherit !important; }
.publication-authors a:hover { text-decoration: underline; }
.author-block { display: inline-block; }
.link-block a { margin: 5px 2px; }
.button .icon svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button.is-disabled { background-color: #f0f0f0 !important; color: #aaa !important; pointer-events: none; cursor: not-allowed; border-color: transparent; }

.teaser .hero-body { padding-top: 0; padding-bottom: 3rem; }
.teaser .subtitle { max-width: 960px; margin: 1.25rem auto 0; font-size: 1.1rem; line-height: 1.6; }
.paper-fig { display: block; width: 100%; height: auto; margin: 0 auto 1.25rem; }

/* results */
#results h3.title { margin-top: 2.5rem; margin-bottom: .4rem; }
#results h3.title:first-of-type { margin-top: .5rem; }
.sub, .note { color: var(--ink-2); font-size: .92rem; }
.note { margin-top: .6rem; }

.bars, .pairs { margin: 1rem auto 0; max-width: 720px; text-align: left; }
.bar, .pair { display: grid; grid-template-columns: 170px 1fr; align-items: center; column-gap: 12px; }
.bar { height: 30px; }
.lab { font-size: .9rem; text-align: right; color: var(--ink-2); white-space: nowrap; }
.lab small { color: var(--ink-3); font-size: .78em; }
.track { display: flex; align-items: center; gap: 7px; min-width: 0; border-left: 1px solid var(--ink-3); padding-right: 44px; height: 100%; }
.track i { display: block; height: 16px; min-width: 2px; background: var(--bar-base); border-radius: 0 3px 3px 0; }
.track b { font-size: .84rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bar.ours .lab { color: #363636; font-weight: 700; }
.bar.ours .track i, .track i.ours { background: var(--pose); }
.bar.ours .track b { color: var(--pose-deep); font-weight: 700; }
.pair { grid-template-rows: 20px 20px; margin-bottom: 12px; }
.pair .lab { grid-row: 1 / span 2; line-height: 1.25; white-space: normal; }
.pair .lab small { display: block; }
.pair .track i { height: 13px; }
.pair .track:last-child b { color: var(--pose-deep); font-weight: 700; }
.legend { display: flex; align-items: center; gap: 6px; margin: 0 0 12px 182px; font-size: .84rem; color: var(--ink-2); }
.sw { width: 12px; height: 12px; border-radius: 2px; display: inline-block; }
.sw.base { background: var(--bar-base); } .sw.ours { background: var(--pose); margin-left: 14px; }

.table-container { margin-top: 2rem; }
table.results { font-size: .9rem; font-variant-numeric: tabular-nums; }
table.results caption { caption-side: top; text-align: left; color: var(--ink-2); font-size: .92rem; padding-bottom: .5rem; }
table.results th, table.results td { text-align: right; white-space: nowrap; }
table.results th:first-child, table.results td:first-child { text-align: left; }
table.results tr.ours { background: #e8f0fc; font-weight: 700; }
table.results tr.ref { background: #f6f7f8; color: var(--ink-3); }

#BibTeX pre { font-size: .82rem; }

@media (max-width: 768px) {
  .bar, .pair { grid-template-columns: 118px 1fr; }
  .lab { font-size: .8rem; }
  .legend { margin-left: 130px; }
}

/* video */
.publication-video { border-radius: 10px; overflow: hidden; background: #000; }
.publication-video video { display: block; width: 100%; height: auto; }
.rollouts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1rem; text-align: left; }
.rollouts figure { margin: 0; }
.rollouts video { display: block; width: 100%; height: auto; border-radius: 8px; background: #000; }
.rollouts figcaption { font-size: .88rem; color: var(--ink-2); margin-top: .45rem; line-height: 1.45; }
.chip { display: inline-block; font-size: .72rem; font-weight: 600; padding: .05rem .45rem; border-radius: 4px; vertical-align: .08em; }
.chip.sim { background: #eef0f2; color: #4a4a4a; }
.chip.real { background: #363636; color: #fff; }
.chip.met { background: #e3eff6; color: #1f5f88; }
.chip.sem { background: #f8e6e1; color: #96412f; }
@media (max-width: 768px) { .rollouts { grid-template-columns: 1fr; } }
video.clip { display: block; width: 100%; height: auto; border-radius: 8px; margin: 0 auto 1.25rem; box-shadow: 0 0 0 1px #e5e5e5; }
.clips { display: grid; grid-template-columns: 1fr; gap: 1.75rem; margin-top: 1.5rem; text-align: left; }
.clips figure { margin: 0; }
.clips video.clip { margin-bottom: .5rem; }
.clips figcaption { font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.button .icon.hf { font-size: 1.05em; filter: grayscale(1); opacity: .7; }
.affil-logo { display: inline-block; width: auto; height: .8em; vertical-align: -.06em; margin: 0 .28em 0 .08em; }
.affil-logo.lg-mcml { height: .5em; vertical-align: .08em; }
.affil-logo.lg-meta { height: .7em; vertical-align: -.02em; }
.affil-logo.lg-siemens { height: .58em; vertical-align: .04em; }
.affil-logo.lg-savorcode { height: .75em; vertical-align: -.08em; }
.affils .corr { font-size: .85rem; color: #6b6b6b; }
.affils { font-size: 1.1rem !important; margin-top: .2rem; }
.affils .affil { margin: 0 .7em; }
.hl-pose { color: #2f7fb3; }
.hl-act { color: #3f8f4c; }
.author-emails { margin-top: .35rem; }
.author-emails code { background: none; color: #555; font-size: .9rem; padding: 0; }
.rollouts-top { padding-top: 0; padding-bottom: 1.5rem; }
.rollouts-top .lead { font-size: 1.2rem; max-width: 900px; margin: 0 auto .4rem; color: #333; }
.rollouts-top .sub { max-width: 900px; margin: 0 auto 1rem; }
