.studio-demo{border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;background:var(--surface);text-align:start;box-shadow:var(--shadow-stage);transition:border-color .2s ease}.studio-demo:hover{border-color:var(--primary)}.studio-toolbar{display:flex;align-items:center;gap:1.25rem;padding:.75rem 1.25rem;border-bottom:1px solid var(--border-subtle);background:var(--surface);min-height:56px}.window-dots{display:flex;align-items:center;gap:6px;padding-inline-end:.5rem}.window-dot{width:10px;height:10px;border-radius:50%;display:inline-block}.dot-red{background:#ff5f56;border:1px solid #e0443e}.dot-yellow{background:#ffbd2e;border:1px solid #dea123}.dot-green{background:#27c93f;border:1px solid #1aab29}.studio-project{font-size:.78rem;font-weight:650;white-space:nowrap;color:var(--text-muted);font-family:ui-monospace,SFMono-Regular,monospace}.studio-tab-shell{position:relative;display:inline-flex;min-width:0}.studio-tablist{display:flex;gap:.35rem;background:var(--surface-soft);padding:3px;border-radius:var(--radius-sm);border:1px solid var(--border-subtle)}.studio-tab{cursor:pointer;padding:.4rem .85rem;color:var(--text-secondary);font-size:.78rem;font-weight:600;border-radius:var(--radius-sm);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;z-index:1;transition:color .18s ease-out}.studio-tab:hover{color:var(--text-primary)}.studio-tab[data-selected]{color:var(--primary);font-weight:700}.studio-tab-shell:not(.has-indicator) .studio-tab[data-selected]{background:var(--surface);box-shadow:0 1px 3px #172e250f}.studio-tab-indicator{position:absolute;top:0;inset-inline-start:0;width:0;height:0;background:var(--surface);border-radius:var(--radius-sm);box-shadow:0 1px 3px #172e250f;opacity:0;pointer-events:none;transition:transform .34s cubic-bezier(.16,1,.3,1),width .34s cubic-bezier(.16,1,.3,1),height .34s cubic-bezier(.16,1,.3,1),opacity .2s ease-out}.studio-tab-shell.has-indicator .studio-tab-indicator{opacity:1}.studio-demo-label{margin-inline-start:auto;font-size:.72rem;color:var(--text-muted);display:flex;align-items:center;gap:.4rem}.studio-stage{display:grid;grid-template-columns:1fr 1fr;min-height:420px}.sample-code{min-width:0;position:relative;background:var(--code-bg);color:var(--code-text);border-inline-end:1px solid var(--code-border)}.sample-code-header{display:flex;justify-content:space-between;align-items:center;padding:.6rem 1.25rem;border-bottom:1px solid var(--code-border);font:12px/1.4 ui-monospace,monospace;color:var(--code-muted);background:var(--surface-soft)}.sample-filename{display:flex;align-items:center;gap:.5rem;font-weight:600}.sample-code .ui-button-ghost{font-size:.72rem;color:var(--code-ghost);padding:.25rem .6rem;min-height:28px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface)}.sample-code .ui-button-ghost:hover{background:var(--surface-soft);color:var(--text-primary)}.sample-code pre{padding:1.25rem 1.25rem 2.5rem;overflow:auto;font:12px/1.85 ui-monospace,SFMono-Regular,Consolas,monospace;-moz-tab-size:2;-o-tab-size:2;tab-size:2}.sample-line{display:flex;gap:1.25rem}.line-number{min-width:1.6rem;text-align:end;color:var(--code-dim);-webkit-user-select:none;-moz-user-select:none;user-select:none;font-variant-numeric:tabular-nums}.sample-line>span:last-child{white-space:pre}.sample-copy-status{position:absolute;bottom:.65rem;inset-inline:1.25rem;font-size:.75rem;color:var(--primary);pointer-events:none;font-weight:600}.sample-output{min-width:0;display:flex;flex-direction:column;background:var(--surface)}.output-toolbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border-subtle);padding:.65rem 1.25rem;font-size:.75rem;color:var(--text-secondary);background:var(--surface-soft)}.browser-chrome{display:flex;align-items:center;gap:.5rem}.output-address-bar{display:flex;align-items:center;gap:.4rem;background:var(--surface);border:1px solid var(--border-subtle);border-radius:6px;padding:.2rem .65rem;font:11px ui-monospace,monospace;color:var(--text-secondary)}.lock-icon{color:var(--primary);width:11px;height:11px}.preview-status{display:flex;align-items:center;gap:.4rem;font-size:.72rem;font-weight:600;color:var(--primary)}.preview-dot{width:7px;height:7px;background:var(--primary);border-radius:50%;box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 25%,transparent);display:inline-block}.output-canvas{flex:1;display:grid;align-items:center;padding:2rem;background:var(--surface)}.idea-art{position:relative;overflow:hidden;padding:2.25rem;min-height:280px;display:flex;flex-direction:column;align-items:flex-start}.idea-art h2{font-size:clamp(1.6rem,2.5vw,2.2rem);max-width:14ch;font-weight:600;z-index:1;margin-top:auto;line-height:1.2}.idea-art p{font-size:.85rem;color:var(--text-secondary);max-width:28ch;margin:.75rem 0 1.25rem;z-index:1;line-height:1.5}.sample-launch{display:inline-flex;align-items:center;gap:.5rem;border-radius:var(--radius-sm);background:var(--primary);color:var(--primary-foreground);font-size:.8rem;font-weight:650;padding:.5rem 1rem;text-decoration:none;z-index:1;transition:background .15s ease}.sample-launch:hover{background:var(--accent-hover)}.idea-orbit{position:absolute;inset-inline-end:-20px;top:-20px;width:160px;height:160px;border:1px dashed var(--border);border-radius:50%;display:grid;place-items:center}.idea-orbit:before{content:"";width:100px;height:100px;border:1px solid var(--border-subtle);border-radius:50%;position:absolute}.idea-orbit>span{position:absolute;width:12px;height:12px;background:var(--primary);border-radius:50%;top:15px;inset-inline-start:25px;box-shadow:0 0 10px var(--primary)}.counter-example{background:var(--surface-soft);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:2.25rem;display:flex;flex-direction:column;align-items:flex-start;min-height:280px;gap:1rem}.counter-framework-pill{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--primary);background:var(--surface);border:1px solid var(--border-subtle);padding:.2rem .55rem;border-radius:4px}.counter-example h2{font-size:2.2rem;font-weight:600;line-height:1.15}.counter-controls{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.counter-button{border:1px solid var(--primary);border-radius:var(--radius);padding:.6rem 1.1rem;font-size:.85rem;font-weight:650;background:var(--primary);color:var(--primary-foreground);cursor:pointer;min-height:42px;transition:background .15s ease,border-color .15s ease}.counter-button:hover{background:var(--accent-hover)}.counter-reset-button{border:1px solid var(--border);border-radius:var(--radius);padding:.6rem .9rem;font-size:.8rem;font-weight:600;background:var(--surface);color:var(--text-secondary);cursor:pointer;min-height:42px;transition:all .15s ease}.counter-reset-button:hover{background:var(--surface-soft);color:var(--text-primary)}.counter-launch-link{color:var(--primary);font-size:.8rem;font-weight:650;text-decoration:none;display:inline-flex;align-items:center;gap:.35rem;margin-top:.5rem}.counter-launch-link:hover{text-decoration:underline}.studio-status{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1.25rem;color:var(--text-muted);font-size:.8rem;border-top:1px solid var(--border-subtle);background:var(--surface-soft)}.studio-status-tags{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.status-item{display:inline-flex;align-items:center;gap:.3rem;font-weight:550}.studio-tabs [role=tabpanel]{animation:studio-reveal .35s cubic-bezier(.16,1,.3,1)}@keyframes studio-reveal{0%{opacity:.8;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media(max-width:800px){.studio-stage{grid-template-columns:1fr}.sample-code{border-inline-end:0;border-bottom:1px solid var(--code-border)}.sample-code pre{font-size:11px;max-height:240px}.output-canvas{padding:1.25rem}.idea-art,.counter-example{min-height:240px;padding:1.5rem}.studio-status{flex-direction:column;align-items:flex-start;gap:.5rem}}@media(prefers-reduced-motion:reduce){.studio-tabs [role=tabpanel],.preview-dot{animation:none}}
