:root{font-family:Inter,'Segoe UI',-apple-system,BlinkMacSystemFont,sans-serif;color:#1e293b;--blue:#2563eb;--muted:#64748b;--border:#e2e8f0;--paper:#fff;--soft:#f8fafc;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:#f8fafc;font-size:13px;line-height:1.5}button,input{font:inherit}button{cursor:pointer;color:inherit;border:1px solid var(--border);background:#fff;border-radius:7px;padding:7px 11px;transition:background .15s,border-color .15s}button:hover{border-color:#94a3b8;background:#f1f5f9}button:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #93c5fd;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.4}.demo{width:100%;max-width:1040px;margin:auto;padding:3px 5px 8px}.intro{text-align:center;margin:0 0 24px}.intro p{font-size:21px;font-weight:650;margin:0 0 3px;letter-spacing:-.4px}.intro span{color:var(--muted)}.workspace{background:var(--paper);border:1px solid var(--border);border-radius:16px;padding:20px;box-shadow:0 10px 25px #1e293b08}.workspace-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.eyebrow{font-size:10px;letter-spacing:1.7px;color:var(--blue);font-weight:700}h1{font-size:18px;letter-spacing:-.4px;line-height:1.3;margin:4px 0 0}.status{font-size:11px;color:#475569;max-width:240px;text-align:right;border:1px solid var(--border);border-radius:20px;padding:5px 10px;background:var(--soft)}.status.live{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.status.error{color:#92400e;background:#fffbeb;border-color:#fde68a}figure{margin:0;min-width:0}.main-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:15px;align-items:start}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:5px;font-size:11px;min-height:31px;margin-bottom:5px}.panel-heading strong{font-weight:650}.panel-heading span{color:var(--muted);font-size:10px}.panel-heading button{font-size:10px;padding:4px 7px}.query-viewport{position:relative;cursor:grab;overflow:hidden;border-radius:9px;background:#0f172a;min-height:180px;touch-action:none}.query-viewport:active{cursor:grabbing}.query-viewport img{display:block;width:100%;height:auto;min-height:180px;object-fit:contain}.render-label{position:absolute;left:9px;top:9px;border-radius:5px;padding:3px 7px;color:#fff;background:#0f172aaa;font-size:10px}.viewport-hint{position:absolute;bottom:8px;right:8px;color:#fff;background:#0f172a99;padding:3px 6px;border-radius:5px;font-size:10px}.observer-panel{min-width:0}#camera-map{display:block;width:100%;height:230px;border:1px solid var(--border);border-radius:9px;background:linear-gradient(#fafcff,#f1f5f9);touch-action:none;cursor:grab}.camera-legend{display:flex;gap:12px;justify-content:center;font-size:10px;margin-top:8px}.camera-legend span{display:flex;align-items:center;gap:4px}.camera-legend i{width:13px;border-top:2px solid #111827;display:inline-block}.camera-legend .history{border-top-style:dashed}.camera-legend .query{border-color:#dc2626}.observer-note{font-size:10px;color:var(--muted);margin:7px 0 0;text-align:center}.comparison-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:17px 0}.small-view{background:#0f172a;border-radius:8px;overflow:hidden;min-height:100px;display:flex;align-items:center;justify-content:center}.small-view img{display:block;width:100%;height:auto;object-fit:contain}.control-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:13px 0;border-top:1px solid var(--border)}.control-bar button{font-size:11px}.view-switch{display:flex;gap:4px}.view-switch .active{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.control-bar>span{margin-left:auto;font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.pose-controls{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-bottom:15px}.pose-controls label{font-size:10px;color:#475569}.pose-controls output{display:block;color:#1e293b;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.pose-controls input{width:100%;margin:7px 0;accent-color:var(--blue)}.depth-key{display:flex;align-items:center;gap:8px;font-size:10px;color:#64748b;flex-wrap:wrap}.turbo-key{width:155px;height:8px;border-radius:5px;background:linear-gradient(90deg,#7a0403,#ed6925,#e1dd37,#69fb69,#1fa1ed,#30123b)}.depth-key small{margin-left:auto;font-size:9px}.instructions{margin-top:15px;border-top:1px solid var(--border);padding-top:11px}.instructions summary{cursor:pointer;font-size:11px;font-weight:600}.instructions p{font-size:11px;color:#64748b;line-height:1.65;margin:8px 0}.instructions .scientific-note{font-size:10px;color:#64748b;background:#f8fafc;border-radius:7px;padding:8px 10px}kbd{border:1px solid #cbd5e1;border-radius:3px;padding:0 4px;margin:0 2px;background:#fff;font-size:9px}.timeline{display:grid;grid-template-columns:32px 74px 1fr 100px;align-items:center;gap:10px;padding:23px 8px 15px}.timeline button{padding:5px}.timeline label{font-size:11px;color:#475569}.timeline input{width:100%;accent-color:var(--blue);margin:0}.timeline output{text-align:right;font-size:13px;font-weight:650;font-variant-numeric:tabular-nums}.time-ticks{grid-column:3;display:flex;justify-content:space-between;font-size:9px;color:#94a3b8;margin-top:-6px}.selector{padding:10px 0 0}.selector-heading{display:flex;justify-content:space-between;align-items:center;padding:0 30px 10px}.selector h2{font-size:15px;margin:0}.selector-heading span{font-size:10px;color:#64748b}.scene-pages{display:grid;grid-template-columns:25px 1fr 25px;align-items:center;gap:7px}.scene-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.scene-card{padding:0;overflow:hidden;text-align:center;border-radius:9px;background:#fff;min-width:0;border:1px solid #e2e8f0;box-shadow:0 2px 4px #1e293b04}.scene-card img{display:block;width:100%;aspect-ratio:1.65;object-fit:cover}.scene-card .caption{padding:7px 2px;display:block;line-height:1.4}.scene-card .dataset{font-size:10px;font-weight:600;display:block}.scene-card .identifier{font-size:11px;display:block;color:#64748b}.scene-card .zero-shot{display:block;color:#2563eb;font-size:9px}.scene-card.selected{border-color:var(--blue);box-shadow:0 0 0 2px #2563eb20}.page-arrow{border:1px solid var(--border);width:25px;height:25px;border-radius:50%;padding:0;font-size:23px;line-height:20px}.page-dots{display:flex;gap:9px;justify-content:center;padding-top:15px}.page-dots button{width:7px;height:7px;border:0;background:#cbd5e1;border-radius:50%;padding:0}.page-dots button.active{background:#334155}.awaiting{opacity:.48}.query-viewport.awaiting::after{content:'New viewpoint pending — image still shows the previous camera';position:absolute;left:0;right:0;bottom:0;padding:7px;background:#0f172acc;color:#fff;font-size:10px;text-align:center}
.main-grid{align-items:start}.observer-panel{display:block}#camera-map{flex:none;min-height:230px}
.control-bar{border-top:0;padding:0 0 10px}.query-viewport,.query-viewport:active{cursor:default}.comparison-grid{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(185px,.95fr);gap:10px;margin:14px 0}.small-view{min-height:0;aspect-ratio:1.5}.small-view img{height:100%;object-fit:contain}.dashboard{min-width:0}.pose-readouts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 8px;padding:8px;border:1px solid var(--border);border-radius:8px;background:var(--soft)}.pose-readouts div{font-size:9px;color:var(--muted)}.pose-readouts output{display:block;font-size:11px;font-weight:600;color:#1e293b;font-variant-numeric:tabular-nums}#pose-readout{font-size:9px;color:var(--muted);margin:4px 0}.keyboard-guide{font-size:9px;color:#475569}.keyboard-guide strong{font-size:10px;font-weight:600}.keyboard-guide p{margin:3px 0;line-height:1.65}.cloud-label{display:block;font-size:9px;color:var(--muted);text-align:center;margin-top:5px}.camera-legend{gap:8px;font-size:9px;flex-wrap:wrap}.scientific-note{font-size:10px;color:#64748b;background:#f8fafc;border-radius:7px;padding:8px 10px;margin:12px 0 0}
@media(min-width:681px){.main-grid{grid-template-columns:1.4fr 1fr}.comparison-grid .panel-heading{display:block;font-size:10px;min-height:34px}.comparison-grid .panel-heading span{display:block;font-size:9px}}
@media(max-width:680px){.workspace{padding:12px}.main-grid{grid-template-columns:1fr}.observer-panel{display:grid;grid-template-columns:1fr 1fr;gap:6px;align-items:center}.observer-panel .panel-heading{grid-column:1/-1}#camera-map{grid-row:2/4;height:175px;min-height:175px}.camera-legend{flex-direction:column;gap:8px;align-items:center}.observer-note{padding:5px}.comparison-grid{gap:7px}.comparison-grid .panel-heading{display:block;font-size:10px}.comparison-grid .panel-heading span{display:block;font-size:9px}.small-view{min-height:65px}.pose-controls{gap:8px;grid-template-columns:repeat(3,1fr)}.depth-key small{margin-left:0;width:100%}.control-bar>span{margin-left:0;width:100%}.timeline{grid-template-columns:28px 1fr 85px;gap:8px}.timeline label{display:none}.timeline .time-ticks{grid-column:2}.scene-grid{gap:6px}.scene-card .dataset{font-size:8px}.scene-card .identifier{font-size:9px}.scene-card .zero-shot{font-size:7px}.scene-card .caption{padding:5px 1px}.scene-card{border-radius:6px}.scene-pages{grid-template-columns:19px 1fr 19px;gap:4px}.page-arrow{width:19px;height:22px;font-size:18px}.selector-heading{padding:0 23px 10px}.status{font-size:9px;max-width:170px}.intro p{font-size:18px}.intro span{font-size:11px}}
@media(max-width:680px){.observer-panel{display:block}#camera-map{height:240px;min-height:240px}.camera-legend{flex-direction:row;gap:10px}.comparison-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.comparison-grid>figure>.panel-heading{min-height:44px}.dashboard{grid-column:1/-1;display:grid;grid-template-columns:1.1fr 1fr;gap:0 12px}.dashboard>.panel-heading{grid-column:1/-1;min-height:20px}.pose-readouts{grid-row:2/4}.dashboard>#pose-readout{grid-column:2}.keyboard-guide{grid-column:2}.keyboard-guide p{line-height:1.5}.control-bar button{font-size:10px;padding:5px 8px}}
/* Keep both interactive views equally prominent; controls stay in the dashboard. */
@media(min-width:681px){.main-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.dashboard-content{display:grid;gap:7px}.dashboard .status{display:block;width:100%;max-width:none;min-width:0;text-align:left;font-size:10px;line-height:1.4;border-radius:7px;padding:6px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}.dashboard>.panel-heading{display:flex}.dashboard #reset{grid-column:3;grid-row:2;align-self:stretch;justify-self:stretch;font-size:10px;line-height:1.25;font-weight:600;min-height:32px;padding:5px 4px;white-space:normal;color:#1d4ed8;border-color:#cbd5e1}.dashboard .pose-readouts{grid-row:auto;grid-template-columns:repeat(3,max-content);justify-content:space-between;column-gap:6px}.dashboard .pose-readouts>div{white-space:nowrap}
.demo-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px}.demo-footer .keyboard-guide{display:flex;align-items:center;gap:10px;min-width:0}.demo-footer .keyboard-guide strong{white-space:nowrap}.demo-footer .keyboard-guide p{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0}.demo-footer .keyboard-guide p>span{white-space:nowrap}.demo-footer .depth-key{flex-shrink:0;flex-wrap:nowrap;white-space:nowrap}.demo-footer .turbo-key{flex-shrink:0;width:135px}
@media(max-width:680px){.dashboard{display:block}.dashboard-content{grid-template-columns:1fr}.demo-footer{flex-wrap:wrap;gap:10px}.demo-footer .keyboard-guide{align-items:flex-start}.demo-footer .keyboard-guide p{gap:4px 10px}.demo-footer .depth-key{justify-content:center;width:100%}}
.scene-card .caption{display:flex;flex-direction:column;align-items:center;min-height:58px}.scene-card .identifier{font-weight:600;color:#1e293b}.scene-card .dataset{font-weight:400;color:var(--muted)}.scene-card .zero-shot{font-weight:600}
@media(max-width:680px){.scene-card .caption{min-height:46px}}
/* Avoid an outer focus halo on the demo's controls and display canvases. */
.demo :is(button,input,[tabindex]):focus{outline:none}
.demo button:focus-visible:not(.scene-card){border-color:#94a3b8}
.dashboard #reset{align-self:center;justify-self:center;min-height:26px;font-size:9px;font-weight:500;padding:4px 6px}
/* Refine hierarchy without changing the interactive layout or focus behavior. */
.workspace{box-shadow:0 6px 22px #1e293b06}
.main-grid .panel-heading{font-size:12px}
.comparison-grid .panel-heading{font-size:11px;line-height:1.45}
.comparison-grid>figure>.panel-heading{display:flex;align-items:center;min-height:34px}
.panel-heading strong{font-weight:600}
.dashboard .pose-readouts output{font-size:12px}
.dashboard .status{background:#f8fafc;border-color:#e2e8f0;color:#64748b}
.dashboard .status::before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;margin-right:6px;vertical-align:1px;background:#94a3b8}
.dashboard .status.live{background:#fafcfb;border-color:#e2ebe5;color:#047857}
.dashboard .status.live::before{background:#10b981}
.dashboard .status.error{background:#fffbeb;border-color:#fde68a;color:#92400e}
.dashboard .status.error::before{background:#d97706}
.demo-footer{padding-top:12px;border-top:1px solid #f1f5f9;margin-top:14px}
.demo-footer .keyboard-guide{font-size:10px}
.scene-card .caption{gap:1px}
.scene-card .zero-shot{margin-top:2px;padding:1px 5px;border-radius:4px;background:#eff6ff;color:#1d4ed8;font-size:8px;line-height:1.4;font-weight:500}
.scene-card:hover:not(.selected){border-color:#94a3b8;box-shadow:0 3px 10px #1e293b08}
@media(max-width:680px){.main-grid .panel-heading{font-size:11px}.comparison-grid .panel-heading{font-size:10px}.comparison-grid>figure>.panel-heading{min-height:44px}.scene-card .zero-shot{font-size:7px;padding:1px 4px}}
/* Preserve each dataset's native image ratio without container letterboxing. */
.comparison-grid .small-view{display:block;aspect-ratio:auto;min-height:0;background:transparent}
.comparison-grid .small-view img{width:100%;height:auto;object-fit:contain}
.query-viewport.awaiting::after{content:none;display:none}
/* Follow the parent page's full-HD container without scaling text or controls. */
.demo{max-width:1344px}
/* Prevent dense time ticks from forcing the narrow-screen slider beyond its grid. */
@media(max-width:680px){.timeline{grid-template-columns:28px minmax(0,1fr) 85px}.time-ticks>span:nth-child(even){display:none}}

/* Keep each view's instructions next to its title, and its scale in the dashboard. */
.main-grid .panel-heading{min-height:54px;gap:10px}
.main-grid .panel-heading>strong{flex-shrink:0;white-space:nowrap}
.world-panel .keyboard-guide{margin-left:auto;text-align:right;min-width:0;max-width:440px}
.world-panel .keyboard-guide strong{font-size:10px;color:var(--muted);font-weight:500}
.world-panel .keyboard-guide p{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:2px 8px;margin:2px 0 0}
.world-panel .keyboard-guide p>span{white-space:nowrap;font-size:11px}
.world-panel .keyboard-guide kbd{font-size:11px}
.pointmap-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;margin-left:auto}
.pointmap-tools button{flex-shrink:0}
.pointmap-guide{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:2px 5px;line-height:1.5}
.pointmap-guide>span{font-size:11px;white-space:nowrap}
.pointmap-guide>span+span::before{content:'·';margin-right:5px}
.dashboard-content{grid-template-columns:minmax(0,1fr);min-width:0}
.dashboard .depth-key{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-width:0;width:100%;gap:5px 8px;margin-top:5px;padding-top:10px;border-top:1px solid var(--border);font-size:9px}
.dashboard .depth-key>span:first-child{grid-column:1;grid-row:1;white-space:nowrap}
.dashboard .depth-key>span:last-child{grid-column:2;grid-row:1;text-align:right;white-space:nowrap}
.dashboard .turbo-key{grid-column:1/-1;grid-row:2;width:100%;height:8px}
@media(max-width:1000px){.main-grid .panel-heading{min-height:72px}.pointmap-tools{flex-wrap:wrap}.pointmap-guide{width:100%}}
@media(min-width:681px) and (max-width:1000px){.dashboard .pose-readouts{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 4px;padding:6px}.dashboard .pose-readouts>div{font-size:8px}.dashboard #reset{font-size:8px;padding:4px}}
@media(max-width:680px){.main-grid .panel-heading{min-height:55px}.world-panel .keyboard-guide{max-width:230px}.pointmap-tools{flex-wrap:nowrap}.pointmap-guide{width:auto}.dashboard .depth-key{margin-top:3px}}
/* Keep desktop instructions together without reducing their enlarged text. */
@media(min-width:1001px){.world-panel .keyboard-guide{max-width:none;flex-shrink:0}.world-panel .keyboard-guide p{flex-wrap:nowrap;gap:6px}.world-panel .keyboard-guide kbd{padding:0 2px;margin:0 1px}.pointmap-guide{flex-wrap:nowrap}.main-grid .panel-heading{flex-wrap:wrap;row-gap:2px}}
