/* Sections 1–2: observations, coordinate inspection and feature fusion. */
.observation-figure { margin: 26px 0 0; }
.observation-figure figcaption, .pixel-inspector figcaption, .encoder-figure figcaption { max-width: 900px; margin: 14px auto 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.section-copy { margin-top: 36px; }
.visual-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.visual-toolbar label { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); }
.visual-toolbar select, .visual-toolbar button { font: inherit; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); padding: 6px 10px; cursor: pointer; }
.visual-toolbar input { accent-color: var(--accent); }
.pixel-inspector { margin: 30px 0; padding: 22px; background: #faf9fd; border: 1px solid var(--line); border-radius: 14px; }
.pixel-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 720px; margin: auto; }
.pixel-pair h3 { font-size: 16px; text-align: center; margin: 0 0 12px; }
.pixel-pair canvas { width: 100%; display: block; aspect-ratio: 1; border-radius: 8px; cursor: crosshair; touch-action: manipulation; }
.pixel-pair canvas:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
#pixel-readout { display: block; text-align: center; margin-top: 18px; font: 14px/1.7 ui-monospace, monospace; color: var(--accent-ink); }
.encoder-figure { margin: 24px 0 0; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: white; overflow-x: auto; }
.encoder-figure svg { display: block; width: 100%; min-width: 560px; }
.pms.paired { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; padding: 20px; align-items: stretch; }
.paired .paired-left { display: flex; flex-direction: column; justify-content: flex-end; gap: 0; }
.paired .pv-inputs { border: 1.5px solid var(--line); border-radius: 14px; padding: 10px; background: #fff; transition: all .3s; }
.paired .pv-inputs .paired-title { margin-bottom: 8px; font-size: 14px; }
.paired .pv-inrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr); gap: 8px; align-items: stretch; }
.paired .paired-rgbs { display: contents; }
.paired .paired-rgb { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; }
.paired .paired-cam { font-size: 10px; padding: 0 5px; left: 4px; top: 4px; }
.paired .pv-ins { border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: 12px; background: #fafafc; transition: all .3s; display: flex; flex-direction: column; justify-content: center; }
.paired .pv-ins b { display: block; font-size: 12.5px; } .paired .pv-ins small { color: var(--muted); font-size: 11px; line-height: 1.35; display: block; }
.paired-left.flow .pv-inputs { border-color: #c4b5fd; box-shadow: 0 0 0 3px var(--accent-soft); }
.paired .pv-up { align-self: center; width: 2px; height: 26px; background: #cfcadf; position: relative; transition: background .3s; }
.paired .pv-up::after { content: ""; position: absolute; left: -4px; top: -5px; border: 5px solid transparent; border-bottom: 7px solid #cfcadf; border-top: 0; transition: border-color .3s; }
.paired-left.flow .pv-up { background: var(--accent); } .paired-left.flow .pv-up::after { border-bottom-color: var(--accent); }
.paired .pv-vla { border: 1.5px solid #d9d4ea; border-radius: 14px; background: #faf9fe; text-align: center; padding: 16px 8px; transition: all .3s; }
.paired .pv-vla b { display: block; font-size: 24px; font-weight: 800; } .paired .pv-vla small { color: var(--muted); font-size: 12px; }
.paired .pv-vla.on { border-color: #a78bfa; background: #f3efff; box-shadow: 0 0 0 4px var(--accent-soft), 0 6px 20px rgba(109,40,217,.15); animation: pv-pulse 1.1s ease-in-out infinite; }
@keyframes pv-pulse { 50% { box-shadow: 0 0 0 8px var(--accent-soft), 0 6px 20px rgba(109,40,217,.2); } }
.paired .pv-chunk { position: relative; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 9px 8px; text-align: center; transition: all .3s; }
.paired .pv-chunk b { display: block; font-size: 14px; margin-bottom: 5px; } .paired .pv-chunk span { display: inline-flex; gap: 4px; }
.paired .pv-chunk i { font-style: normal; font-family: "Times New Roman", serif; font-weight: 700; font-size: 14px; padding: 0 6px; border-radius: 5px; background: #f1eef8; color: #9a93ad; transition: all .25s; }
.paired .pv-chunk i.lit { background: #6d28d9; color: #fff; } .paired .pv-chunk.on { border-color: #c4b5fd; box-shadow: 0 0 0 3px var(--accent-soft); }
.paired .pv-chunk::after { content: ""; position: absolute; top: 50%; right: -34px; width: 30px; border-top: 2px dashed #cfcadf; }
.paired .pv-chunk.on::after { border-top-color: #6d28d9; }
.paired .paired-left, .paired .paired-right { min-width: 0; }
.paired .paired-title { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.paired .paired-rgb { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.paired .paired-cam { position: absolute; left: 6px; top: 6px; font-size: 11px; font-weight: 700; color: #fff; padding: 1px 7px; border-radius: 5px; }
.paired .paired-title span { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); border-radius: 6px; padding: 1px 7px; margin-right: 6px; vertical-align: 2px; }
.paired .paired-title small { font-size: 12.5px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.paired .paired-ghost { position: absolute; left: 10px; top: 10px; display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; pointer-events: none; }
.paired .paired-ghost i { width: 14px; height: 10px; border-radius: 3px; background: repeating-linear-gradient(45deg, #d7d9de 0 3px, #eef0f3 3px 6px); }
.paired .paired-rgb img { width: 100%; height: 100%; display: block; }
.paired .paired-rgb svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pms.paired .pms-stage { aspect-ratio: auto; height: calc(100% - 36px); min-height: 400px; }
.pms.paired .pms-legend { display: none; }
.pms.paired .pms-bar { display: flex; flex-wrap: wrap; position: static; grid-column: 1 / -1; border: 0; padding: 0; }
.pms.paired .pms-bar input { min-width: 80px; }
.pms.paired .paired-view { font: inherit; border: 1px solid var(--line); border-radius: 6px; padding: 5px; background: white; }
.pms.paired .pms-pills .pill { padding: 2px 5px; border-width: 1px; }
.pms.paired .pms-pills .pill b { font-size: 11px; }
#build-stage .visual-toolbar { margin: 16px 0 0; }
#build-stage .pms-bar { flex-wrap: wrap; }
#build-stage .pms-bar input { min-width: 70px; }
#build-stage .pms-steps .flow { justify-content: center; gap: 14px; }
#build-stage .pms-steps .arrow { min-width: 140px; max-width: 170px; }
#build-stage .pms-steps .arrow em { font: 600 12px "Open Sans", sans-serif; }
#build-stage .pms-strip .col[hidden] { display: block; visibility: hidden; }
.visual-fallback { padding: 30px; color: var(--muted); }
/* v3-style cards: add depth, apply K, lift the pointmap, then align with (R,t). */
#build-stage.pmx .flow { display: grid; grid-template-columns: minmax(0,.65fr) 66px minmax(0,.85fr) 100px minmax(0,1.4fr) 114px minmax(0,1.4fr); gap: 9px; }
#build-stage.pmx .node { min-width: 0; white-space: normal; justify-content: center; font-size: 13px; padding: 8px; line-height: 1.4; }
#build-stage.pmx .node i { flex: none; width: 21px; height: 21px; }
#build-stage.pmx .arrow { min-width: 0; width: 100%; }
#build-stage.pmx .arrow em { font: 600 12px "Open Sans", sans-serif; }
#build-stage.pmx .capt { font-size: 16px; line-height: 1.65; min-height: 76px; }
#build-stage.pmx .capt code.eq { margin: 8px 0 0; display: table; font-size: 16px; }
#build-stage.pmx .pmx-stage { aspect-ratio: 4 / 3; }   /* taller: three lanes + clouds + origin tags need the room (2026-10-19) */
#build-stage.pmx .pmx-bar { flex-wrap: wrap; }
#build-stage.pmx .pmx-bar input { min-width: 60px; }
#build-stage.pmx .builder-controls { padding: 0 20px; margin: 16px 0 10px; }
#build-stage.pmx .builder-representation { margin: 0; padding: 0 20px 18px; font-size: 14px; color: var(--accent-ink); font-weight: 600; }
#build-stage .builder-final-inputs { padding: 20px; border-top: 1px solid var(--line); background: #fff; }
#build-stage [hidden] { display: none !important; }
#build-stage .builder-input-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
#build-stage .builder-input-card { min-width: 0; }
#build-stage .builder-input-card h5 { font-size: 14px; margin: 0 0 12px; text-transform: capitalize; }
#build-stage .builder-input-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#build-stage .builder-input-pair figure { margin: 0; min-width: 0; }
#build-stage .builder-input-pair img { width: 100%; display: block; border-radius: 8px; border: 1px solid var(--line); }
#build-stage .builder-input-pair figcaption { margin: 6px 0 0; text-align: center; font-size: 12px; }
#build-stage .builder-final-inputs h4 { margin: 0 0 8px; font-size: 18px; }
@media (min-width: 721px) and (max-width: 1050px) {
  #build-stage.pmx .flow { display: flex; flex-direction: column; }
  #build-stage.pmx .node { width: 100%; }
  #build-stage.pmx .arrow { width: auto; flex: none; flex-direction: row; gap: 10px; }
  #build-stage.pmx .arrow b { width: 2px; height: 20px; order: -1; }
  #build-stage.pmx .arrow b::after { right: -5px; top: auto; bottom: -5px; border: 6px solid transparent; border-top: 8px solid var(--accent); }
}
@media (max-width: 720px) {
  .pms.paired { grid-template-columns: 1fr; padding: 12px; }
  .paired .paired-left { max-width: 100%; }
  .paired .pv-inrow { grid-template-columns: repeat(3, minmax(0, 1fr)); } .paired .pv-ins { grid-column: 1 / -1; }
  .paired .pv-chunk::after { display: none; }
  .pms.paired .pms-stage { height: 340px; min-height: 0; }
  #build-stage .pms-steps .flow { flex-direction: column; }
  #build-stage .pms-steps .arrow { min-width: 0; width: auto; flex: none; flex-direction: row; gap: 10px; }
  #build-stage .pms-steps .arrow b { width: 2px; height: 25px; order: -1; }
  #build-stage .pms-steps .arrow b::after { right: -5px; top: auto; bottom: -5px; border: 6px solid transparent; border-top: 8px solid var(--accent); }
  #build-stage .pms-stage { aspect-ratio: 1; }
  .pixel-inspector { padding: 12px; }
  .pixel-pair { gap: 10px; }
  .pixel-pair h3 { font-size: 13px; }
  .encoder-figure { padding: 12px; }
  .encoder-figure::before { content: "Scroll horizontally to explore the diagram →"; display: block; color: var(--muted); font-size: 12px; margin-bottom: 12px; }
  #build-stage.pmx .flow { display: flex; flex-direction: column; }
  #build-stage.pmx .node { width: 100%; }
  #build-stage.pmx .arrow { width: auto; flex: none; flex-direction: row; gap: 10px; }
  #build-stage.pmx .arrow b { width: 2px; height: 20px; order: -1; }
  #build-stage.pmx .arrow b::after { right: -5px; top: auto; bottom: -5px; border: 6px solid transparent; border-top: 8px solid var(--accent); }
  #build-stage.pmx .pmx-stage { aspect-ratio: 1; }
  #build-stage.pmx .pmx-legend { position: static; padding: 8px; justify-content: center; flex-wrap: wrap; }
  #build-stage.pmx .pmx-legend span { font-size: 10px; }
  #build-stage.pmx .capt code.eq { font-size: 13px; white-space: normal; }
  #build-stage .builder-input-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* section 2 (2a): the paired player with pointmaps (pm-stage.js opts.pm) */
.paired .pv-camcol { display: flex; flex-direction: column; gap: 6px; }
.paired .pv-enc { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: stretch; } .paired .pv-enc .plus { align-self: center; } .paired .pv-enc .e { display: flex; flex-direction: column; justify-content: center; }
.paired .pv-enc .e { border: 1.5px solid #d9d4ea; border-radius: 10px; background: #faf9fe; text-align: center; padding: 8px 6px; font-size: 13px; font-weight: 700; transition: all .3s; }
.paired .pv-enc .e small { display: block; font-size: 10.5px; font-weight: 400; color: var(--muted); }
.paired .pv-enc .plus { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #d9d4ea; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--accent-ink); background: #fff; }
.paired .pv-enc.on .e { border-color: #a78bfa; background: #f3efff; } .paired .pv-enc.on .plus { border-color: #a78bfa; background: var(--accent-soft); }
.paired .paired-ghost i.pm { background: linear-gradient(90deg, #d24, #2b4, #36d); }

/* 2a: encoder fusion in the paper's style (grey Vision encoder + purple Pointmap encoder trapezoids → ⊕ → VLA input tokens) */
.paired .pv-inputs.pm .pv-inrow { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 0.8fr); gap: 10px; align-items: end; }
.paired .pv-grp { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.paired .pv-fuse svg { display: block; width: 100%; height: auto; overflow: visible; }
.paired .pv-fuse .te { stroke-width: 1.4; transition: all .3s; } .paired .pv-fuse .te.rgb { fill: #ececf1; stroke: #c4c6cf; } .paired .pv-fuse .te.pmt { fill: #ece5ff; stroke: #a78bfa; }
.paired .pv-fuse text { font: 700 10.5px "Open Sans", sans-serif; text-anchor: middle; fill: #6b7079; } .paired .pv-fuse text.p { fill: #5b21b6; }
.paired .pv-fuse .ln path { stroke: #b9bcc8; stroke-width: 1.4; fill: none; transition: stroke .3s; }
.paired .pv-fuse .plus { fill: #fff; stroke: #8a8f98; stroke-width: 1.4; transition: all .3s; } .paired .pv-fuse .pl { stroke: #5a646b; stroke-width: 1.6; }
.paired .paired-rgbs.flow .pv-fuse .ln path { stroke: var(--accent); } .paired .paired-rgbs.flow .pv-fuse .plus { stroke: var(--accent); fill: var(--accent-soft); }
.paired .paired-rgbs.flow .pv-fuse .te.pmt { fill: #ddd0ff; } .paired .paired-rgbs.flow .pv-fuse .te.rgb { fill: #e2e3ea; }
.paired .pv-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.paired .pv-thumbs .paired-rgb { border-radius: 6px; } .paired .pv-thumbs .paired-cam { font-size: 9.5px; padding: 0 4px; left: 3px; top: 3px; }
.paired .pv-inputs.pm .pv-ins { align-self: end; min-height: 64px; }
.paired .pv-vla.pm { padding-bottom: 10px; }
.paired .pv-tok { display: flex; gap: 3px; justify-content: center; margin-top: 10px; }
.paired .pv-tok i { width: 22px; height: 12px; border-radius: 3px; border: 1px solid #d3cfe0; background: #fff; transition: all .3s; }
.paired .pv-tok i.v { background: #f1ecff; border-color: #c9b8fb; }
.paired .pv-vla.on .pv-tok i.v { background: #c4b5fd; border-color: #a78bfa; } .paired .pv-vla.on .pv-tok i.t { background: #e8e9ee; }
@media (max-width: 700px) { .paired .pv-inputs.pm .pv-inrow { grid-template-columns: repeat(3, minmax(0, 1fr)); } .paired .pv-tok i { width: 14px; } .paired .pv-thumbs .paired-cam { font-size: 8px; padding: 0 3px; } }

/* 2a v2: PointmapVLA block in the paper's style; inputs plug into its bottom token row */
.paired .pv-vla.pm { padding: 8px 10px; background: #f3f3f6; border: 1.5px solid #d6d6de; border-radius: 16px; }
.paired .pv-vla.pm .pv-core { background: #fff; border: 1.5px solid #9a9aa6; border-radius: 14px; padding: 12px 8px; margin: 7px 0; }
.paired .pv-vla.pm .pv-core b { display: block; font-size: 24px; font-weight: 800; color: #4a4a55; } .paired .pv-vla.pm .pv-core small { color: var(--muted); font-size: 12px; }
.paired .pv-vla.pm .pv-tok { margin: 0; gap: 4px; }
.paired .pv-vla.pm .pv-tok i { flex: 1; height: 13px; border-radius: 4px; background: #fff; border: 1px solid #c9c9d2; }
.paired .pv-vla.pm .pv-tok.in i.v { background: #f1ecff; border-color: #c9b8fb; }
.paired .pv-vla.pm.on { background: #f1edfb; border-color: #c4b5fd; } .paired .pv-vla.pm.on .pv-core { border-color: #7c3aed; }
.paired .pv-vla.pm.on .pv-tok.in i.v { background: #c4b5fd; border-color: #a78bfa; } .paired .pv-vla.pm.on .pv-tok.out i { background: #ede7ff; border-color: #c4b5fd; }
.paired .pv-inputs.pm { border: 0; padding: 0; background: none; box-shadow: none !important; }
.paired .pv-inputs.pm .paired-title { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.paired .pv-inputs.pm .pv-inrow { grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr) minmax(0, 0.85fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.paired .pv-grp, .paired .pv-inscol { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.paired .pv-stem { flex: 1; min-height: 16px; align-self: center; width: 0; border-left: 1.6px solid #b9bcc8; transition: border-color .3s; }
.paired .paired-rgbs.flow .pv-stem, .paired-left.flow .pv-inscol .pv-stem { border-left-color: var(--accent); }
.paired .pv-fuse .ln1 { stroke: #b9bcc8; stroke-width: 1.6; } .paired .paired-rgbs.flow .pv-fuse .ln1 { stroke: var(--accent); }
.paired .pv-fuse .te.c { stroke: #b7a6ef; stroke-width: 1.3; } .paired .pv-grp.c .pv-fuse text { font-size: 9.5px; fill: #5b4a8a; }
.paired .pv-stack { position: relative; aspect-ratio: 1.12; }
.paired .pv-stack .paired-rgb { position: absolute; width: 78%; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.paired .pv-stack .paired-rgb.pm { right: 0; bottom: 0; } .paired .pv-stack .paired-rgb:not(.pm) { left: 0; top: 0; }
.paired .pv-stack .paired-cam { font-size: 9px; padding: 0 4px; left: 3px; top: 3px; } .paired .pv-stack .paired-rgb.pm .paired-cam { display: none; }
.paired .pv-inputs.pm .pv-ins { min-height: 0; background: #f4f0ff; border-color: #d9cdfb; }
.paired-left.flow .pv-inputs.pm .pv-ins { border-color: #a78bfa; }
@media (max-width: 700px) { .paired .pv-inputs.pm .pv-inrow { grid-template-columns: repeat(3, minmax(0, 1fr)); } .paired .pv-inscol { grid-column: 1 / -1; } .paired .pv-inscol .pv-stem { display: none; } }

/* paper-style glyph details (overview figure): grey right-angle lines, arrowheads into the token row, plain/bold encoder labels */
.paired .pv-fuse .ln { fill: none; stroke: #8a8f98; stroke-width: 1.7; transition: stroke .3s; }
.paired .paired-rgbs.flow .pv-fuse .ln { stroke: var(--accent); }
.paired .pv-fuse .plus { fill: #fff; stroke: #8a8f98; stroke-width: 1.7; } .paired .pv-fuse .pl { stroke: #8a8f98; stroke-width: 1.7; }
.paired .paired-rgbs.flow .pv-fuse .plus, .paired .paired-rgbs.flow .pv-fuse .pl { stroke: var(--accent); }
.paired .pv-fuse .te.rgb { fill: #ececf1; stroke: none; } .paired .pv-fuse .te.pmt { fill: #e2d6ff; stroke: none; } .paired .pv-fuse .te.c { stroke: none; }
.paired .pv-fuse text { font: 500 11.5px "Open Sans", sans-serif; text-anchor: middle; } .paired .pv-fuse text.g { fill: #6b7079; } .paired .pv-fuse text.p { fill: #4c3d70; font-weight: 800; }
.paired .pv-stem { border-left-color: #8a8f98; border-left-width: 1.7px; position: relative; }
.paired .pv-stem::before { content: ""; position: absolute; left: -5.5px; top: -1px; border: 4.5px solid transparent; border-bottom: 7px solid #8a8f98; border-top: 0; transition: border-color .3s; }
.paired .paired-rgbs.flow .pv-stem::before, .paired-left.flow .pv-inscol .pv-stem::before { border-bottom-color: var(--accent); }
.paired .pv-stack .paired-rgb { width: 74%; }

/* unbroken stems: no gap between the stem and the glyph (the glyph's line also overlaps upward) */
.paired .pv-grp { gap: 0 !important; } .paired .pv-grp .pv-thumbs, .paired .pv-grp .pv-stack { margin-top: 3px; }
.paired .pv-fuse svg { overflow: visible; }
/* stems as centred bars (a left border on a zero-width box sat ~1px off the glyph's line) */
.paired .pv-stem { width: 1.7px; border-left: 0 !important; background: #8a8f98; }
.paired .paired-rgbs.flow .pv-stem, .paired-left.flow .pv-inscol .pv-stem { background: var(--accent); }
.paired .pv-stem::before { left: -3.65px; }
/* one continuous line per input: the stem runs down into the glyph (to the ⊕ top: 23/160 of the width; to the trapezoid top: 22/100) */
.paired .pv-grp .pv-stem { position: relative; z-index: 2; } .paired .pv-grp.d .pv-stem { margin-bottom: -14.4%; } .paired .pv-grp.c .pv-stem { margin-bottom: -22%; }
/* encoder labels: less cramped (the bold "Pointmap" filled its trapezoid) */
.paired .pv-fuse text { font-size: 10.5px; } .paired .pv-fuse text.p { font-weight: 700; }

/* section 1 in the same style: RGB-only inputs (one Vision Encoder per camera) */
.paired .pv-inputs.pm.rgbonly .pv-inrow { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.05fr); }
.paired .pv-one .paired-rgb { border-radius: 6px; } .paired .pv-grp .pv-one { margin-top: 3px; }
.paired .pv-vla.pm.tok-none .pv-core { margin: 0; } .paired .pv-vla.pm.tok-bottom .pv-core { margin-top: 0; }
@media (max-width: 700px) { .paired .pv-inputs.pm.rgbonly .pv-inrow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* no text badges on the camera images / pointmaps (user) */
.paired .paired-cam { display: none !important; }

/* token rows (both, both sections) in the Instruction box colour; a little darker while predicting */
.paired .pv-vla.pm .pv-tok i, .paired .pv-vla.pm .pv-tok.in i.v { background: #f4f0ff; border-color: #d9cdfb; }
.paired .pv-vla.pm.on .pv-tok i, .paired .pv-vla.pm.on .pv-tok.in i.v, .paired .pv-vla.pm.on .pv-tok.out i { background: #e6dcff; border-color: #b9a6f5; }

/* section 1 (plain VLA): tokens and instruction grey at rest; they still glow purple when it is their turn (predicting) */
.pms.paired.vla .pv-vla.pm .pv-tok i { background: #eeeff2; border-color: #d3d5db; }
.pms.paired.vla .pv-vla.pm.on .pv-tok i { background: #e6dcff; border-color: #b9a6f5; }
.pms.paired.vla .paired-left.flow .pv-inputs.pm .pv-ins { background: #f4f0ff; border-color: #a78bfa; box-shadow: 0 0 0 3px var(--accent-soft); }
.pms.paired.vla.pmv .pv-vla.pm .pv-tok.in i.v { background: #f4f0ff; border-color: #d9cdfb; }
.pms.paired.vla.pmv .pv-vla.pm.on .pv-tok.in i.v { background: #e6dcff; border-color: #b9a6f5; }

/* Instruction always purple (both sections) */
.pms.paired.vla .pv-inputs.pm .pv-ins { background: #f4f0ff; border-color: #a78bfa; }
/* PointmapVLA (section 2): no grey apart from tokens: block, core, stems, arrows, ⊕ in purple at rest */
.pms.paired.pmv .pv-vla.pm { background: #f1edfb; border-color: #c4b5fd; } .pms.paired.pmv .pv-vla.pm .pv-core { border-color: #7c3aed; }
.pms.paired.pmv .pv-stem { background: var(--accent); } .pms.paired.pmv .pv-stem::before { border-bottom-color: var(--accent); }
.pms.paired.pmv .pv-up { background: var(--accent); } .pms.paired.pmv .pv-up::after { border-bottom-color: var(--accent); }
.pms.paired.pmv .pv-fuse .ln, .pms.paired.pmv .pv-fuse .plus, .pms.paired.pmv .pv-fuse .pl { stroke: var(--accent); }
.pms.paired.pmv .pv-chunk::after { border-top-color: var(--accent); }
/* PointmapVLA: no grey tokens either: other tokens white with a light purple border; RGB+pointmap tokens stay lavender */
.pms.paired.vla.pmv .pv-vla.pm .pv-tok i { background: #fff; border-color: #ddd3fb; }
.pms.paired.vla.pmv .pv-vla.pm .pv-tok.in i.v { background: #f4f0ff; border-color: #c9b8fb; }
.pms.paired.vla.pmv .pv-vla.pm.on .pv-tok i { background: #f7f3ff; border-color: #c4b5fd; }
.pms.paired.vla.pmv .pv-vla.pm.on .pv-tok.in i.v { background: #e6dcff; border-color: #b9a6f5; }

/* pixel inspector + 3D (section 2) */
.px-h { margin: 34px 0 6px; }
.px-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr); gap: 22px; align-items: stretch; }
.px-grid .pixel-pair { grid-template-columns: 1fr; gap: 12px; max-width: none; margin: 0; }
.px-grid .pixel-pair > div { display: grid; grid-template-columns: 1fr; } .px-grid .pixel-pair h3, .px3d-wrap h3 { font-size: 14px; margin: 0 0 6px; text-align: left; }
.px-grid .pixel-pair canvas { max-width: 300px; }
.px3d-wrap { display: flex; flex-direction: column; min-width: 0; }
.px3d { position: relative; flex: 1; min-height: 360px; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.px3d canvas, .px3d svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.px3d svg .lb { font: 600 11px "Open Sans", sans-serif; fill: #5a646b; }
.px3d svg .tag rect { fill: rgba(255,255,255,.95); stroke: #c4b5fd; } .px3d svg .tag text { font: 600 12px ui-monospace, monospace; fill: #4c1d95; }
@media (max-width: 760px) { .px-grid { grid-template-columns: 1fr; } .px-grid .pixel-pair { grid-template-columns: 1fr 1fr; } .px3d { min-height: 300px; } }

/* token-wise fusion figure (pm-fuse.js), same visual language as 2a */
.fuse-figure { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.fuse-figure figcaption { margin: 0 !important; max-width: none !important; font-size: 15px !important; }
.pf-svg { display: block; width: 100%; height: auto; max-width: 560px; margin: auto; }
.pf-svg .grid line { stroke: rgba(255,255,255,.8); stroke-width: 1; }
.pf-svg .hl { fill: rgba(124,58,237,.2); stroke: #6d28d9; stroke-width: 2.5; }
.pf-svg .cap { font: 600 13px "Open Sans", sans-serif; fill: #3a4349; text-anchor: middle; }
.pf-svg .ln { fill: none; stroke: #6d28d9; stroke-width: 1.8; }
.pf-svg .plus { fill: #fff; stroke: #6d28d9; stroke-width: 1.8; } .pf-svg .pls { stroke: #6d28d9; stroke-width: 1.8; }
.pf-svg .te.rgb { fill: #ececf1; } .pf-svg .te.pm { fill: #e2d6ff; }
.pf-svg .en { font: 500 13px "Open Sans", sans-serif; fill: #6b7079; text-anchor: middle; } .pf-svg .en.pm { fill: #4c3d70; font-weight: 700; }
.pf-svg .blk { fill: #f1edfb; stroke: #c4b5fd; stroke-width: 1.5; } .pf-svg .core { fill: #fff; stroke: #7c3aed; stroke-width: 1.6; }
.pf-svg .ct { font: 800 19px "Open Sans", sans-serif; fill: #4a4a55; text-anchor: middle; }
.pf-svg .tok { stroke-width: 1.2; transition: all .2s; }
.pf-svg .tok.rgb { fill: #f0f1f4; stroke: #c9ccd4; } .pf-svg .tok.pm { fill: #f1ecff; stroke: #c9b8fb; } .pf-svg .tok.fu, .pf-svg .tok.in { fill: #f4f0ff; stroke: #c9b8fb; }
.pf-svg .tok.on { stroke: #6d28d9; stroke-width: 2.4; } .pf-svg .tok.rgb.on { fill: #d9dbe2; } .pf-svg .tok.pm.on, .pf-svg .tok.fu.on, .pf-svg .tok.in.on { fill: #c4b5fd; }
.pf-svg .pl { font: 700 12px "Open Sans", sans-serif; fill: #b9a6f5; text-anchor: middle; pointer-events: none; } .pf-svg .pl.on { fill: #fff; }
.pf-svg .rl { font: 600 12px "Open Sans", sans-serif; fill: #5a646b; } .pf-svg .rl.p, .pf-svg .rl.f { fill: #5b21b6; } .pf-svg .rl.s { font-weight: 400; font-size: 11px; fill: #6b7079; }
@media (max-width: 760px) { .fuse-figure { grid-template-columns: 1fr; padding: 12px; } }
#fuse-fig { min-width: 0; overflow: hidden; } .fuse-figure .pf-svg { max-width: 100%; }
.fuse-figure svg.pf-svg { width: 100% !important; min-width: 0 !important; height: auto !important; }
.fuse-figure::before { display: none !important; content: none !important; }

/* 2a: token-wise fusion on the left camera: shared 2×2 patch grid, walking patch, matching input token */
.paired .pv-thumbs .paired-rgb { position: relative; }
.paired .pgrid { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent calc(50% - .5px), rgba(255,255,255,.85) calc(50% - .5px), rgba(255,255,255,.85) calc(50% + .5px), transparent calc(50% + .5px)), linear-gradient(0deg, transparent calc(50% - .5px), rgba(255,255,255,.85) calc(50% - .5px), rgba(255,255,255,.85) calc(50% + .5px), transparent calc(50% + .5px)); }
.paired .phl { position: absolute; width: 50%; height: 50%; box-sizing: border-box; border: 2.5px solid #6d28d9; background: rgba(124,58,237,.18); border-radius: 3px; pointer-events: none; transition: left .25s, top .25s; }
.pms.paired .pv-vla.pm .pv-tok i.pk { background: #c4b5fd !important; border-color: #6d28d9 !important; border-width: 1.6px; }


.pm-code { margin: 0; padding: 12px 14px; border-radius: 10px; background: #1e1b2e; color: #ede9fe; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-x: auto; }
.pm-code .c { color: #a8a2c0; } .pm-code-note { margin-top: 6px !important; font-size: 12.5px !important; color: var(--muted) !important; }
@media (max-width: 760px) { .pm-more-body { grid-template-columns: 1fr; } }

/* section 2 subsection: token-wise addition animation + code (pm-fuse-anim.js) */
.fuse-sub { margin-top: 34px; } .fuse-sub h3 { margin: 0 0 6px; }
.fuse-sub-fig { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; margin: 14px 0 0; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.fuse-sub-fig > * { min-width: 0; }
.pfa { display: block; width: 100%; height: auto; max-width: 460px; margin: auto; }
.pfa .grid { stroke: rgba(255,255,255,.8); stroke-width: 1; fill: none; }
.pfa .hl { fill: rgba(124,58,237,.22); stroke: #6d28d9; stroke-width: 2.5; transition: x .3s, y .3s; }
.pfa .cap { font: 600 12.5px "Open Sans", sans-serif; fill: #3a4349; text-anchor: middle; }
.pfa .te.rgb { fill: #ececf1; } .pfa .te.pm { fill: #e2d6ff; }
.pfa .en { font: 500 12.5px "Open Sans", sans-serif; fill: #6b7079; text-anchor: middle; } .pfa .en.pm { fill: #4c3d70; font-weight: 700; }
.pfa .ln { fill: none; stroke: #6d28d9; stroke-width: 1.8; } .pfa .ln.j { stroke: #d6cdf5; transition: stroke .3s; }
.pfa .plus { fill: #fff; stroke: #d6cdf5; stroke-width: 1.8; transition: all .3s; } .pfa .pls { stroke: #d6cdf5; stroke-width: 1.8; transition: stroke .3s; }
.pfa .tk { stroke-width: 1.6; transition: fill .35s, stroke .35s, opacity .35s; opacity: .35; }
.pfa .tk.rgb { fill: #fff; stroke: #c9ccd4; } .pfa .tk.pm { fill: #fff; stroke: #c9b8fb; } .pfa .tk.sum { fill: #fff; stroke: #c4b5fd; }
.pfa.s1 .tk.rgb { fill: #d9dbe2; stroke: #8a8f98; opacity: 1; } .pfa.s1 .tk.pm { fill: #c4b5fd; stroke: #6d28d9; opacity: 1; }
.pfa.s2 .ln.j, .pfa.s2 .pls { stroke: #6d28d9; } .pfa.s2 .plus { stroke: #6d28d9; fill: #ede9fe; }
.pfa.s3 .tk.sum { fill: #a78bfa; stroke: #6d28d9; opacity: 1; }
.pfa .lbl { font: 600 11.5px "Open Sans", sans-serif; fill: #6b7079; opacity: .45; transition: opacity .3s; } .pfa.s1 .lbl { opacity: 1; } .pfa .lbl.s { opacity: .45; } .pfa.s3 .lbl.s { opacity: 1; fill: #4c1d95; }
.pfa .blk { fill: #f1edfb; stroke: #c4b5fd; stroke-width: 1.5; } .pfa .core { fill: #fff; stroke: #7c3aed; stroke-width: 1.6; }
.pfa .ct { font: 800 17px "Open Sans", sans-serif; fill: #4a4a55; text-anchor: middle; }
.pfa .row { fill: #fff; stroke: #ddd3fb; stroke-width: 1.1; transition: fill .3s, stroke .3s; } .pfa .row.done { fill: #f4f0ff; stroke: #c9b8fb; } .pfa .row.on { fill: #a78bfa; stroke: #6d28d9; stroke-width: 2; }
@media (max-width: 760px) { .fuse-sub-fig { grid-template-columns: 1fr; padding: 12px; } }
.fuse-sub > h3 { max-width: 820px; margin-left: auto; margin-right: auto; }
.fuse-sub-code .fuse-txt { margin: 0 0 12px; font-size: 15px; line-height: 1.65; color: #3a4349; }
.fuse-sub-code .pm-code { margin-top: 16px; }
/* fusion subsection: only the animation sits in a box; text + code beside it, unboxed */
.fuse-sub-fig { background: none !important; border: 0 !important; padding: 0 !important; }
.fuse-sub-fig #fuse-anim { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
/* section 2 subsections: What pointmaps contain / How pointmaps are constructed */
.pm-sub { margin-top: 38px; } .pm-sub > h3 { max-width: 820px; margin: 0 auto 6px; } .pm-sub > .section-copy { max-width: 820px; margin: 0 auto 14px; }
/* pixel inspector, compact: RGB | pointmap | 3D in one row, 3D cropped to the same height */
#pixel-inspector { padding: 14px 16px; }
#pixel-inspector .visual-toolbar { margin-bottom: 8px; font-size: 12.5px; }
#pixel-inspector .px-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.55fr); gap: 12px; align-items: start; }
#pixel-inspector .px-grid .pixel-pair { display: contents; }
#pixel-inspector .px-grid .pixel-pair canvas { max-width: none; width: 100%; }
#pixel-inspector .px-grid .pixel-pair h3, #pixel-inspector .px3d-wrap h3 { font-size: 13px; margin: 0 0 5px; }
#pixel-inspector .px3d { flex: none; min-height: 0; aspect-ratio: 1.55; }
#pixel-readout { margin-top: 8px !important; font-size: 12.5px !important; }
#pixel-inspector figcaption { margin-top: 4px !important; font-size: 12.5px !important; }
@media (max-width: 760px) { #pixel-inspector .px-grid { grid-template-columns: 1fr 1fr; } #pixel-inspector .px3d-wrap { grid-column: 1 / -1; } }
#pixel-inspector .visual-toolbar { justify-content: space-between; }
.px-tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; gap: 2px; }
.px-tabs button { font: 600 13px "Open Sans", sans-serif; border: 0; background: none; color: var(--muted); padding: 5px 12px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.px-tabs button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cc); }
.px-tabs button.on { background: var(--accent-soft); color: var(--accent-ink); }
.px-auto { font: 600 12.5px "Open Sans", sans-serif; border: 1px solid var(--line); background: #fff; color: var(--muted); padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.px-auto.on { color: var(--accent-ink); border-color: #c4b5fd; }
.px3d svg { pointer-events: none; } .px3d canvas { touch-action: none; }
.px3d-hint { font: 500 11.5px "Open Sans", sans-serif; color: var(--muted); margin-left: 6px; font-weight: 400; }
/* How pointmaps are constructed: opt-in toggle */
.pm-sub.toggle { margin-top: 34px; } .pm-sub.toggle > details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.pm-sub.toggle summary { cursor: pointer; list-style: none; padding: 14px 18px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pm-sub.toggle summary::-webkit-details-marker { display: none; }
.pm-sub.toggle summary::before { content: "+"; align-self: center; display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-ink); font-weight: 800; }
.pm-sub.toggle details[open] summary::before { content: "−"; }
.pm-sub.toggle summary b { font-size: 18px; } .pm-sub.toggle summary span { color: var(--muted); font-size: 14px; }
.pm-sub.toggle .construct-body { padding: 0 18px 18px; }
.construct-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; margin-bottom: 14px; }
.construct-top p { margin: 0 0 10px; font-size: 15px; line-height: 1.65; color: #3a4349; } .construct-top > * { min-width: 0; }
@media (max-width: 760px) { .construct-top { grid-template-columns: 1fr; } }
#pointmap-construction.pm-sub { border-radius: 0 !important; overflow: visible !important; border: 0 !important; background: none !important; padding: 0 !important; }
/* pixel inspector, stacked: RGB over pointmap on the left, large 3D on the right (user's pick) */
#pixel-inspector .px-grid { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr) !important; gap: 14px !important; align-items: stretch !important; }
#pixel-inspector .px-grid .pixel-pair { display: grid !important; grid-template-columns: 1fr !important; gap: 8px !important; }
#pixel-inspector .px3d-wrap { display: flex; flex-direction: column; } #pixel-inspector .px3d { flex: 1 !important; aspect-ratio: auto !important; min-height: 300px !important; }
@media (max-width: 760px) { #pixel-inspector .px-grid { grid-template-columns: 1fr !important; } #pixel-inspector .px-grid .pixel-pair { grid-template-columns: 1fr 1fr !important; } }
/* construction: code lines appear with their step; current step highlighted */
.pm-code.steps .ln { display: block; opacity: .18; transition: opacity .35s, background .35s; border-radius: 4px; margin: 0 -6px; padding: 0 6px; }
.pm-code.steps .ln.shown { opacity: 1; } .pm-code.steps .ln.cur { background: rgba(167,139,250,.22); }
/* construction step bar: always one compact horizontal row (no vertical stacking) */
#build-stage.pmx .flow { display: flex !important; flex-direction: row !important; flex-wrap: nowrap; align-items: center; gap: 6px; overflow-x: auto; }
#build-stage.pmx .node { width: auto !important; flex: 0 1 auto; font-size: 13px; padding: 4px 10px 4px 4px; white-space: nowrap; }
#build-stage.pmx .arrow { flex: 1 1 40px !important; min-width: 40px; max-width: 120px; flex-direction: column !important; gap: 0 !important; }
#build-stage.pmx .arrow em { font-size: 11.5px; } #build-stage.pmx .arrow b { width: 100% !important; height: 2px !important; order: 0 !important; }
#build-stage.pmx .arrow b::after { right: -1px !important; top: -5px !important; bottom: auto !important; border: 6px solid transparent !important; border-left: 8px solid #b9bcc8 !important; border-right: 0 !important; }
#build-stage.pmx .arrow.on b::after { border-left-color: var(--accent) !important; }
@media (max-width: 720px) { #build-stage.pmx .node span { display: none; } #build-stage.pmx .arrow em { display: none; } }
.construct-top > div, .construct-body, #pointmap-construction details { min-width: 0; max-width: 100%; }
.pm-code { max-width: 100%; } .pm-code code { display: block; min-width: max-content; } .pm-code.steps .ln { margin: 0; }
@media (max-width: 760px) { .pm-sub.toggle summary span { display: none; } .pm-code { font-size: 11.5px; } }
#pointmap-construction.pm-sub { display: block !important; width: auto !important; max-width: 100%; } #construct-code { display: block; }
/* construction: 3D stage left, step explanation + code right */
.construct-top.one { grid-template-columns: 1fr; max-width: 900px; }
#build-stage .cons-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; padding: 14px 18px 16px; align-items: start; }
#build-stage .cons-left, #build-stage .cons-right { min-width: 0; }
#build-stage .cons-right .capt { margin: 0 0 14px; font-size: 16px; line-height: 1.55; min-height: 6.5em; }
#build-stage .cons-right .capt code.eq { display: inline-block; margin: 10px 0 0; }
#build-stage .cons-right .pm-code { font-size: 12.5px; }
#build-stage .pmx-steps { padding-bottom: 12px; }
@media (max-width: 760px) { #build-stage .cons-grid { grid-template-columns: 1fr; padding: 10px; } #build-stage .cons-right .capt { min-height: 0; } }
#build-stage .cons-right .pm-code { font-size: 11.5px; }
/* corpus viewer: Robot data | 3D spatial QA switch; robot scenes = dataset tabs + numbered chips; side = RGB | pointmap per camera */
.corpus-switch { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin: 6px 0 14px; flex-wrap: wrap; }
.corpus-switch button { font: 700 14px "Open Sans", sans-serif; border: 0; background: none; color: var(--muted); padding: 8px 14px; border-radius: 10px; cursor: pointer; text-align: left; }
.corpus-switch button small { display: block; font-weight: 400; font-size: 11.5px; }
.corpus-switch button.on { background: var(--accent-soft); color: var(--accent-ink); }
.pms-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; }
.pms-chips button { font: 600 12.5px "Open Sans", sans-serif; width: 32px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; }
.pms-chips button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.pms-side.pairs { display: grid !important; grid-template-columns: 1fr; gap: 8px; align-content: start; }
.pms-side.pairs .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pms-side.pairs figure { width: auto !important; max-width: none !important; margin: 0; }
.pms-side.pairs figure img { width: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 6px; }
.pms-side.pairs { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 12px !important; }
.pms-side.pairs .pair { gap: 4px; } .pms-side.pairs figcaption { font-size: 11px; margin-top: 2px; }
@media (max-width: 760px) { .pms-side.pairs { grid-template-columns: 1fr !important; } }
.rollouts { margin: 10px 0 30px; } .rl-tasks button { width: auto; padding: 0 10px; }
.rl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .rl-grid video { width: 100%; border-radius: 8px; background: #000; display: block; }
@media (max-width: 760px) { .rl-grid { gap: 4px; } }
/* robot-data episode player (pm-robot-ep.js) */
.pms.pre .pre-stage { aspect-ratio: 16 / 9; } .pms.pre .pms-bar { position: static; border: 0; padding: 8px 0; background: none; }
.pms.pre .pms-bar input { flex: 1; min-width: 80px; accent-color: var(--accent); }

.rl-sub { margin-top: 6px; } .rl-sub button { font-size: 12px; opacity: .9; }
.rl-select { max-width: 100%; font: inherit; font-size: 13px; padding: 6px 10px; border: 1px solid var(--line, #ddd); border-radius: 8px; background: var(--bg, #fff); color: inherit; }
.rl-marquee { overflow: hidden; margin: 10px 0 14px; }
.rl-track { display: flex; gap: 8px; width: max-content; animation: rl-drift linear infinite; }
.rl-marquee:hover .rl-track { animation-play-state: paused; }
.rl-track figure { margin: 0; width: 220px; flex: none; cursor: pointer; }
.rl-track video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #000; display: block; }
.rl-track figcaption { font-size: 12px; line-height: 1.3; margin-top: 4px; color: var(--muted, #666); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes rl-drift { to { transform: translateX(calc(-50% - 4px)); } }
@media (max-width: 760px) { .rl-track figure { width: 150px; } }
@media (prefers-reduced-motion: reduce) { .rl-track { animation: none; } .rl-marquee { overflow-x: auto; } }
.rl-ctl { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 10px 0 4px; } .rl-ctl .rl-sub { margin: 0; }
.rl-marquee.still .rl-track { animation: none; width: auto; justify-content: center; }
.rl-marquee.still figure { flex: 1 1 0; width: auto; max-width: 33%; cursor: default; }
/* real-world comparison, 3D HAMSTER style */
.rr { margin-top: 22px; }
.rr-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.rr-head .tabs { margin: 0; justify-content: flex-start; } .rr-head .toggle { margin: 0; }
.rr-cond { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.rr-prompt { margin: 12px 0 14px; padding: 9px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; text-align: center; font-size: 15px; color: #3a4349; }
.rr-prompt span { display: inline-block; margin-right: 10px; padding: 2px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-ink); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; vertical-align: 2px; }
.rr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rr-media { position: relative; overflow: hidden; border-radius: 10px; box-shadow: 0 6px 18px rgba(20, 20, 40, .10); background: #000; }
.rr-cell.ours .rr-media { box-shadow: 0 0 0 2px var(--accent), 0 6px 18px rgba(20, 20, 40, .10); }
.rr-media video, .rr-media .none { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.rr-media .none { background: #f3f5f4; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #a3a7b3; }
.rr-out { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; }
.rr-out.ok { background: var(--accent); } .rr-out.fail { background: #c0392b; }
.rr-label { margin-top: 8px; text-align: center; font-size: 14px; font-weight: 700; color: #3a4349; }
.rr-cell.ours .rr-label { color: var(--accent-ink); } .rr-label em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 4px; }
.rr-foot { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { .rr-grid { gap: 10px; } .rr-label { font-size: 12.5px; } .rr-prompt { text-align: left; } }
.rr-task + .rr-task { margin-top: 30px; }
.rr-task h4 { margin: 0 0 8px; font-size: 18px; color: var(--ink); } .rr-task h4 span { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 8px; }
.rr-task .rr-prompt { margin: 0 0 12px; text-align: left; }
.rr-task .rr-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .rr-task .rr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .rr-task h4 span { display: block; margin: 2px 0 0; } }
.rr-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; } .rr-head h4 { margin: 0; font-size: 18px; color: var(--ink); }
.rr-dots { display: flex; gap: 8px; } .rr-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #d6d3e3; cursor: pointer; } .rr-dots button.on { background: var(--accent); width: 22px; border-radius: 5px; }
.rr-pane { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; animation: rr-fade .5s ease; } .rr-pane[hidden] { display: none; }
@keyframes rr-fade { from { opacity: 0; } to { opacity: 1; } }
.rr-col { min-width: 0; display: flex; flex-direction: column; } .rr-col .rr-cond { margin: 0 0 6px; font-size: 14px; } .rr-col .rr-cond b { color: var(--ink); }
.rr-col .rr-prompt { margin: 0 0 10px; text-align: left; font-size: 14.5px; flex: 1; }
.rr-col .rr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .rr-pane { grid-template-columns: 1fr; gap: 18px; } }
@media (prefers-reduced-motion: reduce) { .rr-pane { animation: none; } }
.rr-pane .rr-shared { grid-column: 1 / -1; margin: 0; text-align: left; } .rr-col .rr-cond { flex: 1; }
.rr-col .rr-grid { gap: 8px; } .rr-col .rr-label { font-size: 13px; margin-top: 5px; } .rr-col .rr-out { font-size: 11px; top: 7px; left: 7px; padding: 2px 8px; }
/* full benchmark tables */
.table-wrap.full { overflow-x: auto; margin: 8px 0 6px; } .table-wrap.full.narrow { max-width: 560px; }
.table-wrap.full table { width: 100%; font-size: 14px; } .table-wrap.full th, .table-wrap.full td { padding: 6px 8px; white-space: nowrap; }
.table-wrap.full th { line-height: 1.3; vertical-align: bottom; }
.table-wrap.full tr.grp td { text-align: left; font-style: italic; color: var(--muted); font-size: 13px; padding-top: 10px; background: transparent; }
.table-wrap.full td, .table-wrap.full th { line-height: 1.4; padding: 5px 10px; } .table-wrap.full tr.grp td { padding-top: 12px; }
.table-wrap.full table { min-width: 0; } .table-wrap.full th, .table-wrap.full td { padding: 5px 7px; } .table-wrap.full td:not(:first-child), .table-wrap.full th:not(:first-child) { text-align: center; }
/* benchmark summary: three stat tiles */
.bench-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 6px 0 22px; }
.bench-stats > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px 16px; text-align: center; }
.bench-stats span { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.bench-stats b { display: block; margin: 4px 0 6px; font-size: 40px; line-height: 1.1; font-weight: 800; color: var(--accent); letter-spacing: -1px; }
.bench-stats em { display: block; font-style: normal; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
@media (max-width: 560px) { .bench-stats { gap: 8px; } .bench-stats > div { padding: 12px 6px; } .bench-stats b { font-size: 26px; } .bench-stats em { font-size: 12px; } }
.tables-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.table-wrap.full tr.nc td { color: #9aa0ab; } .table-wrap.full td small { color: var(--muted); font-size: 11px; margin-left: 2px; }
@media (max-width: 760px) { .tables-2 { grid-template-columns: 1fr; } }
/* short tables first; the full appendix tables open on demand */
.full-tables { margin-top: 18px; } .full-tables > summary { cursor: pointer; font-weight: 700; color: var(--accent-ink); padding: 10px 0; border-top: 1px solid var(--line); list-style-position: inside; }
.full-tables[open] > summary { margin-bottom: 6px; }
.tables-2 > div { min-width: 0; }
/* occlusion, redrawn: Table 3 as a bar chart, then one occluded case at a time as camera strips */
.occl { background: transparent !important; border: 0 !important; padding: 0 !important; }
.oc-leg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.oc-leg i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: -8px; vertical-align: -1px; } .oc-leg i.ours { background: var(--accent); } .oc-leg i.base { background: #b7bac4; }
.oc-leg em { font-style: normal; font-weight: 400; color: var(--muted); }
.oc-chart { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 10px 0 26px; padding: 14px 16px 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.oc-bars { display: flex; align-items: flex-end; justify-content: center; gap: 10px; height: 120px; border-bottom: 1.5px solid #d6d6de; }
.oc-bar { position: relative; width: 44px; border-radius: 6px 6px 0 0; } .oc-bar.ours { background: var(--accent); } .oc-bar.base { background: #b7bac4; }
.oc-bar span { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 700; color: var(--ink); }
.oc-bar.ours span { color: var(--accent-ink); }
.oc-lab { text-align: center; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-top: 6px; }
.oc-pane { animation: rr-fade .5s ease; } .oc-pane[hidden] { display: none; }
.oc-desc { margin: 0 0 8px; font-size: 15px; color: #3a4349; }
.oc-views { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); text-align: center; }
.oc-views .off { color: #b91c1c; }
.oc-row + .oc-row { margin-top: 12px; } .oc-row .rr-media video { aspect-ratio: 972 / 240; object-fit: cover; }
.oc-row .rr-label { text-align: left; margin-top: 6px; }
@media (max-width: 560px) { .oc-bar { width: 30px; } .oc-bars { height: 90px; } .oc-lab { font-size: 12px; } .oc-chart { gap: 8px; padding: 12px 8px 8px; } }
.rr-switch { margin: 0 0 14px; }
.rr-out.ok { background: #16a34a; }
/* demonstration efficiency as a line chart */
.demo-eff { width: 100%; height: auto; display: block; overflow: visible; }
.demo-eff .gl { stroke: #e6e4ee; stroke-width: 1; } .demo-eff .ax { font: 12px "Open Sans", sans-serif; fill: var(--muted); }
.demo-eff .ln { fill: none; stroke-width: 3; stroke-linejoin: round; } .demo-eff .ln.rgb { stroke: #b4bbb7; } .demo-eff .ln.pm { stroke: var(--accent); }
.demo-eff .pt { stroke: #fff; stroke-width: 2; } .demo-eff .pt.rgb { fill: #9aa39e; } .demo-eff .pt.pm { fill: var(--accent); }
.demo-eff .vl { font: 700 13px "Open Sans", sans-serif; } .demo-eff .vl.rgb { fill: #6b736f; } .demo-eff .vl.pm { fill: var(--accent-ink); }
.demo-eff .gap { stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 3 3; opacity: .55; } .demo-eff .gapl { font: 600 11.5px "Open Sans", sans-serif; fill: var(--accent-ink); }
.demo-eff .ref { stroke: #9aa39e; stroke-width: 1.2; stroke-dasharray: 6 5; } .demo-eff .refl { font: 600 11px "Open Sans", sans-serif; fill: #6b736f; }
#occl-3d .pms-chips button, #occl-3d .chips button { width: auto; min-width: 0; padding: 0 12px; white-space: nowrap; }
.ep-instr { margin: 4px 0 6px; text-align: left; font-size: 16px; color: var(--ink); } #robot-scene .fr { font-size: 13px; color: var(--muted); }
/* user (2026-10-19): sections 1 and 2 merged; RGB-only VLA (left) vs PointmapVLA (right), side by side.
   Review pass: left all grey; right purple only on the pointmap path (pointmap -> encoder -> fused input tokens); short parallel
   claims; small model box, bigger inputs; one shared control bar under both. */
.vs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: 26px; }
.vs-col { margin: 0; min-width: 0; display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
.vs-col > div { display: flex; } .vs-col > div > .pms { flex: 1; }
.vs-head { margin: 0; font-size: 22px; font-weight: 800; }
section .wrap p.vs-claim { margin: 2px 0 0; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ink); }
section .wrap p.vs-in { margin: 2px 0 12px; font-size: 14.5px; color: var(--muted); } .vs-in b { color: #6d28d9; }
.vs-col:first-child .vs-head { color: #55525f; }
section .wrap p.vs-caption { max-width: 900px; margin: 12px auto 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
/* compact player: no output-token row, slim model box, inputs get the room */
.vs-grid .pms.paired { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
.vs-grid .paired .pv-chunk::after { display: none; }
.vs-grid .paired .pv-chunk { padding: 5px 8px; } .vs-grid .paired .pv-chunk b { font-size: 13px; margin-bottom: 3px; }
.vs-grid .paired .pv-up { height: 12px; }
.vs-grid .paired .pv-vla .pv-tok.out { display: none; }
.vs-grid .paired .pv-vla.pm { padding: 6px 8px; } .vs-grid .paired .pv-vla.pm .pv-core { padding: 4px 8px; margin: 0 0 6px; }
.vs-grid .paired .pv-vla.pm .pv-core b { font-size: 18px; } .vs-grid .paired .pv-vla.pm .pv-core small { font-size: 11px; }
.vs-grid .paired .pv-inputs .paired-title { display: none; }
.vs-grid .paired .pv-inputs { display: flex; flex-direction: column; } .vs-grid .paired .pv-inputs .pv-inrow { flex: 1; align-items: stretch; }   /* equalised height goes into the arrows */
.vs-grid .paired .pv-inputs.pm.rgbonly .pv-inrow { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.05fr); }
.vs-grid .paired .pv-inputs.pm:not(.rgbonly) .pv-inrow { grid-template-columns: minmax(0, 2.1fr) minmax(0, .85fr) minmax(0, .85fr) minmax(0, 1.05fr); }
.vs-grid .pms.paired .pms-stage { height: 280px; min-height: 0; }
.vs-grid .pms-bar { display: none !important; }
.vs-bar .pms-bar { display: flex; position: static; max-width: 760px; margin: 14px auto 0; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; background: #fff; }
/* left: grey only */
#problem-stage { --accent: #7b7f8c; --accent-soft: #ececf1; --accent-ink: #55525f; }
#problem-stage .pms { box-shadow: 0 6px 18px rgba(0, 0, 0, .05); }
#problem-stage .pv-chunk.on { border-color: #c9cbd3; box-shadow: none; }
#problem-stage .pv-vla.pm, #problem-stage .pv-vla.pm.on { background: #f5f5f7; border-color: #d6d7dd; box-shadow: none; animation: none; }
#problem-stage .pv-vla.pm .pv-core, #problem-stage .pv-vla.pm.on .pv-core { border-color: #9a9ca6; }
#problem-stage .pv-tok i, #problem-stage .pv-vla.pm.on .pv-tok i { background: #eeeff2 !important; border-color: #d3d5db !important; }
#problem-stage .pv-inputs, #problem-stage .paired-left.flow .pv-inputs { border-color: var(--line); box-shadow: none; }
#problem-stage .pv-ins, #problem-stage .pv-inputs.pm .pv-ins, #problem-stage .paired-left.flow .pv-inputs.pm .pv-ins { background: #f6f6f8; border-color: #d9dae0; }
#problem-stage .paired-title span { color: #55525f; background: #ececf1; }
#problem-stage .pv-fuse text { fill: #6b7079 !important; }
#problem-stage .pv-chunk i.lit { background: #6b6f7c; color: #fff; }   /* left stays grey; right keeps the purple model box and action chunk (user) */
/* both: neutral action chunk (the difference is in the inputs, not the outputs) */
/* right: neutral model box; purple stays on pointmaps, the pointmap encoder, the fusion and the fused input tokens */
#pm-stage-2a .pv-vla.pm .pv-tok.in i.t { background: #eeeff2; border-color: #d3d5db; }
#pm-stage-2a .pv-vla.pm .pv-tok.in i.v { background: #ddd0ff !important; border-color: #9f7aea !important; }
#pm-stage-2a .pv-ins, #pm-stage-2a .pv-inputs.pm .pv-ins, #pm-stage-2a .paired-left.flow .pv-inputs.pm .pv-ins { background: #f6f6f8; border-color: #d9dae0; }
#pm-stage-2a .pv-inputs, #pm-stage-2a .paired-left.flow .pv-inputs { border-color: var(--line); box-shadow: none; }
#pm-stage-2a .paired-rgb.pm { outline: 2px solid #8b5cf6; outline-offset: 1px; }
/* top-to-bottom flow (user: the bottom-up diagram then a jump down to the 3D output read oddly):
   inputs -> encoders -> model -> action chunk -> 3D actions. The diagram column is mirrored vertically and every
   content block (images, text boxes, the model label, encoder labels) is mirrored back, so arrows point down. */
.vs-grid .paired .paired-left { transform: scaleY(-1); }
.vs-grid .paired .paired-left .paired-rgb, .vs-grid .paired .paired-left .pv-ins, .vs-grid .paired .paired-left .pv-chunk,
.vs-grid .paired .paired-left .pv-core { transform: scaleY(-1); }
.vs-grid .paired .paired-left .pv-fuse svg text { transform-box: fill-box; transform-origin: center; transform: scaleY(-1); }
.vs-grid .paired .paired-right { position: relative; padding-top: 18px; }
.vs-grid .paired .paired-right::before { content: ""; position: absolute; left: 50%; top: -10px; height: 22px; width: 1.7px; background: #8a8f98; }
.vs-grid .paired .paired-right::after { content: ""; position: absolute; left: calc(50% - 4px); top: 10px; border: 4.75px solid transparent; border-top: 7px solid #8a8f98; border-bottom: 0; }
@media (max-width: 900px) {
  .vs-grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 32px; } .vs-col { grid-row: auto; display: block; }
}

/* layout variants (2026-10-19 preview pages index_A/B/C.html) */
/* user (2026-10-19): sections 1 and 2 merged into one player that alternates RGB-only VLA / PointmapVLA (was side by side: too bulky) */
.vs-fig { max-width: 1040px; margin-inline: auto; }
.vs-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(440px, 100%); margin: 0 auto 18px; padding: 4px; border-radius: 999px; background: #efedf5; border: 1px solid var(--line); }
.vs-toggle button { position: relative; z-index: 1; border: 0; background: none; font: 700 15px "Open Sans", sans-serif; color: var(--muted); padding: 9px 14px; border-radius: 999px; cursor: pointer; transition: color .4s; white-space: nowrap; }
.vs-toggle button em { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .75; margin-left: 3px; }
.vs-toggle button.on { color: #fff; }
.vs-toggle .thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; overflow: hidden; background: #7a7e8c; box-shadow: 0 2px 8px rgba(40, 18, 80, .18); transition: transform .55s cubic-bezier(.65, 0, .35, 1), background .55s; }
.vs-toggle[data-k="1"] .thumb { transform: translateX(100%); background: #6d28d9; }
.vs-toggle .thumb i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: rgba(255, 255, 255, .75); }
.vs-toggle.auto .thumb i { animation: vs-prog 9s linear forwards; }
.vs-fig:hover .vs-toggle .thumb i { animation-play-state: paused; }
@keyframes vs-prog { to { width: 100%; } }
section .wrap .vs-copies { max-width: var(--text-width); margin: 0 auto 20px; }
.vs-copies, .vs-stack { display: grid; } .vs-copies > *, .vs-stack > div { grid-area: 1 / 1; }
.vs-copies > * { transition: opacity .45s ease, visibility .45s; } .vs-copies > .off { opacity: 0; visibility: hidden; }
.vs-stack { position: relative; } .vs-stack > .off { visibility: hidden; pointer-events: none; }
.vs-stack > .wipe { z-index: 2; animation: vs-wipe 1.2s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes vs-wipe { from { clip-path: inset(0 100% 0 0 round 18px); } to { clip-path: inset(0 0 0 0 round 18px); } }
.vs-edge { position: absolute; z-index: 3; top: -6px; bottom: -6px; left: 0; width: 4px; margin-left: -2px; border-radius: 4px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, #c4b5fd, #7c3aed 50%, #c4b5fd); box-shadow: 0 0 14px 4px rgba(124, 58, 237, .55), 0 0 40px 12px rgba(167, 139, 250, .35); }
.vs-stack.wiping .vs-edge { animation: vs-edge 1.2s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes vs-edge { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.vs-copies p.vs-copy { font-size: 16.5px !important; line-height: 1.65; margin: 0 !important; }
.vs-stack > div { display: flex; } .vs-stack > div > .pms { flex: 1; }
@media (max-width: 760px) { .vs-toggle button { font-size: 13.5px; padding: 8px 8px; } .vs-toggle button em { display: none; } }
@media (prefers-reduced-motion: reduce) { .vs-copies > * { transition: none; } .vs-stack > .wipe, .vs-stack.wiping .vs-edge { animation-duration: 1ms; } .vs-toggle .thumb { transition: none; } }
/* A: 3D only. Each column = input strip over its 3D view (no model box / action chunk / encoders) */
.vs-3d .paired .pv-chunk, .vs-3d .paired .pv-up, .vs-3d .paired .pv-vla, .vs-3d .paired .pv-fuse, .vs-3d .paired .pv-stem { display: none !important; }
.vs-3d .pms.paired { gap: 10px; }
.vs-3d .pms.paired .pms-stage { height: 320px; }
/* C: diagrams only (no 3D view) */
.vs-diag .paired .paired-right { display: none; }

/* Analysis as a 2x2 grid of cards (user, 2026-10-19) */
.ana-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ana-card { min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 6px 20px rgba(40, 18, 80, .06); }
.ana-card h4 { margin: 0; font-size: 19px; }
section .wrap .ana-card p.ana-take { margin: 0; font-size: 15.5px; line-height: 1.6; color: #3a4349; }
section .wrap .ana-card p.ana-detail { margin: auto 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.ana-card .bars, .ana-card .table-wrap { margin: 2px 0 0; }
.ana-card .table-wrap table { min-width: 0; width: 100%; font-size: 14px; }
.ana-card .demo-eff { max-width: 420px; margin: 0 auto; }
.ana-card .legend { margin-top: -4px; }
@media (max-width: 860px) { .ana-grid { grid-template-columns: 1fr; } .ana-card { padding: 18px; } }
.ana-card .bars { gap: 12px; } .ana-card .bar { grid-template-columns: 200px 1fr 58px; }
.ana-card .table-wrap td, .ana-card .table-wrap th { padding: 7px 10px; line-height: 1.35; }
@media (max-width: 640px) { .ana-card .bar { grid-template-columns: 120px 1fr 50px; } }
@media (max-width: 640px) { .ana-card .table-wrap { overflow-x: auto; } .ana-card .table-wrap table { font-size: 13px; } .ana-card .table-wrap td, .ana-card .table-wrap th { padding: 6px 7px; } }
/* Analysis v2: every card is a chart in the same vocabulary (grey = baseline, purple = ours), so the four cards fill evenly */
.ana-card .bars { gap: 12px; margin: 4px 0 0; } .ana-card .bar { grid-template-columns: 205px 1fr 58px; }
.ana-card .bar .track { height: 22px; }
.bars.pairs .bar { align-items: center; } .bars.pairs .tracks { display: grid; gap: 3px; } .bars.pairs .vals { display: grid; gap: 3px; }
.bars.pairs .track { height: 13px !important; } .bars.pairs .track.none { background: transparent; }
.bars.pairs .track.a .fill { background: #b7c1bb; } .bars.pairs .track.b .fill { background: #c4b5fd; }
.bars.pairs .bar.hi .track.b .fill { background: var(--accent); }
.bars.pairs .val { font-size: 12.5px; line-height: 13px; font-weight: 600; } .bars.pairs .val.a { color: #6b736f; } .bars.pairs .bar.hi .val.b { color: var(--accent-ink); font-weight: 800; }
.bars.pairs .bar.hi .lbl { color: #3a4349; font-weight: 400; } .bars.pairs .bar.ours .lbl { font-weight: 800; color: var(--accent-ink); }
.ana-card .legend { flex-wrap: wrap; margin-top: 0; } .ana-card .legend em { font-style: normal; font-size: 12.5px; }
.legend i.hi2 { background: #c4b5fd; }
section .wrap .ana-card p.ana-detail { margin-top: auto; padding-top: 4px; }
@media (max-width: 640px) { .ana-card .bar { grid-template-columns: 112px 1fr 48px; } }
.bars.pairs .track.none .fill { display: none; }
.ana-card > .bars { flex: 1; align-content: space-evenly; }   /* bars spread over the card height, so shorter charts still fill the card */
/* Analysis v3 (user): the three ablations as the paper's tables (Tables 6, 5, 7), demonstration efficiency stays a chart */
.ana-card > .table-wrap.paper { margin: 4px 0 0; }   /* tables sit right under the takeaway (user: centred looked too low) */
.ana-card .table-wrap.paper table { font-size: 15px; } .ana-card .table-wrap.paper td small { color: #9a9ca6; font-size: 11.5px; margin-left: 1px; }
.ana-card .table-wrap.paper th, .ana-card .table-wrap.paper td { padding: 8px 12px; text-align: center; } .ana-card .table-wrap.paper td:first-child, .ana-card .table-wrap.paper th:first-child { text-align: left; }
.ana-card .table-wrap.paper tr.sep td { border-top: 1px solid var(--line); }
.ana-card .table-wrap.paper thead tr + tr th { font-weight: 600; font-size: 13px; color: var(--muted); padding-top: 0; }
section .wrap .ana-card p.tab-src { margin: -4px 0 0; font-size: 12.5px; color: var(--muted); }
/* spatial-supervision card (user: too much empty space): roomier rows, Real split into Seen / Unseen, light group header;
   the demonstration chart beside it a little smaller so the row is shorter */
.ana-card .table-wrap.paper thead tr.grp th { border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.ana-card .table-wrap.paper thead tr.grp th[rowspan] { border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.ana-card.sup .table-wrap.paper td { padding: 15px 10px; font-size: 16px; }
.ana-card.sup .table-wrap.paper th { padding-left: 8px; padding-right: 8px; }
.ana-card .demo-eff { max-width: 370px; }

/* hero (user, 2026-10-19): TL;DR line, headline numbers vs the strongest WAM / VLA, one overview. White, thin rules; purple only on PointmapVLA */
header.hero { padding: 56px 0 40px !important; }
.hero .buttons { margin-top: 18px; }
/* TL;DR in DiscoDemo's form (davian-robotics.github.io/DiscoDemo .tldr-block): accent bar on the left, tinted wash, rounded right corners, bold accent "TL;DR" lead-in */
.hero .tldr { max-width: 800px; margin: 26px auto 0; padding: 16px 22px; text-align: left; border-left: 4px solid var(--accent); background: #f6f2ff;
  border-radius: 0 10px 10px 0; font-size: 17.5px; line-height: 1.6; color: var(--ink); }
.hero .tldr b { color: var(--accent-ink); margin-right: 6px; }
.hero-body { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); text-align: left; }
.hero-perf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; max-width: 980px; margin: 0 auto; }
.hp-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.hp-head span { font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.hp-head b { font-size: 44px; font-weight: 800; line-height: 1; color: var(--accent-ink); letter-spacing: -1px; }
.hp-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 42px; align-items: center; gap: 10px; padding: 5px 0; font-size: 14.5px; }
.hp-name { color: #3a4349; line-height: 1.25; } .hp-name small { display: block; font-size: 12px; color: var(--muted); }
.hp-track { height: 12px; border-radius: 6px; background: #f0f0f3; overflow: hidden; } .hp-fill { height: 100%; border-radius: 6px; background: #b9bcc6; }
.hp-val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: #3a4349; }
.hp-row.ours .hp-name { font-weight: 800; color: var(--accent-ink); } .hp-row.ours .hp-fill { background: var(--accent); } .hp-row.ours .hp-val { font-weight: 800; color: var(--accent-ink); }
.hp-row.dim { font-size: 13.5px; padding: 3px 0; } .hp-row.dim .hp-track { height: 8px; } .hp-row.dim .hp-fill { background: #d3d5dc; }
.hp-more { margin-top: 4px; padding-top: 6px; border-top: 1px dashed var(--line); }
.hero-more { max-width: 980px; margin: 12px auto 0; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.hero-more button { font: 600 13px "Open Sans", sans-serif; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 12px; cursor: pointer; color: var(--ink); }
.hero-ov { display: grid; grid-template-columns: 250px minmax(0, 480px); justify-content: center; align-items: center; gap: 44px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-flow { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.hf-imgs { display: flex; gap: 6px; justify-content: center; } .hf-imgs img { width: 104px; height: 104px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: #f3f3f6; }
.hf-imgs img.pm { outline: 2px solid #8b5cf6; outline-offset: 1px; }
.hf-in p { margin: 6px 0 0; font-size: 13.5px; color: #3a4349; } .hf-in p b { color: var(--accent-ink); }
.hf-arrow { width: 2px; height: 22px; background: #8a8f98; position: relative; } .hf-arrow::after { content: ""; position: absolute; left: -4px; bottom: -6px; border: 5px solid transparent; border-top: 7px solid #8a8f98; border-bottom: 0; }
.hf-model { padding: 10px 22px; border: 2px solid #8b5cf6; border-radius: 12px; background: #f4f0ff; font-weight: 800; font-size: 17px; color: var(--accent-ink); }
.hf-out { padding: 7px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 600; color: #3a4349; }
.hero-roll { margin: 0; } .hero-roll video { width: 100%; aspect-ratio: 1; display: block; border-radius: 14px; background: #eee; border: 1px solid var(--line); }
.hero-roll figcaption { margin-top: 8px; font-size: 14px; color: #3a4349; display: flex; gap: 10px; align-items: baseline; justify-content: center; }
.hero-roll .hr-src { font-size: 12.5px; color: var(--muted); }
@media (max-width: 820px) {
  .hero-perf { grid-template-columns: 1fr; gap: 26px; } .hero-more { flex-wrap: wrap; }
  .hero-ov { grid-template-columns: 1fr; gap: 20px; } .hf-arrow { height: 14px; }
  .hf-imgs img { width: 72px; height: 72px; } .hp-head b { font-size: 36px; }
}
/* hero: the paper's Figure 1 right under the TL;DR (user, 2026-10-19) */
.hero-fig { margin-top: 30px; text-align: center; } .hero-fig figure { margin: 0; }
.hero-fig img { width: 100%; max-width: 1180px; height: auto; display: block; margin: 0 auto; }
.hero-fig figcaption { max-width: 860px; margin: 12px auto 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); text-align: left; }
.hero-fig figcaption b { color: var(--ink); }
/* TL;DR block: headline results inside, as DiscoDemo's .hero-results (big accent number, label, "strongest baseline" line) */
.hero .tldr p { margin: 0; } .hero .tldr > p { margin-bottom: 12px; }
.hero .hero-results { display: flex; flex-wrap: wrap; gap: 8px 40px; }
.hero .hero-result { font-size: 15px; line-height: 1.45; color: var(--ink); font-weight: 500; }
.hero .hero-result strong { font-size: 30px; font-weight: 800; color: var(--accent-ink); margin-right: 6px; letter-spacing: -.5px; }
.hero .hero-result span { display: block; font-size: 13px; color: var(--muted); }
.hero p.tldr { margin-bottom: 0; }   /* TL;DR is a single paragraph again (results row removed, user) */
.hero-fig figcaption { text-align: center; }
/* section 01 3D views (user): left = 3D implied (ghosted scene, dashed frame, "?" mark), right = 3D given (solid purple frame) */
#problem-stage .pms-stage { border: 1.5px dashed #c9cbd3 !important; }
#pm-stage-2a .pms-stage { border: 2px solid #8b5cf6 !important; box-shadow: 0 0 0 4px rgba(139, 92, 246, .10); }
.vs-grid .paired .paired-ghost { font-size: 13px; padding: 4px 12px; } .vs-grid .paired .paired-ghost b { font-weight: 800; margin-right: 3px; }
#problem-stage .paired-ghost { color: #55525f; border-style: dashed; border-color: #b9bcc6; }
#pm-stage-2a .paired-ghost { color: var(--accent-ink); border-color: #c4b5fd; background: #f6f2ff; }
.vs-grid .paired .paired-ghost { font-size: 14px; gap: 8px; } .vs-grid .paired .paired-ghost b { margin-right: 0; }
#problem-stage .paired-ghost em { font-style: normal; width: 18px; height: 18px; border-radius: 50%; border: 1.5px dashed #8a8f98; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; color: #6b6f7c; }
/* plain-sentence note under "3D actions" replaces the in-view pill (user) */
.paired .paired-note { margin: -4px 0 8px; font-size: 14px; line-height: 1.5; color: #3a4349; }
.paired .paired-note b { font-weight: 800; }
#problem-stage .paired-note b { color: #55525f; } #pm-stage-2a .paired-note b { color: var(--accent-ink); }
.vs-grid .paired .paired-ghost { display: none; }
.hero-fig figcaption { max-width: 1180px; }   /* overview caption on one line at desktop width */
/* geo candidate (pm-stage opts.geo): mug image -> 3D connector overlay */
.pms.paired { position: relative; }
.pms-geo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 6; }
.pms-geo text { font: 700 13px "Open Sans", sans-serif; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; fill: #55525f; }
.pms-geo text.pm { fill: #6d28d9; } .pms-geo text.gx { font: 700 13px ui-monospace, SFMono-Regular, Menlo, monospace; fill: #4c1d95; } .pms-geo text.gx.q { fill: #8a8f98; }
.paired .paired-rgb.pm svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.paired .pv-chunk b em.out { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); border-radius: 5px; padding: 1px 6px; margin-right: 6px; vertical-align: 1px; }
#problem-stage .pv-chunk b em.out { color: #55525f; background: #ececf1; }
.vs-grid .paired .paired-right .paired-title small { display: block; margin: 2px 0 0; }
/* section 01 geometry titles, more literal (user): input chip -> result, one plain sentence */
.vs-grid .paired .paired-right .paired-title { font-size: 17px; }
.paired .paired-title i.gin { font-style: normal; display: inline-block; font-size: 12.5px; font-weight: 800; padding: 2px 9px; border-radius: 6px; background: #ececf1; color: #55525f; vertical-align: 2px; }
.paired .paired-title i.gin.pm { background: #ede7ff; color: var(--accent-ink); }
.paired .paired-title em.garr { font-style: normal; color: #8a8f98; margin: 0 6px 0 4px; }
.vs-grid .paired .paired-right .paired-title small { font-size: 13.5px; color: var(--muted); font-weight: 400; margin: 3px 0 0; }
/* section 01 v3 (user, 2026-10-19): brightness gives the first impression (left light grey, right vivid), the pixel -> 3D link explains it.
   Comparison text sits right above the inputs; the arrow under the action chunk leads into robot motion, not a model output */
.vs-grid .vs-in { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.vs-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #7c3aed; }
.vs-hint::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.6px solid #7c3aed; box-shadow: inset 0 0 0 1.6px #fff, inset 0 0 0 4px #7c3aed; }
.vs-grid .paired .paired-right { padding-top: 0; }
.vs-grid .paired .paired-right::before, .vs-grid .paired .paired-right::after { display: none; }
.vs-grid .paired .paired-right .paired-title.motion { position: relative; margin: 0; padding: 8px 0 16px; text-align: center; font-size: 13px; font-weight: 700; }
.paired .paired-title.motion::before { content: ""; position: absolute; left: calc(50% - .85px); top: -10px; bottom: 6px; width: 1.7px; background: #8a8f98; }
.paired .paired-title.motion::after { content: ""; position: absolute; left: calc(50% - 4.75px); bottom: 0; border: 4.75px solid transparent; border-top: 7px solid #8a8f98; border-bottom: 0; }
.paired .paired-title.motion span.mv { position: relative; z-index: 1; display: inline-block; margin: 0; padding: 3px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: #3a4349; font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; vertical-align: 0; }
#pm-stage-2a .paired-rgb.pick { cursor: crosshair; }
.pms-tip { position: absolute; z-index: 8; pointer-events: none; opacity: 0; transition: opacity .12s; padding: 6px 10px 5px; border-radius: 8px; background: #fff;
  border: 1.5px solid #7c3aed; box-shadow: 0 4px 14px rgba(76, 29, 149, .18); white-space: nowrap; text-align: center; }
.pms-tip.on { opacity: 1; }
.pms-tip span { display: block; font: 700 13.5px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; color: #4c1d95; }
.pms-tip span i { font-style: normal; font-weight: 600; color: #8b5cf6; margin: 0 4px 0 9px; } .pms-tip span i:first-child { margin-left: 0; }
.pms-tip small { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
#problem-stage .paired-title span.mv { background: #fff; color: #3a4349; }
.hero .tldr strong { color: var(--accent-ink); font-weight: 800; }   /* headline numbers inline in the TL;DR (user) */
/* hero author notes + link pills in the style of davian-robotics.github.io/3D_HAMSTER (user, 2026-10-19), adapted to the white hero:
   small muted "*Equal contribution  †Corresponding author" line; rounded pills with an icon, a light glassy fill and a soft border */
.hero .author-notes { margin-top: 6px; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; font-size: 13px; color: var(--muted); opacity: .85; }
.hero .author-notes sup { font-size: .75em; margin-right: 1px; }
.hero .buttons { margin-top: 22px; gap: 10px; }
.hero .btn { gap: 7px; padding: 8px 20px; border-radius: 99px; font-size: 14.5px; font-weight: 600; letter-spacing: .01em; color: var(--ink);
  background: rgba(40, 20, 80, .035); border: 1.5px solid rgba(40, 20, 80, .16); box-shadow: 0 2px 8px rgba(40, 20, 80, .06); transition: all .22s ease; }
.hero .btn:hover { background: rgba(109, 40, 217, .08); border-color: rgba(109, 40, 217, .45); color: var(--accent-ink); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(76, 29, 149, .14); }
.hero .btn svg { width: 16px; height: 16px; } .hero .btn .emo { font-style: normal; font-size: 16px; line-height: 1; }
.hero .btn.disabled { opacity: .55; box-shadow: none; transform: none; background: rgba(40, 20, 80, .02); border-color: rgba(40, 20, 80, .12); color: var(--ink); }
.hero .btn .soon { font-style: normal; margin-left: 1px; padding: 1px 7px; border-radius: 99px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(40, 20, 80, .1); }
@media (max-width: 560px) { .hero .btn { font-size: 13px; padding: 7px 14px; } }
