@font-face{font-family:Editor Sans;src:url(/editor-fonts/DejaVuSans.ttf)format("truetype");font-display:swap}@font-face{font-family:Editor Serif;src:url(/editor-fonts/DejaVuSerif.ttf)format("truetype");font-display:swap}@font-face{font-family:Editor CJK;src:url(/editor-fonts/NotoSansCJKsc-Regular.otf)format("opentype");font-display:swap}.video-editor{min-width:0;max-width:1500px;padding:24px}.video-editor h1{font-size:clamp(2rem,4vw,3.2rem)}.editor-heading{justify-content:space-between;align-items:start;gap:24px;display:flex}.editor-inputs,.editor-controls,.editor-cues,.editor-player,.editor-tray,.editor-subtitle-edit,.editor-draft{background:var(--paper);border:1px solid var(--border);border-radius:14px;min-width:0;margin-bottom:18px;padding:20px}.editor-file{background:var(--subtle);border-radius:10px;padding:16px}.editor-file input{max-width:100%;font-size:12px}.editor-grid-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.editor-grid-two>*{min-width:0}.editor-layout{grid-template-columns:minmax(280px,.85fr) minmax(0,1.3fr);align-items:start;gap:20px;display:grid}.editor-right{min-width:0}.editor-actions{flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0;display:flex}.editor-actions button:not(.button):not(.text-button){border:1px solid var(--border);background:var(--subtle);border-radius:7px;min-height:36px;padding:7px 10px;font-size:12px}.editor-check{align-items:center;gap:8px;margin:12px 0;font-size:14px;display:flex}.editor-tabs{flex-wrap:wrap;gap:5px;padding:16px 0;display:flex}.editor-tabs button{border:1px solid var(--border);background:var(--subtle);border-radius:8px;padding:10px 12px;font-size:12px}.editor-tabs [aria-selected=true]{background:var(--primary);color:var(--bg)}.editor-cue-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;height:620px;overflow:auto}.editor-cue{border:1px solid var(--border);background:var(--paper);border-radius:10px;padding:10px}.editor-cue.selected,.editor-saved-clip.selected{border-color:var(--primary);box-shadow:inset 3px 0 var(--primary)}.editor-cue.playing{background:var(--subtle)}.editor-cue-heading{color:var(--muted);justify-content:space-between;margin-bottom:4px;font-size:11px;display:flex}.editor-cue small{font-size:11px}.editor-cue-text{white-space:pre-wrap;max-height:46px;margin:7px 0;font-size:13px;line-height:1.4;overflow:auto}.editor-cue .editor-actions{gap:5px;margin:5px 0}.editor-cue .editor-actions button{min-height:28px!important;padding:4px 7px!important;font-size:10px!important}.editor-cue mark{color:#292d29;background:#f6da7c}.editor-video-stage{isolation:isolate;background:#111;border-radius:10px;width:100%;position:relative;overflow:hidden}.editor-video-stage video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.editor-crop-box{z-index:2;touch-action:none;cursor:move;pointer-events:auto;border:2px dashed #edffbb;position:absolute;box-shadow:0 0 0 1500px #0003}.editor-crop-handle{cursor:nwse-resize;touch-action:none;background:#edffbb;border:1px solid #182810;width:18px;height:18px;position:absolute;bottom:-5px;right:-5px}.editor-live-text,.editor-live-captions{z-index:3;pointer-events:none;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.3;position:absolute}.editor-live-captions{text-align:center;padding:3px 8px;font-size:16px;bottom:52px;left:7%;right:7%}.editor-live-captions.top{top:10px;bottom:auto}.editor-live-captions.center{top:45%;bottom:auto}.editor-layer{border:1px solid var(--border);border-radius:10px;margin:14px 0;padding:16px}.editor-layer legend{font-size:13px;font-weight:600}.editor-draft{z-index:4;position:sticky;bottom:0;box-shadow:0 -6px 18px #0001}.editor-saved-clip{border:1px solid var(--border);border-radius:12px;margin:14px 0;padding:18px}.editor-saved-clip .section-heading{margin:0 0 8px}.editor-saved-clip p{margin-bottom:10px;font-size:13px}.editor-output{flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0;display:flex}.editor-output video{background:#111;width:100%;max-width:520px;max-height:320px}.editor-conflict{border:2px solid var(--primary);background:var(--paper);z-index:7;border-radius:14px;padding:22px;position:sticky;top:10px;box-shadow:0 10px 40px #0002}.editor-subtitle-edit summary{cursor:pointer;font-weight:600}.editor-subtitle-edit[open] summary{margin-bottom:18px}.editor-source-summary{font-size:13px}.video-editor input,.video-editor textarea,.video-editor select{min-width:0;max-width:100%}.video-editor textarea{min-height:85px}.video-editor progress{width:100%}.video-editor .field{margin-bottom:12px}.video-editor .field>span{font-size:12px}.video-editor small,.video-editor .notice{overflow-wrap:anywhere}.video-editor .editor-player .section-heading{margin:0 0 15px}@media (max-width:760px){.video-editor{padding:12px}.editor-heading{display:block}.editor-layout{flex-direction:column;display:flex}.editor-right{display:contents}.editor-player{order:0;width:100%}.editor-cues,.editor-right>.notice{order:2}.editor-controls{order:3;width:100%}.editor-draft{order:4;width:100%}.editor-cues{width:100%}.editor-cue-scroll{height:470px}.editor-inputs,.editor-controls,.editor-cues,.editor-player,.editor-tray,.editor-subtitle-edit,.editor-draft{padding:13px}.editor-grid-two{grid-template-columns:1fr}.editor-draft{position:static}.editor-tabs button{flex:1 0 30%}.editor-actions .button{padding:10px 12px}.editor-live-captions{font-size:12px}.editor-cue-text{max-height:42px}.editor-cue{padding:8px}.editor-conflict{position:relative;top:0}.editor-saved-clip{padding:12px}}.editor-cue-text{font-family:Editor Sans,Editor CJK,sans-serif}.editor-quick-actions{display:none}@media (max-width:760px){.editor-quick-actions{z-index:5;background:var(--paper);border:1px solid var(--border);border-radius:10px;order:1;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:8px;font-size:12px;display:flex;position:sticky;top:0}}
