@font-face{font-family:Sora;src:url('./assets/fonts/sora-latin.woff2') format('woff2');font-style:normal;font-weight:100 800;font-display:swap}
.cv-demo{margin:0;min-width:280px;background:#080f1a;color:#eef3f7;font-family:Sora,"Segoe UI",sans-serif;font-synthesis:none}.cv-demo *{box-sizing:border-box}.cv-demo-shell{width:min(1060px,100%);padding:38px clamp(18px,4vw,52px);margin:auto}.cv-demo-heading{max-width:65ch;margin-bottom:18px}.cv-demo-heading>p:first-child{color:#baf1db;font-size:13px;font-weight:500;margin:0 0 26px}.cv-demo-heading h1{font-size:clamp(30px,5vw,49px);font-weight:500;letter-spacing:-.06em;line-height:1.15;margin:0 0 12px}.cv-demo-heading>p:last-child{color:#acb9cb;font-size:14px;line-height:1.7;margin:0}
.controller-preview{--cv-ink:#eef3f7;--cv-muted:#acb9cb;--cv-line:#324051;color:var(--cv-ink);font-family:Sora,"Segoe UI",sans-serif;min-width:0}.controller-preview [hidden]{display:none!important}.cv-viewport{position:relative;isolation:isolate;width:100%;height:clamp(350px,52vw,550px);min-width:0;overflow:hidden;background:transparent;touch-action:pan-y;outline-offset:5px}.cv-viewport:focus-visible,.controller-preview button:focus-visible,.controller-preview a:focus-visible{outline:2px solid #baf1db;outline-offset:4px}.cv-canvas{display:block;width:100%;height:100%;position:absolute;inset:0;opacity:0;transition:opacity 180ms cubic-bezier(.16,1,.3,1)}.cv-viewport[data-painted=true] .cv-canvas{opacity:1}.cv-shadow{position:absolute;width:62%;height:8%;left:19%;bottom:8%;border-radius:50%;background:#01050c;filter:blur(20px);opacity:.65}.cv-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:32px;color:var(--cv-muted)}.cv-fallback p{font-size:19px;letter-spacing:-.03em;color:var(--cv-ink);margin:0}.cv-fallback span{font-size:13px;line-height:1.6;max-width:32ch}.cv-viewport[data-painted=true] .cv-fallback{display:none}.cv-fallback img{width:100%;height:100%;object-fit:contain}.cv-load{position:absolute;left:50%;bottom:29px;transform:translateX(-50%);background:#b3aaff;color:#12162b;white-space:nowrap}
.controller-preview button{font:inherit;font-size:12px;line-height:1.3;min-height:44px;min-width:44px;padding:11px 14px;border:1px solid var(--cv-line);border-radius:6px;background:#142135;color:var(--cv-ink);cursor:pointer;touch-action:manipulation}.controller-preview button:disabled{opacity:.55;cursor:default}.controller-preview .cv-load{background:#b3aaff;color:#12162b;border-color:transparent}.cv-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:16px 0 0}.cv-directions{display:flex;gap:8px;flex-wrap:wrap;margin-right:auto}.cv-directions button{padding:9px}.cv-directions svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.cv-help{font-size:12px;color:var(--cv-muted);line-height:1.65;margin:13px 0 7px;min-height:20px}.cv-credit{font-size:11px;line-height:1.8;color:var(--cv-muted);margin:0;max-width:90ch}.cv-credit a{display:inline-flex;align-items:center;min-height:44px;color:var(--cv-ink);text-decoration:underline;text-decoration-color:#60748b;text-underline-offset:3px}.controller-preview a:hover{color:#baf1db}
@media(hover:hover) and (pointer:fine){.controller-preview button:hover:not(:disabled){background:#223349;border-color:#8693ad}.controller-preview .cv-load:hover{background:#c7bfff}.cv-viewport[data-painted=true]{cursor:grab}.cv-viewport[data-dragging=true]{cursor:grabbing}}
@media(max-width:760px){.cv-demo-shell{padding-top:24px}.cv-demo-heading>p:first-child{margin-bottom:22px}.cv-viewport{height:clamp(290px,80vw,440px)}.cv-directions{margin-right:0}.cv-help{font-size:13px}.cv-credit{font-size:12px}.cv-fallback{padding:24px}}
@media(prefers-reduced-motion:reduce){.cv-canvas{transition:none}}

/* Integration stays within the existing overview panel. */
.tool-viewer .controller-preview{padding-top:10px}.tool-viewer .cv-viewport{height:clamp(310px,30vw,440px)}.tool-viewer .viewer-hint{margin-top:14px}
@media(max-width:760px){.tool-viewer .cv-viewport{height:clamp(245px,72vw,400px)}}

@media(max-width:760px){.tool-viewer .cv-fallback{padding:0}.tool-viewer .cv-fallback img{width:138%;height:auto;max-width:none;flex-shrink:0}}
