.editor-workspace,.editor-dialog,.editor-context-panel{--panel-space:16px;--panel-control:36px;--panel-radius:5px}.editor-task-heading{background:var(--surface);border-bottom:1px solid var(--border);min-height:72px;padding:16px 42px 14px 18px}.editor-task-heading h2{letter-spacing:-.025em;margin:0;font-size:16px;font-weight:600;line-height:1.4}.editor-task-heading p{color:var(--muted-foreground);margin-top:5px;font-size:11px;line-height:1.5}.editor-panel-title-row{align-items:center;gap:10px;display:flex}.editor-panel-count,.editor-section-trailing{font-variant-numeric:tabular-nums;color:var(--muted-foreground);background:0 0;border:0;min-width:0;padding:0;font-size:11px}.editor-task-library .editor-task-navigation,.editor-style-panel .editor-panel-tabs{background:var(--surface);border-bottom:1px solid var(--border);gap:16px;height:42px;min-height:42px;padding:0 14px;display:flex}.editor-task-library .editor-task-navigation>button,.editor-style-panel .editor-panel-tabs>button{height:42px;min-height:42px;color:var(--muted-foreground);background:0 0;border-bottom:2px solid #0000;border-radius:0;flex:0 auto;gap:6px;padding:0 3px;font-size:12px}.editor-task-library .editor-task-navigation>button[aria-selected=true],.editor-style-panel .editor-panel-tabs>button[aria-selected=true]{color:var(--foreground);border-bottom-color:var(--primary)}.editor-task-library .editor-task-navigation>button:hover,.editor-style-panel .editor-panel-tabs>button:hover{color:var(--foreground);background:0 0}.editor-caption-task-actions{align-items:center;gap:8px;padding:14px 16px 8px;display:flex}.editor-caption-task-actions>button{border-color:var(--border);border-radius:var(--panel-radius);background:0 0;gap:6px;height:30px;min-height:30px;padding:0 9px;font-size:11px}.editor-task-library .editor-caption-tools{align-items:center;gap:8px;padding:2px 16px 12px;display:flex}.editor-task-library .editor-caption-search{flex:140px;min-width:0}.editor-caption-search input{height:var(--panel-control);border-radius:var(--panel-radius);border-color:var(--input);background:var(--canvas);font-size:12px}.editor-transcript-status{min-height:32px;color:var(--muted-foreground);padding:0 16px 8px;font-size:10px}.editor-transcript-status>button{background:0 0;border:0;padding:4px 0;font-size:10px}.editor-transcript-status>button[aria-pressed=true]{color:var(--brand-hover);background:0 0}.editor-transcript-document{padding:2px 0 16px}.editor-transcript-document .editor-caption-row{border-top:0;border-left:2px solid #0000;border-bottom:1px solid color-mix(in srgb, var(--border) 55%, transparent);background:0 0;padding:14px 16px 16px;position:relative}.editor-transcript-document .editor-caption-row:hover{background:var(--surface-hover)}.editor-transcript-document .editor-caption-row.is-selected{border-left-color:var(--primary);background:color-mix(in srgb, var(--primary) 4%, var(--surface))}.editor-caption-line-heading{gap:5px;min-height:24px;margin-bottom:5px}.editor-caption-meta{gap:7px}.editor-caption-number{color:var(--muted-foreground);font-variant-numeric:tabular-nums;font-size:10px}.editor-caption-row-times{color:var(--muted-foreground);gap:5px;font-size:10px;display:flex}.editor-caption-words{padding:1px 0;font-size:15px;line-height:1.75}.editor-caption-row-actions button{border:0;border-radius:4px;width:25px;height:25px}.editor-caption-utilities{border-top:1px solid var(--border);background:var(--surface);justify-content:space-between;min-height:45px;padding:8px 14px;display:flex}.editor-caption-utilities button{min-height:28px;font-size:11px}.editor-style-scope{border-bottom:1px solid var(--border);background:var(--surface);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;padding:12px 16px;display:grid}.editor-style-scope>label{color:var(--muted-foreground);font-size:10px}.editor-style-scope [data-slot=select-trigger]{border-radius:var(--panel-radius);border-color:var(--input);background:var(--canvas);height:32px;min-height:32px;font-size:12px}.editor-style-content{padding:16px}.editor-style-content:has(>#adjust-panel:not([hidden])){padding:0}.editor-style-content .editor-auto-style-entry{background:0 0;border:0;border-radius:0;flex-direction:row;justify-content:flex-end;align-items:center;gap:0;margin:0 0 8px;padding:0;display:flex}.editor-auto-style-entry>button{border-radius:var(--panel-radius);background:0 0;border:0;height:28px;min-height:28px;padding:4px 6px;font-size:11px;font-weight:400}.editor-auto-style-entry>button svg{width:12px;height:12px}.editor-preset-library{gap:14px;display:grid}.editor-preset-collections{border:0;border-bottom:1px solid var(--border);background:0 0;border-radius:0;align-items:center;gap:12px;padding:0;display:flex}.editor-preset-collections>button{min-width:0;min-height:34px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:1;padding:5px 0;font-size:10px}.editor-preset-collections>button[aria-pressed=true]{color:var(--foreground);border-bottom-color:var(--primary);box-shadow:none;background:0 0}.editor-style-gallery .editor-preset-filters{grid-template-columns:minmax(0,1fr);gap:8px;margin:0;display:grid}.editor-preset-filters input,.editor-preset-filters [data-slot=select-trigger]{height:var(--panel-control);border-radius:var(--panel-radius);border-color:var(--input);background:var(--canvas);font-size:12px}.editor-preset-summary{color:var(--muted-foreground);margin:0;font-size:10px}.editor-style-gallery .editor-preset-grid{grid-template-columns:minmax(0,1fr);gap:8px;display:grid}.editor-preset-apply{border:1px solid var(--border);border-radius:var(--panel-radius);min-height:98px;box-shadow:none;background:0 0;grid-template-columns:90px minmax(0,1fr);align-items:stretch;display:grid}.editor-preset-apply[aria-pressed=true]{border-color:var(--primary);box-shadow:inset 2px 0 var(--primary)}.editor-style-gallery .editor-preset-preview{aspect-ratio:9/16;background:var(--canvas);align-self:center;width:100%;height:auto}.editor-preset-label{border:0;border-left:1px solid var(--border);background:0 0;align-content:center;gap:6px;padding:20px 10px 10px;display:grid}.editor-preset-name{min-height:0;font-size:12px;line-height:1.4}.editor-preset-detail{-webkit-line-clamp:2;min-height:0;color:var(--muted-foreground);-webkit-box-orient:vertical;font-size:10px;line-height:1.5;display:-webkit-box;overflow:hidden}.editor-preset-favorite,.editor-preset-remove{background:var(--surface);border:0;border-radius:3px;width:23px;height:23px;top:5px}.editor-properties.editor-control-sheet{border:0;min-width:0;margin:0;padding:0;display:block}.inspector-sheet-navigation{border-bottom:1px solid var(--border);background:var(--surface);align-items:stretch;gap:0;padding:0 8px;display:flex}.inspector-sheet-navigation>button{min-width:0;min-height:58px;color:var(--muted-foreground);cursor:pointer;background:0 0;border-bottom:2px solid #0000;flex:1;align-content:center;justify-items:center;gap:6px;padding:10px 2px;font-size:10px;line-height:1.3;display:grid}.inspector-sheet-navigation>button[aria-selected=true]{color:var(--brand-hover);border-bottom-color:var(--primary)}.inspector-sheet-navigation>button:hover{color:var(--foreground);background:var(--surface-hover)}.inspector-sheet-content{min-width:0}.inspector-sheet-section{border-bottom:1px solid var(--border);padding:18px 16px}.inspector-sheet-heading{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:20px;display:flex}.inspector-sheet-heading>div{min-width:0}.inspector-sheet-heading h3{margin:0;font-size:14px;font-weight:600;line-height:1.5}.inspector-sheet-heading p{color:var(--muted-foreground);margin-top:5px;font-size:10px;line-height:1.5}.inspector-sheet-heading>button{color:var(--muted-foreground);cursor:pointer;background:0 0;flex-shrink:0;align-items:center;gap:4px;padding:4px 0 4px 4px;font-size:10px;display:flex}.inspector-sheet-fields,.customize-effect-controls{gap:18px;min-width:0;display:grid}.editor-customize .editor-property{margin:0}.customize-range,.customize-field{color:var(--muted-foreground);gap:8px;font-size:11px;display:grid}.customize-control-heading,.customize-color-row{color:var(--muted-foreground);justify-content:space-between;align-items:center;gap:10px;font-size:11px;display:flex}.customize-number,.customize-color-control{border-color:var(--input);background:var(--canvas);border-radius:4px}.customize-number>input,.customize-color-control input[type=text]{font-size:11px}.customize-format-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.customize-segments{background:var(--canvas);border-color:var(--input);border-radius:4px;gap:2px;padding:2px}.customize-segments button{border-radius:2px;min-height:30px;font-size:11px}.customize-segments button[aria-pressed=true]{background:var(--surface-hover);color:var(--foreground);box-shadow:inset 0 -2px var(--primary)}.customize-more,.editor-placement-options{border-top:1px solid var(--border);padding-top:12px}.customize-more>summary,.editor-placement-options>summary{color:var(--muted-foreground);cursor:pointer;padding-block:4px;font-size:11px}.customize-more>div{gap:18px;padding-top:16px}.customize-toggle-row{min-height:32px;font-size:12px}.customize-effect-controls{border-left:1px solid var(--border);padding-left:12px}.customize-hint{color:var(--muted-foreground);font-size:11px;line-height:1.7}.editor-translate-content{padding:0}.editor-control-section{border-bottom:1px solid var(--border);min-width:0}.editor-control-section-heading{justify-content:space-between;align-items:baseline;gap:12px;padding:20px 16px 14px;display:flex}.editor-control-section-icon{display:none}.editor-control-section-heading>div{flex:1;min-width:0}.editor-control-section-heading h3{letter-spacing:-.015em;font-size:14px;font-weight:600;line-height:1.5}.editor-control-section-heading p{color:var(--muted-foreground);margin-top:5px;font-size:11px;line-height:1.7}.editor-control-section-body{gap:18px;padding:0 16px 20px;display:grid}.editor-control-section-body>label:not(.flex),.editor-control-section-body details label,.editor-translation-segments>label{color:var(--muted-foreground);gap:8px;font-size:11px;display:grid}.editor-panel-input{width:100%;min-height:var(--panel-control);border:1px solid var(--input);border-radius:var(--panel-radius);background:var(--canvas);color:var(--foreground);padding:9px 10px;font-size:12px;line-height:1.6;display:block}textarea.editor-panel-input{resize:vertical;min-height:80px}.editor-translation-segments{gap:16px;display:grid}.editor-translation-actions{border-top:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:16px;display:grid}.editor-translation-actions>button:first-child,.editor-translation-actions>button:last-child{grid-column:1/-1}.editor-translation-actions>button:last-child{color:var(--destructive)}.editor-panel-notice{border-left:2px solid var(--warning);background:color-mix(in srgb, var(--warning) 5%, var(--surface));color:var(--foreground);padding:10px 12px;font-size:11px;line-height:1.7}.editor-panel-empty-state{color:var(--muted-foreground);padding:20px 0;font-size:12px;line-height:1.7}.editor-preview-heading{align-items:center;min-height:48px;padding:12px 16px}.editor-preview-heading h1{font-size:13px;font-weight:500}.editor-preview-heading>span{color:var(--muted-foreground);font-size:10px}.editor-transport{background:var(--surface);border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;min-height:64px;padding:10px 14px 24px;display:grid}.editor-transport-buttons,.editor-preview-settings{align-items:center;gap:5px;display:flex}.editor-transport-buttons{justify-content:center}.editor-preview-settings{justify-content:flex-end}.editor-transport-buttons>button,.editor-preview-settings>button{border-radius:4px;width:30px;height:32px}.editor-transport-buttons>button[aria-label=Play\ video],.editor-transport-buttons>button[aria-label=Pause\ video]{background:var(--surface-elevated);border:1px solid var(--input);width:36px}.editor-preview-settings select{border:1px solid var(--input);background:var(--canvas);border-radius:4px;min-width:58px;height:32px;padding:4px 6px;font-size:11px}.editor-timecode{font-variant-numeric:tabular-nums;min-width:0;font-size:11px}.editor-preview-seek{bottom:2px;left:14px;right:14px}.editor-timeline-toolbar{gap:12px;min-height:48px;padding-block:8px}.editor-timeline-toolbar h2{font-size:12px;font-weight:500}.editor-timeline-toolbar h2>span{font-size:10px}.timeline-edit-actions,.timeline-view-actions{align-items:center;gap:5px;display:flex}.timeline-edit-actions{border-right:1px solid var(--border);flex-wrap:wrap;padding-right:12px}.timeline-view-actions{margin-left:auto}.editor-timeline-toolbar button{border-radius:4px;min-height:30px;font-size:11px}.editor-track-labels>span{gap:5px;font-size:10px}.editor-dialog{border:1px solid var(--input);background:var(--surface);color:var(--foreground);border-radius:8px}.editor-dialog [data-slot=dialog-header]{border-bottom:1px solid var(--border);gap:7px;padding-bottom:18px}.editor-dialog [data-slot=dialog-title]{letter-spacing:-.025em;font-size:20px;font-weight:500;line-height:1.4}.editor-dialog [data-slot=dialog-description]{color:var(--muted-foreground);font-size:12px;line-height:1.7}.editor-dialog h3{font-size:13px;font-weight:500}.editor-dialog input:not([type=checkbox]):not([type=range]):not([type=color]),.editor-dialog textarea,.editor-dialog select{min-height:var(--panel-control);border-color:var(--input);border-radius:var(--panel-radius);background:var(--canvas);color:var(--foreground);font-size:12px}.editor-dialog button{border-radius:var(--panel-radius)}.editor-dialog input[type=checkbox],.editor-dialog input[type=range]{accent-color:var(--primary)}.editor-dialog details,.editor-save-style,.editor-style-options{border:0;border-top:1px solid var(--border);border-radius:0;padding:0}.editor-dialog details>summary,.editor-save-style>summary,.editor-style-options>summary{min-height:40px;color:var(--foreground);cursor:pointer;background:0 0;padding:12px 26px 12px 0;font-size:12px;line-height:1.6;list-style:none;position:relative}.editor-dialog details>summary::-webkit-details-marker{display:none}.editor-save-style>summary::-webkit-details-marker{display:none}.editor-style-options>summary::-webkit-details-marker{display:none}.editor-dialog details>summary:after,.editor-save-style>summary:after,.editor-style-options>summary:after{content:"+";color:var(--muted-foreground);font-size:16px;position:absolute;top:11px;right:3px}.editor-dialog details[open]>summary:after,.editor-save-style[open]>summary:after,.editor-style-options[open]>summary:after{content:"−"}.editor-dialog details[open]>:not(summary),.editor-save-style[open]>:not(summary),.editor-style-options[open]>:not(summary){margin:8px 0 16px}.editor-caption-tools-layout{grid-template-columns:170px minmax(0,1fr);gap:26px}.editor-caption-tools-navigation{border-right:1px solid var(--border);padding-right:16px}.editor-caption-tools-navigation h3{color:var(--muted-foreground);letter-spacing:.04em;text-transform:uppercase;margin:0 0 8px;padding:0;font-size:10px}.editor-caption-tools-navigation button{border-radius:3px;min-height:34px;padding:8px 9px;font-size:12px}.editor-caption-tools-navigation button[aria-current=page]{background:var(--surface-elevated);color:var(--foreground);box-shadow:inset 2px 0 var(--primary)}.editor-caption-tool-content>h3{margin-bottom:20px;font-size:16px;font-weight:500}.editor-version-row{border-bottom:1px solid var(--border);gap:12px;padding:16px 0}.editor-version-row small{color:var(--muted-foreground);margin-top:5px;font-size:11px;line-height:1.7;display:block}.editor-context-panel{border:1px solid var(--input);background:var(--surface);border-radius:7px}.editor-word-popover-header{border-bottom:1px solid var(--border);min-height:45px;padding:12px 16px}.editor-word-popover-tabs{border:0;border-bottom:1px solid var(--border);background:0 0;border-radius:0;gap:18px;margin:0;padding:0 16px;display:flex}.editor-word-popover-tabs>button{border-bottom:2px solid #0000;border-radius:0;min-height:38px;padding:8px 0;font-size:12px}.editor-word-popover-tabs>button[aria-selected=true]{border-bottom-color:var(--primary);background:0 0}.editor-popover-body{padding:16px}.editor-font-dialog .editor-font-filters{gap:12px}.editor-font-row{border-bottom:1px solid var(--border);border-radius:0}.editor-font-row:hover{background:var(--surface-hover)}.editor-font-current{color:var(--muted-foreground);font-size:10px}.editor-dialog :is(button,input,select,textarea,summary):focus-visible,.editor-context-panel :is(button,input,select,textarea,summary):focus-visible,.editor-panel-input:focus-visible{outline:2px solid var(--ring);outline-offset:2px}@container (max-width:560px){.editor-transport .editor-timecode>span{display:none}.editor-transport{gap:4px}.editor-preview-settings{gap:3px}.editor-transport-buttons>button{width:28px}}@media (max-width:760px){.timeline-view-actions{margin-left:0}.editor-timeline-toolbar{gap:8px}.editor-caption-row-actions button{width:30px;height:30px}}@media (max-width:600px){.editor-caption-tools-layout{grid-template-columns:minmax(0,1fr);gap:18px}.editor-caption-tools-navigation{border-right:0;border-bottom:1px solid var(--border);grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 0 16px;display:grid}.editor-caption-tools-navigation>div+div{margin-top:0}.editor-transcript-document .editor-caption-row{padding-inline:16px}}.editor-tool-kicker{color:var(--muted-foreground);letter-spacing:.06em;text-transform:uppercase;margin-bottom:7px;font-size:10px;line-height:1.5;display:block}.editor-tool-heading{margin-bottom:18px}.editor-tool-heading h3{color:var(--foreground);margin:0;font-size:14px;font-weight:500;line-height:1.5}.editor-tool-heading p{color:var(--muted-foreground);margin-top:6px;font-size:12px;line-height:1.7}.editor-font-dialog.editor-dialog{flex-direction:column;gap:0;width:min(900px,100vw - 32px);max-width:900px;height:min(720px,88svh);max-height:88svh;padding:22px;display:flex;overflow:hidden}.font-library-heading{flex-shrink:0;justify-content:space-between;align-items:flex-end;gap:24px;padding-bottom:20px;padding-right:26px;display:flex}.font-library-heading>[data-slot=dialog-description]{max-width:250px;margin:0;font-size:12px;line-height:1.7}.font-library-layout{border-block:1px solid var(--border);flex:1;grid-template-columns:170px minmax(0,1fr);min-height:0;display:grid}.font-library-filters{border-right:1px solid var(--border);flex-direction:column;gap:20px;min-width:0;padding:18px 18px 18px 0;display:flex}.font-library-filters .editor-font-search{flex-shrink:0;margin:0}.font-library-filters .editor-font-search input{width:100%;height:36px;padding-left:30px;font-size:11px}.font-library-filters .editor-font-filters{grid-template-columns:minmax(0,1fr);gap:16px;margin:0;padding:0;display:grid}.font-library-filters .editor-font-filters>label{color:var(--muted-foreground);gap:7px;font-size:11px;display:grid}.font-library-filters select{width:100%;min-width:0;color:var(--foreground);background:var(--canvas);padding:7px}.font-library-filters .editor-font-count{color:var(--muted-foreground);margin:auto 0 0;padding:0;font-size:11px;line-height:1.7}.font-library-results{flex-direction:column;min-width:0;min-height:0;display:flex}.font-library-results-heading{border-bottom:1px solid var(--border);color:var(--muted-foreground);grid-template-columns:.8fr 1fr;gap:14px;padding:13px 16px;font-size:10px;line-height:1.4;display:grid}.font-library-results .editor-font-list{background:0 0;border:0;border-radius:0;flex:1;height:auto;min-height:0;max-height:none;margin:0}.font-library-results .editor-font-row{border:0;border-bottom:1px solid var(--border);background:0 0;border-radius:0;grid-template-columns:minmax(100px,.8fr) minmax(0,1fr) 20px;align-items:center;gap:14px;padding:0 16px;display:grid}.font-library-results .editor-font-row[aria-selected=true]{background:var(--surface-elevated);box-shadow:inset 2px 0 var(--primary)}.font-library-results .editor-font-row [role=img]{max-width:100%;overflow:hidden}.font-library-results .editor-font-name{font-size:12px;font-weight:500}.font-library-results .editor-font-details small{color:var(--muted-foreground);font-size:10px}.editor-font-dialog .editor-font-footer{background:0 0;border:0;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;padding:16px 0 0;display:flex}.font-library-selection{flex:1;gap:4px;min-width:100px;margin-right:12px;display:grid}.font-library-selection>span{color:var(--muted-foreground);font-size:10px}.font-library-selection>strong{font-size:13px;font-weight:500}.editor-style-dialog.editor-dialog{width:min(1060px,100vw - 32px);max-width:1060px;max-height:90svh}.auto-style-workspace{grid-template-columns:minmax(0,1fr) 260px;gap:26px;min-width:0;display:grid}.auto-style-main,.auto-style-settings{min-width:0}.auto-style-main .editor-style-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.auto-style-main .editor-style-choice{border:1px solid var(--border);background:var(--canvas);border-radius:5px;overflow:hidden}.auto-style-main .editor-style-choice[aria-pressed=true]{border-color:var(--primary);box-shadow:inset 0 -2px var(--primary)}.auto-style-main .editor-style-choice>span:last-child{border-top:1px solid var(--border);min-height:36px;padding:9px 12px;font-size:12px}.auto-style-settings{border-left:1px solid var(--border);padding-left:22px}.auto-style-settings .editor-style-emoji-row{border-bottom:1px solid var(--border);background:0 0;margin:0 0 14px;padding:0 0 14px}.auto-style-settings .editor-style-option-fields{grid-template-columns:minmax(0,1fr);gap:18px;display:grid}.auto-style-settings .editor-style-check{align-items:flex-start;gap:8px;font-size:12px;line-height:1.6;display:flex}.auto-style-settings .editor-style-selection-list{max-height:240px;overflow-y:auto}.editor-style-preview{border:0;border-top:1px solid var(--border);background:0 0;border-radius:0;margin-top:22px;padding:16px 0 0}.editor-style-preview-heading>strong{font-size:13px;font-weight:500}.editor-style-preview-actions>p{font-size:12px;line-height:1.7}.editor-style-dialog .editor-style-footer{border-top:1px solid var(--border);background:var(--surface);padding-top:16px}.editor-context-panel .editor-word-effects{gap:7px;margin-bottom:14px;display:flex}.editor-context-panel .editor-word-effect{border:1px solid var(--input);background:0 0;border-radius:4px;flex:1;justify-content:center;align-items:center;gap:6px;min-width:0;min-height:36px;padding:8px 6px;font-size:11px;display:flex}.editor-context-panel .editor-word-effect[aria-pressed=true]{border-color:var(--primary);background:var(--surface-elevated)}.word-action-icon{color:var(--muted-foreground);align-items:center;display:flex}.editor-context-panel .editor-shared-font{border-bottom:1px solid var(--border);margin-bottom:18px;padding-bottom:18px}.editor-context-panel .editor-word-font-field select,.editor-context-panel .editor-emoji-picker select{border-color:var(--input);background:var(--canvas);border-radius:4px;min-height:36px;padding:8px;font-size:12px}.editor-context-panel .editor-caption-arrange{grid-template-columns:minmax(0,1fr);gap:7px;margin-bottom:16px;padding-bottom:16px;display:grid}.editor-context-panel .editor-caption-arrange button{border:1px solid var(--border);border-radius:4px;min-height:36px;padding:8px 10px;font-size:12px}.editor-caption-time-form{gap:18px;padding:0;display:grid}.timing-caption-context{border-bottom:1px solid var(--border);padding-bottom:16px}.timing-caption-context>p{-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:14px;line-height:1.7;display:-webkit-box;overflow:hidden}.timing-duration{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.timing-duration>span{color:var(--muted-foreground);font-size:12px}.timing-duration>strong{color:var(--foreground);font-variant-numeric:tabular-nums;letter-spacing:-.03em;font-size:22px;font-weight:500}.editor-caption-time-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.editor-caption-time-fields>label{color:var(--muted-foreground);gap:8px;font-size:11px;display:grid}.editor-caption-time-fields input{border:1px solid var(--input);width:100%;min-width:0;height:40px;color:var(--foreground);background:var(--canvas);font-variant-numeric:tabular-nums;border-radius:4px;padding:8px 10px;font-size:13px}.editor-caption-time-form .editor-caption-time-help{margin:0;font-size:11px;line-height:1.7}.editor-caption-apply-timing{background:var(--primary);min-height:38px;color:var(--primary-foreground);border:0;border-radius:4px;font-size:12px;font-weight:500}.editor-caption-apply-timing:disabled{color:var(--muted-foreground);background:var(--surface-elevated);border:1px solid var(--border)}@media (max-width:760px){.font-library-layout{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.font-library-heading{padding-right:20px;display:block}.font-library-heading>[data-slot=dialog-description]{max-width:none;margin-top:8px}.font-library-filters{border-right:0;border-bottom:1px solid var(--border);grid-template-columns:1fr 1.2fr;align-items:end;gap:12px;padding:14px 0;display:grid}.font-library-filters .editor-font-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.font-library-filters .editor-font-count{grid-column:1/-1}.font-library-selection{flex-basis:100%;margin:0 0 4px}.auto-style-workspace{grid-template-columns:minmax(0,1fr);gap:24px}.auto-style-settings{border-left:0;border-top:1px solid var(--border);padding:20px 0 0}.editor-font-dialog.editor-dialog{padding:18px}}@media (max-width:460px){.font-library-filters{grid-template-columns:minmax(0,1fr)}.font-library-results .editor-font-row{grid-template-columns:minmax(80px,.8fr) minmax(0,1fr) 16px;gap:8px;padding-inline:8px}}.editor-word-inspector.editor-context-panel{width:min(360px,100vw - 24px);max-height:min(760px, var(--available-height,calc(100dvh - 24px)));border:1px solid var(--input);background:var(--surface-elevated);border-radius:14px;gap:0;padding:0;font-size:13px}.editor-word-inspector .editor-popover-navigation{flex-shrink:0}.editor-word-inspector .editor-word-popover-header{border:0;min-height:72px;padding:16px 18px 12px}.editor-word-inspector-title{align-items:center;gap:11px;min-width:0;display:flex}.editor-word-inspector-icon{border:1px solid var(--border);width:36px;height:36px;color:var(--muted-foreground);border-radius:10px;flex-shrink:0;place-items:center;display:grid}.editor-word-inspector-title>div{gap:3px;min-width:0;display:grid}.editor-word-inspector-title strong{font-size:15px;font-weight:600}.editor-word-inspector .editor-word-selection-label{font-size:12px}.editor-word-inspector .editor-word-popover-close{border-radius:8px;width:36px;height:36px}.editor-word-inspector .editor-word-popover-close svg{width:17px;height:17px}.editor-word-inspector .editor-word-popover-tabs{border:1px solid var(--border);background:var(--surface);border-radius:9px;grid-template-columns:1fr 1fr;gap:4px;margin:0 18px 16px;padding:4px;display:grid}.editor-word-inspector .editor-word-popover-tabs>button{border:1px solid #0000;border-radius:6px;height:36px;min-height:36px;font-size:12px;font-weight:500}.editor-word-inspector .editor-word-popover-tabs>button[aria-selected=true]{background:var(--surface-hover);border-color:var(--input);color:var(--foreground);box-shadow:none}.editor-word-inspector .editor-popover-body{scrollbar-gutter:stable;padding:0 18px 16px}.editor-word-sample{border:1px solid var(--border);background:var(--canvas);border-radius:10px;gap:12px;margin-bottom:18px;padding:14px 16px 20px;display:grid}.editor-word-sample-label{color:var(--muted-foreground);letter-spacing:.025em;font-size:10px}.editor-word-sample-text{text-align:center;overflow-wrap:anywhere;max-height:130px;line-height:1.7;overflow-y:auto}.editor-word-inspector .editor-shared-font{border:0;margin:0 0 16px;padding:0}.editor-word-inspector .editor-word-font-field{gap:7px;min-width:0}.editor-word-inspector .editor-font-trigger{border-color:var(--input);background:var(--surface);border-radius:7px;justify-content:space-between;height:40px;padding:8px 12px;font-size:13px}.editor-word-inspector .editor-popover-style-panel{gap:16px}.editor-word-section-label{color:var(--foreground);justify-content:space-between;align-items:center;gap:8px;font-size:12px;font-weight:500;display:flex}.editor-word-section-label small{color:var(--muted-foreground);font-size:11px;font-weight:400}.editor-word-inspector .editor-word-effects{grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 0;display:grid}.editor-word-inspector .editor-word-effect{background:var(--surface);border-radius:7px;height:40px;min-height:40px;font-size:12px}.editor-word-inspector .editor-word-effect[aria-pressed=true]{color:var(--foreground);border-color:var(--primary);background:color-mix(in srgb, var(--primary) 14%, var(--surface))}.editor-word-inspector .editor-word-effect[aria-pressed=true] .word-action-icon{color:var(--primary)}.editor-word-inspector .editor-word-effect-color{color:var(--foreground);gap:10px;font-size:12px}.editor-word-color-value{color:var(--muted-foreground);font-variant-numeric:tabular-nums;margin-left:auto;font-size:11px}.editor-word-inspector .editor-word-color{border-color:var(--input);border-radius:7px;width:40px;height:36px}.editor-word-inspector .editor-word-color input{padding:6px}.editor-word-typography-section{gap:8px;display:grid}.editor-word-typography-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.editor-word-inspector .editor-word-type-fields{margin:0}.editor-word-typography-row .editor-word-font-field>span{display:none}.editor-word-inspector .editor-word-font-field select{background:var(--surface);border-radius:7px;width:100%;height:40px}.editor-word-inspector .editor-word-format-actions{flex-wrap:nowrap;gap:4px}.editor-word-inspector .editor-word-format-actions button{border-color:var(--input);border-radius:7px;width:36px;height:40px}.editor-word-inspector .editor-word-format-actions svg{width:16px;height:16px}.editor-word-inspector .editor-word-advanced{border:0;padding:0}.editor-word-inspector .editor-word-advanced>summary{color:var(--muted-foreground);padding-block:6px;font-size:12px}.editor-word-advanced>label{margin-top:10px}.editor-word-layout-section{border-top:1px solid var(--border);gap:8px;padding-top:16px;display:grid}.editor-word-inspector .editor-word-spotlight{text-align:left;background:var(--surface);border-radius:8px;justify-content:flex-start;align-items:center;gap:10px;height:auto;min-height:62px;padding:10px;display:flex}.editor-word-spotlight>span:nth-child(2){flex:1;gap:4px;display:grid}.editor-word-inspector .editor-word-spotlight strong{font-size:12px;font-weight:500}.editor-word-inspector .editor-word-spotlight small{color:var(--muted-foreground);font-size:11px;line-height:1.5}.editor-word-layout-icon{color:var(--muted-foreground)}.editor-word-inspector .editor-word-line-break{background:0 0;border-color:#0000;border-radius:7px;justify-content:flex-start;gap:10px;height:36px;padding:6px 10px;font-size:12px}.editor-word-inspector .editor-word-popover-hint{margin:12px 0 0;font-size:11px;line-height:1.6}.editor-word-inspector-footer{border-top:1px solid var(--border);background:var(--surface);flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;display:flex}.editor-word-inspector .editor-word-reset{height:36px;color:var(--muted-foreground);background:0 0;border-color:#0000;padding:6px 8px;font-size:12px}.editor-word-inspector .editor-word-done{border:1px solid var(--primary);background:var(--primary);height:36px;color:var(--primary-foreground);border-radius:7px;padding:6px 16px;font-size:12px;font-weight:600}.editor-word-inspector .editor-word-done:hover{background:var(--brand-hover);color:var(--primary-foreground)}.editor-word-inspector :is(button,input,select,summary):focus-visible{outline:2px solid var(--ring);outline-offset:2px}@media (max-width:380px){.editor-word-inspector .editor-popover-body{padding-inline:12px}.editor-word-inspector .editor-word-popover-tabs{margin-inline:12px}.editor-word-section-label small{display:none}}.editor-task-library .editor-task-heading{min-height:48px;padding-block:12px}.editor-task-library .editor-caption-tools{border-bottom:1px solid var(--border);flex-wrap:nowrap;padding:12px 16px}.editor-task-library .editor-caption-search{flex:1 1 0}.editor-transcript-options-trigger:focus-visible,.editor-transcript-options-menu>button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.editor-transcript-options-menu{z-index:30;border:1px solid var(--border);background:var(--surface-elevated);border-radius:6px;width:248px;padding:8px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #00000040}.editor-transcript-options-menu .editor-caption-task-actions{border-bottom:1px solid var(--border);margin-bottom:4px;padding:0 0 8px}.editor-transcript-options-menu>button{text-align:left;cursor:pointer;border-radius:4px;width:100%;padding:10px;font-size:12px;display:block}.editor-transcript-options-menu>button:hover{background:var(--surface-hover)}.editor-caption-search-results{color:var(--muted-foreground);margin:0;padding:8px 18px 0;font-size:11px}.editor-transcript-document .editor-caption-row{border-bottom:0;padding:12px 18px 16px}.editor-transcript-document .editor-caption-row+.editor-caption-row{border-top:0}.editor-transcript-document .editor-caption-words{min-height:0;color:var(--foreground);font-size:17px;line-height:1.8}.editor-transcript-document .editor-caption-line-heading{min-height:26px;margin-bottom:2px}.editor-transcript-document .editor-caption-row-times{font-variant-numeric:tabular-nums;font-size:10px}@media (hover:hover){.editor-transcript-document .editor-caption-row-actions{opacity:0;pointer-events:none}.editor-transcript-document .editor-caption-row:hover .editor-caption-row-actions,.editor-transcript-document .editor-caption-row:focus-within .editor-caption-row-actions{opacity:1;pointer-events:auto}.editor-transcript-document .editor-caption-row-actions:has([aria-expanded=true]){opacity:1;pointer-events:auto}}.editor-caption-column{min-width:0;min-height:0;display:grid;overflow:hidden}.editor-caption-column[hidden]{display:none}.editor-caption-column .editor-dock-timeline{min-width:0}.editor-caption-column .editor-timeline-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:10px 42px 10px 14px;display:grid}.editor-caption-column .editor-timeline-toolbar h2{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.editor-caption-column .timeline-edit-actions{border:0;justify-content:flex-end;padding:0}.editor-caption-column .timeline-view-actions{grid-column:1/-1;justify-content:space-between;margin-left:0}.editor-caption-column .timeline-zoom{flex:1;max-width:150px}.editor-caption-column .timeline-zoom input{width:100%;min-width:20px}.editor-caption-column .editor-timeline-tracks{grid-template-columns:64px minmax(0,1fr)}.editor-caption-column .editor-track-labels{width:64px}.editor-caption-column .editor-track-labels>span{padding-inline:8px;font-size:9px}.editor-caption-column .editor-timeline-footer{display:none}.editor-dock.is-maximized .editor-caption-column{height:100%}@media (max-width:980px){.editor-caption-column{grid-area:1/1;grid-template-rows:480px 240px}.editor-caption-column .dock-library{grid-area:auto;height:auto}.editor-caption-column .editor-dock-timeline{height:240px}.editor-dock-panels>.dock-preview{height:720px}.editor-dock.is-maximized .editor-caption-column{flex-direction:column;width:100%;display:flex}.editor-dock.is-maximized .editor-caption-column .editor-dock-timeline{height:75svh}}@media (max-width:600px){.editor-caption-column{flex-shrink:0;order:1}.editor-dock-panels>.dock-preview{height:560px}.editor-dock-panels>.dock-inspector{order:2;height:560px}}.editor-style-panel .editor-task-heading{min-height:48px;padding-block:12px}.editor-style-panel .editor-panel-tabs{border:0;border-bottom:1px solid var(--border);background:0 0;border-radius:0;gap:24px;height:44px;min-height:44px;margin:0 0 12px;padding:0 16px}.editor-style-panel .editor-panel-tabs>button{border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;justify-content:flex-start;height:44px;min-height:44px;padding:0;font-weight:500}.editor-style-panel .editor-panel-tabs>button[aria-selected=true]{border-bottom-color:var(--primary);color:var(--foreground);box-shadow:none;background:0 0}.editor-style-panel .editor-style-scope{gap:8px;padding:2px 14px 12px}.editor-style-panel .editor-style-scope>label{font-size:11px}.editor-style-panel .editor-style-content{padding:14px}.editor-style-panel .editor-preset-library{gap:12px}.editor-style-panel .editor-preset-collections{background:var(--canvas);border:0;border-radius:5px;gap:2px;padding:2px}.editor-style-panel .editor-preset-collections>button{border:0;border-radius:3px;min-height:30px;font-size:10px}.editor-style-panel .editor-preset-collections>button[aria-pressed=true]{background:var(--surface-elevated);color:var(--foreground)}.editor-style-panel .editor-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.editor-style-panel .editor-preset-apply{background:var(--canvas);border-radius:7px;flex-direction:column;height:100%;min-height:0;display:flex}.editor-style-panel .editor-preset-apply[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--primary)}.editor-style-panel .editor-preset-preview{aspect-ratio:auto;background:var(--canvas);height:96px;min-height:0}.editor-style-panel .editor-preset-label{border-left:0;border-top:1px solid var(--border);background:var(--surface-elevated);align-content:start;gap:4px;padding:10px}.editor-style-panel .editor-preset-name{font-size:11px;line-height:1.4}.editor-style-panel .editor-preset-detail{text-overflow:ellipsis;white-space:nowrap;font-size:10px;display:block;overflow:hidden}.editor-style-panel .editor-preset-favorite{border-radius:4px;top:6px;right:6px}.editor-style-panel .editor-auto-style-entry{border-top:1px solid var(--border);justify-content:flex-start;margin-top:18px;padding:12px 0 0}.editor-style-panel .editor-auto-style-entry>button{border:1px solid var(--border);justify-content:center;width:100%;min-height:36px}.editor-style-panel .inspector-sheet-navigation{border:0;border-bottom:1px solid var(--border);background:0 0;border-radius:0;gap:16px;padding:0}.editor-style-panel .inspector-sheet-navigation>button{border:0;border-bottom:2px solid #0000;border-radius:0;flex:0 auto;align-items:center;min-height:40px;padding:0 2px;font-size:11px;font-weight:500;display:flex}.editor-style-panel .inspector-sheet-navigation>button[aria-selected=true]{box-shadow:none;border-bottom-color:var(--primary);color:var(--foreground);background:0 0}.editor-style-panel .inspector-sheet-navigation>button:hover{background:0 0}.editor-style-panel .editor-panel-tabs>button:focus-visible,.editor-style-panel .inspector-sheet-navigation>button:focus-visible,.caption-edit-dialog .editor-word-popover-tabs>button:focus-visible{outline:2px solid var(--ring);outline-offset:-4px}.editor-transcript-options-positioner{z-index:50}.editor-transcript-options-menu{position:static}.editor-transcript-options-trigger{flex-shrink:0}.editor-caption-column .editor-timeline-hint{display:none}@media (max-width:980px){.editor-caption-column .dock-library{order:0;grid-area:1/1}.editor-caption-column .editor-dock-timeline{order:1;grid-area:2/1}.editor-caption-column:has(.dock-library[hidden]){grid-template-rows:240px}.editor-caption-column:has(.dock-library[hidden]) .editor-dock-timeline{grid-row:1}.editor-caption-column:has(.editor-dock-timeline[hidden]){grid-template-rows:480px}}.editor-dock-body{flex:1;min-width:0;min-height:0;display:flex}.editor-workspace-rail{border-right:1px solid var(--border);background:var(--surface);flex-direction:column;flex-shrink:0;align-items:stretch;gap:8px;width:76px;padding:16px 6px;display:flex}.editor-workspace-rail>button{min-height:64px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:0;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:8px;padding:10px 2px;font-size:10px;display:flex;position:relative}.editor-workspace-rail>button:hover{color:var(--foreground);background:var(--surface-hover)}.editor-workspace-rail>button[aria-selected=true]{color:var(--foreground);background:0 0;border-color:#0000;font-weight:600}.editor-workspace-rail>button[aria-selected=true]:before{content:"";background:var(--primary);width:2px;position:absolute;inset:12px auto 12px -6px}.editor-workspace-rail>button[aria-selected=true] svg{color:var(--primary)}.editor-workspace-rail>button[aria-selected=true]:first-child svg{color:var(--caption)}.editor-workspace-rail>button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.editor-style-task-content:not([hidden]){flex-direction:column;flex:1;min-height:0;display:flex}.editor-style-task-content>.editor-style-panel{border:0;flex-direction:column;flex:1;width:100%;min-height:0;display:flex}.editor-style-task-content .editor-style-scope [data-slot=select-trigger]{width:100%}@media (max-width:980px){.editor-dock-body{flex:none}.editor-workspace-rail{width:64px;padding-inline:4px}.editor-workspace-rail>button[aria-selected=true]:before{left:-4px}.editor-workspace-rail>button{font-size:9px}}@media (max-width:600px){.editor-dock-body{display:block}.editor-workspace-rail{z-index:20;border-right:0;border-bottom:1px solid var(--border);flex-direction:row;gap:6px;width:100%;padding:6px 12px;position:sticky;top:0}.editor-workspace-rail>button{flex-direction:row;flex:1;gap:6px;min-height:38px;padding:6px;font-size:11px}.editor-workspace-rail>button[aria-selected=true]:before{width:auto;height:2px;inset:auto 6px -6px}.editor-dock-body .dock-library{scroll-margin-top:56px}}.editor-caption-tools-row{min-width:0;min-height:0;display:flex;overflow:hidden}.editor-caption-tools-row>.dock-library{flex:1;min-width:0;height:100%}.editor-caption-tools-row>.editor-workspace-rail{align-self:stretch}@media (max-width:980px){.editor-caption-tools-row{grid-area:1/1}.editor-caption-tools-row>.dock-library{height:100%}}@media (max-width:600px){.editor-caption-tools-row>.editor-workspace-rail{border-right:1px solid var(--border);border-bottom:0;flex-direction:column;width:64px;padding:12px 4px;position:static}.editor-caption-tools-row>.editor-workspace-rail>button{flex-direction:column;flex:none;min-height:60px;padding:8px 2px;font-size:9px}}.caption-edit-dialog.editor-context-panel{width:min(380px,100vw - 24px);max-height:min(620px, var(--available-height,calc(100dvh - 24px)));border:1px solid var(--input);background:var(--surface);border-radius:10px;box-shadow:0 16px 48px #0000004d}.caption-edit-dialog .editor-popover-navigation{background:var(--surface);border-bottom:1px solid var(--border);gap:0;padding:0}.caption-edit-dialog .editor-word-popover-header{min-height:64px;padding:14px 16px 10px}.caption-edit-dialog .editor-word-inspector-icon{background:var(--surface-elevated);width:32px;height:32px;color:var(--caption);border:0;border-radius:6px}.caption-edit-dialog .editor-word-inspector-title{gap:10px}.caption-edit-dialog .editor-word-inspector-title strong{font-size:14px}.caption-edit-dialog .editor-word-selection-label{font-family:var(--font-app-mono);font-variant-numeric:tabular-nums;font-size:10px}.caption-edit-dialog .editor-word-popover-close{border-radius:4px;width:28px;height:28px}.caption-edit-dialog .editor-word-popover-tabs{background:0 0;border:0;border-radius:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0;padding:0 16px}.caption-edit-dialog .editor-word-popover-tabs>button{height:38px;min-height:38px;color:var(--muted-foreground);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;font-size:12px}.caption-edit-dialog .editor-word-popover-tabs>button[aria-selected=true]{color:var(--foreground);border-bottom-color:var(--primary);box-shadow:none;background:0 0}.caption-edit-dialog .editor-popover-body{background:var(--surface);scrollbar-gutter:auto;padding:16px}.caption-correction{gap:8px;margin:0 0 18px;display:grid}.caption-correction>label{color:var(--muted-foreground);font-size:11px}.caption-correction-field{gap:8px;display:grid}.caption-correction-field :is(input,textarea){border:1px solid var(--input);background:var(--canvas);width:100%;min-width:0;color:var(--foreground);resize:vertical;border-radius:6px;padding:12px;font-size:20px;line-height:1.5}.caption-correction-field textarea{min-height:104px;max-height:200px;font-size:15px}.caption-correction-field>button{border:1px solid var(--border);height:30px;color:var(--foreground);background:var(--surface-elevated);cursor:pointer;border-radius:4px;justify-content:center;justify-self:end;align-items:center;gap:6px;padding:0 10px;font-size:11px;display:inline-flex}.caption-correction-field>button:hover:not(:disabled){border-color:var(--primary);background:var(--surface-hover)}.caption-correction-field>button:disabled{color:var(--muted-foreground);cursor:default}.caption-correction>p{color:var(--danger);font-size:11px}.caption-edit-dialog .editor-shared-font{margin:0 0 14px}.caption-edit-dialog .editor-font-trigger{background:var(--canvas);border-radius:5px;height:36px;min-height:36px}.caption-edit-dialog .editor-popover-style-panel{flex-direction:column;gap:14px;display:flex}.caption-edit-dialog .editor-word-typography-section{order:0;margin:0;padding:0}.caption-edit-dialog .editor-word-effect-color{border-block:1px solid var(--border);order:1;margin:0;padding:10px 0}.caption-edit-dialog .editor-word-emphasis-section{order:2}.caption-edit-dialog .editor-word-advanced{order:3;margin:0}.caption-edit-dialog .editor-word-layout-section{border:0;order:4;padding:0}.caption-edit-dialog .editor-word-section-label{color:var(--muted-foreground);margin-bottom:8px;font-size:11px}.caption-edit-dialog .editor-word-typography-row{gap:12px}.caption-edit-dialog .editor-word-type-fields{flex:1}.caption-edit-dialog .editor-word-type-fields .editor-word-font-field>span{display:none}.caption-edit-dialog .editor-word-font-field select{background:var(--canvas);border-radius:4px;min-height:34px}.caption-edit-dialog .editor-word-format-actions{background:var(--canvas);border:1px solid var(--border);border-radius:5px;gap:3px;padding:2px}.caption-edit-dialog .editor-word-format-actions button{border:0;border-radius:3px;width:30px;height:30px}.caption-edit-dialog .editor-word-format-actions button[aria-pressed=true]{background:var(--surface-hover);color:var(--brand-hover)}.caption-edit-dialog .editor-word-effects{grid-template-columns:1fr 1fr;gap:8px}.caption-edit-dialog .editor-word-effect{background:var(--canvas);border-radius:5px;gap:7px;height:36px;min-height:36px}.caption-edit-dialog .editor-word-effect[aria-pressed=true]{border-color:var(--primary);color:var(--foreground);background:var(--surface-hover)}.caption-edit-dialog .editor-word-effect .word-action-icon{background:0 0;width:auto;height:auto}.caption-edit-dialog .caption-editor-section-heading{border-top:1px solid var(--border);color:var(--muted-foreground);margin:0 0 10px;padding-top:12px;font-size:11px;font-weight:500}.caption-edit-dialog .editor-word-spotlight{background:var(--canvas);border-radius:5px;min-height:48px}.caption-edit-dialog .editor-word-spotlight small{font-size:10px}.caption-edit-dialog .editor-word-popover-hint{margin-top:14px;font-size:10px}.caption-edit-dialog .editor-word-inspector-footer{background:var(--surface);padding:10px 16px}.caption-edit-dialog .editor-word-reset{height:30px;padding:4px 0;font-size:11px}.caption-edit-dialog .editor-word-done{border-radius:5px;height:32px;padding-inline:14px;font-size:11px}.caption-editor-footer-hint{color:var(--muted-foreground);font-size:10px}.caption-edit-dialog .editor-caption-style-link{background:var(--canvas);border-radius:5px;padding:12px}.caption-edit-dialog .timing-caption-context{display:none}.caption-edit-dialog .timing-duration{margin-bottom:14px}.caption-edit-dialog .editor-caption-time-fields input{background:var(--canvas);border-radius:5px}.caption-edit-dialog .editor-caption-apply-timing{border-radius:5px}.caption-edit-dialog :is(input,textarea,button,select,summary):focus-visible{outline:2px solid var(--primary);outline-offset:2px}@media (max-width:600px){.editor-word-popover-positioner:has(.caption-edit-dialog){width:calc(100vw - 24px)!important;position:fixed!important;inset:auto 12px 12px!important;transform:none!important}.caption-edit-dialog.editor-context-panel{border-radius:12px;width:100%;max-height:min(620px,100dvh - 24px)}}.caption-edit-dialog .editor-word-layout-section{border-top:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:12px;display:grid}.caption-edit-dialog .editor-word-layout-section>button{border:1px solid var(--border);background:var(--canvas);height:36px;min-height:36px;color:var(--foreground);border-radius:5px;justify-content:center;align-items:center;gap:7px;padding:6px 8px;font-size:11px;font-weight:400;display:flex}.caption-edit-dialog .editor-word-layout-section>button:hover:not(:disabled){background:var(--surface-hover);border-color:var(--primary)}.caption-edit-dialog .editor-word-layout-section>button:disabled{color:var(--muted-foreground);cursor:default}.editor-phone-navigation{display:none}@media (max-width:600px){.editor-workspace{height:100dvh;min-height:0;overflow:hidden}.editor-header{grid-template-columns:44px minmax(0,1fr) auto auto;gap:4px;height:auto;padding:6px 8px;display:grid}.editor-back{width:44px;height:44px}.editor-project-identity{flex-direction:column;grid-column:2/-1;align-items:stretch;gap:0}.editor-project-identity input{width:100%;font-size:16px}.editor-save-status{min-height:18px;padding-left:6px;font-size:11px;display:flex}.editor-workspace-menu-trigger{grid-area:2/1;min-width:44px;height:44px}.editor-history{grid-area:2/2;gap:4px}.editor-header .editor-history button,.editor-header-actions>[aria-label=Project\ options]{width:44px;height:44px}.editor-export-button{height:44px}.editor-notices{max-height:20dvh}.editor-dock,.editor-dock-body{flex-direction:column;flex:1;min-height:0;display:flex}.editor-phone-navigation{border-bottom:1px solid var(--border);background:var(--surface);flex-shrink:0;gap:24px;padding:0 16px;display:flex}.editor-phone-navigation button{min-height:44px;box-shadow:none;color:var(--muted-foreground);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:0 2px;font-size:12px;font-weight:500}.editor-phone-navigation button:hover,.editor-phone-navigation button[aria-pressed=true]{color:var(--foreground);background:0 0}.editor-phone-navigation button[aria-pressed=true]{border-bottom-color:var(--primary)}.editor-phone-navigation button:focus-visible{outline:2px solid var(--ring);outline-offset:-4px}.editor-dock .editor-dock-panels{flex-direction:column;flex:1;min-height:0;display:flex}.editor-dock .editor-dock-panels>.dock-preview{flex:none;order:0;height:clamp(220px,30dvh,280px)}.editor-dock .editor-caption-column,.editor-dock .editor-dock-panels>.dock-inspector{height:auto;min-height:0;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--border);flex-direction:column;flex:1;order:1;display:flex}.editor-caption-column .editor-caption-tools-row{flex-direction:column;flex:1;min-height:0}.editor-caption-tools-row>.editor-workspace-rail{border-right:0;border-bottom:1px solid var(--border);flex-direction:row;width:100%;padding:4px 8px}.editor-caption-tools-row>.editor-workspace-rail>button{flex-direction:row;flex:1;min-height:44px;padding:6px;font-size:12px}.editor-caption-tools-row>.editor-workspace-rail>button[aria-selected=true]:before{inset:auto 6px -4px}.editor-caption-tools-row>.dock-library,.editor-caption-column .editor-dock-timeline,.editor-dock.is-maximized .editor-caption-column .editor-dock-timeline{flex:1;height:auto;min-height:0;max-height:none}.editor-caption-column .editor-dock-timeline{position:relative}.editor-dock.is-maximized .editor-dock-panels>.editor-dock-panel{flex:1;height:auto;min-height:0}.editor-dock-panel>.editor-inspector{min-height:0;max-height:none}.editor-dock .editor-player{padding:8px 8px 60px}.editor-playback-error{max-height:calc(100% - 76px);inset:8px 8px auto;overflow-y:auto}.editor-workspace :is(input:not([type=range]):not([type=checkbox]):not([type=color]),textarea,select){font-size:16px}}@media (max-width:600px) and (max-height:650px){.editor-dock .editor-dock-panels>.dock-preview{height:180px}.editor-preview-heading{display:none}}.editor-style-panel .editor-preset-collections>button[aria-selected=true],.editor-workbench .editor-preset-collections>button[aria-selected=true]{background:var(--surface-elevated);color:var(--foreground);box-shadow:none}.editor-style-panel .editor-preset-collections>button{font-size:11px}.editor-preset-sticky{z-index:3;background:var(--surface,var(--background));gap:8px;padding:2px 0 8px;display:grid;position:sticky;top:0}.editor-style-gallery .editor-preset-sticky .editor-preset-filters{grid-template-columns:minmax(0,1fr) auto;align-items:center}.editor-preset-save-open{height:var(--panel-control);gap:4px;font-size:12px}.editor-preset-chips{scrollbar-width:thin;gap:6px;padding-bottom:2px;display:flex;overflow-x:auto}.editor-preset-chips>button{border:1px solid var(--border);min-height:28px;color:var(--muted-foreground);cursor:pointer;white-space:nowrap;background:0 0;border-radius:999px;flex:none;padding:0 10px;font-size:11px}.editor-preset-chips>button[aria-pressed=true]{border-color:var(--primary);color:var(--foreground);background:var(--surface-elevated)}.editor-preset-chips>.editor-preset-clear{border-style:dashed;align-items:center;gap:4px;display:inline-flex}.editor-preset-facets>button{min-height:26px;font-size:11px}.editor-preset-summary{justify-content:space-between;gap:8px;font-size:11px;display:flex}.editor-preset-hint{border:1px solid var(--border);border-radius:var(--panel-radius);color:var(--foreground);background:var(--canvas);margin:0;padding:6px 8px;font-size:12px}.editor-preset-section{gap:8px;display:grid}.editor-preset-section>h3,.editor-preset-section>summary{cursor:pointer;align-items:center;gap:6px;margin:0;font-size:12px;font-weight:600;list-style:none;display:flex}.editor-preset-section>summary::-webkit-details-marker{display:none}.editor-preset-section>summary span{color:var(--muted-foreground);font-weight:400}.editor-preset-empty{color:var(--muted-foreground);justify-items:start;gap:8px;font-size:12px;display:grid}.editor-preset-empty p,.editor-preset-form-note{margin:0}.editor-preset-form-note{color:var(--muted-foreground);grid-column:1/-1;font-size:11px}.editor-style-panel .editor-preset-detail,.editor-style-panel .editor-preset-name{font-size:11px}.editor-style-panel .editor-preset-favorite,.editor-style-panel .editor-preset-remove{width:28px;height:28px}.editor-preset-card:not(:hover):not(:focus-within) .editor-preset-favorite[aria-pressed=false]{opacity:.55}.editor-preset-apply:focus-visible,.editor-preset-favorite:focus-visible,.editor-preset-remove:focus-visible,.editor-preset-chips>button:focus-visible,.editor-preset-collections>button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.editor-preset-results{gap:14px;display:grid}.editor-preview-heading .editor-preview-scope{background:0 0;border:0;align-items:center;gap:8px;margin-left:auto;padding:0;display:flex}.editor-preview-heading .editor-preview-scope>label{white-space:nowrap;font-size:11px}.editor-preview-heading .editor-preview-scope [data-slot=select-trigger]{width:auto;min-width:150px}.editor-workbench .editor-style-gallery .editor-preset-sticky .editor-preset-filters,.editor-style-panel .editor-style-gallery .editor-preset-sticky .editor-preset-filters{grid-template-columns:minmax(0,1fr) auto;gap:8px}.editor-preset-facets>button{background:var(--surface-elevated);border-color:#0000}.editor-preset-facets>button[aria-pressed=true]{border-color:var(--primary)}@media (max-width:600px){.editor-preview-heading .editor-preview-scope>label{display:none}}.editor-style-panel .editor-preset-sticky{margin:-14px -14px 0;padding:14px 14px 10px;top:-14px}.editor-preset-save-open{width:var(--panel-control);padding:0}.editor-scope-toggle{border:1px solid var(--border);border-radius:8px;gap:2px;padding:2px;display:inline-flex}.editor-scope-toggle button{white-space:nowrap;height:26px;color:var(--muted-foreground);border-radius:6px;padding:0 10px;font-size:12px}.editor-scope-toggle button[aria-checked=true]{background:var(--accent);color:var(--accent-foreground);font-weight:600}.editor-scope-toggle button:disabled{opacity:.45;cursor:not-allowed}.customize-schemes{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.customize-scheme{border:1px solid var(--input);background:var(--canvas);cursor:pointer;border-radius:4px;height:26px;padding:0;display:flex;overflow:hidden}.customize-scheme:hover,.customize-scheme:focus-visible{border-color:var(--foreground)}.customize-scheme>span{flex:1}
.editor-workspace.editor-workbench{--font-app-sans:"DM Sans", ui-sans-serif, system-ui, sans-serif;--editor-heading-font:"Sora", var(--font-app-sans);--editor-divider:color-mix(in srgb, var(--border) 70%, var(--surface));font-family:var(--font-app-sans);height:100dvh;min-height:0;overflow:hidden}.editor-workbench .editor-header{gap:12px;height:72px;padding:0 20px}.editor-header-project,.editor-header-actions{display:contents}.editor-workbench .editor-back{border:1px solid var(--border);border-radius:8px;width:36px;height:36px}.editor-brand{border-right:1px solid var(--border);background:url(/capzo-logo-light.svg) 0/80px 32px no-repeat;flex-shrink:0;width:100px;height:34px;display:block}.editor-workbench .editor-project-identity{flex-direction:column;align-items:flex-start;gap:0}.editor-workbench .editor-project-identity input{letter-spacing:-.015em;height:30px;font-size:14px;font-weight:600}.editor-workbench .editor-save-status{min-height:18px;padding-left:7px;font-size:11px}.editor-workbench .editor-save-status[data-state=saved]>svg{color:var(--success)}.editor-workbench .editor-export-button{border-radius:7px;height:38px;padding-inline:18px;font-size:13px;font-weight:600}.editor-workbench .editor-history{border-left:1px solid var(--border);padding:0 10px}.editor-workbench .editor-notices:empty{display:none}.editor-workbench .editor-dock,.editor-workbench .editor-dock-body{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.editor-workbench .editor-dock-panels{flex:1;grid-template-rows:minmax(0,1fr);min-height:0;display:grid}.editor-workbench .editor-tools-column{background:var(--surface);flex-direction:column;min-width:0;min-height:0;display:flex}.editor-workbench .editor-tools-column>.dock-library{flex:1;min-height:0}.editor-workbench .editor-workspace-rail{border-right:0;border-bottom:1px solid var(--editor-divider);background:var(--surface);flex-direction:row;align-items:center;gap:6px;width:100%;min-height:50px;padding:6px 12px;position:static}.editor-workbench .editor-workspace-rail>button{border:1px solid #0000;border-radius:6px;flex-direction:row;flex:1;gap:8px;min-height:36px;padding:8px 12px;font-size:12px;font-weight:500}.editor-workbench .editor-workspace-rail>button[aria-selected=true]{background:var(--surface-elevated);border-color:var(--border);color:var(--foreground)}.editor-workbench .editor-workspace-rail>button:before{content:none}.editor-workbench .editor-task-heading{border-bottom:0;min-height:78px;padding:18px 44px 14px 20px}.editor-workbench .editor-task-heading h2{font-family:var(--editor-heading-font);letter-spacing:-.035em;font-size:15px;font-weight:500}.editor-workbench .editor-task-heading p{margin-top:6px;font-size:12px}.editor-workbench .editor-panel-count{background:var(--caption-muted);min-width:26px;height:22px;color:var(--caption);border-radius:5px;place-items:center;padding:0 6px;font-size:11px;display:inline-grid}.editor-workbench .editor-caption-tools{padding:4px 16px 14px}.editor-workbench .editor-caption-search input{border-color:var(--input);background:var(--canvas);border-radius:6px;height:36px}.editor-workbench .editor-transcript-document .editor-caption-row{border:1px solid #0000;border-radius:7px;margin-bottom:4px;padding:12px}.editor-workbench .editor-transcript-document .editor-caption-row.is-selected{border-color:var(--primary);background:var(--surface-elevated)}.editor-workbench .editor-transcript-document .editor-caption-row.is-playing{background:var(--surface-elevated);box-shadow:inset 3px 0 var(--caption)}.editor-workbench .editor-caption-words{font-size:15px;line-height:1.8}.editor-workbench .editor-transcript-document .editor-transcript-time{font-family:var(--font-app-sans);font-variant-numeric:tabular-nums;font-size:11px}.editor-workbench .editor-panel-actions{top:16px;right:12px}.editor-workbench .editor-panel-actions>button{background:0 0;border-radius:5px;width:28px;height:28px}.editor-workbench .editor-preview-heading{border-bottom-color:var(--editor-divider);background:var(--canvas);grid-template-columns:minmax(0,1fr) auto 56px;gap:4px 12px;height:auto;min-height:48px;padding:6px 12px;display:grid}.editor-preview-identity{flex-wrap:wrap;align-items:baseline;gap:2px 8px;display:flex}.editor-workbench .editor-preview-heading h1{font-size:12px}.editor-workbench .editor-preview-dimensions{font-family:var(--font-app-sans);font-variant-numeric:tabular-nums;font-size:11px}.editor-workbench .dock-preview>.editor-panel-actions{top:10px}@container (max-width:500px){.editor-workbench .editor-preview-heading{grid-template-columns:minmax(0,1fr) 56px;padding-top:10px}.editor-workbench .editor-caption-preview-controls{grid-column:1/-1;justify-content:space-between}.editor-workbench .dock-preview>.editor-panel-actions{top:5px}}.editor-workbench .editor-player{gap:0;padding:0}.editor-workbench .editor-video-stage{flex:1 1 0;padding:4px 12px}.editor-workbench .editor-player>.editor-transport{flex:none;width:100%;position:relative;inset:auto}.editor-workbench .editor-video-frame{outline:1px solid var(--border);border-radius:3px}.editor-workbench .editor-preview-hint{text-align:center;margin:0;padding:4px 16px;font-size:11px;line-height:1.5}.editor-workbench .editor-transport{background:var(--canvas);border-top:0;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;row-gap:4px;min-height:0;padding:0 16px 8px;display:grid}.editor-workbench .editor-preview-seek{grid-column:1/-1;height:14px;margin:0 -16px;display:block;position:relative;inset:auto}.editor-workbench .editor-preview-seek input{appearance:none;background:linear-gradient(to right, var(--primary) var(--seek-progress,0%), var(--editor-divider,var(--border)) var(--seek-progress,0%)) center / 100% 3px no-repeat;cursor:pointer;width:100%;height:14px;margin:0;transition:background-size .12s;display:block}.editor-workbench .editor-preview-seek:hover input{background-size:100% 5px}.editor-workbench .editor-preview-seek input::-webkit-slider-runnable-track{background:0 0;height:14px}.editor-workbench .editor-preview-seek input::-moz-range-track{background:0 0}.editor-workbench .editor-preview-seek input::-webkit-slider-thumb{-webkit-appearance:none;background:var(--foreground);border:0;border-radius:50%;width:12px;height:12px;margin-top:1px;transition:transform .12s;transform:scale(0)}.editor-workbench .editor-preview-seek input::-moz-range-thumb{background:var(--foreground);border:0;border-radius:50%;width:12px;height:12px;transition:transform .12s;transform:scale(0)}.editor-workbench .editor-preview-seek:hover input::-webkit-slider-thumb{transform:scale(1)}.editor-workbench .editor-preview-seek input:focus-visible::-webkit-slider-thumb{transform:scale(1)}.editor-workbench .editor-preview-seek:hover input::-moz-range-thumb{transform:scale(1)}.editor-workbench .editor-preview-seek input:focus-visible::-moz-range-thumb{transform:scale(1)}.editor-workbench .editor-preview-seek input:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.editor-workbench .editor-speed-select{border:1px solid var(--border);min-width:56px;height:30px;color:var(--muted-foreground);font-variant-numeric:tabular-nums;cursor:pointer;background:0 0;border-radius:6px;padding:0 6px;font-size:12px}.editor-workbench .editor-speed-select:hover{color:var(--foreground);background:var(--surface-elevated)}.editor-workbench .editor-transport-buttons>button[aria-label=Play\ video],.editor-workbench .editor-transport-buttons>button[aria-label=Pause\ video]{background:var(--foreground);color:var(--canvas);border:0;border-radius:50%;width:34px;height:34px}.editor-workbench .editor-timecode{font-size:12px}.editor-workbench .editor-style-panel .editor-panel-tabs{border-bottom-color:var(--editor-divider);align-items:center;gap:8px;height:46px;padding:0 16px 10px}.editor-workbench .editor-style-panel .editor-panel-tabs>button{text-align:center;white-space:nowrap;border:1px solid #0000;border-radius:5px;flex:1 1 0;justify-content:center;align-items:center;min-width:0;height:34px;min-height:34px;padding:0 12px;font-size:12px;line-height:1}.editor-workbench .editor-style-panel .editor-panel-tabs>button[aria-selected=true]{background:var(--surface-elevated);border-color:var(--border);color:var(--foreground)}.editor-workbench .editor-style-scope>label{font-size:12px}.editor-workbench .editor-preset-apply{background:var(--surface-elevated);border-radius:7px;grid-template-columns:80px minmax(0,1fr);min-height:92px;overflow:hidden}.editor-workbench .editor-style-gallery .editor-preset-preview{aspect-ratio:1}.editor-workbench .editor-preset-label{border:0;padding:16px 10px}.editor-workbench .editor-preset-detail,.editor-workbench .editor-preset-summary,.editor-workbench .editor-preset-collections>button{font-size:11px}.editor-workbench .editor-dock-timeline{border-top:0;flex-shrink:0;min-height:0;position:relative}.editor-workbench .editor-timeline-toolbar{padding:8px 82px 8px 20px}.editor-workbench .editor-timeline-toolbar h2{font-family:var(--editor-heading-font);font-size:12px}.editor-workbench .editor-track-labels{width:120px}.editor-workbench .editor-track-labels>span{font-size:11px}.editor-workbench .editor-resize-handle{background:var(--canvas)}.editor-workbench .editor-resize-handle:hover,.editor-workbench .editor-resize-handle:focus-visible{background:var(--primary)}.editor-workbench .editor-resize-handle span{background:var(--input)}.editor-workbench .editor-dock.is-maximized .editor-dock-timeline{flex:1}.editor-workbench :is(button,a,summary):focus-visible{outline:2px solid var(--ring);outline-offset:-2px}@media (min-width:601px) and (max-width:980px){.editor-workbench .editor-dock-panels{grid-template-rows:minmax(240px,1.15fr) minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.editor-workbench .editor-dock .dock-preview{grid-area:1/1/auto/-1;height:100%}.editor-workbench .editor-tools-column{grid-area:2/1}.editor-workbench .editor-dock .dock-inspector{grid-area:2/2;height:100%}:is(.editor-workbench .editor-dock-panels:has(.editor-tools-column[hidden]) .dock-inspector,.editor-workbench .editor-dock-panels:has(.dock-inspector[hidden]) .editor-tools-column){grid-column:1/-1}.editor-workbench .editor-dock.is-maximized .editor-dock-panels{flex-direction:column;display:flex}.editor-workbench .editor-dock.is-maximized .editor-dock-panels>:not([hidden]){flex:1;height:100%}.editor-workbench .editor-dock-timeline{max-height:24dvh}.editor-workbench .editor-player{padding:0}.editor-workbench .editor-video-stage{padding-inline:8px}}@media (max-width:600px){.editor-workbench .editor-brand{display:none}.editor-workbench .editor-header{gap:4px;height:auto;padding:6px 10px}.editor-workbench .editor-back{width:40px;height:40px}.editor-workbench .editor-project-identity input{font-size:16px}.editor-workbench .editor-history{border:0;padding:0}.editor-workbench .editor-export-button{height:40px;padding-inline:14px}.editor-workbench .editor-phone-navigation{justify-content:space-around;gap:12px;padding-inline:12px}.editor-workbench .editor-phone-navigation>button{flex:1}.editor-workbench .editor-dock .editor-dock-panels{flex-direction:column;flex:1;display:flex}.editor-workbench .editor-dock .dock-preview{flex:none;order:0;height:clamp(270px,40dvh,400px)}.editor-workbench .editor-tools-column,.editor-workbench .editor-dock .dock-inspector{border-top:1px solid var(--border);flex:1;order:1;height:auto;min-height:0}.editor-workbench .editor-dock-body:has(>.editor-dock-timeline:not([hidden])) .editor-dock-panels{flex:none}.editor-workbench .editor-dock-timeline{border-top:1px solid var(--border);height:auto;padding-bottom:env(safe-area-inset-bottom);flex:1}.editor-workbench .editor-player{padding:0}.editor-workbench .editor-video-stage{padding-inline:8px}.editor-workbench .editor-preview>.editor-preview-hint{display:none}.editor-workbench .editor-transport{min-height:0;padding:0 12px 6px}.editor-workbench .editor-task-heading{min-height:68px;padding:12px 44px 10px 16px}.editor-workbench .editor-workspace-rail{min-height:44px;padding:4px 12px}.editor-workbench .editor-workspace-rail>button{min-height:36px}.editor-workbench .editor-timeline-toolbar{padding-left:12px}.editor-workbench .editor-track-labels{width:80px}.editor-workbench .editor-dock.is-maximized .editor-dock-panels>:not([hidden]){flex:1;height:auto}}@media (prefers-reduced-motion:reduce){.editor-workbench *,.editor-workbench :before,.editor-workbench :after{scroll-behavior:auto!important;transition:none!important}}.editor-workbench .editor-caption-workflow{flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:0 16px 8px;display:flex;position:relative}.editor-caption-workflow>button,.caption-review-trigger{min-height:32px;color:var(--muted-foreground);cursor:pointer;border-radius:5px;align-items:center;gap:6px;padding:5px 8px;font-size:12px;display:inline-flex}.editor-caption-workflow>button:hover,.caption-review-trigger:hover{background:var(--surface-hover);color:var(--foreground)}.editor-caption-workflow>button[aria-pressed=true]{color:var(--brand-hover);background:var(--surface-elevated)}.editor-caption-workflow>button[aria-pressed=false]>svg{visibility:hidden}.editor-caption-edit-hint{color:var(--muted-foreground);border-bottom:1px solid var(--border);padding:0 20px 12px;font-size:11px;line-height:1.6}.editor-workbench .editor-transcript-document{padding:8px}.editor-workbench .editor-transcript-document .editor-caption-row{margin-bottom:0;padding:6px 8px}.editor-workbench .editor-transcript-document .editor-caption-row+.editor-caption-row{border-top:1px solid var(--border)}.editor-workbench .editor-transcript-document .editor-line-editor{grid-template-columns:58px minmax(0,1fr);gap:3px 8px;display:grid}.editor-workbench .editor-caption-line-heading{display:contents}.editor-workbench .editor-caption-meta{flex-wrap:wrap;grid-area:1/1;align-self:start;padding-top:6px}.editor-workbench .editor-caption-meta>button{height:auto;min-height:28px;font-family:var(--font-app-sans);font-variant-numeric:tabular-nums;padding:0;font-size:11px}.editor-workbench .editor-caption-words{overflow-wrap:anywhere;grid-area:1/2;min-width:0;padding-block:0;font-size:16px;line-height:1.55}.editor-workbench .editor-line-editor .editor-caption-row-actions{visibility:hidden;opacity:0;pointer-events:none;flex-wrap:wrap;grid-area:2/2;justify-content:flex-start;gap:3px;min-height:34px;padding-top:4px;display:none}.editor-workbench .editor-line-editor.is-active .editor-caption-row-actions{visibility:visible;opacity:1;pointer-events:auto;display:flex}.editor-workbench .editor-caption-row-actions>button{width:28px;height:30px;color:var(--muted-foreground);background:var(--canvas);border:1px solid var(--border);border-radius:5px;place-items:center;display:grid}.editor-workbench .editor-caption-row-actions>button:hover:not(:disabled){color:var(--foreground);background:var(--surface-hover)}.editor-workbench .editor-caption-row-actions>button:disabled{opacity:.45}.editor-caption-state{color:var(--muted-foreground);flex-direction:column;grid-area:2/1;align-items:flex-start;gap:2px;font-size:10px;line-height:1.5;display:flex}.caption-at-playhead{color:var(--caption)}.caption-at-playhead:before{content:"";vertical-align:middle;background:currentColor;border-radius:50%;width:5px;height:5px;margin-right:5px;display:inline-block}.editor-workbench .editor-line-error{grid-column:2}.editor-workbench .editor-caption-word:focus-visible{outline:1px solid var(--primary);outline-offset:3px;border-radius:2px}.caption-review{position:static}.caption-review-results{z-index:30;overscroll-behavior:contain;border:1px solid var(--input);background:var(--surface-elevated);width:auto;max-height:min(480px,55dvh);box-shadow:0 12px 32px color-mix(in srgb, var(--canvas) 75%, transparent);border-radius:8px;padding:16px;font-size:12px;position:absolute;top:calc(100% + 6px);left:16px;right:16px;overflow-y:auto}.caption-review-results header{justify-content:space-between;align-items:center;gap:12px;display:flex}.caption-review-results header>button{cursor:pointer;border-radius:4px;place-items:center;width:28px;height:28px;display:grid}.caption-review-results p{color:var(--muted-foreground);margin:8px 0 12px;line-height:1.6}.caption-review-results ol{gap:8px;margin:0;padding:0;list-style:none;display:grid}.caption-review-results li>button{text-align:left;border:1px solid var(--border);background:var(--surface);width:100%;color:var(--muted-foreground);cursor:pointer;border-radius:5px;gap:5px;padding:10px;font-size:11px;line-height:1.6;display:grid}.caption-review-results li>button:hover{border-color:var(--primary)}.caption-review-issue-heading{color:var(--warning);font-variant-numeric:tabular-nums;align-items:center;gap:6px;display:flex}.caption-review-excerpt{color:var(--foreground);overflow-wrap:anywhere}.caption-review-recheck{min-height:32px;color:var(--brand-hover);cursor:pointer;margin-top:12px}.editor-preset-caption-sample{color:var(--muted-foreground);overflow-wrap:anywhere;font-size:11px;line-height:1.6}.editor-workbench .editor-preset-apply[aria-pressed=true]{outline:1px solid var(--primary);outline-offset:1px}.editor-workbench .editor-preset-name>svg{color:var(--brand-hover);flex-shrink:0}@media (pointer:coarse){.editor-workbench .editor-caption-row-actions>button{min-width:36px;min-height:36px}.editor-caption-workflow>button,.caption-review-trigger{min-height:40px}}@media (max-width:600px){.editor-workbench .editor-task-library .editor-task-heading{min-height:44px;padding:10px 44px 8px 16px}.editor-workbench .editor-task-library .editor-task-heading p,.editor-workbench .editor-caption-edit-hint{display:none}.caption-review-results{inset:auto 12px max(12px, env(safe-area-inset-bottom));z-index:50;width:auto;max-height:min(480px,60dvh);position:fixed}}@media (min-width:981px){.editor-workbench .editor-header{gap:20px;height:62px;padding-inline:24px}.editor-workbench .editor-brand{display:none}.editor-workbench .editor-back{border:0}.editor-workbench .editor-project-identity{flex-direction:row;align-items:center;gap:24px}.editor-workbench .editor-project-identity input{letter-spacing:0;width:min(440px,36vw);font-size:15px;font-weight:500}.editor-workbench .editor-save-status{padding:0;font-size:12px}.editor-workbench .editor-dock-body.editor-reference-layout{flex:1;min-height:0;display:grid}.editor-workbench .editor-reference-layout>.editor-header{grid-area:1/1/auto/-1;grid-template-columns:subgrid;pointer-events:none;background:0 0;border:0;align-items:stretch;gap:0;height:48px;padding:0;display:grid}.editor-reference-layout .editor-header-project,.editor-reference-layout .editor-header-actions{border-bottom:1px solid var(--border);background:var(--surface);pointer-events:auto;grid-row:1;align-items:center;gap:4px;min-width:0;padding-inline:8px;display:flex}.editor-reference-layout .editor-header-project{grid-column:1}.editor-reference-layout .editor-header-project .editor-project-identity{gap:4px}.editor-reference-layout .editor-header-project .editor-project-identity input{width:100%;min-width:0}.editor-reference-layout .editor-header-actions{grid-column:5;justify-content:flex-end;container-type:inline-size}.editor-workbench .editor-reference-layout .editor-history{padding-inline:4px}.editor-workbench .editor-reference-layout .editor-export-button{padding-inline:8px}@container (max-width:260px){.editor-reference-layout .editor-header-actions .editor-workspace-menu-trigger span{display:none}.editor-reference-layout .editor-header-actions .editor-history button,.editor-reference-layout .editor-header-actions>[aria-label=Project\ options]{width:30px}}.editor-reference-layout>.editor-dock-panels{display:contents}.editor-reference-layout .editor-tools-column{grid-area:2/1}.editor-reference-layout .resize-left{grid-area:1/2/-1}.editor-reference-layout .dock-preview{grid-area:1/3/-1}.editor-reference-layout .resize-right{grid-area:1/4/-1}.editor-reference-layout .dock-inspector{grid-area:2/5/-1}.editor-reference-layout>.resize-timeline{grid-area:3/1}.editor-reference-layout>.editor-dock-timeline{grid-area:4/1;width:100%;overflow:auto;height:100%!important}.editor-workbench .editor-tools-column{grid-template-rows:minmax(0,1fr);grid-template-columns:74px minmax(0,1fr);display:grid}.editor-workbench .editor-tools-column>.dock-library{grid-area:1/2}.editor-workbench .editor-workspace-rail{border-right:1px solid var(--border);border-bottom:0;flex-direction:column;grid-area:1/1;justify-content:flex-start;align-items:stretch;gap:12px;width:74px;min-height:0;padding:16px 6px;display:flex}.editor-workbench .editor-workspace-rail>button{flex-direction:column;flex:none;gap:10px;height:auto;min-height:66px;padding:10px 4px;font-size:11px;font-weight:400}.editor-workbench .editor-workspace-rail>button[aria-selected=true]{box-shadow:none;border-color:var(--border)}.editor-workbench .editor-task-heading{border-bottom:1px solid var(--border);align-items:center;height:48px;min-height:48px;padding:0 44px 0 18px;display:flex}.editor-workbench .editor-task-heading h2{font-family:var(--font-app-sans);letter-spacing:-.025em;font-size:16px;font-weight:600}.editor-workbench .editor-panel-count{min-width:0;color:var(--muted-foreground);background:0 0;padding:0}.editor-workbench .editor-panel-actions{top:10px}.editor-workbench .editor-task-library .editor-caption-tools{flex-wrap:nowrap;gap:8px;padding:12px 16px}.editor-workbench .editor-caption-search{flex:1 1 0}.editor-workbench .editor-caption-workflow{padding:0 12px 4px}.editor-workbench .editor-caption-edit-hint{display:none}.editor-workbench .editor-transcript-document{padding:4px 0 20px}.editor-workbench .editor-transcript-document .editor-caption-row{border:0;border-left:2px solid #0000;border-radius:0;margin:0;padding:6px 14px 8px}.editor-workbench .editor-transcript-document .editor-line-editor{flex-direction:column;gap:2px;display:flex}.editor-workbench .editor-caption-line-heading{align-items:center;min-height:24px;margin:0;padding:0;display:flex}.editor-workbench .editor-caption-meta{margin:0;padding:0}.editor-workbench .editor-caption-meta>button{font-family:var(--font-app-mono);font-size:11px}.editor-workbench .editor-caption-words{font-size:17px;line-height:1.55}.editor-workbench .editor-line-editor .editor-caption-row-actions{min-height:0;padding:0;display:none}.editor-workbench .editor-line-editor.is-active .editor-caption-row-actions{display:flex}.editor-workbench .editor-caption-row.is-selected:after{content:none}.editor-workbench .editor-caption-row.is-selected .editor-caption-line-heading{padding-right:0}.editor-workbench .editor-transcript-document .editor-caption-row.is-selected{border-left-color:var(--primary);background:color-mix(in srgb, var(--primary) 7%, var(--surface));box-shadow:none}.editor-workbench .editor-caption-state{display:none}.editor-workbench .editor-player{padding:0}.editor-workbench .editor-video-frame{border-radius:0;outline:none}.editor-workbench .editor-preview-heading h1{font-size:14px}.editor-workbench .editor-transport{background:var(--surface);flex-shrink:0;width:100%;min-height:0;padding:0 16px 8px;position:relative}.editor-workbench .editor-transport-buttons>button[aria-label=Play\ video],.editor-workbench .editor-transport-buttons>button[aria-label=Pause\ video]{border:1px solid var(--input);background:var(--surface-elevated);width:36px;height:34px;color:var(--foreground);border-radius:5px}.editor-workbench .editor-timeline-toolbar{gap:6px;padding:8px 44px 8px 12px}}.editor-workbench .editor-style-panel .editor-panel-tabs{border:1px solid var(--border);background:var(--canvas);border-radius:7px;gap:3px;height:40px;min-height:40px;margin:12px 14px 0;padding:3px}.editor-workbench .editor-style-panel .editor-panel-tabs>button{border:0;border-radius:5px;gap:7px;padding:0 8px}.editor-workbench .editor-style-scope{padding:12px 14px}.editor-workbench .editor-style-content{padding:14px}.editor-workbench .editor-style-content:has(>#adjust-panel:not([hidden])){padding:0}.editor-workbench .editor-preset-collections{background:var(--canvas);border:0;border-radius:6px;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:3px;display:grid}.editor-workbench .editor-preset-collections>button{border:0;border-radius:4px;min-height:32px;padding:4px 2px}.editor-workbench .editor-preset-collections>button[aria-pressed=true]{background:var(--surface-elevated);box-shadow:none}.editor-workbench .editor-style-gallery .editor-preset-filters{grid-template-columns:minmax(0,1fr);gap:8px;display:grid}.editor-workbench .editor-preset-filters input,.editor-workbench .editor-preset-filters [data-slot=select-trigger]{background:var(--canvas);width:100%;height:36px;font-size:12px}.editor-workbench .editor-style-gallery .editor-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.editor-workbench .editor-preset-apply{border:1px solid var(--border);background:var(--canvas);border-radius:7px;flex-direction:column;min-height:0;display:flex}.editor-workbench .editor-style-gallery .editor-preset-preview{aspect-ratio:1.45;width:100%;height:auto}.editor-workbench .editor-preset-label{border-top:1px solid var(--border);background:var(--surface-elevated);gap:4px;padding:10px}.editor-workbench .editor-preset-name{min-height:0;font-size:12px}.caption-editor-refined.editor-context-panel{width:min(400px,100vw - 24px);max-height:min(680px, var(--available-height,calc(100dvh - 24px)));background:var(--surface-elevated);border-radius:10px;overflow:hidden}.caption-editor-refined .editor-word-popover-header{min-height:60px;padding:14px 16px}.caption-editor-refined .editor-word-inspector-icon{display:none}.caption-editor-refined .editor-word-inspector-title strong{font-size:15px;font-weight:600}.caption-editor-refined .editor-word-selection-label{font-size:11px}.caption-editor-refined .editor-word-popover-close{width:32px;height:32px}.caption-editor-refined .editor-word-popover-tabs{grid-template-columns:.8fr 1fr 1.2fr;gap:12px;padding:0 16px;display:grid}.caption-editor-refined .editor-word-popover-tabs>button{white-space:nowrap;min-width:0;min-height:40px;padding:0 2px;font-size:12px}.caption-editor-refined .editor-popover-body{overscroll-behavior:contain;min-height:0;padding:16px;overflow-y:auto}.caption-editor-refined .caption-editor-text-panel,.caption-editor-refined .editor-popover-style-panel,.caption-editor-refined .editor-popover-caption-panel{gap:18px;display:grid}.caption-editor-refined [hidden]{display:none!important}.caption-editor-refined .caption-correction{gap:10px}.caption-editor-refined .caption-correction>label{color:var(--foreground);font-size:12px;font-weight:500}.caption-editor-refined .caption-correction-field{display:block}.caption-editor-refined .caption-correction-field textarea{resize:vertical;border:1px solid var(--input);background:var(--canvas);width:100%;min-height:116px;max-height:220px;color:var(--foreground);border-radius:6px;padding:12px;font-size:15px;line-height:1.7;display:block}.caption-editor-refined .caption-correction-actions{align-items:center;gap:8px;display:flex}.caption-editor-refined .caption-correction-count{color:var(--muted-foreground);font-variant-numeric:tabular-nums;margin-right:auto;font-size:11px}.caption-editor-refined .caption-correction-actions>button{border:1px solid var(--border);border-radius:5px;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:6px 10px;font-size:12px;display:inline-flex}.caption-editor-refined .caption-correction-actions>.caption-correction-save{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary);font-weight:500}.caption-editor-refined .caption-correction-actions>button:disabled{opacity:.45;cursor:default}.caption-editor-refined .caption-correction>p,.caption-editor-refined .caption-editor-guidance{color:var(--muted-foreground);margin:0;font-size:11px;line-height:1.6}.caption-editor-refined .caption-correction>p[role=alert]{color:var(--destructive)}.caption-editor-refined .editor-caption-style-link{border:1px solid var(--border);background:var(--surface-elevated);border-radius:6px;gap:6px;margin:0;padding:14px;display:grid}.caption-editor-refined .caption-editor-style-title{color:var(--foreground);align-items:center;gap:8px;font-size:13px;font-weight:500;display:flex}.caption-editor-refined .caption-editor-selection{border-left:2px solid var(--primary);background:var(--canvas);border-radius:0 5px 5px 0;padding:10px 12px}.caption-editor-selection>span{color:var(--muted-foreground);font-size:11px}.caption-editor-selection>p{color:var(--foreground);overflow-wrap:anywhere;margin:5px 0 0;font-size:15px;line-height:1.6}.caption-editor-refined .editor-shared-font,.caption-editor-refined .editor-word-emphasis-section,.caption-editor-refined .editor-word-typography-section,.caption-editor-refined .editor-word-effect-color{border:0;margin:0;padding:0}.caption-editor-refined .editor-word-effects{grid-template-columns:minmax(0,1fr);margin:8px 0 0}.caption-editor-refined .editor-word-effect{align-items:center;gap:8px;min-height:36px;display:flex}.caption-editor-refined .caption-editor-layout-options,.caption-editor-refined .editor-caption-disclosure{border-top:1px solid var(--border);padding:12px 0 0}.caption-editor-refined :is(.caption-editor-layout-options,.editor-caption-disclosure)>summary{cursor:pointer;padding:0;font-size:12px}.caption-editor-refined .editor-caption-arrange{border:0;gap:8px;margin:0;padding:0}.caption-editor-refined .editor-caption-arrange>button{border:1px solid var(--border);min-height:36px;padding:8px 10px}.caption-editor-refined .editor-word-inspector-footer{border-top:1px solid var(--border);background:var(--surface);gap:12px;min-height:54px;padding:10px 16px}.caption-editor-refined .caption-editor-footer-hint{color:var(--muted-foreground);font-size:11px;line-height:1.5}.caption-editor-refined .editor-word-done{border:1px solid var(--border);background:var(--surface-elevated);min-height:32px;color:var(--foreground);flex-shrink:0;padding:6px 12px}@media (max-width:600px),(pointer:coarse){.caption-editor-refined :is(button,select){min-height:40px}.caption-editor-refined .caption-correction-field textarea{font-size:16px}}.editor-workbench .editor-caption-word.is-spoken:not(.is-word-selected):not(:focus){background:color-mix(in srgb, var(--primary) 10%, transparent);box-shadow:inset 0 -1px color-mix(in srgb, var(--primary) 45%, transparent)}.caption-transition-library{padding-bottom:12px}.caption-transition-toolbar{align-items:center;gap:8px;margin:8px 0 18px;display:flex}.caption-transition-toolbar>span{color:var(--muted-foreground);margin-right:auto;font-size:11px}.caption-transition-toolbar>button{min-height:36px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;gap:5px;padding:0 6px;font-size:11px;display:inline-flex}.caption-transition-toolbar>button:hover:not(:disabled){background:var(--surface-hover);color:var(--foreground)}.caption-transition-toolbar>button:disabled{opacity:.45;cursor:default}.caption-transition-group+.caption-transition-group{margin-top:18px}.caption-transition-group>h3{color:var(--muted-foreground);margin:0 0 9px;font-size:12px;font-weight:500}.caption-transition-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.caption-transition-tile{border:1px solid var(--border);background:var(--canvas);min-width:0;color:var(--foreground);cursor:pointer;border-radius:8px;flex-direction:column;align-items:center;gap:6px;padding:12px 6px 11px;display:flex;position:relative}.caption-transition-tile:hover:not(:disabled){background:var(--surface-hover)}.caption-transition-tile[aria-pressed=true]{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary);background:color-mix(in srgb, var(--primary) 9%, var(--surface))}.caption-transition-tile:disabled{opacity:.5;cursor:default}.caption-transition-name{text-align:center;font-size:11px;font-weight:500;line-height:1.4}.caption-transition-check{color:var(--primary);position:absolute;top:6px;right:6px}.caption-transition-tile:focus-visible,.caption-transition-toolbar>button:focus-visible{outline:2px solid var(--ring);outline-offset:3px}@media (pointer:coarse){.caption-transition-toolbar>button{min-height:44px}}.caption-transition-phases{border:1px solid var(--border);border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.caption-transition-phases>button{background:var(--canvas);min-height:64px;color:var(--muted-foreground);cursor:pointer;border:0;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:9px 4px;display:flex}.caption-transition-phases>button+button{border-left:1px solid var(--border)}.caption-transition-phases>button[aria-pressed=true]{color:var(--primary);background:color-mix(in srgb, var(--primary) 10%, var(--surface));box-shadow:inset 0 -2px var(--primary)}.caption-transition-phases>button:hover{background:var(--surface-hover)}.caption-transition-phases>button>span{font-size:11px;font-weight:600}.caption-transition-phases strong{font-size:11px;font-weight:500;line-height:1.4}.caption-transition-toolbar>label{color:var(--muted-foreground);align-items:center;gap:7px;margin-right:auto;font-size:11px;display:flex}.caption-transition-toolbar select{border:1px solid var(--input);background:var(--surface);min-height:32px;color:var(--foreground);font:inherit;border-radius:5px;padding:3px 6px}.caption-transition-diagram{width:100%;height:60px;display:block;overflow:visible}.transition-diagram-ink{fill:var(--foreground)}.transition-diagram-ghost{fill:var(--muted-foreground);opacity:.3}.transition-diagram-arrow{stroke:var(--muted-foreground);stroke-width:1.4px;stroke-linecap:round;stroke-linejoin:round;fill:none}.caption-transition-phases>button:focus-visible,.caption-transition-toolbar select:focus-visible{outline:2px solid var(--ring);outline-offset:-3px}
.editor-control-tooltip-positioner{z-index:100;pointer-events:none}.editor-control-tooltip{border:1px solid var(--input);background:var(--surface-elevated);max-width:min(260px,100vw - 24px);color:var(--foreground);font-family:var(--font-app-sans);border-radius:5px;padding:6px 9px;font-size:12px;line-height:1.5;box-shadow:0 4px 12px #00000040}.caption-simple-panel.editor-context-panel{width:min(390px,100vw - 24px);max-height:min(760px, var(--available-height,calc(100dvh - 24px)));border:1px solid var(--input);background:var(--surface);color:var(--foreground);font-family:var(--font-app-sans);border-radius:8px;flex-direction:column;gap:0;padding:0;font-size:13px;display:flex;overflow:hidden;box-shadow:0 12px 40px #0000004d}.caption-simple-panel :is(button,input,textarea,select):focus-visible{outline:2px solid var(--primary);outline-offset:2px}.caption-simple-panel button:disabled{opacity:.45;cursor:default}.caption-simple-header{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.caption-simple-header h2{margin:0;font-size:15px;font-weight:600}.caption-simple-header span{color:var(--muted-foreground);font-variant-numeric:tabular-nums;margin-top:4px;font-size:11px;display:block}.caption-simple-close{width:32px;height:32px;color:var(--muted-foreground);border-radius:4px;place-items:center;display:grid}.caption-simple-panel button:hover:not(:disabled){background:var(--surface-hover)}.caption-simple-body{overscroll-behavior:contain;scrollbar-width:thin;min-height:0;padding:16px;overflow-y:auto}.caption-simple-body>*+*{border-top:1px solid var(--border);margin-top:16px;padding-top:16px}.caption-simple-body h3,.caption-simple-body .caption-correction>label{color:var(--foreground);margin:0;font-size:12px;font-weight:500}.caption-simple-panel .caption-correction{gap:8px;display:grid}.caption-simple-panel .caption-correction-field{display:block}.caption-simple-panel .caption-correction-field textarea{resize:vertical;border:1px solid var(--input);background:var(--canvas);width:100%;min-height:88px;max-height:180px;color:var(--foreground);border-radius:5px;padding:10px 12px;font-size:15px;line-height:1.6;display:block}.caption-simple-panel .caption-correction-actions{align-items:center;gap:8px;display:flex}.caption-simple-panel .caption-correction-count{color:var(--muted-foreground);margin-right:auto;font-size:11px}.caption-simple-panel .caption-correction-actions button{border-radius:4px;align-items:center;gap:6px;min-height:32px;padding:6px 10px;font-size:12px;display:inline-flex}.caption-simple-panel .caption-correction-save{background:var(--primary);color:var(--primary-foreground);font-weight:500}.caption-simple-panel .caption-correction-save:hover:not(:disabled){background:var(--brand-hover)}.caption-simple-panel .caption-correction>p{color:var(--muted-foreground);margin:0;font-size:11px;line-height:1.5}.caption-simple-panel .caption-correction>p[role=alert]{color:var(--destructive)}.caption-simple-section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.caption-simple-section-heading>button{color:var(--brand-hover);border-radius:3px;padding:4px;font-size:11px}.caption-simple-word-list{flex-wrap:wrap;gap:4px;max-height:100px;padding:8px 0;display:flex;overflow-y:auto}.caption-simple-word-list button{overflow-wrap:anywhere;border:1px solid #0000;border-radius:4px;max-width:100%;min-height:30px;padding:4px 7px;font-size:13px}.caption-simple-word-list button[aria-pressed=true]{border-color:var(--primary);background:var(--surface-hover)}.caption-simple-font .editor-font-picker,.caption-simple-font .editor-font-trigger{width:100%}.caption-simple-panel .caption-simple-font .editor-font-trigger{border:1px solid var(--input);background:var(--canvas);border-radius:4px;min-height:34px;padding:6px 10px}.caption-simple-format{align-items:center;gap:5px;margin-top:8px;display:flex}.caption-simple-format>button,.caption-simple-color{border:1px solid var(--border);background:var(--canvas);border-radius:4px;flex-shrink:0;place-items:center;width:34px;height:34px;display:grid}.caption-simple-format>button[aria-pressed=true]{border-color:var(--primary);color:var(--brand-hover);background:var(--surface-hover)}.caption-simple-color input{cursor:pointer;background:0 0;border:0;width:23px;height:23px;padding:0}.caption-simple-size{flex:1;min-width:0}.caption-simple-size select{border:1px solid var(--input);background:var(--canvas);width:100%;height:34px;color:var(--foreground);border-radius:4px;padding:0 5px;font-size:12px}.caption-simple-panel .editor-caption-time-form{gap:8px;margin-top:10px;display:grid}.caption-simple-panel .editor-caption-time-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.caption-simple-panel .editor-caption-time-fields label{color:var(--muted-foreground);gap:6px;font-size:11px;display:grid}.caption-simple-panel .editor-caption-time-fields input{border:1px solid var(--input);background:var(--canvas);width:100%;min-width:0;min-height:34px;color:var(--foreground);border-radius:4px;padding:6px 8px;font-size:13px}.caption-simple-panel .editor-caption-time-help{color:var(--muted-foreground);margin:0;font-size:11px}.caption-simple-panel .editor-caption-time-help.has-error{color:var(--destructive)}.caption-simple-panel .editor-caption-apply-timing{border:1px solid var(--border);background:var(--surface-elevated);min-height:32px;color:var(--foreground);border-radius:4px;justify-self:end;padding:6px 10px;font-size:12px}.caption-simple-footer{border-top:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.caption-simple-footer button{border-radius:4px;align-items:center;gap:7px;min-height:32px;padding:6px 8px;font-size:12px;display:inline-flex}.caption-simple-appearance{color:var(--brand-hover)}.caption-simple-close-text{border:1px solid var(--border);margin-left:auto}@media (max-width:600px),(pointer:coarse){.caption-simple-panel :is(button,select,input[type=number]){min-height:40px}.caption-simple-panel .caption-correction-field textarea{font-size:16px}.caption-simple-format{flex-wrap:wrap}}
.sl{flex-direction:column;gap:12px;min-width:0;display:flex}.sl-top{z-index:3;background:var(--surface,var(--background));border-bottom:1px solid var(--border);gap:10px;margin:-14px -14px 0;padding:14px 14px 10px;display:grid;position:sticky;top:-14px}.sl-search{border:1px solid var(--input,var(--border));border-radius:var(--panel-radius,8px);background:var(--canvas);align-items:center;height:40px;display:flex;position:relative}.sl-search>svg{color:var(--muted-foreground);pointer-events:none;position:absolute;left:12px}.sl-search input{min-width:0;height:100%;box-shadow:none;background:0 0;border:0;flex:1;padding:0 4px 0 34px;font-size:13px}.sl-search .sl-icon{margin-right:4px}.sl-icon{width:32px;height:32px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;place-items:center;display:inline-grid}.sl-icon:hover,.sl-icon[aria-pressed=true]{color:var(--foreground);background:var(--surface-elevated)}.sl-icon[aria-pressed=true] svg{color:var(--primary)}.sl-tabs{gap:18px;font-size:12px;display:flex}.sl-tabs button{color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:2px 0 6px}.sl-tabs button[aria-selected=true]{color:var(--foreground);border-bottom-color:var(--primary)}.sl-chips{scrollbar-width:none;gap:6px;display:flex;overflow-x:auto}.sl-chips button{color:var(--muted-foreground);background:var(--surface-elevated);cursor:pointer;white-space:nowrap;border:0;border-radius:999px;flex:none;padding:4px 10px;font-size:11px}.sl-chips button[aria-pressed=true]{color:var(--primary-foreground,#031317);background:var(--primary)}.sl-hint{color:var(--muted-foreground);margin:0;font-size:12px}.sl-results{gap:16px;display:grid}.sl-section>summary{letter-spacing:.04em;text-transform:uppercase;color:var(--muted-foreground);cursor:pointer;margin:0 0 8px;font-size:11px;font-weight:600;list-style:none}.sl-section>summary::-webkit-details-marker{display:none}.sl-section>summary span{opacity:.7;margin-left:6px;font-weight:400}.sl-list{gap:6px;display:grid}.sl-row{border:1px solid var(--border);border-radius:var(--panel-radius,8px);background:var(--surface-elevated);transition:border-color .15s,background-color .15s;overflow:hidden}.sl-row:hover{border-color:color-mix(in srgb, var(--primary) 45%, var(--border))}.sl-row.is-selected{background:color-mix(in srgb, var(--primary) 8%, var(--surface-elevated))}.sl-row.is-selected,.sl-row.is-open{border-color:var(--primary)}.sl-head{align-items:center;display:flex;position:relative}.sl-head .sl-icon{width:28px;height:28px;position:absolute;top:50%;right:44px;transform:translateY(-50%)}.sl-head .sl-icon.sl-icon-delete{right:76px}.sl-head .sl-name{margin-right:32px}.sl-main{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:12px;padding:6px 12px 6px 6px;display:flex}.sl-main:disabled{opacity:.5;cursor:not-allowed}.sl-preview{background:var(--canvas);pointer-events:none;border-radius:6px;flex:none;width:128px;height:56px;display:block;position:relative;overflow:hidden}.sl-name{flex:1;gap:2px;min-width:0;display:grid}.sl-name strong{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:13px;font-weight:600;line-height:1.3;display:-webkit-box;overflow:hidden}.sl-name small{color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.sl-chevron{box-sizing:content-box;color:var(--muted-foreground);border-radius:999px;flex:none;padding:4px;transition:transform .15s}.sl-main:hover .sl-chevron{color:var(--foreground);background:var(--surface)}.sl-row.is-open .sl-chevron{transform:rotate(180deg)}.sl-row:not(:hover):not(:focus-within) .sl-icon[aria-pressed=false]{opacity:0}.sl-main:focus-visible,.sl-icon:focus-visible,.sl-tabs button:focus-visible,.sl-chips button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.sl-body{border-top:1px solid var(--border);background:var(--surface,var(--background));padding:12px}.sl-form{gap:8px;display:grid}.sl-form-note{color:var(--muted-foreground);margin:0;font-size:11px}.sl-empty{color:var(--muted-foreground);justify-items:start;gap:8px;font-size:13px;display:grid}.qs{gap:12px;display:grid}.qs-colors{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}.qs-color>span{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.qs-color{color:var(--muted-foreground);flex:1;gap:4px;font-size:11px;display:grid}.qs-color input{border:1px solid var(--border);background:var(--canvas);cursor:pointer;border-radius:6px;width:100%;height:36px;padding:2px}.qs-row{flex-wrap:wrap;align-items:center;gap:8px 10px;min-width:0;display:flex}.qs-size{min-width:0;color:var(--muted-foreground);flex:150px;grid-template-columns:auto 1fr 28px;align-items:center;gap:8px;font-size:11px;display:grid}.qs-size input[type=range]{width:100%;min-width:0}.qs-size output{text-align:right;color:var(--foreground)}.qs-seg{border:1px solid var(--border);background:var(--canvas);border-radius:8px;flex-shrink:0;padding:2px;display:inline-flex}.qs-seg button{min-width:32px;height:30px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:0 10px;font-size:12px;display:inline-grid}.qs-seg button[aria-pressed=true]{color:var(--foreground);background:var(--surface-elevated)}.qs-position{grid-template-columns:repeat(3,1fr);display:grid}.qs-more{border-top:1px solid var(--border);margin:0 -12px -12px}.qs-more>summary{min-height:44px;color:var(--primary);cursor:pointer;justify-content:space-between;align-items:center;padding:0 12px;font-size:13px;font-weight:500;list-style:none;display:flex}.qs-more>summary::-webkit-details-marker{display:none}.qs-more>summary svg{transition:transform .15s}.qs-more[open]>summary svg{transform:rotate(180deg)}.qs>*{min-width:0}.qs [data-slot=select-trigger],.qs .editor-property,.qs-more>.editor-customize{margin:0}.ms-list{border-top:1px solid var(--border);display:grid}.ms{border-bottom:1px solid var(--border)}.ms:last-child{border-bottom:0}.ms>summary{cursor:pointer;align-items:center;gap:10px;min-height:44px;padding:0 12px;list-style:none;display:flex}.ms>summary::-webkit-details-marker{display:none}.ms>summary:hover{background:var(--surface-elevated)}.ms-title{font-size:13px;font-weight:500}.ms-hint{text-align:right;text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--muted-foreground);flex:1;font-size:11px;overflow:hidden}.ms-chevron{color:var(--muted-foreground);flex:none;transition:transform .15s}.ms[open]>summary .ms-chevron{transform:rotate(180deg)}.ms-body{gap:16px;padding:4px 12px 14px;display:grid}.ms-reset{color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;justify-self:start;align-items:center;gap:5px;padding:0;font-size:11px;display:inline-flex}.ms-reset:hover{color:var(--foreground)}
