.character-asset-library{--character-asset-divider: rgba(150, 169, 192, .18);--character-asset-card: #17191f;--character-asset-card-alt: #0d0f13;--character-asset-card-hover: #20232a}.character-asset-library--light{--character-asset-divider: rgba(91, 107, 126, .2);--character-asset-card: #ffffff;--character-asset-card-alt: #f2f5fb;--character-asset-card-hover: #eaf8fb}.character-assets-page,.character-assets-page-inner,.character-assets-page-content{min-height:0}.character-assets-page-inner,.character-assets-page-content{height:100%}.character-assets-page-inner{padding:38px clamp(28px,4vw,64px) 48px!important}.character-assets-hero{display:grid;flex:none;grid-template-columns:minmax(0,1fr) 260px auto;align-items:end;gap:18px;margin-bottom:28px;padding-bottom:26px;border-bottom:1px solid rgba(150,169,192,.13);color:#f6f8fb}.character-assets-hero-copy>span{color:#77dce9;font-size:.7rem;font-weight:800;letter-spacing:.16em}.character-assets-hero-copy h1{margin:8px 0 0;font-size:clamp(2rem,3vw,2.75rem);font-weight:800;letter-spacing:-.045em;line-height:1.16}.character-assets-hero-copy p{margin:8px 0 0;color:#e2e9f380;font-size:.9rem;line-height:1.6}.character-assets-search{display:flex;height:38px;align-items:center;gap:9px;border-bottom:1px solid rgba(245,245,247,.16);color:#f5f5f761;padding:0 5px;transition:border-color .16s ease,color .16s ease}.character-assets-search:focus-within{border-bottom-color:#8be5f294;color:#8be5f2}.character-assets-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#f5f5f7;font-size:.78rem}.character-assets-search input::placeholder{color:#f5f5f74d}.character-assets-hero>strong{align-self:end;padding-bottom:10px;color:#e2e9f375;font-size:.8rem;font-weight:700;white-space:nowrap}.character-assets-hero--light{color:#151c27}.character-assets-hero--light .character-assets-hero-copy p,.character-assets-hero--light>strong{color:#3e484ba6}.character-assets-hero--light .character-assets-search{border-bottom-color:#5b6b7e40;color:#3e484b8c}.character-assets-hero--light .character-assets-search input{color:#151c27}.character-assets-hero--light .character-assets-search input::placeholder{color:#3e484b7a}.character-assets-page-workspace,.character-assets-page-workspace>div,.character-asset-library{min-height:0;width:100%}.character-asset-library-layout{display:grid;height:min(720px,calc(100vh - 250px));min-height:440px;grid-template-columns:250px minmax(0,1fr);gap:26px;overflow:hidden}.character-active-rail{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;border:0!important;border-right:1px solid var(--character-asset-divider)!important;border-radius:0!important;background:transparent!important;padding:0 24px 0 0!important;box-shadow:none!important;scrollbar-width:none}.character-active-rail::-webkit-scrollbar,.character-asset-tab-panel::-webkit-scrollbar,.character-asset-profile-body::-webkit-scrollbar{display:none;width:0;height:0}.character-active-rail-heading{position:sticky;top:0;z-index:3;margin-bottom:14px!important;padding:2px 0 14px;background:inherit}.character-active-rail-heading h3{gap:0!important;margin:0;font-size:.95rem!important}.character-active-count{color:#8be5f2ad;font-size:.75rem;font-weight:800;font-variant-numeric:tabular-nums}.character-asset-library--light .character-active-count{color:#006877}.character-active-rail-heading h3 svg{display:none}.character-active-expand{border:1px solid rgba(139,229,242,.12)}.character-active-expand-count{display:inline-grid;min-width:20px;height:20px;place-items:center;border:1px solid rgba(139,229,242,.18);border-radius:999px;padding:0 6px;color:#8be5f2;font-size:10px;font-variant-numeric:tabular-nums;line-height:1}.character-asset-library--light .character-active-expand-count{border-color:#00687733;color:#006877}.character-active-list{display:flex!important;flex-direction:column;gap:7px!important}.character-active-list .character-project-card{width:100%;min-height:126px;align-items:center;gap:10px!important;border-color:transparent!important;border-radius:18px!important;background:var(--character-asset-card)!important;padding:14px!important;box-shadow:none!important;transition:background .18s ease,transform .18s ease,border-color .18s ease}.character-active-list .character-project-card:nth-child(2n){background:var(--character-asset-card-alt)!important}.character-active-list .character-project-card:hover,.character-active-list .character-project-card:focus-visible{border-color:#8be5f233!important;background:var(--character-asset-card-hover)!important;transform:translateY(-1px)}.character-active-list .character-project-card>div{min-width:0;flex:1;gap:11px!important}.character-active-list .character-project-card img,.character-active-list .character-project-card>div>div:first-child{width:64px!important;height:64px!important;flex:0 0 64px;border-radius:50%!important}.character-active-list .character-project-card>div>div:last-child{min-width:0;text-align:left}.character-active-list .character-project-card>button{flex:none;align-self:flex-end;border-radius:999px!important;padding:5px 9px!important;font-size:10px!important}.character-asset-catalog{min-width:0;min-height:0;overflow:hidden;padding-left:2px}.character-asset-tab-panel{height:100%;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.character-asset-tab-panel[hidden]{display:none}.character-asset-catalog-content{min-width:0}.character-asset-toolbar{position:sticky;top:0;z-index:4;margin-bottom:18px;padding:2px 0 14px;border-bottom:1px solid rgba(150,169,192,.15);background:inherit}.character-asset-catalog-header{display:flex;width:100%;min-width:0;align-items:flex-end;justify-content:space-between;gap:24px}.character-asset-catalog-title{min-width:0}.character-asset-catalog-title h2{display:flex;align-items:baseline;gap:8px;margin:0;color:#f6f8fb;font-size:1.05rem;font-weight:750}.character-asset-catalog-title h2 span{color:#8be5f2ad;font-size:.75rem;font-variant-numeric:tabular-nums}.character-asset-catalog-title p{margin:7px 0 0;color:#e2e9f36b;font-size:.76rem;line-height:1.5}.character-asset-library--light .character-asset-catalog-title h2{color:#151c27}.character-asset-library--light .character-asset-catalog-title h2 span{color:#006877}.character-asset-library--light .character-asset-catalog-title p{color:#6e797c}.character-asset-scope-tabs{align-self:stretch;justify-content:flex-end;gap:10px!important}.character-asset-scope-tab{position:relative;display:inline-flex;min-height:42px;align-items:center;gap:8px;border-width:0!important;padding:7px 12px 11px!important;font-size:.8rem!important;font-weight:700!important;white-space:nowrap}.character-asset-scope-count{display:inline-grid;width:24px;height:24px;place-items:center;border:1px solid rgba(150,169,192,.16);border-radius:999px;color:#cbd5e180;font-size:.68rem;font-variant-numeric:tabular-nums;line-height:1}.character-asset-library--light .character-asset-scope-count{border-color:#5b6b7e2e;color:#3e484b9e}.character-asset-scope-tab[aria-selected=true] .character-asset-scope-count{border-color:#8be5f233;background:#8be5f20f;color:#8be5f2}.character-asset-library--light .character-asset-scope-tab[aria-selected=true] .character-asset-scope-count{border-color:#00687733;background:#0068770d;color:#006877}.character-asset-scope-tab:after{position:absolute;right:11px;bottom:-15px;left:11px;height:2px;background:transparent;content:""}.character-asset-scope-tab[aria-selected=true]:after{background:#8be5f2}.character-asset-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;align-content:start}.character-asset-card{min-width:0;min-height:292px;border-color:#96a9c024!important;border-radius:16px!important;background:transparent!important;box-shadow:none!important;transition:border-color .16s ease,transform .16s ease!important}.character-asset-card:hover,.character-asset-card:focus-within{border-color:#8be5f26b!important;transform:translateY(-2px)}.character-asset-card>button:first-child img,.character-asset-card>button:first-child>div{aspect-ratio:1 / .82!important;width:calc(100% - 20px)!important;height:auto!important;margin:10px 10px 0;border-radius:11px!important;object-fit:cover}.character-asset-card>div{padding:12px 14px 14px!important}.character-asset-card>div>div:last-child{border-top-color:#96a9c01f!important}.character-asset-create-card{min-height:292px!important;border-width:1px!important;border-color:#96a9c02e!important;border-radius:16px!important;background:transparent!important}.character-asset-create-card:hover{border-color:#8be5f273!important}.character-asset-loading-placeholder{min-height:292px}.character-asset-modal-backdrop,.character-asset-profile-backdrop{background:#010409bd!important;-webkit-backdrop-filter:blur(12px)!important;backdrop-filter:blur(12px)!important}.character-asset-form-modal,.character-asset-profile-modal{border-color:#8be5f229!important;border-radius:24px!important;box-shadow:0 28px 90px #0000008c!important}.character-asset-profile-modal{animation:character-asset-modal-in .22s cubic-bezier(.22,1,.36,1) both!important}.asset-detail-drawer-out.character-asset-profile-modal{animation:character-asset-modal-out .18s ease-in both!important}.character-asset-profile-header{min-height:82px;padding-right:22px!important}.character-asset-profile-header>div:first-child>div:first-child>div:first-child,.character-asset-profile-header h2{font-size:1.15rem;letter-spacing:-.02em}.character-asset-profile-body{padding:24px 30px 30px!important;scrollbar-width:none}.character-asset-profile-body>div>img,.character-asset-profile-body>div>img:first-child{height:190px!important;max-width:360px!important;border-radius:18px!important}@keyframes character-asset-modal-in{0%{opacity:0;transform:translateY(18px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes character-asset-modal-out{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(12px) scale(.985)}}@media(max-width:1320px){.character-asset-library-layout{grid-template-columns:220px minmax(0,1fr);gap:22px}.character-asset-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.character-active-list .character-project-card{align-items:flex-start;flex-direction:column}.character-active-list .character-project-card>button{align-self:stretch}}@media(max-width:900px){.character-assets-page-inner{padding:28px 24px 40px!important}.character-assets-hero{grid-template-columns:minmax(0,1fr) auto}.character-assets-search{grid-column:1 / -1;grid-row:2}.character-assets-page,.character-assets-page-inner,.character-assets-page-content{height:auto;min-height:100%}.character-asset-library-layout{height:auto;min-height:0;grid-template-columns:1fr;overflow:visible}.character-active-rail{max-height:520px;border-right:0!important;border-bottom:1px solid var(--character-asset-divider)!important;padding:0 0 24px!important}.character-active-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}.character-active-list .character-project-card{align-items:center;flex-direction:row}.character-active-list .character-project-card>button{align-self:flex-end}.character-asset-catalog{max-height:none;overflow:visible;padding:0}.character-asset-tab-panel{height:auto;overflow:visible}.character-asset-toolbar{position:static}.character-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:640px){.character-assets-page-inner{padding:22px 16px 32px!important}.character-assets-hero{display:flex;align-items:stretch;flex-direction:column;gap:14px;margin-bottom:22px;padding-bottom:20px}.character-assets-hero>strong{padding:0}.character-asset-library-layout{gap:18px}.character-active-list,.character-asset-grid{grid-template-columns:1fr!important}.character-asset-toolbar{align-items:stretch!important}.character-asset-catalog-header{align-items:stretch;flex-direction:column;gap:12px}.character-asset-scope-tabs{width:100%;align-self:stretch;justify-content:flex-start;overflow-x:auto}.character-asset-scope-tab:after{bottom:0}.character-asset-modal-backdrop,.character-asset-profile-backdrop{padding:12px!important}.character-asset-form-modal,.character-asset-profile-modal{max-height:calc(100vh - 24px)!important;border-radius:18px!important}.character-asset-profile-header{padding:16px!important}.character-asset-profile-body{padding:18px!important}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;opacity:0;visibility:hidden;display:flex;align-items:center;justify-content:center;transition:opacity .3s ease,visibility .3s ease}.modal-overlay.show{opacity:1;visibility:visible}.modal-content.dark-purple-theme{width:92vw;max-width:1720px;height:90vh;max-height:960px;background:#1e1e24;border-radius:12px;border:1px solid #374151;display:flex;flex-direction:column;box-shadow:0 24px 48px #00000080;color:#e5e7eb;transform:scale(.96);transition:transform .3s cubic-bezier(.34,1.56,.64,1)}.modal-overlay.show .modal-content.dark-purple-theme{transform:scale(1)}.modal-header-top{position:relative;padding:12px 20px;display:flex;justify-content:space-between;align-items:center;background:#25252b;border-bottom:1px solid #374151}.header-left{display:flex;align-items:center;gap:16px}.back-btn{color:#9ca3af;font-size:18px;cursor:pointer}.header-titles{display:flex;flex-direction:column}.director-stage-jump-button{min-height:30px;padding:5px 9px;display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;border:1px solid rgba(245,158,11,.36);border-radius:7px;background:#78350f29;color:#fcd34d;font-size:11px;font-weight:700;cursor:pointer;transition:border-color .18s ease,background-color .18s ease,color .18s ease}.director-stage-jump-button:hover{border-color:#fbbf24b8;background:#92400e47;color:#fef3c7}.director-stage-jump-button:active{background:#92400e61}.director-stage-jump-button:focus-visible{outline:2px solid #fbbf24;outline-offset:2px}.node-initialize-button{min-height:30px;padding:5px 9px;display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;border:1px solid rgba(167,139,250,.34);border-radius:7px;background:#4c1d9529;color:#c4b5fd;font-size:11px;font-weight:700;cursor:pointer;transition:border-color .18s ease,background-color .18s ease,color .18s ease,opacity .18s ease}.node-initialize-button:hover:not(:disabled){border-color:#c4b5fdb8;background:#5b21b64d;color:#ede9fe}.node-initialize-button:active:not(:disabled){background:#5b21b666}.node-initialize-button:disabled{cursor:not-allowed;opacity:.55}.node-initialize-button:focus-visible{outline:2px solid #a78bfa;outline-offset:2px}.workspace-info-actions{display:inline-flex;align-items:center;gap:6px}.workspace-info-trigger{display:inline-flex;min-height:30px;align-items:center;justify-content:center;gap:6px;padding:5px 9px;border:1px solid rgba(148,163,184,.28);border-radius:8px;background:#0f172a7a;color:#cbd5e1;font-size:11px;font-weight:700;cursor:pointer;transition:border-color .18s ease,background-color .18s ease,color .18s ease}.workspace-info-trigger:hover{border-color:#22d3ee8c;background:#0891b21f;color:#ecfeff}.workspace-info-trigger:focus-visible{outline:2px solid #22d3ee;outline-offset:2px}.workspace-info-trigger__question{display:inline-flex;width:15px;height:15px;align-items:center;justify-content:center;border:1px solid currentColor;border-radius:50%;font-size:10px;line-height:1}.sub-title{font-size:11px;color:#9ca3af}.main-title{font-size:16px;font-weight:500;color:#f3f4f6}.header-right{display:flex;align-items:center;gap:12px;min-width:0;margin-left:auto}.header-center-actions{position:absolute;left:50%;display:inline-flex;align-items:center;justify-content:center;gap:12px;transform:translate(-50%)}.header-prompt-summary{width:176px;height:46px;min-width:176px;padding:6px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:10px;border:1px solid rgba(139,92,246,.24);background:linear-gradient(180deg,#1e293bd1,#111827e6);box-shadow:inset 0 0 0 1px #ffffff05;cursor:pointer;transition:all .2s ease}.header-prompt-summary:hover{border-color:#8b5cf680;background:linear-gradient(180deg,#1e293bf2,#111827);transform:translateY(-1px)}.header-prompt-summary__label{display:block;color:#c4b5fd;font-size:11px;line-height:1.2;font-weight:700}.header-prompt-summary__text{max-width:100%;margin-top:3px;color:#e5e7eb;font-size:10px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-btn{background:#374151;border:none;color:#d1d5db;padding:8px 16px;border-radius:6px;font-size:13px;cursor:pointer;transition:all .2s cubic-bezier(.25,.46,.45,.94);display:flex;align-items:center;justify-content:center}.header-btn.icon-btn{padding:8px;background:transparent}.header-btn.icon-btn:hover{background:#ffffff1a;color:#fff;transform:scale(1.05)}.header-btn.icon-btn:active{transform:scale(.95)}.header-btn:hover{background:#4b5563;color:#fff;transform:translateY(-1px);box-shadow:0 4px 12px #00000026}.header-btn:active{transform:translateY(0) scale(.96);box-shadow:none}.header-btn.primary{background:#8b5cf6;color:#fff}.header-btn.primary:hover{background:#7c3aed}.modal-body-wrapper{display:flex;flex:1;min-width:0;min-height:0;overflow:hidden}.workspace-info-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:220;overflow:hidden;overscroll-behavior:none;pointer-events:auto;touch-action:none}.node-duration-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:185;display:flex;align-items:center;justify-content:center;padding:24px}.node-duration-lightbox__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#020617cc}.node-duration-lightbox__dialog{position:relative;width:min(720px,calc(100vw - 32px));overflow:hidden;border:1px solid rgba(139,92,246,.46);border-radius:14px;background:#18181f;color:#e5e7eb;box-shadow:0 8px 24px #00000075}.node-duration-lightbox__header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 22px 16px;border-bottom:1px solid rgba(148,163,184,.16);background:#202028}.node-duration-lightbox__header h3{margin:0;color:#f8fafc;font-size:18px;font-weight:800}.node-duration-lightbox__header p{margin:6px 0 0;color:#aeb7c6;font-size:12px;line-height:1.6}.node-duration-lightbox__header>button{display:inline-flex;width:32px;height:32px;flex:0 0 auto;align-items:center;justify-content:center;border-radius:8px;color:#aeb7c6;cursor:pointer}.node-duration-lightbox__header>button:hover{background:#ffffff14;color:#fff}.node-duration-lightbox__body{max-height:min(610px,calc(100vh - 210px));overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.node-workflow-section,.node-duration-section{padding:18px 22px}.node-duration-section{border-top:1px solid rgba(148,163,184,.12)}.node-duration-section-label{margin-bottom:10px;color:#d9dee7;font-size:12px;font-weight:750}.node-workflow-options,.node-duration-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.node-workflow-option{display:grid;min-height:138px;grid-template-columns:32px minmax(0,1fr) 16px;align-items:start;gap:10px;padding:14px;border:1px solid rgba(148,163,184,.24);border-radius:10px;background:#22222b;color:#d6dbe4;text-align:left;cursor:pointer;transition:border-color .18s ease,background-color .18s ease}.node-workflow-option:hover{border-color:#a78bfa94;background:#282832}.node-workflow-option:focus-visible{outline:2px solid #a78bfa;outline-offset:2px}.node-workflow-option.is-selected{border-color:#8b5cf6;background:#7c3aed29}.node-workflow-option__icon{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;border-radius:8px;background:#94a3b81f;color:#c4b5fd}.node-workflow-option.is-selected .node-workflow-option__icon{background:#8b5cf63d;color:#ddd6fe}.node-workflow-option__content{display:flex;min-width:0;flex-direction:column}.node-workflow-option__title{display:flex;min-height:22px;align-items:center;gap:8px}.node-workflow-option__title strong{color:#f8fafc;font-size:14px}.node-workflow-option__title em{padding:2px 6px;border-radius:999px;background:#8b5cf63d;color:#ddd6fe;font-size:10px;font-style:normal;font-weight:700}.node-workflow-option__content small{margin-top:7px;color:#b5bdca;font-size:11px;line-height:1.55}.node-workflow-option__summary{margin-top:auto;padding-top:9px;color:#c4b5fd;font-size:11px;font-weight:650}.node-workflow-option__indicator{width:16px;height:16px;margin-top:1px;border:1px solid #64748b;border-radius:50%;box-shadow:inset 0 0 0 3px #22222b}.node-workflow-option.is-selected .node-workflow-option__indicator{border-color:#a78bfa;background:#a78bfa;box-shadow:inset 0 0 0 3px #282038}.node-duration-option{display:flex;min-height:86px;align-items:flex-start;gap:11px;padding:14px;border:1px solid rgba(148,163,184,.2);border-radius:10px;background:#22222b;color:#d6dbe4;text-align:left;cursor:pointer;transition:border-color .18s ease,background-color .18s ease}.node-duration-option:hover{border-color:#a78bfa94;background:#282832}.node-duration-option:focus-visible{outline:2px solid #a78bfa;outline-offset:2px}.node-duration-option.is-selected{border-color:#8b5cf6;background:#7c3aed29}.previous-node-picker-dialog{width:min(560px,calc(100vw - 32px))}.previous-node-picker-list{display:flex;max-height:min(460px,calc(100vh - 220px));flex-direction:column;gap:8px;overflow:auto;padding:16px 20px 20px;scrollbar-gutter:stable}.previous-node-picker-option{display:flex;width:100%;min-height:62px;align-items:center;gap:12px;padding:11px 13px;border:1px solid rgba(148,163,184,.2);border-radius:10px;background:#22222b;color:#d6dbe4;text-align:left;cursor:pointer}.previous-node-picker-option:hover{border-color:#a78bfa94;background:#282832}.previous-node-picker-option:focus-visible{outline:2px solid #a78bfa;outline-offset:2px}.previous-node-picker-option.is-selected{border-color:#8b5cf6;background:#7c3aed29}.previous-node-picker-option__indicator{width:16px;height:16px;flex:0 0 auto;border:1px solid #71717a;border-radius:999px;background:#18181f}.previous-node-picker-option.is-selected .previous-node-picker-option__indicator{border:5px solid #a78bfa}.previous-node-picker-option>span:last-child{display:flex;min-width:0;flex-direction:column;gap:3px}.previous-node-picker-option strong{color:#f8fafc;font-size:13px}.previous-node-picker-option small{color:#aeb7c6;font-size:11px;line-height:1.45}.node-duration-option__indicator{width:16px;height:16px;flex:0 0 auto;margin-top:1px;border:1px solid #64748b;border-radius:50%;box-shadow:inset 0 0 0 3px #22222b}.node-duration-option.is-selected .node-duration-option__indicator{border-color:#a78bfa;background:#a78bfa;box-shadow:inset 0 0 0 3px #282038}.node-duration-option strong,.node-duration-option small{display:block}.node-duration-option strong{color:#f8fafc;font-size:14px}.node-duration-option small{margin-top:6px;color:#aeb7c6;font-size:11px;line-height:1.55}.node-duration-lightbox__footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 22px 18px;border-top:1px solid rgba(148,163,184,.12)}.node-duration-lightbox__footer>span{max-width:310px;color:#98a2b3;font-size:11px;line-height:1.55}.node-duration-lightbox__footer>div{display:flex;gap:8px}.node-duration-lightbox__footer button{min-height:36px;padding:8px 14px;border-radius:8px;background:#7c3aed;color:#fff;font-size:12px;font-weight:800;cursor:pointer}.node-duration-lightbox__footer button:hover{background:#6d28d9}.node-duration-lightbox__footer button.secondary{border:1px solid rgba(148,163,184,.28);background:transparent;color:#cbd5e1}.node-duration-lightbox__footer button.secondary:hover{background:#ffffff0f}.workspace-tour-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#030712c2;pointer-events:none}.workspace-tour-spotlight{position:fixed;border:2px solid #a78bfa;border-radius:8px;box-shadow:0 0 0 9999px #030712c2,0 0 0 4px #a78bfa33;pointer-events:none;transition:inset .2s ease,width .2s ease,height .2s ease}.workspace-tour-card{position:fixed;display:flex;max-height:calc(100vh - 32px);flex-direction:column;width:min(560px,calc(100vw - 32px));border:1px solid rgba(167,139,250,.52);border-radius:8px;background:#18181f;color:#e5e7eb;box-shadow:0 8px 8px #00000052;pointer-events:auto;transition:top .2s ease,left .2s ease,opacity .16s ease}.workspace-tour-card:before{content:"";position:absolute;width:12px;height:12px;border-left:1px solid rgba(167,139,250,.52);border-top:1px solid rgba(167,139,250,.52);background:#18181f;transform:rotate(45deg)}.workspace-tour-card[data-placement=top]:before{bottom:-7px;left:calc(50% - 6px);transform:rotate(225deg)}.workspace-tour-card[data-placement=right]:before{top:calc(50% - 6px);left:-7px;transform:rotate(-45deg)}.workspace-tour-card[data-placement=bottom]:before{top:-7px;left:calc(50% - 6px);transform:rotate(45deg)}.workspace-tour-card[data-placement=left]:before{top:calc(50% - 6px);right:-7px;transform:rotate(135deg)}.workspace-tour-card[data-placement=center]:before{display:none}.workspace-tour-card__header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px 10px}.workspace-tour-card__header>div{display:flex;min-width:0;align-items:center;gap:8px}.workspace-tour-card__eyebrow{color:#c4b5fd;font-size:12px;font-weight:800}.workspace-tour-card__count{color:#7f8795;font-size:11px}.workspace-tour-card__header>button{display:inline-flex;width:28px;height:28px;flex:0 0 auto;align-items:center;justify-content:center;border-radius:6px;color:#9ca3af;font-size:20px;cursor:pointer}.workspace-tour-card__header>button:hover{background:#ffffff14;color:#fff}.workspace-tour-card__progress{display:grid;flex:0 0 auto;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:5px;padding:0 16px}.workspace-tour-card__progress span{height:3px;border-radius:999px;background:#34343e}.workspace-tour-card__progress span.is-active{background:#8b5cf6}.workspace-tour-card__body{min-height:0;flex:1 1 auto;overflow-y:auto;padding:15px 16px 16px}.workspace-tour-card__body h3{margin:0;color:#f8fafc;font-size:18px;font-weight:800;letter-spacing:0}.workspace-tour-card__body p{margin:0;color:#bdc6d5;font-size:13px;line-height:1.6}.workspace-tour-card__preview{margin:14px 0 0}.workspace-tour-card__preview img{display:block;width:100%;aspect-ratio:900 / 506;border:1px solid rgba(148,163,184,.24);border-radius:6px;background:#111118;object-fit:cover}.workspace-tour-card__preview figcaption{margin-top:6px;color:#9fa9b8;font-size:11px;line-height:1.45}.workspace-tour-card__body .workspace-tour-card__error{color:#fca5a5}.workspace-tour-card__action,.workspace-tour-card__result{display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px;align-items:start;margin-top:14px}.workspace-tour-card__action>strong,.workspace-tour-card__result>strong{color:#c4b5fd;font-size:11px;line-height:1.9}.workspace-tour-card__result{padding-top:11px;border-top:1px solid rgba(148,163,184,.14)}.workspace-tour-card__details{display:grid;margin:12px 0 0 68px;border-top:1px solid rgba(148,163,184,.14)}.workspace-tour-card__detail{display:grid;grid-template-columns:86px minmax(0,1fr);gap:10px;align-items:start;padding:9px 0;border-bottom:1px solid rgba(148,163,184,.14)}.workspace-tour-card__detail strong{color:#ddd6fe;font-size:12px;line-height:1.5}.workspace-tour-card__detail span{color:#b8c1cf;font-size:12px;line-height:1.5}.workspace-tour-card__body .workspace-tour-card__note{margin-top:12px;padding:9px 10px;border-radius:6px;background:#8b5cf61a;color:#c5cedb;font-size:12px;line-height:1.5}.workspace-tour-card__note strong{color:#ddd6fe}.workspace-tour-card__footer{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px 14px;border-top:1px solid rgba(148,163,184,.14)}.workspace-tour-card__footer>div{display:flex;align-items:center;gap:7px}.workspace-tour-card__footer button{display:inline-flex;min-height:34px;align-items:center;justify-content:center;gap:3px;padding:7px 11px;border-radius:6px;font-size:13px;font-weight:700;cursor:pointer}.workspace-tour-card__skip{color:#9ca3af}.workspace-tour-card__skip:hover,.workspace-tour-card__previous:hover{background:#ffffff12;color:#f8fafc}.workspace-tour-card__previous{border:1px solid rgba(148,163,184,.24);color:#cbd5e1}.workspace-tour-card__next{min-width:104px;background:#7c3aed;color:#fff}.workspace-tour-card__next:hover{background:#6d28d9}.workspace-tour-card button:focus-visible{outline:2px solid #c4b5fd;outline-offset:2px}.workspace-tour-card button:disabled{cursor:wait;opacity:.48}@media(max-width:1080px){.workspace-info-trigger span:last-child{display:none}.workspace-info-trigger{width:30px;padding-inline:0}}@media(max-width:640px){.workspace-tour-card{top:auto!important;right:12px;bottom:12px;left:12px!important;max-height:calc(100vh - 24px);width:auto}.workspace-tour-card:before{display:none}.workspace-tour-card__footer{align-items:flex-end}.workspace-tour-card__footer button{padding-inline:9px}.node-duration-lightbox{padding:12px}.node-duration-lightbox__body{max-height:calc(100vh - 240px)}.node-workflow-options,.node-duration-options{grid-template-columns:1fr}.node-duration-lightbox__footer{align-items:stretch;flex-direction:column}.node-duration-lightbox__footer>span{max-width:none}.node-duration-lightbox__footer>div,.node-duration-lightbox__footer button{flex:1}}@media(prefers-reduced-motion:reduce){.node-duration-option,.node-workflow-option,.workspace-info-trigger,.workspace-tour-spotlight,.workspace-tour-card{transition:none}}.long-video-diamond-scope button:focus-visible,.long-video-diamond-scope select:focus-visible,.long-video-diamond-scope input:focus-visible,.long-video-diamond-scope textarea:focus-visible{outline:2px solid #a78bfa;outline-offset:2px}@media(max-width:1280px){.long-video-diamond-scope .modal-content.dark-purple-theme{width:97vw;height:94vh}.long-video-diamond-scope .modal-header-top{align-items:center;gap:12px}.long-video-diamond-scope .header-left{flex:0 0 auto}.long-video-diamond-scope .node-initialize-button{padding-inline:7px}.long-video-diamond-scope .node-initialize-button span{display:none}}@media(max-width:1020px){.long-video-diamond-scope .modal-content.dark-purple-theme{width:calc(100vw - 16px);height:calc(100vh - 16px);max-height:none}.long-video-diamond-scope .modal-header-top{padding:10px 12px;flex-wrap:wrap}.long-video-diamond-scope .header-center-actions{position:static;order:3;width:100%;margin:2px auto 0;transform:none}.long-video-diamond-scope .header-right{flex:0 0 auto}.long-video-diamond-scope .modal-body-wrapper{display:grid;grid-template-columns:200px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 210px}}@media(max-width:820px){.long-video-diamond-scope .modal-body-wrapper{grid-template-columns:176px minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){.long-video-diamond-scope .modal-overlay,.long-video-diamond-scope .modal-content.dark-purple-theme,.long-video-diamond-scope .header-prompt-summary,.long-video-diamond-scope .director-stage-jump-button,.long-video-diamond-scope .node-initialize-button,.long-video-diamond-scope .header-btn{transition:none}}.modal-sidebar{width:240px;background:#1e1e24;border-right:1px solid #374151;display:flex;flex-direction:column}.sidebar-header{padding:16px;display:flex;gap:24px;border-bottom:1px solid #374151}.sidebar-tab{font-size:14px;color:#9ca3af;cursor:pointer;padding-bottom:4px;transition:color .2s ease,transform .2s ease}.sidebar-tab:hover{color:#d1d5db;transform:translateY(-1px)}.sidebar-tab:active{transform:scale(.95)}.sidebar-tab.active{color:#f3f4f6;font-weight:500;border-bottom:2px solid #f3f4f6}.sidebar-content{padding:16px;overflow-y:auto;flex:1}.sidebar-section{margin-bottom:24px}.sidebar-title{font-size:13px;color:#d1d5db;margin-bottom:12px}.sidebar-title-flex{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#d1d5db;margin-bottom:12px}.asset-item{display:flex;flex-direction:column;align-items:center;gap:8px;width:72px;cursor:pointer;position:relative}.asset-item:hover .asset-img{transform:scale(1.05);box-shadow:0 4px 12px #0006;border-color:#6b7280}.asset-item:hover .asset-name{color:#e5e7eb}.asset-grid{display:flex;flex-wrap:wrap;gap:12px}.long-video-diamond-scope .modal-sidebar{width:252px;min-width:252px}.long-video-diamond-scope .sidebar-content{padding:14px 12px 18px;scrollbar-gutter:stable}.long-video-diamond-scope .sidebar-section{margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid rgba(148,163,184,.12)}.long-video-diamond-scope .sidebar-section:last-child{margin-bottom:0;border-bottom:0}.long-video-diamond-scope .sidebar-title-flex{margin-bottom:9px;padding:0 2px;color:#e5e7eb;font-size:12px;font-weight:650}.long-video-diamond-scope .sidebar-title-flex b{display:inline-flex;min-width:20px;height:18px;margin-left:5px;padding:0 6px;align-items:center;justify-content:center;border:1px solid rgba(139,92,246,.28);border-radius:999px;background:#7c3aed1f;color:#c4b5fd;font-size:10px;font-weight:700}.long-video-diamond-scope .asset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.long-video-diamond-scope .asset-picker-lightbox__content .asset-grid{width:100%;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:12px}.long-video-diamond-scope .asset-card{position:relative;display:block;min-width:0;padding:0;overflow:hidden;border:1px solid rgba(148,163,184,.18);border-radius:9px;background:#11131a;color:#f3f4f6;text-align:left;cursor:pointer;transition:border-color .16s ease,background-color .16s ease,transform .16s ease}.long-video-diamond-scope .asset-card__action{display:block;width:100%;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.long-video-diamond-scope .asset-card:hover{border-color:#a78bfab8;background:#181521;transform:translateY(-1px)}.long-video-diamond-scope .asset-card.is-selected{border-color:#a78bfae6;background:#4c1d9533;box-shadow:inset 0 0 0 1px #8b5cf63d}.long-video-diamond-scope .asset-card.is-partial{border-color:#60a5fab8;background:#1e40af29;box-shadow:inset 0 0 0 1px #60a5fa2e}.long-video-diamond-scope .asset-card__action:disabled{cursor:not-allowed;opacity:.48}.long-video-diamond-scope .asset-card__selected-mark{position:absolute;top:6px;right:6px;display:inline-flex;width:20px;height:20px;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.5);border-radius:999px;background:#7c3aed;color:#fff;font-size:12px;font-weight:800;box-shadow:0 3px 10px #0000006b}.long-video-diamond-scope .asset-card__remove{position:absolute;top:5px;right:5px;z-index:3;display:inline-flex;width:21px;height:21px;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:#0a0b11c7;color:#f1f5f9;font-size:15px;line-height:1;opacity:.78;transition:background-color .15s ease,border-color .15s ease,opacity .15s ease}.long-video-diamond-scope .asset-card__remove:hover,.long-video-diamond-scope .asset-card__remove:focus-visible{border-color:#f87171cc;background:#b91c1ceb;opacity:1;outline:none}.long-video-diamond-scope .asset-preview-dialog{width:min(76vw,980px);max-height:86vh;overflow:hidden}.long-video-diamond-scope .asset-preview-header{padding:18px 22px 14px;border-bottom:1px solid rgba(255,255,255,.08)}.long-video-diamond-scope .asset-preview-title{color:#f8fafc;font-size:18px;font-weight:700}.long-video-diamond-scope .asset-preview-subtitle{margin-top:4px;color:#9ca3af;font-size:12px}.long-video-diamond-scope .asset-preview-content{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;max-height:calc(86vh - 76px);padding:18px;overflow:auto}.long-video-diamond-scope .asset-preview-dialog--character .asset-preview-content{grid-template-columns:repeat(2,minmax(0,1fr))}.long-video-diamond-scope .storyboard-crop-preview-dialog{width:min(96vw,1680px);height:min(94vh,1040px);max-height:94vh;display:flex;flex-direction:column;border-radius:12px;box-shadow:0 8px 8px #0000005c}.long-video-diamond-scope .storyboard-crop-preview-dialog .asset-preview-header{flex:0 0 auto;padding-right:64px}.long-video-diamond-scope .storyboard-crop-preview-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.long-video-diamond-scope .storyboard-crop-preview-meta>span{padding:4px 7px;border-radius:5px;background:#ffffff12;color:#d7dce5;font-size:11px;font-weight:700;line-height:1.2}.long-video-diamond-scope .storyboard-crop-preview-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,360px);overflow:hidden;border-top:1px solid rgba(148,163,184,.12)}.long-video-diamond-scope .storyboard-crop-preview-stage{min-height:0;display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto;background:#09090d}.long-video-diamond-scope .storyboard-crop-preview-canvas{position:relative;display:inline-block;width:fit-content;max-width:100%;max-height:100%;line-height:0}.long-video-diamond-scope .storyboard-crop-preview-canvas>img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(94vh - 216px);object-fit:contain}.long-video-diamond-scope .storyboard-crop-preview-overlay{position:absolute;top:0;right:0;bottom:0;left:0}.long-video-diamond-scope .storyboard-crop-preview-cell{position:absolute;margin:0;padding:0;border:1px solid rgba(167,139,250,.96);background:#7c3aed09;box-shadow:inset 0 0 0 1px #0f172ab8;cursor:zoom-in;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}.long-video-diamond-scope .storyboard-crop-preview-cell:hover{border-color:#ddd6fe;background:#7c3aed1f}.long-video-diamond-scope .storyboard-crop-preview-cell.is-active{z-index:1;border:2px solid #c4b5fd;background:#7c3aed29;box-shadow:inset 0 0 0 1px #0f172ad1,0 0 0 1px #c4b5fd57}.long-video-diamond-scope .storyboard-crop-preview-cell.is-padding{background:#94a3b814;border-style:dashed}.long-video-diamond-scope .storyboard-crop-preview-cell:focus-visible{z-index:2;outline:2px solid #f5f3ff;outline-offset:-4px}.long-video-diamond-scope .storyboard-crop-preview-cell>b{position:absolute;top:5px;right:5px;padding:3px 6px;border-radius:5px;background:#08080ce0;color:#f5f3ff;font-size:11px;font-weight:800;line-height:1.2}.long-video-diamond-scope .storyboard-crop-preview-inspector{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;border-left:1px solid rgba(148,163,184,.14);background:#111117}.long-video-diamond-scope .storyboard-crop-preview-inspector-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px}.long-video-diamond-scope .storyboard-crop-preview-inspector-header>div:first-child{min-width:0;display:flex;flex-direction:column;gap:3px}.long-video-diamond-scope .storyboard-crop-preview-inspector-header strong{color:#f8fafc;font-size:13px;line-height:1.3}.long-video-diamond-scope .storyboard-crop-preview-inspector-header>div:first-child>span{overflow:hidden;color:#aeb7c5;font-size:11px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.long-video-diamond-scope .storyboard-crop-preview-navigation{flex:0 0 auto;display:flex;align-items:center;gap:4px}.long-video-diamond-scope .storyboard-crop-preview-navigation>span{min-width:40px;color:#d7dce5;font-size:11px;font-variant-numeric:tabular-nums;text-align:center}.long-video-diamond-scope .storyboard-crop-preview-navigation button{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(148,163,184,.2);border-radius:6px;background:#1a1a22;color:#e5e7eb;cursor:pointer}.long-video-diamond-scope .storyboard-crop-preview-navigation button:hover:not(:disabled){border-color:#c4b5fd99;background:#23232d}.long-video-diamond-scope .storyboard-crop-preview-navigation button:disabled{color:#686d78;cursor:not-allowed}.long-video-diamond-scope .storyboard-crop-preview-navigation button:focus-visible{outline:2px solid #c4b5fd;outline-offset:2px}.long-video-diamond-scope .storyboard-crop-preview-detail,.long-video-diamond-scope .storyboard-crop-preview-thumbnail-image{position:relative;display:block;overflow:hidden;background:#08080c}.long-video-diamond-scope .storyboard-crop-preview-detail{flex:0 0 auto;margin:0 14px 14px;border:1px solid rgba(196,181,253,.34);border-radius:6px}.long-video-diamond-scope .storyboard-crop-preview-detail>img,.long-video-diamond-scope .storyboard-crop-preview-thumbnail-image>img{position:absolute;display:block;max-width:none;max-height:none;-webkit-user-select:none;user-select:none}.long-video-diamond-scope .storyboard-crop-preview-thumbnails{flex:1;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px;padding:0 14px 14px;overflow-y:auto;overscroll-behavior:contain}.long-video-diamond-scope .storyboard-crop-preview-thumbnails>button{min-width:0;display:flex;flex-direction:column;gap:6px;padding:5px;border:1px solid rgba(148,163,184,.16);border-radius:6px;background:#181820;color:#bcc4d0;font-size:11px;line-height:1.2;text-align:left;cursor:pointer}.long-video-diamond-scope .storyboard-crop-preview-thumbnails>button:hover{border-color:#c4b5fd7a;background:#202029}.long-video-diamond-scope .storyboard-crop-preview-thumbnails>button.is-active{border-color:#a78bfa;background:#7c3aed24;color:#f5f3ff}.long-video-diamond-scope .storyboard-crop-preview-thumbnails>button:focus-visible{outline:2px solid #c4b5fd;outline-offset:2px}.long-video-diamond-scope .storyboard-crop-preview-thumbnail-image{width:100%;border-radius:3px}.long-video-diamond-scope .storyboard-crop-preview-footer{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 18px 14px;border-top:1px solid rgba(148,163,184,.14);background:#14141a}.long-video-diamond-scope .storyboard-crop-preview-footer>span{max-width:680px;color:#b7c0ce;font-size:12px;line-height:1.5}.long-video-diamond-scope .storyboard-crop-preview-footer button{min-height:36px;padding:8px 14px;border:0;border-radius:8px;background:#7c3aed;color:#fff;font-size:12px;font-weight:800;cursor:pointer}.long-video-diamond-scope .storyboard-crop-preview-footer button:hover{background:#6d28d9}.long-video-diamond-scope .storyboard-crop-preview-footer button:focus-visible{outline:2px solid #c4b5fd;outline-offset:2px}.long-video-diamond-scope .storyboard-grid-preview-dialog{width:min(96vw,1680px);height:min(94vh,1080px);max-height:94vh;display:flex;flex-direction:column}.long-video-diamond-scope .storyboard-grid-preview-dialog .asset-preview-header{flex:0 0 auto;padding:16px 22px 12px}.long-video-diamond-scope .storyboard-grid-preview-dialog .asset-preview-content{flex:1;min-height:0;max-height:none;padding:10px;overflow:auto}.long-video-diamond-scope .storyboard-grid-preview-dialog .asset-preview-content figure{width:100%;height:100%;min-height:0;display:flex;align-items:center;justify-content:center}.long-video-diamond-scope .storyboard-grid-preview-dialog .asset-preview-content img{width:100%;height:100%;max-height:none;object-fit:contain}.long-video-diamond-scope .shot-storyboard-preview-dialog{width:min(92vw,1320px);height:min(90vh,900px);max-height:90vh;display:flex;flex-direction:column}.long-video-diamond-scope .shot-storyboard-preview-dialog .asset-preview-header{flex:0 0 auto;padding-right:64px}.long-video-diamond-scope .shot-storyboard-preview-content{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px;padding:12px}.long-video-diamond-scope .shot-storyboard-preview-stage{position:relative;flex:1;min-height:320px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid rgba(148,163,184,.18);border-radius:12px;background:#050608}.long-video-diamond-scope .shot-storyboard-preview-stage figure{width:100%;height:100%;min-width:0;min-height:0;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.long-video-diamond-scope .shot-storyboard-preview-stage img{width:100%;min-height:0;flex:1;object-fit:contain}.long-video-diamond-scope .shot-storyboard-preview-stage figcaption{flex:0 0 auto;width:100%;padding:9px 14px;color:#d1d5db;background:#11131a;font-size:12px;text-align:center;font-variant-numeric:tabular-nums}.long-video-diamond-scope .shot-storyboard-preview-nav{position:absolute;top:50%;z-index:2;width:40px;height:52px;transform:translateY(-50%);border:1px solid rgba(255,255,255,.14);border-radius:10px;background:#11131ae6;color:#f8fafc;font-size:30px;line-height:1;cursor:pointer;transition:background .18s ease,border-color .18s ease}.long-video-diamond-scope .shot-storyboard-preview-nav:hover{border-color:#c4b5fd99;background:#26213a}.long-video-diamond-scope .shot-storyboard-preview-nav:focus-visible,.long-video-diamond-scope .shot-storyboard-preview-thumbnail:focus-visible{outline:2px solid #c4b5fd;outline-offset:2px}.long-video-diamond-scope .shot-storyboard-preview-nav.is-previous{left:14px}.long-video-diamond-scope .shot-storyboard-preview-nav.is-next{right:14px}.long-video-diamond-scope .shot-storyboard-preview-thumbnails{flex:0 0 auto;display:flex;gap:10px;overflow-x:auto;padding:2px 2px 6px}.long-video-diamond-scope .shot-storyboard-preview-thumbnail{position:relative;flex:0 0 144px;height:92px;overflow:hidden;border:1px solid rgba(148,163,184,.2);border-radius:10px;background:#0b0c11;color:#cbd5e1;cursor:pointer}.long-video-diamond-scope .shot-storyboard-preview-thumbnail:hover{border-color:#c4b5fd7a}.long-video-diamond-scope .shot-storyboard-preview-thumbnail.is-active{border-color:#a78bfa;box-shadow:inset 0 0 0 1px #a78bfa}.long-video-diamond-scope .shot-storyboard-preview-thumbnail img{width:100%;height:100%;display:block;object-fit:cover}.long-video-diamond-scope .shot-storyboard-preview-thumbnail>span:last-child{position:absolute;right:6px;bottom:6px;padding:3px 7px;border-radius:999px;background:#050608d1;color:#f8fafc;font-size:10px}.long-video-diamond-scope .shot-storyboard-preview-thumbnail>span:first-child:not(:last-child){height:100%;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:11px}.long-video-diamond-scope .shot-storyboard-preview-empty{flex:1;min-height:320px;display:flex;align-items:center;justify-content:center;border:1px dashed rgba(148,163,184,.26);border-radius:12px;color:#cbd5e1;background:#0b0c11;font-size:13px}@media(max-width:900px){.long-video-diamond-scope .storyboard-grid-preview-dialog{width:96vw;height:92vh}.long-video-diamond-scope .shot-storyboard-preview-dialog{width:96vw;height:88vh}.long-video-diamond-scope .shot-storyboard-preview-thumbnail{flex-basis:112px;height:72px}}.long-video-diamond-scope .asset-preview-content figure{min-width:0;margin:0;overflow:hidden;border:1px solid rgba(148,163,184,.18);border-radius:10px;background:#0b0c11}.long-video-diamond-scope .asset-preview-content img{display:block;width:100%;max-height:calc(86vh - 150px);object-fit:contain;background:#050608}.long-video-diamond-scope .asset-preview-content figcaption{padding:9px 12px;color:#cbd5e1;font-size:12px;text-align:center}.long-video-diamond-scope .asset-card__action:focus-visible{outline:none;box-shadow:inset 0 0 0 2px #a78bfa}.long-video-diamond-scope .asset-card__media{position:relative;display:block;width:100%;aspect-ratio:4 / 3;overflow:hidden;background:#161820}.long-video-diamond-scope .asset-card--character .asset-card__media{aspect-ratio:1 / 1}.long-video-diamond-scope .asset-card--prop .asset-card__media{aspect-ratio:4 / 3}.long-video-diamond-scope .asset-card__media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .22s ease}.long-video-diamond-scope .asset-card--character .asset-card__media img{object-position:center 22%}.long-video-diamond-scope .asset-card:hover .asset-card__media img{transform:scale(1.035)}.long-video-diamond-scope .asset-card__shade{position:absolute;inset:auto 0 0;height:42%;background:linear-gradient(to bottom,transparent,rgba(4,5,10,.78));pointer-events:none}.long-video-diamond-scope .asset-card__name{display:block;padding:7px 8px 8px;overflow:hidden;color:#e5e7eb;font-size:11px;font-weight:600;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.long-video-diamond-scope .asset-placeholder{display:flex;width:100%;height:100%;align-items:center;justify-content:center;background:linear-gradient(145deg,#4c1d9547,#1e293b8f);color:#c4b5fd;font-size:24px;font-weight:700}.long-video-diamond-scope .add-btn{width:22px;height:22px;border-color:#8b5cf65c;border-radius:6px;background:#7c3aed1a;color:#c4b5fd}@media(prefers-reduced-motion:reduce){.long-video-diamond-scope .asset-card,.long-video-diamond-scope .asset-card__media img{transition:none}}.asset-img{width:72px;height:96px;background-color:#2d2d35;background-image:none;background-position:center;background-repeat:no-repeat;background-size:cover;border-radius:8px;border:1px solid #4b5563;display:flex;align-items:center;justify-content:center;transition:all .25s cubic-bezier(.25,.46,.45,.94)}.asset-img.scene{background-image:none}.asset-img.prop{height:72px;background-image:none}.asset-name{font-size:12px;color:#9ca3af;transition:color .2s ease;text-align:center}.asset-upload-slot{position:relative;display:inline-flex}.asset-upload-btn{display:inline-flex;align-items:center;justify-content:center;min-width:52px;height:22px;padding:0 8px;border-radius:999px;border:1px solid rgba(139,92,246,.42);background:#4c1d952e;color:#e9d5ff;font-size:11px;line-height:20px;cursor:pointer;transition:all .2s ease}.asset-upload-btn:hover{background:#7c3aed47;border-color:#a78bfab8;color:#f5f3ff}.asset-upload-btn:active{transform:scale(.96)}.asset-upload-input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.asset-item.is-selected .asset-img{border-color:#8b5cf6;box-shadow:0 0 0 1px #8b5cf68c,0 0 18px #8b5cf647;transform:translateY(-1px)}.asset-item.is-selected .asset-name{color:#f5f3ff}.asset-item.is-empty .asset-img{border-style:dashed}.asset-empty-plus{width:24px;height:24px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:16px;line-height:1;color:#e9d5ff;background:#8b5cf62e;border:1px solid rgba(139,92,246,.45);box-shadow:0 6px 18px #4c1d9538;pointer-events:none}.add-btn{background:#2d2d35;border:1px solid #4b5563;color:#9ca3af;width:20px;height:20px;border-radius:4px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s cubic-bezier(.25,.46,.45,.94)}.add-btn:hover{background:#374151;color:#e5e7eb;transform:scale(1.1)}.add-btn:active{transform:scale(.9)}.asset-library-action{font-size:10px;color:#b9b5d0;text-align:center;line-height:1.4}.asset-item--library{width:80px}.asset-item--library:hover .asset-library-action{color:#efe7ff}.asset-empty-state{width:100%;min-height:56px;border:1px dashed rgba(139,92,246,.26);border-radius:10px;padding:12px;color:#8f91a3;font-size:12px;display:flex;align-items:center;justify-content:center;text-align:center;background:#4c1d9514}.asset-picker-lightbox__dialog{width:min(76vw,1080px);max-height:84vh;display:flex;flex-direction:column}.asset-picker-lightbox__header{padding:18px 22px 12px;border-bottom:1px solid rgba(255,255,255,.08)}.long-video-diamond-scope .asset-picker-lightbox__header{display:flex;align-items:flex-start;justify-content:space-between;gap:52px;padding-right:64px}.long-video-diamond-scope .asset-picker-lightbox__heading{min-width:0}.asset-picker-lightbox__title{color:#f5f3ff;font-size:18px;font-weight:600}.asset-picker-lightbox__subtitle{margin-top:6px;color:#b6b0c8;font-size:13px;line-height:1.5}.long-video-diamond-scope .asset-card.is-partial .asset-card__selected-mark{background:#2563eb}.long-video-diamond-scope .asset-picker-targets{padding:12px 22px 14px;border-bottom:1px solid rgba(255,255,255,.06);background:#0a0b126b}.long-video-diamond-scope .asset-picker-targets__header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;color:#d8dee9;font-size:12px;font-weight:700}.long-video-diamond-scope .asset-picker-targets__header strong{color:#a78bfa;font-size:11px;font-variant-numeric:tabular-nums}.long-video-diamond-scope .asset-picker-targets__list{display:flex;align-items:center;gap:7px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.long-video-diamond-scope .asset-picker-target{flex:0 0 auto;min-height:30px;padding:5px 10px;border:1px solid rgba(148,163,184,.24);border-radius:7px;background:#1b1c24;color:#aeb7c6;font-size:11px;cursor:pointer}.long-video-diamond-scope .asset-picker-target:hover{border-color:#a78bfa94;color:#ede9fe}.long-video-diamond-scope .asset-picker-target.is-selected{border-color:#8b5cf6d1;background:#5b21b647;color:#f5f3ff}.long-video-diamond-scope .asset-picker-targets__warning{margin-top:8px;color:#fca5a5;font-size:11px}.long-video-diamond-scope .asset-picker-manage-btn,.long-video-diamond-scope .asset-preview-missing button{flex:0 0 auto;min-height:34px;padding:0 12px;border:1px solid rgba(167,139,250,.42);border-radius:8px;background:#7c3aed29;color:#ddd6fe;font-size:12px;font-weight:600;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease}.long-video-diamond-scope .asset-picker-manage-btn:hover,.long-video-diamond-scope .asset-preview-missing button:hover{border-color:#c4b5fdb8;background:#7c3aed47;color:#fff}.long-video-diamond-scope .asset-picker-manage-btn:focus-visible,.long-video-diamond-scope .asset-preview-missing button:focus-visible{outline:2px solid #c4b5fd;outline-offset:2px}.long-video-diamond-scope .asset-picker-manage-btn:disabled{cursor:not-allowed;opacity:.45}.long-video-diamond-scope .asset-preview-missing{display:flex;min-height:180px;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:20px;border:1px dashed rgba(139,92,246,.3);border-radius:10px;background:#4c1d9514;color:#a5a7b8;font-size:12px;text-align:center}.asset-picker-lightbox__sources{display:flex;flex-wrap:wrap;gap:10px;padding:14px 22px 12px;border-bottom:1px solid rgba(255,255,255,.06)}.asset-picker-source-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;border:1px solid rgba(139,92,246,.24);background:#4c1d951f;color:#d8d4f0;font-size:12px;cursor:pointer;transition:all .2s ease}.asset-picker-source-btn:hover{border-color:#a78bfa94;color:#f3e8ff;background:#4c1d9533}.asset-picker-source-btn.is-active{border-color:#a78bfab8;background:#7c3aed38;color:#f5f3ff;box-shadow:0 0 0 1px #8b5cf63d}.asset-picker-source-btn__count{color:#a78bfa;font-size:11px}.asset-picker-lightbox__content{padding:18px 22px 24px;overflow-y:auto;display:flex;flex-wrap:wrap;gap:14px;min-height:220px}.long-video-diamond-scope .scene-asset-picker{display:grid;width:100%;min-width:0;gap:12px}.long-video-diamond-scope .scene-asset-picker__search{display:flex;width:min(360px,100%);min-height:38px;align-items:center;gap:8px;padding:0 11px;border:1px solid rgba(148,163,184,.28);border-radius:8px;background:#15161d;color:#8f98a8}.long-video-diamond-scope .scene-asset-picker__search:focus-within{border-color:#a78bfa;box-shadow:0 0 0 2px #a78bfa2e}.long-video-diamond-scope .scene-asset-picker__search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#f5f3ff;font:inherit;font-size:13px}.long-video-diamond-scope .scene-asset-picker__search input::placeholder{color:#9ca3b1}.long-video-diamond-scope .scene-asset-picker__body{display:grid;height:min(48vh,500px);min-height:360px;grid-template-columns:270px minmax(0,1fr);border-top:1px solid rgba(255,255,255,.07)}.long-video-diamond-scope .scene-asset-picker__locations{min-width:0;padding:10px 12px 10px 0;border-right:1px solid rgba(255,255,255,.07);overflow-y:auto}.long-video-diamond-scope .scene-location-row{display:grid;width:100%;min-height:58px;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 8px;border:0;border-radius:7px;background:transparent;color:#d8dee9;text-align:left;cursor:pointer;transition:background-color .16s ease,color .16s ease}.long-video-diamond-scope .scene-location-row:hover{background:#94a3b817}.long-video-diamond-scope .scene-location-row.is-active{background:#7c3aed30;color:#f5f3ff}.long-video-diamond-scope .scene-location-row:focus-visible,.long-video-diamond-scope .scene-variant-card:focus-visible{outline:2px solid #c4b5fd;outline-offset:2px}.long-video-diamond-scope .scene-location-row__media{display:flex;width:64px;height:44px;align-items:center;justify-content:center;overflow:hidden;border-radius:5px;background:#20222b;color:#c4b5fd;font-size:17px;font-weight:700}.long-video-diamond-scope .scene-location-row__media img{width:100%;height:100%;object-fit:cover}.long-video-diamond-scope .scene-location-row__copy{display:grid;min-width:0;gap:3px}.long-video-diamond-scope .scene-location-row__copy strong,.long-video-diamond-scope .scene-location-row__copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.long-video-diamond-scope .scene-location-row__copy strong{font-size:12px;font-weight:650}.long-video-diamond-scope .scene-location-row__copy small{color:#9ca3b1;font-size:11px}.long-video-diamond-scope .scene-location-row__selection{color:#c4b5fd;font-size:10px;font-weight:650;white-space:nowrap}.long-video-diamond-scope .scene-asset-picker__variants{min-width:0;padding:16px 0 8px 18px;overflow-y:auto}.long-video-diamond-scope .scene-asset-picker__variant-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.long-video-diamond-scope .scene-asset-picker__variant-header>div{display:grid;gap:4px}.long-video-diamond-scope .scene-asset-picker__variant-header strong{color:#f5f3ff;font-size:14px;font-weight:700}.long-video-diamond-scope .scene-asset-picker__variant-header span{color:#aeb7c6;font-size:11px;line-height:1.45}.long-video-diamond-scope .scene-variant-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.long-video-diamond-scope .scene-variant-card{display:grid;min-width:0;padding:0;overflow:hidden;border:1px solid rgba(148,163,184,.22);border-radius:8px;background:#15161d;color:#d8dee9;text-align:left;cursor:pointer;transition:border-color .16s ease,background-color .16s ease}.long-video-diamond-scope .scene-variant-card:hover:not(:disabled){border-color:#a78bfab8;background:#1b1c25}.long-video-diamond-scope .scene-variant-card.is-selected,.long-video-diamond-scope .scene-variant-card.is-partial{border-color:#8b5cf6;background:#5b21b629}.long-video-diamond-scope .scene-variant-card:disabled{cursor:not-allowed;opacity:.52}.long-video-diamond-scope .scene-variant-card__media{position:relative;display:flex;width:100%;aspect-ratio:16 / 9;align-items:center;justify-content:center;overflow:hidden;background:#20222b}.long-video-diamond-scope .scene-variant-card__media img{width:100%;height:100%;object-fit:cover}.long-video-diamond-scope .scene-variant-card__copy{display:grid;min-width:0;gap:3px;padding:9px 10px 10px}.long-video-diamond-scope .scene-variant-card__copy strong,.long-video-diamond-scope .scene-variant-card__copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.long-video-diamond-scope .scene-variant-card__copy strong{color:#f5f3ff;font-size:12px;font-weight:700}.long-video-diamond-scope .scene-variant-card__copy small,.long-video-diamond-scope .scene-asset-picker__no-results{color:#aeb7c6;font-size:11px}.long-video-diamond-scope .scene-asset-picker__no-results{padding:24px 12px;text-align:center}@media(max-width:760px){.long-video-diamond-scope .asset-picker-lightbox__header{flex-direction:column;gap:12px;padding-right:58px}.long-video-diamond-scope .scene-asset-picker__body{height:auto;min-height:0;grid-template-columns:1fr}.long-video-diamond-scope .scene-asset-picker__locations{display:flex;gap:6px;padding:10px 0 12px;border-right:0;border-bottom:1px solid rgba(255,255,255,.07);overflow-x:auto}.long-video-diamond-scope .scene-location-row{flex:0 0 210px}.long-video-diamond-scope .scene-asset-picker__variants{max-height:54vh;padding:14px 0 4px}.long-video-diamond-scope .scene-variant-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr))}}.asset-item--picker{width:88px}.asset-item--picker .asset-img{width:88px;height:118px}.asset-item--picker[data-picker-type=prop] .asset-img{height:88px}.script-content-lightbox{position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999;display:none;align-items:center;justify-content:center}.script-content-lightbox.is-visible{display:flex}.script-content-lightbox__backdrop{position:absolute;top:0;left:0;right:0;bottom:0;background:#000000bf;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.script-content-lightbox__dialog{position:relative;width:min(90vw,800px);max-height:85vh;background:#1e1e24;border-radius:16px;border:1px solid rgba(139,92,246,.3);box-shadow:0 24px 48px #0009;display:flex;flex-direction:column;overflow:hidden}.script-content-lightbox__header{padding:20px 24px;border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,#1e1e24,#18181d);display:flex;align-items:center;justify-content:space-between}.script-content-lightbox__title{color:#f5f3ff;font-size:18px;font-weight:700;margin:0}.script-content-lightbox__close{width:36px;height:36px;border-radius:8px;border:none;background:#ffffff0d;color:#d1d5db;font-size:24px;line-height:1;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.script-content-lightbox__close:hover{background:#ffffff1a;color:#fff}.script-content-lightbox__body{padding:24px;overflow-y:auto;flex:1}.script-content-lightbox__body #scriptContentDisplay{white-space:pre-wrap;line-height:1.8;color:#e5e7eb;font-size:15px;word-wrap:break-word}.image-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:none}.image-lightbox.is-visible{display:block}.image-lightbox__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#06060ad1;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.image-lightbox__dialog{position:absolute;top:50%;left:50%;width:min(72vw,920px);max-height:82vh;transform:translate(-50%,-50%);background:#14141a;border:1px solid rgba(139,92,246,.32);border-radius:18px;box-shadow:0 24px 80px #00000073;overflow:hidden}.image-lightbox__close{position:absolute;top:12px;right:12px;z-index:2;width:32px;height:32px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:#111827cc;color:#f5f3ff;font-size:20px;cursor:pointer;transition:all .2s cubic-bezier(.25,.46,.45,.94)}.image-lightbox__close:hover{transform:scale(1.08);box-shadow:0 0 18px #8b5cf63d}.image-lightbox__close:active{transform:scale(.94)}.image-lightbox__image{width:100%;max-height:calc(82vh - 72px);display:block;object-fit:contain;background:#0b0b10}.image-lightbox__toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-top:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,#1f2937b8,#111827e6)}.image-lightbox__meta{color:#e5e7eb;font-size:13px}.image-lightbox__replace{min-width:116px;height:38px}@media(max-width:1280px){.long-video-diamond-scope .modal-sidebar{width:220px;min-width:220px}.long-video-diamond-scope .image-lightbox__dialog,.long-video-diamond-scope .script-content-lightbox__dialog{width:min(92vw,980px);max-height:90vh}}@media(max-width:1020px){.long-video-diamond-scope .modal-sidebar{grid-column:1;grid-row:1 / 3;width:200px;min-width:200px;min-height:0}.long-video-diamond-scope .sidebar-content{padding-inline:10px}.long-video-diamond-scope .asset-picker-lightbox__dialog,.long-video-diamond-scope .asset-preview-dialog{width:94vw}.long-video-diamond-scope .asset-preview-dialog--character .asset-preview-content{grid-template-columns:minmax(0,1fr)}.long-video-diamond-scope .storyboard-crop-preview-dialog{width:96vw;height:94vh}.long-video-diamond-scope .storyboard-crop-preview-body{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(180px,28vh)}.long-video-diamond-scope .storyboard-crop-preview-inspector{border-top:1px solid rgba(148,163,184,.14);border-left:0}.long-video-diamond-scope .storyboard-crop-preview-inspector-header{padding:10px 12px}.long-video-diamond-scope .storyboard-crop-preview-detail{display:none}.long-video-diamond-scope .storyboard-crop-preview-thumbnails{grid-auto-flow:column;grid-auto-columns:148px;grid-template-columns:none;padding:0 12px 12px;overflow-x:auto;overflow-y:hidden}.long-video-diamond-scope .storyboard-crop-preview-footer{align-items:stretch;flex-direction:column;gap:10px}.long-video-diamond-scope .storyboard-crop-preview-footer>span{max-width:none}.long-video-diamond-scope .storyboard-crop-preview-footer button{width:100%}}@media(max-width:820px){.long-video-diamond-scope .modal-sidebar{width:176px;min-width:176px}.long-video-diamond-scope .asset-grid{grid-template-columns:minmax(0,1fr)}}.modal-center-content{flex:1;background:#18181d;padding:14px 18px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:wrap}.reference-preview-btn{min-width:72px;height:34px;padding:0 14px;border-radius:8px;border:1px solid rgba(96,165,250,.42);background:#0f172adb;color:#dbeafe;font-size:12px;font-weight:600}.reference-preview-btn:hover{border-color:#7dd3fcb8;background:#1e293bf5}.reference-packaging-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(148px,1fr));gap:12px}.reference-packaging-card{min-height:132px;border-radius:12px;background:#111827b3;border:1px solid rgba(99,102,241,.16);overflow:hidden;display:flex;flex-direction:column}.reference-packaging-card__thumb{position:relative;aspect-ratio:16 / 10;background:#00000059;overflow:hidden}.reference-packaging-card__thumb img{width:100%;height:100%;object-fit:cover;display:block}.reference-packaging-card--stitch{grid-column:1 / -1}.reference-packaging-card__thumb--stitch{aspect-ratio:auto;min-height:240px;max-height:calc(86vh - 220px);overflow:auto;display:flex;align-items:flex-start;justify-content:center;padding:0}.reference-packaging-card__thumb--stitch img{width:100%;height:auto;object-fit:contain;display:block}.reference-packaging-card__body{padding:10px 10px 12px;display:flex;flex-direction:column;gap:4px}.reference-packaging-card__title{color:#f5f3ff;font-size:12px;font-weight:700;line-height:1.4}.reference-packaging-card__meta{color:#a1a1aa;font-size:11px;line-height:1.5}.reference-packaging-card__badge{position:absolute;top:8px;left:8px;padding:4px 8px;border-radius:999px;background:#111827d1;border:1px solid rgba(255,255,255,.08);color:#e9d5ff;font-size:10px;font-weight:700;letter-spacing:.03em}.reference-packaging-card__order{position:absolute;right:8px;top:8px;min-width:26px;height:26px;padding:0 7px;border-radius:999px;background:#4f46e5e0;color:#f8fafc;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;box-shadow:0 8px 18px #4338ca3d}.reference-packaging-empty{grid-column:1 / -1;min-height:84px;border-radius:12px;border:1px dashed rgba(139,92,246,.24);background:#1118276b;display:flex;align-items:center;justify-content:center;text-align:center;color:#a1a1aa;font-size:12px;line-height:1.6;padding:0 16px}.reference-packaging-lightbox__dialog{width:min(82vw,1180px);max-height:86vh;display:flex;flex-direction:column}.reference-packaging-lightbox__header{padding:20px 20px 14px;border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,#16161cf5,#121218e6)}.reference-packaging-lightbox__title{color:#f5f3ff;font-size:18px;font-weight:700}.reference-packaging-lightbox__subtitle{margin-top:8px;color:#a1a1aa;font-size:12px;line-height:1.6}.reference-packaging-lightbox__content{margin-top:0;padding:18px 20px 20px;max-height:calc(86vh - 96px);overflow:auto;align-content:start}.reference-packaging-preview.is-partition-layout{display:flex;flex-direction:column;gap:16px}.reference-partition-group{border:1px solid rgba(99,102,241,.18);border-radius:14px;background:linear-gradient(180deg,#0f172aa8,#111827e6);overflow:hidden}.reference-partition-group__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.06)}.reference-partition-group__title{color:#f5f3ff;font-size:14px;font-weight:700}.reference-partition-group__desc{margin-top:4px;color:#a1a1aa;font-size:12px;line-height:1.5}.reference-partition-group__badge{flex-shrink:0;padding:6px 10px;border-radius:999px;background:#4338ca33;border:1px solid rgba(129,140,248,.26);color:#ddd6fe;font-size:11px;font-weight:700}.reference-partition-group__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;padding:14px 16px 16px}.reference-packaging-card--partition{min-height:0;background:#0f172ab8}.editor-container{flex:1;display:flex;flex-direction:column;gap:24px}.editor-container.side-editor{padding:12px 14px 10px;gap:10px}.editor-box{background:#1e1e24;border:1px solid #374151;border-radius:12px;display:flex;flex-direction:column;height:200px}.side-editor .editor-box{flex:1;height:auto}.editor-box.main-prompt{flex:1;min-height:0;overflow:hidden;position:relative;border-color:#4c1d95}.reference-preview-btn:disabled{cursor:not-allowed;opacity:.56}.reference-previous-node-button{height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0 13px;border-radius:8px;background:#111827c7;border:1px solid rgba(148,163,184,.2);color:#cbd5e1;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer}.reference-previous-node-button:hover:not(:disabled){border-color:#7dd3fcb3;background:#1e293be6}.reference-previous-node-button:focus-visible{outline:none;border-color:#7dd3fcb3;box-shadow:0 0 0 2px #38bdf824}.reference-previous-node-button.is-selected{border-color:#8b5cf69e;color:#ede9fe;background:#4c1d953d}.reference-previous-node-button:disabled{cursor:not-allowed;opacity:.55}.editor-header{padding:9px 12px;display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#9ca3af;border-bottom:1px solid #2d2d35}.editor-header--with-model{flex-direction:column;align-items:stretch;gap:10px}.editor-header-primary-row{width:100%;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px}.editor-header-model-picker{min-width:0;flex:1;display:flex;align-items:center;justify-content:flex-end;color:#a1a1aa;font-size:10px;font-weight:700}.editor-header-model-trigger{width:min(250px,100%);min-width:0;height:30px;padding:0 8px 0 9px;border:1px solid rgba(139,92,246,.34);border-radius:7px;background:#181a23;color:#f4f4f5;font-size:10px;outline:none;display:flex;align-items:center;gap:6px;cursor:pointer}#long-video-shot-resolution{width:min(150px,34%)}.editor-header-model-trigger span{min-width:0;flex:1;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.editor-header-model-trigger svg{flex:0 0 auto;color:#a78bfa}.editor-header-model-trigger:hover:not(:disabled){border-color:#a78bfa9e;background:#1d1f29}.editor-header-model-trigger:focus-visible{border-color:#a78bfad1;box-shadow:0 0 0 2px #7c3aed2e}.editor-header-model-trigger:disabled{cursor:not-allowed;opacity:.55}.editor-header-model-menu{position:fixed;z-index:180;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;touch-action:pan-y;padding:4px;border:1px solid rgba(139,92,246,.48);border-radius:7px;background:#151720;box-shadow:0 4px 8px #0006}.editor-header-model-option{width:100%;min-height:32px;padding:6px 8px;border:0;border-radius:5px;background:transparent;color:#e4e4e7;display:flex;align-items:center;gap:8px;font:inherit;font-size:10px;font-weight:600;text-align:left;cursor:pointer}.editor-header-model-option>span:first-child{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-header-model-option:hover:not([aria-disabled=true]),.editor-header-model-option:focus-visible:not([aria-disabled=true]){outline:none;background:#7c3aed38;color:#fff}.editor-header-model-option[aria-selected=true]:not([aria-disabled=true]){background:#7c3aed4d;color:#fff}.editor-header-model-option[aria-disabled=true]{color:#71717a;cursor:not-allowed}.editor-header-model-option[aria-disabled=true]:focus-visible{outline:1px solid rgba(161,161,170,.55);outline-offset:-1px}.editor-header-model-option__state{flex:0 0 auto;color:#a1a1aa;font-size:9px;font-weight:500;white-space:nowrap}.editor-header-model-duration-tooltip{position:fixed;z-index:181;padding:8px 10px;border:1px solid rgba(161,161,170,.42);border-radius:6px;background:#23252f;color:#f4f4f5;box-shadow:0 4px 8px #0000005c;font-size:11px;font-weight:500;line-height:1.5;pointer-events:none}.purple-text{color:#a78bfa;flex:0 0 auto}.purple-text.large-text{font-size:18px;font-weight:500;margin-bottom:4px}.editor-tools{display:flex;gap:12px}.tool-btn{background:#2d2d35;padding:4px 12px;border-radius:4px;font-size:12px;cursor:pointer;transition:all .2s cubic-bezier(.25,.46,.45,.94)}.tool-btn:hover{background:#374151;transform:scale(1.05)}.tool-btn:active{transform:scale(.95)}.tool-btn.success{color:#10b981;border:1px solid #064e3b;background:#10b9811a}.editor-textarea{flex:1;background:transparent;border:none;padding:16px;color:#e5e7eb;font-size:14px;resize:none;outline:none;transition:background .3s ease,box-shadow .3s ease;border-radius:8px}.editor-textarea:focus{background:#ffffff05;box-shadow:inset 0 0 0 1px #8b5cf64d}.editor-rich-prompt{flex:1 1 0;min-height:0;scrollbar-gutter:stable;overflow:auto;overscroll-behavior:contain;padding:14px;color:#e5e7eb;font-size:13px;line-height:1.65;white-space:pre-wrap;word-break:break-word;cursor:text;outline:none;caret-color:#c4b5fd}.editor-rich-prompt.is-hidden{display:none}.editor-rich-prompt:focus{background:#ffffff05;box-shadow:inset 0 0 0 1px #8b5cf64d}.editor-rich-prompt.is-readonly{cursor:default}.editor-textarea.is-hidden{display:none}.editor-token-picker{position:absolute;z-index:20;right:28px;bottom:116px;width:min(300px,calc(100% - 40px));max-height:248px;overflow:auto;padding:6px;border:1px solid rgba(167,139,250,.4);border-radius:12px;background:#18181dfa;box-shadow:0 16px 36px #0000006b}.editor-token-picker.is-hidden{display:none}.editor-token-picker__item{width:100%;display:flex;align-items:center;gap:9px;padding:8px;border:0;border-radius:8px;color:#f5f3ff;text-align:left;background:transparent;cursor:pointer}.editor-token-picker__item:hover,.editor-token-picker__item.is-active{background:#7c3aed42}.editor-token-picker__avatar,.editor-token-picker__fallback{width:28px;height:28px;flex:0 0 28px;border-radius:7px}.editor-token-picker__avatar{object-fit:cover;background:#312e81}.editor-token-picker__fallback{display:inline-flex;align-items:center;justify-content:center;background:#4c1d95;color:#ede9fe;font-size:12px}.editor-token-picker__content{display:flex;min-width:0;flex-direction:column;gap:2px}.editor-token-picker__content strong{font-size:13px}.editor-token-picker__content small{color:#a1a1aa;font-size:11px}.editor-textarea.is-rich-preview-active{display:none}.editor-character-token{display:inline-flex;align-items:center;gap:4px;min-height:22px;margin:0 2px;padding:1px 6px 1px 2px;vertical-align:middle;color:#f3e8ff;font-size:12px;font-weight:600;line-height:1.25;white-space:nowrap;border:1px solid rgba(196,181,253,.38);border-radius:999px;background:#7c3aed38;box-shadow:0 2px 8px #4c1d952e}.editor-character-token__avatar,.editor-character-token__fallback{width:18px;height:18px;flex:0 0 18px;border-radius:50%}.editor-asset-token--scene{color:#dbeafe;border-color:#60a5fa66;background:#2563eb33}.editor-asset-token--prop{color:#d1fae5;border-color:#34d39961;background:#05966933}.editor-character-token__avatar{object-fit:cover;border:1px solid rgba(255,255,255,.55);background:#312e81}.editor-character-token__fallback{display:inline-flex;align-items:center;justify-content:center;color:#ede9fe;font-size:10px;background:linear-gradient(135deg,#7c3aed,#312e81)}.editor-character-token__fallback:before{content:attr(data-initial)}.editor-footer{display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:8px 12px 10px;border-top:1px solid #2d2d35}.editor-status{width:100%;min-width:0;font-size:12px;color:#9ca3af;line-height:1.35;white-space:normal;word-break:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.long-video-hidden-media-input{position:fixed;width:1px;height:1px;opacity:0;pointer-events:none;overflow:hidden}.audio-playback-status.is-hidden{display:none}.audio-playback-status.is-ok{color:#bbf7d0;border-color:#34d39952;background:#065f462e}.audio-playback-status.is-warn{color:#fde68a;border-color:#f59e0b47;background:#78350f2e}.audio-playback-status.is-fail{color:#fecaca;border-color:#f871714d;background:#7f1d1d2e}.video-audio-fade-controls{flex:0 0 auto;margin:0 16px 12px;padding:12px;border-radius:12px;border:1px solid rgba(139,92,246,.24);background:#4c1d951f}.video-audio-fade-controls.is-hidden{display:none}.video-audio-fade-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}.video-audio-fade-title{color:#f3e8ff;font-size:13px;font-weight:600}.video-audio-fade-desc{color:#c4b5fd;font-size:11px}.video-audio-fade-options{display:flex;gap:8px}.video-audio-fade-option{min-width:64px;height:34px;padding:0 14px;border-radius:10px;border:1px solid rgba(167,139,250,.25);background:#111827b3;color:#e5e7eb;cursor:pointer;transition:all .2s ease}.video-audio-fade-option:hover{border-color:#a78bfa7a}.video-audio-fade-option.is-active{color:#fff;background:linear-gradient(180deg,#8b5cf65c,#6d28d947);border-color:#c084fcb8}.editor-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;width:100%}.editor-actions--audio{display:flex;flex-direction:column;align-items:stretch;gap:8px}.editor-action-group{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:6px;padding:4px;border:1px solid rgba(148,163,184,.16);border-radius:8px;background:#0f172a57}.editor-action-group--primary{border-color:#8b5cf647;background:#4c1d951a}.editor-actions--audio .toolbar-btn{min-width:0;width:100%;padding-inline:8px;white-space:normal;line-height:1.25;font-size:11px}.editor-actions--audio .audio-manage-btn,.editor-actions--audio .audio-separation-btn{min-height:38px}.editor-actions--audio .primary-audio-action-btn{min-height:42px;font-size:12px;gap:7px}@media(max-width:1280px){.editor-actions--audio .toolbar-btn{padding-inline:6px;font-size:11px}}.editor-actions .toolbar-btn{flex:0 0 auto;min-width:110px;min-height:40px}.editor-actions--audio .toolbar-btn{flex:1 1 0;min-width:0}.modal-right-panel{width:400px;min-height:0;overflow:hidden;background:#1e1e24;border-left:1px solid #374151;display:flex;flex-direction:column}.workspace-mode-tabs{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid rgba(148,112,255,.35);border-radius:10px;background:#121022c7}.workspace-long-video-actions{display:inline-flex;align-items:stretch;gap:0}.workspace-long-video-actions.has-storyboard-action .workspace-mode-tab{border-radius:7px 0 0 7px}.workspace-mode-tab{border:0;border-radius:7px;padding:7px 13px;color:#b9b2ce;background:transparent;font-size:12px;font-weight:700;cursor:pointer}.workspace-mode-tab:hover,.workspace-mode-tab.is-active{color:#fff;background:linear-gradient(135deg,#7948e0bf,#522d9de6)}.workspace-qte-mode-button{width:86px;border:1px solid rgba(148,112,255,.35);border-radius:8px;padding:7px 13px;background:#121022c7}.workspace-storyboard-preview-button{border:1px solid rgba(219,189,106,.58);border-radius:0 6px 6px 0;margin-left:-1px;padding:7px 11px;color:#ffe4a1;background:#6a491233;font-size:12px;font-weight:700;cursor:pointer}.workspace-storyboard-preview-button:hover:not(:disabled){border-color:#ffe09a;background:#97681757}.workspace-storyboard-preview-button:disabled{cursor:not-allowed;opacity:.48}.qte-preset-sidebar,.qte-parameter-panel{height:100%;overflow:auto;padding:16px 14px;background:linear-gradient(180deg,#1b182afa,#14131efa)}.qte-parameter-panel{font-size:13px}.standalone-investigation-workspace .qte-timeline__header>strong{font-size:0}.standalone-investigation-workspace .investigation-change-background-button{min-width:96px;height:38px;padding:0 14px;border-color:#c084fcb8;background:#0f0c1e29;box-shadow:none;color:#e9d5ff}.standalone-investigation-workspace .investigation-change-background-button:hover:not(:disabled){background:#7c3aed29}.standalone-investigation-workspace .qte-timeline__header>strong:after{content:"";font-size:13px}.standalone-investigation-workspace .preview-display.main-preview{justify-content:center;align-items:center;min-height:0;overflow:hidden;container-type:size}.standalone-investigation-workspace .preview-placeholder.large{width:min(100%,960px,calc((100cqh - 46px) * 16 / 9))!important;height:auto!important;max-width:100%;max-height:calc(100cqh - 46px);aspect-ratio:16 / 9;flex:0 0 auto}.standalone-investigation-workspace .investigation-preview-playback-bar{width:100%;max-width:none;min-height:36px;flex:0 0 36px;align-self:stretch;box-sizing:border-box}.standalone-investigation-workspace .preview-placeholder.large>img,.standalone-investigation-workspace .preview-placeholder.large>video,.standalone-investigation-workspace .preview-placeholder.large video,.standalone-investigation-workspace .preview-placeholder.large img{width:100%;height:100%;aspect-ratio:16 / 9;object-fit:cover}.standalone-investigation-workspace .qte-media-timeline-row:nth-of-type(1),.standalone-investigation-workspace .qte-media-timeline-row:nth-of-type(2),.standalone-investigation-workspace .qte-media-timeline-row:nth-of-type(3),.standalone-investigation-workspace .qte-media-timeline-row:nth-of-type(4),.standalone-investigation-workspace .qte-media-timeline-row:nth-of-type(5){display:none}.standalone-investigation-workspace .qte-timeline__header>span{display:none}.standalone-investigation-workspace .qte-timeline__viewport{padding-bottom:6px}.standalone-investigation-workspace .qte-timeline__ruler{width:calc(100% - 68px);margin-left:68px}.standalone-investigation-workspace .qte-timeline__track{position:relative;height:52px;margin-left:68px}.standalone-investigation-workspace .qte-timeline__track:before{content:attr(data-investigation-label);position:absolute;right:calc(100% + 12px);top:50%;transform:translateY(-50%);color:#a9a2bb;font-size:12px;font-weight:700;white-space:nowrap}.standalone-investigation-workspace .qte-timeline__track:after{content:attr(data-investigation-event-label);position:absolute;z-index:0;top:4px;right:4px;bottom:4px;left:4px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(193,142,255,.72);border-radius:5px;color:#eadcff;background:linear-gradient(90deg,#7c3aedb8,#a855f78f);font-size:11px;font-weight:700;letter-spacing:.04em;pointer-events:none}.standalone-investigation-workspace .qte-timeline-event--investigation,.standalone-investigation-workspace .qte-timeline__disabled-tail{display:none}.standalone-investigation-workspace .qte-timeline-playhead{z-index:6;bottom:-58px}.investigation-audio-timeline-row{display:grid;grid-template-columns:68px minmax(0,1fr);align-items:center;height:52px;margin-top:6px}.investigation-audio-timeline-row__label{padding-right:12px;color:#a9a2bb;font-size:12px;font-weight:700;text-align:right}.investigation-audio-timeline-row__lane{display:flex;align-items:center;height:52px;overflow:hidden;box-sizing:border-box;padding:4px;border:1px solid rgba(140,103,218,.28);border-radius:8px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.035) 0,rgba(255,255,255,.035) 1px,transparent 1px,transparent 8.333%)}.investigation-audio-timeline-row__clip{display:flex;align-items:center;align-self:stretch;width:100%;box-sizing:border-box;padding:0 12px;border:1px solid rgba(87,211,227,.48);border-radius:6px;color:#c7f7ff;background:repeating-linear-gradient(90deg,#188090b8 0,#188090b8 3px,#105c6c94 3px,#105c6c94 6px);font-size:11px}.investigation-settings-tabs{display:flex;gap:8px;margin:0;padding:12px;background:transparent}.investigation-settings-tabs button{flex:1;min-height:30px;border:1px solid rgba(140,103,218,.32);border-radius:6px;color:#9d96ad;background:#0c101c52;font-size:12px;font-weight:700;cursor:pointer}.investigation-settings-tabs button:hover{color:#e9e4f2;background:#ffffff0d}.investigation-settings-tabs button.is-active{color:#f6f2ff;background:#7c3aedb3;box-shadow:0 2px 8px #4c1d9540}.investigation-audio-settings-panel{padding:8px 14px 16px;background:transparent;box-sizing:border-box}.investigation-audio-settings-panel .qte-parameter-panel__header{margin-bottom:14px}.investigation-audio-settings-fields{display:flex;min-height:100%;flex-direction:column;gap:12px}.investigation-audio-settings-fields>label{display:flex;flex-direction:column;gap:6px;color:#c7c0d3;font-size:13px;font-weight:700}.investigation-audio-settings-fields textarea{min-height:110px;max-height:160px;resize:vertical;border:1px solid rgba(148,163,184,.24);border-radius:6px;padding:8px 9px;color:#f8fafc;background:#020617b8;font-size:13px;line-height:1.45}.investigation-audio-settings-fields textarea:focus{outline:1px solid rgba(103,232,249,.7);border-color:#67e8f9b3}.investigation-audio-settings-info{position:relative;display:flex;align-items:center;gap:9px;min-height:52px;box-sizing:border-box;padding:8px 10px;border:1px solid rgba(87,211,227,.26);border-radius:6px;color:#73e4f2;background:#0c304142}.investigation-audio-settings-info>span{display:flex;min-width:0;flex:1 1 auto;flex-direction:column;gap:2px}.investigation-audio-settings-info small{color:#c7f7ff94;font-size:12px}.investigation-audio-settings-info strong{overflow:hidden;color:#d8fbff;font-size:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.investigation-audio-settings-loop{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:5px;min-height:30px;margin-right:6px;padding:0 8px;border:1px solid rgba(103,232,249,.28);border-radius:5px;color:#9edfe8;background:#082f4952;font-size:12px;font-weight:700;cursor:pointer}.investigation-audio-settings-loop.is-active{border-color:#67e8f9a6;color:#d8fbff;background:#0891b247}.investigation-audio-settings-loop:disabled{opacity:.48;cursor:not-allowed}.investigation-audio-settings-download{display:inline-flex;flex:0 0 auto;width:30px;height:30px;align-items:center;justify-content:center;margin-right:6px;padding:0;border:1px solid rgba(103,232,249,.28);border-radius:5px;color:#9edfe8;background:#082f4952;cursor:pointer}.investigation-audio-settings-download:hover{border-color:#67e8f9a6;color:#d8fbff;background:#0891b247}.investigation-audio-settings-download:focus-visible{outline:2px solid rgba(103,232,249,.8);outline-offset:2px}.investigation-audio-settings-delete{position:absolute;top:-9px;right:-9px;display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;padding:0;border:1px solid rgba(251,113,133,.7);border-radius:50%;color:#fecdd3;background:#7f1d1dc7;opacity:0;pointer-events:none;cursor:pointer;transition:opacity .15s ease,background .15s ease}.investigation-audio-settings-info:hover .investigation-audio-settings-delete,.investigation-audio-settings-delete:focus-visible{opacity:1;pointer-events:auto}.investigation-audio-settings-delete:hover{background:#be185deb}.investigation-audio-settings-delete:disabled{cursor:not-allowed}.standalone-investigation-workspace .investigation-audio-settings-actions{display:flex;gap:8px;margin-top:4px}.investigation-audio-settings-actions .toolbar-btn{flex:1;height:42px;min-height:42px;justify-content:center;font-size:13px}.investigation-audio-settings-hint{margin:0;color:#8f8aa0;font-size:12px;line-height:1.4}.investigation-audio-presets{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;gap:8px}.investigation-audio-presets__header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;color:#d8fbff;font-size:13px}.investigation-audio-presets__header small{color:#8f8aa0;font-size:11px;text-align:right}.investigation-audio-presets__list{display:flex;max-height:224px;flex-direction:column;gap:7px;overflow-y:auto;padding-right:2px}.investigation-audio-preset{display:flex;min-height:50px;align-items:center;gap:8px;padding:7px 8px;border:1px solid rgba(87,211,227,.18);border-radius:6px;background:#082f4929}.investigation-audio-preset__icon{display:inline-flex;color:#73e4f2}.investigation-audio-preset__content{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}.investigation-audio-preset__content strong{overflow:hidden;color:#d8fbff;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.investigation-audio-preset__content small{overflow:hidden;color:#c7f7ff8c;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.investigation-audio-preset__content strong small{display:inline;color:#c7f7ffb3;font-size:11px;font-weight:500}.investigation-audio-preset__preview,.investigation-audio-preset__use{display:inline-flex;min-height:28px;align-items:center;justify-content:center;border:1px solid rgba(103,232,249,.28);border-radius:5px;color:#9edfe8;background:#082f4952;cursor:pointer}.investigation-audio-preset__preview{width:28px;padding:0}.investigation-audio-preset__use{min-width:42px;gap:4px;padding:0 7px;font-size:11px;font-weight:700}.investigation-audio-preset__preview:hover,.investigation-audio-preset__use:hover{border-color:#67e8f9a6;color:#d8fbff;background:#0891b247}.investigation-audio-preset__use:disabled{cursor:not-allowed;opacity:.48}.investigation-audio-presets__error{margin:0;color:#fda4af;font-size:12px}.standalone-investigation-workspace .investigation-audio-settings-actions--bottom{position:sticky;bottom:-16px;z-index:2;margin-top:auto;padding:12px 0 16px;background:linear-gradient(to bottom,#18142d00,#18142dfa 20%)}.qte-preview-click-toggle{cursor:pointer}.qte-parameter-panel:has(.investigation-time-limit-fields) .qte-parameter-fields>label:nth-child(2){display:none}.qte-runtime-preview{position:absolute;z-index:12;top:0;right:0;bottom:0;left:0;overflow:hidden}.qte-runtime-preview .fixed{position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;z-index:3!important;padding:10px!important}.qte-runtime-preview .fixed>.max-w-xl{transform:scale(.52)!important;transform-origin:center}.qte-runtime-preview .fixed>.max-w-5xl{transform:scale(.52)!important;transform-origin:center}.qte-runtime-preview .qte-rhythm-challenge{padding:6px!important}.qte-runtime-preview .qte-rhythm-challenge>.max-w-md{width:min(46%,360px);padding:12px}.qte-runtime-preview .qte-rhythm-challenge__playfield{height:min(62vh,360px)!important}.qte-runtime-preview .qte-rhythm-challenge__playfield button{width:48px}.qte-runtime-preview .qte-rhythm-challenge__playfield>div>i,.qte-runtime-preview .qte-rhythm-challenge__playfield button{width:calc(100% - 14px)!important}.qte-runtime-preview .qte-rhythm-challenge__playfield>div:nth-child(5){right:0;bottom:34px;left:0;padding-right:0;padding-left:0}.qte-runtime-preview .qte-rhythm-challenge__playfield>div:nth-child(4){bottom:55px;height:6px}.qte-player-preview{position:absolute;z-index:11;left:50%;top:52%;width:min(280px,68%);min-height:132px;transform:translate(-50%,-50%);padding:13px 16px 12px;border:1px solid rgba(96,229,255,.76);border-radius:16px;color:#f2fdff;background:#030a19e0;box-shadow:0 0 28px #2cdaff38;cursor:grab;touch-action:none;text-align:center}.qte-player-preview:active{cursor:grabbing}.qte-player-preview__resize-handle{position:absolute;right:-7px;bottom:-7px;z-index:2;width:16px;height:16px;border:2px solid #e8fbff;border-radius:4px;padding:0;background:#40d8f4;box-shadow:0 0 10px #40d8f4d9;cursor:nwse-resize;touch-action:none}.qte-player-preview__resize-box{position:absolute;z-index:3;top:-10px;right:-10px;bottom:-10px;left:-10px;box-sizing:border-box;width:calc(100% + 20px);height:calc(100% + 20px);border:2px dashed rgba(94,231,255,.9);box-shadow:0 0 12px #40d8f459;pointer-events:none}.qte-player-preview__resize-corner{position:absolute;width:10px;height:10px;border:1px solid #e8fbff;border-radius:2px;padding:0;background:#40d8f4;box-shadow:0 0 7px #40d8f4e6;pointer-events:auto;touch-action:none}.qte-player-preview__resize-corner--top-left{top:-6px;left:-6px;cursor:nwse-resize}.qte-player-preview__resize-corner--top-right{top:-6px;right:-6px;cursor:nesw-resize}.qte-player-preview__resize-corner--bottom-left{bottom:-6px;left:-6px;cursor:nesw-resize}.qte-player-preview__resize-corner--bottom-right{right:-6px;bottom:-6px;cursor:nwse-resize}.qte-player-preview__resize-corner:hover,.qte-player-preview__resize-corner:active{background:#e8fbff;box-shadow:0 0 11px #5ee7ff}.qte-player-preview--drag-editor{position:absolute;z-index:11;top:0;right:0;bottom:0;left:0;width:auto;min-height:0;height:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none;cursor:default;pointer-events:none}.qte-drag-editor__knob,.qte-drag-editor__target{position:absolute;display:grid;place-items:center;box-sizing:border-box;padding:0;color:#ecfeff;font:inherit;transform:translate(-50%,-50%);touch-action:none;pointer-events:auto}.qte-drag-editor__knob{min-width:42px;min-height:42px;overflow:visible;border:0;border-radius:50%;background:transparent;box-shadow:none;cursor:grab}.qte-drag-editor__knob:active{cursor:grabbing}.qte-drag-editor__knob>div:first-child{width:100%;height:100%}.qte-drag-editor__knob>.qte-player-preview__resize-handle{width:16px;height:16px;min-width:0;min-height:0}.qte-drag-editor__target{min-width:54px;min-height:54px;border:2px dashed #facc15;border-radius:12px;background:#facc1524;box-shadow:inset 0 0 18px #facc1538,0 0 16px #facc155c;cursor:grab}.qte-drag-editor__target:active{cursor:grabbing}.qte-drag-editor__target span{color:#fef3c7;font-size:11px;font-weight:800;white-space:nowrap}.qte-drag-editor__knob:disabled,.qte-drag-editor__target:disabled{cursor:default;opacity:.72}.qte-player-preview--tap,.qte-player-preview--hold,.qte-player-preview--timing,.qte-player-preview--swipe,.qte-player-preview--sequence,.qte-player-preview--follow{min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.qte-player-preview__eyebrow{color:#62eaff;font-size:11px;font-weight:800;letter-spacing:.1em}.qte-player-preview__hint{display:block;margin-top:9px;color:#d3f6ff8c;font-size:10px}.qte-player-preview__tap strong,.qte-player-preview__hold strong{display:block;margin-top:17px;font-size:25px}.qte-player-preview__tap span{display:block;margin-top:4px;color:#62eaff;font-size:13px;font-weight:800}.qte-player-preview__drag{display:grid;grid-template-columns:26px 1fr 30px;align-items:center;gap:9px;margin:21px auto 0;max-width:190px;color:#66efff;font-size:25px}.qte-player-preview__drag i{height:2px;background:repeating-linear-gradient(90deg,#52e6ff 0 8px,transparent 8px 13px)}.qte-player-preview__drag small{grid-column:1 / -1;color:#bdeff7;font-size:11px}.qte-player-preview__hold i{display:block;width:82%;height:9px;margin:11px auto 0;overflow:hidden;border-radius:99px;background:#1a3947}.qte-player-preview__hold b{display:block;width:62%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#52e6ff,#a878ff)}.qte-player-preview__timing{position:relative;height:38px;margin:19px 18px 0;border-radius:99px;background:linear-gradient(90deg,#263644 0,#263644 38%,#3ed4a2 38%,#3ed4a2 62%,#263644 62%)}.qte-player-preview__timing i{position:absolute;left:29%;top:-5px;width:4px;height:48px;background:#fff}.qte-player-preview__timing b{position:relative;top:44px;color:#7ef6c7;font-size:11px}.qte-player-preview__timing span{display:block;height:15px}.qte-player-preview__swipe strong{display:block;margin-top:12px;color:#62eaff;font-size:45px;line-height:44px}.qte-player-preview__swipe span{color:#c8f8ff;font-size:13px;font-weight:700}.qte-player-preview__sequence,.qte-player-preview__rps{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:20px}.qte-player-preview__sequence b,.qte-player-preview__rps strong{display:grid;place-items:center;width:34px;height:34px;border:1px solid #62eaff;border-radius:50%;color:#fff;background:#14334b}.qte-player-preview__sequence i{color:#62eaff;font-style:normal}.qte-player-preview__follow{position:relative;height:54px;margin-top:14px}.qte-player-preview__follow span{position:absolute;left:27%;display:grid;place-items:center;width:38px;height:38px;border:2px solid #62eaff;border-radius:50%;color:#62eaff}.qte-player-preview__follow i{position:absolute;right:23%;top:12px;color:#c8f8ff;font-size:12px;font-style:normal}.qte-player-preview__football{position:relative;height:59px;margin-top:12px}.qte-player-preview__football i{position:absolute;left:26%;top:0;color:#80f2cb;font-size:42px;font-style:normal}.qte-player-preview__football b{position:absolute;left:49%;top:29px;font-size:18px}.qte-player-preview__football span{position:absolute;right:17%;bottom:1px;color:#f5df83;font-size:12px;font-weight:800}.qte-player-preview__track{position:relative;height:58px;margin-top:13px}.qte-player-preview__track i{position:absolute;inset:22px 17% auto;height:2px;background:linear-gradient(90deg,#62eaff,#a878ff);transform:rotate(-11deg)}.qte-player-preview__track b{position:absolute;display:grid;place-items:center;width:23px;height:23px;border:1px solid #62eaff;border-radius:50%;background:#12314a;font-size:11px}.qte-player-preview__track b:nth-of-type(1){left:21%;top:28px}.qte-player-preview__track b:nth-of-type(2){left:47%;top:13px}.qte-player-preview__track b:nth-of-type(3){right:18%;top:24px}.modal-content.dark-purple-theme.qte-workspace{position:relative}.qte-workspace .modal-body-wrapper{box-sizing:border-box;padding-bottom:226px}.qte-sidebar-heading,.qte-parameter-panel__header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:14px;color:#d9c8ff;font-size:15px;font-weight:800}.qte-parameter-panel__header{font-size:16px}.qte-sidebar-heading small,.qte-parameter-panel__header small{color:#9189a8;font-size:12px;font-weight:500}.qte-preset-list{display:grid;gap:10px}.qte-preset-list__more{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:34px;border:1px dashed rgba(116,207,255,.45);border-radius:8px;padding:7px 10px;color:#79e9ff;background:#4996c614;font-size:12px;font-weight:700;cursor:pointer}.qte-preset-list__more:hover{border-color:#79e9ff;background:#4996c629}.qte-preset-group+.qte-preset-group{margin-top:18px}.qte-preset-group__toggle{display:flex;align-items:center;justify-content:space-between;width:100%;margin:0 0 9px;border:0;padding:0;color:#62eaff;background:transparent;font-size:12px;font-weight:800;text-align:left;cursor:pointer}.qte-preset-group__toggle:hover{color:#a7f3ff}.qte-preset-group.is-collapsed .qte-preset-group__toggle{margin-bottom:0}.qte-preset-card{display:flex;align-items:center;gap:10px;width:100%;padding:11px;border:1px solid rgba(148,112,255,.2);border-radius:10px;color:#ddd8e9;background:#ffffff06;text-align:left;cursor:grab}.qte-preset-card:hover{border-color:#a67effd9;background:#744bcf33}.qte-preset-card.is-selected{border-color:#6ee7ff;background:linear-gradient(135deg,#32bbe947,#7a57e64d);box-shadow:inset 0 0 0 1px #9defff47,0 0 16px #3dd3ff38}.qte-preset-card.is-selected .qte-preset-card__icon{background:linear-gradient(135deg,#34d7f0,#626bff);box-shadow:0 0 10px #5ee3ff80}.qte-preset-card.is-selected small{color:#b7f4ff}.qte-preset-card:disabled{cursor:default;opacity:.58}.qte-preset-card__icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:8px;color:#fff;background:linear-gradient(135deg,#8753e8,#4b268d);font-size:16px}.qte-preset-card strong,.qte-preset-card small{display:block}.qte-preset-card strong{font-size:13px}.qte-preset-card small{margin-top:3px;color:#9991aa;font-size:11px}.qte-timeline{position:absolute;z-index:2;right:0;bottom:0;left:0;box-sizing:border-box;width:100%;height:226px;max-height:226px;margin-top:auto;padding:7px 14px 10px;overflow:hidden;border-top:1px solid #37333f;background:#1e1e24}.qte-timeline__header{display:flex;align-items:center;min-height:34px;gap:10px;padding-bottom:7px;border-bottom:1px solid rgba(255,255,255,.08);color:#cfc7e2;font-size:12px}.qte-timeline__header span{color:#89819d;font-size:11px}.qte-timeline__header output{margin-left:auto;color:#9b72ed}.qte-timeline-controls{display:flex;align-items:center;gap:6px;margin-left:auto}.qte-playback-rate-btn{min-width:46px;height:28px;border:1px solid rgba(163,106,244,.45);border-radius:5px;padding:0 8px;color:#d9c8ff;background:#1c142ddb;font-size:12px;font-weight:800;cursor:pointer}.qte-playback-rate-btn:hover{border-color:#bf91ff;background:#582f9175}.qte-playback-rate-btn:focus-visible{outline:none;border-color:#bf91ff;box-shadow:0 0 0 2px #a36af429}.qte-playhead-input{width:50px;margin-left:14px;border:1px solid rgba(163,106,244,.45);border-radius:5px;padding:4px 6px;color:#b98aff;background:#1c142ddb;font-size:12px;font-weight:800;text-align:center;outline:none}.qte-playhead-input:focus{border-color:#bf91ff;box-shadow:0 0 0 2px #a36af429}.qte-timeline-zoom{display:flex;align-items:center;gap:4px;margin-left:14px}.qte-timeline-zoom button{display:grid;width:21px;height:21px;place-items:center;border:1px solid rgba(150,117,223,.38);border-radius:5px;padding:0;color:#d9c8ff;background:#ffffff0a;font-weight:800;cursor:pointer}.qte-timeline-zoom button:hover{background:#925beb40}.qte-timeline-zoom input{width:120px;accent-color:#a36af4}.qte-timeline-zoom output{min-width:34px;color:#b98aff;font-size:11px;font-weight:800;text-align:right}.qte-timeline__viewport{width:100%;max-height:174px;overflow-x:auto;overflow-y:auto;padding-top:8px;scrollbar-width:thin}.qte-timeline__canvas{min-width:50%;transition:width .15s ease}.qte-media-timeline-row{display:grid;grid-template-columns:68px minmax(0,1fr);align-items:center;gap:0;min-height:38px;margin-bottom:6px}.qte-media-timeline-row__label{padding-right:12px;color:#a9a2bb;font-size:11px;font-weight:700;text-align:right;white-space:nowrap}.qte-media-timeline-row__track{position:relative;height:30px;overflow:hidden;border:1px solid rgba(140,103,218,.28);border-radius:6px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.035) 0,rgba(255,255,255,.035) 1px,transparent 1px,transparent 8.333%)}.qte-media-timeline-row__segment{position:absolute;top:3px;bottom:3px;display:flex;align-items:center;overflow:hidden;box-sizing:border-box;min-width:8px;padding:0 8px;border:1px solid rgba(168,85,247,.72);border-radius:4px;color:#f4ecff;background:linear-gradient(90deg,#7c3aedd1,#a855f794);font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.qte-media-timeline-row__segment.is-uploaded{border-color:#57d3e39e;color:#d8fbff;background:linear-gradient(90deg,#188090d1,#20b2c294)}.qte-media-timeline-row__empty{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;padding:0 8px;color:#948ca5b3;font-size:10px}.qte-workspace:not(.standalone-investigation-workspace) .qte-media-timeline-row{grid-template-columns:68px minmax(0,1fr);min-height:30px;margin-bottom:6px;order:0}.qte-workspace:not(.standalone-investigation-workspace) .qte-media-timeline-row__track{width:100%!important;box-sizing:border-box}.qte-workspace:not(.standalone-investigation-workspace) .qte-timeline__ruler{width:calc(100% - 68px);margin-left:68px;order:-2}.qte-workspace:not(.standalone-investigation-workspace) .qte-timeline__track{width:calc(100% - 68px);height:30px;margin-bottom:6px;margin-left:68px;box-sizing:border-box;order:-1}.qte-workspace:not(.standalone-investigation-workspace) .qte-timeline-event{top:3px;height:24px;margin-top:0}.qte-workspace:not(.standalone-investigation-workspace) .qte-timeline__track:before{position:absolute;right:calc(100% + 12px);top:50%;color:#a9a2bb;font-size:11px;font-weight:700;white-space:nowrap;content:"QTE";transform:translateY(-50%)}.qte-workspace:not(.standalone-investigation-workspace) .qte-timeline-playhead{z-index:8;top:-28px;bottom:-225px}.qte-workspace:not(.standalone-investigation-workspace) .qte-timeline__canvas{display:flex;flex-direction:column}.qte-timeline__ruler{position:relative;height:24px;margin:9px 0 0;border-top:1px solid rgba(255,255,255,.12);cursor:pointer;touch-action:none}.qte-timeline__ruler span{position:absolute;top:4px;color:#777087;font-size:10px;transform:translate(-50%)}.qte-timeline__ruler span:first-child{transform:none}.qte-timeline__ruler .qte-timeline__pause-boundary{z-index:2;top:1px;color:#d9b4ff;font-weight:800;text-shadow:0 1px 3px rgba(43,20,81,.9)}.qte-timeline__ruler .qte-timeline__pause-boundary--start{transform:translate(-2px)}.qte-timeline__ruler .qte-timeline__pause-boundary--end{transform:translate(calc(-100% + 2px))}.qte-timeline__ruler .qte-timeline__continuous-boundary{position:absolute;z-index:2;top:1px;color:#8ce8ff;font-size:10px;font-weight:800;text-shadow:0 1px 3px rgba(19,63,106,.9)}.qte-timeline__ruler .qte-timeline__continuous-boundary--start{transform:translate(-2px)}.qte-timeline__ruler .qte-timeline__continuous-boundary--end{transform:translate(calc(-100% + 2px))}.qte-timeline__track{position:relative;height:64px;overflow:visible;border:1px solid rgba(140,103,218,.28);border-radius:8px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.035) 0,rgba(255,255,255,.035) 1px,transparent 1px,transparent 8.333%)}.qte-timeline__disabled-tail{position:absolute;top:0;right:0;bottom:0;display:grid;place-items:center;border-left:1px dashed rgba(188,183,202,.5);color:#8b8793;background:repeating-linear-gradient(-45deg,#a5a0ae3d 0,#a5a0ae3d 5px,#65616f47 5px,#65616f47 10px);font-size:10px;pointer-events:none}.qte-timeline__disabled-tail span{padding:0 4px;text-align:center}.qte-timeline-playhead{position:absolute;z-index:3;top:-28px;bottom:-5px;width:18px;background:transparent;cursor:ew-resize;touch-action:none;transform:translate(-50%)}.qte-timeline-playhead:after{position:absolute;top:0;bottom:0;left:50%;width:2px;background:#f7c948;box-shadow:0 0 8px #f7c948cc;content:"";transform:translate(-50%)}.qte-timeline-playhead:before{position:absolute;z-index:1;top:-3px;left:50%;width:8px;height:8px;border-radius:50%;background:#ffd665;box-shadow:0 0 6px #f7c948e6;content:"";transform:translate(-50%)}.qte-timeline-event{position:absolute;z-index:4;top:13px;width:14px;min-width:0;height:36px;padding:0;overflow:visible;border:1px solid #d7baff;border-radius:7px;color:#fff;background:linear-gradient(180deg,#b57aff,#7740cb);box-shadow:0 0 12px #af6fff99;transform:translate(-50%);cursor:grab;touch-action:none;will-change:left}.qte-timeline-event:active{cursor:grabbing}.qte-timeline-event--duration{min-width:18px;border-radius:7px 4px 4px 7px;transform:none}.qte-timeline-event--pause{top:-1px;height:calc(100% + 2px);border-radius:0;background:linear-gradient(90deg,#b57aff,#7740cb);box-shadow:0 0 14px #af6fffb8}.qte-timeline-event--pause:after{display:none}.qte-timeline-event__pause-label{position:absolute;top:0;right:10px;bottom:0;left:10px;display:flex;align-items:center;justify-content:center;gap:8px;min-width:max-content;color:#fff;font-size:10px;line-height:1;pointer-events:none;text-shadow:0 1px 2px rgba(39,17,73,.8)}.qte-timeline-event__pause-label b{font-weight:800}.qte-timeline-event__pause-label em{padding:3px 5px;border-radius:3px;background:#2b145159;font-style:normal;font-weight:800;white-space:nowrap}.qte-timeline-event__resize-handle{position:absolute;z-index:2;top:-1px;bottom:-1px;width:10px;border:0;background:#ffffff38;cursor:ew-resize;touch-action:none}.qte-timeline-event__resize-handle:after{position:absolute;top:50%;left:50%;width:2px;height:20px;border-radius:2px;background:#ffffffeb;box-shadow:-3px 0 #ffffff8c,3px 0 #ffffff8c;content:"";transform:translate(-50%,-50%)}.qte-timeline-event__resize-handle--start{left:-1px;border-radius:0 3px 3px 0}.qte-timeline-event__resize-handle--end{right:-1px;border-radius:3px 0 0 3px}.qte-timeline-event__delete{position:absolute;z-index:6;top:-7px;right:-7px;display:grid;width:14px;height:14px;place-items:center;border:1px solid rgba(255,208,220,.9);border-radius:50%;color:#fff3f6;background:#d92f58;box-shadow:0 2px 6px #0006;font-size:11px;font-weight:900;line-height:1;cursor:pointer}.qte-timeline-event--duration:not(:hover) .qte-timeline-event__delete{display:none}.qte-timeline-event__delete:hover{background:#f1456d;transform:scale(1.08)}.qte-investigation-event__delete{position:absolute;z-index:6;top:-8px;right:-8px;display:none;width:16px;height:16px;place-items:center;border:1px solid rgba(255,208,220,.9);border-radius:50%;color:#fff3f6;background:#d92f58;box-shadow:0 2px 6px #0006;font-size:12px;font-weight:900;line-height:1;cursor:pointer}.qte-timeline-event--investigation:hover .qte-investigation-event__delete,.qte-investigation-event__delete:focus-visible{display:grid}.qte-investigation-event__delete:hover{background:#f1456d;transform:scale(1.08)}.qte-timeline-event--continuous{min-width:18px;border-radius:7px 4px 4px 7px;transform:none;background:linear-gradient(90deg,#36c5f0,#6977ff);box-shadow:0 0 12px #4babffa6}.qte-timeline-event--continuous:after{left:0;background:#8ce8ff;transform:none}.qte-timeline-event--continuous>span[aria-hidden=true]{position:absolute;top:50%;left:7px;margin:0;transform:translateY(-50%)}.qte-timeline-event__tooltip{position:absolute;bottom:calc(100% + 8px);left:50%;z-index:5;width:max-content;border:1px solid rgba(216,185,255,.68);border-radius:5px;padding:4px 7px;color:#f4eeff;background:#201433f5;box-shadow:0 4px 12px #00000061;font-size:11px;font-weight:700;line-height:1.2;pointer-events:none;transform:translate(-50%);white-space:nowrap}.qte-timeline-event:after{position:absolute;top:-11px;left:50%;width:1px;height:8px;background:#d7baff;content:"";transform:translate(-50%)}.qte-timeline-event>span[aria-hidden=true]{display:block;width:5px;height:5px;margin:auto;border-radius:50%;background:#fff;box-shadow:0 0 6px #fff}.qte-timeline__empty{display:grid;height:100%;place-items:center;color:#766e86;font-size:11px}.qte-parameter-fields{display:grid;gap:14px}.qte-parameter-fields>*{order:4}.qte-parameter-fields>.qte-parameter-timing-inputs{order:1}.qte-parameter-fields>.qte-trigger-reward-section{order:2}.qte-parameter-fields>.qte-gameplay-parameters{order:3}.qte-parameter-fields label{display:grid;gap:6px;color:#aca4bc;font-size:13px;font-weight:700}.investigation-time-limit-fields{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:10px}.investigation-time-limit-fields>label:first-child{grid-template-rows:auto 1fr}.investigation-time-limit-toggle{position:relative;display:inline-flex;align-self:center;justify-self:start;width:34px;height:18px;cursor:pointer}.investigation-time-limit-toggle input{position:absolute;width:1px;height:1px;margin:0;opacity:0}.investigation-time-limit-toggle:before{content:"";width:34px;height:18px;border-radius:999px;background:#64748b94;box-shadow:inset 0 0 0 1px #e2e8f024;transition:background .14s ease}.investigation-time-limit-toggle:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:#f8fafc;box-shadow:0 1px 3px #00000059;pointer-events:none;transition:transform .14s ease}.investigation-time-limit-toggle:has(input:checked):before{background:#a855f7}.investigation-time-limit-toggle:has(input:checked):after{transform:translate(16px)}.investigation-time-limit-toggle:has(input:disabled){cursor:not-allowed;opacity:.48}.investigation-time-limit-fields>label.is-disabled{color:#94a3b88f}.investigation-time-limit-fields>label.is-disabled input{border-color:#64748b52;background:#4755693d;color:#94a3b88c;box-shadow:none;cursor:not-allowed}.qte-parameter-fields label>span:has(input[type=checkbox]){display:flex;align-items:center;justify-content:space-between;min-height:20px}.qte-parameter-fields label>span:has(input[type=checkbox]) input[type=checkbox]{width:18px;height:18px;margin:0;padding:0;accent-color:#a36af4;cursor:pointer}.qte-parameter-fields label>span:has(input[type=checkbox]) input[type=checkbox]:disabled{cursor:not-allowed;opacity:.5}.qte-parameter-fields .investigation-time-limit-toggle input[type=checkbox]{position:absolute;width:1px;height:1px;margin:0;padding:0;opacity:0}.qte-parameter-timing-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.qte-parameter-fields label output{float:right;color:#a87cf4;font-weight:500;text-align:right}.qte-parameter-fields input:not([type=range]),.qte-parameter-fields textarea,.qte-parameter-fields select{width:100%;box-sizing:border-box;border:1px solid rgba(150,117,223,.35);border-radius:7px;padding:9px;color:#eeeafb;background:#171420;font:inherit;outline:none}.qte-parameter-fields textarea{min-height:70px;resize:vertical}.qte-parameter-fields input:focus,.qte-parameter-fields textarea:focus,.qte-parameter-fields select:focus{border-color:#a477ff}.qte-parameter-fields input[type=range]{width:100%;accent-color:#a36af4}.qte-result-target--success{color:#9eeecf!important}.qte-result-target--success select{border-color:#3ec99d85!important;background:#106f501f!important}.qte-result-target--success select option{color:#153b31;background:#f0fdf8}.qte-result-target--success select:disabled{border-color:#7d818b4d!important;color:#777986!important;background:#4d505b38!important;box-shadow:none;cursor:not-allowed;opacity:.72;filter:grayscale(1)}.qte-result-target--failure{color:#ffb0c4!important}.qte-result-target--failure select{border-color:#f26e9285!important;background:#801e3d1f!important}.qte-result-target--failure select option{color:#4a1728;background:#fff1f4}.qte-parameter-section{display:grid;gap:10px;border-top:1px solid rgba(154,124,223,.2);padding-top:14px}.qte-parameter-section>strong{color:#d9c8ff;font-size:14px}.qte-parameter-section>strong.qte-parameter-section__field-label{color:#aca4bc;font-size:13px;font-weight:700}.qte-parameter-section--split{grid-template-columns:1fr 1fr}.qte-parameter-section--split>strong{grid-column:1 / -1}.qte-trigger-reward-section>div{display:grid;gap:6px;color:#aca4bc;font-size:13px;font-weight:700}.qte-parameter-section--layout>small{grid-column:1 / -1;color:#89819d;font-size:12px}.qte-layout-editor{display:block}.qte-layout-editor summary{color:#d9c8ff;font-size:14px;font-weight:800;cursor:pointer}.qte-layout-editor[open]{display:block}.qte-layout-editor__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.qte-gameplay-parameters__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.qte-gameplay-parameters__checkbox{display:flex!important;align-items:center;gap:7px;align-self:end;min-height:34px}.qte-gameplay-parameters__checkbox{pointer-events:none}.qte-gameplay-parameters__checkbox input{width:auto!important;pointer-events:auto}@keyframes qte-view-hotspot-pulse{0%{opacity:0}to{opacity:var(--qte-hotspot-max-opacity, 1)}}.qte-view-hotspot-pulse{animation:qte-view-hotspot-pulse 1.2s ease-in-out infinite alternate}.qte-view-close-hotspot-pulse{filter:drop-shadow(0 0 10px currentColor)}.qte-gameplay-parameters>.grid>label>span.relative.flex.h-10{box-sizing:border-box;min-width:0;max-width:100%;width:100%;height:40px;min-height:40px;border:1px solid rgba(150,117,223,.35)!important;border-radius:7px!important;background:#171420!important;box-shadow:none!important}.qte-gameplay-parameters>.grid>label>span.relative.flex.h-10>span.h-7.w-7{flex:0 0 28px;width:28px!important;height:28px!important;aspect-ratio:1 / 1;border-radius:50%!important}.qte-gameplay-parameters>.grid>label>span.relative.flex.h-10>button:disabled{display:none}.qte-gameplay-parameters>.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.qte-gameplay-parameters>.qte-gameplay-parameters__transition-display-mode{grid-template-columns:minmax(0,1fr)}.qte-close-fields__text-color>span.relative.flex,.qte-close-fields__background-color>span.relative.flex{border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important}.qte-close-fields__text-color>span.relative.flex>input[type=color],.qte-close-fields__background-color>span.relative.flex>input[type=color]{position:static!important;display:block;width:100%;height:40px;border:1px solid rgba(150,117,223,.42);border-radius:7px;cursor:pointer;opacity:1!important}.qte-close-fields__text-color>span.relative.flex>span,.qte-close-fields__background-color>span.relative.flex>span{display:none}.qte-close-fields__background-color>span.relative.flex:has(>button:not(:disabled))>input[type=color]{width:70%;border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}.qte-close-fields__background-color>span.relative.flex:has(>button:disabled){border:1px solid rgba(150,117,223,.42)!important;background-color:#15131c!important;background-image:linear-gradient(45deg,rgba(255,255,255,.12) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.12) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.12) 75%),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.12) 75%)!important;background-position:0 0,0 6px,6px -6px,-6px 0!important;background-size:12px 12px!important}.qte-close-fields__background-color>span.relative.flex:has(>button:disabled)>input[type=color]{opacity:0!important}.qte-close-fields__background-color>span.relative.flex:has(>button:disabled)>span:nth-of-type(2){position:absolute;top:11px;right:14px;bottom:11px;left:14px;width:auto!important;height:auto!important;display:block!important;border:1px solid rgba(255,255,255,.16);border-radius:0;background-color:#15131c!important;background-image:linear-gradient(45deg,rgba(255,255,255,.16) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.16) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.16) 75%),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.16) 75%)!important;background-position:0 0,0 6px,6px -6px,-6px 0!important;background-size:12px 12px!important}.qte-gameplay-parameters>.qte-close-fields>label.qte-close-fields__background-color>span.relative.flex:has(>button:disabled)>span.h-7.w-7{flex:none;width:auto!important;height:auto!important;margin:0!important;aspect-ratio:auto;border-radius:0!important}.qte-gameplay-parameters>.grid>label{min-width:0}.qte-gameplay-parameters__media-heading,.qte-gameplay-parameters__close-heading{margin-top:2px;color:#d9c8ff;font-size:14px;font-weight:800}.qte-gameplay-parameters__media-heading{order:1}.qte-gameplay-parameters__close-heading{order:0;margin-top:12px}.qte-gameplay-parameters__media-heading,.qte-gameplay-parameters__close-heading{grid-column:1 / -1}.qte-gameplay-parameters__sequence{display:grid;gap:8px;color:#c9c1d7;font-size:13px;font-weight:800}.qte-gameplay-parameters__actions{display:flex;flex-wrap:wrap;gap:6px}.qte-gameplay-parameters__steps{display:flex;min-height:40px;flex-wrap:wrap;align-items:center;gap:6px;border:1px solid rgba(163,106,244,.2);border-radius:7px;padding:7px;background:#04071385}.qte-gameplay-parameters__actions button,.qte-gameplay-parameters__steps button{border:1px solid rgba(163,106,244,.35);border-radius:6px;padding:5px 8px;color:#d9c8ff;background:#5c369629;font-size:12px;font-weight:700;cursor:pointer}.qte-gameplay-parameters__steps button:hover{border-color:#f8717199;color:#fecaca}.qte-gameplay-parameters__actions button:disabled,.qte-gameplay-parameters__steps button:disabled{cursor:default;opacity:.5}.qte-gameplay-parameters__steps small,.qte-gameplay-parameters__empty{color:#89819d;font-size:12px}.qte-view-dialog-layout-settings{display:grid;grid-column:1 / -1;gap:8px;border:1px solid rgba(99,102,241,.32);border-radius:8px;padding:8px;background:#0a0c1e8c}.qte-view-dialog-layout-settings__open{border:1px solid rgba(99,102,241,.52);border-radius:7px;padding:8px;color:#e9e2ff;background:#4c1d954d;font-weight:800;cursor:pointer}.qte-view-dialog-layout-settings__open:disabled{cursor:default;opacity:.5}.qte-player-preview__remove-view-button{position:absolute;top:-30px;right:-30px;z-index:2;display:grid;width:20px;height:20px;place-items:center;border:1px solid #fecdd3;border-radius:50%;padding:0;color:#fff;background:#e11d48;box-shadow:0 1px 5px #0000008c;font-size:16px;font-weight:900;line-height:1;pointer-events:auto}.qte-player-preview__remove-view-button:hover{background:#fb7185}.qte-view-dialog-layout-settings__actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.qte-view-dialog-layout-settings__actions>span{display:flex;gap:8px}.qte-view-dialog-layout-settings__actions>.qte-view-dialog-layout-settings__left-actions{justify-content:flex-start}.qte-view-dialog-layout-settings__actions button{border:1px solid rgba(148,163,184,.42);border-radius:5px;padding:6px 9px;color:#e2e8f0;background:#1e293bcc;font-size:12px;font-weight:800}.qte-view-dialog-layout-settings__actions .qte-view-dialog-layout-settings__save{border-color:#2dd4bfb8;color:#ecfdf5;background:#059669}.qte-view-dialog-layout-settings__actions .qte-view-dialog-layout-settings__default{border-color:#7dd3fc7a;color:#cffafe;background:#082f4999}.qte-view-dialog-layout-settings__actions .qte-view-dialog-layout-settings__default:disabled{border-color:#94a3b833;color:#94a3b8;background:#47556961;cursor:default}.qte-view-dialog-layout-editor__player-layer{position:absolute;z-index:300;top:0;right:0;bottom:0;left:0;pointer-events:auto}.qte-view-dialog-layout-editor--player{position:absolute;top:0;right:0;bottom:0;left:0}.qte-view-dialog-layout-editor--player .qte-view-dialog-layout-editor__hint{display:none}.qte-view-dialog-layout-editor--player .qte-view-dialog-layout-editor__canvas{width:100%;height:100%;min-width:0;min-height:0;overflow:visible;aspect-ratio:auto;border:0;border-radius:0;background:transparent}.qte-view-dialog-layout-editor--player .qte-view-dialog-layout-editor__backdrop{background:#0000004d}.qte-view-dialog-layout-editor{display:grid;gap:8px;margin-top:9px}.qte-view-dialog-layout-editor__hint{margin:0;color:#9f98b2;font-size:12px;line-height:1.4}.qte-view-dialog-layout-editor__canvas{position:relative;overflow:hidden;aspect-ratio:16 / 9;container-type:size;border:1px solid rgba(125,211,252,.3);border-radius:7px;background:linear-gradient(135deg,#172038,#101526)}.qte-view-dialog-layout-editor__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#00000075}.qte-view-dialog-layout-editor__element{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;overflow:visible;box-sizing:border-box;text-align:center;-webkit-user-select:none;user-select:none;touch-action:none;cursor:move}.qte-view-dialog-layout-editor__background-media{position:absolute;z-index:0;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:fill;pointer-events:none}.qte-view-dialog-layout-editor__content{position:relative;z-index:1}.qte-view-dialog-layout-editor__element--panel{z-index:0;border:1px solid #059669;border-radius:10px;background:#003b2d}.qte-view-dialog-layout-editor__element--image{overflow:hidden;border-radius:6px;background:#022c22c7;color:#9ca3af}.qte-view-dialog-layout-editor__element--image.is-selected{overflow:visible}.qte-view-dialog-layout-editor__element--image.is-selected>img{overflow:hidden;border-radius:inherit}.qte-view-dialog-layout-editor__element--itemName,.qte-view-dialog-layout-editor__element--continueButton{border-radius:5px;font-weight:800}.qte-view-dialog-layout-editor__element--continueButton{background:#10b981}.qte-view-dialog-layout-editor__element.is-selected{outline:2px solid #67e8f9;outline-offset:2px}.qte-view-dialog-layout-editor__resize{position:absolute;right:-5px;bottom:-5px;width:10px;height:10px;border:1px solid #fff;border-radius:2px;background:#22d3ee;cursor:nwse-resize}.qte-view-dialog-layout-editor__controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.qte-view-dialog-layout-editor__controls label{display:grid;gap:3px;color:#aaa3bd;font-size:11px;font-weight:700}.qte-view-dialog-layout-editor__element-select{display:flex;gap:4px}.qte-view-dialog-layout-editor__element-select select{flex:1}.qte-view-dialog-layout-editor__element-select button{min-width:42px}.qte-view-dialog-layout-editor__controls input,.qte-view-dialog-layout-editor__controls select{min-width:0;border:1px solid rgba(148,163,184,.3);border-radius:4px;padding:4px 5px;color:#f3f4f6;background:#050818c2}.qte-view-dialog-layout-editor__controls button{align-self:end;border:1px solid rgba(125,211,252,.4);border-radius:4px;padding:5px;color:#cffafe;background:#082f498c;font-size:11px;font-weight:700}.qte-view-dialog-layout-editor__background-upload{position:relative;display:block}.qte-view-dialog-layout-editor__background-field{display:grid;gap:3px;color:#aaa3bd;font-size:11px;font-weight:700}.qte-view-dialog-layout-editor__background-upload-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.qte-view-dialog-layout-editor__background-upload-trigger{display:grid!important;width:100%;min-height:29px;place-items:center;border:1px solid rgba(125,211,252,.4);border-radius:4px;color:#cffafe;background:#082f498c;cursor:pointer}.qte-view-dialog-layout-editor__background-upload-trigger:hover{border-color:#67e8f9cc;background:#0e749075}.qte-view-dialog-layout-editor__background-upload button{position:absolute;top:50%;right:4px;display:grid;width:19px;height:19px;place-items:center;transform:translateY(-50%);border-color:#fb718585;border-radius:50%;padding:0;color:#fecdd3;background:#881337d1;font-size:15px;line-height:1}.qte-impact-editor,.qte-style-editor{border:1px solid rgba(150,117,223,.28);border-radius:8px;color:#c9c1d7;background:#ffffff06}.qte-parameter-section.qte-style-editor{grid-template-columns:repeat(2,minmax(0,1fr));border:0;border-radius:0;padding-top:14px;color:#c9c1d7;background:transparent}.qte-parameter-section.qte-style-editor>strong{grid-column:1 / -1}.qte-parameter-section.qte-style-editor>label{display:grid;gap:6px;color:#aca4bc;font-size:13px;font-weight:700}.qte-impact-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0;color:#9eeecf;font-size:13px;font-weight:800}.qte-impact-row--failure{color:#ffb0c4}.qte-impact-row button{border:1px solid currentColor;border-radius:6px;padding:5px 9px;color:inherit;background:transparent;font:inherit;cursor:pointer}.qte-impact-row button:disabled{opacity:.5;cursor:default}.qte-impact-group{display:grid;gap:7px;border:1px solid rgba(62,201,157,.28);border-radius:8px;padding:10px;color:#9eeecf;background:#106f501a}.qte-impact-group:has(>.space-y-2){position:relative}.qte-impact-group:has(>.space-y-2)>button:last-child{position:absolute;top:9px;right:10px;border:0;padding:0;color:#fb7185;background:transparent;font-size:12px;font-weight:800;cursor:pointer}.qte-impact-group:has(>.space-y-2)>button:last-child:hover{color:#fecdd3;text-decoration:underline}.qte-impact-group:has(>.space-y-2)>button:last-child:disabled{cursor:not-allowed;opacity:.48}.qte-impact-group:has(>.space-y-2)>.space-y-2>.flex{justify-content:center}.qte-impact-group:has(>.space-y-2)>.space-y-2>button{display:flex;margin-right:auto;margin-left:auto}.qte-impact-group--failure{border-color:#f26e9247;color:#ffb0c4;background:#801e3d1a}.qte-impact-summary{color:inherit;font-size:13px;font-weight:700;line-height:1.65;overflow-wrap:anywhere;white-space:normal}.qte-impact-editor summary,.qte-style-editor summary{padding:10px;color:#d9c8ff;font-size:13px;font-weight:800;cursor:pointer}.qte-impact-editor textarea{width:calc(100% - 20px);min-height:84px;margin:0 10px 10px;box-sizing:border-box;border:1px solid rgba(150,117,223,.35);border-radius:6px;padding:8px;color:#eeeafb;background:#171420;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace}.qte-style-editor[open]{display:grid;gap:9px;padding-bottom:10px}.qte-style-editor[open]>label{display:grid;gap:6px;margin:0 10px;color:#aca4bc;font-size:13px;font-weight:700}.qte-style-editor input[type=color]{width:100%;height:34px;padding:2px}.qte-parameter-empty{padding:20px 5px;color:#90889f;font-size:14px;line-height:1.7}.qte-delete-button{margin-top:4px;border:1px solid rgba(239,99,128,.45);border-radius:8px;padding:9px;color:#ffacbd;background:#9d254726;cursor:pointer}.qte-delete-button:disabled{opacity:.5;cursor:default}.node-original-content-script-button{margin-left:auto;border:1px solid rgba(148,112,255,.42);border-radius:7px;padding:4px 9px;color:#d8ccff;background:#6947ad29;font-size:11px;font-weight:700;cursor:pointer}.node-original-content-script-button:hover{color:#fff;border-color:#b190ffcc;background:#7c53cf57}.editor-container.side-editor{padding:12px 14px 10px;gap:10px;flex:1;display:flex;min-height:0;overflow:hidden}.side-editor .editor-box{flex:1;min-height:0;height:100%}.editor-box.main-prompt{flex:1;min-height:0;overflow:hidden;border-color:#4c1d95}.preview-display.main-preview{padding:0;display:flex;flex-direction:column;width:100%;flex:1;min-height:0;align-items:center;justify-content:center;gap:10px}.preview-action-bar{width:100%;display:flex;justify-content:center;gap:12px;flex-wrap:wrap;padding:12px 0 2px}.preview-action-btn{min-width:168px;height:42px;padding:0 28px;border-radius:10px;border:1px solid rgba(168,85,247,.7);background:linear-gradient(180deg,#7c3aed3d,#5b21b62e);color:#f5f3ff;font-size:14px;font-weight:600;letter-spacing:.02em;cursor:pointer;transition:all .25s cubic-bezier(.25,.46,.45,.94);box-shadow:0 0 0 1px #7c3aed29,0 8px 24px #4c1d952e}.preview-action-btn:hover{transform:translateY(-1px);box-shadow:0 0 0 1px #7c3aed4d,0 12px 32px #4c1d9547;background:linear-gradient(180deg,#8b5cf652,#6d28d93d)}.preview-action-btn:active{transform:scale(.96)}.preview-action-btn:disabled{cursor:not-allowed;opacity:.55;transform:none;box-shadow:none}.preview-action-btn.secondary{min-width:152px;background:#111827bf;border-color:#8b5cf652;box-shadow:0 0 0 1px #7c3aed14,0 6px 16px #0f172a33}.preview-action-btn.secondary:hover{background:#1f2937e0}.preview-action-btn--header{min-width:104px;height:34px;padding:0 14px;border-radius:8px;font-size:12px;box-shadow:0 0 0 1px #7c3aed1f,0 6px 18px #4c1d9524}.editor-actions .primary-audio-action-btn,.editor-actions .primary-video-action-btn,.editor-actions .primary-storyboard-action-btn{min-width:158px;min-height:46px;border-color:#7c3aed;background:#6d28d9;color:#fff;font-size:14px;font-weight:750}.editor-actions .primary-audio-action-btn:hover:not(:disabled),.editor-actions .primary-video-action-btn:hover:not(:disabled),.editor-actions .primary-storyboard-action-btn:hover:not(:disabled){border-color:#a78bfa;background:#7c3aed}.editor-actions .audio-manage-btn,.editor-actions .video-manage-btn,.editor-actions .storyboard-manage-btn{min-width:86px}.editor-actions--fresh-node{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);align-items:stretch;gap:8px;flex-wrap:nowrap}.editor-actions--fresh-node .toolbar-btn{width:100%;min-width:0}.editor-actions--fresh-node .fresh-node-upload-btn{min-height:44px;padding-inline:10px;white-space:normal;line-height:1.25}.editor-actions--fresh-node .fresh-node-primary-btn{min-height:54px;font-size:15px}@media(max-width:520px){.editor-actions--fresh-node{grid-template-columns:1fr}}.preview-action-btn--header.storyboard-preview-trigger{width:176px;min-width:176px;height:46px;padding:0 16px;font-size:14px;font-weight:700;flex:0 0 176px}.preview-action-btn--header.node-save-button{min-width:124px;height:42px;padding:0 18px;font-size:14px;font-weight:800;flex:0 0 auto;display:inline-flex;flex-direction:column;align-items:stretch;justify-content:center;gap:5px}.node-save-button__label{display:block;line-height:16px;text-align:center;white-space:nowrap}.node-save-button__progress{display:block;width:100%;height:3px;overflow:hidden;border-radius:2px;background:#fff3}.node-save-button__progress-value{display:block;height:100%;border-radius:inherit;background:#fff;transition:width .18s ease-out}.preview-action-btn--header.node-save-button.is-processing:disabled{opacity:1}@media(prefers-reduced-motion:reduce){.node-save-button__progress-value{transition:none}}.preview-action-btn--header.secondary{min-width:118px}.preview-action-btn--header.is-success{color:#d1fae5;border-color:#34d39975;background:#065f463d}.preview-action-btn--header.is-error{color:#fee2e2;border-color:#f8717180;background:#7f1d1d3d}.timeline-track-empty{position:absolute;top:3px;right:6px;bottom:3px;left:6px;min-width:0;min-height:0;margin:0;border:1px dashed rgba(139,92,246,.24);border-radius:5px;background:#0f172a5c;display:flex;align-items:center;justify-content:flex-start;overflow:hidden;text-align:left;color:#9ca3af;font-size:10px;line-height:1;padding:0 8px;white-space:nowrap}.timeline-track-empty>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timeline-track-empty.timeline-track-empty--compact{padding:0}.preview-placeholder{width:100%;height:280px;background:#0003;border:1px dashed #4c1d95;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.preview-placeholder.large{width:100%;height:auto;aspect-ratio:16 / 9;max-height:100%;flex:none;border:2px dashed #4c1d95}.preview-placeholder.large.loaded{border:1px solid #374151;border-radius:8px;background:#000;position:relative;container-type:inline-size;overflow:hidden;padding:0}.investigation-workbench-status{position:absolute;z-index:30;top:2.2cqw;left:2.2cqw;width:26cqw;box-sizing:border-box;border:max(1px,.09cqw) solid rgba(103,232,249,.78);border-radius:1.25cqw;padding:1.25cqw 1.4cqw;color:#ecfeff;background:#030a19e6;box-shadow:0 0 2.2cqw #22d3ee33;pointer-events:none}.investigation-workbench-status__header{display:flex;align-items:center;justify-content:space-between;gap:1.1cqw}.investigation-workbench-status__header strong{font-size:2.05cqw;line-height:1.05}.investigation-workbench-status__header span{color:#a5f3fc;font-size:1.5cqw;font-weight:700;white-space:nowrap}.investigation-workbench-status p{margin:.9cqw 0 0;color:#e2e8f0;font-size:1.5cqw;font-weight:600;line-height:1.4}.preview-image{width:100%;height:100%;object-fit:cover;display:block;transition:filter .3s ease}.preview-image--storyboard-grid{object-fit:contain;background:#090b14}.preview-video{width:100%;height:100%;object-fit:cover;display:block;background:#000}.preview-media--storyboard-visual{position:absolute;top:0;left:0;width:100%;height:130%;object-fit:fill;object-position:center top}.preview-image.is-hidden,.preview-video.is-hidden{display:none}.preview-video-context-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:170}.preview-video-context-menu{position:fixed;width:216px;padding:5px;border:1px solid rgba(139,92,246,.45);border-radius:8px;background:#171821;box-shadow:0 4px 8px #00000061}.preview-video-context-menu__item{width:100%;min-height:38px;padding:8px 10px;border:0;border-radius:5px;background:transparent;color:#f3f4f6;display:flex;align-items:center;gap:9px;font:inherit;font-size:13px;font-weight:600;text-align:left;cursor:pointer}.preview-video-context-menu__item:hover,.preview-video-context-menu__item:focus-visible{outline:none;background:#7c3aed3d;color:#fff}.preview-video-context-menu__item:disabled{cursor:not-allowed;opacity:.46;background:transparent}.play-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;cursor:pointer}.fresh-node-preview-actions{position:absolute;z-index:24;top:50%;left:50%;display:grid;grid-template-columns:minmax(150px,.85fr) minmax(210px,1.15fr);gap:10px;width:min(76%,520px);transform:translate(-50%,-50%)}.fresh-node-preview-action{min-width:0;min-height:48px;padding:10px 16px;border:1px solid rgba(196,181,253,.55);border-radius:8px;color:#f5f3ff;background:#1e1b2df0;font:inherit;font-size:14px;font-weight:650;line-height:1.3;cursor:pointer;transition:background-color .18s ease-out,border-color .18s ease-out}.fresh-node-preview-action:hover:not(:disabled){border-color:#c4b5fd;background:#37305cf5}.fresh-node-preview-action:focus-visible{outline:2px solid #c4b5fd;outline-offset:3px}.fresh-node-preview-action:disabled{cursor:not-allowed;opacity:.52}.fresh-node-preview-action>svg{flex:0 0 auto}.fresh-node-preview-action--upload{display:inline-flex;align-items:center;justify-content:center;gap:8px}.fresh-node-preview-action--primary{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:58px;border-color:#8b5cf6;background:#6d28d9;font-size:16px;font-weight:750}.fresh-node-preview-action--primary:hover:not(:disabled){border-color:#c4b5fd;background:#7c3aed}@media(max-width:680px){.fresh-node-preview-actions{grid-template-columns:1fr;width:min(82%,340px)}}.player-top-bar{position:absolute;top:0;left:0;right:0;padding:16px 20px;background:linear-gradient(to bottom,rgba(0,0,0,.6) 0%,transparent 100%);pointer-events:none;z-index:11}.player-title{color:#fff;font-size:14px;font-weight:500;text-shadow:0 1px 2px rgba(0,0,0,.8)}.player-bottom-bar{position:absolute;bottom:0;left:0;right:0;padding:40px 20px 16px;background:linear-gradient(to top,rgba(0,0,0,.8) 0%,transparent 100%);pointer-events:none;z-index:22;display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.player-subtitle-layer{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:12}.player-subtitle-transform-box{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;border:1px solid rgba(196,181,253,.78);border-radius:4px;background:#0f0c1e1a;box-shadow:0 0 0 1px #0f172a6b,0 0 12px #8b5cf61f;pointer-events:auto;cursor:move;touch-action:none;-webkit-user-select:none;user-select:none}.player-subtitle-transform-box.is-transforming{border-color:#c4b5fd;background:#0f0c1e47}.player-subtitle-resize-handle{position:absolute;width:12px;height:12px;border:1px solid #111827;border-radius:50%;background:#fff;box-shadow:0 1px 4px #00000080;touch-action:none}.player-subtitle-resize-handle[data-handle=nw]{top:-6px;left:-6px;cursor:nwse-resize}.player-subtitle-resize-handle[data-handle=n]{top:-6px;left:50%;transform:translate(-50%);cursor:ns-resize}.player-subtitle-resize-handle[data-handle=ne]{top:-6px;right:-6px;cursor:nesw-resize}.player-subtitle-resize-handle[data-handle=e]{top:50%;right:-6px;transform:translateY(-50%);cursor:ew-resize}.player-subtitle-resize-handle[data-handle=se]{right:-6px;bottom:-6px;cursor:nwse-resize}.player-subtitle-resize-handle[data-handle=s]{bottom:-6px;left:50%;transform:translate(-50%);cursor:ns-resize}.player-subtitle-resize-handle[data-handle=sw]{bottom:-6px;left:-6px;cursor:nesw-resize}.player-subtitle-resize-handle[data-handle=w]{top:50%;left:-6px;transform:translateY(-50%);cursor:ew-resize}.player-subtitle-text{width:100%;height:100%;max-width:none;min-height:0;padding:4px 12px;border-radius:10px;color:#fff;font-size:22px;line-height:1.45;font-weight:600;text-align:center;letter-spacing:.01em;white-space:normal;word-break:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;text-shadow:0 2px 10px rgba(0,0,0,.7),0 0 2px rgba(0,0,0,.95),1px 1px 0 rgba(0,0,0,.95),-1px 1px 0 rgba(0,0,0,.95),1px -1px 0 rgba(0,0,0,.95),-1px -1px 0 rgba(0,0,0,.95);opacity:0;transform:translateY(8px);transition:opacity .18s ease,transform .18s ease}.player-subtitle-text.visible{opacity:1;transform:translateY(0)}.player-subtitle-text.is-editable{pointer-events:auto;display:grid;align-items:center;width:100%;height:100%;max-width:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid transparent;background:transparent;cursor:text;font-family:inherit;transition:background-color .14s ease,border-color .14s ease}.player-subtitle-text.is-editable:hover,.player-subtitle-text.is-editable:focus-visible{border-color:#c4b5fd8c;background:#0f0c1e85;outline:none}.player-subtitle-text.is-inline-editing{pointer-events:auto;display:block;width:100%;height:100%;max-width:none;min-height:0;max-height:none;border:1px solid rgba(196,181,253,.55);border-radius:10px;background:#0f0c1e94;color:#f8fafc;cursor:text;font-family:inherit;resize:none;-webkit-line-clamp:unset;line-clamp:unset;overflow-y:auto;scrollbar-width:thin;-webkit-appearance:none;-moz-appearance:none;appearance:none}.player-subtitle-text.is-inline-editing:focus{border-color:#c4b5fd;outline:2px solid rgba(196,181,253,.22);outline-offset:1px}@media(prefers-reduced-motion:reduce){.player-subtitle-text.is-editable{transition:none}}.player-time{color:#fff;font-size:13px;font-family:monospace;text-shadow:0 1px 2px rgba(0,0,0,.8);letter-spacing:.5px}.player-playback-controls{display:inline-flex;align-items:center;gap:9px}.investigation-preview-playback-bar{position:relative;width:100%;min-height:36px;align-self:stretch;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;padding:4px 12px;border-top:1px solid rgba(140,103,218,.22);background:#100e1bd6}.investigation-preview-playback-bar .player-time{color:#ded7ec;text-shadow:none}.investigation-preview-playback-bar .player-playback-toggle{position:absolute;top:50%;left:50%;width:24px;height:24px;transform:translate(-50%,-50%)}.investigation-preview-playback-bar .player-playback-toggle svg{width:12px;height:12px}.investigation-preview-volume-control{display:inline-flex;align-items:center;gap:8px;min-width:0;margin-left:auto;color:#ded7ec;font-size:12px;white-space:nowrap}.investigation-preview-volume-slider-wrap{position:relative;display:inline-flex;width:clamp(110px,16vw,190px);min-width:0}.investigation-preview-volume-control input{width:100%;min-width:0;accent-color:#8b5cf6;cursor:pointer}.investigation-preview-volume-control output{position:absolute;bottom:calc(100% + 6px);z-index:1;padding:2px 5px;border:1px solid rgba(167,139,250,.56);border-radius:4px;background:#141122f0;color:#e9ddff;font-variant-numeric:tabular-nums;line-height:1.2;transform:translate(-50%);pointer-events:none}.player-playback-toggle{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(255,255,255,.46);border-radius:50%;color:#fff;background:#0a0a12b3;cursor:pointer;pointer-events:auto}.player-playback-toggle:hover{border-color:#d8b4fee6;background:#6d28d9b8}.player-playback-toggle:focus-visible{outline:2px solid #c4b5fd;outline-offset:2px}.player-volume-controls{display:inline-flex;align-items:center;gap:6px;pointer-events:auto;z-index:21;margin-left:auto;flex-wrap:nowrap}.uploaded-video-editor__box{display:flex;flex-direction:column}.uploaded-video-editor__content{flex:1;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px;color:#e5e7eb;text-align:center}.uploaded-video-editor__content strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}.uploaded-video-editor__content span{max-width:100%;color:#9ca3af;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.uploaded-video-editor__icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(139,92,246,.35);border-radius:8px;background:#4c1d9538;color:#c4b5fd}.uploaded-video-editor__icon svg{width:18px;height:18px}.uploaded-video-editor__footer{align-items:flex-end}.uploaded-video-editor__upload{display:inline-flex;align-items:center;gap:6px}.player-volume-popover{position:relative;width:36px;height:36px}.player-volume-trigger{width:36px;height:36px;padding:0;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:#080a10bd;color:#ffffffe6;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:border-color .18s ease,background-color .18s ease,color .18s ease}.player-volume-trigger:hover,.player-volume-trigger:focus-visible,.player-volume-popover:focus-within .player-volume-trigger{border-color:#a78bfab8;background:#1f1934f0;color:#fff;outline:none}.player-volume-trigger:focus-visible{box-shadow:0 0 0 2px #a78bfa6b}.player-volume-panel{position:absolute;right:0;bottom:42px;width:210px;padding:10px 12px 11px;border:1px solid rgba(167,139,250,.34);border-radius:8px;background:#171720;display:flex;flex-direction:column;gap:9px;opacity:0;visibility:hidden;transform:translateY(4px);pointer-events:none;transition:opacity .18s ease,transform .18s ease,visibility .18s ease}.player-volume-panel:after{content:"";position:absolute;right:0;bottom:-7px;width:42px;height:8px}.player-volume-popover:hover .player-volume-panel,.player-volume-popover:focus-within .player-volume-panel{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}.player-volume-panel__header{min-width:0;color:#e5e7eb;font-size:12px;line-height:1.2;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:12px}.player-volume-panel__header>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-volume-panel__header output{color:#c4b5fd;font-variant-numeric:tabular-nums}.player-volume-slider{width:100%;accent-color:#8b5cf6;cursor:pointer}@media(prefers-reduced-motion:reduce){.player-volume-trigger,.player-volume-panel{transition:none}}.player-center-btn{position:absolute;bottom:24px;left:50%;transform:translate(-50%);background:#0006;border:1px solid rgba(255,255,255,.1);border-radius:50%;width:48px;height:48px;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:24;transition:all .25s cubic-bezier(.25,.46,.45,.94);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.player-center-btn:hover{background:#0009;transform:translate(-50%) scale(1.1);box-shadow:0 4px 16px #0000004d}.player-center-btn:active{transform:translate(-50%) scale(.95);box-shadow:none}.player-center-btn svg{margin-left:3px}.player-center-btn.playing svg{margin-left:0}.sub-text{font-size:11px;color:#6b7280}@media(max-width:1180px){.reference-packaging-lightbox__dialog{width:min(92vw,1180px)}}@media(max-width:1280px){.long-video-diamond-scope .modal-right-panel{width:340px;min-width:340px}.long-video-diamond-scope .modal-center-content{min-width:0;padding-inline:12px}.long-video-diamond-scope .editor-container.side-editor{padding-inline:12px}}@media(max-width:1020px){.long-video-diamond-scope .modal-center-content{grid-column:2;grid-row:1;min-height:0;padding:10px 12px 8px}.long-video-diamond-scope .modal-right-panel{grid-column:2;grid-row:2;width:auto;min-width:0;min-height:0;border-top:1px solid #374151;border-left:0}.long-video-diamond-scope .editor-container.side-editor{min-height:0;padding:10px 12px}.long-video-diamond-scope .preview-placeholder.large{width:min(100%,calc((100vh - 470px) * 16 / 9))}.long-video-diamond-scope .player-bottom-bar{padding:32px 12px 10px}.long-video-diamond-scope .player-subtitle-layer{top:0;right:0;bottom:0;left:0}.long-video-diamond-scope .player-subtitle-text{min-height:44px;font-size:18px}}@media(max-width:820px){.long-video-diamond-scope .modal-center-content{padding-inline:8px}.long-video-diamond-scope .player-volume-controls{gap:6px}.long-video-diamond-scope .player-volume-panel{width:190px}}.long-video-diamond-scope .long-video-history-dialog{width:min(92vw,1100px);height:min(82vh,720px);max-height:88vh;display:flex;flex-direction:column;border-radius:16px;background:#141419;box-shadow:0 8px 8px #00000061}.long-video-history-header{min-height:82px;padding:18px 58px 16px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid rgba(255,255,255,.08);background:#19191f}.long-video-history-title{color:#fafafa;font-size:18px;font-weight:750;line-height:1.3}.long-video-history-subtitle{margin-top:6px;color:#b4b4bf;font-size:12px;line-height:1.5}.long-video-history-upload,.long-video-history-apply,.long-video-history-preview__error button{min-height:36px;padding:0 14px;border:1px solid rgba(167,139,250,.38);border-radius:8px;background:#24222d;color:#ede9fe;font-size:12px;font-weight:700;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,color .18s ease}.long-video-history-upload:hover,.long-video-history-preview__error button:hover{border-color:#c4b5fdb8;background:#302b40}.long-video-history-upload:focus-visible,.long-video-history-apply:focus-visible,.long-video-history-preview__error button:focus-visible,.long-video-history-item:focus-visible{outline:2px solid #a78bfa;outline-offset:-2px}.long-video-history-upload:disabled,.long-video-history-apply:disabled{cursor:not-allowed;opacity:.46}.long-video-history-error{margin:12px 20px 0;padding:10px 12px;border:1px solid rgba(248,113,113,.28);border-radius:8px;background:#7f1d1d2e;color:#fecaca;font-size:12px;line-height:1.5}.long-video-history-body{min-height:0;flex:1;display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr)}.long-video-history-list{min-height:0;overflow-y:auto;border-right:1px solid rgba(255,255,255,.08);background:#111116}.long-video-history-item{width:100%;min-height:94px;padding:14px 16px;display:flex;align-items:flex-start;gap:12px;border:0;border-bottom:1px solid rgba(255,255,255,.07);background:transparent;color:inherit;text-align:left;cursor:pointer;transition:background-color .18s ease,box-shadow .18s ease}.long-video-history-item:hover{background:#ffffff0b}.long-video-history-item.is-selected{background:#7c3aed29;box-shadow:inset 0 0 0 1px #a78bfa57}.long-video-history-item__index{width:32px;height:32px;flex:0 0 32px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#24242d;color:#c4b5fd;font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}.long-video-history-item__content{min-width:0;display:flex;flex:1;flex-direction:column;gap:5px}.long-video-history-item__title{min-width:0;display:flex;align-items:center;gap:7px;color:#f4f4f5;font-size:13px;font-weight:700;line-height:1.4}.long-video-history-item__title b{flex:0 0 auto;padding:2px 6px;border-radius:999px;background:#22c55e24;color:#bbf7d0;font-size:10px;font-weight:700}.long-video-history-item__meta,.long-video-history-item__time{overflow:hidden;color:#b4b4bf;font-size:11px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.long-video-history-item__time{color:#858591}.long-video-history-skeleton{min-height:94px;padding:18px 16px;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid rgba(255,255,255,.06);animation:long-video-history-pulse 1.2s ease-in-out infinite alternate}.long-video-history-skeleton span{height:9px;border-radius:5px;background:#292932}.long-video-history-skeleton span:nth-child(1){width:68%}.long-video-history-skeleton span:nth-child(2){width:88%}.long-video-history-skeleton span:nth-child(3){width:44%}@keyframes long-video-history-pulse{0%{opacity:.48}to{opacity:1}}.long-video-history-empty{min-height:220px;padding:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#a1a1aa;text-align:center}.long-video-history-empty strong{color:#e4e4e7;font-size:14px}.long-video-history-empty span{max-width:28ch;font-size:12px;line-height:1.6}.long-video-history-preview{min-width:0;min-height:0;padding:20px;display:flex;flex-direction:column;gap:14px;background:#17171c}.long-video-history-preview__stage{min-height:0;flex:1;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:10px;background:#07070a}.long-video-history-preview__stage video{width:100%;height:100%;max-height:100%;object-fit:contain}.long-video-audio-manager-preview__stage{min-height:240px;padding:24px}.long-video-audio-manager-preview__stage audio{width:min(100%,460px)}.long-video-history-preview__loading,.long-video-history-preview__error,.long-video-history-preview__placeholder{min-height:240px;display:flex;align-items:center;justify-content:center;gap:10px;color:#b4b4bf;font-size:12px;text-align:center}.long-video-history-preview__loading span{width:14px;height:14px;border:2px solid rgba(196,181,253,.24);border-top-color:#c4b5fd;border-radius:999px;animation:long-video-history-spin .8s linear infinite}@keyframes long-video-history-spin{to{transform:rotate(360deg)}}.long-video-history-preview__error{flex-direction:column;color:#fecaca}.long-video-history-preview__placeholder{flex:1}.long-video-history-preview__footer{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:18px}.long-video-history-preview__footer>div{min-width:0;display:flex;flex-direction:column;gap:4px}.long-video-history-preview__footer strong{overflow:hidden;color:#f4f4f5;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.long-video-history-preview__footer span{color:#9696a1;font-size:11px}.long-video-history-apply{min-width:112px;border-color:#7c3aed;background:#6d28d9;color:#fff}.long-video-history-apply:hover:not(:disabled){border-color:#8b5cf6;background:#7c3aed}@media(max-width:760px){.long-video-diamond-scope .long-video-history-dialog{width:94vw;height:88vh}.long-video-history-header{align-items:flex-start;padding-left:16px}.long-video-history-body{grid-template-columns:1fr;grid-template-rows:minmax(150px,34%) minmax(0,1fr)}.long-video-history-list{border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}.long-video-history-preview{padding:14px}}@media(prefers-reduced-motion:reduce){.long-video-history-item,.long-video-history-upload,.long-video-history-apply,.long-video-history-preview__error button{transition:none}.long-video-history-skeleton,.long-video-history-preview__loading span{animation:none}}.standalone-investigation-workspace .qte-preset-sidebar{display:none}.standalone-investigation-workspace .investigation-clue-sidebar{display:flex;flex-direction:column;gap:12px;height:100%;overflow:auto;padding:18px 14px}.investigation-clue-empty{color:#c4b5fdb8;font-size:12px;line-height:1.6}.investigation-clue-card{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px;padding:12px;border:1px solid rgba(139,92,246,.28);border-radius:14px;background:#141226d1;cursor:pointer;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease}.investigation-clue-card.is-selected{border-color:#a855f7e6;background:#301f4ac7;box-shadow:inset 3px 0 #a855f7,0 0 0 1px #a855f72e}.investigation-clue-card:not(.is-selected) .investigation-clue-card__config,.investigation-clue-card:not(.is-selected) .investigation-clue-card__actions{display:none}.investigation-clue-card:not(.is-selected) .investigation-clue-card__media{grid-row:1 / span 2}.investigation-clue-card__index{position:absolute;top:8px;right:10px;color:#c4b5fd;font-size:10px;font-weight:800;opacity:.7}.investigation-clue-card__delete{position:absolute;top:5px;right:6px;z-index:2;width:20px;height:20px;padding:0;border:0;background:transparent;color:#fb7185;font-size:20px;line-height:18px;cursor:pointer}.investigation-clue-card__delete:hover{color:#fda4af}.investigation-clue-card__media{position:relative;display:flex;align-items:center;justify-content:center;width:58px;height:58px;overflow:hidden;border:1px solid rgba(167,139,250,.35);border-radius:10px;background:linear-gradient(145deg,#334155cc,#0f0c1ee6);color:#d8b4fecc;font-size:25px;grid-row:1 / span 2}.investigation-clue-card__media img{width:100%;height:100%;object-fit:cover}.investigation-clue-card__upload{position:absolute;right:3px;bottom:3px;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;border:1px solid rgba(226,232,240,.7);border-radius:50%;background:#0f0c1ee0;color:#e9d5ff;font-size:11px;line-height:1}.investigation-clue-card__upload:hover{border-color:#c084fc;color:#c084fc}.investigation-clue-card .investigation-clue-card__delete-image{position:absolute;top:3px;right:3px;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;border:1px solid rgba(251,113,133,.85);border-radius:50%;background:#26101fe6;color:#fb7185;font-size:14px;line-height:1;opacity:0;pointer-events:none;transition:opacity .14s ease}.investigation-clue-card__media:hover .investigation-clue-card__delete-image,.investigation-clue-card .investigation-clue-card__delete-image:focus-visible{opacity:1;pointer-events:auto}.investigation-clue-card__body{min-width:0;display:contents}.investigation-clue-card input,.investigation-clue-card textarea{width:100%;border:1px solid rgba(139,92,246,.45);border-radius:8px;background:#0f0c1ecc;padding:8px;color:#f8fafc;font-size:12px}.investigation-clue-card__body>input{grid-column:2;border-color:transparent;background:transparent;padding:2px 0;font-size:14px;font-weight:700}.investigation-clue-card__body>textarea{grid-column:2;min-height:22px;max-height:42px;field-sizing:content;border-color:transparent;background:transparent;padding:0;color:#c4b5fdb8;resize:none;overflow-y:auto}.investigation-clue-card__actions{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:8px}.investigation-clue-card__config{grid-column:1 / -1;display:grid;gap:6px;padding:7px 0;border-top:1px solid rgba(139,92,246,.18);border-bottom:1px solid rgba(139,92,246,.18)}.investigation-clue-card__config label{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:7px;color:#e2e8f0ad;font-size:11px}.investigation-clue-card__config select{grid-column:2 / -1;min-width:0;border:1px solid rgba(139,92,246,.35);border-radius:6px;background:#0f0c1ed1;padding:5px 7px;color:#f8fafc;font-size:11px}.investigation-clue-card__config input[type=range]{width:100%;height:4px;accent-color:#a855f7}.investigation-clue-card__config output{min-width:20px;color:#ddd6fe;text-align:right}.investigation-clue-card .investigation-clue-required{position:relative;display:inline-flex;align-items:center;gap:6px;justify-self:start;color:#e2e8f0db;font-size:12px;cursor:pointer}.investigation-clue-card .investigation-clue-required input{position:absolute;width:1px;height:1px;margin:0;opacity:0}.investigation-clue-card .investigation-clue-required:before{content:"";width:30px;height:16px;border-radius:999px;background:#64748b8c;transition:background .14s ease}.investigation-clue-card .investigation-clue-required:after{content:"";position:absolute;left:2px;width:12px;height:12px;border-radius:50%;background:#f8fafc;transition:transform .14s ease;pointer-events:none}.investigation-clue-card .investigation-clue-required:has(input:checked):before{background:#a855f7}.investigation-clue-card .investigation-clue-required:has(input:checked):after{transform:translate(14px)}.investigation-clue-card button{justify-self:end;border:1px solid rgba(248,113,113,.45);border-radius:8px;background:#f43f5e1a;padding:6px 10px;color:#fecdd3;font-size:11px}.investigation-clue-card .investigation-clue-card__delete{position:absolute;top:-8px;right:-8px;z-index:3;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;justify-self:auto;border:1px solid rgba(248,113,113,.9);border-radius:50%;background:#26101ff5;padding:0;color:#fb7185;font-size:14px;line-height:16px;opacity:0;pointer-events:none;transition:opacity .14s ease,border-color .14s ease,background .14s ease,color .14s ease}.investigation-clue-card:hover .investigation-clue-card__delete,.investigation-clue-card .investigation-clue-card__delete:focus-visible{opacity:1;pointer-events:auto}.investigation-clue-card .investigation-clue-card__delete:hover{border-color:#fda4af;background:#7f1d37f2;color:#ffe4e6}.standalone-investigation-workspace .modal-right-panel .qte-parameter-fields{display:flex;flex-direction:column}.standalone-investigation-workspace .modal-right-panel{position:relative;min-height:0;overflow:hidden;background:#18142df0;border-left:1px solid rgba(139,92,246,.2)}.standalone-investigation-workspace .modal-right-panel>.qte-parameter-panel{min-height:0;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding-top:8px;border:0;border-radius:0;background:transparent}.standalone-investigation-workspace .modal-right-panel>.investigation-audio-settings-panel{min-height:0;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.standalone-investigation-workspace .modal-right-panel .qte-parameter-panel__header small{display:none}.standalone-investigation-workspace .modal-right-panel .investigation-trigger-duration>span{display:flex;align-items:center;gap:8px;margin-left:auto;color:#e2e8f0c7;font-size:12px}.standalone-investigation-workspace .modal-right-panel .investigation-trigger-duration:before{content:none}.standalone-investigation-workspace .modal-right-panel .investigation-trigger-duration input{width:54px;height:32px;min-height:32px;padding:4px 8px;box-sizing:border-box}.standalone-investigation-workspace .modal-right-panel .investigation-trigger-duration{order:2;display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;box-sizing:border-box;padding:6px 12px;border:1px solid rgba(139,92,246,.45);border-radius:8px;background:#0f0c1e8c;font-size:13px}.investigation-trigger-duration-standalone{position:absolute;top:238px;left:16px;right:16px;margin:0;z-index:1;display:flex;align-items:center;gap:8px;color:#e2e8f0c7;font-size:12px}.investigation-trigger-duration-standalone input{width:54px;border:1px solid rgba(139,92,246,.45);border-radius:8px;background:#0f0c1ecc;padding:8px;color:#f8fafc}.standalone-investigation-workspace .modal-right-panel .qte-parameter-fields>label:nth-child(1),.standalone-investigation-workspace .modal-right-panel .qte-parameter-fields>label:nth-child(2){display:none}.standalone-investigation-workspace .modal-right-panel .qte-parameter-fields>label:nth-child(3){order:1}.standalone-investigation-workspace .modal-right-panel .qte-parameter-fields>label:nth-child(3) textarea{height:54px;min-height:54px;resize:none}.standalone-investigation-workspace .modal-right-panel .qte-parameter-fields>.investigation-time-limit-fields{order:4}.standalone-investigation-workspace .modal-right-panel .qte-parameter-fields>label:nth-child(5){order:2}.standalone-investigation-workspace .modal-right-panel .qte-parameter-fields>label:nth-child(7){display:grid;order:2.5;font-size:13px}.standalone-investigation-workspace .modal-right-panel .qte-parameter-fields>label:nth-child(7):before{content:none}.standalone-investigation-workspace .modal-right-panel .qte-parameter-fields>label:nth-child(7) select{font-size:13px}.standalone-investigation-workspace .modal-right-panel .qte-parameter-fields>label:nth-child(6){order:3}.standalone-investigation-workspace .modal-right-panel .qte-parameter-fields>.qte-parameter-section--split{order:5}.standalone-investigation-workspace .modal-right-panel .qte-parameter-fields>.qte-parameter-section:not(.qte-parameter-section--split){order:6}.subtitle-appearance-editor{display:grid;gap:10px;margin:0;padding:12px 16px;border-top:1px solid #302c39;border-bottom:1px solid #302c39;background:#19171f}.editor-box.main-prompt--subtitle{overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;overscroll-behavior:contain}.main-prompt--subtitle .editor-header{order:0;flex:0 0 auto;position:sticky;top:0;z-index:4;background:#1e1e24}.main-prompt--subtitle .editor-rich-prompt{order:1;flex:0 0 auto;min-height:170px;padding:16px;overflow:visible;border-bottom:1px solid #302c39;background:#1b1921}.main-prompt--subtitle .subtitle-appearance-editor{order:2;flex:0 0 auto}.main-prompt--subtitle .editor-footer{order:3;flex:0 0 auto}.main-prompt--subtitle .editor-token-picker{position:absolute}.subtitle-appearance-editor__header{display:flex;align-items:center;justify-content:space-between;gap:12px}.subtitle-appearance-editor__header strong{color:#e8e5ee;font-size:12px;font-weight:650}.subtitle-appearance-editor__header span,.subtitle-appearance-editor label>span{color:#817c8d;font-size:10px}.subtitle-appearance-editor__title{display:inline-flex;align-items:center;gap:7px;color:#a78bfa!important}.subtitle-appearance-editor__row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.subtitle-appearance-editor label{display:grid;gap:5px;min-width:0}.subtitle-appearance-editor select,.subtitle-appearance-editor input[type=number]{width:100%;min-width:0;height:32px;padding:0 8px;color:#dedbe5;border:1px solid #35313d;border-radius:6px;outline:none;background:#222029;font-size:11px}.subtitle-appearance-editor select:focus,.subtitle-appearance-editor input[type=number]:focus{border-color:#8b5cf6}.subtitle-appearance-editor__number-range{display:grid;grid-template-columns:minmax(0,1fr) 52px;align-items:center;gap:8px}.subtitle-appearance-editor input[type=range]{width:100%;accent-color:#8b5cf6}.subtitle-appearance-editor__toolbar{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #302c38;border-radius:7px;background:#15131a}.subtitle-appearance-editor__toolbar>button{display:inline-flex;width:29px;height:28px;align-items:center;justify-content:center;color:#918b9d;border:1px solid transparent;border-radius:5px;background:transparent;font-size:11px;transition:color .12s ease,background .12s ease,border-color .12s ease}.subtitle-appearance-editor__toolbar>button:hover:not(:disabled){color:#f4f1f8;background:#292530}.subtitle-appearance-editor__toolbar>button.is-active{color:#ddd2ff;border-color:#8b5cf673;background:#7c3aed38}.subtitle-appearance-editor__toolbar>i{width:1px;height:18px;margin:0 3px;background:#383440}.subtitle-appearance-editor__color{display:flex!important;grid-template-columns:none!important;flex-direction:row;align-items:center;gap:6px!important;margin-left:auto}.subtitle-appearance-editor__color input{width:24px;height:24px;padding:1px;border:1px solid #44404c;border-radius:50%;background:transparent;overflow:hidden}.modal-tracks.timeline-mode{height:226px;background:#1e1e24;border-top:1px solid #374151;display:flex;flex-direction:column;position:relative}.timeline-toolbar{height:34px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border-bottom:1px solid #2d2d35;background:#18181d}.toolbar-title{font-size:12px;color:#d1d5db}.toolbar-title-group{display:flex;align-items:center;gap:8px}.timeline-inline-controls{flex:1 1 auto;min-width:0;display:flex;align-items:center;justify-content:flex-start;gap:8px;padding-inline:10px;overflow-x:auto}.audio-setting-ui{height:30px;min-width:0;display:inline-flex;align-items:center;gap:7px;padding:0 8px;border:1px solid rgba(99,74,168,.82);border-radius:5px;color:#c4d0ff;background:#18181d;white-space:nowrap}.audio-setting-ui.is-enabled{border-color:#634aa8d1;color:#c4d0ff;background:#18181d}.audio-setting-ui__label{font-size:11px;font-weight:600;line-height:1}.audio-setting-ui__select-wrap{position:relative;display:inline-flex;align-items:center;color:currentColor}.audio-setting-ui__select-wrap select{height:26px;min-width:70px;padding:0 20px 0 7px;border:0;border-left:1px solid rgba(139,92,246,.3);border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;color:#f1efff;background:transparent;font:inherit;font-size:11px;cursor:pointer}.audio-setting-ui__select-wrap select:focus-visible{outline:2px solid #a78bfa;outline-offset:1px}.audio-setting-ui__select-wrap select:disabled{cursor:not-allowed;opacity:.5}.audio-setting-ui__select-wrap select option{color:#e5e7eb;background:#24242c}.audio-setting-ui__select-wrap svg{position:absolute;right:4px;pointer-events:none}.audio-bridge-ui{height:26px;display:inline-flex;align-items:center;gap:7px;padding:0 8px;border:1px solid rgba(139,92,246,.38);border-radius:5px;color:#c9c5e7;background:#4c1d951a;white-space:nowrap}.audio-bridge-ui.is-enabled{border-color:#f59e0b94;color:#fde68a;background:#78350f2e}.audio-bridge-ui__label{font-size:11px;line-height:1}.audio-bridge-ui__select-wrap{position:relative;display:inline-flex;align-items:center;color:currentColor}.audio-bridge-ui__select-wrap select{height:22px;min-width:70px;padding:0 20px 0 7px;border:0;border-left:1px solid rgba(139,92,246,.3);border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;color:#f1efff;background:transparent;font:inherit;font-size:11px;cursor:pointer}.audio-bridge-ui__select-wrap select:focus-visible{outline:2px solid #a78bfa;outline-offset:1px}.audio-bridge-ui__select-wrap select:disabled{cursor:not-allowed;opacity:.5}.audio-bridge-ui__select-wrap select option{color:#e5e7eb;background:#24242c}.audio-bridge-ui__select-wrap svg{position:absolute;right:4px;pointer-events:none}.toolbar-hint{font-size:10px;color:#8f96aa;letter-spacing:.02em}.toolbar-actions{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:nowrap;justify-content:flex-end;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.toolbar-actions>*{flex:0 0 auto}.toolbar-btn{background:#2d2d35;border:1px solid transparent;border-radius:4px;color:#d1d5db;font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s cubic-bezier(.25,.46,.45,.94)}.toolbar-btn:hover{background:#374151;transform:translateY(-1px)}.toolbar-btn:active{transform:scale(.95)}.toolbar-btn.text-btn{padding:3px 10px;color:#f97316;background:#f973161a;border:1px solid rgba(249,115,22,.3);white-space:nowrap}.toolbar-btn.text-btn.outline{color:#d1d5db;background:transparent;border:1px solid #4b5563;gap:6px}.playback-rate-btn{min-width:52px;color:#c4b5fd;border-color:#8b5cf673;background:#5b21b624}.playback-rate-btn:hover{background:#5b21b638;border-color:#a78bfab3}.toolbar-btn.text-btn.outline:hover{background:#2d2d35;border-color:#6b7280}.uploaded-video-audio-extract-btn{color:#a5f3fc!important;border-color:#22d3ee7a!important;background:#0891b21f!important}.uploaded-video-audio-extract-btn:hover:not(:disabled){color:#cffafe!important;border-color:#67e8f9c7!important;background:#0891b238!important}.uploaded-video-audio-extract-btn:disabled{cursor:not-allowed;opacity:.58}.uploaded-video-audio-extract-btn__loading{animation:long-video-subtitle-spin .9s linear infinite}.primary-audio-action-btn--toolbar{min-width:118px;min-height:30px;border-color:#7c3aed!important;background:#6d28d9!important;color:#fff!important;font-size:13px;font-weight:750}.primary-audio-action-btn--toolbar:hover:not(:disabled){border-color:#a78bfa!important;background:#7c3aed!important}.video-audio-reference-select{height:26px;padding-left:8px;border:1px solid #4b5563;border-radius:5px;background:transparent;color:#9ca3af;display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;transition:border-color .18s ease-out,background-color .18s ease-out,color .18s ease-out}.first-frame-enhance-btn{color:#bbf7d0!important;border-color:#22c55e7a!important;background:#15803d1f!important}.first-frame-enhance-btn:hover:not(:disabled){color:#dcfce7!important;border-color:#4ade80b8!important;background:#15803d38!important}.video-audio-reference-select:hover{border-color:#a78bfab8;background:#5b21b624;color:#ede9fe}.video-audio-reference-select:focus-within{outline:2px solid #a78bfa;outline-offset:2px}.video-audio-reference-select__label{white-space:nowrap}.video-audio-reference-select select{height:24px;min-width:76px;padding:0 22px 0 5px;border:0;border-radius:4px;background:#22222a;color:#e5e7eb;font:inherit;cursor:pointer;outline:none}.video-audio-reference-select select:disabled{cursor:not-allowed;color:#777f8e}.video-audio-reference-select:has(select:disabled){cursor:not-allowed;opacity:.42}.video-audio-reference-select.is-enabled{border-color:#8b5cf694;background:#5b21b629;color:#ddd6fe}.video-audio-reference-select.is-enabled select{background:#4c1d9561;color:#f5f3ff}.primary-video-action-btn{min-width:132px;min-height:40px;padding:0 18px!important;font-size:14px!important;font-weight:700;color:#f5f3ff!important;background:linear-gradient(135deg,#8b5cf6,#6d28d9)!important;border:1px solid rgba(196,181,253,.45)!important;box-shadow:0 10px 24px #6d28d947}.primary-video-action-btn:hover{background:linear-gradient(135deg,#9f67ff,#7c3aed)!important;border-color:#ddd6fecc!important;box-shadow:0 12px 28px #6d28d959}.primary-video-action-btn.is-busy,.primary-video-action-btn:disabled{color:#efe9ff!important;background:linear-gradient(135deg,#5b21b6,#4c1d95)!important;border-color:#a78bfa8c!important;box-shadow:0 8px 18px #4c1d9547}.toolbar-btn:disabled{opacity:.45;cursor:not-allowed}.toolbar-btn:disabled:hover,.toolbar-btn:disabled:active{background:inherit;border-color:inherit;transform:none}.toolbar-btn.icon-btn{width:24px;height:24px}.toolbar-btn.icon-btn svg{width:16px;height:16px}.toolbar-btn.undo-delete-btn{color:#c4b5fd;background:#5b21b61f;border-color:#8b5cf64d}.toolbar-btn.undo-delete-btn:hover:not(:disabled){color:#f5f3ff;background:#5b21b63d;border-color:#a78bfa9e}.toolbar-btn.error{color:#ef4444}.toolbar-btn.error:hover{background:#ef44441a}.toolbar-btn.error:disabled{color:#6b7280;background:transparent;cursor:not-allowed;opacity:.55}.toolbar-divider{width:1px;height:16px;background:#374151;margin:0 4px}.timeline-zoom-control{display:inline-flex;align-items:center;gap:5px;margin-left:4px;color:#cbd5e1}.video-frame-reference-options{height:26px;display:inline-flex;align-items:stretch;overflow:hidden;border:1px solid #4b5563;border-radius:5px}.video-frame-reference-toggle{min-width:50px;padding:0 7px;display:inline-flex;align-items:center;justify-content:center;gap:4px;border-right:1px solid #4b5563;color:#9ca3af;background:transparent;font-size:11px;font-weight:600;white-space:nowrap;cursor:pointer}.video-frame-reference-toggle:last-child{border-right:0}.video-frame-reference-toggle:hover,.video-frame-reference-toggle.is-enabled{color:#ede9fe;background:#5b21b633}.video-frame-reference-toggle.is-enabled{box-shadow:inset 0 0 0 1px #a78bfa6b}.video-frame-reference-toggle:has(input:focus-visible){outline:2px solid #a78bfa;outline-offset:-2px}.video-frame-reference-toggle:has(input:disabled){opacity:.42;cursor:not-allowed}.video-frame-reference-toggle input{width:12px;height:12px;margin:0;accent-color:#8b5cf6}.timeline-zoom-control button{display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;border:1px solid rgba(148,163,184,.28);border-radius:5px;background:#22222a;color:#d8dee9;font-size:14px;line-height:1;cursor:pointer}.timeline-zoom-control button:hover:not(:disabled){border-color:#a78bfaa8;background:#5b21b633;color:#f5f3ff}.timeline-zoom-control button:disabled{cursor:not-allowed;opacity:.38}.timeline-zoom-control input[type=range]{width:92px;height:18px;margin:0;accent-color:#8b5cf6;cursor:ew-resize}.timeline-zoom-control output{min-width:38px;color:#aeb7c6;font-size:10px;font-variant-numeric:tabular-nums;text-align:center}.timeline-scroll-area{flex:1;overflow-y:hidden;overflow-x:auto;display:flex;flex-direction:column;position:relative;background:#18181d}.playhead-line{position:absolute;top:0;bottom:0;left:var(--timeline-start-offset, 78px);width:1px;background-color:#fbbf24;z-index:50;pointer-events:none;transform:translate(0);transition:transform .1s linear}.timeline-snap-guide{position:absolute;top:0;bottom:0;width:1px;background:#22d3ee;box-shadow:0 0 0 1px #22d3ee38,0 0 8px #22d3eeb8;z-index:49;pointer-events:none}.playhead-handle{position:absolute;top:0;left:-3.5px;width:8px;height:8px;border-radius:50%;background-color:#fbbf24;pointer-events:auto;cursor:ew-resize}@media(max-width:1020px){.long-video-diamond-scope .timeline-toolbar{gap:10px}.long-video-diamond-scope .toolbar-title-group{flex:0 0 auto}.long-video-diamond-scope .timeline-inline-controls{flex:0 0 auto;padding-inline:2px}.long-video-diamond-scope .timeline-zoom-control input[type=range]{width:68px}.long-video-diamond-scope .toolbar-actions{flex:1;min-width:0;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;padding-block:4px;scrollbar-width:thin}.long-video-diamond-scope .toolbar-actions>*{flex:0 0 auto}}@media(prefers-reduced-motion:reduce){.long-video-diamond-scope .playhead-line,.long-video-diamond-scope .toolbar-btn,.long-video-diamond-scope .primary-video-action-btn,.long-video-diamond-scope .video-audio-reference-select,.long-video-diamond-scope .video-frame-reference-toggle{transition:none}}.timeline-ruler{height:20px;background:#1e1e24;border-bottom:1px solid #2d2d35;position:sticky;top:0;z-index:12;overflow:visible;display:flex;width:max-content;min-width:100%}.timeline-ruler__header-spacer{position:sticky;left:0;z-index:14;width:var(--timeline-start-offset, 78px);min-width:var(--timeline-start-offset, 78px);height:100%;border-right:1px solid #2d2d35;background:#1e1e24}.timeline-ruler__content{position:relative;display:block;align-items:center;width:max-content;height:100%;margin-left:0;padding-right:var(--timeline-end-gutter, 16px)}.timeline-ruler__content:before,.timeline-ruler__content:after{content:"";position:absolute;top:0;bottom:-1px;width:1px;pointer-events:none}.timeline-ruler__content:before{left:0;background:#a8b4cc57}.timeline-ruler__content:after{left:var(--timeline-content-width, 0px);background:#8b5cf68c;box-shadow:0 0 0 1px #8b5cf61f}.timeline-ruler__end-cap{position:absolute;top:0;bottom:0;left:var(--timeline-content-width, 0px);width:var(--timeline-end-gutter, 16px);background:linear-gradient(90deg,#8b5cf62e,#8b5cf605);pointer-events:none}.timeline-ruler__end-label{position:absolute;top:2px;transform:translate(-50%);font-size:9px;color:#a78bfa;white-space:nowrap;box-shadow:0 1px 2px #0003}.tick{position:absolute;top:0;width:max-content;font-size:9px;color:#6b7280;padding-left:4px;transform:translate(0)}.tick--origin{color:#cbd5e1}.tick:before{content:"";position:absolute;left:0;top:0;height:4px;width:1px;background:#4b5563}.timeline-tracks-container{padding:8px 0 6px;flex:1;display:flex;flex-direction:column;width:max-content;min-width:100%}.timeline-row{display:flex;position:relative;margin-bottom:2px;width:max-content;min-width:100%}.timeline-row--subtitle.is-track-hidden .timeline-track{opacity:.42}.timeline-row--subtitle.is-track-hidden .track-header{color:#fca5a5}.timeline-row--subtitle.is-recognizing .track-header>span{color:#bfdbfe}.track-header{width:78px;min-width:78px;background:#18181d;border-right:1px solid #2d2d35;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9ca3af;font-size:9px;gap:2px;z-index:20;position:sticky;left:0;flex:0 0 78px}.track-audio-toggle{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:999px;border:1px solid rgba(139,92,246,.26);background:#1f2937c7;color:#c4b5fd;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease}.track-audio-toggle:hover{color:#f5f3ff;border-color:#a78bfa9e;background:#4c1d9552}.track-audio-toggle.is-muted{color:#fca5a5;border-color:#f8717173;background:#7f1d1d3d}.track-subtitle-toggle{position:absolute;top:5px;left:6px;width:22px;height:22px;padding:0;border:1px solid rgba(139,92,246,.32);border-radius:5px;background:#1f2937d1;color:#c4b5fd;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:color .2s ease,border-color .2s ease,background-color .2s ease}.track-subtitle-toggle:hover:not(:disabled){color:#f5f3ff;border-color:#a78bfaad;background:#4c1d9557}.track-subtitle-toggle.is-hidden{color:#fca5a5;border-color:#f8717180;background:#7f1d1d42}.track-subtitle-toggle:disabled{cursor:not-allowed;opacity:.38}.track-subtitle-toggle svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.track-audio-upload{position:absolute;top:3px;right:3px;width:20px;height:20px;padding:0;border:1px solid rgba(52,211,153,.35);border-radius:5px;background:#064e3b4d;color:#a7f3d0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:color .2s ease,border-color .2s ease,background-color .2s ease}.track-audio-upload:hover:not(:disabled){color:#ecfdf5;border-color:#6ee7b7b3;background:#065f4680}.track-audio-upload:disabled{cursor:not-allowed;opacity:.35}.track-audio-upload svg{width:12px;height:12px}.track-audio-separate{right:27px}.track-video-upload{position:absolute;top:3px;right:3px;width:20px;height:20px;padding:0;border:1px solid rgba(96,165,250,.38);border-radius:5px;background:#1e40af47;color:#bfdbfe;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:color .2s ease,border-color .2s ease,background-color .2s ease}.track-video-upload:hover:not(:disabled){color:#eff6ff;border-color:#93c5fdb8;background:#1e40af7a}.track-video-upload:disabled{cursor:not-allowed;opacity:.35}.track-video-upload svg{width:12px;height:12px}.track-subtitle-actions{position:absolute;top:5px;right:5px;display:flex;gap:3px}.track-subtitle-actions button{width:22px;height:22px;padding:0;border:1px solid rgba(139,92,246,.32);border-radius:5px;background:#1f2937d1;color:#c4b5fd;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:color .2s ease,border-color .2s ease,background-color .2s ease}.track-subtitle-actions button:hover:not(:disabled){color:#f5f3ff;border-color:#a78bfaad;background:#4c1d9557}.track-subtitle-actions button.is-generating{color:#bfdbfe;border-color:#60a5fa94;background:#1e40af57}.track-subtitle-actions button.is-generating svg{animation:long-video-subtitle-spin .9s linear infinite}.track-subtitle-actions button.is-failed{color:#fecaca;border-color:#f8717180;background:#7f1d1d47}.track-subtitle-actions button:disabled{cursor:not-allowed;opacity:.32}.track-subtitle-actions svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2}@keyframes long-video-subtitle-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.track-subtitle-actions button.is-generating svg,.timeline-subtitle-recognition-state svg{animation:none}}.track-header svg{width:14px;height:14px}.timeline-track{display:flex;align-items:center;padding:0;min-width:0;position:relative;height:30px;overflow:hidden}.timeline-track--subtitle{cursor:text}.timeline-subtitle-recognition-state{position:absolute;top:3px;left:6px;z-index:1;display:inline-flex;align-items:center;gap:6px;height:24px;max-width:calc(100% - 12px);padding:0 9px;border:1px solid rgba(96,165,250,.5);border-radius:5px;background:#1e40af47;color:#dbeafe;font-size:10px;line-height:1;pointer-events:none}.timeline-subtitle-recognition-state svg{width:12px;height:12px;flex:0 0 12px;animation:long-video-subtitle-spin .9s linear infinite}.timeline-subtitle-recognition-state span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audio-separation-btn{display:inline-flex;align-items:center;gap:6px}.timeline-end-gutter{width:var(--timeline-end-gutter, 16px);min-width:var(--timeline-end-gutter, 16px);background:linear-gradient(90deg,rgba(139,92,246,.08),transparent)}.timeline-track:before,.timeline-track:after{content:"";position:absolute;top:0;bottom:0;width:1px;pointer-events:none}.timeline-track:before{left:0;background:#a8b4cc2e}.timeline-track:after{left:var(--track-content-width, 0px);background:#8b5cf673}.timeline-track.timeline-track--audio-drop-active{background:#3b82f614;box-shadow:inset 0 0 0 1px #60a5fa85}.timeline-track.timeline-track--audio-drop-active .timeline-track-empty{border-color:#60a5fab8;background:#1e40af2e;color:#dbeafe}.timeline-subtitle-empty-state{gap:8px;justify-content:space-between;padding:0 6px 0 8px}.timeline-subtitle-empty-state>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timeline-subtitle-empty-state__action{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 9px;border:1px solid rgba(139,92,246,.52);border-radius:5px;background:#4c1d954d;color:#ddd6fe;font-size:10px;line-height:1;white-space:nowrap;cursor:pointer;transition:color .2s ease,border-color .2s ease,background-color .2s ease}.timeline-subtitle-empty-state__action:hover:not(:disabled){border-color:#c4b5fdd1;background:#6d28d975;color:#f5f3ff}.timeline-subtitle-empty-state__action:focus-visible{outline:2px solid rgba(196,181,253,.9);outline-offset:1px}.timeline-subtitle-empty-state__action:disabled{cursor:not-allowed;opacity:.42}.timeline-subtitle-empty-state__action.is-failed{border-color:#f8717194;background:#7f1d1d47;color:#fecaca}.timeline-subtitle-empty-state__action svg{width:12px;height:12px;flex:0 0 12px;fill:none;stroke:currentColor;stroke-width:2}@media(max-width:720px){.timeline-subtitle-empty-state{gap:4px;padding-left:5px}.timeline-subtitle-empty-state__action{padding:0 6px}.timeline-subtitle-empty-state__action>span{display:none}}.timeline-segment{position:absolute;height:30px;box-sizing:border-box;background:#2d2d35;border:1px solid #4b5563;border-radius:4px;display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;padding:0 8px;cursor:pointer;overflow:hidden;transition:background .2s ease,border-color .2s ease,filter .2s ease,transform .1s ease}.timeline-segment:hover{filter:brightness(1.1)}.timeline-segment:active{transform:scaleY(.96) scaleX(.995)}.timeline-segment:focus-visible{outline:2px solid #c4b5fd;outline-offset:2px}.timeline-segment.segment-locked{cursor:default}.timeline-segment.segment-draggable{cursor:grab}.timeline-segment.segment-draggable:active{cursor:grabbing}.resize-handle{position:absolute;top:0;bottom:0;width:6px;background:transparent;cursor:col-resize;z-index:10}.resize-handle-left{left:0}.resize-handle-right{right:0}.resize-handle:hover{background:#fff3}.timeline-segment.purple-style{background:#3b2a5a;border-color:#5c3b8a}.timeline-segment.subtitle-style{background:linear-gradient(180deg,#5d3f15,#3f2a0f);border-color:#a16207}.timeline-segment.subtitle-style:hover{background:linear-gradient(180deg,#724d1a,#4b3112)}.timeline-segment.linked-active.subtitle-style{border-color:#fbbf24b8;z-index:5}.timeline-segment.primary-active.subtitle-style{border-color:#fbbf24;border-width:2px;box-shadow:0 0 12px #fbbf2466,inset 0 0 4px #fbbf2433}.timeline-segment.primary-active.subtitle-style:after{display:none}.timeline-segment.purple-style:hover{background:#4c3675}.timeline-segment.linked-active.purple-style{border-color:#fbbf24bf;z-index:5;box-shadow:0 0 8px #fbbf2433}.timeline-segment.primary-active.purple-style{border-color:#fbbf24;border-width:2px;box-shadow:0 0 12px #fbbf2466,inset 0 0 4px #fbbf2433}.timeline-segment.primary-active.purple-style:after{display:none}.timeline-segment.audio-style,.timeline-segment.audio-background-style{background:#1e3a5f;border-color:#325b8e}.timeline-segment.audio-style:hover,.timeline-segment.audio-background-style:hover{background:#2a4c7a}.timeline-segment.audio-generating-placeholder{background:linear-gradient(180deg,#1e40af66,#1e3a5fb8);border-style:dashed;border-color:#60a5fad1}.timeline-segment.audio-style .segment-progress{background:#60a5fa33}.timeline-segment.audio-style.audio-voice-style{background:#553044;border-color:#8f526f}.timeline-segment.audio-style.audio-voice-style:hover{background:#694058}.audio-bridge-region{position:absolute;top:1px;height:28px;box-sizing:border-box;border:2px dashed #facc15;border-radius:3px;background:#facc1514;pointer-events:none;z-index:12}.audio-bridge-region:after{content:"";position:absolute;top:-2px;bottom:-2px;left:var(--audio-bridge-cut-offset, 50%);width:1px;background:#fef08ad1;pointer-events:none}.audio-bridge-region__handle{position:absolute;top:-2px;bottom:-2px;width:10px;border:0;padding:0;background:transparent;cursor:ew-resize;pointer-events:auto;z-index:2}.audio-bridge-region__handle:after{content:"";position:absolute;top:3px;bottom:3px;width:3px;border-radius:2px;background:#fde047}.audio-bridge-region__handle:focus-visible{outline:2px solid #fff7ae;outline-offset:1px}.audio-bridge-region__handle--left{left:-5px}.audio-bridge-region__handle--left:after{left:3px}.audio-bridge-region__handle--right{right:-5px}.audio-bridge-region__handle--right:after{right:3px}.audio-bridge-region.is-resizing{border-style:solid;background:#facc1524}.audio-bridge-gap-region{position:absolute;top:2px;height:26px;box-sizing:border-box;border-top:1px solid rgba(250,204,21,.72);border-bottom:1px solid rgba(250,204,21,.72);background:linear-gradient(90deg,rgba(250,204,21,.02) 0%,rgba(250,204,21,.24) var(--audio-gap-plateau-start, 0%),rgba(250,204,21,.24) var(--audio-gap-plateau-end, 100%),rgba(250,204,21,.02) 100%);pointer-events:none;z-index:11}.timeline-segment.primary-active.audio-style{border-color:#3b82f6;border-width:2px;z-index:5;box-shadow:0 0 12px #3b82f666,inset 0 0 4px #3b82f633}.timeline-segment.primary-active.audio-style:after{display:none}.timeline-segment:hover{background:#374151}.timeline-segment.active{border-color:#f97316;background:#f973161a;box-shadow:0 0 12px #f9731666,inset 0 0 4px #f9731633}.timeline-segment.active:after{content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;background:#f97316}.timeline-segment.linked-active:after{opacity:.65}.timeline-segment.primary-active:after{opacity:1}.timeline-segment.video-ready{background:linear-gradient(180deg,#46306b,#34244f);border-color:#6b46c1}.timeline-segment.video-ready:hover{background:linear-gradient(180deg,#563d80,#3f2b60)}.timeline-segment.video-pending{background:#8b5cf614;border:1px dashed rgba(167,139,250,.7)}.timeline-segment.video-pending:hover{background:#8b5cf624}.timeline-segment.video-pending .segment-title,.timeline-segment.video-pending .segment-duration{color:#c4b5fd}.timeline-segment.video-pending .segment-progress{background:#a78bfa2e}.timeline-segment.video-generating{background:linear-gradient(180deg,#6366f138,#4f46e524);border:1px solid rgba(129,140,248,.75)}.timeline-segment.video-generating:hover{background:linear-gradient(180deg,#6366f147,#4f46e52e)}.timeline-segment.video-generating .segment-title,.timeline-segment.video-generating .segment-duration{color:#e0e7ff}.timeline-segment.video-generating .segment-progress{background:#818cf842}.segment-status{position:relative;z-index:1;margin-left:8px;padding:2px 6px;border-radius:999px;font-size:10px;line-height:1;color:#ddd6fe;background:#6d28d93d;flex-shrink:0}.segment-status.pending{color:#fde68a;background:#f59e0b2e}.segment-status.generating{color:#c7d2fe;background:#6366f13d}.segment-progress{position:absolute;left:0;top:0;height:100%;background:#f973164d;width:0%;pointer-events:none;z-index:0}.segment-title{min-width:0;max-width:100%;font-size:10px;line-height:1;color:#d1d5db;white-space:nowrap;writing-mode:horizontal-tb;text-orientation:mixed;overflow:hidden;text-overflow:ellipsis;flex:1;margin-right:8px;position:relative;z-index:1}.timeline-segment.timeline-segment--compact{gap:4px;padding-inline:4px}.timeline-segment.timeline-segment--compact .segment-title{display:none}.timeline-segment.timeline-segment--compact .segment-duration,.timeline-segment.timeline-segment--compact .segment-badge,.timeline-segment.timeline-segment--compact .segment-status{margin-inline:0}.timeline-segment.timeline-segment--tiny{padding-inline:0}.timeline-segment.timeline-segment--tiny .segment-title,.timeline-segment.timeline-segment--tiny .segment-duration,.timeline-segment.timeline-segment--tiny .segment-badge,.timeline-segment.timeline-segment--tiny .segment-status{display:none}.segment-duration{font-size:10px;color:#9ca3af;white-space:nowrap;font-variant-numeric:tabular-nums;flex-shrink:0;position:relative;z-index:1}.segment-badge{font-size:10px;color:#f5f3ff;background:#8b5cf647;border:1px solid rgba(196,181,253,.3);border-radius:999px;padding:1px 6px;line-height:1.4;white-space:nowrap;flex-shrink:0;position:relative;z-index:1;margin-right:8px}.empty-segment{border-style:dashed;color:#6b7280}.empty-segment .segment-title{color:#6b7280}
