.show-workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px}.screen{min-width:0}.show-story{background:var(--card);padding:20px;border:1px solid var(--border);border-radius:12px;max-height:75vh;overflow:auto}.show-editor h2,.show-setup h2{font-size:20px;font-weight:600;margin:0 0 10px}.show-story>p,.show-setup p,#empty-preview p{color:var(--muted-foreground);line-height:1.6;max-width:70ch}video{width:100%;background:var(--muted);aspect-ratio:16/9;border-radius:12px}#empty-preview{min-height:200px;padding:40px 24px;background:var(--muted);border-radius:12px;margin:12px 0}#still{display:none;width:100%;margin-top:16px}#still[src]{display:block}#identity{padding-bottom:14px;overflow-wrap:anywhere;font-size:13px}.seek,.actions,.show-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:16px}.show-editor button{font:inherit;font-weight:500;padding:9px 14px;border:1px solid var(--border);border-radius:6px;background:var(--secondary);color:var(--secondary-foreground);cursor:pointer}.show-editor button:hover{background:var(--accent)}.show-editor button:disabled{opacity:.5;cursor:not-allowed}.show-editor input,.show-editor textarea,.show-editor select{width:100%;padding:8px;font:inherit;border:1px solid var(--border);border-radius:6px;background:var(--background);color:var(--foreground);caret-color:var(--primary)}.show-editor textarea{min-height:74px;resize:vertical}.show-editor label{display:block;margin:10px 0;font-size:13px}.show-editor label input,.show-editor label textarea{margin-top:5px}.seek input{width:110px}.show-editor fieldset{border:0;border-top:1px solid var(--border);padding:18px 0;margin:20px 0}.show-editor legend{font-size:18px;font-weight:600;padding-right:12px}.show-editor .grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.lane{display:flex;gap:3px;margin:8px 0;min-height:32px}.lane span{background:var(--secondary);border-radius:3px;padding:7px;overflow:hidden;font-size:12px}.lane.captions span{background:var(--accent)}#error{color:var(--destructive);white-space:pre-wrap}#jobs{white-space:pre-wrap;font-size:13px}#exports{margin-top:24px}.show-editor :is(button,input,textarea,select):focus-visible{outline:2px solid var(--ring);outline-offset:3px}.show-editor small{color:var(--muted-foreground)}.show-editor a{color:var(--primary);text-decoration:underline;text-underline-offset:3px}.empty{line-height:1.6}.show-setup{padding-top:24px;border-top:1px solid var(--border)}.show-setup code{display:block;margin:12px 0;font-size:13px;overflow-wrap:anywhere}.show-state .access-shell{min-height:0;display:block}.show-state .access-shell>aside{display:none}.show-state .access-main{max-width:none;padding:24px}.show-state [class*="min-h-svh"]{min-height:0}::selection{background:var(--primary);color:var(--primary-foreground)}.show-story{scrollbar-color:var(--muted-foreground) var(--muted)}[hidden]{display:none!important}@media(max-width:1100px){.show-workspace{grid-template-columns:1fr}.show-story{max-height:none}}@media(max-width:480px){.show-editor .grid{grid-template-columns:1fr 1fr;gap:8px}.show-toolbar>*{flex:1 1 150px}.show-story{padding:16px}}
.dark .workspace-header [data-slot="button"],.dark .show-toolbar [data-slot="button"],.dark #reload{color:var(--foreground);background:var(--secondary)}
#narration{border-top:1px solid var(--border);margin-top:24px;padding-top:18px}#narration output{display:block;font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.show-editor input[type=checkbox]{width:auto;margin-right:8px}.lane.narration span{background:var(--secondary);border:1px solid var(--primary)}#listening-review{max-width:65ch}#audio-state{font-size:13px}

.beat-actions { display:flex; flex-wrap:wrap; gap:8px; margin-block:16px; }
.graphics-editor { margin-block:32px; }
#story details { margin-block:16px; }
#story summary { cursor:pointer; font-weight:600; }
.lane button { height:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:2px; border-radius:3px; padding:2px 6px; font-size:12px; }
.lane.graphics button { background:var(--primary); color:var(--primary-foreground); }
#timeline input[type=range] { width:100%; cursor:ew-resize; }
#timeline output { font-variant-numeric:tabular-nums; }

.clip-editor{border:1px solid var(--border);border-radius:8px;padding:12px;margin-block:16px;min-width:0}.clip-editor h3{font-size:14px;font-weight:600;margin:0 0 8px}.clip-editor small{display:block;margin-top:10px;line-height:1.5}.show-editor fieldset{min-width:0}.show-editor input,.show-editor textarea,.show-editor select{min-width:0}.lane button{box-sizing:border-box}.beat-actions button{flex:1 1 100px}@media(max-width:480px){.show-editor .grid{grid-template-columns:1fr}.show-editor button{max-width:100%;white-space:normal}.clip-editor{padding:10px}}
