.editor-workspace{background:var(--canvas);width:100%;height:100svh;min-height:620px;color:var(--foreground);--editor-panel-width:300px;flex-direction:column;font-size:12px;display:flex}.editor-workspace [hidden]{display:none!important}.editor-workspace button,.editor-workspace a,.editor-workspace input,.editor-workspace textarea,.editor-workspace summary{transition:background-color .15s,border-color .15s}.editor-workspace button:focus-visible,.editor-workspace a:focus-visible,.editor-workspace summary:focus-visible,.editor-workspace [role=button]:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}.editor-workspace input[type=range]{accent-color:var(--primary);cursor:pointer;height:16px}.editor-workspace input:disabled,.editor-workspace fieldset:disabled{opacity:.55}.editor-header{border-bottom:1px solid var(--border);background:var(--surface);flex-shrink:0;align-items:center;gap:16px;height:64px;padding:0 20px;display:flex}.editor-back{width:32px;height:32px;color:var(--muted-foreground);border-radius:6px;place-items:center;display:grid}.editor-back:hover{background:var(--surface-hover);color:var(--foreground)}.editor-project-identity{flex:1;align-items:center;gap:18px;min-width:0;display:flex}.editor-project-identity input{width:min(330px,100%);box-shadow:none;background:0 0;border-color:#0000;padding-left:6px;font-size:13px;font-weight:500}.editor-project-identity input:hover{border-color:var(--border)}.editor-save-status{color:var(--muted-foreground);white-space:nowrap;align-items:center;gap:5px;font-size:11px;display:flex}.editor-save-status[data-state=error],.editor-save-status[data-state=conflict]{color:var(--destructive)}.editor-history{border-right:1px solid var(--border);gap:2px;padding-right:16px;display:flex}.editor-export-button{height:34px;padding:0 16px}.editor-shortcuts{background:var(--surface-elevated);border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:center;align-items:center;gap:20px;padding:10px 20px;display:flex}.editor-shortcuts span{color:var(--muted-foreground);align-items:center;gap:6px;font-size:11px;display:flex}.editor-workspace kbd{border:1px solid var(--border);background:var(--surface);border-radius:3px;padding:1px 4px;font-size:10px}.editor-notices:empty{display:none}.editor-notices{flex-shrink:0;max-height:180px;overflow-y:auto}.editor-notices>*{border-radius:6px;margin:8px 16px;padding:10px 14px;font-size:12px}.editor-notices progress{height:4px;accent-color:var(--primary)}.editor-panels{grid-template-columns:var(--editor-panel-width) minmax(0, 1fr) var(--editor-panel-width);flex:1;min-height:0;display:grid}.editor-library,.editor-inspector{background:var(--surface);flex-direction:column;min-width:0;min-height:0;display:flex}.editor-library{border-right:1px solid var(--border)}.editor-inspector{border-left:1px solid var(--border)}.editor-panel-tabs{border-bottom:1px solid var(--border);flex-shrink:0;gap:4px;height:48px;padding:0 12px;display:flex}.editor-panel-tabs>button{color:var(--muted-foreground);cursor:pointer;border-bottom:2px solid #0000;flex:1;justify-content:center;align-items:center;gap:7px;font-size:12px;display:flex}.editor-panel-tabs>button:hover{color:var(--foreground);background:var(--surface-elevated)}.editor-panel-tabs>button[aria-selected=true]{color:var(--foreground);border-bottom-color:var(--primary)}.editor-panel-tabs>button span{background:var(--surface-elevated);color:var(--muted-foreground);border-radius:4px;padding:1px 5px;font-size:10px}.editor-panel-scroll{scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex:1;min-height:0;overflow-y:auto}.editor-panel-heading{justify-content:space-between;gap:10px;margin-bottom:18px;display:flex}.editor-panel-heading h2{font-size:12px;font-weight:500}.editor-panel-heading span,.editor-panel-hint{color:var(--muted-foreground);font-size:11px}.editor-media-panel{padding:20px 16px}.editor-media-card{border:1px solid var(--border);border-radius:7px;margin-bottom:16px;overflow:hidden}.editor-media-thumbnail{aspect-ratio:9/16;background:var(--canvas);color:var(--muted-foreground);place-items:center;display:grid;position:relative}.editor-media-thumbnail img{object-fit:contain;width:100%;height:100%}.editor-media-thumbnail>span{background:var(--surface);font-family:var(--font-app-mono);border-radius:3px;padding:2px 5px;font-size:10px;position:absolute;bottom:8px;right:8px}.editor-media-card h3{text-overflow:ellipsis;white-space:nowrap;padding:12px 12px 4px;font-size:12px;font-weight:500;overflow:hidden}.editor-media-card p{color:var(--muted-foreground);padding:0 12px 12px;font-size:11px}.editor-media-panel>button{width:100%;height:36px}.editor-panel-hint{margin-top:16px;line-height:1.8}.editor-transcript-panel{flex-direction:column;flex:1;min-height:0;display:flex}.editor-caption-tools{border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:8px;padding:12px;display:flex}.editor-caption-search{flex:1;min-width:0;position:relative}.editor-caption-search>svg{color:var(--muted-foreground);position:absolute;top:10px;left:9px}.editor-caption-search input{background:var(--canvas);border-color:var(--border);height:34px;padding-left:30px;font-size:11px}.editor-transcript-scroll{scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex:1;min-height:0;overflow-y:auto}.editor-caption-row{border-bottom:1px solid var(--border);border-left:2px solid #0000;padding:12px 14px}.editor-caption-row:hover{background:var(--surface-elevated)}.editor-caption-row.is-selected{background:var(--surface-elevated);border-left-color:var(--primary)}.editor-caption-row.is-playing .editor-caption-number{color:var(--caption)}.editor-caption-meta{align-items:center;gap:5px;margin-bottom:5px;display:flex}.editor-caption-number{color:var(--muted-foreground);font-family:var(--font-app-mono);flex-shrink:0;width:20px;font-size:10px}.editor-caption-meta>button{height:26px;color:var(--muted-foreground);font-size:10px;font-family:var(--font-app-mono);padding:0 4px}.editor-caption-meta .editor-caption-delete{width:26px;color:var(--muted-foreground);margin-left:auto}.editor-caption-delete:hover{color:var(--destructive)}.editor-caption-text{resize:vertical;width:100%;min-height:52px;max-height:180px;font:inherit;background:0 0;border:1px solid #0000;border-radius:4px;padding:6px 8px;font-size:13px;line-height:1.6}.editor-caption-text:focus{background:var(--canvas);outline:1px solid var(--ring);border-color:var(--ring)}.editor-caption-timing{margin:6px 8px 0;font-size:11px}.editor-caption-timing summary{color:var(--muted-foreground);cursor:pointer}.editor-caption-timing input{max-width:100px;font-size:11px}.editor-panel-empty{text-align:center;color:var(--muted-foreground);padding:28px 20px;font-size:12px;line-height:1.8}.editor-generate{border-top:1px solid var(--border);background:var(--surface);flex-shrink:0;max-height:250px;padding:14px 16px;overflow-y:auto}.editor-generate summary{cursor:pointer;font-size:12px;font-weight:500}.editor-generate p{font-size:11px;line-height:1.6}.editor-generate>div>button{width:100%;height:34px;font-size:12px}.editor-preview{background:var(--canvas);flex-direction:column;min-width:0;min-height:0;display:flex}.editor-preview-heading{height:48px;color:var(--muted-foreground);border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;padding:0 20px;display:flex}.editor-preview-heading h1{color:var(--foreground);font-size:12px;font-weight:500}.editor-preview-heading>span{font-family:var(--font-app-mono);font-size:10px}.editor-player{flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:0;padding:22px 22px 82px;display:flex;position:relative;overflow:hidden}.editor-video-stage{flex:1;align-self:stretch;place-items:center;width:100%;min-width:0;min-height:0;display:grid;position:relative}.editor-video-frame{isolation:isolate;background:var(--canvas);min-width:0;min-height:0;position:relative;overflow:hidden}.editor-frame-video{object-fit:contain;width:100%;height:100%;display:block;position:absolute;inset:0}.editor-transport{border-top:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;gap:8px;padding:12px 16px 24px;display:flex;position:absolute;inset:auto 0 0}.editor-transport-buttons{align-items:center;gap:6px;display:flex}.editor-timecode{font-family:var(--font-app-mono);white-space:nowrap;font-size:10px}.editor-timecode>span{color:var(--muted-foreground)}.editor-preview-seek{position:absolute;bottom:2px;left:16px;right:16px}.editor-preview-seek input{width:100%;height:12px}.editor-playback-error{background:var(--surface-elevated);border:1px solid var(--destructive);color:var(--destructive);border-radius:6px;padding:10px;font-size:11px;position:absolute;inset:20px 20px auto}.editor-style-scope{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:12px 16px;display:flex}.editor-style-scope>label{color:var(--muted-foreground);white-space:nowrap;font-size:11px}.editor-inspector-footer{border-top:1px solid var(--border);text-align:center;padding:10px 16px}.editor-inspector-footer>button{width:100%;color:var(--muted-foreground);font-size:11px}.editor-properties{gap:20px;display:grid}.editor-properties h3{margin-bottom:16px;font-size:11px;font-weight:600}.editor-property{margin-bottom:16px;display:block}.editor-property>span,.editor-property>label{color:var(--muted-foreground);justify-content:space-between;align-items:center;margin-bottom:9px;font-size:11px;display:flex}.editor-property output{color:var(--foreground);font-family:var(--font-app-mono);font-size:10px}.editor-property input{width:100%}.editor-property [data-slot=select-trigger]{background:var(--canvas);font-size:12px}.editor-text-toggles{gap:20px;margin-bottom:18px;font-size:11px;display:flex}.editor-text-toggles label{align-items:center;gap:7px;display:flex}.editor-text-toggles input{accent-color:var(--primary)}.editor-color{color:var(--muted-foreground);justify-content:space-between;align-items:center;gap:12px;margin:14px 0;font-size:11px;display:flex}.editor-color-value{background:var(--canvas);border:1px solid var(--border);font-family:var(--font-app-mono);color:var(--foreground);border-radius:5px;align-items:center;gap:6px;padding:4px 7px;font-size:10px;display:flex}.editor-color input{cursor:pointer;background:0 0;border:none;width:20px;height:20px;padding:0}.editor-timeline-dock{border-top:1px solid var(--border);background:var(--surface);flex-shrink:0}.editor-timeline-toolbar{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:6px;height:48px;padding:0 16px;display:flex}.editor-timeline-toolbar h2{margin-right:auto;font-size:12px;font-weight:500}.editor-timeline-toolbar h2>span{font-family:var(--font-app-mono);margin-left:8px;font-size:10px}.editor-timeline-toolbar>button{background:0 0;border-color:#0000;height:28px;font-size:11px}.editor-timeline-toolbar>button:hover{background:var(--surface-hover)}.editor-timeline-toolbar>label{color:var(--muted-foreground);margin-left:12px;font-size:10px}.editor-timeline-toolbar>label input{width:80px}.editor-timeline-tracks{min-width:0;display:flex}.editor-track-labels{border-right:1px solid var(--border);flex-direction:column;flex-shrink:0;width:100px;padding-top:8px;display:flex}.editor-track-labels span{color:var(--muted-foreground);align-items:center;padding:0 16px;font-size:11px;display:flex}.editor-track-labels span:first-child{height:32px;font-size:10px}.editor-track-labels span:nth-child(2){height:58px;color:var(--timeline-video)}.editor-track-labels span:last-child{height:42px;color:var(--caption)}.editor-timeline-scroll{scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex:1;min-width:0;padding:8px 12px;overflow-x:auto}.editor-timeline-scroll>div{min-height:134px}.editor-ruler-mark{font-family:var(--font-app-mono);color:var(--muted-foreground);border-left:1px solid var(--border);padding-left:5px;font-size:10px;position:absolute;top:4px;transform:translate(-50%)}.editor-ruler-mark:first-child{transform:none}.editor-ruler-mark:last-child{transform:translate(-100%)}.editor-video-track{gap:2px;height:54px;margin-top:6px;display:flex}.editor-timeline-clip{cursor:grab;border:1px solid color-mix(in srgb, var(--timeline-video) 45%, var(--border));background:color-mix(in srgb, var(--timeline-video) 14%, var(--surface));border-radius:4px;min-width:0;padding:8px 12px;font-size:11px;position:relative;overflow:hidden}.editor-timeline-clip.is-selected{outline:2px solid var(--primary);outline-offset:-2px}.editor-timeline-clip p{margin-top:5px;font-size:10px}.editor-caption-track{height:32px;margin-top:8px;position:relative}.editor-timeline-caption{border:1px solid color-mix(in srgb, var(--caption) 45%, var(--border));background:var(--caption-muted);height:28px;color:var(--caption);text-align:left;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;border-radius:4px;padding:0 8px;font-size:10px;position:absolute;overflow:hidden}.editor-timeline-caption:hover{border-color:var(--primary)}.editor-playhead{background:var(--timeline-playhead);pointer-events:none;width:1px;position:absolute;top:0;bottom:0}.editor-playhead-head{background:var(--timeline-playhead);clip-path:polygon(0 0,100% 0,100% 60%,50% 100%,0 60%);width:10px;height:10px;position:absolute;top:0;left:-4.5px}.editor-clip-properties{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:14px;padding:8px 16px;font-size:10px;display:flex}.editor-clip-properties legend{float:left;color:var(--muted-foreground);margin:0 6px 0 0}.editor-clip-properties input[type=number]{width:64px;height:28px;padding:4px;font-size:10px}.editor-clip-properties input[type=range]{width:75px}.editor-clip-properties button{height:26px;font-size:10px}.editor-timeline-hint{color:var(--muted-foreground);border-top:1px solid var(--border);padding:7px 16px;font-size:10px}.editor-loading,.editor-upload-empty{min-height:70svh;color:var(--muted-foreground);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:16px;padding:30px;display:flex}.editor-upload-empty h1{color:var(--foreground);font-size:18px}@media (min-width:1700px){.editor-workspace{--editor-panel-width:330px}}@media (max-width:1200px){.editor-workspace{--editor-panel-width:260px}.editor-project-identity{gap:8px}.editor-player{padding-left:12px;padding-right:12px}.editor-timecode>span{display:none}.editor-style-content{padding:12px}.editor-caption-meta>button{font-size:9px}}@media (max-width:980px){.editor-workspace{height:auto;min-height:100svh}.editor-panels{flex:none;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr)}.editor-library{grid-area:1/1;height:480px}.editor-preview{grid-area:1/2;height:480px}.editor-inspector{border-left:none;border-top:1px solid var(--border);grid-area:2/1/auto/-1;min-height:320px;max-height:440px}.editor-properties{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.editor-properties section+section{border-top:none;padding-top:0}.editor-inspector-footer{display:none}.editor-timeline-dock{z-index:10;position:sticky;bottom:0}.editor-save-status{display:none}}@media (max-width:600px){.editor-header{gap:6px;padding:0 10px}.editor-history{border:0;padding:0}.editor-shortcuts-button{display:none}.editor-project-identity input{font-size:12px}.editor-export-button{padding:0 10px;font-size:12px}.editor-panels{flex-direction:column;display:flex}.editor-preview{flex:none;order:0;height:340px}.editor-library{border-right:none;border-top:1px solid var(--border);flex:none;order:1;height:420px}.editor-inspector{flex:none;order:2;height:400px}.editor-timecode>span{display:inline}.editor-timeline-dock{position:static}.editor-timeline-toolbar{height:auto;min-height:48px;padding:10px}.editor-timeline-toolbar h2{width:100%}.editor-timeline-toolbar>label{margin-left:auto}.editor-track-labels{width:70px}.editor-track-labels span{padding:0 10px;font-size:10px}.editor-timeline-hint{display:none}.editor-properties{grid-template-columns:1fr}}.editor-timeline-toolbar{height:auto;min-height:48px;padding-block:8px}.timeline-tool-group,.timeline-zoom{align-items:center;gap:3px;display:flex}.timeline-tool-group{border:1px solid var(--border);border-radius:5px;padding:2px}.editor-timeline-toolbar button[aria-pressed=true]{color:var(--brand-hover);background:var(--surface-hover)}.timeline-toolbar-divider{background:var(--border);width:1px;height:20px;margin:0 4px}.timeline-zoom input{width:70px}.editor-timeline-scroll{overscroll-behavior:contain;padding:0}.timeline-canvas{-webkit-user-select:none;user-select:none;min-height:144px;padding-bottom:10px;position:relative}.timeline-ruler{border-bottom:1px solid var(--border);cursor:ew-resize;touch-action:none;height:36px;position:relative}.timeline-ruler:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}.timeline-tick{border-left:1px solid var(--border);height:35px;color:var(--muted-foreground);font-family:var(--font-app-mono);pointer-events:none;white-space:nowrap;padding:9px 6px 0;font-size:10px;position:absolute;top:0}.editor-track-labels{padding-top:0}.editor-track-labels span{gap:6px}.editor-track-labels span:first-child{height:36px}.editor-track-labels span:nth-child(2){height:64px}.editor-track-labels span:last-child{height:36px}.editor-track-labels span small{display:none}.editor-video-track{height:58px;margin-top:6px;display:block;position:relative}.editor-timeline-clip{touch-action:none;-webkit-user-select:none;user-select:none;border-radius:4px;height:56px;padding:9px 12px;position:absolute}.editor-timeline-clip>strong{text-overflow:ellipsis;white-space:nowrap;pointer-events:none;font-size:11px;font-weight:500;display:block;overflow:hidden}.editor-timeline-clip>span{font-family:var(--font-app-mono);color:var(--muted-foreground);white-space:nowrap;pointer-events:none;margin-top:7px;font-size:9px;display:block}.timeline-canvas.is-razor .editor-timeline-clip{cursor:crosshair}.timeline-trim-handle{cursor:ew-resize;touch-action:none;z-index:4;background:var(--primary);border-radius:2px;width:9px;position:absolute;top:0;bottom:0}.timeline-trim-handle:after{content:"";background:var(--primary-foreground);width:1px;position:absolute;top:18px;bottom:18px;left:4px}.timeline-trim-handle.is-start{left:0}.timeline-trim-handle.is-end{right:0}.editor-caption-track{margin-top:6px}.editor-playhead{z-index:5}.editor-playhead-head{pointer-events:auto;cursor:ew-resize;touch-action:none;width:12px;height:15px;left:-6px}.editor-playhead-head:after{content:"";position:absolute;inset:-5px}.timeline-insertion,.timeline-snap-line{background:var(--primary);pointer-events:none;z-index:6;width:2px;position:absolute;top:36px;bottom:10px}.timeline-snap-line{background:var(--success);width:1px;top:0}.timeline-insertion>span{white-space:nowrap;background:var(--primary);color:var(--primary-foreground);border-radius:3px;padding:4px 6px;font-size:10px;position:absolute;top:4px;left:4px}.timeline-gesture-feedback{background:var(--surface-elevated);border:1px solid var(--border);width:fit-content;font:10px var(--font-app-mono);border-radius:4px;margin:0 12px;padding:4px 8px;display:block;position:sticky;bottom:2px;left:12px}.editor-clip-properties label{align-items:center;gap:6px;display:flex}.editor-timeline-hint{justify-content:space-between;gap:12px;display:flex}.editor-timeline-hint>span:first-child{color:var(--muted-foreground)}@media (max-width:1100px){.editor-timeline-hint>span:last-child{display:none}}@media (max-width:600px){.timeline-zoom{margin-left:auto}.timeline-zoom input{width:48px}.editor-timeline-hint{display:none}}.timeline-canvas{overflow:clip}.timeline-insertion:last-child>span{transform:translate(-100%)}.timeline-insertion.is-at-end>span{left:auto;right:4px}.timeline-ruler{background-image:linear-gradient(to right, var(--border) 1px, transparent 1px);background-size:calc(var(--timeline-grid-step) / 5) 5px;background-position:0 100%;background-repeat:repeat-x}.editor-dock{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative}.editor-dock-panels{flex:1;min-width:0;min-height:0;display:grid}.editor-dock-panel{min-width:0;min-height:0;position:relative;overflow:hidden}.editor-dock-panel>.editor-library,.editor-dock-panel>.editor-preview,.editor-dock-panel>.editor-inspector{border-inline:0;width:100%;height:100%;min-height:0}.editor-dock-panel .editor-panel-tabs{gap:0;padding-left:8px;padding-right:62px}.editor-panel-actions{z-index:12;gap:2px;display:flex;position:absolute;top:10px;right:7px}.editor-panel-actions>button{width:24px;height:26px;color:var(--muted-foreground);background:var(--surface)}.editor-panel-actions>button:hover{color:var(--foreground);background:var(--surface-hover)}.dock-preview .editor-panel-actions{right:12px}.editor-resize-handle{background:var(--surface);touch-action:none;z-index:15;outline:none;flex-shrink:0;position:relative}.editor-resize-handle.is-vertical{cursor:col-resize;border-inline:1px solid var(--border);width:6px;height:100%}.editor-resize-handle.is-horizontal{cursor:row-resize;border-block:1px solid var(--border);width:100%;height:6px}.editor-resize-handle:hover,.editor-resize-handle:focus-visible{background:var(--primary)}.editor-resize-handle:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}.editor-resize-handle span{background:var(--muted-foreground);pointer-events:none;border-radius:3px;position:absolute}.editor-resize-handle.is-vertical span{width:2px;height:28px;top:calc(50% - 14px);left:1px}.editor-resize-handle.is-horizontal span{width:32px;height:2px;top:1px;left:calc(50% - 16px)}.editor-dock.is-resizing{-webkit-user-select:none;user-select:none}.editor-dock.is-resizing video{pointer-events:none}.editor-dock-timeline{scrollbar-width:thin;border-top:1px solid var(--border);background:var(--surface);flex-shrink:0;min-height:0;position:relative;overflow:auto}.editor-dock-timeline>.editor-panel-actions{top:10px}.editor-dock-timeline .editor-timeline-toolbar{z-index:10;background:var(--surface);padding-right:68px;position:sticky;top:0}.editor-dock.is-maximized .editor-dock-timeline{flex:1}.editor-dock.is-maximized .editor-dock-timeline .editor-timeline-tracks{min-height:220px}.editor-panel-restore-bar{background:var(--surface);border-bottom:1px solid var(--border);color:var(--muted-foreground);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:12px;padding:7px 16px;font-size:10px;display:flex}.editor-panel-restore-bar button{color:var(--brand-hover);border:1px solid var(--border);cursor:pointer;border-radius:4px;padding:3px 7px}.editor-panel-restore-bar button:hover{background:var(--surface-hover)}.editor-workspace-menu-trigger{color:var(--muted-foreground);gap:7px}.editor-layout-menu{min-width:220px;padding:6px}.editor-layout-menu [role=menuitem],.editor-layout-menu [role=menuitemcheckbox]{min-height:34px;padding-left:10px;font-size:12px}.editor-dock-panel:fullscreen{background:var(--canvas);width:100vw;height:100svh}@media (max-width:1100px){.editor-workspace-menu-trigger span{display:none}}@media (max-width:980px){.editor-dock{flex:none;min-height:0}.editor-dock-panels{flex:none;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);display:grid}.dock-library{grid-area:1/1;height:480px}.dock-preview{grid-area:1/2;height:480px}.dock-inspector{grid-area:2/1/auto/-1;height:400px}.editor-dock.is-maximized .editor-dock-panels{display:flex}.editor-dock.is-maximized .editor-dock-panel{width:100%;height:75svh}.editor-dock-timeline{max-height:400px;position:static}.editor-dock.is-maximized .editor-dock-timeline{min-height:75svh;max-height:none}.editor-dock-panel[hidden]+.dock-preview{grid-column:1/-1}}@media (max-width:600px){.editor-dock-panels{flex-direction:column;display:flex}.dock-preview{order:0;height:340px}.dock-library{order:1;height:420px}.dock-inspector{order:2;height:400px}.editor-dock-panel{flex-shrink:0}.editor-panel-restore-bar>span{display:none}.editor-workspace-menu-trigger{padding-inline:5px}}.editor-dock-timeline{--video-track-height:clamp(56px, calc((var(--timeline-dock-height,260px) - 170px) * .65), 140px)}.editor-dock-timeline .editor-video-track{height:calc(var(--video-track-height) + 2px)}.editor-dock-timeline .editor-timeline-clip{height:var(--video-track-height)}.editor-dock-timeline .editor-track-labels span:nth-child(2){height:calc(var(--video-track-height) + 8px)}.editor-dock.is-maximized .editor-dock-timeline{--video-track-height:140px}.editor-dock-panel{container-type:inline-size}@container (max-width:270px){.editor-panel-tabs>button>svg{display:none}}.editor-layout-error{background:var(--surface-elevated);border-top:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;padding:8px 16px;font-size:12px;display:flex}.editor-preview-tools{color:var(--muted-foreground);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px;padding:10px 20px 0;display:flex}.editor-preview-hint{color:var(--muted-foreground);flex-shrink:0;margin:8px 20px;font-size:11px;line-height:1.5}.editor-caption-transform.is-editable{pointer-events:auto;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.editor-caption-transform.is-editable:active{cursor:grabbing}.editor-caption-transform.is-editable:before{content:"";position:absolute;inset:-6px}.editor-caption-transform.is-editable>span{pointer-events:none}.editor-caption-transform.is-editable:hover,.editor-caption-transform.is-selected{outline:1px solid var(--primary);outline-offset:4px}.editor-caption-transform:focus-visible{outline:2px solid var(--ring);outline-offset:4px}.editor-caption-handle{z-index:1;touch-action:none;pointer-events:auto;background:0 0;border:0;width:22px;height:22px;padding:0;position:absolute}.editor-caption-handle:after{content:"";background:var(--primary);border:2px solid var(--primary-foreground);border-radius:3px;position:absolute;inset:5px}.editor-caption-handle:hover:after{background:var(--brand-hover)}.editor-caption-handle.handle-nw{cursor:nwse-resize;top:-4px;left:-4px}.editor-caption-handle.handle-ne{cursor:nesw-resize;top:-4px;right:-4px}.editor-caption-handle.handle-sw{cursor:nesw-resize;bottom:-4px;left:-4px}.editor-caption-handle.handle-se{cursor:nwse-resize;bottom:-4px;right:-4px}.editor-safe-zones{pointer-events:none;color:var(--warning);font:10px/1.4 var(--font-dm-sans), sans-serif;position:absolute;inset:0;overflow:hidden}.editor-dead-zone{background:repeating-linear-gradient(135deg, color-mix(in srgb, var(--warning) 18%, transparent) 0 1px, color-mix(in srgb, var(--canvas) 45%, transparent) 1px 8px);place-items:center;display:grid;position:absolute}.editor-dead-zone span,.editor-safe-boundary span{background:var(--canvas);border-radius:3px;padding:3px 6px}.editor-zone-actions{writing-mode:vertical-rl}.editor-safe-boundary{border:1px dashed var(--warning);padding:6px;position:absolute}.editor-caption-scope{border:1px solid var(--border);background:var(--surface);border-radius:7px;padding:3px;display:inline-flex}.editor-caption-scope button,.editor-caption-snap{min-height:30px;color:var(--muted-foreground);border-radius:4px;padding:5px 10px;font-size:11px}.editor-caption-scope button:hover,.editor-caption-snap:hover{background:var(--surface-hover);color:var(--foreground)}.editor-caption-scope button[aria-pressed=true]{background:var(--primary);color:var(--primary-foreground)}.editor-caption-scope button:disabled{opacity:.5;cursor:not-allowed}.editor-caption-scope button span{font-variant-numeric:tabular-nums;margin-left:4px}.editor-caption-snap{border:1px solid var(--border)}.editor-caption-snap[aria-pressed=true]{border-color:var(--primary);color:var(--primary)}.editor-caption-selection-label{white-space:nowrap;color:var(--primary-foreground);background:var(--primary);font:10px/1.4 var(--font-app-sans);letter-spacing:normal;text-shadow:none;-webkit-text-stroke:0;pointer-events:none;border-radius:3px;padding:3px 7px;position:absolute;bottom:calc(100% + 13px);left:50%;transform:translate(-50%)}.editor-caption-guide{background:var(--primary);pointer-events:none;position:absolute}.editor-caption-guide.guide-x{width:1px;top:0;bottom:0}.editor-caption-guide.guide-y{height:1px;left:0;right:0}.editor-transform-controls{border-bottom:1px solid var(--border);min-width:0;padding:0 0 16px}.editor-transform-controls legend{color:var(--foreground);align-items:center;gap:7px;margin-bottom:8px;font-size:12px;font-weight:600;display:flex}.editor-transform-controls>p{color:var(--muted-foreground);margin:6px 0 12px;font-size:11px;line-height:1.5}.editor-transform-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.editor-transform-value{flex-direction:column;gap:4px;min-width:0;display:flex}.editor-scrub-label{text-align:left;width:fit-content;color:var(--muted-foreground);cursor:ew-resize;touch-action:none;font-size:11px}.editor-scrub-label:hover{color:var(--primary)}.editor-transform-value>span{background:var(--surface);border:1px solid var(--input);border-radius:5px;align-items:center;padding-right:5px;display:flex}.editor-transform-value>span:focus-within{outline:2px solid var(--ring);outline-offset:1px}.editor-transform-value input{font-variant-numeric:tabular-nums;background:0 0;border:0;outline:none;width:100%;min-width:0;padding:7px 4px;font-size:11px}.editor-transform-value>span>span{color:var(--muted-foreground);font-size:10px}.editor-position-presets{align-items:center;gap:12px;margin-top:14px;display:flex}.editor-position-grid{border:1px solid var(--border);border-radius:5px;grid-template-columns:repeat(3,24px);gap:3px;padding:4px;display:grid}.editor-position-grid button{border-radius:2px;place-items:center;width:24px;height:20px;display:grid}.editor-position-grid button>span{background:var(--muted-foreground);border-radius:1px;width:7px;height:4px}.editor-position-grid button:hover{background:var(--surface-hover)}.editor-position-grid button[aria-pressed=true]{background:var(--primary)}.editor-position-grid button[aria-pressed=true]>span{background:var(--primary-foreground)}.editor-position-presets>div>span{color:var(--muted-foreground);font-size:11px}.editor-transform-reset{align-items:center;gap:5px;margin-top:8px;font-size:11px;display:flex}.editor-transform-reset:hover{color:var(--primary)}.editor-safe-status.is-unsafe{color:var(--warning)}.editor-line-actions{flex-wrap:wrap;align-items:center;gap:6px;margin-top:7px;display:flex}.editor-line-actions button{color:var(--muted-foreground);border:1px solid var(--border);background:var(--surface);border-radius:4px;padding:4px 8px;font-size:11px}.editor-line-actions button:hover:not(:disabled){color:var(--foreground);background:var(--surface-hover);border-color:var(--primary)}.editor-line-actions button:disabled{opacity:.45;cursor:not-allowed}.editor-line-hint{color:var(--muted-foreground);margin-top:7px;font-size:10px;line-height:1.5}.editor-line-error{color:var(--warning);margin-top:7px;font-size:11px}.editor-caption-text{resize:vertical;min-height:74px;line-height:1.65}.editor-caption-area{border:1px dashed var(--primary);background:color-mix(in srgb, var(--primary) 7%, transparent);position:absolute}.editor-caption-area>span{color:var(--foreground);background:var(--canvas);border-radius:3px;padding:3px 6px;position:absolute;top:6px;left:6px}.editor-caption-words{white-space:pre-wrap;overflow-wrap:anywhere;min-height:54px;padding:7px 2px;font-size:14px;line-height:2.05}.editor-caption-word{cursor:text;caret-color:var(--primary);-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:4px;padding:3px 2px}.editor-caption-word[contenteditable=true]:hover{background:var(--surface-hover)}.editor-caption-word:focus{outline:2px solid var(--primary);outline-offset:1px;background:color-mix(in srgb, var(--primary) 12%, var(--surface))}.editor-caption-word[aria-disabled=true]{cursor:default}.editor-track-labels span:nth-child(3){height:36px;color:var(--caption)}.editor-track-labels .timeline-audio-label{height:54px;color:var(--timeline-audio)}.editor-audio-track{cursor:ew-resize;touch-action:none;height:48px;margin-top:6px;position:relative}.timeline-waveform-clip{border-block:1px solid color-mix(in srgb, var(--timeline-audio) 25%, var(--border));border-inline:1px solid var(--border);background:color-mix(in srgb, var(--timeline-audio) 7%, var(--surface));height:48px;color:var(--timeline-audio);border-radius:3px;position:absolute;overflow:hidden}.timeline-waveform-clip svg{pointer-events:none;width:100%;height:100%}.timeline-waveform-clip path{stroke:currentColor;stroke-width:1.5px;vector-effect:non-scaling-stroke}.timeline-waveform-clip.is-muted{color:var(--muted-foreground)}.timeline-waveform-clip>span,.timeline-waveform-retry{white-space:nowrap;color:var(--muted-foreground);padding:14px 8px;font-size:10px;display:block}.timeline-waveform-retry:hover{color:var(--foreground);text-decoration:underline}.editor-export-dialog{background:var(--surface-elevated);width:min(760px,100vw - 24px);max-width:min(760px,100vw - 24px);max-height:min(900px,92dvh);color:var(--foreground);flex-direction:column;gap:0;padding:0;display:flex;overflow:hidden}.editor-export-dialog [data-slot=dialog-header]{padding:24px 48px 20px 24px}.editor-export-dialog [data-slot=dialog-title]{font-size:20px}.export-navigation{border-bottom:1px solid var(--border);gap:6px;padding:0 24px 12px;display:flex}.export-navigation button{color:var(--muted-foreground);border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:9px 14px;font-size:13px;display:flex}.export-navigation button:hover{background:var(--surface-hover);color:var(--foreground)}.export-navigation button[aria-pressed=true]{color:var(--primary);background:color-mix(in srgb, var(--primary) 12%, var(--surface))}.editor-export-dialog button:focus-visible,.editor-export-dialog summary:focus-visible,.editor-export-dialog select:focus-visible,.editor-export-dialog input:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.export-scroll-body{scrollbar-width:thin;min-height:0;padding:20px 24px;overflow-y:auto}.export-video-settings{flex-direction:column;gap:20px;display:flex}.export-section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.export-section-heading h3{font-size:14px;font-weight:600}.export-section-heading>span{color:var(--muted-foreground);font-size:11px}.export-composition{background:var(--canvas);border:1px solid var(--border);border-radius:8px;align-items:center;gap:20px;padding:18px;display:flex}.export-preview-frame{border:1px solid var(--border);border-radius:4px;flex-shrink:0;width:100px;max-height:160px;overflow:hidden}.export-composition>div:last-child{min-width:0}.export-composition strong{overflow-wrap:anywhere;font-size:14px;display:block}.export-composition p{color:var(--muted-foreground);margin-top:6px;font-size:12px}.export-composition small{color:var(--muted-foreground);margin-top:12px;font-size:11px;display:block}.editor-export-dialog select,.editor-export-dialog input[type=number]{border-color:var(--input);min-height:40px;margin-top:6px}.editor-export-dialog input[type=checkbox],.editor-export-dialog input[type=range]{accent-color:var(--primary)}.editor-export-dialog details{border:1px solid var(--border);border-radius:6px;padding:12px}.export-footer{border-top:1px solid var(--border);background:var(--surface);gap:10px;padding:16px 24px;display:grid}.export-footer-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.export-footer-actions>a{color:var(--muted-foreground);font-size:11px}.export-footer-actions>button{min-width:160px;min-height:40px}.export-empty{text-align:center;color:var(--muted-foreground);justify-items:center;gap:12px;padding:40px 12px;display:grid}.export-empty h3{color:var(--foreground)}.export-subtitles,.export-history{gap:16px;display:grid}@media (max-width:520px){.export-scroll-body{padding:16px}.editor-export-dialog [data-slot=dialog-header]{padding-left:16px}.export-navigation{padding-inline:16px}.export-navigation button{flex:1;padding-inline:6px}.export-composition{gap:12px;padding:12px}.export-preview-frame{width:72px}.export-footer{padding:12px 16px}.export-footer-actions{flex-wrap:wrap}.export-footer-actions>button{flex:1}}.editor-style-content{container:caption-inspector/inline-size}.editor-style-gallery{gap:14px;min-width:0;display:grid}.editor-preset-filters{grid-template-columns:minmax(0,1fr) 86px;align-items:center;gap:8px;display:grid}.editor-preset-search{min-width:0;position:relative}.editor-preset-search>svg{color:var(--muted-foreground);pointer-events:none;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.editor-preset-search input{background:var(--canvas);width:100%;min-width:0;height:34px;padding-left:32px;font-size:12px}.editor-preset-filters>[data-slot=select-trigger]{background:var(--surface-elevated);border-radius:6px;width:100%;height:32px;font-size:11px}.editor-preset-summary{color:var(--muted-foreground);flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:10px;display:flex}.editor-style-gallery .editor-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.editor-preset-card{min-width:0;position:relative}.editor-preset-apply{border:1px solid var(--border);background:var(--canvas);text-align:left;cursor:pointer;border-radius:7px;flex-direction:column;width:100%;min-width:0;height:100%;display:flex;overflow:hidden}.editor-preset-apply:hover{border-color:var(--primary);background:var(--surface-hover)}.editor-preset-apply[aria-pressed=true]{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.editor-preset-apply:disabled{cursor:default}.editor-preset-preview{aspect-ratio:9/16;background:var(--canvas);pointer-events:none;flex-shrink:0;width:100%;display:block;position:relative;overflow:hidden}.editor-preset-label{border-top:1px solid var(--border);background:var(--surface-elevated);flex:1;align-content:start;gap:6px;width:100%;min-width:0;padding:10px;display:grid}.editor-preset-name{min-height:30px;color:var(--foreground);justify-content:space-between;align-items:center;gap:6px;font-size:11px;font-weight:500;line-height:1.4;display:flex}.editor-preset-name svg{color:var(--primary);flex-shrink:0}.editor-preset-detail{color:var(--muted-foreground);font-size:10px;line-height:1.5}.editor-preset-favorite,.editor-preset-remove{border:1px solid var(--border);width:26px;height:26px;color:var(--muted-foreground);background:var(--surface);cursor:pointer;border-radius:5px;place-items:center;display:grid;position:absolute;top:5px}.editor-preset-favorite{width:22px;height:22px;right:5px}.editor-preset-remove{width:22px;height:22px;left:5px}.editor-preset-favorite:hover,.editor-preset-remove:hover{color:var(--foreground);background:var(--surface-hover)}.editor-preset-favorite[aria-pressed=true]{color:var(--primary);border-color:var(--primary)}.editor-preset-remove:hover{color:var(--destructive)}.editor-save-style{border-top:1px solid var(--border);padding-top:14px}.editor-save-style summary{cursor:pointer;align-items:center;gap:7px;font-size:11px;font-weight:500;display:flex}.editor-save-style p{color:var(--muted-foreground);margin-top:10px;font-size:11px;line-height:1.6}.editor-preset-form{gap:8px;margin-top:10px;display:grid}.editor-preset-form input,.editor-preset-form button{font-size:12px}.editor-secondary-tools{border-top:1px solid var(--border);margin-top:22px;padding-top:16px}.editor-secondary-tools>summary{color:var(--muted-foreground);cursor:pointer;font-size:11px;font-weight:500}.editor-secondary-tools-content{margin-top:14px}.editor-secondary-tools-content>details,.editor-secondary-tools-content>div{margin:0 0 16px}.editor-properties{grid-template-columns:minmax(0,1fr);gap:20px}.editor-properties section{min-width:0}.editor-properties section+section{border-top:1px solid var(--border);padding-top:18px}.editor-property-toggle{color:var(--muted-foreground);align-items:center;gap:8px;margin-block:14px;font-size:11px;display:flex}.editor-property-toggle input{width:14px;height:14px;accent-color:var(--primary)}.editor-property>input[type=number],.editor-property>select{border:1px solid var(--input);background:var(--canvas);width:100%;min-height:34px;color:var(--foreground);border-radius:5px;margin-top:8px;padding:6px 9px;font-size:12px;display:block}.editor-text-toggles{flex-wrap:wrap;gap:12px}@container caption-inspector (min-width:440px){.editor-preset-filters{grid-template-columns:minmax(0,1fr) 150px}.editor-properties{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.editor-transform-controls{grid-column:1/-1}}.editor-inspector .editor-inspector-footer{margin-top:16px;padding:10px 0 0;display:block}.editor-tools-panel{min-width:0;font-size:12px}.editor-tools-panel .editor-secondary-tools-content{gap:12px;margin-top:0;display:grid}.editor-tools-panel .editor-secondary-tools-content>details,.editor-tools-panel .editor-secondary-tools-content>div{min-width:0;margin:0}.editor-tools-panel .editor-secondary-tools-content>details,.editor-tools-panel .editor-secondary-tools-content>div>details{border:1px solid var(--border);background:var(--surface);border-radius:7px;padding:0;overflow:hidden}.editor-tools-panel summary{cursor:pointer;overflow-wrap:anywhere;font-size:12px;font-weight:500;line-height:1.5}.editor-tools-panel .editor-secondary-tools-content>details>summary,.editor-tools-panel .editor-secondary-tools-content>div>details>summary{padding:12px}.editor-tools-panel .editor-secondary-tools-content>details[open]>summary,.editor-tools-panel .editor-secondary-tools-content>div>details[open]>summary{border-bottom:1px solid var(--border);background:var(--surface-elevated)}.editor-tools-panel .editor-secondary-tools-content>div>details>:not(summary){margin:12px}.editor-tools-panel .roadmap-panel{gap:14px;min-width:0;padding:12px;display:grid}.editor-tools-panel details>.roadmap-panel>h3{display:none}.editor-tools-panel .roadmap-panel p{color:var(--muted-foreground);overflow-wrap:anywhere;margin:0;font-size:11px;line-height:1.65}.editor-tools-panel label{min-width:0;color:var(--muted-foreground);font-size:11px;line-height:1.5}.editor-tools-panel .roadmap-panel label{gap:6px;display:grid}.editor-tools-panel .roadmap-panel label:has(>input[type=checkbox]){align-items:flex-start;gap:8px;display:flex}.editor-tools-panel input:not([type=checkbox]):not([type=radio]):not([type=range]),.editor-tools-panel select,.editor-tools-panel textarea{border:1px solid var(--input);background:var(--canvas);width:100%;min-width:0;max-width:100%;min-height:34px;color:var(--foreground);border-radius:5px;margin-inline:0;padding:8px 10px;font-family:inherit;font-size:12px;line-height:1.5;display:block}.editor-tools-panel label>:is(select,textarea,input:not([type=checkbox]):not([type=radio])){margin-top:6px}.editor-tools-panel .roadmap-panel label>:is(select,textarea,input){margin-top:0}.editor-tools-panel select{appearance:auto;padding-right:6px}.editor-tools-panel textarea{resize:vertical;min-height:80px}.editor-tools-panel textarea::placeholder,.editor-tools-panel input::placeholder{color:var(--muted-foreground)}.editor-tools-panel input[type=color]{cursor:pointer;height:36px;padding:4px}.editor-tools-panel input[type=file]{padding:6px;font-size:11px}.editor-tools-panel input[type=file]::file-selector-button{border:1px solid var(--border);color:var(--foreground);background:var(--surface-elevated);cursor:pointer;border-radius:4px;margin-right:8px;padding:4px 7px}.editor-tools-panel input[type=checkbox],.editor-tools-panel input[type=radio]{width:14px;height:14px;accent-color:var(--primary);flex-shrink:0;margin-top:2px}.editor-tools-panel input[type=range]{width:100%;margin-block:6px;display:block}.editor-tools-panel .roadmap-panel fieldset{border:1px solid var(--border);border-radius:6px;gap:12px;min-width:0;padding:12px;display:grid}.editor-tools-panel .roadmap-panel legend{padding-inline:4px;font-size:11px;font-weight:500}.editor-tools-panel .roadmap-panel>div:not(.roadmap-actions)>label+label{margin-top:12px}.editor-tools-panel .roadmap-actions{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.editor-tools-panel button{white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%;height:auto;min-height:30px;line-height:1.5}.editor-tools-panel button:not([data-slot=button]){border:1px solid var(--border);background:var(--surface-elevated);color:var(--foreground);text-align:center;cursor:pointer;border-radius:5px;padding:7px 10px;font-size:11px}.editor-tools-panel button:not([data-slot=button]):hover:not(:disabled){background:var(--surface-hover);border-color:var(--primary)}.editor-tools-panel button[aria-pressed=true]{border-color:var(--primary);background:color-mix(in srgb, var(--primary) 14%, var(--surface));color:var(--foreground)}.editor-tools-panel .roadmap-panel>button{width:100%}.editor-tools-panel button.editor-tool-primary{border-color:var(--primary);background:var(--primary);color:var(--primary-foreground);font-weight:500}.editor-tools-panel button.editor-tool-primary:hover:not(:disabled){background:var(--brand-hover)}.editor-tools-panel button:disabled,.editor-tools-panel select:disabled,.editor-tools-panel textarea:disabled{opacity:.55;cursor:not-allowed}.editor-tools-panel :is(input,select,textarea,button,summary):focus-visible{outline:2px solid var(--ring);outline-offset:2px}.editor-tools-panel .roadmap-panel [role=alert]{color:var(--destructive)}.editor-tools-panel .roadmap-panel [role=status]{border:1px solid var(--border);background:var(--surface-elevated);border-radius:5px;padding:10px}.editor-tools-panel .flex{flex-wrap:wrap}.editor-caption-word.is-word-selected{outline:1px solid var(--primary);outline-offset:1px;background:color-mix(in srgb, var(--primary) 14%, var(--surface))}.editor-word-popover-positioner{z-index:60}.editor-word-popover-positioner[data-anchor-hidden]{visibility:hidden;pointer-events:none}.editor-inline-word-tools{width:min(310px,100vw - 24px);max-height:min(560px, var(--available-height,calc(100dvh - 24px)));overscroll-behavior:contain;color:var(--foreground);box-shadow:0 8px 24px color-mix(in srgb, var(--canvas) 70%, transparent);border:1px solid var(--border);background:var(--surface-elevated);border-radius:6px;gap:8px;margin:0;padding:10px;display:grid;overflow-y:auto}.editor-word-selection-label{text-overflow:ellipsis;white-space:nowrap;color:var(--muted-foreground);font-size:11px;overflow:hidden}.editor-word-format-actions,.editor-word-emoji-actions{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.editor-inline-word-tools button{border:1px solid var(--border);min-width:28px;height:28px;color:var(--foreground);background:var(--surface);cursor:pointer;border-radius:4px;justify-content:center;align-items:center;gap:5px;padding:4px 6px;font-size:11px;display:inline-flex}.editor-inline-word-tools button:hover:not(:disabled){border-color:var(--primary);background:var(--surface-hover)}.editor-inline-word-tools button[aria-pressed=true]{border-color:var(--primary);color:var(--primary);background:color-mix(in srgb, var(--primary) 10%, var(--surface))}.editor-inline-word-tools button:disabled{opacity:.5;cursor:not-allowed}.editor-word-color{border:1px solid var(--border);background:var(--surface);border-radius:4px;align-items:center;width:28px;height:28px;display:flex}.editor-word-color input{cursor:pointer;background:0 0;border:0;width:100%;height:100%;padding:3px}.editor-word-emoji-actions{border-top:1px solid var(--border);padding-top:8px}.editor-word-emoji-actions>span{color:var(--muted-foreground);margin-right:4px;font-size:10px}.editor-word-emoji-actions>button{font-size:14px}.editor-line-more{margin-block:6px}.editor-line-more>summary{cursor:pointer;color:var(--muted-foreground);font-size:10px}.editor-tools-intro{gap:6px;padding-bottom:16px;display:grid}.editor-tools-intro strong{font-size:12px;font-weight:500}.editor-tools-intro p{color:var(--muted-foreground);font-size:11px;line-height:1.6}.editor-tool-options{border-top:1px solid var(--border);padding-top:10px}.editor-tool-options>summary{color:var(--muted-foreground)}.editor-tool-option-fields{gap:14px;padding-top:12px;display:grid}.editor-tools-panel .editor-tool-option-fields>button{width:100%}.editor-advanced-tools>.editor-secondary-tools-content{padding:12px}.editor-version-row{border-bottom:1px solid var(--border);gap:8px;padding-bottom:12px;display:grid}.editor-version-row>span{font-size:12px}.editor-version-row small{color:var(--muted-foreground);margin-top:4px;font-size:10px;line-height:1.5;display:block}.editor-version-preview{border:1px solid var(--border);border-radius:5px;gap:12px;max-height:320px;padding:10px;display:grid;overflow-y:auto}.editor-version-change{border-bottom:1px solid var(--border);gap:4px;padding-bottom:8px;display:grid}.editor-word-popover-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.editor-inline-word-tools .editor-word-popover-close{width:22px;min-width:22px;height:22px;color:var(--muted-foreground);background:0 0;border-color:#0000;flex-shrink:0;padding:3px}.editor-word-popover-hint{color:var(--muted-foreground);font-size:10px;line-height:1.5}.editor-inline-word-tools :is(button,input,summary):focus-visible{outline:2px solid var(--ring);outline-offset:2px}.editor-inline-word-tools .editor-line-more{border-top:1px solid var(--border);margin:0;padding-top:8px}.editor-inline-word-tools .editor-caption-timing{margin-top:12px}.editor-inline-word-tools [hidden]{display:none!important}.editor-word-popover-tabs{border:1px solid var(--border);background:var(--canvas);border-radius:6px;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;padding:3px;display:grid}.editor-inline-word-tools .editor-word-popover-tabs>button{height:30px;color:var(--muted-foreground);background:0 0;border-color:#0000}.editor-inline-word-tools .editor-word-popover-tabs>button[aria-selected=true]{background:var(--surface-hover);color:var(--foreground);border-color:var(--border)}.editor-popover-style-panel,.editor-popover-caption-panel{gap:12px;display:grid}.editor-caption-time-form{gap:10px;padding-top:4px;display:grid}.editor-caption-section-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.editor-caption-section-heading strong{font-size:11px;font-weight:500}.editor-caption-section-heading>span{color:var(--muted-foreground);font-size:10px}.editor-caption-time-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;display:grid}.editor-caption-time-fields label{min-width:0;color:var(--muted-foreground);gap:6px;font-size:11px;display:grid}.editor-caption-time-fields input{border:1px solid var(--input);background:var(--canvas);width:100%;min-width:0;height:36px;color:var(--foreground);font-family:var(--font-app-mono);border-radius:5px;padding:7px 9px;font-size:12px}.editor-caption-time-help{color:var(--muted-foreground);margin:0;font-size:10px;line-height:1.5}.editor-caption-time-help.has-error{color:var(--warning)}.editor-inline-word-tools .editor-caption-apply-timing{border-color:var(--primary);background:var(--primary);min-height:32px;color:var(--primary-foreground);font-weight:500}.editor-inline-word-tools .editor-caption-apply-timing:hover:not(:disabled){background:var(--brand-hover)}.editor-caption-arrange-actions{border-top:1px solid var(--border);gap:8px;padding-top:12px;display:grid}.editor-inline-word-tools .editor-caption-arrange-action{text-align:left;justify-content:flex-start;gap:10px;height:auto;min-height:52px;padding:9px 10px}.editor-caption-arrange-action>svg{flex-shrink:0}.editor-caption-arrange-action>span{gap:3px;min-width:0;display:grid}.editor-caption-arrange-action strong{font-size:11px;font-weight:500}.editor-caption-arrange-action small{text-overflow:ellipsis;white-space:nowrap;color:var(--muted-foreground);font-size:10px;overflow:hidden}.editor-caption-show-line{width:100%}.editor-word-font-field{color:var(--muted-foreground);gap:6px;font-size:11px;display:grid}.editor-word-font-field select{border:1px solid var(--input);background:var(--canvas);width:100%;min-width:0;height:34px;color:var(--foreground);border-radius:5px;padding:6px 8px;font-size:12px}.editor-word-font-field select:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.editor-caption-action-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;display:grid}.editor-caption-action-grid .editor-caption-arrange-action small{white-space:normal;line-height:1.4}.editor-transcript-help{color:var(--muted-foreground);border-bottom:1px solid var(--border);margin:0;padding:10px 14px;font-size:11px;line-height:1.5}.editor-caption-line-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.editor-caption-line-heading .editor-caption-meta{min-width:0;margin-bottom:0}.editor-caption-options-trigger{width:28px;height:28px;color:var(--muted-foreground);border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.editor-caption-options-trigger:hover,.editor-caption-options-trigger[aria-expanded=true]{background:var(--surface-hover);color:var(--foreground)}.editor-caption-options-trigger:focus-visible,.editor-simple-position button:focus-visible,.editor-caption-disclosure summary:focus-visible,.editor-advanced-style summary:focus-visible,.editor-preview-options summary:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.editor-caption-utilities{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;padding:8px 12px;display:flex}.editor-caption-utilities>button{height:30px;font-size:11px}.editor-caption-utilities>button[aria-pressed=true]{color:var(--primary);background:var(--surface-hover)}.editor-caption-disclosure,.editor-advanced-style,.editor-preview-options{border-top:1px solid var(--border)}.editor-caption-disclosure>summary,.editor-advanced-style>summary,.editor-preview-options>summary{color:var(--muted-foreground);cursor:pointer;padding:10px 0;font-size:11px;font-weight:500}.editor-caption-disclosure[open]>summary,.editor-advanced-style[open]>summary,.editor-preview-options[open]>summary{color:var(--foreground)}.editor-caption-disclosure .editor-caption-arrange-actions{border:0;padding-top:0}.editor-caption-more-options{gap:12px;padding:6px 0;font-size:11px;display:grid}.editor-caption-more-options label{align-items:center;gap:8px;display:flex}.editor-caption-more-options .editor-caption-delete{color:var(--destructive);justify-self:start}.editor-preview-options{flex-shrink:0;padding:0 16px}.editor-preview-options .editor-preview-tools{padding:0 0 12px}.editor-simple-position{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.editor-simple-position button{border:1px solid var(--border);background:var(--surface);color:var(--muted-foreground);border-radius:5px;padding:8px 6px;font-size:11px}.editor-simple-position button:hover:not(:disabled){background:var(--surface-hover);color:var(--foreground)}.editor-simple-position button[aria-pressed=true]{border-color:var(--primary);color:var(--foreground)}.editor-properties .editor-advanced-style-content{gap:20px;padding-top:8px;display:grid}.editor-inline-word-tools .editor-word-spotlight{text-align:left;border-color:var(--primary);justify-content:start;gap:4px;height:auto;padding:10px;display:grid}.editor-word-spotlight strong{font-size:12px;font-weight:500}.editor-word-spotlight small{color:var(--muted-foreground);font-size:10px;line-height:1.5}.editor-word-type-fields{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:8px;display:grid}.editor-caption-shape-controls{gap:12px;display:grid}.editor-shape-presets{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.editor-shape-presets button,.editor-inline-word-tools .editor-shape-presets button{border:1px solid var(--border);background:var(--surface);height:auto;color:var(--muted-foreground);border-radius:6px;justify-items:center;gap:4px;padding:8px 4px;font-size:10px;display:grid}.editor-shape-presets svg{width:48px;height:28px}.editor-shape-presets button:hover:not(:disabled){background:var(--surface-hover);color:var(--foreground)}.editor-shape-presets button[aria-pressed=true]{border-color:var(--primary);color:var(--foreground);background:color-mix(in srgb, var(--primary) 10%, var(--surface))}.editor-shape-presets button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.editor-caption-spacing-grid,.editor-caption-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.editor-caption-quick-style{gap:14px;display:grid}.editor-caption-quick-grid label{min-width:0;color:var(--muted-foreground);gap:6px;font-size:11px;display:grid}.editor-caption-quick-grid select,.editor-caption-quick-grid input[type=color]{border:1px solid var(--input);background:var(--surface);width:100%;min-width:0;height:34px;color:var(--foreground);border-radius:5px;padding:4px}.editor-caption-shape-controls .editor-property,.editor-caption-quick-style>.editor-property{min-width:0;margin:0}.editor-caption-shape-controls .editor-property>span,.editor-caption-quick-style>.editor-property>span{color:var(--muted-foreground);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px;font-size:11px;display:flex}.editor-caption-shape-controls output,.editor-caption-quick-style output{font-variant-numeric:tabular-nums;font-size:10px}.editor-caption-shape-controls input[type=range],.editor-caption-quick-style input[type=range]{width:100%;min-width:0;accent-color:var(--primary)}.editor-preview-emoji.is-editable{pointer-events:auto;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;z-index:2;color:var(--foreground)}.editor-preview-emoji.is-editable:before{content:"";position:absolute;inset:-6px}.editor-preview-emoji.is-editable:hover,.editor-preview-emoji.is-editable:focus-visible{outline:2px solid var(--primary);outline-offset:5px;border-radius:3px}.editor-preview-emoji.is-editable:active{cursor:grabbing}.editor-emoji-controls{background:var(--surface);border:1px solid var(--border);border-radius:6px;gap:10px;padding:12px;display:grid}.editor-emoji-controls .editor-property{margin:0}.editor-emoji-controls input[type=range]{width:100%;accent-color:var(--primary)}.editor-emoji-picker{color:var(--muted-foreground);grid-template-columns:1fr 1fr;align-items:center;gap:8px;font-size:11px;display:grid}.editor-emoji-picker select{border:1px solid var(--input);width:100%;min-width:0;color:var(--foreground);background:var(--surface-elevated);border-radius:4px;padding:6px}.editor-popover-caption-panel h3{margin-bottom:10px;font-size:11px;font-weight:500}.editor-inline-word-tools{width:min(340px,100vw - 24px)}.editor-popover-navigation{background:var(--surface-elevated);flex-shrink:0;gap:8px;padding-bottom:8px;display:grid}.editor-caption-row-actions{flex-shrink:0;align-items:center;gap:2px;margin-left:auto;display:flex}.editor-caption-row-actions button{width:24px;height:26px;color:var(--muted-foreground);background:0 0;border:1px solid #0000;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.editor-caption-row-actions button:hover:not(:disabled){background:var(--surface-hover);color:var(--foreground);border-color:var(--primary)}.editor-caption-row-actions button:disabled{opacity:.45;cursor:not-allowed}.editor-caption-row-actions button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.editor-inline-word-tools{flex-direction:column;display:flex;overflow:hidden}.editor-popover-body{overscroll-behavior:contain;min-height:0;padding:2px;overflow-y:auto}.editor-word-effects{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.editor-inline-word-tools .editor-word-effect{background:var(--surface);justify-items:center;gap:8px;height:76px;padding:10px;font-size:11px;display:grid}.editor-word-effect-preview{font-size:24px;line-height:1;font-family:var(--font-app-sans), sans-serif}.effect-emphasize .editor-word-effect-preview{font-weight:800;transform:scale(1.15)}.effect-underline .editor-word-effect-preview{text-underline-offset:5px;text-decoration:underline}.editor-word-effect[aria-pressed=true]{border-color:var(--primary)}.editor-word-effects+.editor-caption-time-help{margin:0}.editor-caption-row-actions .editor-row-emphasize{border-color:var(--primary);color:var(--foreground)}.editor-caption-disclosure .editor-word-type-fields{margin-top:10px}.editor-inline-word-tools .editor-word-spotlight{border-color:var(--border)}.editor-word-effect-color{color:var(--muted-foreground);justify-content:space-between;align-items:center;font-size:11px;display:flex}.editor-caption-row{padding:8px 10px}.editor-caption-line-heading{gap:6px;min-height:26px;margin-bottom:2px}.editor-caption-words{min-height:0;padding:3px 0;line-height:1.8}.editor-caption-meta{gap:4px}.editor-caption-meta>.editor-caption-number{width:16px}.editor-caption-meta>button{height:26px;padding:0 3px}.editor-caption-row-times{gap:0;font-size:9px;line-height:1.3;display:grid}.editor-caption-row-times>span:last-child{color:var(--muted-foreground)}.editor-word-effects{grid-template-columns:repeat(3,minmax(0,1fr))}.editor-shared-font{border-bottom:1px solid var(--border);gap:6px;margin-bottom:12px;padding-bottom:12px;display:grid}.editor-font-scope-label{justify-content:space-between;align-items:center;gap:8px;display:flex}.editor-font-scope-label strong{color:var(--foreground);font-weight:500}.editor-font-scope-label small{color:var(--muted-foreground);font-size:10px}.editor-caption-color-row>label{color:var(--muted-foreground);justify-content:space-between;align-items:center;font-size:11px;display:flex}.editor-caption-color-row input[type=color]{border:1px solid var(--input);background:var(--surface);border-radius:4px;width:36px;height:30px;padding:3px}.editor-word-type-fields{grid-template-columns:minmax(0,1fr)}.editor-font-trigger{width:100%;min-height:36px;color:var(--text-primary);background:var(--surface);border:1px solid var(--border);text-align:left;border-radius:6px;justify-content:space-between;align-items:center;gap:12px;padding:6px 10px;display:flex}.editor-font-trigger:hover:not(:disabled),.editor-font-row:hover{background:var(--surface-hover)}.editor-font-trigger:disabled{opacity:.5;cursor:not-allowed}.editor-font-trigger:focus-visible,.editor-font-list:focus-visible,.editor-font-dialog input:focus-visible,.editor-font-dialog select:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.editor-font-dialog{z-index:80;background:var(--surface-elevated);width:min(720px,100vw - 24px);max-width:720px;max-height:calc(100dvh - 24px);color:var(--text-primary);border:1px solid var(--border);overflow-y:auto}.editor-font-dialog-overlay{z-index:79}.editor-font-search{align-items:center;gap:8px;display:flex}.editor-font-search input{flex:1;min-width:0}.editor-font-dialog input,.editor-font-dialog select{background:var(--surface);color:var(--text-primary);border:1px solid var(--border);border-radius:6px;min-width:0;padding:8px 10px}.editor-font-filters{gap:12px;display:flex}.editor-font-filters label{flex:1;min-width:0}.editor-font-dialog label{color:var(--text-secondary);gap:6px;display:grid}.editor-font-count{color:var(--text-secondary);margin:0;font-size:12px}.editor-font-list{border:1px solid var(--border);overscroll-behavior:contain;border-radius:6px;height:300px;overflow:auto}.editor-font-row{cursor:pointer;border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:6px 10px;display:flex}.editor-font-row[aria-selected=true]{background:var(--surface-hover);box-shadow:inset 3px 0 var(--brand)}.editor-font-details{flex:1;min-width:0}.editor-font-row small{color:var(--text-secondary);font-size:11px;display:block}.editor-font-name{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.editor-font-sprite{background-repeat:no-repeat;flex-shrink:0;display:block}.editor-font-thumbnail-placeholder{flex-shrink:0;width:160px;height:40px}.editor-font-current{flex:0 0 16px;width:16px}.editor-font-empty{color:var(--text-secondary);padding:20px 12px}.editor-font-footer{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.editor-font-load-error{background:var(--surface);color:var(--warning);padding:6px 8px;font:12px/1.5 sans-serif;position:absolute;bottom:8px;left:8px}@media (max-width:560px){.editor-font-list{height:240px}.editor-font-row{gap:8px}}.editor-style-launch{color:var(--foreground)}.editor-style-dialog[data-slot=dialog-content]{background:var(--surface);width:min(720px,100vw - 32px);max-width:none;max-height:90dvh;color:var(--foreground);border:1px solid var(--border);flex-direction:column;gap:0;padding:0;display:flex;overflow:hidden}.editor-style-backdrop{background:color-mix(in srgb, var(--canvas) 70%, transparent);-webkit-backdrop-filter:none;backdrop-filter:none}.editor-style-header{border-bottom:1px solid var(--border);padding:24px 48px 18px 24px}.editor-style-body{overscroll-behavior:contain;min-height:0;padding:20px 24px;overflow-y:auto}.editor-style-choices{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.editor-style-choice{border:1px solid var(--border);background:var(--surface-elevated);min-width:0;color:var(--foreground);cursor:pointer;border-radius:9px;padding:4px}.editor-style-choice:hover:not(:disabled){background:var(--surface-hover)}.editor-style-choice[aria-pressed=true]{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.editor-style-choice:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.editor-style-choice:disabled{cursor:default;color:var(--muted-foreground)}.editor-style-choice>span{justify-content:space-between;align-items:center;gap:4px;padding:9px 5px 5px;font-size:12px;font-weight:600;display:flex}.editor-style-choice>span svg{color:var(--primary)}.editor-style-sample{background:var(--canvas);pointer-events:none;border-radius:5px;width:100%;height:82px;position:relative;overflow:hidden}.editor-style-sample.is-large{height:180px}.editor-style-hint{color:var(--muted-foreground);margin:10px 0 0;font-size:12px;line-height:1.5}.editor-style-progress{color:var(--muted-foreground);justify-content:center;align-items:center;gap:10px;padding:28px 8px;font-size:13px;display:flex}.editor-style-preview{margin-top:18px}.editor-style-preview-heading,.editor-style-navigation,.editor-style-preview-actions{justify-content:space-between;align-items:center;gap:8px;display:flex}.editor-style-preview-heading{margin-bottom:8px;font-size:12px}.editor-style-navigation{color:var(--muted-foreground);font-variant-numeric:tabular-nums;gap:3px;font-size:12px}.editor-style-navigation span{text-align:center;min-width:46px}.editor-style-preview-actions{margin-top:8px}.editor-style-preview-actions p{min-width:0;color:var(--muted-foreground);overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.4}.editor-style-review-note{color:var(--muted-foreground);align-items:flex-start;gap:8px;margin-top:12px;font-size:12px;display:flex}.editor-style-emoji-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;margin-top:8px;padding:16px 0;font-size:13px;display:flex}.editor-style-options,.editor-style-caption-selection{border-bottom:1px solid var(--border);padding:13px 0}.editor-style-options>summary,.editor-style-caption-selection>summary{cursor:pointer;color:var(--muted-foreground);font-size:12px}.editor-style-caption-selection>summary span{float:right}.editor-style-option-fields{gap:12px;padding:16px 2px 2px;display:grid}.editor-style-option-fields>label:not(.editor-style-check){color:var(--muted-foreground);gap:6px;font-size:12px;display:grid}.editor-style-option-fields select{border:1px solid var(--input);color:var(--foreground);background:var(--surface-elevated);border-radius:6px;padding:8px 10px}.editor-style-check{align-items:center;gap:8px;font-size:12px;display:flex}.editor-style-check+.editor-style-hint{margin-top:-6px;padding-left:21px}.editor-style-selection-list{max-height:180px;margin-top:10px;overflow:auto}.editor-style-selection-list label{align-items:flex-start;gap:8px;padding:8px 2px;font-size:12px;display:flex}.editor-style-selection-list label span{overflow-wrap:anywhere;min-width:0}.editor-style-selection-list small{color:var(--muted-foreground);margin-top:3px;display:block}.editor-style-dialog input[type=checkbox]{accent-color:var(--primary)}.editor-style-message{border:1px solid var(--border);color:var(--warning);border-radius:6px;margin-top:12px;padding:10px 12px;font-size:12px;line-height:1.5}.editor-style-message.is-error{color:var(--destructive)}.editor-style-footer{border-top:1px solid var(--border);background:var(--surface-elevated);justify-content:space-between;align-items:center;gap:12px;padding:16px 24px;display:flex}.editor-style-footer>span{color:var(--muted-foreground);font-size:12px}.editor-style-footer>div{gap:8px;display:flex}@media (max-width:560px){.editor-style-dialog[data-slot=dialog-content]{max-height:94dvh}.editor-style-header{padding:20px 40px 16px 16px}.editor-style-body{padding:16px}.editor-style-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.editor-style-choice:first-child{grid-column:span 2}.editor-style-sample{height:72px}.editor-style-sample.is-large{height:150px}.editor-style-footer{padding:12px 16px}.editor-style-footer>span{max-width:110px}.editor-style-preview-actions{flex-direction:column;align-items:flex-start}}.editor-style-sample.has-blend{background:var(--muted-foreground)}.editor-workspace{font-size:13px}.editor-header{gap:12px;height:60px}.editor-project-identity input{font-size:14px}.editor-save-status{font-size:12px}.editor-dock-panel .editor-panel-tabs{padding-left:12px;padding-right:40px}.editor-dock-panel .editor-panel-tabs>button{gap:6px;font-size:13px}.editor-panel-actions{top:11px}.editor-panel-actions>button{width:28px;height:28px}.editor-dock-timeline .editor-timeline-toolbar{padding-right:46px}.editor-style-scope{background:var(--surface-elevated);flex-shrink:0;gap:10px;padding:12px}.editor-style-scope>label{font-size:12px}.editor-style-content{padding:16px}.editor-properties{flex-direction:column;gap:20px;font-size:13px;display:flex}.editor-properties>section+section{border-top:1px solid var(--border);padding-top:18px}.editor-properties h3,.editor-property,.editor-color,.editor-properties select,.editor-properties input[type=number]{font-size:13px}.editor-section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.editor-section-heading h3{margin:0}.editor-section-heading button{color:var(--muted-foreground);cursor:pointer;border-radius:4px;padding:4px;font-size:12px}.editor-section-heading button:hover{background:var(--surface-hover);color:var(--foreground)}.editor-readability,.editor-shadow-details,.editor-advanced-style,.editor-style-options{border-top:1px solid var(--border);padding-top:14px}.editor-readability>summary,.editor-shadow-details>summary,.editor-advanced-style>summary,.editor-style-options>summary{cursor:pointer;color:var(--muted-foreground);font-size:13px;line-height:1.6}.editor-readability>section{margin-top:18px}.editor-shadow-details>.editor-property,.editor-shadow-details>.editor-color{margin-top:12px}.editor-properties .editor-advanced-style-content{flex-direction:column;gap:20px;display:flex}.editor-inspector-footer{margin-top:16px;padding-top:0}.editor-caption-tools{flex-wrap:wrap;padding:12px}.editor-caption-search{flex-basis:100%}.editor-caption-search input{height:36px;padding-right:30px;font-size:13px}.editor-search-clear{width:30px;height:30px;color:var(--muted-foreground);cursor:pointer;font-size:20px;position:absolute;top:3px;right:4px}.editor-transcript-status{color:var(--muted-foreground);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;padding:0 12px 10px;font-size:12px;display:flex}.editor-transcript-status button{cursor:pointer;border-radius:4px;padding:4px 6px}.editor-transcript-status button[aria-pressed=true]{color:var(--foreground);background:var(--surface-elevated)}.editor-caption-row{border-bottom-color:#0000;padding:12px}.editor-caption-row+.editor-caption-row{border-top:1px solid var(--border)}.editor-caption-line-heading{flex-wrap:wrap;gap:4px;margin-bottom:6px}.editor-caption-row-times{white-space:nowrap;align-items:center;gap:4px;font-size:11px;display:flex}.editor-caption-meta>button,.editor-caption-number{font-size:11px}.editor-caption-words,.editor-caption-text{font-size:15px;line-height:1.75}.editor-line-editor:not(.is-active) .editor-caption-row-actions{display:none}.editor-caption-row-actions button{width:28px;height:28px}.editor-caption-arrange{border-bottom:1px solid var(--border);flex-direction:column;gap:8px;margin-bottom:12px;padding-bottom:12px;display:flex}.editor-caption-arrange button{text-align:left;border-radius:4px;align-items:center;gap:8px;padding:8px;display:flex}.editor-caption-arrange button:hover:not(:disabled){background:var(--surface-hover)}.editor-caption-arrange button:disabled{color:var(--muted-foreground)}.editor-caption-utilities{flex-wrap:wrap;gap:8px;padding:10px 12px;font-size:12px}.editor-media-tools{margin-top:20px}.editor-preview-heading h1{font-size:13px}.dock-preview .editor-preview-heading{padding-right:86px}.editor-preview-hint{font-size:12px}.editor-timeline-toolbar{flex-wrap:wrap;gap:6px}.editor-timeline-caption[aria-pressed=true]{outline:2px solid var(--primary);outline-offset:-2px}.editor-compact-navigation{border-bottom:1px solid var(--border);background:var(--surface);align-items:center;gap:6px;padding:8px 12px;display:flex}.editor-compact-navigation button{min-height:36px;color:var(--muted-foreground);cursor:pointer;border-radius:6px;padding:6px 12px}.editor-compact-navigation button[aria-pressed=true]{background:var(--surface-elevated);color:var(--foreground);box-shadow:inset 0 -2px var(--primary)}.editor-project-dialog{width:min(640px,100vw - 32px);max-width:640px;max-height:85svh;overflow-y:auto}.export-output-options,.export-audio-options{border-block:1px solid var(--border);padding-block:12px}.export-output-options>summary,.export-audio-options>summary{cursor:pointer;font-size:13px}.export-output-options>summary>span{color:var(--muted-foreground);margin-top:5px;font-size:12px;display:block}@media (max-width:980px){.editor-dock-panels{grid-template-columns:minmax(260px,.85fr) minmax(0,1.15fr)}.dock-library,.dock-inspector{grid-area:1/1;height:520px}.dock-preview{grid-area:1/2;height:520px}.editor-dock-panel[hidden]+.dock-preview{grid-column:2}.editor-dock-panel>.editor-inspector{min-height:0;max-height:none}.editor-inspector-footer{display:block}.editor-dock-timeline{height:200px}}@media (max-width:600px){.editor-header{gap:4px;padding-inline:8px}.editor-project-identity input{min-width:0;font-size:13px}.editor-history button,.editor-header>[aria-label=Project\ options]{width:28px}.editor-dock-panels{display:flex}.dock-preview{height:320px}.dock-library,.dock-inspector{height:440px}.editor-caption-row-actions button{width:36px;height:36px}.editor-compact-navigation button{flex:1}.editor-caption-words,.editor-caption-text{font-size:16px}}@media (prefers-reduced-motion:reduce){.editor-workspace *,.editor-workspace :before,.editor-workspace :after{scroll-behavior:auto;transition:none}}.editor-property>span,.editor-property>label,.editor-property output,.editor-property [data-slot=select-trigger],.editor-color-value,.editor-font-picker,.editor-timecode{font-size:12px}.editor-inspector-footer{border-top:none;padding-inline:0}.editor-style-options button{width:100%;margin-top:8px}.editor-line-editor:has(.editor-caption-words:focus-within) .editor-caption-words{outline:1px solid var(--ring);outline-offset:4px;border-radius:4px}@media (max-width:980px){.editor-dock-panels:has(.dock-library[hidden]):has(.dock-inspector[hidden]) .dock-preview{grid-column:1/-1}}.editor-caption-secondary{border-top:1px solid var(--border);background:var(--surface);flex-shrink:0;font-size:12px}.editor-caption-secondary>summary{cursor:pointer;color:var(--muted-foreground);padding:12px}.editor-caption-secondary-content{max-height:40svh;overflow-y:auto}.editor-caption-secondary .editor-generate{padding:12px}.editor-caption-secondary .editor-generate>summary{font-size:12px}.editor-style-gallery .editor-preset-preview{height:auto}.editor-preset-label{gap:4px;padding:8px}.editor-preset-name{min-height:28px;font-size:12px}.editor-preset-detail{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:11px;display:-webkit-box;overflow:hidden}@media (min-width:601px) and (max-width:980px){.editor-workspace{height:100svh;min-height:620px}.editor-dock{flex:1;min-height:0}.editor-dock-panels{flex:1;grid-template-rows:minmax(0,1fr);min-height:0}.dock-library,.dock-inspector,.dock-preview{height:100%}.editor-dock:not(.is-maximized) .editor-dock-timeline{flex-shrink:0;height:200px}.editor-player{padding:12px 12px 76px}.editor-preview-hint{margin-block:0;padding-block:8px}}@media (max-width:600px){.dock-preview{height:clamp(380px,52svh,480px)}.editor-player{padding:8px 12px 76px}.editor-preview>p.editor-preview-hint:last-child{display:none}}.editor-task-navigation{border-bottom:1px solid var(--border);background:var(--surface);flex-shrink:0;align-items:center;gap:6px;min-height:52px;padding:0 20px;display:flex}.editor-task-navigation>button{min-height:52px;color:var(--muted-foreground);cursor:pointer;border-bottom:2px solid #0000;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-size:13px;display:flex}.editor-task-navigation>button:hover{color:var(--foreground);background:var(--surface-hover)}.editor-task-navigation>button[aria-selected=true]{color:var(--foreground);border-bottom-color:var(--primary);background:var(--surface-elevated)}.editor-flow-hint{color:var(--muted-foreground);word-spacing:3px;margin-left:auto;font-size:12px}.editor-task-heading{border-bottom:1px solid var(--border);flex-shrink:0;min-height:72px;padding:15px 42px 14px 16px}.editor-task-heading h2{font-size:15px;font-weight:600}.editor-task-heading p{color:var(--muted-foreground);margin-top:4px;font-size:12px;line-height:1.5}.editor-task-library>.editor-inspector{border:none;flex:1;height:auto;min-height:0;max-height:none}.editor-task-library .editor-panel-tabs{padding:0 12px}.editor-caption-task-actions{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px;padding:12px 12px 0;display:flex}.editor-task-library .editor-caption-tools{gap:8px;padding-bottom:8px}.editor-task-library .editor-transcript-status{padding-bottom:8px}.editor-task-next{border-top:1px solid var(--border);flex-shrink:0;padding:10px 12px}.editor-task-next>button{justify-content:space-between;width:100%;display:flex}.editor-auto-style-entry{border-bottom:1px solid var(--border);flex-direction:column;flex-shrink:0;gap:10px;padding:12px 16px;display:flex}.editor-auto-style-entry>div>strong,.editor-auto-style-entry>div>span{display:block}.editor-auto-style-entry>div>strong{font-size:13px;font-weight:500}.editor-auto-style-entry>div>span{color:var(--muted-foreground);margin-top:3px;font-size:12px}.editor-auto-style-entry>button{justify-content:center}.editor-placement-options{border-top:1px solid var(--border);padding:14px 0;font-size:13px}.editor-placement-options>summary{cursor:pointer;color:var(--muted-foreground)}.editor-placement-options .editor-preview-tools{flex-direction:column;align-items:stretch;gap:10px;padding:12px 0 0;display:flex}.editor-placement-options .editor-preview-tools>button,.editor-placement-options .editor-preview-tools [data-slot=select-trigger]{width:100%}.editor-translate-content{padding:16px}.editor-translate-content>section{font-size:13px}.editor-caption-style-link{text-align:left;border:1px solid var(--border);background:var(--surface);border-radius:6px;flex-direction:column;gap:5px;width:100%;padding:12px;font-size:13px;display:flex}.editor-caption-style-link:hover{background:var(--surface-hover)}.editor-caption-style-link>span{color:var(--muted-foreground);font-size:12px}.editor-caption-tools-layout{grid-template-columns:180px minmax(0,1fr);gap:24px;display:grid}.editor-caption-tools-navigation{border-right:1px solid var(--border);padding-right:12px}.editor-caption-tools-navigation>div+div{margin-top:20px}.editor-caption-tools-navigation h3{color:var(--muted-foreground);margin:0 8px 6px;font-size:12px;font-weight:500}.editor-caption-tools-navigation button{text-align:left;cursor:pointer;border-radius:5px;width:100%;padding:9px 8px;font-size:13px;display:block}.editor-caption-tools-navigation button:hover{background:var(--surface-hover)}.editor-caption-tools-navigation button[aria-current=page]{background:var(--surface-elevated);color:var(--brand-hover);box-shadow:inset 2px 0 var(--primary)}.editor-caption-tool-content{min-width:0}.editor-caption-tool-content>h3{margin-bottom:16px;font-size:15px;font-weight:600}.editor-generation-dialog{width:min(420px,100vw - 32px);max-height:85svh;overflow-y:auto}.editor-dock.single-tools .editor-panel-restore-bar{font-size:12px}@media (min-width:601px) and (max-width:980px){.editor-dock.single-tools .editor-dock-panels{grid-template-columns:minmax(270px,.95fr) minmax(0,1.05fr)}}@media (max-width:760px){.editor-task-navigation{padding-inline:8px}.editor-flow-hint{display:none}.editor-task-navigation>button{flex:1;padding-inline:10px}}@media (max-width:600px){.editor-caption-tools-layout{grid-template-columns:minmax(0,1fr);gap:16px}.editor-caption-tools-navigation{border-right:none;border-bottom:1px solid var(--border);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 0 12px;display:grid}.editor-caption-tools-navigation>div+div{margin-top:0}.editor-caption-tools-navigation button{font-size:12px}}.editor-task-library .editor-caption-search{flex:160px}.editor-task-library .editor-caption-tools>button{margin-left:0}.editor-properties .editor-placement-options{margin-top:14px;padding-bottom:0}.editor-task-library .editor-task-navigation{min-height:48px;padding-inline:6px}.editor-task-library .editor-task-navigation>button{flex:1;min-height:48px;padding-inline:12px}.editor-style-panel{border:none}.editor-style-panel .editor-panel-tabs{padding-inline:12px}@media (min-width:601px) and (max-width:980px){.editor-workspace{height:auto;min-height:100svh}.editor-dock{flex:none}.editor-dock-panels{flex:none;grid-template-rows:360px 560px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.editor-dock .editor-dock-panels .dock-preview{grid-area:1/1/auto/-1;height:360px}.editor-dock .editor-dock-panels .dock-library{grid-area:2/1;height:560px}.editor-dock .editor-dock-panels .dock-inspector{grid-area:2/2;height:560px}:is(.editor-dock-panels:has(.dock-library[hidden]) .dock-inspector,.editor-dock-panels:has(.dock-inspector[hidden]) .dock-library){grid-column:1/-1}.editor-dock.is-maximized .editor-dock-panels{display:flex}.editor-dock.is-maximized .editor-dock-panels .editor-dock-panel{width:100%;height:75svh}}@media (max-width:600px){.editor-dock-panel>.editor-style-panel{min-height:0;max-height:none}}.editor-style-content:has(>#adjust-panel:not([hidden])){padding:0}.editor-properties.editor-customize{border:0;min-width:0;margin:0;padding:0;display:block}.customize-section{border-bottom:1px solid var(--border)}.customize-section>summary{cursor:pointer;align-items:center;gap:10px;padding:14px 16px;list-style:none;display:flex}.customize-section>summary::-webkit-details-marker{display:none}.customize-more>summary::-webkit-details-marker{display:none}.customize-section>summary:hover{background:var(--surface-hover)}.customize-section-icon{border:1px solid var(--border);width:30px;height:30px;color:var(--muted-foreground);background:var(--surface-elevated);border-radius:7px;flex-shrink:0;place-items:center;display:grid}.customize-section-label{flex:1;gap:4px;min-width:0;display:grid}.customize-section-label strong{font-size:13px;font-weight:600}.customize-section-label>span{color:var(--muted-foreground);white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:1.4;overflow:hidden}.customize-chevron{color:var(--muted-foreground);flex-shrink:0;transition:transform .15s}.customize-section[open]>summary .customize-chevron{transform:rotate(180deg)}.customize-section[open]>summary .customize-section-icon{color:var(--brand-hover)}.customize-section-body{gap:16px;min-width:0;padding:0 16px 18px;display:grid}.customize-section-actions{justify-content:flex-end;margin-top:-4px;margin-bottom:-6px;display:flex}.customize-section-actions button{color:var(--muted-foreground);cursor:pointer;border-radius:4px;align-items:center;gap:5px;padding:4px;font-size:11px;display:inline-flex}.customize-section-actions button:hover{color:var(--foreground);background:var(--surface-hover)}.customize-field{color:var(--muted-foreground);gap:8px;min-width:0;font-size:12px;display:grid}.customize-field select{border:1px solid var(--input);background:var(--canvas);width:100%;height:36px;color:var(--foreground);border-radius:6px;padding:6px 8px;font-size:12px}.customize-control-heading{color:var(--muted-foreground);justify-content:space-between;align-items:center;gap:10px;font-size:12px;display:flex}.customize-range{gap:7px;display:grid}.customize-range>input[type=range]{width:100%;margin:0}.customize-number{border:1px solid var(--border);background:var(--canvas);border-radius:5px;flex-shrink:0;align-items:center;min-width:0;height:30px;padding-right:7px;display:inline-flex}.customize-number>input{width:56px;height:28px;color:var(--foreground);font-variant-numeric:tabular-nums;text-align:right;appearance:textfield;background:0 0;border:0;border-radius:5px;outline:none;padding:4px 3px 4px 7px;font-size:12px}.customize-number>input::-webkit-inner-spin-button{appearance:none;margin:0}.customize-number>input::-webkit-outer-spin-button{appearance:none;margin:0}.customize-number>span{color:var(--muted-foreground);padding-left:3px;font-size:11px}.customize-number:focus-within{border-color:var(--ring);outline:1px solid var(--ring)}.customize-format-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.customize-segments{border:1px solid var(--border);background:var(--canvas);border-radius:6px;align-items:center;gap:2px;padding:3px;display:flex}.customize-segments button{min-width:30px;height:28px;color:var(--muted-foreground);cursor:pointer;border-radius:4px;justify-content:center;align-items:center;padding-inline:6px;font-size:12px;font-weight:500;display:flex}.customize-segments button:hover{background:var(--surface-hover);color:var(--foreground)}.customize-segments button[aria-pressed=true]{background:var(--surface-elevated);color:var(--brand-hover);box-shadow:inset 0 0 0 1px var(--primary)}.customize-full button{flex:1}.customize-color-row{color:var(--muted-foreground);justify-content:space-between;align-items:center;gap:10px;font-size:12px;display:flex}.customize-color-control{border:1px solid var(--border);background:var(--canvas);border-radius:6px;align-items:center;gap:6px;height:34px;padding:4px 6px;display:flex}.customize-color-control input[type=color]{cursor:pointer;background:0 0;border:0;width:22px;height:22px;padding:0}.customize-color-control input[type=color]::-webkit-color-swatch-wrapper{padding:0}.customize-color-control input[type=color]::-webkit-color-swatch{border:1px solid var(--input);border-radius:4px}.customize-color-control input[type=text]{width:66px;min-width:0;color:var(--foreground);font-family:var(--font-app-mono);text-transform:uppercase;background:0 0;border:0;border-radius:3px;padding:2px;font-size:11px}.customize-color-control:focus-within{outline:1px solid var(--ring)}.customize-more>summary{color:var(--muted-foreground);cursor:pointer;justify-content:space-between;align-items:center;gap:8px;padding-block:5px;font-size:12px;list-style:none;display:flex}.customize-more[open]>summary>svg{transform:rotate(180deg)}.customize-more>div{gap:16px;padding-top:14px;display:grid}.customize-toggle-row{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:32px;font-size:12px;display:flex;position:relative}.customize-toggle-row>input{opacity:0;cursor:pointer;width:32px;height:20px;position:absolute;right:0}.customize-switch{border:1px solid var(--input);background:var(--canvas);pointer-events:none;border-radius:12px;flex-shrink:0;width:32px;height:19px;position:relative}.customize-switch:after{content:"";background:var(--muted-foreground);border-radius:50%;width:11px;height:11px;position:absolute;top:3px;left:3px}.customize-toggle-row>input:checked+.customize-switch{border-color:var(--primary);background:var(--primary)}.customize-toggle-row>input:checked+.customize-switch:after{background:var(--primary-foreground);transform:translate(13px)}.customize-toggle-row>input:focus-visible+.customize-switch{outline:2px solid var(--ring);outline-offset:3px}.customize-effect-controls{border-left:1px solid var(--border);gap:14px;padding:0 0 4px 12px;display:grid}.customize-hint{color:var(--muted-foreground);margin:0;font-size:12px;line-height:1.6}.editor-customize .editor-placement-options{border-top:0;margin-top:0;padding-top:0}.editor-style-content:has(>#adjust-panel:not([hidden]))>.editor-inspector-footer{margin-top:0;padding:12px 16px}.editor-customize .editor-property{margin-bottom:0}
