.video-edit-workspace{display:flex;height:calc(100dvh - 48px);min-height:600px;background:#141414;color:#ececec}.edit-library{width:280px;flex:0 0 280px;border-right:1px solid #333;padding:24px 16px;overflow:auto;background:#1d1d1d}.edit-library-head,.edit-heading,.edit-heading>div,.edit-range-label,.edit-composer-toolbar{display:flex;align-items:center;gap:12px}.edit-library-head{justify-content:space-between}.edit-library h2{font-size:16px;font-weight:500}.edit-library-tabs{display:flex;justify-content:space-between;margin:22px 0 18px;border-bottom:1px solid #363636;padding-bottom:10px}.edit-library-tabs button{background:none;border:0;color:#aaa}.edit-library-tabs button.active{color:#f3f3f3}.edit-source{display:flex;align-items:center;width:100%;gap:12px;padding:10px 8px;background:transparent;border:1px solid transparent;border-radius:10px;color:#ddd;text-align:left}.edit-source:hover,.edit-source.active{background:#292929;border-color:#454545}.edit-source video{width:64px;height:48px;object-fit:cover;border-radius:7px;background:#111}.edit-source span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;flex:1}.edit-source svg{width:14px;flex:0 0 14px}.edit-main{flex:1;min-width:0;padding:24px 32px 42px;overflow:auto}.edit-heading{justify-content:space-between;margin-bottom:24px}.edit-heading h1{font-size:20px;font-weight:500;margin:0}.edit-heading span{font-size:12px;color:#989898}.edit-back{border:0;background:none;color:#bbb;padding:0;display:flex;align-items:center}.edit-stage{height:min(37vh,350px);display:flex;gap:16px;margin:auto;max-width:1120px}.edit-preview-pane{position:relative;flex:1;min-width:0;border:1px solid #343434;border-radius:16px;background:#0a0a0a;overflow:hidden}.edit-preview-pane>span{position:absolute;top:12px;left:14px;color:#c1c1c1;background:#111b;border-radius:5px;padding:3px 7px;font-size:12px;z-index:1}.edit-preview-pane video{width:100%;height:100%;object-fit:contain}.edit-download{position:absolute;right:12px;top:12px;background:#222d!important}.edit-range{max-width:1000px;margin:22px auto 18px}.edit-range-label{font-size:12px;color:#aaa}.edit-range-label strong{font-size:13px;color:#ddd;font-weight:500}.edit-range-label>span{flex:1;font-variant-numeric:tabular-nums}.edit-range-track{height:44px;position:relative;margin-top:10px;background:repeating-linear-gradient(90deg,#303030 0,#303030 65px,#202020 66px,#202020 67px);border:1px solid #3a3a3a;border-radius:6px;isolation:isolate}.edit-range-selection{position:absolute;left:var(--start);right:calc(100% - var(--end));top:0;bottom:0;border:2px solid #b4a1ff;border-radius:5px;background:#8c65ff22;pointer-events:none}.edit-range-track input[type=range]{position:absolute;inset:0;width:100%;height:100%;margin:0;appearance:none;background:transparent;pointer-events:none;outline:none}.edit-range-track input[type=range]::-webkit-slider-thumb{appearance:none;height:44px;width:10px;background:#c3b4ff;border-radius:3px;cursor:ew-resize;pointer-events:auto;border:3px solid #c3b4ff;box-shadow:inset 1px 0 #6650a0}.edit-range.is-full input[type=range]{display:none}.edit-range-numbers{display:flex;justify-content:space-between;margin-top:8px;font-size:12px;color:#999}.edit-range-numbers input{width:68px;padding:4px 6px;border:1px solid #3a3a3a;border-radius:5px;background:#222;color:#ddd;text-align:center;margin:0 4px}.edit-composer{max-width:1000px;margin:auto;background:#252525;border:1px solid #444;border-radius:16px;padding:18px 20px}.edit-composer>textarea{width:100%;border:0;background:transparent;color:#eee;padding:0;line-height:1.8;resize:vertical;min-height:92px;font-size:14px;outline:none}.edit-composer>textarea::placeholder{color:#888}.edit-composer-toolbar{padding-top:12px;border-top:1px solid #3a3a3a;margin-top:10px}.edit-composer select{width:auto;min-width:75px;background:#303030;border:0;font-size:12px;color:#ddd;padding:8px;border-radius:6px}.edit-select{display:flex;align-items:center;gap:5px}.edit-audio{display:flex;align-items:center;gap:5px;font-size:12px;color:#bbb;white-space:nowrap}.edit-audio input{accent-color:#a18be9;width:14px;height:14px}.edit-custom-style{margin-top:12px;background:#202020!important}.edit-reference-list{display:flex;gap:8px;overflow:auto;padding-top:8px}.edit-reference-list label{flex:0 0 54px;position:relative;display:block;cursor:pointer}.edit-reference-list img{width:54px;height:46px;object-fit:cover;border-radius:7px;opacity:.5;border:2px solid transparent}.edit-reference-list input{position:absolute;opacity:0;width:0;height:0}.edit-reference-list input:checked+img{opacity:1;border-color:#b2a1ff}.edit-reference-list span{display:block;font-size:10px;color:#9e9e9e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.edit-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;height:70vh;gap:16px}.edit-empty h1{font-size:27px;font-weight:500;margin:8px 0 0}.edit-empty p{color:#aaa;margin:0 0 12px}.edit-empty>span{font-size:12px;color:#777}.edit-empty-icon{width:80px;height:80px;display:grid;place-items:center;border:1px solid #454545;border-radius:24px;background:#262626}.edit-empty-icon svg{width:34px;height:34px;color:#c4c4c4}.edit-library-empty{font-size:12px;color:#777;padding:30px 0;line-height:1.8}.edit-history-label{font-size:12px;color:#777;margin:30px 8px 14px}.edit-draft-row{display:flex;gap:8px;width:100%;padding:12px 8px;text-align:left;background:none;color:#bdbdbd;border:0;border-radius:6px;align-items:center}.edit-draft-row.active{background:#303030;color:#fff}.edit-draft-row>span{flex:1}.edit-draft-row small{color:#888;font-size:10px}.edit-job-state,.edit-error{position:relative;max-width:1000px;margin:16px auto;background:#242424;border:1px solid #3d3d3d;border-radius:8px;padding:14px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:12px;overflow:hidden}.edit-progress{position:absolute;left:0;top:0;width:var(--progress);height:2px;background:#ac94ec}.edit-job-state>span:not(.edit-progress){color:#aaa;flex:1}.edit-error{color:#e0b3aa}.edit-error p{width:100%}.edit-loading{padding:48px;color:#999}.edit-confirm{display:flex;gap:24px}.edit-confirm video{width:46%;max-height:240px;object-fit:contain;background:#111;border-radius:9px}.edit-confirm>div{flex:1}.edit-confirm dl{display:grid;grid-template-columns:80px 1fr;gap:10px;font-size:12px;margin:20px 0}.edit-confirm dt{color:#999}.edit-confirm dd{margin:0}.edit-frozen-prompt{font:13px/1.8 inherit;white-space:pre-wrap;background:#171717;border:1px solid #333;border-radius:8px;padding:16px;max-height:220px;overflow:auto;margin-top:20px;color:#bfbfbf}.edit-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.edit-history-grid article{background:#222;border:1px solid #393939;border-radius:10px;overflow:hidden}.edit-history-grid video{width:100%;height:170px;object-fit:contain;background:#111}.edit-history-grid article>div,.edit-history-grid footer{display:flex;justify-content:space-between;padding:12px;font-size:11px;gap:8px}.edit-history-grid footer button{background:none;border:0;color:#ddd}.edit-history-grid p{font-size:12px;color:#d99;padding:10px}.edit-history-status{height:150px;align-items:center;justify-content:center!important;color:#aaa}.edit-source-modal{width:100%;max-height:380px;background:#111}.edit-project-list button{display:flex;align-items:center;gap:15px;width:100%;padding:16px;background:#242424;border:1px solid #383838;color:#ddd;margin-bottom:10px;border-radius:9px;text-align:left}.edit-project-list button span{flex:1}.tab-remake .creation-content{padding:0;overflow:hidden}.tab-remake .creation-workspace{height:calc(100dvh - 48px)}

.edit-range-frames{position:absolute;inset:0;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));overflow:hidden;border-radius:5px;pointer-events:none;opacity:.65}.edit-range-frames img{width:100%;height:100%;object-fit:cover}.edit-range-selection{z-index:1;pointer-events:auto;cursor:grab;touch-action:none}.edit-range-selection:active{cursor:grabbing}.edit-range.is-full .edit-range-selection{pointer-events:none;cursor:default}.edit-range-track input[type=range]{z-index:2}.edit-range-label [data-edit-action=fullscreen]{padding:5px}.edit-range-label [data-edit-action=fullscreen] .icon{width:15px;height:15px}
