@font-face{font-family:Manrope;src:url(../../shared/fonts/manrope-variable.ttf)}
html,body{margin:0;background:#D9EEF8;color:#0E3068;font-family:Manrope,sans-serif}button,input{font:inherit}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #0E3068;outline-offset:4px}::selection{background:#7FC4F2;color:#0E3068}
.sm{height:100%;overflow:auto;box-sizing:border-box;padding:6px 12px;color:#0E3068;scrollbar-color:#2A7DE1 #D9EEF8;display:flex;flex-direction:column;gap:12px}
.sm-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.sm-header h1{margin:0;font-size:clamp(19px,2.4vw,28px);font-weight:800}.sm-header small{font-weight:650}.sm-heads{display:flex;gap:8px}.sm-heads object{width:58px;height:58px;pointer-events:none}
.sm-instruction{display:flex;align-items:center;gap:10px;font-size:clamp(18px,2vw,24px);font-weight:750;margin:0;line-height:1.35}.sm button{min-height:48px;min-width:48px;border:2px solid #0E3068;border-radius:12px;background:#F8FCFF;color:#0E3068;font-weight:750;padding:8px 14px;cursor:pointer}.sm button:hover{background:#D9EEF8}.sm button[aria-pressed=true]{background:#0E3068;color:#F8FCFF}.sm button:disabled{opacity:.55;cursor:default}.sm-speaker{padding:8px!important;flex:0 0 48px}.sm-speaker svg{width:26px;height:26px;vertical-align:middle}.sm-status{min-height:26px;margin:0;font-weight:700;line-height:1.4}.sm-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.sm-readout{font-size:22px;font-weight:800}.sm-label{font-size:16px;font-weight:700;margin:0}.sm-range{width:100%;height:48px;accent-color:#0E3068;touch-action:pan-y;cursor:pointer}.sm-strip{position:relative;height:64px;margin:8px 0;border:3px solid #0E3068;background:#F8FCFF;box-sizing:border-box;touch-action:none;flex-shrink:0}.sm-cut{position:absolute;top:0;bottom:0;border-left:3px solid #0E3068;pointer-events:none}.sm-cursor{position:absolute;top:-12px;bottom:-12px;width:0;border-left:3px dashed #E8453C;pointer-events:none}.sm-fill{position:absolute;top:0;bottom:0;background:#2A7DE1;box-sizing:border-box}.sm-fill.second{background:#E8453C}.sm-unit{display:flex;height:64px;border:3px solid #0E3068;margin:4px 0}.sm-unit span{flex:1;border-right:2px solid #0E3068;display:grid;place-items:center;font-size:20px;font-weight:800;background:#D9EEF8}.sm-unit span:last-child{border:0}.sm-unit span:first-child{background:#7FC4F2}.sm-stage{padding:2px 6px}.sm-line{position:relative;margin:12px 18px 28px;height:58px;border-bottom:4px solid #0E3068;touch-action:none}.sm-tick{position:absolute;bottom:-9px;height:15px;border-left:2px solid #0E3068}.sm-tick span{position:absolute;top:17px;transform:translateX(-50%);font-weight:700}.sm-point{position:absolute;bottom:-10px;transform:translateX(-50%);width:20px;height:20px;border:3px solid #0E3068;border-radius:50%;background:#7FC4F2;box-sizing:border-box}.sm-point.second{width:14px;height:14px;bottom:7px;background:#E8453C}.sm-overlays{position:relative;padding:0 20%;margin:8px 0;touch-action:none;overflow:hidden}.sm-reference{position:relative;height:55px;border:2px solid #0E3068;background:#F8FCFF;margin:6px 0}.sm-moving{position:relative;height:55px;border:2px solid #0E3068;background:#F8FCFF;margin:6px 0;box-sizing:border-box;cursor:grab}.sm-claim{display:flex;align-items:center;gap:8px;padding:12px;background:#D9EEF8;border-radius:12px;font-size:17px;line-height:1.5}.sm-claim img{width:60px;height:60px}.sm-comic{display:grid;grid-template-columns:70px 1fr 54px;align-items:center;gap:12px;padding:10px;background:#D9EEF8;border-radius:12px}.sm-comic img{width:68px}.sm-comic span{font-size:36px;font-weight:800}.sm-hint{padding:10px;background:#D9EEF8;border-radius:10px;font-size:16px;line-height:1.5}.sm-progress{font-size:14px;font-weight:700}.sm-footer{display:flex;gap:10px;flex-wrap:wrap;margin-top:auto}.sm-footer a{display:grid;align-items:center;min-height:48px;color:#0E3068;font-weight:750}.sm-demo-hand{position:fixed;width:56px;z-index:50;pointer-events:none;transition:transform 1.2s ease-out;filter:drop-shadow(0 3px 3px #0e306844)}.sm-demo-banner{padding:8px;background:#D9EEF8;font-weight:750}.sm-save{font-size:14px;color:#0E3068}.sm-report{padding:20px;background:#F8FCFF;max-width:800px;margin:30px auto}.sm-report h1{font-size:30px}.sm-report table{border-collapse:collapse;width:100%}.sm-report td,.sm-report th{padding:14px 8px;border-bottom:1px solid #0E3068;text-align:left}.sm-report a,.sm-report button{min-height:48px;padding:12px;display:inline-block;color:#0E3068}.sm-discovery{background:#E8B44A;padding:18px;border-radius:14px;border:2px solid #0E3068}.sm-discovery h2{font-size:25px}.sm-story{font-size:17px;line-height:1.5}
@media(max-width:600px){.sm{padding:4px 2px;gap:8px}.sm-header small{font-size:12px}.sm-heads object{width:44px;height:44px}.sm-header h1{font-size:19px}.sm-instruction{font-size:18px}.sm-strip{height:55px}.sm-overlays{padding:0 16%}.sm-claim{font-size:15px;padding:8px}.sm-claim img{width:46px;height:46px}.sm-controls{gap:8px}.sm-controls button{padding:8px 10px}.sm-report{margin:8px;padding:14px}.sm-report td,.sm-report th{font-size:14px;padding:12px 4px}}
@media(max-height:650px) and (orientation:landscape){.sm{gap:6px}.sm-header h1{font-size:18px}.sm-heads object{width:40px;height:40px}.sm-instruction{font-size:18px}.sm-strip{height:48px}.sm-reference,.sm-moving{height:42px}.sm-line{margin-top:0}}
@media(prefers-reduced-motion:reduce){.sm-demo-hand{transition:none}}

.sm-unit{width:max-content}.sm-unit span{width:30px;flex:none;box-sizing:border-box}
html,body{width:100%;min-height:100%;}#activity-root{height:100dvh;width:100%;}

.sm > *{flex-shrink:0}

.sm-overlays{padding:0}.sm-reference{width:40%;margin-left:20%}.sm-moving{margin-left:0}
.sm-demo-hand{left:0;top:0}
.sm-demo-hand{transform-origin:21px 0}

/* Scene revision 2026-11-01: local surfaces follow the model, not the viewport. */
.sm{max-width:1120px;margin-inline:auto;padding:clamp(10px,2vw,24px);background:transparent}
.sm .sm-header,.sm .sm-instruction,.sm .sm-status,.sm .sm-label,.sm .sm-readout,.sm .sm-progress,.sm .sm-save,.sm .sm-story{background:#F8FCFF;border-radius:8px;padding:8px 12px;max-width:100%;width:fit-content}
.sm .sm-header:empty,.sm .sm-instruction:empty,.sm .sm-status:empty,.sm .sm-label:empty,.sm .sm-readout:empty,.sm .sm-progress:empty,.sm .sm-save:empty,.sm .sm-story:empty{display:none}
.sm .sm-stage{background:#F8FCFF;border-radius:8px}
@media(max-width:700px){.sm{padding:10px;}}

.sm .sm-footer a{background:#F8FCFF;padding:8px 12px;border-radius:8px}

/* The active partners now guide the model; keep the existing object hosts available. */
.sm-header>.sm-heads{display:none}
@media(max-height:480px) and (orientation:landscape){.sm .sm-header{display:none}}
.sm-keyboard-control{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sm-keyboard-control:focus-within,.sm-keyboard-control.is-active{position:static;width:100%;height:auto;overflow:visible;clip-path:none;white-space:normal;background:#F8FCFF;padding:6px;box-sizing:border-box}
.sm-keyboard-control:focus-within input,.sm-keyboard-control.is-active input{min-height:48px}
.sm .sm-point{min-width:48px;min-height:48px;width:48px;height:48px;padding:0;border:0;background:transparent;bottom:-26px;touch-action:none;cursor:grab}
.sm .sm-point::after{content:'';position:absolute;inset:13px;border:3px solid #0E3068;border-radius:50%;background:#7FC4F2}
.sm .sm-point.second{bottom:18px}.sm .sm-point.second::after{background:#E8453C}
.sm .sm-resize{position:absolute;right:-24px;top:55px;width:48px;min-height:48px;padding:0;border-radius:0;border:2px solid #0E3068;background:#F8FCFF;cursor:ew-resize;touch-action:none}
.sm-moving{touch-action:none}.sm-line{cursor:crosshair}.sm-tick.sm-ghost{opacity:.3;border-left-style:dashed}
.sm-comic{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;background:transparent;padding:0;margin-bottom:12px;align-items:stretch}
.sm-comic figure{margin:0;padding:12px;border:2px solid #0E3068;background:#F8FCFF;border-radius:8px;font-size:15px;line-height:1.4}
.sm-comic figure p{margin:8px 0}.sm-comic figcaption{font-weight:800}.sm-comic img{width:64px;height:64px;object-fit:contain}.sm-missing-model{display:grid;place-items:center;margin-top:16px;min-height:76px;border:2px dashed #0E3068;font-size:40px}.sm-benchmark{display:flex;justify-content:space-between;margin-top:40px;border-bottom:3px solid #0E3068}.sm-comic .sm-benchmark span{font-size:16px}
@media(max-width:600px){.sm-comic{grid-template-columns:1fr}.sm-comic figure{display:grid;grid-template-columns:64px 1fr;gap:8px}.sm-comic figcaption{grid-column:1/-1}.sm-comic .sm-missing-model,.sm-comic .sm-benchmark{grid-column:1/-1;margin-top:4px}.sm-comic .sm-speaker{justify-self:start}}
.sm-demo-command{padding:8px;background:#F8FCFF;border-radius:8px;font-size:18px;font-weight:750}
.sm-discovery-model>div{display:flex;max-width:360px;height:36px;border:2px solid #0E3068;margin:8px 0;background:#F8FCFF}.sm-discovery-model i{flex:1;border-right:1px solid #0E3068}.sm-discovery-third i:first-child{background:#2A7DE1}.sm-discovery-sixths i:nth-child(-n+2){background:#E8453C}

.sm-overlays{margin:8px 24px;padding-bottom:56px;overflow:visible}.sm-reference{box-sizing:border-box}.sm-resize::before{content:"";position:absolute;left:50%;top:-5px;height:5px;border-left:2px solid #0E3068}
.sm-unit{width:max-content;max-width:100%;box-sizing:border-box;overflow-x:auto}.sm-unit span{width:52px;flex:0 0 52px}
.sm:has(.sm-comic){width:100%}
.sm-comic{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}
.sm-comic figure{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;padding:10px;position:relative}
.sm-comic figure p{margin:0;font-size:15px;line-height:1.4}.sm-comic figcaption{align-self:flex-end;font-size:12px;line-height:1}
.sm-comic .sm-story-picture{display:block;width:100%;height:82px;flex:none;color:#0E3068;font:16px Manrope,sans-serif}
.sm-comic .sm-estimate-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:auto}
.sm-comic .sm-estimate-options button{padding:8px 4px;font-size:15px}
.sm-comic-unit{grid-template-columns:180px 180px minmax(0,1fr)}
.sm-comic-model .sm-line{margin-inline:20px}.sm-comic-model .sm-controls{margin-top:8px}
@media(min-width:900px) and (min-height:650px){.sm{gap:8px;padding:12px}.sm-stage{box-sizing:border-box}.sm .sm-footer{margin-top:8px}.sm-comic figure{min-height:188px}.sm-overlays{padding-bottom:54px}}
@media(max-width:700px){.sm-comic,.sm-comic-unit{grid-template-columns:1fr}.sm-comic figure{min-height:140px}.sm-comic img{align-self:flex-start}.sm-comic .sm-estimate-options{margin-top:8px}}
.sm-story-caption{display:flex;align-items:center;gap:8px}.sm-story-caption p{flex:1}.sm-story-caption .sm-speaker{width:48px}
.sm-gesture-note{margin:0;font-size:14px;line-height:20px}
@media(min-width:900px) and (min-height:650px){.sm-claim{padding:8px}.sm-overlays{padding-bottom:50px}}
