body.video-editor-body{min-width:1320px}.video-editor-header{justify-content:space-between}.video-editor-main{max-width:1660px;padding-top:30px}.video-editor-heading{justify-content:space-between;align-items:end;gap:30px;margin-bottom:24px;display:flex}.video-editor-heading p{max-width:780px;color:var(--muted);margin:0;font-size:14px}.editor-status{max-width:360px;color:var(--muted);text-align:right;font-size:13px;line-height:1.5}.editor-status.success{color:var(--primary-text)}.editor-status.error{color:var(--error-text)}.video-editor-grid{grid-template-columns:270px minmax(600px,1fr) 290px;align-items:start;gap:18px;display:grid}.layer-library,.layer-inspector{min-height:720px}.layer-add{border:1px dashed var(--border);background:var(--tint);width:100%;color:var(--foreground);border-radius:9px;justify-content:space-between;align-items:center;margin-top:14px;padding:13px;display:flex}.layer-add:hover{border-color:var(--primary);background:var(--hover)}.layer-add small{color:var(--muted)}.layer-heading{justify-content:space-between;margin:26px 0 10px;font-size:13px;display:flex}.layer-heading small{color:var(--muted)}.layer-list{flex-direction:column-reverse;gap:7px;display:flex}.layer-row{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--foreground);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;display:grid}.layer-row:hover,.layer-row.selected{border-color:var(--primary);background:var(--tint)}.layer-select{min-width:0;color:inherit;text-align:left;background:0 0;border:0;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px;display:grid}.layer-select>span,.fixed-layer>span{background:var(--tint);width:29px;height:29px;color:var(--primary-text);border-radius:7px;place-items:center;font-size:12px;display:grid}.layer-select div,.fixed-layer div{min-width:0}.layer-select strong,.layer-select small,.fixed-layer strong,.fixed-layer small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.layer-row strong,.fixed-layer strong{font-size:13px}.layer-row small,.fixed-layer small{color:var(--muted);margin-top:3px;font-size:11px}.layer-row b,.fixed-layer b{color:var(--muted);font-size:10px;font-weight:500}.layer-order{grid-template-columns:24px 24px;gap:3px;padding-right:7px;display:grid}.layer-order button{border:1px solid var(--border);background:var(--surface);width:24px;height:26px;color:var(--foreground);border-radius:6px;place-items:center;padding:0;font-size:12px;display:grid}.layer-order button:hover:not(:disabled){border-color:var(--primary);color:var(--primary-text)}.layer-order button:disabled{opacity:.3;cursor:not-allowed}.fixed-layers{border-bottom:1px solid var(--border);flex-direction:column-reverse;gap:7px;margin-bottom:12px;padding-bottom:12px;display:flex}.fixed-layer{border:1px solid var(--tint-border);background:var(--tint);border-radius:8px;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px;display:grid}.fixed-layer.inactive{opacity:.5}.base-layer{border-color:var(--border);background:var(--surface);margin-top:12px}.editor-stage{gap:18px;display:grid}.preview-panel{padding:14px}.preview-heading,.timeline-heading{justify-content:space-between;align-items:center;min-height:32px;display:flex}.preview-heading div{align-items:center;gap:10px;display:flex}.preview-heading span,.timeline-heading strong{font-size:13px}.preview-heading small,.timeline-heading span{color:var(--muted);font-size:11px}.canvas-frame{background:#050607;border-radius:9px;place-items:center;height:480px;margin-top:8px;display:grid;overflow:hidden}#video-preview{max-width:100%;max-height:100%;display:block;box-shadow:0 12px 45px #0008}.canvas-frame:fullscreen{background:#000;border-radius:0;width:100vw;height:100vh}.canvas-frame:fullscreen #video-preview{object-fit:contain;width:100%;height:100%}.editor-player{color:var(--muted);grid-template-columns:38px 64px minmax(100px,1fr) 64px 38px;align-items:center;gap:9px;margin-top:12px;font:12px monospace;display:grid}.player-button{background:var(--primary);width:36px;height:32px;color:var(--on-primary);border:0;border-radius:7px}.project-trim{border-top:1px solid var(--border);margin-top:12px}.project-trim summary{color:var(--foreground);cursor:pointer;padding:12px 2px 0;font-size:13px;font-weight:700}.project-trim-controls{padding:2px 4px 4px}.project-trim-controls .field-label{margin-top:12px}.project-trim-controls input[type=range]{width:100%}.project-trim-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;display:grid}.project-trim .trim-markers{margin-top:12px}.timeline-panel{padding:14px}.timeline{border:1px solid var(--border);background:color-mix(in srgb, var(--background) 70%, var(--card));border-radius:8px;margin-top:10px;padding:24px 6px 7px 78px;position:relative;overflow:hidden}.timeline-ruler{height:23px;color:var(--muted);font:10px monospace;position:absolute;top:0;left:78px;right:6px}.timeline-tick{position:absolute;top:4px;transform:translate(-50%)}.timeline-track{background:var(--surface);border-radius:5px;height:30px;margin-bottom:5px;position:relative}.timeline-track:before{content:attr(data-label);width:64px;color:var(--muted);text-align:right;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:30px;position:absolute;right:calc(100% + 8px);overflow:hidden}.timeline-band{border:1px solid var(--tint-border);background:var(--primary);min-width:3px;height:24px;color:var(--on-primary);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;border-radius:5px;padding:0 7px;font-size:10px;line-height:22px;position:absolute;top:3px;overflow:hidden}.timeline-band.selected{box-shadow:0 0 0 2px var(--foreground)}#playhead{z-index:4;background:var(--error);pointer-events:none;border-radius:0;width:2px;position:absolute;top:21px;bottom:0;left:78px}#playhead:before{content:"";background:var(--error);border-radius:50%;width:12px;height:12px;position:absolute;top:-5px;left:-5px}#timeline.dragging{cursor:grabbing}#timeline:not(.dragging){cursor:ew-resize}.empty-inspector{color:var(--muted);margin-top:28px;font-size:13px;line-height:1.7}.selected-file{background:var(--surface);border-radius:8px;flex-direction:column;gap:5px;min-width:0;margin-top:22px;padding:11px;display:flex}.selected-file span{color:var(--primary-text);font-size:11px}.selected-file strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.check-row{color:var(--foreground);gap:10px;margin-top:22px;display:flex}.check-row input{margin-top:3px}.check-row span,.check-row strong,.check-row small{display:block}.check-row strong{font-size:13px}.check-row small{color:var(--muted);margin-top:4px;font-size:11px}.time-nudges{grid-template-columns:repeat(4,1fr);gap:5px;margin-top:7px;display:grid}.time-nudges button{border:1px solid var(--border);background:var(--surface);color:var(--muted);border-radius:6px;padding:6px 2px;font-size:10px}.time-nudges button:hover{border-color:var(--primary);background:var(--tint);color:var(--primary-text)}.layer-effects{border-top:1px solid var(--border);gap:14px;margin-top:22px;padding-top:18px;display:grid}.layer-effect-group{background:var(--surface);border-radius:8px;padding:11px}.layer-effect-group .field-label:first-child{margin-top:0}.layer-effect-group .setting-select{width:100%}.layer-effect-group .text-input{box-sizing:border-box;width:100%}.layer-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:24px;display:grid}.danger-button{border:1px solid var(--error);background:var(--error-surface);width:100%;color:var(--error-text);border-radius:8px;margin-top:10px;padding:10px}.export-box{border-top:1px solid var(--border);margin-top:32px;padding-top:24px}.export-box .field-label{margin-top:15px;margin-bottom:7px}.export-box .export-button{margin-top:18px}.apply-spec{grid-template-columns:repeat(3,1fr);gap:7px;margin-top:15px;display:grid}.apply-spec span{border:1px solid var(--border);background:var(--surface);color:var(--muted);border-radius:8px;gap:4px;padding:10px;font-size:11px;display:grid}.apply-spec strong{color:var(--foreground);font-size:12px}.apply-progress-row{grid-template-columns:minmax(0,1fr) 42px;align-items:center;gap:10px;margin-top:12px}.apply-progress-row:not([hidden]){display:grid}.apply-progress-row progress{width:100%}.apply-progress-row output{color:var(--foreground);text-align:right;font:12px monospace}#editor-progress{width:100%;margin-top:12px}