.actual-plan-dialog[data-v-2d751511]{width:min(840px,calc(100vw - 40px));max-height:calc(100dvh - 48px);padding:0;margin:auto;border:1px solid #354357;border-radius:12px;background:#19212b;color:#e2e8f0;box-shadow:0 20px 70px #0008}.actual-plan-dialog[open][data-v-2d751511]{display:flex;flex-direction:column}.actual-plan-dialog[data-v-2d751511]::backdrop{background:#040912b3}.plan-dialog-heading[data-v-2d751511]{display:flex;flex:none;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;border-bottom:1px solid #303c4c}.plan-dialog-heading h2[data-v-2d751511]{font-size:16px;margin:0}.plan-dialog-body[data-v-2d751511]{min-height:0;overflow:auto;padding:16px 20px}.plan-dialog-footer[data-v-2d751511]{display:flex;flex:none;justify-content:space-between;align-items:center;gap:12px;padding:12px 20px;border-top:1px solid #303c4c;font-size:12px;color:#99a8ba}.actual-plan-dialog .actual-plan-prompt p[data-v-2d751511]{max-height:none;overflow:visible;white-space:pre-wrap;overflow-wrap:anywhere}.actual-plan-dialog .actual-plan-prompt h3[data-v-2d751511]{font-size:13px;margin:0 0 8px;color:#bdccdf}.job-plan-button[data-v-2d751511]{margin-top:8px}.video-mode-banner.workflow-mode-banner[data-v-2d751511]{display:block}.workflow-requirements[data-v-2d751511]{margin:9px 0 0;color:var(--soft, #b7c5d7);font-size:12px;line-height:1.6}.workflow-pipeline[data-v-2d751511]{display:flex;flex-wrap:wrap;gap:5px 26px;margin:9px 0 0;padding-left:20px;color:var(--muted, #8493a6);font-size:12px;line-height:1.7}.workflow-pipeline li[data-v-2d751511]{min-width:0;max-width:100%;overflow-wrap:anywhere}.actual-workflow-pipeline[data-v-2d751511]{margin-top:12px}.workflow-optimizations[data-v-2d751511]{margin:8px 0 0;padding-left:18px;color:var(--muted, #8493a6);font-size:12px;line-height:1.7}.person-prompt-hint[data-v-2d751511]{margin:2px 0 0;color:var(--amber, #e8c27a);font-size:11.5px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workflow-optimizations li[data-v-2d751511]{overflow-wrap:anywhere}.motion-mapping-target[data-v-2d751511]{margin:9px 0 0;color:var(--cyan, #82dce1);font-size:12px;line-height:1.6;overflow-wrap:anywhere}.quality-size-hint[data-v-2d751511]{margin:5px 0 0;color:var(--muted, #8493a6);font-size:11px;line-height:1.5}.motion-mapping-options[data-v-2d751511]{display:grid;gap:7px;margin:0;padding:8px;border:1px solid var(--line, #263344);border-radius:7px}.motion-mapping-options label[data-v-2d751511]{display:flex;align-items:center;gap:7px;color:var(--soft, #b7c5d7);font-size:12px}.motion-mapping-options p[data-v-2d751511]{margin:0;color:var(--muted, #8493a6);font-size:11px;line-height:1.5}.video-parameter-input[data-v-2d751511],.reference-setting[data-v-2d751511] :is(input,select){width:100%;min-width:0;min-height:34px;padding:5px 8px;border:1px solid var(--line-strong, #344154);border-radius:6px;color:var(--text, #e6edf5);background:var(--field, #0a111b);font:inherit}.video-parameter-input[data-v-2d751511]{margin-top:5px}.preview-style-options[data-v-2d751511]{display:grid;gap:6px;margin:0;padding:8px;border:1px solid var(--line, #263344);border-radius:7px}.preview-style-options label[data-v-2d751511]{display:flex;align-items:center;gap:8px;cursor:pointer}.preview-style-options label>span[data-v-2d751511]{display:grid;gap:2px}.preview-style-options strong[data-v-2d751511]{font-size:12px;font-weight:500}.preview-style-options small[data-v-2d751511]{color:var(--muted, #8493a6);font-size:11px}.reference-settings-list[data-v-2d751511]{display:grid;gap:8px;margin-top:8px}.reference-setting[data-v-2d751511]{min-width:0;padding-top:8px;border-top:1px solid var(--line, #263344)}.reference-role-control[data-v-2d751511]{display:flex;align-items:center;gap:8px;color:var(--soft, #b7c5d7);font-size:12px}.reference-role-control>span[data-v-2d751511]{flex:0 0 auto}.reference-role-control select[data-v-2d751511]{flex:1}.reference-clip-heading[data-v-2d751511]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 8px;margin-bottom:6px;font-size:11px}.reference-clip-heading strong[data-v-2d751511]{color:var(--soft, #b7c5d7)}.reference-clip-heading>span[data-v-2d751511]{color:var(--muted, #8493a6)}.reference-clip-fields[data-v-2d751511]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.reference-clip-fields label[data-v-2d751511]{display:grid;min-width:0;gap:4px;color:var(--soft, #b7c5d7);font-size:11px}.reference-clip-help[data-v-2d751511]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 8px;margin-top:5px;color:var(--muted, #8493a6);font-size:11px}.reference-clip-error[data-v-2d751511]{margin:6px 0 0;color:var(--red, #ee9292);font-size:12px;line-height:1.5}.actual-plan-section[data-v-2d751511]{min-width:0;margin-top:12px;padding:12px;border:1px solid var(--line, #263344);border-radius:9px;background:#0d11178c}.actual-plan-heading[data-v-2d751511]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.actual-plan-heading>div[data-v-2d751511]{min-width:0;flex:1 1 200px}.actual-plan-heading strong[data-v-2d751511]{font-size:13px}.actual-plan-heading p[data-v-2d751511]{margin:5px 0 0;color:var(--muted, #8493a6);font-size:12px;line-height:1.5}.actual-plan-heading .button[data-v-2d751511]{min-height:36px}.actual-plan-grid[data-v-2d751511]{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:12px 0 0}.actual-plan-grid>div[data-v-2d751511]{min-width:0}.actual-plan-grid dt[data-v-2d751511]{margin-bottom:4px;color:var(--muted, #8493a6);font-size:11px}.actual-plan-grid dd[data-v-2d751511]{margin:0;color:var(--soft, #b7c5d7);font-size:12px;overflow-wrap:anywhere}.plan-stale[data-v-2d751511]{margin:10px 0 0;color:#e8bf79;font-size:12px;line-height:1.5}.plan-note[data-v-2d751511]{margin:8px 0 0;color:var(--muted, #8493a6);font-size:12px;line-height:1.5}.actual-plan-prompt[data-v-2d751511]{margin-top:10px}.actual-plan-prompt p[data-v-2d751511]{max-height:240px;margin:8px 0 0;padding:10px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--soft, #b7c5d7);background:var(--field, #0a111b);border-radius:6px;font-size:12px;line-height:1.6}.image-workspace[data-v-24ad1b6a]{--border: var(--line, rgba(226, 235, 242, .09));--border-strong: var(--line-strong, rgba(226, 235, 242, .17));--text-soft: var(--soft, #bcc4cc);--accent: var(--cyan, #82dce1);min-width:0}.image-model-hint[data-v-24ad1b6a]{margin:5px 0 0;color:var(--muted);font-size:.72rem;line-height:1.5}.image-config-error[data-v-24ad1b6a]{display:grid;justify-items:start;gap:.4rem;color:var(--muted);font-size:.76rem;line-height:1.6}.image-config-error p[data-v-24ad1b6a]{margin:0}.image-source-category-card.is-dragging[data-v-24ad1b6a]{border-color:var(--cyan)}.source-preview-actions[data-v-24ad1b6a],.image-result-actions[data-v-24ad1b6a],.image-preview-actions[data-v-24ad1b6a]{display:flex;flex-wrap:wrap;gap:.6rem}.image-result-actions[data-v-24ad1b6a]{padding:.55rem .65rem;border-top:1px solid var(--line)}.image-lightbox-stage[data-v-24ad1b6a]{position:relative;display:flex;align-items:center;justify-content:center;min-height:180px;background:#050608}.image-lightbox-stage img[data-v-24ad1b6a]{display:block;max-width:100%;max-height:72dvh;object-fit:contain}.image-workspace .field-label-row[data-v-24ad1b6a],.image-workspace .panel-heading[data-v-24ad1b6a],.image-workspace .field-tools[data-v-24ad1b6a],.image-workspace .category-header[data-v-24ad1b6a]{flex-wrap:wrap}.image-workspace .field-meta[data-v-24ad1b6a]{white-space:normal}.image-workspace .spec-unit[data-v-24ad1b6a]{min-width:0}.image-workspace .option-fieldset>legend[data-v-24ad1b6a]{margin-bottom:.5rem}.image-workspace button[data-v-24ad1b6a]:disabled{cursor:not-allowed}.image-reconnect-button[data-v-24ad1b6a]{margin:0 16px 12px}@media(max-width:700px){.compact-source-preview[data-v-24ad1b6a]{grid-template-columns:48px minmax(0,1fr)}.compact-source-preview img[data-v-24ad1b6a]{width:48px;height:48px}.source-preview-actions[data-v-24ad1b6a]{grid-column:1 / -1}.image-history-list[data-v-24ad1b6a]{max-height:360px}.image-preview-actions[data-v-24ad1b6a]{width:100%}}.asset-library-dialog[data-v-671f0434]{width:min(1480px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;overflow:hidden;color:#e2e8f0;background:#07090c;border:1px solid var(--studio-border, #263241);border-radius:14px;box-shadow:0 24px 80px #0009}.asset-library-dialog[open][data-v-671f0434]{display:flex;flex-direction:column}.asset-library-dialog[data-v-671f0434]::backdrop{background:#000b}.asset-library-header[data-v-671f0434]{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid var(--studio-border, #263241)}.asset-library-header h2[data-v-671f0434]{margin:0;font-size:18px}.asset-library-header p[data-v-671f0434]{margin:5px 0 0;color:#94a3b8;font-size:12px}.asset-library-close[data-v-671f0434]{flex-shrink:0;min-height:36px;padding:6px 14px;color:#e2e8f0;background:#182332;border:1px solid #45566c;border-radius:8px;cursor:pointer}.asset-library-body[data-v-671f0434]{min-height:0;overflow:auto;overscroll-behavior:contain}.asset-library-body[data-v-671f0434] .assets-workspace{min-width:0}.asset-library-notice[data-v-671f0434]{flex-shrink:0;padding:10px 20px;color:#a5d9f2;font-size:13px}.asset-library-notice.toast-error[data-v-671f0434]{color:#fca5a5}@media(max-width:600px){.asset-library-dialog[data-v-671f0434]{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.asset-library-header[data-v-671f0434]{padding:12px;gap:10px}}:root{color-scheme:dark;--bg: #07090c;--field: #0a0d11;--line: rgba(226, 235, 242, .09);--line-strong: rgba(226, 235, 242, .17);--text: #eef2f5;--soft: #bcc4cc;--muted: #7d8893;--cyan: #82dce1;--cyan-soft: rgba(83, 195, 202, .13);--cyan-line: rgba(130, 220, 225, .4);--amber: #e2b06e;--amber-soft: rgba(226, 176, 110, .13);--green: #80d4a6;--red: #e88686;--red-soft: rgba(232, 134, 134, .13);--radius: 14px;--gap: 14px;--card-w: 104px;--sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;--mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace}*{box-sizing:border-box}[hidden]{display:none!important}html,body{margin:0;background:var(--bg)}body{min-height:100dvh;color:var(--text);background:radial-gradient(circle at 80% -10%,rgba(67,134,145,.12),transparent 34rem),linear-gradient(160deg,#090b0f,#07090c 60%,#0a0d11);font-family:var(--sans);font-size:15px;line-height:1.5}button,input,textarea{font:inherit;color:inherit}button,label{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}code,kbd{padding:0 5px;border:1px solid var(--line-strong);border-radius:5px;color:var(--cyan);background:var(--cyan-soft);font-family:var(--mono);font-size:.92em}kbd{color:var(--soft);background:#ffffff0a}*{scrollbar-width:thin;scrollbar-color:#2c333b transparent}.app-shell{width:min(1840px,100%);margin:0 auto;padding:0 20px 18px}.topbar{height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;border-bottom:1px solid var(--line)}.brand-lockup{display:flex;align-items:center;gap:12px;min-width:0}.brand-mark{width:32px;height:32px;flex:0 0 32px;display:flex;align-items:center;justify-content:center;gap:3px;border:1px solid var(--cyan-line);border-radius:9px;background:var(--cyan-soft)}.brand-mark span{width:2px;border-radius:2px;background:var(--cyan)}.brand-mark span:nth-child(1){height:10px;opacity:.55}.brand-mark span:nth-child(2){height:18px}.brand-mark span:nth-child(3){height:13px;opacity:.75}.brand-name{font-family:var(--mono);font-size:15px;font-weight:700;letter-spacing:.14em;white-space:nowrap}.brand-name strong{color:var(--cyan)}.brand-title{margin:0;padding-left:12px;border-left:1px solid var(--line-strong);color:var(--soft);font-size:15px;font-weight:500;white-space:nowrap}.studio-nav{display:inline-flex;align-items:center;gap:4px;margin-left:2px}.studio-nav-link{padding:5px 9px;border:1px solid transparent;border-radius:7px;color:var(--muted);font-size:13px;text-decoration:none;white-space:nowrap}.studio-nav-link:hover,.studio-nav-link.is-active{color:var(--cyan);border-color:var(--cyan-line);background:var(--cyan-soft)}.topbar-status{display:flex;align-items:center;gap:8px}.hardware-tag,.health-badge{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:4px 12px;border:1px solid var(--line-strong);border-radius:99px;color:var(--soft);font-family:var(--mono);font-size:13px;white-space:nowrap}.hardware-dot,.status-dot{width:7px;height:7px;border-radius:50%;background:currentColor}.hardware-dot{color:var(--amber);box-shadow:0 0 8px currentColor}.health-good{color:var(--green);border-color:#80d4a652}.health-busy{color:var(--amber);border-color:#e2b06e52}.health-bad{color:var(--red);border-color:#e8868652}.health-pending{color:var(--muted)}.resource-status{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:4px 10px;border:1px solid var(--line);border-radius:9px;color:var(--soft);font-family:var(--mono);font-size:11px;white-space:nowrap}.resource-status span+span{padding-left:8px;border-left:1px solid var(--line)}.workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.panel{min-width:0;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(160deg,#13171df7,#0c0f13fa);box-shadow:0 18px 50px #00000040}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px 12px;border-bottom:1px solid var(--line)}h1,h2,p{margin:0}h2{color:var(--text);font-size:17px;font-weight:650;letter-spacing:-.01em;white-space:nowrap}.studio-panel{container-type:inline-size;display:flex;flex-direction:column}.studio-form{flex:1;min-height:0;display:flex;flex-direction:column}.studio-body{display:flex;flex-direction:column;gap:var(--gap);padding:16px 20px}.field-block{position:relative;min-width:0;margin:0;padding:0;border:0}.field-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;min-height:26px}.field-label{display:inline-flex;align-items:center;gap:8px;color:#e3e8ec;font-size:15px;font-weight:600;white-space:nowrap}legend.field-label{padding:0;margin-bottom:8px;min-height:26px}.field-index{color:var(--amber);font-family:var(--mono);font-size:12px;font-weight:500}.field-meta{color:var(--muted);font-family:var(--mono);font-size:13px;white-space:nowrap}.field-tools{display:flex;align-items:center;gap:12px;min-width:0}.field-hint{margin:-2px 0 10px;overflow:hidden;color:var(--muted);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.mini-icon-button{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid var(--line-strong);border-radius:8px;color:var(--soft);background:transparent;font-size:16px;cursor:pointer}.mini-icon-button:hover,.mini-icon-button[aria-pressed=true]{color:var(--cyan);border-color:var(--cyan-line)}.text-button{padding:0;border:0;color:var(--soft);background:transparent;font-size:14px;cursor:pointer;white-space:nowrap}.text-button:hover,.text-button span{color:var(--cyan)}.prompt-block{display:flex;flex-direction:column}.prompt-editor{position:relative;height:220px;border-radius:10px;background:var(--field)}.prompt-backdrop,#promptInput{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;padding:12px 15px;border:1px solid transparent;border-radius:10px;font-family:var(--sans);font-size:15px;line-height:1.75;letter-spacing:0;-moz-tab-size:4;tab-size:4;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;scrollbar-gutter:stable}.prompt-backdrop{overflow:hidden;pointer-events:none}.prompt-highlights{color:transparent}.prompt-highlights mark{color:transparent;border-radius:4px;background:#82dce133;box-shadow:0 0 0 1px #82dce16b}.prompt-highlights mark.is-pending{background:var(--amber-soft);box-shadow:0 0 0 1px #e2b06e73}.prompt-highlights mark.is-invalid{background:#e8868633;box-shadow:0 0 0 1px #e886868c}#promptInput{z-index:1;display:block;resize:none;overflow-y:auto;border-color:var(--line-strong);color:var(--text);background:transparent;caret-color:var(--cyan);transition:border-color .18s,box-shadow .18s}#promptInput::placeholder{color:#5b6672}#promptInput:focus{border-color:#82dce18c;box-shadow:0 0 0 3px #53c3ca14;outline:0}.mention-menu{position:absolute;z-index:10;width:330px;max-width:calc(100% - 8px);overflow:hidden;border:1px solid var(--line-strong);border-radius:12px;background:#151a21;box-shadow:0 18px 44px #0000008c}.mention-head{display:flex;justify-content:space-between;gap:8px;padding:9px 12px 8px;color:var(--muted);font-size:12px;border-bottom:1px solid var(--line)}.mention-list{max-height:280px;overflow-y:auto;padding:4px}.mention-item{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;padding:6px 8px;border:0;border-radius:8px;background:transparent;text-align:left;cursor:pointer}.mention-item.is-active,.mention-item:hover{background:var(--cyan-soft)}.mention-thumb{width:42px;height:42px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:7px;color:var(--cyan);background:#0a0d11;font-size:17px}.mention-thumb img,.mention-thumb video{width:100%;height:100%;object-fit:cover}.mention-copy{min-width:0}.mention-copy strong{display:block;color:var(--cyan);font-family:var(--mono);font-size:14px;font-weight:600}.mention-copy span{display:block;overflow:hidden;color:var(--muted);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.mention-empty{padding:14px 15px 13px}.mention-empty strong{display:block;color:var(--text);font-size:15px}.mention-empty p{margin:5px 0 11px;color:var(--muted);font-size:13px;line-height:1.6}.reference-check{min-height:30px;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding-top:8px}.check-label,.check-hint{color:var(--muted);font-size:13px}.check-hint.is-warning{color:var(--amber)}.check-chip{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px 0 3px;border:1px solid var(--cyan-line);border-radius:7px;color:var(--cyan);background:var(--cyan-soft);font-family:var(--mono);font-size:13px}.check-chip.is-invalid{padding-left:10px;color:var(--red);border-color:#e8868673;background:var(--red-soft)}.check-chip.is-pending{padding-left:10px;color:var(--amber);border-color:#e2b06e66;background:var(--amber-soft)}.check-chip small{font-family:var(--sans);font-size:12px;opacity:.85}.check-thumb{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:5px;background:#0a0d11;font-size:12px}.check-thumb img{width:100%;height:100%;object-fit:cover}.asset-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px}.first-frame-block{padding-left:18px;border-left:1px solid var(--line)}.reference-grid{display:flex;align-items:flex-start;gap:10px;overflow-x:auto;padding-bottom:4px;overscroll-behavior-x:contain}.reference-grid.has-more{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 48px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 48px),transparent)}.ref-card,.add-tile{position:relative;flex:0 1 var(--card-w);min-width:86px;aspect-ratio:3 / 4;border-radius:10px}.first-frame-slot .ref-card,.first-frame-slot .add-tile{width:var(--card-w)}.ref-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line-strong);background:var(--field);transition:border-color .18s,box-shadow .18s}.ref-card.is-referenced{border-color:#82dce199;box-shadow:0 0 0 1px #82dce140}.ref-card.is-error{border-color:#e8868680}.ref-media{position:relative;flex:1;min-height:0;overflow:hidden;background:#050608}.ref-media img,.ref-media video{width:100%;height:100%;display:block;object-fit:cover}.ref-audio-art{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding-top:18px;background:radial-gradient(circle at 50% 45%,rgba(130,220,225,.14),transparent 70%)}.wave{display:flex;align-items:center;gap:3px;height:26px}.wave i{width:3px;border-radius:2px;background:var(--cyan);opacity:.75}.wave i:nth-child(1){height:30%}.wave i:nth-child(2){height:70%}.wave i:nth-child(3){height:100%}.wave i:nth-child(4){height:55%}.wave i:nth-child(5){height:85%}.wave i:nth-child(6){height:40%}.wave i:nth-child(7){height:65%}.ref-card.is-playing .wave i{animation:wave .9s ease-in-out infinite alternate}.ref-card.is-playing .wave i:nth-child(2n){animation-delay:-.45s}@keyframes wave{0%{transform:scaleY(.45)}to{transform:scaleY(1)}}.audio-play{height:26px;padding:0 10px;border:1px solid var(--cyan-line);border-radius:99px;color:var(--cyan);background:#0000004d;font-size:12px;cursor:pointer;white-space:nowrap}.ref-kind{position:absolute;left:6px;top:6px;z-index:2;max-width:calc(100% - 40px);padding:2px 7px;overflow:hidden;border-radius:6px;color:#e9eef1;background:#040609bd;font-size:12px;text-overflow:ellipsis;white-space:nowrap;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.ref-remove{position:absolute;right:6px;top:6px;z-index:3;width:24px;height:24px;display:flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:50%;color:#fff;background:#040609bd;font-size:16px;line-height:1;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.ref-remove:hover{background:#e88686d9}.ref-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:28px 8px 8px;color:var(--soft);background:#05070aad;font-size:12px;text-align:center}.ref-overlay.is-error{color:var(--red);background:#14080ad6}.ref-overlay p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-height:1.45}.spinner{width:20px;height:20px;border:2px solid rgba(130,220,225,.25);border-top-color:var(--cyan);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-mark{width:22px;height:22px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:var(--bg);background:var(--red);font-weight:700}.ref-footer{flex:0 0 34px;display:flex;border-top:1px solid var(--line)}.ref-token{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:3px;padding:0 3px;border:0;color:var(--soft);background:#ffffff08;font-family:var(--mono);font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer;transition:background .15s,color .15s}.ref-token+.ref-token{flex:0 0 30px;border-left:1px solid var(--line)}.ref-token:hover:not(:disabled){color:var(--cyan);background:var(--cyan-soft)}.ref-token.is-used{color:#071014;background:var(--cyan)}.ref-token.is-used:hover{color:#071014;background:#a2e9ec}.ref-token:disabled{color:var(--muted);cursor:default}.ref-token .plus{opacity:.7;font-weight:400}.ref-footer-note{flex:1;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:12px}.add-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:8px;border:1px dashed rgba(226,235,242,.22);color:var(--soft);background:#ffffff04;text-align:center;cursor:pointer;transition:border-color .18s,background .18s}.add-tile:hover{border-color:var(--cyan-line);background:var(--cyan-soft)}.add-tile-plus{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:1px solid var(--cyan-line);border-radius:50%;color:var(--cyan);font-size:19px}.add-tile strong{font-size:14px;font-weight:600}.add-tile small{color:var(--muted);font-size:12px;line-height:1.4}.drop-overlay{position:absolute;top:-6px;right:-6px;bottom:-6px;left:-6px;z-index:6;display:none;align-items:center;justify-content:center;border:2px dashed var(--cyan);border-radius:12px;color:var(--cyan);background:#081418e0;font-size:15px;font-weight:600;pointer-events:none}.reference-block.is-dragging .drop-overlay{display:flex}.param-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap) 16px}.param-wide{grid-column:span 2}.segmented-options{height:46px;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;border:1px solid var(--line-strong);border-radius:10px;background:var(--field)}.segment-option{position:relative;display:flex;min-width:0;cursor:pointer}.segment-option input,.switch input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.segment-option>span{width:100%;min-width:0;display:flex;align-items:center;justify-content:center;gap:4px;border-radius:7px;color:var(--soft);font-family:var(--mono);font-size:15px;white-space:nowrap;transition:background .15s,color .15s}.segment-option>span small{font-family:var(--sans);font-size:12px;opacity:.75}.segmented-options.stacked .segment-option>span{flex-direction:column;gap:0;line-height:1.2}.segmented-options.stacked strong{font-size:14px}.segmented-options.stacked small{max-width:100%;overflow:hidden;text-overflow:ellipsis}.segment-option:hover>span{color:var(--text);background:#ffffff0d}.segment-option input:checked+span{color:#071014;background:var(--cyan);font-weight:600}.segment-option input:checked+span small{opacity:.8}.segment-option input:focus-visible+span{outline:2px solid var(--cyan);outline-offset:2px}.ratio-icon{display:inline-block;flex:0 0 auto;border:1.5px solid currentColor;border-radius:2px}.ratio-portrait{width:9px;height:14px}.ratio-landscape{width:15px;height:9px}.ratio-square{width:11px;height:11px}.seed-control{display:flex;gap:6px}input[type=number]{width:100%;height:46px;padding:0 13px;border:1px solid var(--line-strong);border-radius:10px;color:var(--text);background:var(--field);font-family:var(--mono);font-size:15px}input[type=number]:focus{border-color:#82dce18c;outline:0}.icon-button{width:46px;height:46px;flex:0 0 46px;padding:0;border:1px solid var(--line-strong);border-radius:10px;color:var(--cyan);background:var(--field);font-size:20px;cursor:pointer}.icon-button:hover{border-color:var(--cyan-line)}.switch-row{height:46px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border:1px solid var(--line-strong);border-radius:10px;background:var(--field);cursor:pointer}.switch-copy{color:var(--soft);font-size:15px}.switch{position:relative;width:40px;height:22px;flex:0 0 40px}.switch-track{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:22px;background:#293038;transition:background .18s}.switch-thumb{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#8d969f;transition:left .18s,background .18s}.switch input:checked+.switch-track{background:#53c3ca73}.switch input:checked+.switch-track .switch-thumb{left:21px;background:var(--cyan)}.switch input:focus-visible+.switch-track{outline:2px solid var(--cyan);outline-offset:2px}.studio-panel.is-prompt-expanded .asset-row,.studio-panel.is-prompt-expanded .param-grid{display:none}.form-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 20px;border-top:1px solid var(--line);border-radius:0 0 var(--radius) var(--radius);background:#0b0e12}.form-notice{min-width:0;color:var(--soft);font-size:14px;line-height:1.5;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.form-notice.notice-success{color:var(--green)}.form-notice.notice-error{color:var(--red)}.form-notice.notice-info{color:var(--cyan)}.action-buttons{flex:0 0 auto;display:flex;gap:8px}.button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 18px;border:1px solid transparent;border-radius:10px;font-size:15px;font-weight:600;cursor:pointer;white-space:nowrap}.button:disabled{cursor:not-allowed;opacity:.4}.button-primary{min-width:184px;color:#071014;background:var(--cyan)}.button-primary:hover:not(:disabled){background:#a2e9ec}.button-primary.is-loading{opacity:.75}.button-primary.is-loading .button-icon{animation:spin 1.6s linear infinite}.button-kbd{padding:1px 5px;border-color:#07101440;color:#071014b3;background:#07101414;font-size:11px}.button-quiet{color:var(--soft);border-color:var(--line-strong);background:#ffffff05}.button-quiet:hover:not(:disabled){color:var(--red);border-color:#e8868666}.button-icon{font-size:15px}.confirm-dialog{width:min(440px,calc(100vw - 32px));max-width:none;padding:0;overflow:visible;border:1px solid rgba(232,134,134,.32);border-radius:15px;color:var(--text);background:transparent;box-shadow:0 28px 80px #000000b3}.confirm-dialog::backdrop{background:#020407c7;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.confirm-dialog-card{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px 14px;padding:22px;border-radius:inherit;background:linear-gradient(145deg,#171b21,#0d1015 70%)}.confirm-dialog-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(232,134,134,.4);border-radius:50%;color:#ffd0d0;background:var(--red-soft);font-family:var(--mono);font-size:20px;font-weight:700}.confirm-dialog-copy{min-width:0}.confirm-dialog-copy h2{margin:0;color:var(--text);font-size:18px;font-weight:650}.confirm-dialog-copy p{margin:7px 0 0;color:var(--soft);line-height:1.55;overflow-wrap:anywhere}.confirm-dialog-copy .confirm-dialog-detail{color:var(--muted);font-size:13px}.confirm-dialog-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:9px;margin-top:7px}.confirm-dialog-actions .button{min-height:40px;padding:0 16px;font-size:14px}.confirm-dialog-danger{color:#fff;border-color:#a6464f;background:#8e343d}.confirm-dialog-danger:hover{border-color:#cf606b;background:#a9414b}.confirm-dialog[open]{animation:confirm-dialog-in .16s ease-out}@keyframes confirm-dialog-in{0%{opacity:0;transform:translateY(8px) scale(.985)}}@media(prefers-reduced-motion:reduce){.confirm-dialog[open]{animation:none}}@media(max-width:520px){.confirm-dialog-card{padding:19px}.confirm-dialog-actions{flex-direction:column-reverse}.confirm-dialog-actions .button{width:100%}}.material-dialog{width:min(920px,calc(100vw - 32px));max-width:none;max-height:min(820px,calc(100dvh - 32px));padding:0;overflow:hidden;border:1px solid var(--line-strong);border-radius:16px;color:var(--text);background:#0b0e13;box-shadow:0 32px 100px #000000c2}.material-dialog::backdrop{background:#010306d6;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.material-dialog-card{max-height:inherit;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.material-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:19px 22px;border-bottom:1px solid var(--line);background:#10141a}.material-dialog-header>div{min-width:0}.material-dialog-header h2{margin:3px 0 0;font-size:21px;font-weight:650}.material-dialog-header p{margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.material-dialog-body{min-height:0;padding:20px 22px;overflow-y:auto}.material-source-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.material-source-card{min-width:0;min-height:88px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px 16px;border:1px solid var(--line-strong);border-radius:12px;color:var(--text);background:#ffffff05;text-align:left;cursor:pointer}.material-source-card:hover,.material-source-card[aria-expanded=true]{border-color:var(--cyan-line);background:var(--cyan-soft)}.material-source-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line-strong);border-radius:11px;color:var(--amber);background:#e2b06e14;font-family:var(--mono);font-size:25px}.material-source-icon.is-generated{color:var(--cyan);background:var(--cyan-soft)}.material-source-card strong,.material-source-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-source-card strong{font-size:15px;font-weight:650}.material-source-card small{margin-top:5px;color:var(--muted);font-size:12px}.material-source-arrow{color:var(--muted);font-size:26px}.generated-material-section{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.generated-material-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.generated-material-heading h3{margin:0;font-size:15px;font-weight:650}.generated-material-heading p{margin:4px 0 0;color:var(--muted);font-size:12px}.generated-material-grid{min-height:150px;display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));align-content:start;gap:10px;margin-top:13px}.generated-material-card{position:relative;min-width:0;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:10px;color:var(--soft);background:#080b0f;text-align:left;cursor:pointer}.generated-material-card:hover{border-color:#e2ebf257}.generated-material-card[aria-pressed=true]{border-color:var(--cyan);box-shadow:0 0 0 1px var(--cyan-line)}.generated-material-card:disabled{cursor:not-allowed;opacity:.42}.generated-material-card img{width:100%;aspect-ratio:1;display:block;object-fit:cover;background:#040507}.generated-material-card strong{display:block;padding:8px 9px 9px;overflow:hidden;font-size:11px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.generated-material-check{position:absolute;top:7px;right:7px;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.32);border-radius:50%;color:transparent;background:#04070ab8;font-size:13px}.generated-material-card[aria-pressed=true] .generated-material-check{color:#061014;border-color:var(--cyan);background:var(--cyan)}.generated-material-empty{grid-column:1 / -1;min-height:150px;display:flex;align-items:center;justify-content:center;padding:24px;color:var(--muted);text-align:center}.material-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 22px;border-top:1px solid var(--line);background:#10141a}.material-dialog-footer>span{color:var(--muted);font-size:12px}.material-dialog-footer>div{display:flex;gap:9px}.material-dialog-footer .button{min-height:38px;padding:0 15px;font-size:13px}.material-dialog[open]{animation:media-preview-in .16s ease-out}@media(max-width:640px){.material-dialog{width:100vw;height:100dvh;max-height:none;border:0;border-radius:0}.material-dialog-header,.material-dialog-body,.material-dialog-footer{padding-right:14px;padding-left:14px}.material-source-options{grid-template-columns:1fr}.material-dialog-footer{align-items:stretch;flex-direction:column}.material-dialog-footer>div{display:flex}.material-dialog-footer .button{min-width:0;flex:1}}.media-preview-dialog{width:min(1180px,calc(100vw - 32px));max-width:none;height:min(900px,calc(100dvh - 32px));max-height:none;padding:0;overflow:hidden;border:1px solid var(--line-strong);border-radius:16px;color:var(--text);background:#080b0f;box-shadow:0 32px 100px #000000c7}.media-preview-dialog::backdrop{background:#010306e0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.media-preview-card{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.media-preview-header,.media-preview-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;background:#10141a}.media-preview-header{border-bottom:1px solid var(--line)}.media-preview-footer{border-top:1px solid var(--line)}.media-preview-header>div{min-width:0}.media-preview-eyebrow{display:block;color:var(--cyan);font-family:var(--mono);font-size:10px;letter-spacing:.12em}.media-preview-header h2{max-width:min(76vw,900px);margin:2px 0 0;overflow:hidden;color:var(--text);font-size:15px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.media-preview-close{width:38px;height:38px;flex:0 0 38px;padding:0;border:1px solid var(--line-strong);border-radius:50%;color:var(--soft);background:#ffffff06;font-size:24px;line-height:1;cursor:pointer}.media-preview-close:hover{color:var(--text);border-color:var(--cyan-line);background:var(--cyan-soft)}.media-preview-footer>span{min-width:0;overflow:hidden;color:var(--muted);font-family:var(--mono);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.media-preview-footer .button-download{min-height:36px;flex:0 0 auto;padding:0 14px;font-size:13px}.media-preview-nav{position:absolute;z-index:2;top:50%;width:44px;height:56px;padding:0;border:1px solid rgba(255,255,255,.2);border-radius:12px;color:#fff;background:#080b0fb8;font-size:34px;line-height:1;cursor:pointer;transform:translateY(-50%)}.media-preview-nav:hover{border-color:var(--cyan-line);background:#10191eeb}.media-preview-nav:disabled{display:none}.media-preview-previous{left:14px}.media-preview-next{right:14px}.video-lightbox-stage{min-height:0;display:flex;align-items:center;justify-content:center;padding:14px;background:#020304}.video-lightbox-stage video{display:block;width:100%;height:100%;object-fit:contain;background:#000}.media-preview-dialog[open]{animation:media-preview-in .16s ease-out}@keyframes media-preview-in{0%{opacity:0;transform:scale(.985)}}@media(prefers-reduced-motion:reduce){.media-preview-dialog[open]{animation:none}}@media(max-width:640px){.media-preview-dialog{width:100vw;height:100dvh;border:0;border-radius:0}.media-preview-header,.media-preview-footer{padding:10px 12px}.media-preview-nav{width:38px;height:48px}.media-preview-previous{left:8px}.media-preview-next{right:8px}}.output-column{container-type:inline-size;min-width:0;display:grid;grid-template-columns:minmax(280px,min(380px,42%)) minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:16px}.result-panel{grid-column:1 / -1;grid-row:1;display:flex;flex-direction:column;min-height:440px}.job-panel{grid-column:1;grid-row:2;padding-bottom:14px}.history-panel{grid-column:2;grid-row:2;min-width:0;display:flex;flex-direction:column}.compact-heading{padding:12px 18px 10px}.job-panel>:not(.panel-heading){margin-right:18px;margin-left:18px}.status-pill{padding:3px 11px;border:1px solid var(--line-strong);border-radius:99px;color:var(--muted);font-size:13px;white-space:nowrap}.status-running{color:var(--cyan);border-color:var(--cyan-line);background:var(--cyan-soft)}.status-success{color:var(--green);border-color:#80d4a652}.status-failed{color:var(--red);border-color:#e8868659}.status-canceled{color:var(--amber);border-color:#e2b06e52}.stage-rail{display:flex;align-items:center;gap:8px;margin-top:12px}.stage-node{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:14px;white-space:nowrap}.stage-node i{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line-strong);border-radius:50%;font-family:var(--mono);font-size:11px;font-style:normal}.stage-node b{font-weight:500}.stage-node.is-complete{color:var(--soft)}.stage-node.is-complete i{color:#071014;border-color:var(--green);background:var(--green)}.stage-node.is-current{color:var(--cyan)}.stage-node.is-current i{border-color:var(--cyan);box-shadow:0 0 0 3px var(--cyan-soft)}.stage-node.is-failed,.stage-node.is-failed i{color:var(--red);border-color:var(--red)}.stage-line{flex:1 1 30px;min-width:10px;max-width:64px;height:1px;background:var(--line-strong)}.job-elapsed{color:var(--muted);font-size:13px;white-space:nowrap}.job-elapsed strong{color:var(--soft);font-family:var(--mono);font-weight:500}.job-stage-row{display:flex;justify-content:space-between;gap:10px;margin-top:12px;color:var(--soft);font-size:15px}.job-stage-row span:last-child{color:var(--cyan);font-family:var(--mono)}.progress-track{position:relative;height:6px;margin-top:8px;overflow:hidden;border-radius:99px;background:#20262d}.progress-fill{display:block;width:0;height:100%;border-radius:inherit;background:var(--cyan);transition:width .3s ease}.progress-track.is-active:after{position:absolute;top:0;right:0;bottom:0;left:0;content:"";background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);transform:translate(-100%);animation:sheen 1.8s ease-in-out infinite}@keyframes sheen{to{transform:translate(100%)}}.job-message{margin-top:8px;color:var(--muted);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.job-meta-row{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px;row-gap:4px;margin-top:10px;padding-top:10px;border-top:1px dashed var(--line);color:var(--muted);font-size:13px;min-width:0}.job-meta-key{font-family:var(--mono);font-size:11px;letter-spacing:.1em}.job-meta-row strong{min-width:0;flex:1 1 120px;overflow:hidden;color:var(--soft);font-family:var(--mono);font-size:12px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.job-meta{margin-left:auto;color:var(--soft);white-space:nowrap}.job-error{margin-top:10px;padding:9px 11px;border:1px solid rgba(232,134,134,.3);border-radius:8px;color:var(--red);background:var(--red-soft);font-size:13px;line-height:1.6;overflow-wrap:anywhere}.result-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:30px 18px;color:var(--muted);text-align:center;font-size:14px}.result-empty strong{color:var(--soft);font-size:16px;font-weight:600}.empty-frame{position:relative;width:90px;height:120px;display:flex;align-items:center;justify-content:center;margin-bottom:10px;overflow:hidden;border:1px solid rgba(130,220,225,.2);border-radius:10px;background:#53c3ca0a}.empty-frame:before{position:absolute;width:64px;height:64px;content:"";border:1px solid rgba(130,220,225,.14);border-radius:50%}.empty-play{color:var(--cyan);font-size:20px}.result-content{flex:1;min-height:0;display:flex;flex-direction:column;padding:12px 18px 14px}.video-frame{position:relative;flex:1;min-height:0;overflow:hidden;border:1px solid var(--line-strong);border-radius:10px;background:#040507}.video-frame video{display:block;width:100%;height:100%;object-fit:contain;background:#040507}.video-ratio-tag{position:absolute;left:10px;top:10px;padding:2px 8px;border-radius:6px;color:#ddf5f6;background:#050a0cb8;font-family:var(--mono);font-size:12px}.result-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.result-footer>div{min-width:0}.result-footer strong,.result-footer span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.result-footer strong{color:var(--text);font-size:15px;font-weight:600}.result-footer span{margin-top:2px;color:var(--muted);font-size:13px}.button-download{min-height:40px;color:var(--cyan);border-color:var(--cyan-line);background:var(--cyan-soft);text-decoration:none}.button-download:hover{background:#53c3ca33}.history-list{flex:1;min-height:0;display:flex;align-items:flex-start;gap:10px;padding:12px 18px;overflow-x:auto;scroll-snap-type:x proximity}.history-card{position:relative;flex:0 0 150px;min-width:0;padding:0;overflow:hidden;border:1px solid var(--line-strong);border-radius:10px;background:var(--field);scroll-snap-align:start;transition:border-color .15s}.history-card:hover{border-color:#e2ebf252}.history-card.is-active{border-color:var(--cyan);box-shadow:0 0 0 1px var(--cyan-line)}.history-preview{display:block;width:100%;padding:0;border:0;color:inherit;background:transparent;text-align:left;cursor:pointer}.history-thumb{position:relative;height:96px;overflow:hidden;background:#040507}.history-thumb video{width:100%;height:100%;display:block;object-fit:cover}.history-play{position:absolute;left:50%;top:50%;width:30px;height:30px;display:flex;align-items:center;justify-content:center;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.35);border-radius:50%;color:#fff;background:#04060999;font-size:11px}.history-info{padding:7px 10px 8px}.history-info strong,.history-info span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-info strong{color:var(--soft);font-size:13px;font-weight:600}.history-info span{margin-top:2px;color:var(--muted);font-family:var(--mono);font-size:12px}.history-delete{position:absolute;top:6px;right:6px;width:28px;height:28px;padding:0;border:1px solid rgba(255,150,150,.4);border-radius:50%;color:#ffd1d1;background:#140507db;font-size:18px;line-height:1;cursor:pointer;opacity:.72;transition:opacity .15s ease,background .15s ease}.history-card:hover .history-delete,.history-card:focus-within .history-delete{opacity:1}.history-delete:hover{background:#7f2c35}.history-delete:disabled{cursor:wait;opacity:.45}.history-empty{width:100%;padding:22px 0;color:var(--muted);font-size:14px;text-align:center}.history-error{color:var(--red)}.toast-region{position:fixed;z-index:30;right:20px;bottom:20px;width:min(400px,calc(100% - 32px));pointer-events:none}.toast{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid var(--line-strong);border-radius:10px;color:var(--soft);background:#151a21;box-shadow:0 16px 40px #00000073;font-size:14px;line-height:1.5;animation:toast-in .2s ease-out}.toast.is-leaving{opacity:0;transform:translateY(6px);transition:opacity .2s,transform .2s}.toast-mark{width:19px;height:19px;flex:0 0 19px;display:inline-flex;align-items:center;justify-content:center;margin-top:1px;border-radius:50%;color:var(--bg);background:var(--cyan);font-size:12px;font-weight:700}.toast-error .toast-mark{background:var(--red)}.toast-success .toast-mark{background:var(--green)}@keyframes toast-in{0%{opacity:0;transform:translateY(6px)}}@media(hover:none){.history-delete{opacity:1}}@container (max-width: 720px){.ratio-icon{display:none}.segment-option>span{font-size:14px}}@container (max-width: 520px){.param-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.segmented-options.stacked small{display:none}}@container (max-width: 590px){.job-panel{grid-column:1 / -1;grid-row:2}.history-panel{grid-column:1 / -1;grid-row:3}}@media(min-width:860px){html,body{height:100%;overflow:hidden}.app-shell{height:100dvh;display:flex;flex-direction:column}.topbar{flex:0 0 auto}.workspace{flex:1;min-height:0;grid-template-columns:minmax(600px,min(800px,46%)) minmax(0,1fr)}.studio-panel{min-height:0}.studio-body{flex:1;min-height:0;overflow-y:auto}.prompt-block{flex:1 1 auto;min-height:190px}.prompt-editor{flex:1 1 auto;height:auto;min-height:120px}.output-column,.result-panel,.history-panel{min-height:0}}@media(min-width:860px)and (max-height:820px){:root{--gap: 10px;--card-w: 92px}.topbar{height:50px;margin-bottom:10px}.studio-body{padding-top:12px;padding-bottom:12px}.field-hint{display:none}.history-thumb{height:80px}}@media(max-width:859px){.result-panel{min-height:0}.video-frame{height:min(70vh,640px);flex:0 0 auto}.form-actions{position:sticky;bottom:0;z-index:5}.studio-panel.is-prompt-expanded .prompt-editor{height:60vh}}@media(max-width:640px){:root{--card-w: 96px}.app-shell{padding:0 12px 16px}.topbar{height:auto;min-height:58px;padding-top:8px;padding-bottom:8px;flex-wrap:wrap}.brand-title,.hardware-tag{display:none}.studio-nav{margin-left:0}.studio-nav-link{padding:4px 7px}.resource-status{gap:5px;padding-right:7px;padding-left:7px;font-size:10px}.resource-status span+span{padding-left:5px}.topbar-status{max-width:100%;overflow-x:auto}.panel-heading,.compact-heading,.studio-body{padding-right:14px;padding-left:14px}.job-panel>:not(.panel-heading){margin-right:14px;margin-left:14px}.asset-row{grid-template-columns:minmax(0,1fr)}.first-frame-block{padding-left:0;border-left:0}.field-label-row{flex-wrap:wrap;row-gap:4px}.field-hint{white-space:normal}.form-actions{flex-direction:column;align-items:stretch;padding:12px 14px}.action-buttons>.button-primary{flex:1}.button-kbd{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.result-actions-group{display:flex;align-items:center;gap:.6rem}.button-finalize{background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff!important;font-weight:700;box-shadow:0 4px 14px #f59e0b66;border:none;cursor:pointer;padding:.55rem 1rem;border-radius:8px;font-size:.85rem;display:inline-flex;align-items:center;gap:.4rem;transition:transform .15s ease,filter .15s ease}.button-finalize:hover{transform:translateY(-1px);filter:brightness(1.15)}.queue-section{margin-top:1rem;padding-top:.75rem;border-top:1px solid rgba(255,255,255,.08)}.queue-heading{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;margin-bottom:.5rem;display:flex;align-items:center;justify-content:space-between}.queue-list{display:flex;flex-direction:column;gap:.35rem;max-height:160px;overflow-y:auto}.queue-item{display:flex;align-items:center;justify-content:space-between;padding:.45rem .65rem;background:#ffffff08;border:1px solid rgba(255,255,255,.05);border-radius:6px;font-size:.8rem}.queue-item-info{display:flex;align-items:center;gap:.5rem;max-width:80%}.queue-item-badge{font-size:.68rem;padding:.1rem .35rem;border-radius:4px;font-weight:600}.queue-item-badge.badge-draft{background:#f59e0b33;color:#f59e0b}.queue-item-badge.badge-final{background:#06b6d433;color:#06b6d4}.queue-item-prompt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#cbd5e1}.queue-empty{font-size:.75rem;color:#64748b;font-style:italic;padding:.25rem 0}.history-badge{font-size:.65rem;font-weight:600;padding:.1rem .3rem;border-radius:3px;margin-left:.35rem}.history-badge.draft{background:#f59e0b;color:#000}.history-badge.final{background:#06b6d4;color:#000}.topbar{min-height:52px;height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:0 4px}.topbar-status{display:flex;align-items:center;gap:8px;flex-shrink:0}.auth-toolbar{display:inline-flex;align-items:center;gap:6px;margin-left:6px;padding-left:8px;border-left:1px solid rgba(255,255,255,.12)}.studio-top-split{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:14px;align-items:stretch}.prompt-col{display:flex;flex-direction:column;min-width:0}.prompt-col .prompt-editor{flex:1;min-height:250px;height:100%;position:relative;border-radius:10px;background:#0a0d12bf;border:1px solid rgba(255,255,255,.1)}.specs-col{display:flex;flex-direction:column;gap:7px;justify-content:space-between;background:#0d1117b3;border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:10px 12px}.spec-unit{margin:0;padding:0;border:0}.spec-unit-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:3px}.spec-label{color:#94a3b8;font-size:11.5px;font-weight:500;letter-spacing:.02em}.spec-hint{color:#64748b;font-size:10.5px}.spec-unit .segmented-options{height:33px;display:grid;grid-template-columns:repeat(3,1fr);gap:2px;padding:2px;background:#0f172ad9;border:1px solid rgba(255,255,255,.08);border-radius:7px}.spec-unit .segment-option{position:relative;display:flex;cursor:pointer}.spec-unit .segment-option>span{width:100%;height:100%;display:flex;align-items:center;justify-content:center;gap:3px;font-size:11.5px;font-weight:500;border-radius:5px;color:#94a3b8;transition:all .15s ease;white-space:nowrap}.spec-unit .segment-option:hover>span{color:#f1f5f9;background:#ffffff0a}.spec-unit .segment-option input:checked+span{background:#2563eb!important;color:#fff!important;font-weight:600!important;box-shadow:0 1px 4px #2563eb66}.seed-unit .seed-control{height:33px;display:flex;align-items:center;gap:4px;background:#0f172ad9;border:1px solid rgba(255,255,255,.08);border-radius:7px;padding:2px 4px 2px 8px}.seed-unit #seedInput{flex:1;min-width:0;background:transparent;border:none;outline:none;color:#f8fafc;font-family:var(--mono);font-size:12px}.seed-unit .icon-button{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;background:#ffffff0d;border:1px solid rgba(255,255,255,.08);border-radius:5px;color:#94a3b8;cursor:pointer;font-size:13px;transition:all .15s ease}.seed-unit .icon-button:hover{color:#38bdf8;background:#38bdf81f;border-color:#38bdf84d}.spec-toggles-stack{display:flex;flex-direction:column;gap:4px;border-top:1px solid rgba(255,255,255,.06);padding-top:6px}.spec-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:4px 8px;background:#ffffff05;border:1px solid rgba(255,255,255,.05);border-radius:6px;cursor:pointer;transition:all .15s ease}.spec-toggle-row:hover{background:#ffffff0a;border-color:#ffffff1a}.spec-toggle-title{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:500;color:#cbd5e1}.spec-toggle-icon{font-size:13px}.spec-badge{font-size:10px;background:#38bdf826;color:#38bdf8;padding:1px 4px;border-radius:3px}.spec-sub{font-size:10px;color:#64748b}.media-dock-bottom{background:#0d1117b3;border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:10px 14px;display:flex;flex-direction:column;gap:8px}.media-dock-strip{display:flex;gap:12px;align-items:stretch;min-height:96px}.first-frame-wrapper{flex:0 0 110px;display:flex;flex-direction:column;gap:4px;border-right:1px solid rgba(255,255,255,.08);padding-right:12px}.first-frame-tag{font-size:11px;font-weight:600;color:#38bdf8;letter-spacing:.02em}.first-frame-slot{flex:1;display:flex;align-items:center;justify-content:center}.reference-deck-area{flex:1;min-width:0;position:relative;display:flex;align-items:center}.reference-deck-area .reference-grid{display:flex;align-items:center;gap:10px;overflow-x:auto;width:100%;padding:2px 0}.output-column{min-width:0;display:flex;flex-direction:column;gap:14px}.result-panel{display:flex;flex-direction:column;min-height:0}.video-frame{position:relative;width:100%;height:auto;max-height:360px;min-height:180px;margin:0 auto;overflow:hidden;border:1px solid var(--line-strong);border-radius:8px;background:#040507;display:flex;align-items:center;justify-content:center}.video-frame video{display:block;width:100%;height:100%;max-height:360px;object-fit:contain;background:#040507}.result-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:22px 14px;color:var(--muted);text-align:center;font-size:13px;min-height:140px}.result-empty strong{color:var(--soft);font-size:14px;font-weight:600}.empty-frame{width:56px;height:74px;margin-bottom:6px}@media(min-width:860px){html,body{height:100%;overflow:hidden}.app-shell{height:100dvh;display:flex;flex-direction:column}.topbar{flex:0 0 auto}.workspace{flex:1;min-height:0;display:grid!important;grid-template-columns:minmax(0,1fr) 380px!important;gap:16px}.studio-panel{min-height:0;display:flex;flex-direction:column}.studio-body{flex:1;min-height:0;overflow-y:auto;padding:14px 18px;gap:12px}.output-column{min-height:0;display:flex;flex-direction:column;gap:12px;overflow-y:auto;padding-right:4px}.result-panel{flex:0 0 auto;min-height:0}.video-frame{max-height:360px!important;height:auto!important}.job-panel{flex:0 0 auto}.history-panel{flex:1 1 auto;min-height:160px;display:flex;flex-direction:column}.history-list{flex:1;min-height:110px;max-height:220px;overflow-x:auto}}@media(min-width:1200px){.workspace{grid-template-columns:minmax(0,1fr) 410px!important;gap:20px}.studio-body{padding:16px 20px;gap:14px}}@media(min-width:1600px){.workspace{grid-template-columns:minmax(0,1fr) 440px!important;gap:24px}}.form-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;border-top:1px solid rgba(255,255,255,.08);background:#090d16d9}.form-status-indicator{display:flex;align-items:center;gap:8px;min-width:0}.status-pulse-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 8px #22c55e99;flex-shrink:0}.form-notice{font-size:12.5px;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.button-primary{background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;border:1px solid rgba(59,130,246,.4)!important;box-shadow:0 4px 14px #2563eb59!important;font-weight:600!important;border-radius:8px!important;padding:8px 18px!important;font-size:13.5px!important}.video-mode-bar{display:flex;flex-direction:column;gap:8px;background:#0d1117c7;border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:9px 12px}.video-mode-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}@media(max-width:780px){.video-mode-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.video-mode-tabs{grid-template-columns:1fr}}.video-mode-tab{display:flex;align-items:center;gap:9px;min-height:48px;padding:7px 12px;border-radius:9px;border:1px solid rgba(255,255,255,.08);background:#0f172aa6;color:#94a3b8;cursor:pointer;transition:all .16s ease;text-align:left;min-width:0;position:relative;overflow:hidden}.video-mode-tab:hover{color:#f1f5f9;border-color:#38bdf859;background:#1e293bcc}.video-mode-tab.is-active{color:#fff;background:linear-gradient(135deg,#2563ebf2,#0ea5e9e6);border-color:#38bdf8b3;box-shadow:0 4px 14px #0ea5e952}.mode-tab-icon{font-size:18px;width:24px;height:24px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.mode-tab-text{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0;flex:1;overflow:hidden}.mode-tab-text strong{display:block;font-size:12.5px;font-weight:600;color:#f1f5f9;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.video-mode-tab.is-active .mode-tab-text strong{color:#fff}.mode-tab-text small{display:block;font-size:10.5px;color:#94a3b8;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.video-mode-tab.is-active .mode-tab-text small{color:#e0f2feeb}.video-mode-banner{display:flex;align-items:center;gap:8px;padding:4px 8px;border-radius:6px;background:#0f172a8c;border:1px solid rgba(255,255,255,.05);font-size:11.5px;color:#94a3b8}.mode-banner-badge{flex-shrink:0;font-family:var(--mono);font-size:10px;font-weight:600;padding:1.5px 6px;border-radius:4px;color:#38bdf8;background:#38bdf824;border:1px solid rgba(56,189,248,.28)}.mode-banner-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.separated-assets-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:10px}.separated-assets-grid[hidden],.asset-category-card[hidden]{display:none!important}@media(max-width:700px){.separated-assets-grid{grid-template-columns:1fr}}.pose-category-card{border-color:#10b98147;background:linear-gradient(160deg,#0d1117d9,#06261f47)}.pose-badge{color:#34d399!important;background:#10b98126!important;border:1px solid rgba(16,185,129,.3)}.category-actions{display:inline-flex;align-items:center;gap:5px}.mini-pose-lib-btn{background:#10b98124;border:1px solid rgba(16,185,129,.35);color:#6ee7b7;font-size:10.5px;font-weight:600;border-radius:4px;padding:1px 6px;cursor:pointer;transition:all .15s ease}.mini-pose-lib-btn:hover{background:#10b98147;color:#ecfdf5}.ref-card.ref-pose{border-color:#10b9816b}.ref-card.ref-pose .ref-kind{color:#6ee7b7;border:1px solid rgba(16,185,129,.35)}.asset-category-card{background:#0d1117b3;border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;min-height:120px}.category-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;min-height:20px}.category-title{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#f1f5f9}.category-icon{font-size:13px}.category-badge{font-size:10.5px;color:#38bdf8;background:#38bdf81f;padding:1px 6px;border-radius:4px;font-family:var(--mono)}.category-meta{font-size:10.5px;color:#64748b}.mini-clear-btn{background:none;border:none;color:#64748b;font-size:11px;cursor:pointer;padding:1px 4px}.mini-clear-btn:hover{color:#f87171}.category-grid{display:flex;align-items:center;gap:8px;overflow-x:auto;flex:1;min-height:84px;padding:2px 0}.frames-dual-slot{display:grid;grid-template-columns:1fr 1fr;gap:8px;flex:1}.frame-subslot{display:flex;flex-direction:column;gap:4px;flex:1}.frame-sublabel{font-size:10px;color:#64748b;text-align:center;text-transform:uppercase;letter-spacing:.03em}.first-frame-slot,.last-frame-slot{flex:1;display:flex;align-items:center;justify-content:center;min-height:84px}.separated-assets-grid .ref-card,.separated-assets-grid .add-tile{width:78px;min-width:78px;height:88px;min-height:88px;border-radius:6px}.separated-assets-grid .add-tile strong{font-size:11px}.separated-assets-grid .add-tile small{display:none}.separated-assets-grid .add-tile-plus{width:22px;height:22px;font-size:14px}.separated-assets-grid .ref-token{font-size:10.5px;height:24px}.separated-assets-grid .ref-kind{font-size:10px;padding:1px 4px}.image-prompt-col{display:flex;flex-direction:column;gap:10px}.image-prompt-editor{min-height:190px;flex:1;display:flex;flex-direction:column}.image-prompt-editor textarea{flex:1;min-height:190px;width:100%;resize:vertical;border:1px solid var(--border-strong);border-radius:var(--radius);background:#05070ab8;color:var(--text);padding:12px 14px;font-size:.94rem;line-height:1.62;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease}.image-prompt-editor textarea:hover{border-color:#ffffff38}.image-prompt-editor textarea:focus{outline:none;border-color:#2dd4bfa6;background:#05070ae0;box-shadow:0 0 0 3px #2dd4bf1f}.negative-prompt-box{display:flex;flex-direction:column;gap:5px;padding:9px 11px;border-radius:var(--radius);border:1px solid var(--border);background:#ffffff05}.sub-field-label{font-size:.76rem;color:var(--text-soft);font-weight:600}.negative-textarea{width:100%;min-height:54px;max-height:120px;resize:vertical;border:1px solid rgba(255,255,255,.09);border-radius:7px;background:#05070a8f;color:var(--text);padding:7px 10px;font-size:.82rem;line-height:1.45}.negative-textarea:focus{outline:none;border-color:#2dd4bf85;background:#05070ad1}.prompt-config-panel{border:1px solid var(--border);border-radius:var(--radius);background:#ffffff05;overflow:hidden}.prompt-config-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;cursor:pointer;list-style:none;font-size:.78rem;font-weight:600;color:var(--text-soft);-webkit-user-select:none;user-select:none;transition:background .14s ease,color .14s ease}.prompt-config-summary::-webkit-details-marker{display:none}.prompt-config-summary:hover{background:#ffffff09;color:var(--text)}.config-status{color:var(--muted);font-family:var(--mono);font-size:.7rem;font-weight:500}.config-status.is-enabled{color:var(--accent)}.config-status.is-dirty{color:var(--amber)}.prompt-config-body{display:grid;gap:9px;padding:10px 12px 12px;border-top:1px solid var(--border);background:#05070a73}.prompt-config-toggle{padding:7px 10px}.compact-block textarea{width:100%;min-height:54px;border:1px solid rgba(255,255,255,.12);border-radius:7px;background:#05070ab3;color:var(--text);padding:7px 10px;font-size:.8rem}.prompt-config-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.config-path{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.button-compact{min-height:28px;padding:4px 10px;font-size:.75rem}.effective-prompt-box{display:grid;gap:5px;padding:8px 10px;border:1px solid var(--border);border-radius:7px;background:#05070aa6}.effective-prompt-preview{margin:0;max-height:84px;overflow:auto;color:var(--text-soft);font-family:var(--mono);font-size:.73rem;line-height:1.45;white-space:pre-wrap;word-break:break-word}.image-specs-col{display:flex;flex-direction:column;gap:8px}.select-input.compact-select{width:100%;min-height:33px;padding:5px 30px 5px 10px;border:1px solid var(--border-strong);border-radius:7px;background-color:#05070ac2;background-image:linear-gradient(45deg,transparent 50%,var(--text-soft) 50%),linear-gradient(135deg,var(--text-soft) 50%,transparent 50%);background-position:calc(100% - 15px) 52%,calc(100% - 10px) 52%;background-size:5px 5px;background-repeat:no-repeat;color:var(--text);font-size:.8rem;font-weight:600;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.select-input.compact-select:hover:not(:disabled){border-color:#ffffff3d}.select-input.compact-select:focus{outline:none;border-color:#2dd4bfa6}.select-input.compact-select option{background:#10141b;color:var(--text)}.ratio-classic{width:13px;height:10px}.spec-dual-inputs{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px}.spec-dual-sep{color:var(--muted);font-family:var(--mono);font-size:.78rem;-webkit-user-select:none;user-select:none}.compact-input-group{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:31px;padding:0 8px;border:1px solid rgba(255,255,255,.12);border-radius:7px;background:#05070ab8;transition:border-color .14s ease}.compact-input-group:focus-within{border-color:#2dd4bfa6}.compact-input-prefix{color:var(--muted);font-size:.7rem;font-weight:600;white-space:nowrap}.compact-input-group input[type=number]{width:100%;min-width:0;border:0;background:transparent;color:var(--text);font-family:var(--mono);font-size:.8rem;font-weight:600;text-align:right;padding:4px 0;outline:none}.compact-input-group input[type=number]:disabled{color:var(--muted);cursor:not-allowed}.image-assets-grid{grid-template-columns:minmax(0,1fr)!important}.image-source-category-card{transition:border-color .16s ease,background .16s ease}.image-source-category-card.is-active-mode{border-color:#2dd4bf61;background:linear-gradient(180deg,#2dd4bf0d,#ffffff04)}#editSourceModeBadge.is-active{background:#2dd4bf2e;color:#5eead4;border-color:#2dd4bf5c}.compact-source-dropzone{width:100%;min-height:76px;padding:10px 14px;border:1px dashed rgba(255,255,255,.18);border-radius:8px;background:#05070a73;color:var(--text);display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;transition:border-color .14s ease,background .14s ease}.compact-source-dropzone:hover,.compact-source-dropzone.is-dragging{border-color:#2dd4bfa6;background:#2dd4bf12}.source-drop-icon{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;flex:0 0 auto;border:1px solid rgba(45,212,191,.34);background:#2dd4bf1a;color:var(--accent);font-family:var(--mono);font-size:.95rem}.source-drop-text{display:flex;flex-direction:column;gap:2px;min-width:0}.source-drop-text strong{font-size:.83rem;color:var(--text)}.source-drop-text small{color:var(--muted);font-size:.74rem}.compact-source-preview{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 10px;border:1px solid rgba(45,212,191,.28);border-radius:8px;background:#05070aa6}.compact-source-preview img{width:56px;height:56px;object-fit:cover;border-radius:6px;border:1px solid var(--border);background:#050608}.source-preview-copy{min-width:0;display:grid;gap:2px}.source-preview-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem}.source-preview-copy span{color:var(--muted);font-family:var(--mono);font-size:.72rem}.source-preview-actions{display:flex;align-items:center;gap:8px}.button-stop:not(:disabled){border-color:#f8717161;background:#f871711f;color:#fecaca}.button-stop:hover:not(:disabled){border-color:#f87171a8;background:#f8717133}.image-result-empty{min-height:185px}.image-empty-frame{aspect-ratio:1 / 1;width:50px}.image-result-gallery{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.image-result-card{margin:0;overflow:hidden;border:1px solid var(--border-strong);border-radius:var(--radius);background:#050608}.image-result-preview-button{display:grid;place-items:center;width:100%;max-height:340px;padding:0;border:0;background:#050608;cursor:zoom-in;overflow:hidden}.image-result-preview-button img{display:block;width:100%;max-height:340px;object-fit:contain;background:#050608;transition:transform .18s ease}.image-result-preview-button:hover img{transform:scale(1.015)}.image-result-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-top:1px solid var(--border);background:#ffffff05;color:var(--text-soft);font-size:.76rem}.image-result-card-footer span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-download{flex:0 0 auto;padding:4px 9px;border:1px solid rgba(45,212,191,.34);border-radius:6px;background:#2dd4bf1a;color:var(--accent);font-size:.74rem;font-weight:700;text-decoration:none}.image-download:hover{border-color:#2dd4bf94;background:#2dd4bf29}.image-history-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:310px;overflow-y:auto;padding-right:2px}.image-history-list>.history-empty{grid-column:1 / -1}.image-history-card{position:relative;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#ffffff06;transition:border-color .14s ease,transform .14s ease}.image-history-card:hover,.image-history-card.is-active{border-color:#2dd4bf73}.image-history-preview{display:grid;width:100%;padding:0;border:0;background:transparent;color:var(--text);text-align:left;cursor:pointer}.image-history-preview img{display:block;width:100%;aspect-ratio:1 / 1;object-fit:cover;background:#050608}.image-history-preview span{display:block;padding:5px 26px 5px 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-soft);font-family:var(--mono);font-size:.68rem}.image-history-delete{position:absolute;right:5px;bottom:4px;width:20px;height:20px;border:1px solid transparent;border-radius:5px;background:#07090cc7;color:var(--muted);display:grid;place-items:center;cursor:pointer;font-size:.8rem;line-height:1}.image-history-delete:hover:not(:disabled){border-color:#f8717161;background:#f8717129;color:#fecaca}.pose-shell{min-height:100vh;display:flex;flex-direction:column;background:#07090c;color:#e2e8f0}.pose-workspace{flex:1;display:grid;grid-template-columns:minmax(260px,292px) minmax(0,1fr) minmax(280px,320px);gap:.85rem;padding:.85rem 1rem 1rem;max-width:1920px;width:100%;min-width:0;margin:0 auto;align-items:start}@media(max-width:1480px){.pose-workspace{grid-template-columns:minmax(250px,280px) minmax(0,1fr)}.pose-right-panel{grid-column:1 / -1}}@media(max-width:1040px){.pose-workspace{grid-template-columns:1fr}}.pose-left-panel,.pose-center-panel,.pose-right-panel{min-width:0;background:#10151d;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:.95rem;box-shadow:none}.sidebar-section{padding-bottom:.85rem;margin-bottom:.85rem;border-bottom:1px solid rgba(255,255,255,.07)}.sidebar-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.55rem}.section-head h3,.section-head h4{margin:0;font-size:.88rem;font-weight:600;color:#f1f5f9}.section-sub{margin:0 0 .65rem;font-size:.76rem;color:#94a3b8;line-height:1.45}.pose-upload-dropzone{display:block;border:1.5px dashed rgba(56,189,248,.38);background:#0f172a8c;border-radius:10px;padding:.85rem .75rem;cursor:pointer;transition:all .18s ease}.pose-upload-dropzone:hover,.pose-upload-dropzone.is-dragging{border-color:#38bdf8;background:#38bdf81a}.dropzone-inner{display:flex;align-items:center;gap:.65rem}.drop-icon{font-size:1.1rem;flex:0 0 auto}.dropzone-inner strong{display:block;font-size:.82rem;color:#f8fafc;word-break:break-all}.dropzone-inner small{display:block;font-size:.72rem;color:#94a3b8;margin-top:2px}.recent-picker{margin-top:.65rem}.recent-head{display:flex;justify-content:space-between;align-items:center;font-size:.74rem;color:#94a3b8;margin-bottom:.35rem}.text-btn{background:none;border:none;color:#38bdf8;font-size:.75rem;cursor:pointer;padding:0}.recent-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.recent-thumb-btn{position:relative;aspect-ratio:1;border-radius:6px;overflow:hidden;border:1.5px solid rgba(255,255,255,.1);background:#090d14;padding:0;cursor:pointer}.recent-thumb-btn.is-selected{border-color:#38bdf8;box-shadow:0 0 0 2px #38bdf847}.recent-thumb-btn img,.recent-thumb-btn video{width:100%;height:100%;object-fit:cover;display:block}.kind-dot{position:absolute;right:3px;bottom:3px;font-size:.62rem;background:#000000b8;color:#e2e8f0;padding:1px 4px;border-radius:3px}.layer-toggles-grid{display:flex;flex-direction:column;gap:.42rem}.layer-toggle-card{display:flex;align-items:center;gap:.6rem;padding:.48rem .65rem;border-radius:8px;background:#0f172a73;border:1px solid rgba(255,255,255,.07);cursor:pointer;transition:all .15s ease}.layer-toggle-card.is-on{background:#38bdf81c;border-color:#38bdf866}.layer-toggle-card input{accent-color:#38bdf8}.layer-icon{font-size:1.1rem}.layer-toggle-card strong{display:block;font-size:.8rem;color:#f1f5f9}.layer-toggle-card small{font-size:.7rem;color:#94a3b8}.param-row{margin-top:.55rem}.param-label-row{display:flex;justify-content:space-between;align-items:center;font-size:.76rem;color:#cbd5e1;margin-bottom:.25rem}.param-row input[type=range]{width:100%;accent-color:#38bdf8}.pose-select{width:100%;background:#0b111b;color:#f1f5f9;border:1px solid rgba(255,255,255,.14);border-radius:7px;padding:.42rem .55rem;font-size:.78rem}.primary-extract-btn{margin-top:.7rem;width:100%;padding:.58rem .75rem;border-radius:8px;border:1px solid rgba(56,189,248,.5);background:linear-gradient(135deg,#0284c7,#2563eb);color:#fff;font-weight:600;font-size:.82rem;cursor:pointer}.primary-extract-btn:disabled{opacity:.5;cursor:not-allowed}.pose-center-panel{display:flex;flex-direction:column;gap:.65rem;min-height:min(780px,calc(100dvh - 170px))}.pose-canvas-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;padding-bottom:.55rem;border-bottom:1px solid rgba(255,255,255,.08)}.view-mode-group{display:inline-flex;background:#090d14;padding:3px;border-radius:8px;border:1px solid rgba(255,255,255,.08)}.mode-pill{background:transparent;border:none;color:#94a3b8;padding:.34rem .68rem;border-radius:6px;font-size:.78rem;cursor:pointer}.mode-pill.is-active{background:#38bdf82e;color:#38bdf8;font-weight:600}.opacity-control{display:inline-flex;align-items:center;gap:.4rem;font-size:.76rem;color:#cbd5e1;background:#0f172a99;padding:.25rem .6rem;border-radius:7px}.opacity-control input{width:85px;accent-color:#38bdf8}.editor-actions{display:inline-flex;flex-wrap:wrap;gap:.4rem}.action-chip{background:#ffffff0f;border:1px solid rgba(255,255,255,.14);color:#e2e8f0;border-radius:7px;padding:.34rem .65rem;font-size:.76rem;cursor:pointer}.action-chip.is-editing{background:#10b98129;border-color:#10b98173;color:#34d399}.action-chip.is-primary{background:#0284c7;border-color:#38bdf8;color:#fff;font-weight:600}.pose-stage-container{flex:1;display:flex;align-items:center;justify-content:center;background:#05070a;border-radius:10px;border:1px solid rgba(255,255,255,.06);padding:.65rem;min-width:0;min-height:clamp(280px,54vh,620px);overflow:hidden}.pose-empty-state{text-align:center;max-width:460px;color:#94a3b8}.empty-icon{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;font-size:1.3rem;margin-bottom:.85rem;border:1px solid rgba(148,163,184,.2);border-radius:12px;background:#101722}.image-canvas-stage{display:flex;align-items:center;justify-content:center;gap:.85rem;width:100%;height:100%}.image-canvas-stage.is-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.split-orig-pane,.canvas-wrapper{position:relative;min-width:0;display:flex;align-items:center;justify-content:center}.split-orig-img,.interactive-pose-canvas{max-width:100%;max-height:62vh;width:auto;height:auto;border-radius:8px;box-shadow:none}.interactive-pose-canvas.can-drag{cursor:grab}.interactive-pose-canvas.is-dragging{cursor:grabbing}.pane-badge{position:absolute;top:8px;left:8px;z-index:4;background:#090d14d1;border:1px solid rgba(255,255,255,.14);color:#cbd5e1;font-size:.72rem;padding:2px 8px;border-radius:5px}.pane-badge.badge-accent{border-color:#38bdf873;color:#38bdf8}.joint-tooltip{position:absolute;pointer-events:none;transform:translate(-50%);background:#090d14f0;border:1px solid #38bdf8;border-radius:6px;padding:3px 8px;font-size:.73rem;white-space:nowrap;z-index:10;display:flex;gap:6px;align-items:center}.joint-tooltip strong{color:#38bdf8}.split-video-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.75rem;width:100%}.split-pane{position:relative;min-width:0}.split-pane video,.stage-video{width:100%;max-height:62vh;display:block;object-fit:contain;border-radius:8px;background:#000}.overlay-video-wrapper{position:relative;display:inline-block}.top-pose-video{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;mix-blend-mode:screen}.pose-canvas-footer{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:#94a3b8}.download-link-btn{color:#38bdf8;text-decoration:none;font-weight:500}.dispatch-grid{display:flex;flex-direction:column;gap:.45rem}.dispatch-btn{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:.22rem;width:100%;text-align:left;padding:.55rem .7rem;border-radius:8px;background:#0f172aa6;border:1px solid rgba(255,255,255,.1);color:#f1f5f9;cursor:pointer;transition:all .15s ease}.dispatch-btn:hover:not(:disabled){border-color:#38bdf8;background:#38bdf824}.dispatch-btn.is-accent{background:#0284c729;border-color:#38bdf873}.dispatch-btn:disabled{opacity:.45;cursor:not-allowed}.dispatch-btn span{font-size:.8rem;font-weight:600}.dispatch-btn small{font-size:.7rem;color:#94a3b8}.badge-tag,.shot-badge{font-size:.7rem;padding:2px 7px;border-radius:5px;background:#38bdf826;color:#38bdf8;border:1px solid rgba(56,189,248,.3)}.metrics-grid{display:grid;grid-template-columns:1fr 1fr;gap:.45rem;margin-bottom:.65rem}.metric-box{background:#090d14b3;border:1px solid rgba(255,255,255,.06);border-radius:7px;padding:.45rem .6rem}.metric-label{display:block;font-size:.7rem;color:#94a3b8}.metric-val{font-size:.92rem;color:#f8fafc}.text-sky{color:#38bdf8}.completeness-list{display:flex;flex-direction:column;gap:.45rem}.comp-row-head{display:flex;justify-content:space-between;font-size:.74rem;color:#cbd5e1;margin-bottom:3px}.comp-track{height:6px;background:#ffffff14;border-radius:999px;overflow:hidden}.comp-fill{height:100%;border-radius:999px}.rec-list{margin:.65rem 0 0;padding-left:1.1rem;font-size:.74rem;color:#94a3b8;line-height:1.45}.motion-chart-box{background:#090d14;border:1px solid rgba(255,255,255,.07);border-radius:8px;padding:.45rem}.motion-svg{width:100%;height:68px;display:block}.motion-chart-axis{display:flex;justify-content:space-between;font-size:.68rem;color:#64748b;margin-top:2px}.keyframes-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.45rem;margin-top:.4rem}.keyframe-card{background:#090d14;border:1px solid rgba(255,255,255,.1);border-radius:7px;padding:4px;cursor:pointer;text-align:left}.keyframe-card:hover{border-color:#38bdf8}.keyframe-card img{width:100%;height:84px;object-fit:cover;border-radius:5px;display:block}.kf-meta{display:flex;justify-content:space-between;font-size:.7rem;color:#cbd5e1;margin-top:3px}.pose-history-list{display:flex;flex-direction:column;gap:.38rem;max-height:220px;overflow-y:auto}.pose-hist-item{display:flex;align-items:center;gap:.55rem;padding:.35rem .45rem;border-radius:7px;background:#090d14a6;border:1px solid rgba(255,255,255,.06);cursor:pointer}.pose-hist-item.is-active{border-color:#38bdf8}.hist-thumb{width:38px;height:38px;border-radius:5px;overflow:hidden;background:#000;flex-shrink:0}.hist-thumb img,.hist-thumb video{width:100%;height:100%;object-fit:cover}.hist-meta{flex:1;min-width:0}.hist-meta strong{display:block;font-size:.75rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hist-meta span{font-size:.68rem;color:#94a3b8}.hist-del-btn{background:none;border:none;color:#64748b;font-size:1rem;cursor:pointer}.pose-toast{position:fixed;bottom:20px;right:24px;max-width:min(440px,calc(100vw - 40px));overflow-wrap:anywhere;z-index:999;padding:.65rem 1rem;border-radius:8px;background:#0f172af2;border:1px solid #38bdf8;color:#f8fafc;font-size:.82rem;box-shadow:0 10px 25px #00000080}.pose-toast.toast-error{border-color:#ef4444;color:#fca5a5}.pose-toast.toast-success{border-color:#10b981;color:#6ee7b7}.studio-layout{min-height:100vh;display:grid;grid-template-columns:224px minmax(0,1fr);background:#07090c;color:#e2e8f0;transition:grid-template-columns .2s ease}.studio-layout.is-sidebar-collapsed{grid-template-columns:64px minmax(0,1fr)}@media(max-width:860px){.studio-layout,.studio-layout.is-sidebar-collapsed{grid-template-columns:60px minmax(0,1fr)}}.studio-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(180deg,#0b1018,#070a0f);border-right:1px solid rgba(255,255,255,.08);padding:.75rem .55rem;z-index:40;-webkit-user-select:none;user-select:none}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;padding:.2rem .25rem .75rem;border-bottom:1px solid rgba(255,255,255,.07)}.brand-logo{display:flex;align-items:center;gap:.55rem;cursor:pointer;overflow:hidden}.brand-glyph{width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,#0284c7,#2563eb);display:inline-flex;align-items:center;justify-content:center;font-size:1.05rem;flex-shrink:0;box-shadow:0 4px 12px #0284c759}.brand-text strong{display:block;font-size:.88rem;color:#f8fafc;letter-spacing:.01em}.brand-text small{display:block;font-size:.68rem;color:#64748b}.collapse-btn{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);color:#94a3b8;border-radius:6px;width:26px;height:26px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-size:.85rem;flex-shrink:0}.collapse-btn:hover{color:#f8fafc;border-color:#38bdf866}.sidebar-groups{flex:1;display:flex;flex-direction:column;gap:1.05rem;padding-top:.85rem;overflow-y:auto}.nav-group{display:flex;flex-direction:column;gap:.3rem}.nav-group-title{font-size:.66rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#64748b;padding:0 .45rem .2rem}.side-nav-item{display:flex;align-items:center;gap:.65rem;padding:.52rem .55rem;border-radius:9px;color:#cbd5e1;text-decoration:none;border:1px solid transparent;background:transparent;width:100%;text-align:left;cursor:pointer;transition:all .15s ease}.side-nav-item:hover{background:#ffffff0d;color:#f8fafc}.side-nav-item.is-active{background:linear-gradient(135deg,#0284c73d,#2563eb2e);border-color:#38bdf873;color:#fff;box-shadow:inset 3px 0 #38bdf8}.nav-icon{font-size:1.15rem;width:26px;text-align:center;flex-shrink:0}.nav-copy{min-width:0;overflow:hidden}.nav-copy strong{display:block;font-size:.82rem;font-weight:600;white-space:nowrap}.nav-copy small{display:block;font-size:.68rem;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-footer{padding-top:.65rem;border-top:1px solid rgba(255,255,255,.07)}.vram-widget{background:#0f172a99;border:1px solid rgba(255,255,255,.07);border-radius:8px;padding:.5rem .6rem}.vram-head{display:flex;justify-content:space-between;font-size:.7rem;color:#cbd5e1;margin-bottom:4px}.vram-bar{height:5px;background:#ffffff1a;border-radius:999px;overflow:hidden}.vram-fill{height:100%;background:linear-gradient(90deg,#38bdf8,#818cf8)}.vram-sub{display:flex;justify-content:space-between;font-size:.66rem;color:#64748b;margin-top:4px}.studio-main-area{min-width:0;display:flex;flex-direction:column;min-height:100vh}.page-subtitle{font-size:.78rem;color:#94a3b8}@media(max-width:1100px){.page-subtitle{display:none}}.assets-workspace{flex:1;display:flex;flex-direction:column;gap:.85rem;padding:.75rem 1rem 1rem;max-width:1920px;width:100%;margin:0 auto}.assets-dashboard{background:#0f141ceb;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:.85rem 1rem}.disk-overview-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}.disk-title-block h3{margin:0 0 2px;font-size:.92rem;color:#f8fafc}.disk-meta{font-size:.76rem;color:#94a3b8}.quick-clean-actions{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center}.upload-asset-btn{background:linear-gradient(135deg,#0284c7,#2563eb);border:1px solid rgba(56,189,248,.5);color:#fff;padding:.36rem .75rem;border-radius:7px;font-size:.78rem;font-weight:600;cursor:pointer}.clean-chip{background:#ffffff0f;border:1px solid rgba(255,255,255,.14);color:#e2e8f0;padding:.34rem .68rem;border-radius:7px;font-size:.76rem;text-decoration:none;cursor:pointer}.clean-chip.is-warn{background:#f59e0b24;border-color:#f59e0b61;color:#fcd34d}.category-tabs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:.5rem}.cat-tab-card{display:flex;align-items:center;gap:.55rem;padding:.5rem .65rem;border-radius:9px;background:#090d14a6;border:1px solid rgba(255,255,255,.07);color:#cbd5e1;text-align:left;cursor:pointer;transition:all .15s ease}.cat-tab-card:hover{border-color:#38bdf859}.cat-tab-card.is-active{background:#38bdf824;border-color:#38bdf8;color:#fff}.cat-icon{font-size:1.25rem}.cat-info strong{display:block;font-size:.78rem}.cat-info span{font-size:.68rem;color:#94a3b8}.assets-main-split{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:.85rem;align-items:start}@media(max-width:1180px){.assets-main-split{grid-template-columns:1fr}}.assets-grid-panel,.assets-inspector-panel{background:#0f141ceb;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:.85rem}.assets-inspector-panel{position:sticky;top:.75rem}.assets-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;padding-bottom:.75rem;margin-bottom:.75rem;border-bottom:1px solid rgba(255,255,255,.08)}.search-box{flex:1;min-width:220px;position:relative;display:flex;align-items:center;background:#090d14;border:1px solid rgba(255,255,255,.14);border-radius:8px;padding:0 .6rem}.search-box input{flex:1;background:transparent;border:none;color:#f8fafc;padding:.45rem .4rem;font-size:.8rem;outline:none}.clear-search{background:none;border:none;color:#94a3b8;cursor:pointer;font-size:1rem}.toolbar-right{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center}.batch-btn{background:#ffffff0f;border:1px solid rgba(255,255,255,.14);color:#e2e8f0;border-radius:7px;padding:.4rem .7rem;font-size:.76rem;cursor:pointer}.batch-btn.is-danger{background:#ef44442e;border-color:#ef444473;color:#fca5a5;font-weight:600}.assets-empty{padding:3rem 1rem;text-align:center;color:#94a3b8;font-size:.85rem}.assets-cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:.65rem}.asset-card{position:relative;background:#090d14;border:1.5px solid rgba(255,255,255,.08);border-radius:10px;overflow:hidden;cursor:pointer;transition:all .15s ease;display:flex;flex-direction:column}.asset-card:hover{border-color:#38bdf873;transform:translateY(-1px)}.asset-card.is-inspected{border-color:#38bdf8;box-shadow:0 0 0 2px #38bdf840}.asset-card.is-selected{background:#38bdf817;border-color:#38bdf8}.asset-card-top{position:absolute;top:6px;left:6px;right:6px;z-index:3;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.asset-check{pointer-events:auto;background:#090d14d1;padding:3px 5px;border-radius:5px;display:inline-flex}.asset-cat-badge{font-size:.66rem;padding:2px 6px;border-radius:4px;background:#090d14d9;color:#38bdf8;border:1px solid rgba(56,189,248,.35)}.asset-cat-badge.cat-gen_draft{color:#fcd34d;border-color:#f59e0b73}.asset-cat-badge.cat-gen_pose{color:#34d399;border-color:#10b98173}.asset-thumb{position:relative;aspect-ratio:1;background:#05070a;overflow:hidden;display:flex;align-items:center;justify-content:center}.asset-thumb img,.asset-thumb video{width:100%;height:100%;object-fit:cover;display:block}.video-play-indicator{position:absolute;right:6px;bottom:6px;background:#000000b8;color:#fff;font-size:.68rem;padding:2px 6px;border-radius:4px}.audio-thumb-placeholder{display:flex;flex-direction:column;align-items:center;color:#94a3b8}.audio-wave-icon{font-size:2rem}.asset-card-body{padding:.5rem .6rem;display:flex;flex-direction:column;gap:3px}.asset-name{font-size:.76rem;color:#f1f5f9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.asset-prompt-snippet{margin:0;font-size:.7rem;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.asset-meta-row{display:flex;justify-content:space-between;font-size:.68rem;color:#64748b;margin-top:2px}.inspector-empty{text-align:center;padding:2.5rem 1rem;color:#94a3b8;font-size:.8rem}.inspector-head{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem;margin-bottom:.65rem}.inspector-title{margin:4px 0 0;font-size:.85rem;word-break:break-all;color:#f8fafc}.inspector-player-box{background:#05070a;border-radius:9px;border:1px solid rgba(255,255,255,.08);overflow:hidden;margin-bottom:.65rem;display:flex;align-items:center;justify-content:center;max-height:320px}.inspector-video,.inspector-image{max-width:100%;max-height:320px;width:auto;height:auto;display:block}.inspector-audio-box{width:100%;padding:1.2rem;text-align:center}.audio-icon-big{font-size:2.2rem;margin-bottom:.5rem}.inspector-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:.4rem;margin-bottom:.65rem}.meta-cell{background:#090d14a6;border:1px solid rgba(255,255,255,.06);border-radius:6px;padding:.38rem .55rem}.meta-cell span{display:block;font-size:.68rem;color:#64748b}.meta-cell strong{font-size:.78rem;color:#e2e8f0}.provenance-box{background:#0284c714;border:1px solid rgba(56,189,248,.25);border-radius:8px;padding:.6rem}.prompt-readout{background:#090d14bf;border-radius:6px;padding:.45rem .55rem;font-size:.75rem;color:#e2e8f0;max-height:90px;overflow-y:auto;line-height:1.45;margin-bottom:.45rem}.prov-tags{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:.5rem}.prov-tag{font-size:.68rem;background:#0f172acc;border:1px solid rgba(255,255,255,.1);padding:2px 6px;border-radius:4px;color:#93c5fd}.reuse-params-btn{width:100%;padding:.42rem;border-radius:6px;background:#38bdf833;border:1px solid rgba(56,189,248,.45);color:#38bdf8;font-size:.76rem;font-weight:600;cursor:pointer}.dispatch-btn.is-danger-outline{border-color:#ef444459;color:#fca5a5}.subject-picker-grid{display:flex;flex-direction:column;gap:.38rem;margin-top:.3rem}.subject-chip{display:flex;align-items:center;gap:.55rem;width:100%;text-align:left;padding:.45rem .6rem;border-radius:8px;background:#0f172a8c;border:1px solid rgba(255,255,255,.09);color:#e2e8f0;cursor:pointer;transition:all .16s ease}.subject-chip:hover:not(:disabled){border-color:#38bdf880;background:#38bdf81a}.subject-chip.is-active{background:#0284c738;border-color:#38bdf8;box-shadow:0 0 0 1px #38bdf840}.subject-chip:disabled{opacity:.55;cursor:wait}.subj-icon{font-size:1.05rem;flex-shrink:0}.subj-info{flex:1;min-width:0}.subj-info strong{display:block;font-size:.78rem;color:#f8fafc}.subj-info small{display:block;font-size:.68rem;color:#94a3b8;margin-top:1px}.subj-lock-tag{font-size:.66rem;padding:2px 6px;border-radius:999px;background:#10b98133;border:1px solid rgba(16,185,129,.5);color:#6ee7b7;font-weight:600}.stage-subject-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;padding:.42rem .65rem;border-radius:8px;background:#090d14d9;border:1px solid rgba(56,189,248,.22)}.stage-subject-title{font-size:.75rem;font-weight:600;color:#cbd5e1}.stage-subj-pill{background:#0f172acc;border:1px solid rgba(255,255,255,.14);color:#e2e8f0;border-radius:999px;padding:.24rem .62rem;font-size:.74rem;cursor:pointer;transition:all .15s ease}.stage-subj-pill:hover:not(:disabled){border-color:#38bdf8;color:#38bdf8}.stage-subj-pill.is-active{background:#125577;border-color:#38bdf8;color:#fff;font-weight:600}.stage-subject-tip{margin-left:auto;font-size:.71rem;color:#94a3b8}.video-interactive-wrap{position:relative;display:inline-block;width:100%}.video-person-hitbox{position:absolute;top:0;left:0;right:0;bottom:52px;z-index:5;cursor:crosshair}.video-subject-box{position:absolute;border:1.5px dashed rgba(56,189,248,.65);background:#38bdf80f;border-radius:8px;padding:0;cursor:pointer;transition:all .16s ease}.video-subject-box:hover{border-color:#38bdf8;background:#38bdf826}.video-subject-box.is-locked{border:2px solid #10b981;background:#10b9811a;box-shadow:none}.video-subject-tag{position:absolute;top:-24px;left:0;white-space:nowrap;font-size:.7rem;font-weight:600;padding:2px 8px;border-radius:5px;background:#090d14e6;border:1px solid rgba(56,189,248,.6);color:#f8fafc}.video-subject-box.is-locked .video-subject-tag{background:#064e3bf2;border-color:#10b981;color:#6ee7b7}.video-click-reticle{position:absolute;transform:translate(-50%,-50%);pointer-events:none;padding:3px 8px;border-radius:999px;background:#10b981eb;border:1.5px solid #ffffff;color:#fff;font-size:.7rem;font-weight:600;white-space:nowrap;box-shadow:0 2px 8px #00000059}html:has(#pose-app){height:auto;overflow-y:auto}body:has(#pose-app){height:auto;overflow:visible}#pose-app{min-height:100dvh}.studio-main-area>.topbar{min-height:64px;height:auto;margin:0;padding:.7rem 1rem;flex-wrap:wrap}.studio-main-area>.topbar .brand-lockup{flex:1 1 280px;flex-wrap:wrap;gap:.25rem .75rem}.studio-main-area>.topbar .brand-title{display:block;border:0;padding:0;white-space:normal;line-height:1.45}.studio-main-area>.topbar .topbar-status{max-width:100%;flex:0 1 auto;flex-wrap:wrap;gap:.4rem;overflow:visible}.studio-main-area>.topbar :is(.hardware-tag,.health-badge,.resource-status){min-height:27px;padding:3px 8px;font-size:.68rem}.studio-layout.is-sidebar-collapsed .sidebar-brand{flex-direction:column;gap:.55rem}.pose-workflow-header{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.65rem 1rem;padding:.1rem .1rem .2rem}.pose-workflow-header :is(h1,h2){margin:0;font-size:1.06rem;font-weight:600;white-space:normal}.pose-workflow-header p{margin:.2rem 0 0;color:#94a3b8;font-size:.77rem;line-height:1.6}.pose-steps{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}.pose-step,.pose-status{display:inline-flex;align-items:center;gap:.4rem;padding:.32rem .55rem;border:1px solid rgba(148,163,184,.16);border-radius:7px;color:#94a3b8;background:#0d121a;font-size:.74rem;line-height:1.45}.pose-step.is-active,.pose-status.is-ready,.pose-status.is-running{border-color:#38bdf859;color:#7dd3fc;background:#0284c71a}.pose-step.is-complete,.pose-status.is-complete,.pose-status.is-done{color:#6ee7b7;border-color:#34d3994d}.pose-status.is-error{color:#fca5a5;border-color:#f8717159}.pose-workspace .section-head{flex-wrap:wrap;align-items:baseline;gap:.2rem .5rem}.pose-workspace .section-head :is(h3,h4){font-size:.82rem;line-height:1.6}.pose-workspace .field-meta{font-family:inherit;font-size:.68rem;white-space:normal;line-height:1.5}.pose-workspace :is(.param-label-row,.recent-head,.comp-row-head,.kf-meta){flex-wrap:wrap;gap:.2rem .5rem}.pose-workspace :is(button,a,input,select):focus-visible{outline:2px solid #7dd3fc;outline-offset:3px}.pose-workspace :is(button,select){max-width:100%}.pose-upload-dropzone.is-busy{cursor:wait;opacity:.65}.dropzone-inner>div{min-width:0}.pose-upload-dropzone small{line-height:1.6}.layer-toggles-compact{display:flex;flex-wrap:wrap;gap:.4rem}.layer-pill{display:flex;flex:1 1 72px;align-items:center;gap:.3rem;min-width:0;padding:.5rem .35rem;border:1px solid rgba(255,255,255,.1);border-radius:7px;background:#0c1119;color:#94a3b8;font-size:.72rem;line-height:1.5;cursor:pointer}.layer-pill.is-on{border-color:#38bdf859;color:#e2e8f0;background:#0284c71a}.layer-pill input{width:13px;height:13px;margin:0;flex:0 0 auto;accent-color:#38bdf8}.param-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.param-two-col .param-row{min-width:0}.pose-workspace :is(.metric-val,.param-label-row strong,.comp-row-head strong){font-variant-numeric:tabular-nums}.prelock-hint-card,.empty-report,.empty-history{padding:.65rem .7rem;border:1px solid rgba(148,163,184,.12);border-radius:8px;background:#0c1119;color:#94a3b8;font-size:.73rem;line-height:1.7}.prelock-status>strong{display:block;margin-bottom:.25rem;color:#cbd5e1;font-size:.75rem;font-weight:500}.prelock-status p{margin:0}.pose-start-footer{position:sticky;bottom:-.95rem;z-index:8;margin-bottom:.85rem;padding:.75rem 0;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08);background:#10151d}.start-extract-box{min-width:0}.hero-start-btn,.stage-start-btn,.action-chip.is-start-cta{border:1px solid #38bdf8;border-radius:8px;background:#087daa;color:#fff;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.hero-start-btn{display:flex;align-items:center;justify-content:center;gap:.65rem;width:100%;min-height:58px;padding:.7rem;text-align:left}.hero-start-btn .btn-icon{font-size:1.05rem;line-height:1}.hero-start-btn .btn-text{min-width:0}.hero-start-btn strong{display:block;font-size:.86rem;font-weight:600;line-height:1.5}.hero-start-btn small{display:block;margin-top:.1rem;color:#d0edfa;font-size:.7rem;line-height:1.5}.hero-start-btn:hover:not(:disabled),.stage-start-btn:hover:not(:disabled),.action-chip.is-start-cta:hover:not(:disabled){border-color:#7dd3fc;background:#086b93}.pose-workspace button:disabled{opacity:.45;cursor:not-allowed}.hero-start-btn.is-running:disabled{opacity:.85;cursor:wait}.prelock-banner,.stage-preextract-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem}.prelock-banner{padding-bottom:.55rem;color:#6ee7b7;font-size:.71rem;line-height:1.6}.stage-preextract-bar{padding:.6rem .7rem;border:1px solid rgba(56,189,248,.22);border-radius:8px;background:#0284c712}.preextract-left{flex:1 1 240px;min-width:0}.preextract-badge{display:block;margin-bottom:.15rem;color:#cbd5e1;font-size:.76rem;font-weight:600}.preextract-tip{color:#94a3b8;font-size:.72rem;line-height:1.6}.preextract-actions{display:flex;flex-wrap:wrap;gap:.4rem}.stage-start-btn{padding:.45rem .75rem;font-size:.76rem}.extraction-error{margin-top:.55rem;padding:.6rem .7rem;border:1px solid rgba(248,113,113,.32);border-radius:7px;background:#7f1d1d24;color:#fca5a5;font-size:.73rem;line-height:1.65;overflow-wrap:anywhere}.pose-empty-state h3{margin:0 0 .55rem;color:#cbd5e1;font-size:.98rem;font-weight:500;line-height:1.65}.pose-empty-state p{font-size:.78rem;line-height:1.85}.pose-empty-state strong{color:#cbd5e1;font-weight:500}.pose-canvas-toolbar>*,.editor-actions,.video-Compare-stage,.single-video-stage{min-width:0;max-width:100%}.video-Compare-stage,.single-video-stage{width:100%}.view-mode-group{flex-wrap:wrap}.mode-pill,.action-chip{min-height:32px;line-height:1.5}.pose-canvas-footer{flex-wrap:wrap;gap:.55rem .85rem;line-height:1.6}.footer-left{display:flex;flex:1 1 200px;flex-direction:column;gap:.25rem}.footer-right{margin-left:auto}.pane-badge{max-width:calc(100% - 16px);line-height:1.5}.dispatch-btn :is(span,small){overflow-wrap:anywhere;line-height:1.6}.hist-del-btn{min-width:28px;min-height:28px}@media(min-width:1481px){.pose-left-panel{max-height:calc(100dvh - 168px);overflow-y:auto;overscroll-behavior:contain;scroll-padding-bottom:100px}}@media(min-width:1041px)and (max-width:1480px){.pose-right-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.pose-right-panel>.sidebar-section{margin:0;padding:0;border:0}}@media(max-width:1040px){.pose-center-panel{min-height:0}.pose-start-footer{position:static;margin-bottom:.85rem;padding:.7rem 0}.pose-stage-container{min-height:clamp(260px,48vh,500px)}}@media(max-width:860px){.studio-sidebar{padding-right:.35rem;padding-left:.35rem}.studio-sidebar :is(.brand-text,.nav-copy,.nav-group-title,.vram-widget,.collapse-btn){display:none}.studio-sidebar .sidebar-brand,.studio-sidebar .side-nav-item{justify-content:center}.studio-sidebar .side-nav-item{padding:.55rem .25rem}.studio-sidebar .nav-icon{font-size:1rem}.pose-workspace{gap:.7rem;padding:.7rem}.pose-workflow-header{align-items:flex-start}}@media(max-width:600px){.studio-main-area>.topbar{gap:.5rem;padding:.7rem}.studio-main-area>.topbar .brand-lockup{flex-basis:100%}.studio-main-area>.topbar .brand-title{font-size:.88rem!important}.studio-main-area>.topbar .resource-status{display:none}.studio-main-area>.topbar .auth-toolbar{margin-left:0!important;padding-left:0!important;border-left:0!important}.pose-left-panel,.pose-center-panel,.pose-right-panel{padding:.75rem;border-radius:10px}.pose-workflow-header p{font-size:.73rem}.pose-steps{width:100%}.pose-step{flex:1 1 auto;justify-content:center;font-size:.7rem;padding:.3rem}.pose-canvas-toolbar{align-items:stretch}.view-mode-group,.editor-actions{width:100%}.mode-pill{flex:1 1 45%;padding:.35rem .4rem;font-size:.72rem}.image-canvas-stage.is-split,.split-video-grid{grid-template-columns:minmax(0,1fr);gap:.75rem}.image-canvas-stage.is-split :is(.split-orig-img,.interactive-pose-canvas),.split-video-grid video{max-height:42vh}.pose-stage-container{padding:.5rem;min-height:250px}.pose-empty-state h3{font-size:.88rem}.stage-subject-tip{flex-basis:100%;margin-left:0;line-height:1.6}.pose-toast{right:12px;bottom:12px;max-width:calc(100vw - 84px)}}@media(prefers-reduced-motion:reduce){.pose-workspace *,.studio-layout{transition:none}}.studio-layout .studio-main-area:has(>.pose-compact-workspace){height:100dvh;min-height:0}.pose-narrow-nav{display:none}.studio-layout .pose-compact-workspace{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);align-items:stretch;width:100%;max-width:none;flex:1 1 0;height:auto;min-height:0;padding:10px;gap:8px}.pose-compact-workspace .pose-workflow-header{min-width:0;padding:0;gap:8px}.pose-title-lockup,.pose-workspace-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.pose-compact-workspace .pose-workflow-header h1{font-size:14px;line-height:1.4}.pose-compact-workspace .pose-status{padding:4px 8px;font-size:11px}.pose-compact-workspace .pose-workspace-actions{margin-left:auto;gap:6px}.pose-tool-button,.pose-dialog-tabs button,.pose-segmented-options button,.stage-subj-page{min-height:32px;padding:6px 11px;border:1px solid #334255;border-radius:6px;background:#172130;color:#d5dfec;font:inherit;font-size:12px;line-height:1.4;cursor:pointer}.pose-tool-button:hover:not(:disabled),.pose-dialog-tabs button:hover:not(:disabled){border-color:#5d83a7;background:#1e2e41}.pose-tool-button:disabled,.pose-tool-dialog button:disabled{opacity:.45;cursor:not-allowed}.pose-tool-button:focus-visible,.pose-tool-dialog :is(button,a):focus-visible{outline:2px solid #7dd3fc;outline-offset:2px}.pose-count{margin-left:6px;color:#8eabc5;font-variant-numeric:tabular-nums}.studio-layout .pose-compact-workspace .hero-start-btn{width:auto;min-width:74px;min-height:34px;padding:6px 16px;font-size:13px;line-height:1.4;text-align:center}.pose-compact-workspace .pose-inline-error{display:flex;align-items:center;gap:12px;flex-basis:100%;margin:0;padding:5px 10px;font-size:12px;line-height:1.4}.pose-editor-grid{display:grid;grid-template-columns:minmax(424px,.9fr) minmax(0,1.1fr);gap:10px;min-width:0;min-height:0}.pose-controls-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(198px,.94fr);align-self:start;gap:14px;padding:14px;min-width:0;min-height:0;overflow:visible}.pose-source-column,.pose-parameters-column{min-width:0}.pose-parameters-column{padding-left:14px;border-left:1px solid #263241}.pose-setting-group+.pose-setting-group{margin-top:18px}.pose-compact-workspace .section-head{align-items:center;margin:0 0 9px;gap:5px}.pose-compact-workspace .section-head h2,.pose-instruction-box h2{margin:0;font-size:13px;font-weight:500;line-height:1.5}.pose-compact-workspace .field-meta{color:#8c9eb4;font-size:10px;line-height:1.4}.pose-compact-workspace .pose-upload-dropzone{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:126px;margin:0;padding:12px 8px;background:#131f2c;border:1px dashed #41637e;border-radius:8px}.pose-compact-workspace .pose-upload-dropzone strong{color:#dfe9f6;font-size:13px;font-weight:500}.pose-compact-workspace .pose-upload-dropzone small{color:#92a8bf;font-size:11px;line-height:1.5;text-align:center}.pose-compact-workspace .pose-upload-dropzone.is-dragging{background:#15374b;border-color:#67cdf4}.pose-source-icon{color:#83bad8;font-size:25px;font-weight:300;line-height:1}.pose-source-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}.pose-source-actions .pose-tool-button{padding:7px 4px}.pose-source-name{margin-top:12px;padding:9px 10px;border-radius:6px;background:#0d141e}.pose-source-name>span{display:block;margin-bottom:4px;color:#8194aa;font-size:10px}.pose-source-name>strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#bbcbdc;font-size:11px;font-weight:400;line-height:1.55;overflow-wrap:anywhere}.pose-instruction-box{margin-top:22px;color:#9caec2}.pose-instruction-box ol{display:grid;gap:12px;margin:10px 0 0;padding:0;list-style:none}.pose-instruction-box li{display:flex;align-items:flex-start;gap:9px}.pose-instruction-box li>span{display:grid;flex:0 0 21px;place-items:center;height:21px;border:1px solid #314155;border-radius:50%;color:#8dabc4;font-size:11px}.pose-instruction-box li strong{font-size:12px;font-weight:400;color:#bccbdc}.pose-instruction-box li p{margin:3px 0 0;font-size:11px;line-height:1.5}.pose-manual-hint{margin:14px 0 0;padding-top:10px;border-top:1px solid #263241;color:#7992a9;font-size:10px;line-height:1.55}.pose-compact-workspace .layer-toggles-compact{flex-wrap:nowrap;gap:4px}.pose-compact-workspace .layer-pill{flex:1 1 0;justify-content:center;gap:3px;padding:7px 3px;font-size:12px;line-height:1.4}.pose-compact-workspace .layer-pill>span{white-space:nowrap}.pose-compact-workspace .layer-pill input{width:12px;height:12px}.pose-compact-workspace .layer-pill small{color:#8eabc4;font-size:10px}.pose-compact-workspace .param-row{margin-top:13px}.pose-compact-workspace .param-label-row{margin-bottom:4px;font-size:12px}.pose-compact-workspace .param-label-row strong{font-size:11px;font-weight:400;color:#a5bfd4}.pose-compact-workspace .param-row input[type=range]{display:block;width:100%;height:17px;margin:0}.pose-choice-label{display:flex;justify-content:space-between;margin:10px 0 5px;color:#b4c4d6;font-size:12px}.pose-choice-label>span{font-size:10px;color:#8299b0}.pose-segmented-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.pose-segmented-options button{min-width:0;padding:6px 2px;font-size:12px}.pose-segmented-options button.is-active,.pose-dialog-tabs button.is-active{color:#c7edff;background:#153e55;border-color:#397ea2}.pose-target-summary{display:flex;align-items:center;justify-content:space-between;gap:8px}.pose-target-summary>strong{font-size:12px;font-weight:400;color:#bcd5e8}.pose-target-summary .text-btn{font-size:11px}.pose-parameter-hint,.pose-parameter-update{margin:7px 0 0;color:#8196ad;font-size:11px;line-height:1.6}.pose-parameter-update{margin-top:14px;color:#d3b97a}.pose-compact-workspace .pose-center-panel{display:flex;flex-direction:column;min-height:0;height:100%;padding:10px;gap:8px}.pose-compact-workspace .pose-canvas-toolbar{flex:0 0 auto;padding:0;border:0;justify-content:flex-start;gap:7px}.pose-compact-workspace .view-mode-group{flex-wrap:nowrap;padding:2px;border-radius:6px}.pose-compact-workspace .mode-pill{flex:0 1 auto;min-height:30px;padding:5px 10px;font-size:12px}.pose-compact-workspace .opacity-control{gap:5px;padding:4px 6px;background:transparent;font-size:11px}.pose-compact-workspace .opacity-control input{width:64px;height:16px;margin:0}.pose-compact-workspace .opacity-control strong{min-width:28px;font-size:10px;font-weight:400}.pose-compact-workspace .editor-actions{margin-left:auto;flex-wrap:wrap;gap:5px}.pose-compact-workspace .action-chip{min-height:30px;padding:5px 9px;font-size:12px}.pose-compact-workspace .stage-preextract-bar{flex:0 0 auto;justify-content:flex-start;gap:8px;padding:7px 9px;border:0;border-radius:5px;background:#152231}.pose-compact-workspace .preextract-badge{display:inline;margin:0;color:#8ec5e3;font-size:11px;font-weight:400;white-space:nowrap}.pose-compact-workspace .preextract-tip{font-size:10px;line-height:1.5}.pose-compact-workspace .stage-subject-bar{flex:0 0 auto;flex-wrap:wrap;gap:5px;padding:5px 7px;border:0;border-radius:5px;background:#152231}.pose-compact-workspace .stage-subject-title{font-size:11px;font-weight:400}.pose-compact-workspace .stage-subj-pill{max-width:132px;min-height:28px;padding:4px 8px;border-radius:5px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stage-subj-page{min-width:26px;min-height:27px;padding:3px 6px}.stage-subject-page{color:#8ca5bd;font-size:10px}.pose-compact-workspace .pose-stage-container{position:relative;flex:1 1 0;min-height:0;padding:8px;border-radius:6px;background-color:#0b111a;background-image:linear-gradient(#8ca9c008 1px,transparent 1px),linear-gradient(90deg,#8ca9c008 1px,transparent 1px);background-size:24px 24px}.pose-compact-workspace .pose-empty-state{max-width:360px;padding:20px}.pose-compact-workspace .pose-empty-state .empty-icon{width:42px;height:42px;margin-bottom:12px;color:#7b9dbb;background:#142132;border-color:#2b4058;font-size:27px;font-weight:300}.pose-compact-workspace .pose-empty-state h3{margin:0 0 8px;font-size:15px;font-weight:400}.pose-compact-workspace .pose-empty-state p{margin:0;font-size:12px;line-height:1.8;color:#8199b1}.pose-compact-workspace .image-canvas-stage,.pose-compact-workspace .video-Compare-stage{position:absolute;top:8px;right:8px;bottom:8px;left:8px;width:auto;height:auto;min-height:0;gap:12px}.pose-compact-workspace .image-canvas-stage.is-split{grid-template-columns:repeat(2,minmax(0,1fr))}.pose-compact-workspace .canvas-wrapper,.pose-compact-workspace .split-orig-pane{width:100%;height:100%;min-height:0}.pose-compact-workspace .interactive-pose-canvas,.pose-compact-workspace .split-orig-img{width:auto;height:auto;max-width:100%;max-height:100%;border-radius:4px}.pose-compact-workspace .video-Compare-stage,.pose-compact-workspace .single-video-stage{display:flex;align-items:center;justify-content:center;min-height:0}.pose-compact-workspace .single-video-stage{width:100%;height:100%}.pose-compact-workspace .split-video-grid{height:100%;gap:12px;align-items:center;justify-items:center}.pose-compact-workspace .split-pane{min-height:0;display:flex;align-items:center;justify-content:center}.pose-compact-workspace .video-interactive-wrap{position:relative;display:block;flex:0 0 auto;max-width:100%;max-height:100%}.pose-compact-workspace .video-interactive-wrap video,.pose-compact-workspace .split-pane>video{width:100%;height:100%;max-height:100%;object-fit:contain;border-radius:4px}.pose-compact-workspace .stage-video{max-height:100%}.pose-compact-workspace .pane-badge{top:6px;left:6px;max-width:calc(100% - 12px);padding:2px 6px;font-size:10px}.pose-compact-workspace .pose-canvas-footer{flex:0 0 auto;min-height:20px;gap:6px;flex-wrap:nowrap;font-size:11px}.pose-compact-workspace .footer-left{flex-direction:row;align-items:center;gap:9px;min-width:0;flex:1 1 auto}.pose-compact-workspace .dim-tag{white-space:nowrap;font-size:10px}.pose-compact-workspace .edit-hint,.pose-compact-workspace .pose-canvas-footer .text-btn{font-size:10px;line-height:1.5}.pose-compact-workspace .footer-right{flex-shrink:0}.pose-tool-dialog{width:min(700px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);margin:auto;padding:0;overflow:visible;color:#d5e0ed;background:#101722;border:1px solid #34465b;border-radius:10px;box-shadow:0 24px 80px #0009}.pose-tool-dialog::backdrop{background:#000b}.pose-tool-dialog[open]{display:block}.pose-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px solid #26364a}.pose-dialog-header h2{margin:0;font-size:15px;font-weight:500}.pose-dialog-body{padding:14px 16px;min-width:0}.pose-dialog-hint{margin:10px 0 12px;color:#8fa4bd;font-size:12px;line-height:1.6}.pose-dialog-feedback{margin:10px 0;color:#9ac9e2;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.pose-dialog-feedback.toast-error{color:#f1a1a1}.pose-history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.pose-dialog-tabs{display:flex;gap:5px;flex-wrap:wrap}.pose-dialog-tabs button{padding:7px 11px}.pose-pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:14px;color:#91a6bd;font-size:11px}.pose-tool-dialog .pose-history-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:none;overflow:visible}.pose-tool-dialog .pose-hist-item{min-width:0;padding:6px;gap:5px;cursor:default}.pose-history-open{display:flex;align-items:center;flex:1 1 auto;gap:9px;min-width:0;padding:0;border:0;background:transparent;color:#d0deed;text-align:left;cursor:pointer}.pose-tool-dialog .hist-thumb{display:block;width:48px;height:48px}.pose-tool-dialog .hist-meta{min-width:0}.pose-tool-dialog .hist-meta strong{font-size:11px}.pose-tool-dialog .hist-meta span{font-size:10px}.pose-tool-dialog .hist-del-btn{flex-shrink:0;min-width:32px;font-size:11px}.pose-source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pose-tool-dialog .pose-source-card{display:block;min-width:0;aspect-ratio:auto;padding:5px;background:#0b121c;text-align:left}.pose-source-thumb{position:relative;display:block;height:100px;background:#05090f;border-radius:4px}.pose-source-thumb :is(img,video){width:100%;height:100%;object-fit:contain}.pose-source-card>strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:7px 3px 3px;color:#b5c8dc;font-size:11px;font-weight:400;overflow-wrap:anywhere}.pose-tool-dialog .pose-right-panel{display:block;width:100%;min-width:0;min-height:0;padding:0;border:0;background:transparent;box-shadow:none}.pose-tool-dialog .sidebar-section{margin:0;padding:0;border:0}.pose-tool-dialog .section-head{margin:0 0 10px;align-items:center}.pose-tool-dialog .section-head :is(h3,h4){margin:0;font-size:13px;font-weight:500}.pose-tool-dialog .section-sub{margin:0 0 12px;color:#91a7bd;font-size:12px;line-height:1.7}.pose-tool-dialog .dispatch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pose-tool-dialog .dispatch-btn{min-height:76px;padding:12px;justify-content:center}.pose-tool-dialog .dispatch-btn span{font-size:13px;font-weight:500}.pose-tool-dialog .dispatch-btn small{font-size:11px}.pose-report-tabs{margin-bottom:16px}.pose-tool-dialog .metrics-grid{gap:8px;margin-bottom:18px}.pose-tool-dialog .metric-box{padding:10px 12px}.pose-tool-dialog .metric-label{font-size:11px}.pose-tool-dialog .metric-val{display:block;margin-top:4px;font-size:19px;font-weight:400}.pose-tool-dialog .completeness-list{gap:12px}.pose-tool-dialog .comp-row-head{font-size:12px}.pose-tool-dialog .comp-row-head strong{font-size:11px;font-weight:400}.pose-tool-dialog .motion-chart-box{padding:8px}.pose-tool-dialog .motion-svg{height:62px}.pose-tool-dialog .keyframes-block{margin-top:15px}.pose-tool-dialog .keyframes-grid{gap:8px}.pose-tool-dialog .keyframe-card img{height:88px;object-fit:contain;background:#03070b}.pose-tool-dialog .kf-meta{margin:6px 3px 3px;font-size:11px}.pose-tool-dialog .rec-list{display:grid;gap:15px;margin:8px 0;padding-left:20px;color:#b4c6d9;font-size:13px;line-height:1.9}.pose-error-detail{margin:0;padding:12px;background:#0b121c;border:1px solid #3b2d36;border-radius:6px;color:#efb2b7;font:12px/1.7 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:1100px){.pose-narrow-nav{display:flex;flex-basis:100%;gap:6px}.pose-narrow-nav button{flex:1}.pose-narrow-nav button[aria-pressed=true]{color:#c7edff;background:#153e55;border-color:#397ea2}.pose-editor-grid{grid-template-columns:minmax(0,1fr)}.pose-compact-workspace:not(.pose-show-preview) .pose-center-panel,.pose-show-preview .pose-controls-panel{display:none}.pose-controls-panel{grid-template-columns:minmax(0,1fr) minmax(198px,1fr)}.pose-source-column{display:grid;grid-template-columns:minmax(0,1fr)}.pose-compact-workspace .pose-center-panel{height:100%}}@media(max-width:600px){.pose-title-lockup{width:100%}.pose-compact-workspace .pose-workspace-actions{margin:0;width:100%}.pose-compact-workspace .pose-workspace-actions .hero-start-btn{margin-left:auto}.pose-controls-panel{grid-template-columns:minmax(0,1fr);gap:12px;padding:10px}.pose-parameters-column{padding:0;border-left:0}.pose-instruction-box{display:none}.pose-compact-workspace .pose-upload-dropzone{flex-direction:row;flex-wrap:wrap;min-height:58px;padding:8px}.pose-compact-workspace .pose-upload-dropzone small{flex-basis:100%}.pose-source-name{margin-top:6px;padding:6px 8px}.pose-source-name>span{display:none}.pose-setting-group+.pose-setting-group{margin-top:12px}.pose-compact-workspace .param-row{margin-top:9px}.pose-instruction-box ol{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.pose-instruction-box li{display:block}.pose-instruction-box li>span{margin-bottom:5px;width:21px}.pose-compact-workspace .pose-center-panel{height:100%;padding:8px}.pose-compact-workspace .editor-actions{width:100%;margin-left:0}.pose-compact-workspace .mode-pill{padding:5px 8px}.pose-compact-workspace .opacity-control input{width:42px}.pose-compact-workspace .image-canvas-stage.is-split,.pose-compact-workspace .split-video-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pose-compact-workspace .footer-left{flex-wrap:wrap;gap:3px 7px}.pose-tool-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.pose-dialog-header{padding:10px 12px}.pose-dialog-body{padding:12px}.pose-dialog-tabs button{padding:6px 8px;font-size:11px}.pose-tool-dialog .pose-history-list{grid-template-columns:minmax(0,1fr)}.pose-source-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pose-source-thumb{height:86px}.pose-tool-dialog .dispatch-grid{gap:7px}.pose-tool-dialog .dispatch-btn{min-height:84px;padding:9px}.pose-tool-dialog .dispatch-btn span{font-size:12px}.pose-tool-dialog .dispatch-btn small{font-size:10px}.pose-tool-dialog .comp-row-head{font-size:11px}.pose-tool-dialog .comp-row-head strong{font-size:10px}}:root{--studio-surface: #10151d;--studio-field: #090e15;--studio-border: #263241;--studio-accent: #38bdf8;--studio-muted: #94a3b8;--radius: 12px;--cyan: var(--studio-accent)}.studio-layout{color:#e2e8f0;background:#07090c}html,body,.studio-layout *,.studio-dialog *{scrollbar-width:thin;scrollbar-color:#45566c transparent}.studio-main-area{min-width:0}.studio-main-area>.workspace{width:100%;max-width:1920px;margin:0 auto;padding:16px;height:auto;min-height:0;overflow:visible;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)!important;align-items:start}.studio-layout .panel{background:var(--studio-surface);border-color:var(--studio-border);box-shadow:none}.studio-layout :is(.studio-body,.job-panel,.history-panel,.monitor-stack,.studio-panel,.workspace){min-width:0}.studio-layout :is(input,select,textarea,button){font-family:inherit}.studio-layout :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){background-color:var(--studio-field);color:#e2e8f0;border:1px solid var(--studio-border);border-radius:8px;max-width:100%}.studio-layout :is(button,input,select,textarea,a):focus-visible{outline:2px solid var(--studio-accent);outline-offset:3px}.studio-layout :is(button:disabled,input:disabled,select:disabled){opacity:.48;cursor:not-allowed}.studio-layout :is(.studio-body,.studio-form,.history-list){max-height:none}.studio-layout :is(.section-head,.panel-heading){flex-wrap:wrap}.studio-layout :is(.generate-btn,.hero-start-btn,.studio-primary){color:#f8fafc;background:#087da4;border:1px solid #38bdf8;border-radius:9px;font-weight:600;box-shadow:none}.studio-layout :is(.generate-btn,.hero-start-btn,.studio-primary):hover:not(:disabled){background:#096b8d}.studio-layout :is(.text-btn,.download-link-btn){color:var(--studio-accent)}.studio-layout :is(.hint,.section-sub,.empty-history,.empty-report){color:var(--studio-muted)}.studio-layout .studio-footer{position:static}.studio-layout .reference-grid{min-width:0}.studio-layout .separated-assets-grid{grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr))}.studio-layout :is(.asset-category-card,.frames-dual-slot,.frame-subslot,.first-frame-slot,.last-frame-slot,.specs-col){min-width:0}.studio-layout .frames-dual-slot{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-layout .category-note{white-space:normal;overflow-wrap:anywhere;color:var(--studio-muted);font-size:12px;margin-bottom:8px}.studio-layout .category-header{flex-wrap:wrap;gap:6px}.studio-layout .video-mode-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.studio-layout .video-mode-tab{min-height:44px;padding:6px 8px;gap:6px}.studio-layout .mode-tab-icon{width:20px;font-size:16px}.studio-layout .video-mode-bar{container-type:inline-size}@container (max-width: 640px){.studio-layout .mode-tab-icon{display:none}.studio-layout .video-mode-tab{padding:6px 7px}.studio-layout .mode-tab-text small{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}@container (max-width: 420px){.studio-layout .video-mode-tabs{gap:4px}.studio-layout .video-mode-tab{min-height:40px;padding:5px 4px;justify-content:center;text-align:center}.studio-layout .mode-tab-text strong{white-space:normal;font-size:11.5px}.studio-layout .mode-tab-text small{display:none}}.studio-layout .reference-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.studio-layout .pose-existing-upload{margin-top:16px;display:grid;gap:10px}.studio-layout .button-primary{background:#087da4!important;border-color:#38bdf8!important;box-shadow:none!important}.studio-layout .page-subtitle{color:var(--studio-muted)}.studio-layout .brand-logo{cursor:pointer}.studio-account-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.studio-account-actions button,.studio-secondary{padding:6px 10px;border:1px solid var(--studio-border);border-radius:8px;background:#111923;color:#e2e8f0;cursor:pointer}.studio-dialog{width:min(520px,calc(100vw - 32px));max-height:85vh;overflow:auto;padding:22px;border:1px solid var(--studio-border);border-radius:14px;background:#10151d;color:#e2e8f0}.studio-dialog::backdrop{background:#000a}.studio-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.studio-dialog h2{font-size:18px;white-space:normal}.studio-form-field{display:grid;gap:7px;margin-bottom:16px;color:var(--studio-muted);font-size:13px}.studio-form-field input{width:100%;padding:10px 12px;background:var(--studio-field);color:#e2e8f0;border:1px solid var(--studio-border);border-radius:8px}.studio-primary{padding:10px 16px;cursor:pointer;background:#087da4;border:1px solid #38bdf8;border-radius:9px;color:#fff}.studio-message{margin:12px 0;padding:10px;border:1px solid #7f3434;border-radius:8px;color:#fecaca;background:#341b22;overflow-wrap:anywhere}.studio-account-list{list-style:none;padding:0}.studio-account-list li{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0;padding:10px 0;border-bottom:1px solid var(--studio-border)}.studio-account-list strong{margin-right:auto}.studio-login{display:grid;place-items:center;min-height:100dvh;padding:24px}.studio-login-card{width:min(420px,100%);padding:32px;background:var(--studio-surface);border:1px solid var(--studio-border);border-radius:14px}.studio-login-card h1{font-size:24px;margin:12px 0 4px}.studio-login-card p{color:var(--studio-muted);margin-bottom:26px}.studio-login-card .studio-primary{width:100%}@media(max-width:1200px){.studio-main-area>.workspace{grid-template-columns:minmax(0,1fr)!important}}@media(max-width:600px){.studio-main-area>.workspace{padding:12px}.studio-layout :is(.settings-grid,.form-grid,.params-grid){grid-template-columns:minmax(0,1fr)}.studio-layout .studio-top-split,.studio-layout .separated-assets-grid{grid-template-columns:minmax(0,1fr)}.studio-layout .form-actions{position:static}.studio-layout .studio-body,.studio-layout .studio-footer{padding:12px}.studio-layout h2{white-space:normal}.studio-layout :is(.topbar-status,.studio-account-actions){overflow:visible;flex-wrap:wrap}.studio-dialog{padding:16px}}:root{--studio-surface: #19212b;--studio-field: #121a24;--studio-border: #303c4c;--studio-muted: #99a8ba;--radius: 7px}.studio-layout{background:#111820;font-size:13px;grid-template-columns:180px minmax(0,1fr)}.studio-layout .studio-sidebar{width:180px;background:#121a24}.studio-layout.is-sidebar-collapsed .studio-sidebar{width:64px}.studio-layout .sidebar-brand{padding:12px;min-height:58px}.studio-layout .brand-glyph{width:30px;height:30px;font-size:21px;border-radius:7px}.studio-layout .brand-text strong{font-size:15px}.studio-layout .brand-text small{font-size:10px}.studio-layout .sidebar-groups{padding:8px;gap:18px}.studio-layout .nav-group-title{margin:5px 8px 7px;font-size:10px}.studio-layout .side-nav-item{padding:9px 10px;gap:9px;border-radius:6px;min-height:44px}.studio-layout .nav-copy strong{font-size:12px;font-weight:500}.studio-layout .nav-copy small{font-size:10px;margin-top:3px}.studio-layout .nav-icon{font-size:17px;width:20px}.studio-layout .sidebar-footer{padding:8px}.studio-layout .vram-widget{padding:9px;font-size:10px}.studio-layout .studio-main-area>.topbar{min-height:46px;height:46px;padding:0 14px}.studio-layout .topbar .page-subtitle{font-size:11px}.studio-layout .topbar .brand-title{font-size:14px!important}.studio-layout .studio-account-actions{gap:5px}.studio-layout .studio-account-actions button{padding:4px 8px;font-size:11px;border-radius:5px}.studio-layout .topbar :is(.hardware-tag,.health-badge,.resource-status){font-size:10px;padding:4px 7px}.studio-layout .panel{border-radius:7px}.studio-layout .panel-heading{min-height:36px;padding:9px 12px}.studio-layout .panel-heading h2{font-size:14px;font-weight:600}.studio-layout .video-workspace{gap:10px;padding:10px}.studio-layout .video-workspace .studio-body{padding:12px;gap:7px}.studio-layout .video-workspace .studio-top-split{display:flex;flex-direction:column;gap:10px}.studio-layout .video-workspace .studio-top-split{flex:none}.studio-layout .video-workspace .prompt-col{gap:6px}.studio-layout .video-workspace .field-label{font-size:13px;font-weight:500}.studio-layout .video-workspace .field-meta{font-size:10px}.studio-layout .video-workspace .prompt-editor{flex:none;height:116px;min-height:116px}.studio-layout .video-workspace :is(#promptInput,.prompt-backdrop){font-size:13px;line-height:1.65;padding:10px 12px}.studio-layout .video-workspace .prompt-highlights{margin:0;padding:0;border:0;font:inherit;letter-spacing:inherit;white-space:inherit;overflow-wrap:inherit;word-break:inherit}.studio-layout .video-workspace .prompt-highlights mark{margin:0;padding:0;border:0;font:inherit;letter-spacing:inherit}.studio-layout .video-workspace .reference-check{min-height:18px;margin:0;gap:4px}.studio-layout .video-workspace .check-hint{font-size:10px}.studio-layout .video-workspace .compact-mode-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.studio-layout .video-workspace .compact-mode-buttons .video-mode-tab{min-height:32px;padding:5px 8px;gap:6px;border-radius:5px}.studio-layout .video-workspace .compact-mode-buttons .mode-tab-icon{display:inline;width:auto;font-size:14px;line-height:1}.studio-layout .video-workspace .compact-mode-buttons .mode-tab-text strong{font-size:12px;font-weight:500;white-space:nowrap}.workflow-brief{padding:5px 8px;border-left:2px solid #375473;background:#151e29}.workflow-essentials{margin:0;color:#98abc1;font-size:11px;line-height:1.5}.workflow-flow{margin-top:2px;color:#778da8;font-size:10px}.studio-layout .video-workspace .specs-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px;padding:0;border:0;background:transparent}.studio-layout .video-workspace .spec-unit{gap:4px;margin:0}.studio-layout .video-workspace .spec-label{font-size:10px;font-weight:400}.studio-layout .video-workspace .spec-hint,.studio-layout .video-workspace .quality-size-hint{display:none}.studio-layout .video-workspace .segmented-options{padding:2px;gap:1px;border-radius:5px}.studio-layout .video-workspace .segment-option>span{min-height:27px;padding:5px 4px;font-size:11px;border-radius:4px}.studio-layout .video-workspace .seed-control{height:32px}.studio-layout .video-workspace :is(.video-parameter-input,.seed-control input){height:32px;min-height:0;padding:5px 8px;font-size:12px}.studio-layout .video-workspace .spec-toggle-row{padding:0;min-height:26px;border:0;background:transparent;gap:7px;justify-content:space-between}.studio-layout .video-workspace .spec-toggle-title{font-size:11px;font-weight:400}.studio-layout .video-workspace :is(.spec-toggle-icon,.spec-badge,.spec-sub){display:none}.studio-layout .video-workspace .switch{transform:scale(.78);transform-origin:right center;margin-left:-5px}.studio-layout .video-workspace .preview-style-options{grid-column:1 / -1;display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;margin:0;padding:5px 8px;border:1px solid #303c4c80;border-radius:5px}.studio-layout .video-workspace .preview-style-options legend{float:left;margin:0;padding:0}.studio-layout .video-workspace .preview-style-options label{margin:0;padding:0}.studio-layout .video-workspace .preview-style-options strong{font-size:11px;font-weight:400}.studio-layout .video-workspace .preview-style-options small{display:none}.studio-layout .video-workspace .specs-col>[for=referenceFidelityToggle]{grid-column:1 / -1;justify-content:flex-start}.studio-layout .video-workspace .motion-mapping-options{display:flex;flex-wrap:wrap;align-items:center;gap:4px 9px;margin:0;padding:0;border:0;font-size:10px}.studio-layout .video-workspace .motion-mapping-options legend{float:left;margin:0 6px 0 0;padding:0}.studio-layout .video-workspace .motion-mapping-options label{display:flex;align-items:center;gap:3px;margin:0}.studio-layout .video-workspace .motion-mapping-options p{margin:0;font-size:10px;color:#8195ad}.studio-layout .video-workspace .reference-toolbar{margin:0;min-height:20px}.studio-layout .video-workspace .separated-assets-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:7px}.studio-layout .video-workspace .asset-category-card{padding:8px;gap:6px;border-radius:5px;background:#151e29}.studio-layout .video-workspace .category-header{gap:4px;min-height:18px}.studio-layout .video-workspace .category-title{gap:4px;font-size:11px}.studio-layout .video-workspace .category-icon,.studio-layout .video-workspace .category-meta,.studio-layout .video-workspace .category-note{display:none}.studio-layout .video-workspace .category-grid{flex:none;min-height:60px;max-height:146px;overflow:auto;gap:5px}.studio-layout .video-workspace :is(.first-frame-slot,.last-frame-slot){min-height:60px}.studio-layout .video-workspace .separated-assets-grid :is(.ref-card,.add-tile){width:60px;min-width:60px;height:60px;min-height:60px;border-radius:5px}.studio-layout .video-workspace .add-tile{gap:3px}.studio-layout .video-workspace .add-tile-plus{font-size:18px;width:22px;height:22px}.studio-layout .video-workspace .add-tile :is(strong,small){font-size:10px}.studio-layout .video-workspace .add-tile small{display:none}.studio-layout .video-workspace .frame-sublabel{font-size:10px}.studio-layout .video-workspace .frames-dual-slot{flex:none;align-items:start}.studio-layout .video-workspace .reference-clip-fields input{height:30px;min-height:30px;padding:4px 7px;font-size:12px}.studio-layout .video-workspace .reference-clip-help{font-size:10px;line-height:1.4}.studio-layout .video-workspace .actual-plan-section{margin:0;padding:6px 0 0;border:0;border-top:1px solid var(--studio-border);background:transparent}.studio-layout .video-workspace .actual-plan-heading strong{font-size:11px;font-weight:400}.studio-layout .video-workspace .actual-plan-heading p{display:none}.studio-layout .video-workspace .actual-plan-heading .button{min-height:25px;padding:4px 8px;font-size:11px}.studio-layout .video-workspace .form-actions{padding:9px 12px;min-height:48px;gap:8px;border-top:1px solid var(--studio-border);background:#19212b}.studio-layout .video-workspace .form-actions .button{padding:8px 14px;min-height:34px;font-size:12px}.studio-layout .video-workspace .form-notice{font-size:10px}.studio-layout .video-workspace .button-kbd{display:none}.studio-layout .video-workspace .output-column{display:flex;flex-direction:column;gap:10px}.studio-layout .video-workspace .result-panel{flex:1 1 230px;min-height:190px}.studio-layout .video-workspace .result-empty{min-height:120px;padding:12px;gap:8px}.studio-layout .video-workspace .result-empty .empty-frame{width:42px;height:48px}.studio-layout .video-workspace .result-empty strong{font-size:12px;font-weight:500}.studio-layout .video-workspace .result-empty>span{font-size:11px}.studio-layout .video-workspace .job-panel{flex:0 0 auto;padding-bottom:8px}.studio-layout .video-workspace .job-panel>:not(.panel-heading){margin-left:12px;margin-right:12px}.studio-layout .video-workspace .stage-rail{display:none}.studio-layout .video-workspace .job-stage-row{margin-top:8px;font-size:12px}.studio-layout .video-workspace .job-message{margin-top:6px;margin-bottom:8px;font-size:11px;line-height:1.5}.studio-layout .video-workspace .job-meta-row{display:none}.studio-layout .video-workspace .queue-section{margin-top:8px;padding-top:8px}.studio-layout .video-workspace .queue-empty{padding:6px 0;font-size:11px}.studio-layout .video-workspace .queue-item{padding:6px 8px;font-size:11px}.studio-layout .video-workspace .queue-heading{font-size:11px}.studio-layout .video-workspace .history-panel{flex:0 1 170px;min-height:90px}.studio-layout .video-workspace .history-list{padding:8px 12px;overflow:auto}.studio-layout .video-workspace .history-empty{min-height:35px;padding:10px 0;font-size:11px}.studio-layout .video-workspace .result-footer{padding:8px 10px}.studio-layout .video-workspace .result-footer .button{padding:5px 8px;min-height:28px;font-size:10px}.studio-layout .video-workspace .result-actions-group{flex-wrap:wrap}@media(min-width:1001px){.studio-layout .video-workspace .studio-top-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,1fr);gap:12px;align-items:stretch}.studio-layout .video-workspace .prompt-editor{height:auto;min-height:165px;max-height:245px;flex:1 1 auto}.studio-layout .video-workspace .specs-col{align-content:start}.studio-layout .studio-main-area:has(>.video-workspace){height:100dvh;min-height:0;overflow:hidden}.studio-main-area>.video-workspace{flex:1;min-height:0;align-items:stretch;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr)!important}.studio-layout .video-workspace .studio-panel{min-height:0;overflow:hidden}.studio-layout .video-workspace .studio-form{min-height:0}.studio-layout .video-workspace .studio-body{flex:1;min-height:0;overflow:auto}.studio-layout .video-workspace .output-column{min-height:0;overflow:auto}.studio-layout .video-workspace .video-frame{min-height:0;max-height:38dvh}.studio-layout .video-workspace .video-frame video{max-height:38dvh}.studio-layout .video-workspace .is-prompt-expanded .prompt-editor{height:min(44dvh,400px);max-height:none}}@media(min-width:1001px)and (max-height:760px){.studio-layout .video-workspace .prompt-editor{height:auto;min-height:150px}.studio-layout .video-workspace .studio-body{gap:7px;padding:10px}.studio-layout .video-workspace .separated-assets-grid{max-height:190px;overflow:auto}.studio-layout .video-workspace .result-panel{flex-basis:180px}.studio-layout .video-workspace .history-panel{flex-basis:110px}}@media(max-width:1000px){.studio-layout{grid-template-columns:58px minmax(0,1fr)}.studio-layout .studio-sidebar{width:58px}.studio-layout .studio-sidebar :is(.brand-text,.nav-copy,.nav-group-title,.vram-widget,.collapse-btn){display:none}.studio-layout .studio-sidebar .sidebar-brand{padding:12px 0;justify-content:center}.studio-layout .studio-sidebar .side-nav-item{justify-content:center;padding:10px 0}.studio-layout .studio-main-area>.video-workspace{grid-template-columns:minmax(0,1fr)!important}.studio-layout .topbar .page-subtitle{display:none}}@media(max-width:600px){.studio-layout{grid-template-columns:42px minmax(0,1fr)}.studio-layout .studio-sidebar{width:42px}.studio-layout .sidebar-groups{padding:5px}.studio-layout .studio-main-area>.topbar{height:auto;min-height:42px;padding:7px 8px}.studio-layout .topbar :is(.hardware-tag,.resource-status,.health-badge){display:none}.studio-layout .video-workspace .compact-mode-buttons,.studio-layout .video-workspace .specs-col,.studio-layout .video-workspace .separated-assets-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-layout .video-workspace .form-actions{position:sticky;bottom:0;flex-wrap:wrap}.studio-layout .video-workspace .form-status-indicator{flex-basis:100%}.studio-layout .video-workspace .form-actions .action-buttons{margin-left:auto}}.studio-layout .image-workspace{gap:14px;padding:14px}.studio-layout .image-workspace .studio-body{container:image-editor / inline-size;padding:16px;gap:14px;overflow:visible}.studio-layout .image-workspace .studio-top-split{display:grid;grid-template-columns:minmax(250px,1fr) minmax(260px,.85fr);gap:16px;flex:none}.studio-layout .image-workspace .image-specs-col{padding:0;border:0;background:transparent;gap:8px;justify-content:flex-start}.studio-layout .image-workspace .spec-unit .segmented-options{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);height:36px;padding:2px;gap:2px}.studio-layout .image-workspace .segment-option>span{padding:0 4px;font-size:12px}.studio-layout .image-workspace .option-fieldset>legend{margin-bottom:5px}.studio-layout .image-workspace .spec-label{font-size:12px}.studio-layout .image-workspace .spec-hint{font-size:11px}.studio-layout .image-workspace .spec-unit-header{margin-bottom:5px}.studio-layout .image-workspace .image-model-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:5px}.studio-layout .image-workspace .image-model-options button{min-width:0;min-height:32px;padding:6px 8px;border:1px solid var(--studio-border);border-radius:5px;background:var(--studio-field);color:#aebdce;font-size:11px;text-align:left;line-height:1.35;cursor:pointer}.studio-layout .image-workspace .image-model-options button[aria-pressed=true]{border-color:#438ff3;color:#eaf4ff;background:#193755}.studio-layout .image-workspace .image-model-options button:hover:not(:disabled){border-color:#5b92bb}.studio-layout .image-workspace .image-model-hint{font-size:10px;line-height:1.4;margin:5px 0 0;white-space:normal}.studio-layout .image-workspace .image-model-bar .image-model-hint{margin:0 0 0 auto;text-align:right}.studio-layout .image-workspace .image-model-bar .spec-unit-header{gap:12px}.studio-layout .image-workspace .compact-input-group{min-width:0;height:34px;min-height:34px;padding:0 8px;gap:6px;background:var(--studio-field);border-color:var(--studio-border)}.studio-layout .image-workspace .compact-input-group input[type=number]{flex:1;width:0;min-width:0;height:32px;min-height:0;padding:0;border:0;border-radius:0;background:transparent;font-size:12px}.studio-layout .image-workspace .compact-input-prefix{font-size:11px;font-weight:400}.studio-layout .image-workspace .seed-control{height:34px;padding:0 3px 0 8px;border-color:var(--studio-border);background:var(--studio-field)}.studio-layout .image-workspace .seed-control input{flex:1;width:0;min-width:0;height:32px;padding:0;border:0;background:transparent;font-size:12px}.studio-layout .image-workspace .seed-control .icon-button{flex:0 0 32px;height:28px;min-height:0}.studio-layout #imageForm :is(.compact-input-group,.seed-control) input[type=number]{border:0;background:transparent;border-radius:0}.studio-layout .image-workspace .field-label-row{min-height:20px;margin-bottom:0}.studio-layout .image-workspace .image-prompt-col{gap:10px}.studio-layout .image-workspace .field-label{font-size:14px;font-weight:500}.studio-layout .image-workspace .field-meta{font-size:11px}.studio-layout .image-workspace .image-prompt-editor{flex:1;height:auto;min-height:140px;border:0}.studio-layout .image-workspace .image-prompt-editor textarea{height:140px;min-height:140px;padding:12px;font-size:14px}.studio-layout .image-workspace .negative-prompt-box{padding:8px;gap:6px}.studio-layout .image-workspace .negative-textarea{height:56px;min-height:56px;font-size:12px}.studio-layout .image-workspace .sub-field-label{font-size:12px}.studio-layout .image-workspace .prompt-config-summary{cursor:default;padding:8px;font-size:11px}.studio-layout .image-workspace .prompt-config-body{padding:8px;gap:6px}.studio-layout .image-workspace .prompt-config-toggle{padding:0;border:0;background:none}.studio-layout .image-workspace .prompt-config-toggle small{font-size:10px}.studio-layout .image-workspace .prompt-config-actions{justify-content:flex-end}.studio-layout .image-workspace .effective-prompt-preview{max-height:none;font-size:11px}.studio-layout .image-workspace .asset-category-card{min-height:0;padding:10px;gap:8px}.studio-layout .image-workspace .category-title{font-size:12px}.studio-layout .image-workspace .category-header{margin:0}.studio-layout .image-workspace .compact-source-dropzone{min-height:62px;padding:8px 10px}.studio-layout .image-workspace .form-actions{padding:10px 16px;gap:10px}.studio-layout .image-workspace .form-actions .button{min-height:36px;padding:8px 14px;font-size:12px}.studio-layout .image-workspace .form-notice{font-size:11px}.studio-layout .image-workspace .button-kbd{font-size:10px}.studio-layout .image-workspace .output-column{gap:12px;padding:0;overflow:visible}.studio-layout .image-workspace .result-empty{min-height:190px;padding:20px;font-size:12px}.studio-layout .image-workspace .result-empty strong{font-size:14px}.studio-layout .image-workspace .empty-frame{width:48px;height:60px;margin:0 0 8px}.studio-layout .image-workspace .job-panel>:not(.panel-heading){margin-left:14px;margin-right:14px}.studio-layout .image-workspace :is(.stage-node,.job-stage-row){font-size:12px}.studio-layout .image-workspace .job-message{font-size:11px}.studio-layout .image-workspace .stage-rail,.studio-layout .image-workspace .job-stage-row{margin-top:8px}.studio-layout .image-workspace .job-message{margin-top:6px;margin-bottom:0}.studio-layout .image-workspace .job-meta-row{margin-top:6px;padding-top:6px;font-size:11px}.studio-layout .image-workspace .job-panel{padding-bottom:10px}.studio-layout .image-workspace .image-history-preview img{height:64px;aspect-ratio:auto}.studio-layout .image-workspace .image-history-list{grid-template-columns:repeat(4,minmax(0,1fr));min-height:90px;max-height:none;overflow:visible;padding:10px 12px}.studio-layout .image-workspace .image-history-pages{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:0 12px 10px;font-size:11px}.studio-layout .image-workspace .image-history-pages button{background:var(--studio-field);color:#aebdce;border:1px solid var(--studio-border);border-radius:5px;padding:4px 8px;cursor:pointer}.studio-layout .image-workspace .image-result-preview-button img{width:100%;height:clamp(140px,25dvh,360px);object-fit:contain}.studio-layout .image-workspace .history-empty{font-size:12px;padding:16px 0;min-height:50px}@media(min-width:1101px){.studio-layout .studio-main-area>.image-workspace{grid-template-columns:minmax(560px,1.6fr) minmax(300px,1fr)!important}.studio-layout .image-workspace .output-column{height:calc(100dvh - 74px);display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto}.studio-layout .image-workspace .output-column>.panel{grid-column:auto;grid-row:auto;min-height:0}.studio-layout .image-workspace .image-result-gallery{flex:1;min-height:0;grid-template-rows:minmax(0,1fr)}.studio-layout .image-workspace .image-result-card{display:flex;flex-direction:column;min-height:0}.studio-layout .image-workspace .image-result-preview-button{position:relative;flex:1;min-height:0;max-height:none}.studio-layout .image-workspace .image-result-preview-button img{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;max-height:none}.studio-layout .image-workspace .result-empty{min-height:0}}@media(max-width:1100px){.studio-layout .studio-main-area>.image-workspace{grid-template-columns:minmax(0,1fr)!important}}@media(min-width:1101px)and (max-height:800px){.studio-layout .image-workspace .studio-body{gap:8px;padding:10px 12px}.studio-layout .image-workspace .image-prompt-col{gap:8px}.studio-layout .image-workspace .asset-category-card{gap:6px;padding:8px}.studio-layout .image-workspace .compact-source-dropzone{min-height:54px;padding:6px 10px}}@container image-editor (max-width: 525px){.studio-layout .image-workspace .studio-top-split{grid-template-columns:minmax(0,1fr)}.studio-layout .image-workspace .image-prompt-editor{flex:none}.studio-layout .image-workspace .image-specs-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:12px}}
