.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);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-panel-disclosure,.editor-save-style,.editor-style-options{border:0;border-top:1px solid var(--border);border-radius:0;padding:0}.editor-dialog details>summary,.editor-panel-disclosure>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-panel-disclosure>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-panel-disclosure>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-panel-disclosure[open]>summary:after,.editor-save-style[open]>summary:after,.editor-style-options[open]>summary:after{content:"−"}.editor-dialog details[open]>:not(summary),.editor-panel-disclosure[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}.export-navigation{border:0;border-bottom:1px solid var(--border);background:0 0;border-radius:0;gap:20px;padding:0 18px;display:flex}.export-navigation>button{min-height:44px;color:var(--muted-foreground);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;padding:8px 0;font-size:12px}.export-navigation>button[aria-pressed=true]{color:var(--foreground);border-bottom-color:var(--primary);box-shadow:none;background:0 0}.export-composition{background:var(--canvas);border:0;border-radius:0;gap:20px;padding:18px}.export-composition strong{font-size:15px;font-weight:500}.export-composition p,.export-composition small{color:var(--muted-foreground);font-size:12px;line-height:1.8}.export-footer{background:var(--surface);border-top:1px solid var(--border)}.export-footer-actions{align-items:center;gap:14px}.export-footer-actions>button{min-height:38px;padding-inline:20px}.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-export-dialog.editor-dialog{width:min(1040px,100vw - 32px);max-width:1040px}.export-video-settings.export-video-workspace{grid-template-columns:240px minmax(0,1fr);align-items:start;gap:28px;display:grid}.export-summary-pane{border-right:1px solid var(--border);min-width:0;padding-right:24px;position:sticky;top:0}.export-summary-pane .export-section-heading{flex-wrap:wrap;gap:6px;margin-bottom:16px}.export-summary-card{background:0 0;border:0;flex-direction:column;align-items:stretch;gap:18px;padding:0;display:flex}.export-summary-card .export-preview-frame{border:1px solid var(--border);border-radius:4px;align-self:center;width:auto;max-width:100%;height:280px;max-height:none;overflow:hidden}.export-summary-card>div:last-child{gap:7px;display:grid}.export-summary-card strong{font-size:15px}.export-summary-card p,.export-summary-card small{margin:0;font-size:11px;line-height:1.7}.export-configuration-pane{min-width:0}.export-configuration-pane .editor-control-section-heading,.export-configuration-pane .editor-control-section-body{padding-left:0;padding-right:0}.export-configuration-pane>.editor-tool-heading{margin-bottom:14px}.export-configuration-pane>details{margin-bottom:18px}.export-configuration-pane .export-output-options>summary>span{color:var(--muted-foreground);margin-top:4px;font-size:11px;display:block}.export-subtitles{padding:4px 0}.export-subtitles>.flex{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:20px;display:grid}.export-subtitles>.flex>button{border:1px solid var(--input);background:var(--surface-elevated);border-radius:5px;min-height:54px;font-size:12px}.export-history .export-empty{background:0 0;border:0;justify-items:start;gap:12px;padding:30px 0;display:grid}.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,.export-video-settings.export-video-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}.export-summary-pane{border-right:0;border-bottom:1px solid var(--border);padding:0 0 20px;position:static}.export-summary-card{grid-template-columns:100px minmax(0,1fr);gap:16px;display:grid}.export-summary-card .export-preview-frame{width:100%;max-width:100px;height:auto}.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}.export-subtitles>.flex{grid-template-columns:minmax(0,1fr)}}.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;flex-wrap:wrap;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:1px solid var(--border);background:var(--canvas);border-radius:7px;gap:3px;height:38px;min-height:38px;margin:10px 14px;padding:3px}.editor-style-panel .editor-panel-tabs>button{border:0;border-radius:4px;flex:1;justify-content:center;height:30px;min-height:30px}.editor-style-panel .editor-panel-tabs>button[aria-selected=true]{background:var(--surface-elevated);color:var(--foreground);box-shadow:none}.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:1px solid var(--border);background:var(--canvas);border-radius:6px;gap:4px;padding:4px}.editor-style-panel .inspector-sheet-navigation>button{border:0;border-radius:4px;gap:4px;min-height:48px;padding:8px 2px}.editor-style-panel .inspector-sheet-navigation>button[aria-selected=true]{box-shadow:none;background:var(--surface-elevated)}.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:6px;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:8px;padding:10px 2px;font-size:10px;display:flex}.editor-workspace-rail>button:hover{color:var(--foreground);background:var(--surface-hover)}.editor-workspace-rail>button[aria-selected=true]{color:var(--foreground);border-color:var(--border);background:var(--surface-elevated)}.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{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-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}
