.demo-playback{display:flex;align-items:center;justify-content:flex-end;background:var(--surface-soft);padding:0 24px}
#product-panel{padding-top:4px}
.demo-tour-controls{display:flex;align-items:center;gap:4px}
.demo-tour-controls button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:8px;border-radius:6px;background:transparent;color:var(--secondary-ink)}
.demo-tour-controls button:hover{background:var(--selected);color:var(--teal)}
.demo-tour-controls button:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.demo-tour-controls button:active{transform:scale(.97)}
.demo-tour-controls svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.product-tabs button{position:relative}
.product-tabs button[aria-selected=true]:after{display:none}
.demo-tour-progress{position:absolute;left:12%;right:12%;bottom:0;height:2px;background:var(--line);overflow:hidden;opacity:0;pointer-events:none}
.product-tabs button[aria-selected=true] .demo-tour-progress{opacity:1}
.demo-tour-progress i{display:block;width:100%;height:100%;background:var(--teal);transform:scaleX(0);transform-origin:left}
.demo-typed-prompt{font-size:12px;color:var(--pd-text);max-width:calc(100% - 40px);line-height:1.6}
.demo-thinking{display:flex;align-items:center;gap:6px;color:var(--pd-muted);font-size:11px;min-height:110px}
.demo-thinking span{margin-right:6px}.demo-thinking i{width:4px;height:4px;border-radius:50%;background:var(--pd-accent)}
@media(max-width:720px){#product-panel{padding-top:0}.demo-playback{padding:0 8px}.demo-tour-controls{gap:0}.demo-tour-controls button{width:44px;height:44px}.demo-typed-prompt{font-size:11px}.demo-thinking{flex-wrap:wrap;font-size:10px}}
@media(prefers-reduced-motion:reduce){.demo-tour-controls button:active{transform:none}}

/* Presentation cursor: never intercepts input or moves the system pointer. */
.demo-tour-cursor{position:absolute;left:0;top:0;width:28px;height:34px;z-index:5;pointer-events:none;filter:drop-shadow(0 2px 3px #0005);transform:translate(-40px,-40px)}
.demo-cursor-pointer{display:block;width:28px;height:34px;transform-origin:3px 3px}
.demo-cursor-click{position:absolute;left:-11px;top:-11px;width:28px;height:28px;border:2px solid var(--teal);background:var(--selected);border-radius:50%;opacity:0}
@media(prefers-reduced-motion:reduce){.demo-tour-cursor{display:none}}
