.canvas-port-menu{position:fixed;z-index:90;display:flex;flex-direction:column;gap:4px;width:max-content;min-width:min(196px,var(--port-menu-available-width, calc(100vw - 16px) ));max-width:var(--port-menu-available-width, calc(100vw - 16px) );max-height:var(--port-menu-available-height, calc(100dvh - 16px) );padding:8px;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;border:.5px solid #363636;border-radius:16px;background:#262626f5;color:#fff;box-shadow:0 12px 36px #0005;backdrop-filter:blur(32px);-webkit-backdrop-filter:blur(32px);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Helvetica,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Noto Sans CJK SC,sans-serif;font-size:13px;line-height:1.4;text-align:left}.canvas-port-menu:focus-visible{outline:1px solid #a8a8a8;outline-offset:2px}.canvas-port-menu-heading{flex:0 0 auto;padding:4px 8px}.canvas-port-menu-heading h2{margin:0;color:#ddd;font-size:13px;font-weight:500;line-height:20px}.canvas-port-menu-heading p{max-width:240px;margin:2px 0 0;overflow:hidden;color:#919191;font-size:11px;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.canvas-port-menu-choices{display:flex;flex:0 0 auto;flex-direction:column;gap:4px;min-width:0}.canvas-port-menu-choice{position:relative;min-width:0}.canvas-port-menu-choice>button{display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;height:32px;min-height:32px;padding:0 8px;box-sizing:border-box;border:0;border-radius:8px;background:transparent;color:#ffffffd9;font:inherit;font-size:13px;line-height:20px;text-align:left;cursor:pointer}.canvas-port-menu-choice>button>svg{flex:0 0 14px;width:14px;height:14px}.canvas-port-menu-choice>button>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.canvas-port-menu-choice>button:hover:not(:disabled),.canvas-port-menu-choice>button:focus-visible{outline:none;background:#ffffff1a;color:#fff}.canvas-port-menu-choice>button:focus-visible{box-shadow:inset 0 0 0 1px #ffffff40}.canvas-port-menu-choice>button:disabled{opacity:.3;cursor:not-allowed}.canvas-port-menu>footer,.canvas-port-menu-empty{flex:0 0 auto;margin:0;padding:4px 8px;color:#919191;font-size:11px;line-height:16px}.canvas-port-menu-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;pointer-events:none}.canvas-collection-trigger{height:32px;max-width:100%;padding:0 8px;display:inline-flex;align-items:center;gap:4px;border:0;border-radius:8px;background:transparent;color:#f7f7f7;font:inherit;font-size:13px;line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box}.canvas-collection-trigger:hover,.canvas-collection-trigger[aria-expanded=true]{background:#ffffff26}.canvas-collection-trigger-label{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.canvas-collection-trigger-icon{flex:0 0 auto;color:#a3a3a3;transition:transform .12s ease}.canvas-collection-trigger[aria-expanded=true] .canvas-collection-trigger-icon{transform:rotate(180deg)}.canvas-collection-trigger:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}.canvas-collection-popup{position:fixed;z-index:1000;width:214px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);padding:8px 0;display:flex;flex-direction:column;border:.5px solid #363636;border-radius:12px;background:#262626;box-shadow:0 12px 32px #00000073;color:#f7f7f7;font-family:inherit;font-size:13px;line-height:1.2;box-sizing:border-box}.canvas-collection-header{flex:0 0 auto;height:28px;padding:0 8px 0 16px;display:flex;align-items:center;justify-content:space-between;gap:8px}.canvas-collection-header-label{color:#a3a3a3;font-size:13px;font-weight:500;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.canvas-collection-add{width:24px;height:24px;padding:0;border:0;border-radius:8px;background:transparent;color:#f7f7f7;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.canvas-collection-add:hover:not(:disabled){background:#ffffff14}.canvas-collection-add:disabled{opacity:.38;cursor:not-allowed}.canvas-collection-add:focus-visible{outline:2px solid #60a5fa;outline-offset:1px}.canvas-collection-list{margin-top:8px;max-height:220px;min-height:0;flex:1 1 auto;overflow-y:auto;overflow-x:hidden;padding:0 8px;display:flex;flex-direction:column;gap:8px;scrollbar-width:thin;scrollbar-color:#4a4a4a transparent}.canvas-collection-row{position:relative;display:flex;align-items:center;height:28px;min-width:0;border-radius:8px;flex:0 0 auto}.canvas-collection-row:hover,.canvas-collection-row:focus-within{background:#ffffff0f}.canvas-collection-row-main{flex:1 1 auto;min-width:0;height:28px;padding:0 2px 0 8px;border:0;border-radius:8px;background:transparent;color:#f7f7f7;font:inherit;font-size:14px;font-weight:400;text-align:left;display:flex;align-items:center;justify-content:flex-start;gap:4px;cursor:pointer;box-sizing:border-box}.canvas-collection-row-main:hover:not(:disabled){background:transparent}.canvas-collection-row-main:disabled{opacity:.5;cursor:not-allowed}.canvas-collection-row-main:focus-visible{outline:2px solid #60a5fa;outline-offset:-2px}.canvas-collection-row-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.canvas-collection-row-check{flex:0 0 24px;width:24px;height:24px;margin-right:2px;display:inline-flex;align-items:center;justify-content:center;color:#f7f7f7}.canvas-collection-row-more{position:absolute;right:2px;top:2px;width:24px;height:24px;padding:0;border:0;border-radius:8px;background:transparent;color:#d4d4d4;opacity:0;pointer-events:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.canvas-collection-row:hover .canvas-collection-row-check,.canvas-collection-row:focus-within .canvas-collection-row-check{visibility:hidden}.canvas-collection-row:hover .canvas-collection-row-more,.canvas-collection-row:focus-within .canvas-collection-row-more,.canvas-collection-row-more:focus-visible{opacity:1;pointer-events:auto}.canvas-collection-row-more:hover{background:transparent}.canvas-collection-row-more:focus-visible{outline:2px solid #60a5fa;outline-offset:1px}.canvas-collection-submenu{position:fixed;z-index:1001;width:180px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow-y:auto;padding:4px;border:.5px solid #363636;border-radius:12px;background:#171717;box-shadow:0 12px 32px #00000073;display:flex;flex-direction:column;gap:4px;box-sizing:border-box;color:#f7f7f7}.canvas-collection-submenu-item{height:32px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:#f7f7f7;font:inherit;font-size:13px;font-weight:400;line-height:1;display:flex;align-items:center;text-align:left;text-decoration:none;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}.canvas-collection-submenu-item:first-child{margin-top:4px}.canvas-collection-submenu-item:hover:not(:disabled):not([aria-disabled=true]){background:#ffffff14}.canvas-collection-submenu-item:focus-visible{outline:2px solid #60a5fa;outline-offset:-2px}.canvas-collection-submenu-item:disabled,.canvas-collection-submenu-item[aria-disabled=true]{color:#737373;cursor:not-allowed}.canvas-collection-status{flex:0 0 auto;padding:0 16px;color:#a3a3a3;font-size:12px;line-height:20px}.canvas-collection-error{flex:0 0 auto;margin:0 8px 8px;padding:6px 8px;border-radius:8px;background:#ef44441f;color:#fca5a5;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.canvas-collection-retry{border:0;background:transparent;color:#fca5a5;text-decoration:underline;cursor:pointer;font:inherit;font-size:12px;padding:0}.canvas-collection-retry:focus-visible{outline:2px solid #60a5fa;outline-offset:1px}.canvas-collection-empty{flex:0 0 auto;padding:0 16px;color:#a3a3a3;font-size:13px;line-height:28px}@media(prefers-reduced-motion:reduce){.canvas-collection-trigger-icon,.canvas-collection-trigger,.canvas-collection-add,.canvas-collection-row-main,.canvas-collection-row-more,.canvas-collection-submenu-item{transition:none!important}}@media(forced-colors:active){.canvas-collection-popup,.canvas-collection-submenu{border:1px solid CanvasText;background:Canvas;color:CanvasText}.canvas-collection-trigger:hover,.canvas-collection-trigger[aria-expanded=true],.canvas-collection-row:hover,.canvas-collection-row:focus-within,.canvas-collection-row-main:hover,.canvas-collection-row-more:hover,.canvas-collection-submenu-item:hover{forced-color-adjust:none;background:Highlight;color:HighlightText}.canvas-collection-row-main:focus-visible,.canvas-collection-row-more:focus-visible,.canvas-collection-submenu-item:focus-visible,.canvas-collection-add:focus-visible,.canvas-collection-trigger:focus-visible{outline:2px solid Highlight}}.collection-recovery{position:absolute;z-index:90;top:66px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:12px;max-width:min(850px,90vw);padding:10px 14px;border:1px solid #755540;border-radius:10px;background:#372d26;color:#ebd6c3;font-size:12px;box-shadow:0 4px 20px #0004}.collection-recovery button{flex-shrink:0;border:0;background:transparent;color:inherit;text-decoration:underline;cursor:pointer}.collection-recovery button:disabled{opacity:.45;cursor:wait}.canvas-opening .collection-recovery{position:static;transform:none;margin-top:16px;flex-wrap:wrap}.collection-empty{position:absolute;z-index:5;top:42%;left:50%;transform:translate(-50%,-50%);text-align:center;color:#999;font-size:13px}.collection-empty strong{color:#eee;font-size:18px}.collection-empty button{padding:8px 16px;border:1px solid #444;border-radius:8px;background:#eee;color:#171717;cursor:pointer}.collection-empty button:disabled{opacity:.4;cursor:default}.studio-shell{--canvas-edge:#86909c;--canvas-edge-hover:#c0c8d0;--canvas-edge-selected:#e0e4e8}.canvas-edge-hit{cursor:pointer}.studio-shell .react-flow__edge .canvas-edge-line{pointer-events:none;transition:stroke .2s ease,stroke-width .2s ease}.canvas-edge-remove-wrap{overflow:visible;pointer-events:auto}.canvas-edge-remove{display:flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border-radius:50%;background:#1e1e1ef2;border:1px solid rgba(255,255,255,.1);color:#ffffffb3;cursor:pointer}.canvas-edge-remove svg{transform:rotate(-115deg)}.canvas-edge-remove:focus-visible{outline:2px solid #c0c8d0;outline-offset:3px}.scissors-enter{animation:canvas-scissors-in .15s ease-out both}.scissors-exit{animation:canvas-scissors-out .15s ease-in both}@keyframes canvas-scissors-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes canvas-scissors-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}.canvas-connection-invalid{display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 16px;background:#2a2a2a;color:#fff;font-size:13px;line-height:1;border-radius:9999px;border:1px solid #ffffff1a;box-shadow:0 4px 12px #0006;white-space:nowrap;transform-origin:top left}.studio-shell.edges-hidden .canvas-connection-line,.studio-shell.edges-hidden .frame-capture-source-line{visibility:hidden}@media(prefers-reduced-motion:reduce){.edge-flow-segments{display:none!important}.scissors-enter,.scissors-exit{animation:none}}.frame-capture-overlay{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.frame-capture-source-line{position:absolute;width:1px;height:1px;overflow:visible}.frame-capture-source-line>path{fill:none;stroke:var(--canvas-edge,#86909c);stroke-width:2}.frame-capture-preview{position:absolute;pointer-events:none;color:#aaa;font-size:12px}.frame-capture-preview>header{position:absolute;bottom:100%;left:0;right:0;height:28px;display:flex;align-items:center;gap:5px}.frame-capture-preview>header span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.frame-capture-preview>header small{font-size:11px;color:#666}.frame-capture-preview>img{width:100%;height:100%;object-fit:fill;border-radius:12px;border:1px solid #444;display:block}.frame-capture-progress{position:absolute;bottom:8px;right:8px;padding:3px 7px;border-radius:4px;background:#171717df;font-size:11px}.frame-capture-recovery{position:fixed;top:72px;left:50%;transform:translate(-50%);z-index:120;display:flex;align-items:center;gap:10px;max-width:min(850px,90vw);background:#392b27;border:1px solid #72554a;border-radius:9px;padding:10px 14px;font-size:12px}.frame-capture-recovery span{max-width:520px}.frame-capture-recovery button{border:0;background:transparent;color:#f2c8b4;text-decoration:underline;white-space:nowrap;cursor:pointer}[hidden]{display:none!important}.authenticated-workspace{display:contents}.auth-screen{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at top,#282e38,#131518 70%)}.auth-card{width:min(440px,100%);padding:34px;border:1px solid #404650;border-radius:18px;background:#20242a;box-shadow:0 24px 80px #0006;display:grid;gap:18px}.auth-brand{font-size:44px;font-weight:800;font-style:italic}.auth-brand span{color:var(--accent)}.auth-card h1{margin:0;font-size:24px}.auth-card p{line-height:1.7;color:#b6bcc6}.auth-card form,.account-panel form{display:grid;gap:16px}.auth-card label,.account-panel label{display:grid;gap:8px;font-size:14px}.auth-card input{width:100%;font-size:16px}.auth-card button,.account-panel button{padding:11px 16px;border-radius:8px;border:1px solid #515864}.auth-card .auth-primary{background:var(--accent);color:#20271b;font-weight:700}.auth-card small{font-size:13px;line-height:1.6}.account-panel{display:grid;gap:18px}.account-panel p{line-height:1.7}.account-create{grid-template-columns:1fr 1fr}.account-user-list>div{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-top:1px solid var(--border)}.account-user-list small{display:block;margin-top:5px}.account-user-actions{display:grid;gap:12px;min-width:0}.account-change-review{padding:16px;border:1px solid var(--border);border-radius:10px;display:flex;flex-wrap:wrap;gap:12px;min-width:0}.account-change-review h4,.account-change-review p,.account-change-review label{flex-basis:100%;margin:0;overflow-wrap:anywhere}.account-change-consent{display:flex!important;align-items:center;gap:10px}.account-change-consent input{width:16px;height:16px;flex:none}.account-user-buttons{display:flex;gap:8px;flex-shrink:0}.account-user-actions details{overflow-wrap:anywhere}.account-user-list>div{gap:12px;flex-wrap:wrap}.account-user-list>div>span{overflow-wrap:anywhere;min-width:0}.account-panel details summary{cursor:pointer;padding:12px 0}.billing-panel{display:grid;gap:14px;border-top:1px solid var(--border);padding-top:20px}.wallet-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.wallet-summary span{background:#181b20;border:1px solid var(--border);border-radius:10px;padding:14px}.wallet-summary strong{display:block;font-size:24px;margin-top:6px}.ledger-list>div{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--border)}.ledger-list small{display:block;color:var(--muted);margin-top:6px}.model-prices form{padding:16px 0;border-bottom:1px solid var(--border)}.billing-panel fieldset{border:0;padding:0;display:grid;gap:12px}.price-enabled{display:flex!important;align-items:center}.price-enabled input{width:auto}@media(max-width:600px){.auth-card{padding:24px}.account-create{grid-template-columns:1fr}}.h3-connection-status{padding:12px 14px;margin:14px 0;border:1px solid #444b3e;border-radius:8px;background:#242923;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.h3-connection-status p{margin:0 0 6px}.h3-connection-status button{min-height:40px;padding:7px 12px;border:1px solid #566149;border-radius:6px;color:#dcedb0;background:#30362a}.h3-connection-status button:disabled{opacity:.6}.studio-shell .media-node.processing-node{width:350px;background:#242526;border:1px solid #454748;border-radius:12px;overflow:visible}.studio-shell .media-node.processing-node>header{position:static;padding:12px;color:#eee;background:transparent;min-height:42px;display:flex;gap:8px}.processing-node>header>span{flex:1}.processing-node>header>small{font-size:11px;color:#b3b6af}.processing-toolbar{display:flex;gap:3px;padding:3px;background:#292b2c;border:1px solid #494c4c;border-radius:7px}.processing-body{padding:0 12px 14px;font-size:12px}.processing-source{position:relative;background:#151515;border-radius:6px;overflow:hidden}.processing-source video{display:block;width:100%;height:100%;object-fit:contain}.processing-source audio,.processing-outputs audio{width:100%;height:38px}.processing-source-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#aaa;font-size:11px;margin:8px 0 14px}.processing-body fieldset{border:0;padding:0;margin:0 0 12px;min-width:0}.processing-body label{display:flex;flex-direction:column;gap:6px;color:#b6b9b9;font-size:11px}.processing-body input,.processing-body select{min-width:0;width:100%;padding:8px;color:#f2f2f2;background:#171819;border:1px solid #454748;border-radius:6px;box-sizing:border-box}.processing-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.processing-modes{display:flex;gap:6px;margin-bottom:10px}.processing-body button{border:1px solid #4a4c4e;background:#303234;border-radius:6px;color:#eee;padding:8px 10px;cursor:pointer}.processing-modes button{flex:1}.processing-modes .chosen{background:#e2e4dc;color:#20211f}.processing-body button:disabled{opacity:.45;cursor:default}.processing-body .processing-start{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;background:#e1e5d8;color:#1a1e17;margin-top:12px;font-weight:600}.processing-hint{display:block;font-size:11px;line-height:1.6;color:#969b9e;margin:7px 0}.processing-error{color:#edb59f;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.processing-error button{margin-left:8px;padding:2px 5px;font-size:10px}.processing-body progress{width:100%;height:6px;accent-color:#d8dfce;margin-bottom:10px}.processing-results{border-top:1px solid #454748;padding-top:12px;margin-top:14px}.processing-outputs{display:flex;flex-direction:column;gap:8px;margin:10px 0}.processing-outputs img,.processing-outputs video{max-width:100%;max-height:120px;display:block;margin:auto}.processing-outputs small{display:block;overflow-wrap:anywhere;color:#a6aaa9;font-size:10px;margin-top:4px}.processing-crop{position:absolute;top:0;right:0;bottom:0;left:0;touch-action:none;cursor:crosshair;overflow:hidden}.processing-crop i{position:absolute;border:1px solid #e5f4ca;background:#d8e8ba1a;box-shadow:0 0 0 500px #0007;pointer-events:none}.studio-shell .media-node.analysis-node{width:430px;max-width:calc(100vw - 48px);background:#242526;border:1px solid #454748;border-radius:12px;overflow:visible}.studio-shell .media-node.analysis-node>header{position:static;padding:12px;min-height:42px;color:#eee}.analysis-node>header>span{flex:1}.analysis-node>header>small{font-size:11px}.analysis-body{padding:14px;display:flex;flex-direction:column;gap:12px;max-height:650px;overflow:auto;cursor:default}.analysis-body>video{width:100%;max-height:180px;background:#111;object-fit:contain}.analysis-body small,.analysis-disclosure,.analysis-results>p{color:#a7ad9c;font-size:11px;line-height:1.6}.analysis-body p{margin:0}.analysis-body fieldset{border:1px solid #3b4034;border-radius:8px;padding:10px;min-width:0}.analysis-body label{display:flex;flex-direction:column;gap:6px;font-size:12px}.analysis-body input,.analysis-body select,.analysis-body textarea{background:#1b1d1c;color:#e3e7dc;border:1px solid #414638;border-radius:6px;padding:7px;width:100%;box-sizing:border-box}.analysis-body input[type=checkbox]{width:auto;accent-color:#d8f2aa}.analysis-dimensions{display:flex;gap:12px;margin:6px 0 12px}.analysis-dimensions label,.analysis-confirm label{flex-direction:row;align-items:center}.analysis-body button{border:1px solid #434a36;background:#2a2f25;color:#d4dec1;border-radius:6px;padding:8px;cursor:pointer}.analysis-body button:disabled{opacity:.45;cursor:not-allowed}.analysis-body .analysis-primary{background:#def6b0;color:#273519;font-weight:600}.analysis-samples{display:flex;gap:6px;overflow-x:auto;flex-shrink:0}.analysis-samples button{width:80px;min-width:80px;padding:3px}.analysis-samples img{width:100%;height:48px;object-fit:contain}.analysis-model,.analysis-confirm,.analysis-notes{display:flex;flex-direction:column;gap:10px}.analysis-confirm{padding:10px;background:#303727;border-radius:8px}.analysis-body .analysis-error{font-size:12px;color:#efb199;line-height:1.5}.analysis-result-list{display:flex;flex-direction:column;gap:6px}.analysis-result-list details{padding:10px;border:1px solid #3b4034;border-radius:6px}.analysis-result-list summary{cursor:pointer;font-size:12px}.analysis-result-list label{margin-top:8px}.analysis-result-list textarea{resize:vertical}.analysis-timecodes{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.analysis-result-actions{display:flex;gap:8px}.analysis-body>*{flex-shrink:0}@media(max-width:759px){.analysis-body{max-height:500px}.analysis-node>header>small{font-size:11px}}.studio-shell .media-node.analysis-complete{position:relative;width:800px;max-width:none;background:#191b1e;border:1px solid #3b3b44;border-radius:10px}.studio-shell .media-node.analysis-complete.active{border-color:#ac93ce;box-shadow:0 0 0 1px #ac93ce33}.studio-shell .media-node.analysis-complete>header{height:38px;min-height:38px;padding:0 42px 0 12px}.canvas-script-table.analysis-table{width:2430px}.analysis-table-scroll{height:322px}.analysis-select-shot{display:flex;align-items:center;gap:8px;cursor:pointer}.analysis-table .analysis-select-shot input{width:14px;height:14px;accent-color:#b79ada}.analysis-table-controls{gap:10px;font-size:12px;flex-wrap:wrap}.analysis-table-controls>span{font-size:11px}.analysis-results .canvas-script-expanded .analysis-table-scroll{height:auto}.analysis-notes>p{color:#a7ad9c;font-size:12px}.analysis-frame-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 16px;color:#d4dec1;font-size:14px;line-height:1.6;cursor:default}.analysis-frame-controls button{min-height:36px;padding:7px 10px;border:1px solid #434a36;border-radius:6px;background:#2a2f25;color:#def6b0;font-size:14px;cursor:pointer}.analysis-frame-controls button:disabled{opacity:.45;cursor:not-allowed}.analysis-frame-controls small{font-size:13px;color:#a7ad9c}.analysis-frame-controls [role=alert]{width:100%;color:#efb199;margin:0}.analysis-dimensions{flex-wrap:wrap}.analysis-body label:has(select[aria-label=拉片分析输入]){font-size:14px;margin-bottom:10px}.analysis-source-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px 16px;font-size:14px;line-height:1.6;color:#d4dec1;cursor:default}.analysis-source-controls p{margin:0}.analysis-source-controls small{font-size:13px;color:#a7ad9c;flex-basis:100%}.analysis-source-controls button{min-height:36px;padding:7px 10px;border:1px solid #434a36;border-radius:6px;background:#2a2f25;color:#def6b0;font-size:14px;cursor:pointer}.analysis-source-controls button:disabled{opacity:.45;cursor:not-allowed}.analysis-clips{padding:12px 16px;border-top:1px solid #3b3b44;cursor:default;font-size:14px;line-height:1.6;box-sizing:border-box;max-width:calc(100vw - 48px)}.analysis-clip-actions{display:flex;flex-wrap:wrap;gap:8px}.analysis-clips button,.analysis-clip-dialog button{min-height:38px;padding:7px 10px;background:#2a2f25;color:#def6b0;border:1px solid #434a36;border-radius:6px;font-size:14px;cursor:pointer}.analysis-clips button:disabled,.analysis-clip-dialog button:disabled{opacity:.45;cursor:not-allowed}.analysis-clips small,.analysis-clip-dialog small{display:block;font-size:13px;color:#a7ad9c;margin-top:8px}.analysis-clips p{margin:8px 0 0}.analysis-clip-dialog{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.analysis-clip-dialog select{max-width:100%;min-height:40px;display:block;background:#24272a;color:#e3e7df;border:1px solid #484e42;font-size:14px;padding:8px}.analysis-clip-dialog [role=alert]{color:#efb199}.analysis-clip-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px;margin:18px 0}.analysis-clip-list article{min-width:0;padding:12px;background:#191b1e;border:1px solid #3b3b44;border-radius:8px}.analysis-clip-list video,.analysis-clip-list audio{display:block;width:100%;max-height:220px;margin:10px 0}.analysis-clip-list p{margin:4px 0;color:#abb4a1;font-size:13px}.analysis-clip-list a{color:#d5eab6}.analysis-clip-list input{accent-color:#b8d985;margin-right:8px}.study-clip-source{padding:8px 12px;font-size:13px;line-height:1.5;color:#b8c6aa;border-top:1px solid #393f34}.analysis-clip-list label{display:flex!important;align-items:center;gap:8px;min-height:32px}.analysis-clip-list input[type=checkbox]{width:16px;height:16px;margin:0;flex-shrink:0}@media(max-width:759px){.analysis-table-controls,.analysis-source-controls,.analysis-frame-controls{box-sizing:border-box;max-width:calc(100vw - 48px)}.analysis-source-controls small,.analysis-frame-controls small{flex-basis:100%}}.studio-shell .media-node.script-node{width:800px;position:relative;background:#191b1e;border:1px solid #3b3b44;border-radius:10px}.studio-shell .media-node.script-node.active{border:1px solid #ac93ce;box-shadow:0 0 0 1px #ac93ce33}.studio-shell .media-node.script-node>header{height:38px;padding:0 42px 0 12px}.script-node .kind-icon.text{color:#cab5f6;background:#392f48}.canvas-script-expand{position:absolute;right:10px;top:7px;width:26px;height:26px;display:grid;place-items:center;color:#aaa4bb;border-radius:4px}.canvas-script-expand:hover{background:#ffffff12;color:#fff}.canvas-script-scroll{height:322px;overflow:auto;overscroll-behavior:contain;scrollbar-color:#60616a #202226;scrollbar-width:thin}.canvas-script-table{width:3540px;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:14px;color:#d8d8dd}.canvas-script-table th,.canvas-script-table td{border-right:1px solid #34363c;border-bottom:1px solid #34363c;padding:8px;text-align:left;vertical-align:top;font-weight:400}.canvas-script-table thead th{position:sticky;top:0;z-index:2;background:#2b2d32;color:#a9aab4;white-space:nowrap;height:34px;font-size:13px}.canvas-script-table tbody th,.canvas-script-table tbody td{height:160px}.canvas-script-table textarea,.canvas-script-cell{display:block;width:100%;height:143px;min-height:0;resize:none;border:0;border-radius:2px;margin:0;padding:0;overflow:auto;background:transparent;font:inherit;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;color:inherit;-webkit-user-select:text;user-select:text;scrollbar-width:thin}.canvas-script-table textarea{padding:4px;background:#23252b;outline-offset:1px}.canvas-script-table input{width:100%;min-width:0;padding:4px;font:inherit}.canvas-script-table :focus-visible,.canvas-script-scroll:focus-visible{outline:1px solid #bc9dea;outline-offset:-1px}.canvas-script-controls{display:flex;align-items:center;gap:14px;padding:8px 12px;font-size:13px;min-height:38px}.canvas-script-controls>span{margin-right:auto;color:#9295a1}.canvas-script-controls button{display:inline-flex;gap:5px;align-items:center;color:#c6b4df;white-space:nowrap}.canvas-script-controls button:disabled{color:#71737b;cursor:not-allowed}.canvas-script-error,.canvas-script-hint{margin:0;padding:5px 12px 8px;color:#d9b88e;font-size:13px}.canvas-script-hint{color:#9295a1}.canvas-script-empty{padding:45px 24px;color:#a5a6b2;font-size:14px}.canvas-script-expanded{display:flex;flex-direction:column;min-height:350px;height:min(70vh,760px)}.canvas-script-expanded .canvas-script-scroll{flex:1;height:auto;min-height:0}.canvas-script-expanded .canvas-script-controls{flex-wrap:wrap}.canvas-script-frames button{display:block;width:100%;text-align:left;font-size:12px;margin-bottom:8px}.canvas-script-frames img{display:block;width:100%;max-height:100px;object-fit:contain;background:#121316}.canvas-script-frames>span{color:#858893;font-size:13px}.react-flow__node.draggable .media-node{cursor:grab}.react-flow__node.draggable .media-node:active{cursor:grabbing}.react-flow__node.draggable .media-node img,.react-flow__node.draggable .media-node video{-webkit-user-drag:none;user-drag:none}.react-flow__node.draggable .media-node .nodrag,.react-flow__node.draggable .media-node button,.react-flow__node.draggable .media-node input,.react-flow__node.draggable .media-node textarea,.react-flow__node.draggable .media-node select,.react-flow__node.draggable .media-node label,.react-flow__node.draggable .media-node audio,.react-flow__node.draggable .media-node video[controls],.react-flow__node.draggable .media-node .canvas-video-controls,.react-flow__node.draggable .media-node [contenteditable=true]{cursor:default}.react-flow__node.draggable .media-node .canvas-video-player:not(.nodrag){cursor:grab}.react-flow__node.draggable .media-node .canvas-video-player:not(.nodrag)>video{cursor:inherit;touch-action:none}.react-flow__node.draggable .media-node .canvas-video-player:not(.nodrag):active{cursor:grabbing}.react-flow__node.draggable .media-node .canvas-video-player:not(.nodrag) .canvas-video-controls{cursor:default}.inline-video-editor{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;pointer-events:none;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#fff}.inline-video-editor--crop{pointer-events:none}.inline-video-editor__bar-anchor,.inline-video-editor__crop-controls-anchor{position:absolute;left:50%;top:calc(100% + var(--ive-gap, 8px));transform:translate(-50%);pointer-events:none;z-index:2}.inline-video-editor__crop-controls-anchor{top:calc(100% + var(--ive-crop-gap, 16px))}.inline-video-editor__bar{pointer-events:auto;display:flex;align-items:center;gap:24px;box-sizing:border-box;padding:8px;width:950px;height:74px;background:#262626;border:1px solid #363636;border-radius:24px;color:#fff;transform:scale(var(--ive-inv-scale, 1));transform-origin:top center;will-change:transform}.inline-video-editor__left,.inline-video-editor__right{display:flex;align-items:center;gap:16px;flex:0 0 auto}.inline-video-editor__divider{width:1px;height:24px;background:#363636;flex:0 0 auto}.inline-video-editor__icon-button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;border-radius:12px;background:transparent;color:#fff;cursor:pointer;pointer-events:auto;touch-action:manipulation}.inline-video-editor__icon-button:hover:not(:disabled){background:#ffffff14}.inline-video-editor__icon-button:disabled{opacity:.45;cursor:not-allowed}.inline-video-editor__icon-button:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.inline-video-editor__confirm{display:flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:0;border-radius:16px;background:#fff;color:#111;cursor:pointer;pointer-events:auto;touch-action:manipulation}.inline-video-editor__confirm:disabled{opacity:.45;cursor:not-allowed}.inline-video-editor__confirm:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.inline-video-editor__track{position:relative;flex:1 1 0;min-width:40px;height:56px;border-radius:12px;overflow:hidden;background:#1a1a1a;touch-action:none;cursor:pointer}.inline-video-editor__thumbs{position:absolute;top:0;right:0;bottom:0;left:0;display:flex}.inline-video-editor__thumb{flex:1 1 0;min-width:0;height:100%;object-fit:cover;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.inline-video-editor__thumb-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#ffffff80;font-size:10px;background:repeating-linear-gradient(45deg,#2a2a2a,#2a2a2a 6px,#303030 6px,#303030 12px)}.inline-video-editor__mask{position:absolute;top:0;bottom:0;background:#00000080;pointer-events:none}.inline-video-editor__selection{position:absolute;top:0;bottom:0;box-sizing:border-box;border-top:2px solid #3b82f6;border-bottom:2px solid #3b82f6;border-left:0;border-right:0;border-radius:12px;pointer-events:auto;cursor:grab;touch-action:none;z-index:2}.inline-video-editor__selection:active{cursor:grabbing}.inline-video-editor__handle{position:absolute;top:0;width:16px;height:56px;padding:0;background:#3b82f6;border:0;box-sizing:border-box;pointer-events:auto;touch-action:none;cursor:ew-resize;z-index:3}.inline-video-editor__handle:after{content:"";position:absolute;left:50%;top:50%;width:1px;height:15px;background:#fff;border-radius:1px;transform:translate(-50%,-50%)}.inline-video-editor__handle--left{border-radius:12px 0 0 12px}.inline-video-editor__handle--right{border-radius:0 12px 12px 0}.inline-video-editor__handle:focus-visible{outline:2px solid #fff;outline-offset:2px}.inline-video-editor__playhead{position:absolute;top:0;bottom:0;width:2px;background:#fff;pointer-events:none;z-index:4;box-shadow:0 0 0 1px #0000004d}.inline-video-editor__duration-label{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:100%;overflow:hidden;text-overflow:ellipsis;background:#000000a6;color:#fff;font-size:14px;font-weight:700;border-radius:12px;padding:6px 16px;white-space:nowrap;pointer-events:none}.inline-video-editor__help{position:absolute;left:50%;bottom:calc(100% + 10px);transform:translate(-50%);background:#1f1f1f;border:1px solid #363636;border-radius:12px;padding:10px 14px;color:#fff;font-size:12px;line-height:1.6;white-space:nowrap;pointer-events:auto;z-index:4}.inline-video-editor__help p{margin:0}.inline-video-editor__crop-overlay{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;border-radius:12px;pointer-events:auto;touch-action:none}.inline-video-editor__crop-rect{position:absolute;box-sizing:border-box;border:1px solid rgba(255,255,255,.9);box-shadow:0 0 0 9999px #00000073;touch-action:none;cursor:move;z-index:1}.inline-video-editor__crop-thirds{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.inline-video-editor__crop-thirds span{position:absolute;background:#ffffff73}.inline-video-editor__crop-thirds span:nth-child(1){top:0;bottom:0;left:33.333%;width:1px}.inline-video-editor__crop-thirds span:nth-child(2){top:0;bottom:0;left:66.666%;width:1px}.inline-video-editor__crop-thirds span:nth-child(3){left:0;right:0;top:33.333%;height:1px}.inline-video-editor__crop-thirds span:nth-child(4){left:0;right:0;top:66.666%;height:1px}.inline-video-editor__crop-label{position:absolute;top:8px;left:8px;background:#000000a6;color:#fff;font-size:11px;line-height:1.2;padding:2px 8px;border-radius:4px;white-space:nowrap;pointer-events:none}.inline-video-editor__crop-handle{position:absolute;width:12px;height:12px;padding:0;border-radius:50%;background:#fff;border:1px solid rgba(0,0,0,.45);box-shadow:0 1px 4px #00000073;box-sizing:border-box;touch-action:none;cursor:pointer}.inline-video-editor__crop-handle:disabled{opacity:.5;cursor:not-allowed}.inline-video-editor__crop-handle--nw{left:-6px;top:-6px;cursor:nwse-resize}.inline-video-editor__crop-handle--n{left:50%;top:-6px;margin-left:-6px;cursor:ns-resize}.inline-video-editor__crop-handle--ne{right:-6px;top:-6px;cursor:nesw-resize}.inline-video-editor__crop-handle--e{right:-6px;top:50%;margin-top:-6px;cursor:ew-resize}.inline-video-editor__crop-handle--se{right:-6px;bottom:-6px;cursor:nwse-resize}.inline-video-editor__crop-handle--s{left:50%;bottom:-6px;margin-left:-6px;cursor:ns-resize}.inline-video-editor__crop-handle--sw{left:-6px;bottom:-6px;cursor:nesw-resize}.inline-video-editor__crop-handle--w{left:-6px;top:50%;margin-top:-6px;cursor:ew-resize}.inline-video-editor__crop-controls{pointer-events:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;box-sizing:border-box;padding:8px;width:244px;height:50px;background:#262626;border:1px solid #363636;border-radius:12px;color:#fff;transform:scale(var(--ive-inv-scale, 1));transform-origin:top center}.inline-video-editor__crop-left{display:flex;align-items:center;gap:8px;min-width:0}.inline-video-editor__crop-cancel{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:#fff;cursor:pointer;pointer-events:auto;touch-action:manipulation}.inline-video-editor__crop-cancel:hover:not(:disabled){background:#ffffff14}.inline-video-editor__crop-cancel:disabled{opacity:.45;cursor:not-allowed}.inline-video-editor__crop-cancel:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.inline-video-editor__crop-dimensions{font-size:13px;white-space:nowrap;min-width:0}.inline-video-editor__crop-confirm{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:8px;background:#fff;color:#111;cursor:pointer;pointer-events:auto;touch-action:manipulation}.inline-video-editor__crop-confirm:disabled{opacity:.45;cursor:not-allowed}.inline-video-editor__crop-confirm:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.inline-video-editor__error{position:absolute;left:50%;top:calc(100% + 92px);transform:translate(-50%);max-width:min(90vw,480px);background:#dc2626f2;color:#fff;font-size:12px;padding:6px 12px;border-radius:8px;pointer-events:auto;z-index:5}@media(max-width:520px){.inline-video-editor__bar{gap:12px}.inline-video-editor__left,.inline-video-editor__right{gap:8px}}@media(max-width:400px){.inline-video-editor__bar{gap:8px}.inline-video-editor__left,.inline-video-editor__right{gap:6px}}.inline-video-host{position:absolute;z-index:30;pointer-events:none;overflow:visible}.inline-video-host>*{pointer-events:auto}.inline-video-host__status{position:absolute;left:50%;top:calc(100% + 96px);transform:translate(-50%);max-width:min(90vw,480px);background:#78350ff2;color:#fff;font-size:12px;padding:6px 12px;border-radius:8px;pointer-events:auto;z-index:6}.studio-shell .react-flow__node:has(.inline-video-host){z-index:9998!important}.inline-video-host--source-invalid{pointer-events:none}.inline-video-host--source-invalid>*{pointer-events:auto}.inline-video-host__recovery{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);min-width:220px;max-width:min(90vw,420px);background:#262626;border:1px solid #363636;border-radius:12px;color:#fff;padding:14px 16px;font-size:13px;line-height:1.5;text-align:center;pointer-events:auto;z-index:8}.inline-video-host__recovery p{margin:0 0 10px}.inline-video-host__recovery button{border:0;border-radius:8px;padding:8px 12px;background:#fff;color:#111;cursor:pointer;font-weight:600}.inline-video-editor--suspended{visibility:hidden;pointer-events:none}.studio-shell .asset-node>.react-flow__handle.node-port.node-port-magnetic:before,.studio-shell .asset-node>.react-flow__handle.node-port.node-port-magnetic:after{content:none;display:none;pointer-events:none}.node-port-magnetic-hit{position:absolute;width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;top:50%;transform:translateY(-50%);outline:none}.node-port-magnetic-hit.direction-in{right:0}.node-port-magnetic-hit.direction-out{left:0}.node-port-magnetic-icon{display:block;width:20px;height:20px;flex-shrink:0;pointer-events:none;transition:transform .4s cubic-bezier(.34,1.56,.64,1),opacity .2s ease}.node-port-magnetic-icon>svg{display:block;width:20px;height:20px}.node-port-magnetic-hit:focus-visible>.node-port-magnetic-icon{outline:2px solid var(--canvas-handle-icon, #ffffffb3);outline-offset:2px;border-radius:50%}@property --node-connection-angle{syntax:"<angle>"; inherits:false; initial-value:0deg;}@keyframes node-connection-glow-spin{to{--node-connection-angle:360deg}}.node-connection-feedback{position:absolute;overflow:visible;pointer-events:none;border-radius:12px;z-index:50}.node-connection-feedback>.node-glow-ambient,.node-connection-feedback>.node-glow-diffuse,.node-connection-feedback>.node-glow-border,.node-connection-feedback>.node-glow-invalid-pulse{position:absolute;pointer-events:none}.node-connection-feedback>.node-glow-ambient{top:-4px;right:-4px;bottom:-4px;left:-4px;border-radius:16px;z-index:49;filter:blur(4px);opacity:.6;background:transparent;border:1px solid #ffffff1f}.node-connection-feedback>.node-glow-diffuse,.node-connection-feedback>.node-glow-border{animation:node-connection-glow-spin 1.2s linear infinite;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0) border-box;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0) border-box;-webkit-mask-composite:xor;mask-composite:exclude}.node-connection-feedback>.node-glow-diffuse{top:-2px;right:-2px;bottom:-2px;left:-2px;border-radius:14px;z-index:49;padding:4px;filter:blur(6px);background:conic-gradient(from var(--node-connection-angle),transparent 0%,transparent 15%,#fffaf00a 25%,#fffcf51f 35%,#fffefa40 43%,#ffffff59 50%,#fffefa40 57%,#fffcf51f 65%,#fffaf00a 75%,transparent 85%,transparent 100%)}.node-connection-feedback>.node-glow-border{top:0;right:0;bottom:0;left:0;border-radius:12px;z-index:50;padding:1px;background:conic-gradient(from var(--node-connection-angle),#ffffff26 0%,#ffffff26 20%,#fff8eb40 30%,#fffaf080 38%,#fffdf8d9 44%,#fff 50%,#fffdf8d9 56%,#fffaf080 62%,#fff8eb40 70%,#ffffff26 80%,#ffffff26 100%)}@keyframes node-connection-invalid-pulse{0%,to{border-color:#ffffff26;box-shadow:0 0 #fff0}50%{border-color:#ffffff80;box-shadow:0 0 8px 2px #ffffff26}}.node-connection-feedback>.node-glow-invalid-pulse{top:0;right:0;bottom:0;left:0;border-radius:12px;z-index:50;border:1.5px solid #ffffff40;animation:node-connection-invalid-pulse 1.5s cubic-bezier(.4,0,.6,1) infinite}.node-connection-frosted{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:12px;background:#00000059;z-index:50;pointer-events:all;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}.canvas-interacting .node-connection-feedback>.node-glow-border,.canvas-interacting .node-connection-feedback>.node-glow-diffuse{animation-play-state:paused!important}.canvas-interacting .node-connection-feedback>.node-glow-ambient,.canvas-interacting .node-connection-feedback>.node-glow-diffuse{filter:none!important}.node-connection-feedback[data-reduced-motion=true]>.node-glow-border,.node-connection-feedback[data-reduced-motion=true]>.node-glow-diffuse,.node-connection-feedback[data-reduced-motion=true]>.node-glow-invalid-pulse{animation:none}@media(prefers-reduced-motion:reduce){.node-connection-feedback>.node-glow-border,.node-connection-feedback>.node-glow-diffuse,.node-connection-feedback>.node-glow-invalid-pulse{animation:none}}.studio-shell .media-node.asset-node>.node-text.text-node-rich[data-text-state]{position:relative;height:var(--libtv-text-node-height, 200px);min-height:0;padding:12px 4px 12px 16px;overflow:visible;background:#1a1a1a}.studio-shell .media-node.asset-node>.node-text.text-node-blank[data-text-state]{height:var(--libtv-text-node-height, 350px);min-height:0}.text-rich-scroll{height:100%;padding-right:12px;overflow:hidden auto;overscroll-behavior:contain}.text-node-rich.is-editing{cursor:text}.text-node-rich .text-resource-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.text-editor-loading{white-space:pre-wrap;overflow-wrap:anywhere}.text-markdown-content{min-height:100%;outline:none;color:#f7f7f7;caret-color:#f7f7f7;font-family:inherit;font-size:14px;line-height:20px;white-space:pre-wrap;overflow-wrap:anywhere}.text-markdown-content p{margin:0 0 .5em}.text-markdown-content h1{margin:0 0 .5em;font-size:1.5em;font-weight:700;line-height:1.4}.text-markdown-content h2{margin:0 0 .5em;font-size:1.25em;font-weight:600;line-height:1.4}.text-markdown-content h3{margin:0 0 .5em;font-size:1.1em;font-weight:600;line-height:1.4}.text-markdown-content ul,.text-markdown-content ol{margin:0 0 .5em;padding-left:1.5em}.text-markdown-content ul{list-style:disc}.text-markdown-content ol{list-style:decimal}.text-markdown-content li{margin:.15em 0}.text-markdown-content li p{margin:0}.text-markdown-content hr{border:0;border-top:1px solid #525252;margin:.75em 0}.text-markdown-content code{border-radius:3px;padding:.15em .4em;background:#ffffff0d;font-size:.9em}.text-markdown-content pre{padding:.75em 1em;margin:.5em 0;border-radius:6px;background:#ffffff0d;white-space:pre-wrap}.text-markdown-content pre code{padding:0;background:none}.text-markdown-content blockquote{margin:.5em 0;padding-left:1em;border-left:3px solid #525252;color:#919191}.text-markdown-content s{opacity:.6}.text-markdown-content p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;height:0;pointer-events:none;color:#777}.text-node-resize{position:absolute;right:4px;bottom:4px;z-index:30;width:16px;height:16px;display:flex;align-items:center;justify-content:center;color:#aaa;cursor:nwse-resize;touch-action:none;opacity:0}.text-node-rich:hover .text-node-resize,.text-node-resize.resizing{opacity:1}.text-formatting-toolbar{position:relative;display:flex;align-items:center;gap:8px;width:max-content;padding:8px;border:.5px solid #363636;border-radius:12px;background:#262626;color:#f7f7f7;box-shadow:0 4px 10px #0000001f,0 2px 4px #0003;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.text-formatting-toolbar button{width:32px;height:32px;min-width:32px;padding:8px;border:0;border-radius:8px;display:flex;align-items:center;justify-content:center;background:transparent;color:inherit;opacity:.7}.text-formatting-toolbar button:hover,.text-formatting-toolbar button:focus-visible{opacity:1;background:#383838}.text-formatting-toolbar button[aria-pressed=true]{opacity:1;background:#454545}.text-formatting-toolbar button:disabled{opacity:.3;cursor:not-allowed}.text-formatting-toolbar>i{width:0;height:16px;border-left:.5px solid #ffffff1a}.text-color-picker{position:relative}.text-color-indicator{display:block;position:relative;width:16px;height:16px;border:2px solid #888;border-radius:50%}.text-color-indicator.no-color:after{content:"";position:absolute;width:14px;height:1px;background:#f53f3f;top:6px;left:-1px;transform:rotate(-45deg)}.text-color-palette{position:absolute;top:calc(100% + 8px);left:-8px;display:grid;grid-template-columns:repeat(5,36px);gap:12px;padding:12px;border:.5px solid #363636;border-radius:12px;background:#262626;box-shadow:0 4px 10px #0003;z-index:2}.text-color-palette button{width:36px;height:36px;padding:4px;opacity:1;border-radius:50%}.text-color-palette .text-color-indicator{width:28px;height:28px}.text-color-palette .text-color-indicator.no-color:after{width:26px;top:12px}.text-editor-notice{position:absolute;z-index:45;top:100%;left:0;margin-top:8px;width:350px;max-width:90vw;padding:8px 12px;display:flex;gap:8px;flex-wrap:wrap;border:1px solid #64503c;border-radius:8px;background:#302820;color:#e5cfb6;font-size:12px}.text-editor-notice button{color:inherit;border:0;background:transparent;padding:0;text-decoration:underline}.text-fullscreen-dialog{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#0a0a0af2;color:#f7f7f7;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);overflow:hidden;font:inherit}.text-fullscreen-dialog[open]{display:flex;flex-direction:column}.text-fullscreen-dialog::backdrop{background:transparent}.text-fullscreen-dialog>header{height:56px;min-height:56px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff14;font-size:16px;font-weight:500}.text-fullscreen-dialog>header button{width:28px;height:28px;padding:8px;display:flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:transparent;color:inherit}.text-fullscreen-dialog>header button:hover{background:#383838}.text-fullscreen-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.text-fullscreen-document{width:calc(100% - 48px);max-width:768px;min-height:100%;margin:auto;display:flex;flex-direction:column}.text-fullscreen-tools{position:sticky;top:0;z-index:2;padding:24px 0;display:flex;justify-content:center;background:linear-gradient(#0a0a0a 80%,#0a0a0a00)}.text-fullscreen-document>.text-markdown-editor{flex:1;padding-bottom:40px}.text-fullscreen-document>.text-editor-notice{position:sticky;top:100px;width:100%;margin:0 0 16px}@media(max-width:760px){.text-formatting-toolbar{max-width:calc(100vw - 16px);gap:2px;flex-wrap:wrap}.text-fullscreen-document{width:calc(100% - 32px)}}.node-tool-popup{position:fixed;z-index:85;width:max-content;min-width:min(180px,var(--node-tool-available-width, calc(100vw - 16px) ));max-width:var(--node-tool-available-width, calc(100vw - 16px) );max-height:var(--node-tool-available-height, calc(100dvh - 16px) );overflow:auto;overscroll-behavior:contain;box-sizing:border-box;border:1px solid #414141;border-radius:9px;padding:5px;background:#282828;box-shadow:0 8px 30px #0008;color:#dedede;font:12px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif}.node-tool-popup button{display:flex;width:100%;min-height:32px;align-items:center;justify-content:flex-start;gap:8px;border:0;border-radius:5px;padding:7px 9px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.node-tool-popup button:hover:not(:disabled){background:#3a3a3a}.node-tool-popup button:focus-visible{outline:1px solid #a8a8a8;outline-offset:-1px;background:#373737}.node-tool-popup button:disabled{opacity:.4;cursor:not-allowed}.node-tool-popup button>svg{flex:0 0 auto}.node-tool-popup .node-run{color:#eee}.node-tool-popup-primary{width:min(160px,var(--node-tool-available-width, calc(100vw - 16px) ));min-width:0;max-width:var(--node-tool-available-width, calc(100vw - 16px) );border:.5px solid #363636;border-radius:12px;padding:6px;background:#262626;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif}.node-tool-popup-primary button{width:100%;padding:8px 10px;border-radius:8px;color:#fff;font-size:13px;line-height:20.15px;font-weight:400;font-family:inherit}.studio-shell .node-context-toolbar.media-node-toolbar-host:has(.node-actions){position:fixed!important;left:var(--media-toolbar-left)!important;top:var(--media-toolbar-top)!important;right:auto!important;bottom:auto!important;width:max-content;max-width:var(--media-toolbar-width);max-height:var(--media-toolbar-height);transform:none!important;z-index:23}.studio-shell .media-node-toolbar-host>.media-toolbar-scroll{width:max-content;max-width:var(--media-toolbar-width);max-height:var(--media-toolbar-height);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;border-radius:12px}.studio-shell .node-context-toolbar.media-node-toolbar-host .node-actions{display:flex;align-items:center;flex-wrap:nowrap;width:max-content;min-width:0;max-width:none;height:auto;min-height:0;gap:4px;padding:4px;border:.5px solid #363636;border-radius:12px;background:#262626;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff}.studio-shell .node-context-toolbar.media-node-toolbar-host .node-actions>button,.studio-shell .node-context-toolbar.media-node-toolbar-host .node-tool-menu>summary{display:flex;flex:none;align-items:center;justify-content:center;height:32px;min-height:32px;padding:8px 12px;gap:4px;border-radius:8px;color:#fff;font-size:13px;line-height:20.15px;font-weight:400;white-space:nowrap}.studio-shell .node-context-toolbar.media-node-toolbar-host .node-actions>button[aria-label=下载素材],.studio-shell .node-context-toolbar.media-node-toolbar-host .node-actions>button[aria-label=预览素材],.studio-shell .node-context-toolbar.media-node-toolbar-host .node-more-menu>summary{width:32px;min-width:32px;padding:8px;margin:0;border:0;border-radius:8px}.studio-shell .node-context-toolbar.media-node-toolbar-host .node-tool-primary{display:inline-flex;flex:none;align-items:center;gap:4px;min-width:0}.studio-shell .node-context-toolbar.media-node-toolbar-host .node-tool-primary-trigger{display:flex;flex:none;align-items:center;justify-content:center;height:32px;min-height:32px;padding:8px 12px;gap:4px;border:0;border-radius:8px;background:transparent;color:#fff;font-size:13px;line-height:20.15px;font-weight:400;font-family:inherit;white-space:nowrap;cursor:pointer}.studio-shell .node-context-toolbar.media-node-toolbar-host .node-tool-primary-trigger>svg:first-child{width:16px;height:16px;flex:none}.studio-shell .node-context-toolbar.media-node-toolbar-host .node-tool-primary-trigger>svg:last-child{width:12px;height:12px;flex:none}.studio-shell .node-context-toolbar.media-node-toolbar-host .node-tool-primary-trigger:hover:not(:disabled):not([aria-disabled=true]),.studio-shell .node-context-toolbar.media-node-toolbar-host .node-tool-primary-trigger[aria-expanded=true]:not([aria-disabled=true]),.studio-shell .node-context-toolbar.media-node-toolbar-host .node-tool-primary[data-open] .node-tool-primary-trigger:not([aria-disabled=true]){background:#3a3a3a}.studio-shell .node-context-toolbar.media-node-toolbar-host .node-tool-primary-trigger:focus-visible,.studio-shell .node-context-toolbar.media-node-toolbar-host .node-tool-primary-toggle:focus-visible{outline:1px solid #a8a8a8;outline-offset:-1px}.studio-shell .node-context-toolbar.media-node-toolbar-host .node-tool-primary-trigger:disabled,.studio-shell .node-context-toolbar.media-node-toolbar-host .node-tool-primary-trigger[aria-disabled=true],.studio-shell .node-context-toolbar.media-node-toolbar-host .node-tool-primary-toggle:disabled{opacity:.4;cursor:not-allowed}.studio-shell .node-context-toolbar.media-node-toolbar-host .node-tool-primary-toggle{display:none}@media(hover:none)and (pointer:coarse){.studio-shell .node-context-toolbar.media-node-toolbar-host .node-tool-primary-trigger>svg:last-child{display:none}.studio-shell .node-context-toolbar.media-node-toolbar-host .node-tool-primary-toggle{display:flex;flex:none;align-items:center;justify-content:center;width:32px;min-width:32px;height:32px;min-height:32px;padding:8px;border:0;border-radius:8px;background:transparent;color:#fff;cursor:pointer}.studio-shell .node-context-toolbar.media-node-toolbar-host .node-tool-primary-toggle:hover:not(:disabled),.studio-shell .node-context-toolbar.media-node-toolbar-host .node-tool-primary-toggle[aria-expanded=true]{background:#3a3a3a}}.composition-node{width:340px}.composition-node>header small{margin-left:auto;color:#b5ce83}.composition-body{padding:16px;display:grid;gap:12px;font-size:14px}.composition-body p{margin:0;line-height:1.5}.composition-body small{color:#a9abb0;font-size:12px;line-height:1.5}.composition-body button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:38px}.composition-strip{display:flex;flex-wrap:wrap;gap:4px;min-height:64px;padding:10px;background:#17191c;border-radius:8px;align-items:center}.composition-strip span{padding:10px;background:#434b33;border-radius:4px;min-width:26px;text-align:center}.composition-body video{width:100%;max-height:210px;background:#101112;border-radius:6px}.composition-body label{display:grid;gap:6px}.composition-body select{width:100%;min-height:36px}.composition-body progress{width:100%}.composition-body .error{color:#efb7a8}.image-layers-editor{font-size:14px;min-width:0}.image-layers-editor>header,.image-layers-editor>footer,.layers-edit-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.image-layers-editor>header{justify-content:space-between;margin-bottom:20px;color:var(--muted)}.layers-edit-layout{display:grid;grid-template-columns:minmax(0,1fr) 305px;gap:22px}.layers-preview-pane{min-width:0}.layers-stage,.layer-preview{position:relative;width:100%;margin:auto;background:conic-gradient(#34383a 25%,#222628 0,#222628 50%,#34383a 0,#34383a 75%,#222628 0) 0 0/20px 20px;overflow:hidden;isolation:isolate}.layers-stage{touch-action:none}.editable-layer{position:absolute;touch-action:none;outline:none}.editable-layer>img{width:100%;height:100%;display:block;pointer-events:none;-webkit-user-select:none;user-select:none}.editable-layer.selected{outline:1px solid #dcf6ad}.editable-layer:focus-visible{outline:3px solid #dcf6ad}.image-layers-editor .layer-size-handle,.image-layers-editor .layer-rotate-handle{position:absolute;width:26px;height:26px;padding:0;min-height:0;display:grid;place-items:center;background:#dcf6ad;color:#181c15;border:1px solid #334026;touch-action:none}.layer-size-handle{right:0;bottom:0;cursor:nwse-resize}.layer-rotate-handle{left:calc(50% - 13px);top:0;cursor:grab}.layers-stack{max-height:245px;overflow:auto;margin-bottom:15px}.layers-stack>div{display:flex;align-items:center;gap:6px;border:1px solid #414547;border-radius:7px;padding:5px;margin-top:5px}.layers-stack>div.active{border-color:#b7cf8c;background:#30362b}.layers-stack button{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;padding:3px;display:flex;gap:6px;align-items:center;text-align:left}.layers-stack img{width:34px;height:34px;object-fit:contain;background:#202426}.layers-stack label{font-size:12px;display:flex;gap:3px}.layers-stack input{width:14px}.image-layers-editor fieldset{border:1px solid #414547;border-radius:8px;padding:12px}.layer-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0}.image-layers-editor label{min-width:0}.layer-fields label,.image-layers-editor fieldset>label{display:flex;flex-direction:column;gap:5px}.image-layers-editor input,.image-layers-editor select{max-width:100%;min-width:0}.layers-preview-pane>p{line-height:1.7;margin:14px 0}.image-layers-editor>footer{margin:18px 0}.layers-export-results{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid #414547;padding-top:15px}.layers-export-results img{width:145px;height:100px;object-fit:contain;background:conic-gradient(#34383a 25%,#222628 0,#222628 50%,#34383a 0,#34383a 75%,#222628 0) 0 0/16px 16px}.layer-project-node .layer-preview{max-height:230px}.layer-project-body{padding:14px;display:grid;gap:10px}.layer-project-body p{margin:0;font-size:13px}.layer-preview img{pointer-events:none}.layers-export-results label{display:grid;gap:5px}.layer-selection-overlay{position:absolute;touch-action:none;outline:1px solid #dcf6ad;cursor:move}.canvas-dialog.wide:has(.image-layers-editor){width:min(1120px,calc(100vw - 28px))}.canvas-dialog .image-layers-editor label{margin:0}.canvas-dialog .image-layers-editor .layers-stack label{display:flex;flex-direction:row;align-items:center;gap:3px}.canvas-dialog .image-layers-editor .layers-stack input{width:14px;margin:0}.image-layers-editor .layers-stack button{min-height:38px}.image-layers-editor input:not([type=checkbox]),.image-layers-editor select{padding:8px;min-height:38px}.image-layers-editor .layers-edit-actions button,.image-layers-editor>footer button,.layers-export-results button,.layers-export-results a{border:1px solid #454c40;background:#2a3028;padding:8px 10px;border-radius:7px;min-height:38px;color:#dfedcf}.image-layers-editor button:disabled{opacity:.45;cursor:not-allowed}.image-layers-editor>footer .primary{background:#def2b2;color:#20291a}.layers-edit-layout aside{max-height:60dvh;overflow:auto;padding-right:3px}.layer-fields{gap:12px}.layers-edit-actions{margin-top:10px}@media(max-width:760px){.layers-edit-layout{grid-template-columns:minmax(0,1fr)}.layers-stage{max-height:40dvh}.layers-stack{max-height:185px}.layers-edit-layout aside{min-width:0;max-height:none;overflow:visible}.image-layers-editor>header{gap:7px}.image-layers-editor button{font-size:14px}.layers-edit-actions{gap:6px}}.studio-shell .media-node.asset-node.sized-media-node>.node-media.media-output-stack{overflow:visible;background:transparent;border:0;outline:none}.studio-shell .react-flow__node:has(.media-output-stack[data-expanded=true]){z-index:9999!important}.studio-shell .react-flow__node:has(.media-output-stack[data-media-kind=video]){height:auto!important}.studio-shell .media-node.asset-node:has(.media-output-stack[data-expanded=true])>footer>.node-derive{display:none}.studio-shell .media-node.asset-node.video:has(.media-output-stack[data-expanded=true][data-rows="2"])>header{visibility:hidden}.media-output-viewport{position:absolute;overflow:visible;border-radius:12px}.media-output-stack[data-expanded=true] .media-output-viewport[data-scrollable=true]{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#666 #202020;outline:1px solid #444;background:#171717e8}.media-output-plane{position:relative}.media-output-card{position:absolute;overflow:hidden;border:1px solid #525252;border-radius:12px;background:#262626;transform-origin:center;transition:left .3s ease,top .3s ease,width .3s ease,height .3s ease,transform .3s ease}.media-output-stack[data-expanded=false] .media-output-card:not([data-primary=true]){pointer-events:none}.studio-shell .asset-node.active .media-output-stack[data-expanded=false] .media-output-card[data-primary=true]{border-color:#a8a8a8}.media-output-card-content{width:100%;height:100%;transition:transform .3s ease}.media-output-card-content[data-hovered=true]{transform:scale(1.02)}.media-output-card[data-promoting=true]{opacity:.65}.studio-shell .media-node.asset-node.sized-media-node>.node-media.media-output-stack .media-output-card-content>img,.studio-shell .media-node.asset-node.sized-media-node>.node-media.media-output-stack .media-output-card-content>video,.studio-shell .media-node.asset-node.sized-media-node>.node-media.media-output-stack .canvas-video-player{width:100%;height:100%;min-width:0;min-height:0;max-width:none;max-height:none;object-fit:cover}.media-output-locked{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:20px;color:#aaa;font-size:13px;text-align:center;background:#242424}.media-output-video-placeholder{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#777;font-size:12px}.media-output-card-content>video{position:absolute;top:0;right:0;bottom:0;left:0}.media-output-card-actions{position:absolute;top:8px;right:8px;display:flex;flex-wrap:wrap;justify-content:flex-end;max-width:calc(100% - 16px);gap:4px}.media-output-card-actions>button,.media-output-count{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:30px;min-height:30px;padding:8px;border:0;border-radius:8px;background:#000000a6;color:#fff;font-size:13px;line-height:14px;font-weight:400;white-space:nowrap;cursor:pointer}.media-output-card-actions>button>svg{width:14px;height:14px;flex:0 0 14px}.media-output-card-actions>button:hover:not(:disabled),.media-output-count:hover{background:#292929e6}.media-output-card-actions>button:disabled{opacity:.45;cursor:not-allowed}.media-output-card-actions>button:focus-visible,.media-output-count:focus-visible{outline:2px solid #fff;outline-offset:-2px}.media-output-count{position:absolute;bottom:8px;left:8px;z-index:10}.media-output-corner-controls{position:absolute;top:12px;right:12px;z-index:11;display:flex;align-items:center;gap:4px;pointer-events:none}.media-output-corner-controls[data-with-count=true]{top:8px;right:8px}.studio-shell .media-output-corner-controls>.node-derive{position:static;flex:0 0 26px;width:26px;height:26px;padding:4px;color:#dedede;border:0;border-radius:6px;background:#373737b8;pointer-events:auto}.media-output-corner-controls>.media-output-count{position:static;pointer-events:auto}.media-output-stack[data-expanded=true] .media-output-count{visibility:hidden}.media-output-stack[data-expanded=true] .media-output-count:focus-visible{visibility:visible}.media-output-stack[data-expanded=true] .media-output-corner-controls>.node-derive{display:none}.media-output-error{position:absolute;top:calc(100% + 6px);left:0;z-index:11;padding:8px;border-radius:8px;background:#472f2a;color:#f3cec5;font-size:12px}.studio-shell .media-node.asset-node.audio.media-output-audio-node:not(.script-node){width:350px;height:var(--audio-output-height, 148px);--node-port-top: 50%;overflow:visible}.studio-shell .media-node.asset-node.audio.media-output-audio-node:not(.script-node)>header{position:absolute;left:0;right:0;bottom:calc(100% + 6px);height:20px;min-height:20px;padding:0 1px}.studio-shell .media-node.asset-node.audio.media-output-audio-node>.media-node-below{position:absolute;top:calc(100% + 8px);left:0;width:100%;display:flex;flex-direction:column;gap:6px}.studio-shell .media-node.asset-node.audio.media-output-audio-node>footer>.node-derive{top:8px}.studio-shell .media-node.asset-node>.node-media.media-output-audio-list{width:350px;overflow:hidden;border:0;background:#262626;border-radius:12px}.media-output-audio-row{position:relative;width:350px;height:148px;padding:8px;box-sizing:border-box;border-bottom:1px solid #383838}.media-output-audio-row:last-child{border-bottom:0}.media-output-audio-row>audio{display:none}.media-output-audio-name{height:24px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:20px;color:#a3a3a3}.media-output-waveform{position:relative;height:64px;overflow:hidden;border-radius:8px;background:#202020}.media-output-waveform>svg{display:block;width:100%;height:64px}.media-output-waveform>span{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#818181;font-size:12px}.media-output-waveform>input{position:absolute;top:0;right:0;bottom:0;left:0;margin:0;padding:0;width:100%;height:64px;opacity:0;cursor:pointer}.media-output-waveform:has(input:focus-visible){outline:2px solid #fff;outline-offset:-2px}.media-output-audio-controls{position:relative;display:flex;align-items:center;height:40px;color:#ddd;font-size:12px}.media-output-audio-controls>button{position:absolute;left:50%;transform:translate(-50%);display:grid;place-items:center;width:32px;height:32px;padding:4px;color:#fff;background:transparent;border:0;border-radius:6px;cursor:pointer}.media-output-audio-controls>button:hover{background:#414141}.media-output-audio-error{position:absolute;right:8px;bottom:12px;max-width:120px;color:#e5b5a8;font-size:11px}.node-input-stale{padding:4px 8px;color:#d6bd82;border-radius:6px;background:#3b3529;font-size:11px}@media(prefers-reduced-motion:reduce){.media-output-card,.media-output-card-content{transition:none}}.studio-shell .media-node.asset-node.sized-media-node>.node-media.video-generation-stack{overflow:visible;background:transparent;border:0;outline:none}.studio-shell .react-flow__node:has(.video-generation-stack[data-expanded=true]){z-index:9999!important}.video-generation-stack{position:relative}.video-generation-overlay{position:absolute;z-index:1;pointer-events:none}.video-generation-overlay>.video-generation-viewport{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:auto}.video-generation-stack[data-expanded=true] .video-generation-overlay>.video-generation-viewport{top:38px;bottom:0}.video-generation-viewport{position:absolute;overflow:visible;border-radius:12px}.video-generation-toolbar{position:absolute;top:0;left:0;z-index:11;display:flex;align-items:center;justify-content:flex-end;gap:8px;width:100%;height:38px;padding:0 8px;box-sizing:border-box;pointer-events:none}.video-generation-toolbar .video-generation-count{position:static;top:auto;right:auto;pointer-events:auto}.video-generation-selection-status{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f3cec5;font-size:12px;text-align:right}.video-generation-stack[data-expanded=true] .video-generation-viewport[data-scrollable=true]{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#666 #202020;outline:1px solid #444;background:#171717e8}.video-generation-plane{position:relative}.video-generation-card{position:absolute;overflow:hidden;border:1px solid #525252;border-radius:12px;background:#262626;color:#e5e5e5;transform-origin:center;transition:left .3s ease,top .3s ease,width .3s ease,height .3s ease,transform .3s ease}.video-generation-stack[data-expanded=false] .video-generation-card:not([data-front=true]){opacity:0;visibility:hidden;pointer-events:none}.video-generation-stack[data-expanded=false] .video-generation-card[data-front=true]{top:0;right:0;bottom:0;left:0;width:100%;height:100%}.video-generation-card-head{display:flex;align-items:center;gap:6px;height:44px;min-height:44px;padding:0 132px 0 12px;font-size:13px;line-height:18px;white-space:nowrap;box-sizing:border-box;overflow:hidden}.video-generation-stack[data-expanded=true] .video-generation-card-head{padding-right:6px}.video-generation-stack[data-count="1"] .video-generation-card-head{padding-right:12px}.video-generation-card-head strong{flex:0 0 auto;font-weight:500}.video-generation-card-head .node-status{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.video-generation-front{flex:0 0 auto;min-height:28px;padding:0 8px;border:1px solid #525252;border-radius:6px;background:#171717;color:#e5e5e5;font-size:12px;line-height:26px;white-space:nowrap;cursor:pointer;box-sizing:border-box}.video-generation-front:hover{background:#404040}.video-generation-front[aria-pressed=true]{border-color:#e5e5e5;background:#e5e5e5;color:#171717}.video-generation-front:disabled{opacity:.45;cursor:not-allowed}.video-generation-front:focus-visible{outline:2px solid #fff;outline-offset:-2px}.video-generation-card-body{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;height:calc(100% - 44px);padding:16px;box-sizing:border-box;text-align:center;color:#a3a3a3}.video-generation-card-body small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-shell .media-node.asset-node>.node-media.video-generation-stack video.video-generation-video{position:absolute;right:0;left:0;display:block;min-width:0;min-height:0;max-width:none;max-height:none;width:100%;height:calc(100% - 44px);top:44px;bottom:0;object-fit:contain;background:#171717}.video-generation-progress{width:min(180px,80%);height:4px;overflow:hidden;border-radius:999px;background:#404040}.video-generation-progress>i{display:block;height:100%;border-radius:inherit;background:#fff;transition:width .2s ease}.video-generation-layer{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid #3f3f3f;border-radius:12px;background:#202020;pointer-events:none}.video-generation-layer-1{transform:translate(6px,6px)}.video-generation-layer-2{transform:translate(12px,12px)}.video-generation-count{position:absolute;top:8px;right:8px;z-index:12;display:inline-flex;align-items:center;gap:4px;min-height:30px;max-width:calc(100% - 16px);padding:8px;border:0;border-radius:8px;background:#000000a6;color:#fff;font-size:13px;line-height:14px;white-space:nowrap;cursor:pointer;pointer-events:auto;box-sizing:border-box}.video-generation-count:hover{background:#292929e6}.video-generation-count:focus-visible{outline:2px solid #fff;outline-offset:-2px}.video-generation-error{position:absolute;top:calc(100% + 6px);left:0;z-index:11;padding:8px;border-radius:8px;background:#472f2a;color:#f3cec5;font-size:12px}@media(prefers-reduced-motion:reduce){.video-generation-card,.video-generation-progress>i{transition:none}}.canvas-dialog.wide:has(.director-editor){width:min(1460px,96vw);max-width:96vw}.canvas-dialog:has(.director-editor)>.dialog-body{padding:18px}.director-editor{font-size:12px}.director-editor button{font-size:12px;padding:7px 9px;border-radius:6px}.director-editor button[aria-pressed=true]{background:#414c34;color:#e3fbb3;border-color:#8b9e67}.director-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;color:#aeb1a9}.director-top>div{display:flex;gap:6px;flex-wrap:wrap}.director-layout{display:grid;grid-template-columns:180px minmax(200px,1fr) 235px;height:min(710px,72vh);min-height:400px;border:1px solid #383b3e;border-radius:9px;overflow:hidden;background:#202327}.director-assets,.director-inspector{overflow:auto;padding:12px;background:#25282c}.director-assets{border-right:1px solid #383b3e}.director-inspector{border-left:1px solid #383b3e}.director-editor h3{font-size:12px;margin:6px 0 12px}.director-editor h3 small{float:right;color:#92998b;font-weight:400}.director-add{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-bottom:12px}.director-object-list{display:grid;gap:4px;margin:10px 0 20px}.director-object-list button{text-align:left;white-space:normal;overflow-wrap:anywhere}.director-center{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden}.director-viewbar{display:flex;gap:5px;padding:8px;background:#25282c}.director-viewbar span{flex:1}.director-viewport{flex:1;min-height:180px;overflow:hidden;touch-action:none}.director-viewport canvas{display:block}.director-frame-label{position:absolute;top:54px;left:12px;color:#eef3e6;background:#181a1dcc;border-radius:4px;padding:5px;pointer-events:none}.director-timeline{display:flex;align-items:center;gap:10px;padding:10px;border-top:1px solid #383b3e}.director-timeline input{flex:1;min-width:30px}.director-timeline output{white-space:nowrap;font-variant-numeric:tabular-nums}.director-keyframes{display:flex;flex-wrap:wrap;gap:5px;padding:0 10px;max-height:80px;overflow:auto}.director-hint{padding:0 10px;line-height:1.6}.director-inspector fieldset{border:0;padding:0;min-width:0}.director-inspector label{display:block;margin:8px 0;color:#b2b8ae}.director-inspector input:not([type=checkbox]),.director-inspector select{display:block;width:100%;box-sizing:border-box;margin-top:5px;background:#1d2023;color:#e0e5d8;border:1px solid #41464a;border-radius:5px;padding:7px}.director-inspector input[type=color]{padding:2px;height:30px}.director-inspector .director-vector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:10px 0}.director-vector legend{color:#b2b8ae}.director-vector label{font-size:10px;overflow:hidden}.director-vector input{padding:5px 3px!important}.director-inspector h3:not(:first-child){margin-top:24px;border-top:1px solid #41464a;padding-top:16px}.director-close-confirm{padding:12px;background:#44382b;display:flex;gap:8px;align-items:center}.director-node-body{padding:22px 16px;display:grid;gap:10px;color:#b7bcae;text-align:center}.director-node-body button{background:#424d34;color:#e3fbb3;padding:10px;border:1px solid #697c4e}.director-node-body svg{margin:auto}.director-node-body p{margin:0;font-size:12px}.director-node-body small{color:#969d8c}@media(max-width:950px){.director-layout{grid-template-columns:140px minmax(180px,1fr) 190px}.director-top{align-items:flex-start;flex-direction:column}.director-viewbar{flex-wrap:wrap}}@media(max-width:650px){.director-layout{height:75vh;grid-template-columns:120px minmax(180px,1fr);overflow:auto}.director-inspector{grid-column:1/-1;max-height:250px}.director-center{min-height:400px}.director-assets{max-height:400px}.director-viewbar button{padding:4px}.director-frame-label{top:80px}}.director-top>div{flex-direction:row!important;width:auto!important}.director-top button.primary{width:auto;min-width:130px}.director-inspector label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}.director-inspector input[type=checkbox]{width:auto;margin:0}.director-add button{white-space:nowrap}.director-viewport{position:relative}.director-film-gate{position:absolute;pointer-events:none;box-sizing:border-box;border:1px solid #e4e9db70;box-shadow:0 0 0 5000px #10121580}.director-gallery{border-bottom:1px solid #41464a;padding-bottom:16px;margin-bottom:16px}.director-gallery-actions{display:flex;flex-wrap:wrap;gap:4px}.director-gallery-actions button{white-space:normal}.director-captures{display:grid;gap:12px;margin-top:12px;max-height:440px;overflow:auto}.director-capture{border:1px solid #41464a;border-radius:6px;padding:7px;min-width:0}.director-capture img{display:block;width:100%;height:auto;max-height:160px;object-fit:contain;background:#171a1d}.director-capture label span{overflow-wrap:anywhere;min-width:0}.director-capture small{display:block;color:#b2b8ae;margin:7px 0}.director-capture>div{display:flex;flex-wrap:wrap;gap:5px;align-items:center}.director-capture a{color:#d6edb5;font-size:12px}.director-capture-remove{padding:8px;background:#44382b;line-height:1.6}.director-capture button{padding:5px}.director-gallery p{line-height:1.6}.director-motion{border-bottom:1px solid #41464a;padding-bottom:16px;margin-bottom:16px}.director-motion p{line-height:1.6}.director-motion button{margin:5px 0;max-width:100%;white-space:normal}.director-motion small{display:block;line-height:1.6;margin-top:12px}.director-viewbar{flex-wrap:wrap;flex-shrink:0}.director-frame-label{position:static;border-radius:0;margin:0;padding:5px 10px;font-size:11px;order:0}.director-viewport:focus-within{outline:1px solid #a6b776;outline-offset:-1px}.director-inspector :disabled{opacity:.65}.director-node-preview{display:block;width:100%;max-height:150px;object-fit:contain;background:#171a1d}.director-mini-viewport{position:relative;overflow:hidden;background:#171a1d;min-height:100px}.director-mini-viewport canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.director-mini-viewport canvas:active{cursor:grabbing}.director-mini-viewport canvas:focus-visible{outline:2px solid #d5eead;outline-offset:-2px}.director-mini-readout{display:flex;justify-content:space-between;gap:8px;padding:7px 9px;font-size:12px;color:#b9c0b2;background:#212428}.director-mini-tools{display:flex;gap:3px;padding:6px;flex-wrap:wrap}.director-mini-tools button{border:1px solid #454c41;background:#2d3229;color:#dceacb;font-size:12px;padding:6px}.director-mini-tools button[aria-pressed=true]{background:#53613e}.director-mini-tools button:disabled{opacity:.4}.director-mini-settings{padding:4px 10px 10px;font-size:12px;color:#b7bcae}.director-mini-settings summary{cursor:pointer}.director-mini-settings>div{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px 0}.director-mini-settings label{min-width:0}.director-mini-settings input{width:100%}.director-mini-settings small{display:block;line-height:1.6}.director-composition-grid{pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to right,transparent calc(33.333% - .5px),#ffffff80 33.333%,transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#ffffff80 66.666%,transparent calc(66.666% + .5px)),linear-gradient(to bottom,transparent calc(33.333% - .5px),#ffffff80 33.333%,transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#ffffff80 66.666%,transparent calc(66.666% + .5px))}.director-mini-status{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:12px;font-size:12px;background:#202327dd}.director-node-view+.director-node-body{padding:8px 12px 12px;gap:6px}.director-node-capture{font-size:14px}.director-node-capture button{margin:8px 6px 8px 0}.director-node-capture-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:50vh;overflow:auto;margin:12px 0}.director-node-capture-results figure{margin:0;min-width:0}.director-node-capture-results img{display:block;width:100%}.director-node-capture-results figcaption{font-size:12px;color:#b7bcae;overflow-wrap:anywhere}.director-node-capture small{line-height:1.6}.director-group-actions{display:flex;flex-wrap:wrap;gap:5px}.director-group-actions button{white-space:normal}.director-tree-row{display:flex;align-items:center;gap:5px;min-width:0;margin:3px 0}.director-tree-row input{width:13px;height:13px;flex:0 0 13px;margin:0}.director-tree-row button{flex:1;min-width:0;padding:7px 5px}.director-tree-row button[aria-pressed=true]{border:1px solid #8b9e67}.director-draw-controls{border:1px solid #41464a;border-radius:6px;padding:8px;margin:10px 0}.director-draw-controls summary{cursor:pointer;color:#dcebc4}@media(max-width:650px){.director-add{grid-template-columns:minmax(0,1fr)}.director-add button{white-space:normal}.director-assets{min-width:0}}@media(max-width:650px){.director-layout{display:flex;flex-direction:column}.director-center{order:0;flex:0 0 510px;min-height:510px}.director-assets{order:1;flex:none;max-height:none;border-right:0;border-top:1px solid #383b3e}.director-inspector{order:2;flex:none;max-height:none;border-left:0;border-top:1px solid #383b3e}.director-add{grid-template-columns:repeat(4,minmax(0,1fr))}.director-add button{padding:5px 2px}.director-keyframes{max-height:60px;flex-shrink:0}.director-hint{font-size:11px;line-height:1.5;flex-shrink:0}}.director-panorama-thumb{display:block;width:100%;aspect-ratio:2;object-fit:contain;background:#17191c;margin:10px 0;border-radius:6px}.director-stage-panel{min-width:0}.director-stage-panel small{overflow-wrap:anywhere}.director-model-library{font-size:14px;line-height:1.6;margin-block:12px;min-width:0;overflow-wrap:anywhere}.director-model-library summary{cursor:pointer;min-height:36px}.director-model-library :is(input,button){font-size:14px;min-height:36px;max-width:100%;box-sizing:border-box}.director-model-library button{display:block;width:100%;white-space:normal;margin:6px 0;text-align:left}.director-model-library input[type=file]{width:100%;padding:6px}.director-model-library .muted{font-size:13px;line-height:1.6}.director-joints{margin:12px 0;padding:12px 0;border-block:1px solid #3c4145}.director-joints small{display:block;margin-top:8px}.director-joint-actions{display:flex;flex-wrap:wrap;gap:6px}.director-array-entry{width:100%;min-height:40px;margin-bottom:14px}.director-array-panel{font-size:14px;line-height:1.6;min-width:0}.director-array-panel p{overflow-wrap:anywhere}.director-array-panel h3{font-size:16px}.director-array-panel .muted{font-size:13px}.director-array-panel label{font-size:14px}.director-array-panel :is(input,select,button){font-size:14px;min-height:36px}.director-array-panel input[type=checkbox]{min-height:0}.director-array-actions{display:flex;gap:8px;flex-wrap:wrap;padding:12px 0}.director-array-actions button{flex:1;white-space:normal;min-height:40px}.director-video-panel{font-size:14px;line-height:1.6;border-bottom:1px solid #41464a;padding-bottom:18px;margin-bottom:18px;min-width:0}.director-video-panel h3{font-size:16px}.director-video-panel :is(input,select,button,label){font-size:14px}.director-video-panel button{min-height:36px;white-space:normal;margin:5px 0}.director-video-panel video{display:block;width:100%;max-height:190px;background:#101215}.director-video-panel .muted{font-size:13px}.director-video-panel a{color:#d6edb5}.director-video-progress{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px;font-size:14px;background:#273020}.director-video-progress progress{max-width:100%;accent-color:#d5eead}.image-preset-picker{z-index:150;display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;border:1px solid #59614e;border-radius:12px;background:#252824;color:#e3e8df;box-shadow:0 14px 50px #0009;font-size:14px;text-align:left}.image-preset-picker[data-composer-window-owner]{z-index:1000}.image-preset-picker header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid #42473d}.image-preset-picker header button{width:32px;height:32px;font-size:22px}.image-preset-picker input{width:calc(100% - 24px);margin:12px;font-size:14px;flex-shrink:0}.image-preset-list,.image-preset-detail{overflow:auto;flex:1;min-height:64px;padding:0 10px 10px;overscroll-behavior:contain}.image-preset-list button{display:flex;flex-direction:column;width:100%;gap:4px;padding:10px;text-align:left;border-radius:7px;font-size:14px}.image-preset-list button.active,.image-preset-list button:hover{background:#414a36}.image-preset-list button span{color:#bbc3b4;line-height:1.5}.image-preset-picker footer{flex-shrink:0;padding:12px;border-top:1px solid #42473d;line-height:1.5;font-size:14px}.image-preset-picker footer button{width:100%;padding:10px;font-size:14px}.image-preset-detail{padding:12px 16px}.image-preset-detail h3{font-size:18px;margin:12px 0 8px}.image-preset-detail p{font-size:16px;line-height:1.6;margin:12px 0}.image-preset-detail summary{font-size:14px;cursor:pointer}.image-preset-instructions{white-space:pre-wrap;overflow-wrap:anywhere}.image-preset-grid{display:grid;gap:4px;width:100%;max-width:240px;margin:14px auto}.image-preset-grid span{display:grid;place-items:center;min-height:24px;aspect-ratio:1.8;background:#394031;border:1px solid #626d53;border-radius:3px;color:#d2dfbc}.image-preset-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:8px}.image-preset-actions button{font-size:14px;padding:6px 9px}.image-preset-actions span{color:#c7d6b3;font-size:14px}.prompt-editor-wrap{margin:8px 0;position:relative}.prompt-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;font-size:14px}.prompt-editor-heading button{padding:4px 7px;font-size:14px}.prompt-editor{min-height:95px;max-height:230px;overflow:auto;border:1px solid #41453f;border-radius:8px;padding:12px;background:#191b1d;font-size:16px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;cursor:text}.prompt-editor:focus{outline:1px solid #b4c98c}.prompt-editor:empty:before{content:attr(data-placeholder);color:#92978d;pointer-events:none}.prompt-editor[aria-readonly=true]{color:#acafa8;cursor:default}.prompt-reference{display:inline;padding:2px 6px;border-radius:5px;background:#424b35;color:#e0eccf;cursor:pointer;-webkit-box-decoration-break:clone;box-decoration-break:clone}.prompt-reference.missing{background:#57352c;color:#ffcebf}.prompt-reference:focus{outline:1px solid #d4e5b7}.prompt-autolink-suggestion{display:inline;padding:2px 5px;margin-left:3px;border:1px dashed #9ba987;border-radius:5px;color:#c6d7b3;background:#32382c;cursor:pointer;font-size:14px;-webkit-box-decoration-break:clone;box-decoration-break:clone}.prompt-autolink-suggestion:hover,.prompt-autolink-suggestion:focus{background:#4d5a3d;outline:1px solid #d4e5b7}.prompt-autolink-tools{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:7px 0;font-size:14px;line-height:1.5}.prompt-autolink-tools label{display:inline-flex;align-items:center;gap:6px;cursor:pointer}.prompt-autolink-tools input{width:16px;height:16px;margin:0;accent-color:#bed493}.prompt-autolink-tools span{color:#bdc4b7}.prompt-picker{border:1px solid #585f51;border-radius:8px;padding:10px;margin-top:6px;background:#2c2e2a}.prompt-picker.node-prompt-popover{position:fixed;z-index:1000;margin-top:0;display:flex;flex-direction:column;overflow:hidden}.prompt-picker.node-prompt-popover .prompt-picker-list{min-height:0;flex:1 1 auto;max-height:none}.prompt-picker input{width:100%;margin:0 0 8px;font-size:14px}.prompt-picker-list{max-height:185px;overflow:auto}.prompt-picker-list button{width:100%;display:flex;align-items:center;gap:10px;padding:9px;text-align:left;border-radius:6px;font-size:14px}.prompt-picker-list button.active,.prompt-picker-list button:hover{background:#414738}.prompt-picker-list b{font-weight:400;color:#d0e2b8;flex-shrink:0}.prompt-picker-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prompt-picker>button{margin-top:7px;font-size:14px;padding:7px}.prompt-reference-error{font-size:14px;color:#f5bcaa;line-height:1.6}.reference-tile-actions{display:flex;justify-content:space-between;gap:2px}.reference-tile-actions button{font-size:14px;padding:3px 1px;min-width:0;flex:1 1 0;border-radius:4px}.reference-tile-actions button:hover:not(:disabled){background:#42473c}@media(max-width:650px){.prompt-editor{padding:10px}.prompt-picker-list{max-height:150px}}.composer-popover{min-width:0}.composer-popover-trigger{display:inline-flex;align-items:center;justify-content:flex-start;gap:4px;max-width:100%;min-height:32px;height:32px;margin:0;padding:0 4px;border:0;border-radius:5px;background:transparent;color:inherit;font:inherit;text-align:left;white-space:nowrap;cursor:pointer}.composer-popover-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.composer-popover-trigger>svg{flex-shrink:0}.composer-popover-trigger:hover:not(:disabled){background:#363636}.composer-popover-trigger:disabled{opacity:.45;cursor:not-allowed}.composer-popover-trigger:focus-visible{outline:1px solid #a8a8a8;outline-offset:-1px}.composer-popover-popup{position:fixed;z-index:85;box-sizing:border-box;width:max-content;min-width:min(180px,var(--composer-popover-available-width, calc(100vw - 16px) ));max-width:var(--composer-popover-available-width, calc(100vw - 16px) );max-height:var(--composer-popover-available-height, calc(100dvh - 16px) );padding:8px;border:.5px solid #363636;border-radius:16px;background:#262626f2;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 4px 10px #00000040,0 2px 4px #0000004d;color:#ddd;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Helvetica,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Noto Sans CJK SC,sans-serif;font-size:12px;line-height:1.5;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#626262 transparent;overflow-wrap:anywhere}.composer-popover-popup :is(button,input,select,textarea){font:inherit}.composer-popover-popup :is(button,input,select,textarea,summary):focus-visible{outline:1px solid #a8a8a8;outline-offset:1px}.composer-popover-popup :is(button,input,select,textarea):disabled{cursor:not-allowed}.composer-popover-popup.composer-mode-menu,.composer-popover-popup.composer-specs-menu{box-sizing:content-box;min-width:0;max-width:calc(var(--composer-popover-available-width, calc(100vw - 16px) ) - 2px);max-height:calc(var(--composer-popover-available-height, calc(100dvh - 16px) ) - 2px);padding:0}.composer-popover-popup.composer-mode-menu{width:160px}.composer-mode-menu .mode-switch{box-sizing:border-box;display:flex;flex-direction:column;gap:4px;width:100%;max-width:100%;margin:0;padding:8px}.composer-mode-menu .mode-switch>button{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-start;gap:8px;box-sizing:border-box;height:32px;min-height:32px;width:100%;margin:0;padding:0 8px;border:0;border-radius:8px;background:transparent;color:#f7f7f7;font-size:13px;font-weight:400;line-height:19.5px;text-align:left;cursor:pointer}.composer-mode-menu .mode-switch>button>span{color:inherit;font:inherit}.composer-mode-menu .mode-switch>button>svg{flex-shrink:0}.composer-mode-menu .mode-switch>button:hover:not(:disabled){background:#363636}.composer-mode-menu .mode-switch>button[aria-pressed=true]{background:#ffffff26}.composer-mode-menu .mode-switch>button:disabled{background:transparent;color:#525252;opacity:1;cursor:not-allowed}.composer-mode-menu .composer-popover-title{display:flex;flex:0 0 auto;align-items:center;box-sizing:border-box;height:32px;min-height:32px;margin:0;padding:0 8px;font-size:12px;font-weight:500;opacity:.8}.composer-popover-popup.composer-specs-menu{width:340px;-webkit-backdrop-filter:blur(32px);backdrop-filter:blur(32px)}.composer-specs-menu .composer-specs-popover{display:flex;flex-direction:column;box-sizing:border-box;gap:8px;width:100%;min-width:0;margin:0;padding:12px}.composer-specs-menu .parameter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;margin:0;padding:0}.composer-specs-menu .parameter-grid label{display:flex;flex-direction:column;min-width:0;gap:4px;margin:0;font-size:12px;color:#bcbcbc}.composer-specs-menu .parameter-grid :is(select,input),.composer-specs-menu .advanced input{box-sizing:border-box;width:100%;min-width:0;padding:7px;border:1px solid #494949;border-radius:6px;background:#242424;color:#ddd;font-size:12px}.composer-specs-menu .parameter-grid input[type=checkbox]{width:16px;height:16px;padding:0}.composer-specs-menu .advanced{min-width:0;margin:0;padding-top:8px;border-top:1px solid #414141}.composer-specs-menu .advanced>label{display:block;margin:0;padding-top:8px;font-size:12px}.composer-specs-menu .advanced input{display:block;margin-top:4px}.composer-specs-menu .advanced input[type=range]{padding:0}.composer-specs-menu summary{cursor:pointer;list-style:none}.composer-specs-menu summary::-webkit-details-marker{display:none}@media(forced-colors:active){.composer-popover-popup{border-color:CanvasText;background:Canvas;color:CanvasText}.composer-popover-trigger:focus-visible,.composer-popover-popup :is(button,input,select,textarea,summary):focus-visible{outline:1px solid Highlight}}.composer-window{display:contents}.composer-window-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;background:#00000080}.composer-window[data-expanded=true]{display:block;position:fixed;z-index:901;top:50%;left:50%;transform:translate(-50%,-50%);box-sizing:border-box;width:800px;height:600px;max-width:90vw;max-height:90dvh;border:.5px solid #363636;border-radius:16px;background:#262626;outline:none;box-shadow:0 4px 10px #0000001f;container:libtv-composer / inline-size}.studio-shell .node-local-panel:has(.composer-window[data-expanded=true]){z-index:901;overflow:visible;max-height:none!important;background:transparent;border:0;box-shadow:none}.studio-shell .node-local-panel:has(.composer-window[data-expanded=true])>.local-panel-anchor{visibility:hidden}.studio-shell .storyboard:has(.composer-window[data-expanded=true]){z-index:auto}.studio-shell .node-local-panel .composer-window[data-expanded=true] .composer-heading-actions{margin-left:0}.studio-shell .composer-window[data-expanded=true]>.generator-panel.libtv-composer{position:static;container-type:normal;box-sizing:border-box;height:100%;max-height:none;padding:8px 8px calc(var(--composer-window-controls-height, 32px) + 16px);border:0;overflow:auto;overscroll-behavior:contain}.studio-shell .composer-window[data-expanded=true] .prompt-editor-wrap{flex:1 0 180px;display:flex;flex-direction:column;min-height:180px}.studio-shell .composer-window[data-expanded=true] .prompt-editor{flex:1;min-height:140px;max-height:none}.studio-shell .composer-window[data-expanded=true] .generator-panel .composer-controls{position:absolute;left:8px;right:8px;bottom:8px;margin:0;z-index:3;background:#262626;box-shadow:0 -8px #262626}.composer-popover-popup[data-composer-window-owner],.image-preset-picker[data-composer-window-owner]{z-index:1000}@media(forced-colors:active){.composer-window[data-expanded=true]{border-color:CanvasText;background:Canvas}}.composer-specifications{box-sizing:border-box;display:flex;flex-direction:column;gap:8px;width:100%;min-width:0;padding:12px;color:#f5f5f5;font-size:13px;line-height:1.55}.composer-specifications .specification-field{display:flex;flex-direction:column;gap:8px;margin:0;min-width:0}.composer-specifications .specification-field-heading{display:flex;align-items:center;justify-content:space-between;color:#d4d4d4}.composer-specifications .specification-field-heading small{color:#999;font-size:11px}.composer-specifications .specification-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.composer-specifications .specification-choices-resolution{grid-template-columns:repeat(auto-fit,minmax(56px,1fr))}.composer-specifications .specification-choices-count{grid-template-columns:repeat(8,minmax(0,1fr));gap:4px}.composer-specifications .specification-choices button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:0;height:32px;margin:0;padding:0 8px;border:1px solid #525252;border-radius:8px;background:transparent;color:#e5e5e5;font:inherit;line-height:20.15px;cursor:pointer}.composer-specifications .specification-choices button[aria-checked=true]{border-color:#fff;background:#ffffff14;color:#fff}.composer-specifications .specification-choices button:hover:not(:disabled){background:#ffffff1a}.composer-specifications .specification-choices button:disabled{opacity:.45;cursor:not-allowed}.composer-specifications .specification-choices-aspectRatio button{height:63px;flex-direction:column;gap:4px;padding:12px 4px}.composer-specifications .specification-ratio-icon{display:flex;align-items:center;justify-content:center;width:23px;height:18px}.composer-specifications .specification-ratio-icon i{display:block;box-sizing:border-box;border:1px solid currentColor;border-radius:2px}.composer-specifications .specification-duration{display:flex;flex-direction:column;gap:4px}.composer-specifications .specification-duration-row{display:flex;align-items:center;gap:12px;min-height:32px}.composer-specifications .specification-slider{flex:1;min-width:0;width:0;height:22px;margin:0;padding:0;accent-color:#fff;cursor:pointer}.composer-specifications .specification-slider:disabled{opacity:.45;cursor:not-allowed}.composer-specifications .specification-slider-unavailable{flex:1;min-width:0;color:#aaa;font-size:12px}.composer-specifications .specification-duration-number{display:flex;align-items:center;gap:3px;width:72px;flex:0 0 72px}.composer-specifications .specification-duration-number input{box-sizing:border-box;width:54px;min-width:0;height:32px;margin:0;padding:4px;border:1px solid #525252;border-radius:8px;background:#0000001f;color:#fff;font:inherit}.composer-specifications .specification-duration-number input:disabled{opacity:.45;cursor:not-allowed}.composer-specifications .specification-duration-number input[aria-invalid=true]{border-color:#b99c73}.composer-specifications .specification-duration-number span{color:#a3a3a3}.composer-specifications .specification-duration-hint,.composer-specifications .specification-notice,.composer-specifications .specification-warning{margin:0;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.composer-specifications .specification-duration-hint{color:#a3a3a3}.composer-specifications .specification-warning,.composer-specifications .specification-notice{color:#d6b58b}.composer-specifications button:focus-visible,.composer-specifications input:focus-visible{outline:2px solid #fff;outline-offset:3px}@media(max-width:390px){.composer-specifications .specification-choices-count button{padding-inline:2px}}.studio-shell .libtv-composer .composer-model:has(.composer-model-picker){flex:0 2 auto;width:auto;min-width:88px;max-width:240px}.composer-model-picker{flex:0 2 auto;width:auto;min-width:88px;max-width:240px}.composer-model-picker>.composer-popover-trigger{width:100%;min-width:88px;max-width:240px;height:32px;min-height:32px;gap:4px;padding:4px 8px;border:0;border-radius:8px;background:transparent;color:#f7f7f7;font-size:13px;line-height:20.15px}.composer-model-picker>.composer-popover-trigger>span{flex:1;text-align:left}.composer-model-picker>.composer-popover-trigger:hover:not(:disabled),.composer-model-picker>.composer-popover-trigger[aria-expanded=true]{background:#ffffff1a}.composer-model-picker-chevron{color:#919191;transition:transform .2s ease}.composer-model-picker>.composer-popover-trigger[aria-expanded=true] .composer-model-picker-chevron{transform:rotate(180deg)}.composer-popover-popup.composer-model-picker-menu{box-sizing:content-box;width:360px;min-width:0;max-width:calc(var(--composer-popover-available-width, calc(100vw - 16px) ) - 10px);max-height:calc(var(--composer-popover-available-height, calc(100dvh - 16px) ) - 10px);padding:4px;border:.5px solid #525252;border-radius:16px;background:#262626f2;-webkit-backdrop-filter:blur(32px);backdrop-filter:blur(32px);box-shadow:0 1px 3px #0000000d,0 20px 25px -5px #0000000d,0 10px 10px -5px #0000000a;overflow:hidden}.composer-model-picker-body{display:flex;flex-direction:column;gap:4px;width:100%;min-width:0;max-height:min(400px,calc(var(--composer-popover-available-height, calc(100dvh - 16px) ) - 10px));overflow:auto;overscroll-behavior:contain;scrollbar-width:none}.composer-model-picker-body::-webkit-scrollbar{display:none}.composer-model-picker-menu .composer-model-picker-option{display:flex;flex:0 0 52px;align-items:center;gap:4px;box-sizing:border-box;width:100%;min-width:0;height:52px;margin:0;padding:8px;border:0;border-radius:12px;background:transparent;color:#f7f7f7;text-align:left;cursor:pointer}.composer-model-picker-menu .composer-model-picker-option[aria-selected=true]{background:#ffffff26}.composer-model-picker-menu .composer-model-picker-option:hover:not(:disabled):not([aria-selected=true]),.composer-model-picker-menu .composer-model-picker-option:focus-visible:not([aria-selected=true]){background:#ffffff1a}.composer-model-picker-menu .composer-model-picker-option:focus-visible{outline:1px solid #fff;outline-offset:-1px}.composer-model-picker-menu .composer-model-picker-option:disabled{opacity:.45;cursor:not-allowed}.composer-model-picker-icon{display:flex;flex:0 0 34px;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;background:#363636;color:#d4d4d4}.composer-model-picker-text{display:block;flex:1;box-sizing:border-box;min-width:0;height:36px;padding-right:4px;overflow:hidden}.composer-model-picker-copy{display:flex;flex-direction:column;min-width:0;height:36px;transform:translateY(8px);transition:transform .2s ease}.composer-model-picker-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px}.composer-model-picker-description{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#919191;font-size:12px;font-weight:400;line-height:16px;opacity:0;transition:opacity .2s ease}.composer-model-picker-option:hover .composer-model-picker-copy,.composer-model-picker-option:focus-visible .composer-model-picker-copy,.composer-model-picker-option[aria-selected=true] .composer-model-picker-copy{transform:translateY(0)}.composer-model-picker-option:hover .composer-model-picker-description,.composer-model-picker-option:focus-visible .composer-model-picker-description,.composer-model-picker-option[aria-selected=true] .composer-model-picker-description{opacity:1}.composer-model-picker-empty{margin:0;padding:12px 8px;color:#919191;font-size:12px}@media(prefers-reduced-motion:reduce){.composer-model-picker-copy,.composer-model-picker-description,.composer-model-picker-chevron{transition:none}}@media(forced-colors:active){.composer-model-picker-menu .composer-model-picker-option[aria-selected=true]{outline:1px solid Highlight;outline-offset:-1px}.composer-model-picker-menu .composer-model-picker-option:focus-visible{outline-color:Highlight}}.studio-shell .libtv-composer .composer-fee-value{display:inline-flex;align-items:center;gap:2px}.studio-shell .libtv-composer .composer-fee .composer-fee-refresh{display:inline-grid;place-items:center;width:20px;height:24px;min-width:0;min-height:0;padding:0;border:0;border-radius:5px;color:inherit;background:transparent}.studio-shell .libtv-composer .composer-fee .composer-fee-refresh:hover{background:#ffffff1a;color:#f7f7f7}.studio-shell .libtv-composer .composer-fee .composer-fee-refresh:focus-visible{outline:1px solid #f7f7f7;outline-offset:1px}.node-local-panel .generator-panel.node-composer{padding:12px 14px 0}.node-composer{font-size:14px}.composer-title{display:flex;align-items:center;gap:8px;margin-bottom:10px}.composer-title input{flex:1;width:0;font-size:14px;font-weight:600;background:transparent;border-color:transparent;padding:5px 2px}.composer-title input:focus{border-color:#a7c17a}.composer-title button{padding:6px}.node-composer .field-heading{margin:0 0 8px;font-size:14px}.node-composer .field-heading button{display:inline-flex;align-items:center;gap:4px;font-size:14px}.reference-tray{display:flex;align-items:flex-start;gap:8px;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin}.reference-tile{flex:0 0 100px;min-width:0}.reference-preview{display:block;text-align:left;position:relative;width:100%;height:72px;padding:0;overflow:hidden;border:1px solid #4a5146;border-radius:7px;background:#191d19}.reference-preview img,.reference-preview video{width:100%;height:100%;object-fit:cover;display:block}.reference-preview span{padding:6px;display:block;font-size:12px;text-align:left;line-height:1.5;color:#c6cfbf}.reference-preview b{position:absolute;bottom:0;left:0;padding:2px 5px;background:#171b16df;font-size:12px;font-weight:400}.reference-name{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:3px 0}.reference-settings{font-size:12px}.reference-settings summary{cursor:pointer;color:#c0cca9}.reference-settings button{display:inline-flex;align-items:center;gap:3px;padding:6px 0}.reference-settings select{padding:4px;font-size:12px;width:100%;margin-top:5px}.reference-empty{display:flex;align-items:center;gap:8px;width:100%;padding:15px;border:1px dashed #626b59;border-radius:7px;color:#bcc8ae}.node-composer>label{font-size:14px}.node-composer textarea{font-size:16px;line-height:1.55;min-height:90px;max-height:230px}.node-composer .prompt-tools{margin:5px 0 8px}.node-composer .prompt-tools button{font-size:14px}.node-composer .mode-switch{display:flex;gap:4px;padding:3px;border:1px solid #48513f;border-radius:8px;background:#191d19;margin:9px 0}.node-composer .mode-switch button{flex:1;font-size:14px;padding:6px}.node-composer .mode-switch button[aria-pressed=true]{background:#4b5a37;color:#ecfacb;border-radius:5px}.node-composer .composer-model>label{display:block;font-size:0}.node-composer .composer-model select{width:100%;font-size:14px;margin:0;padding:8px 10px}.composer-specs{border:1px solid #48513f;border-radius:8px;margin:8px 0}.composer-specs>summary{cursor:pointer;font-size:14px;padding:10px;color:#d0dac3}.composer-specs>.parameter-grid,.composer-specs>.advanced{margin:0;padding:10px}.node-composer .parameter-grid{margin-top:0;gap:10px}.node-composer .parameter-grid label,.node-composer .parameter-grid select,.node-composer .parameter-grid input{font-size:14px}.node-composer .advanced{margin:0 0 8px;font-size:14px}.node-composer .merged-prompt{margin:6px 0}.composer-submit{position:sticky;bottom:0;background:#24262a;padding:10px 0 8px;z-index:2}.composer-submit>.primary{width:100%;font-size:14px}.node-composer .generation-footnote{margin:7px 0 0;font-size:12px}.composer-recovery{border:1px solid #756746;border-radius:8px;padding:10px;background:#332f23;margin-top:8px}.composer-recovery p{font-size:14px;line-height:1.65;margin:0 0 8px}.composer-recovery>button{width:100%;padding:8px}.composer-recovery details{margin-top:8px}.composer-recovery summary{cursor:pointer;font-size:14px}.composer-recovery .secondary{display:flex;margin:8px 0}.composer-recovery .recovery-job{border-top:1px solid #60573d;padding:8px 0}.composer-recovery .recovery-job label{display:flex;align-items:start;gap:8px}.composer-recovery input[type=checkbox]{width:auto;margin-top:5px}.recovery-job small{display:block;word-break:break-all;font-size:12px;color:#d0c7af}.recovery-pagination{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:8px 0}.composer-versions{margin-top:10px;border-top:1px solid #42483d;padding:10px 0}.composer-versions summary{cursor:pointer;font-size:14px}.composer-versions .version-picks{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.composer-versions .version-picks button{border:1px solid #59604f;padding:6px 8px;border-radius:6px}.composer-versions .version-picks button[aria-pressed=true]{background:#4b5a37;color:#ecfacb}.composer-provider-link{margin:8px 0;font-size:14px;color:#becfac;display:flex;gap:6px;align-items:center}.module-error{padding:18px;font-size:14px;line-height:1.7}.module-error .row-actions{flex-wrap:wrap}.module-error{max-width:min(500px,calc(100vw - 32px))}.node-composer .composer-recovery>p,.node-composer .h3-recovery-results p{font-size:14px}.node-composer .h3-recovery-results label{font-size:14px}.media-node button.node-status{cursor:pointer;color:#e4d794;font-size:12px}.composer-creative-tools{display:flex;align-items:center;gap:6px;margin:0 0 10px}.composer-creative-tools>button{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;font-size:12px}.studio-shell .selection-toolbar-host{position:fixed;left:var(--selection-toolbar-left);top:var(--selection-toolbar-top);right:auto;bottom:auto;transform:none;width:max-content;max-width:var(--selection-toolbar-width);max-height:var(--selection-toolbar-height);z-index:23}.studio-shell .selection-toolbar-scroll{width:max-content;max-width:var(--selection-toolbar-width);max-height:var(--selection-toolbar-height);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;border-radius:12px}.studio-shell .selection-toolbar-actions{display:flex;align-items:center;flex-wrap:nowrap;width:max-content;gap:4px;padding:4px;border:.5px solid #363636;border-radius:12px;background:#262626;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff}.studio-shell .selection-toolbar-actions>button{display:flex;flex:none;align-items:center;justify-content:center;height:32px;min-height:32px;padding:6px 10px;gap:4px;border:0;border-radius:8px;background:transparent;color:#fff;font-size:13px;line-height:20px;font-weight:400;white-space:nowrap}.studio-shell .selection-toolbar-actions>.selection-toolbar-more,.studio-shell .selection-toolbar-actions>.selection-toolbar-download{width:32px;min-width:32px;padding:8px}.studio-shell .selection-toolbar-actions>.selection-toolbar-save-assets{padding-inline:8px}.studio-shell .selection-toolbar-tooltip{position:fixed;z-index:29;box-sizing:border-box;max-width:calc(100vw - 16px);padding:5px 8px;border:.5px solid #484848;border-radius:6px;background:#171717;color:#fff;box-shadow:0 4px 12px #0004;font-size:12px;line-height:18px;white-space:nowrap;pointer-events:none}.studio-shell .selection-toolbar-divider{flex:none;width:1px;height:16px;margin:0 2px;background:#484848}.studio-shell .selection-toolbar-actions>button:hover:not(:disabled),.studio-shell .selection-toolbar-actions>button[aria-expanded=true],.studio-shell .selection-toolbar-menu button:hover:not(:disabled){background:#3b3b3b}.studio-shell .selection-toolbar-actions>button:focus-visible,.studio-shell .selection-toolbar-menu button:focus-visible{outline:2px solid #e6e6e6;outline-offset:-2px}.studio-shell .selection-toolbar-actions>button:disabled,.studio-shell .selection-toolbar-menu button:disabled{opacity:.4;cursor:not-allowed}.studio-shell .selection-toolbar-menu{position:fixed;right:auto;bottom:auto;transform:none;z-index:28;box-sizing:border-box;width:216px;max-width:var(--selection-menu-width, calc(100vw - 16px) );max-height:var(--selection-menu-height, calc(100dvh - 16px) );padding:5px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;border:.5px solid #363636;border-radius:12px;background:#262626;color:#fff;box-shadow:0 8px 28px #0006}.studio-shell .selection-toolbar-menu button{display:flex;align-items:center;gap:9px;box-sizing:border-box;width:100%;min-width:max-content;min-height:32px;padding:6px 9px;border:0;border-radius:7px;background:transparent;color:inherit;font-size:13px;line-height:20px;font-weight:400;text-align:left;white-space:nowrap}.studio-shell .selection-toolbar-menu button svg{flex:none}.studio-shell .selection-menu-divider{height:1px;margin:4px 5px;background:#3c3c3c}.studio-shell .selection-menu-note{margin:3px 9px 5px;color:#aaa;font-size:11px;line-height:17px}.studio-shell .selection-toolbar-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.studio-shell .selection-download-notice{position:fixed;z-index:32;transform:translate(-50%);display:flex;align-items:center;flex-wrap:wrap;box-sizing:border-box;width:max-content;max-width:min(var(--selection-download-width, calc(100vw - 16px) ),calc(100vw - 16px));min-height:36px;gap:8px;padding:5px 6px 5px 12px;border:.5px solid #414141;border-radius:10px;background:#262626;color:#fff;box-shadow:0 4px 16px #0005;font-size:13px;line-height:20px}.studio-shell .selection-download-message{min-width:0;overflow-wrap:anywhere}.studio-shell .selection-download-spinner{flex:none;animation:selection-download-spin 1.1s linear infinite}.studio-shell .selection-download-notice button{display:inline-flex;flex:none;align-items:center;justify-content:center;min-width:28px;min-height:26px;padding:3px 7px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;line-height:20px}.studio-shell .selection-download-notice .selection-download-cancel{padding:5px}.studio-shell .selection-download-notice button:hover{background:#414141}.studio-shell .selection-download-notice button:focus-visible{outline:2px solid #e6e6e6;outline-offset:-2px}.studio-shell .selection-download-confirm-actions{display:flex;flex:none;gap:2px}@keyframes selection-download-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.studio-shell .selection-download-spinner{animation:none}}.canvas-dialog.wide:has(.save-assets-dialog){width:min(720px,calc(100vw - 28px));max-width:none;height:520px;max-height:calc(100dvh - 28px);border:.5px solid #363636;border-radius:16px;background:#262626;color:#fff;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:0 8px 32px #00000026,0 2px 8px #0000001a;overflow:auto}.canvas-dialog.wide:has(.save-assets-dialog.is-single){height:350px}.canvas-dialog.wide:has(.save-assets-dialog)::backdrop{background:#0009;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.canvas-dialog.wide:has(.save-assets-dialog)>.dialog-body{display:flex;flex-direction:column;height:100%;min-height:0;padding:0}.canvas-dialog.wide:has(.save-assets-dialog) .panel-title{flex:0 0 48px;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:12px 24px;border-bottom:1px solid #ffffff1a}.canvas-dialog.wide:has(.save-assets-dialog) .panel-title h2{margin:0;font-size:14px;line-height:20px;font-weight:500}.canvas-dialog.wide:has(.save-assets-dialog) .panel-title>button{display:flex;align-items:center;justify-content:center;width:24px;height:24px;min-height:24px;padding:0;border:0;border-radius:8px;background:transparent;color:#ffffff73}.canvas-dialog.wide:has(.save-assets-dialog) .panel-title>button>svg{width:14px;height:14px}.save-assets-dialog{display:flex;flex:1;min-height:0;gap:24px;padding:24px 24px 18px;margin:0;font-size:13px;line-height:20px}.save-assets-dialog.is-single{flex:none;padding:24px}.save-assets-dialog *,.canvas-dialog.wide:has(.save-assets-dialog) .panel-title{box-sizing:border-box}.canvas-dialog .save-assets-dialog button{display:inline-flex;align-items:center;gap:4px;min-height:0;padding:0;border:0;border-radius:8px;background:transparent;color:inherit;font-size:13px;line-height:20px;font-weight:400;cursor:pointer}.canvas-dialog .save-assets-dialog button:disabled,.canvas-dialog.wide:has(.save-assets-dialog) .panel-title>button:disabled{cursor:not-allowed;opacity:.4}.canvas-dialog .save-assets-dialog button:not(:disabled):hover{background-color:#ffffff14}.canvas-dialog .save-assets-dialog button:focus-visible,.canvas-dialog .save-assets-dialog input:focus-visible{outline:1px solid #ffffffb3;outline-offset:2px}.canvas-dialog .save-assets-dialog input{display:block;min-width:0;width:100%;height:28px;margin:0;padding:0 8px;border:1px solid #ffffff33;border-radius:6px;background:#ffffff14;color:#fff;font-size:13px;line-height:20px;font-weight:400}.canvas-dialog .save-assets-dialog input:disabled{opacity:.5}.canvas-dialog .save-assets-dialog input::placeholder{color:#ffffff4d}.save-assets-multiple{display:flex;flex:0 0 410px;flex-direction:column;gap:8px;width:410px;height:430px;min-height:0}.save-assets-grid{display:grid;flex:1;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:min-content;gap:12px;min-height:0;padding:12px;border:1px solid #ffffff1a;border-radius:12px;background:#ffffff05;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ffffff26 transparent}.save-assets-item{display:flex;min-width:0;flex-direction:column;gap:4px}.save-assets-preview{position:relative;display:flex;width:100%;aspect-ratio:1;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;border:1px solid #ffffff1a;border-radius:8px;background:#ffffff05;color:#fff6}.save-assets-preview>img,.save-assets-preview>video{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}.save-assets-preview>.save-assets-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#fff;fill:#fff;stroke-width:1;filter:drop-shadow(0 3px 5px #0003)}.canvas-dialog .save-assets-dialog .save-assets-item-name{display:flex;width:100%;min-width:0;height:22px;gap:4px;border-radius:4px;text-align:left;font-size:12px}.save-assets-item-name>span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.save-assets-item-name>svg{flex-shrink:0;opacity:0}.save-assets-item-name:hover>svg,.save-assets-item-name:focus-visible>svg{opacity:.6}.canvas-dialog .save-assets-dialog .save-assets-item-name-input{height:22px;padding:2px 4px;border:1px solid #ffffff4d;border-radius:4px;background:#ffffff1a;font-size:12px}.save-assets-count{flex-shrink:0;font-size:11px;line-height:13px;color:#fff6}.save-assets-single{flex:0 0 200px;display:flex;min-width:0;flex-direction:column;gap:8px}.save-assets-single>.save-assets-preview{width:200px;height:200px}.save-assets-single>p{width:200px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.save-assets-fields{display:flex;flex:1;min-width:0;min-height:min-content;flex-direction:column;gap:8px}.save-assets-dialog.is-multiple .save-assets-fields{height:430px}.save-assets-fields-main{display:flex;flex:1;min-height:min-content;flex-direction:column;gap:8px}.save-assets-fields-main>*{flex-shrink:0}.save-assets-field{display:flex;flex-direction:column;gap:8px;min-width:0}.canvas-dialog .save-assets-dialog label{margin:0;color:#fff6;font-size:14px;font-weight:400;line-height:20px}.save-assets-field label>em{color:#cf3336;font-style:normal}.save-assets-name-control{display:flex;align-items:center;gap:4px;height:32px;overflow:hidden;padding:0 8px;border-radius:8px;background:#ffffff0a}.canvas-dialog .save-assets-dialog .save-assets-name-control input{flex:1;height:32px;border:0;padding:0;background:transparent}.save-assets-name-control>span{flex-shrink:0;color:#ffffff4d;font-size:12px}.save-assets-selector{position:relative;min-width:0}.canvas-dialog .save-assets-dialog .save-assets-selector-trigger{display:flex;justify-content:space-between;width:100%;height:32px;padding:0 12px;background:#ffffff0a;text-align:left}.save-assets-selector-trigger>span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.save-assets-selector-trigger>svg{flex-shrink:0;color:#fff6;transition:transform .15s}.save-assets-selector-trigger[aria-expanded=true]>svg{transform:rotate(180deg)}.save-assets-selector-trigger .is-placeholder{color:#fff6}.save-assets-field-hint{color:#fff6;font-size:11px;line-height:16px}.save-assets-popover{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:2;display:flex;min-width:0;flex-direction:column;gap:4px;padding:4px;border:1px solid #303030;border-radius:12px;background:#1f1f1f;box-shadow:0 4px 10px #0003;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff26 transparent}.save-assets-popover[data-side=top]{top:auto;bottom:calc(100% + 4px)}.save-assets-popover-heading{display:flex;flex-shrink:0;align-items:center;gap:8px;min-height:34px;padding:4px 8px;border-bottom:1px solid #ffffff1a}.save-assets-popover-heading>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.save-assets-popover-heading>small{color:#fff6;font-size:11px}.canvas-dialog .save-assets-dialog .save-assets-popover-heading>button{flex-shrink:0;width:24px;height:24px;justify-content:center;color:#fff9}.save-assets-folder-row{display:flex;align-items:center;gap:8px;height:32px;margin-bottom:4px;padding-right:8px;border-radius:8px;color:#ffffffe6}.save-assets-folder-row:hover,.save-assets-folder-row[data-selected=true]{background:#ffffff1a}.canvas-dialog .save-assets-dialog .save-assets-folder-toggle{justify-content:center;flex-shrink:0;width:16px;height:16px}.canvas-dialog .save-assets-dialog .save-assets-folder-choice{flex:1;min-width:0;height:28px;text-align:left}.save-assets-folder-choice>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.canvas-dialog .save-assets-dialog .save-assets-folder-add{flex-shrink:0;width:24px;height:24px;justify-content:center;opacity:0;color:#fff9}.save-assets-folder-row:hover .save-assets-folder-add,.save-assets-folder-row:focus-within .save-assets-folder-add{opacity:1}.save-assets-folder-create,.save-assets-tag-create{display:flex;align-items:center;gap:4px;min-height:32px;padding:2px 8px;flex-shrink:0}.canvas-dialog .save-assets-dialog .save-assets-folder-create input{flex:1;border-color:#0690ae}.canvas-dialog .save-assets-dialog .save-assets-folder-create button,.canvas-dialog .save-assets-dialog .save-assets-tag-create button{flex-shrink:0;width:24px;height:28px;justify-content:center}.save-assets-no-folders{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;padding:18px 8px;color:#fff6;font-size:12px;text-align:center}.canvas-dialog .save-assets-dialog .save-assets-tag-choice{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:8px;height:32px;padding:0 8px;text-align:left}.save-assets-tag-choice>span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.save-assets-tag-choice>svg{flex-shrink:0}.save-assets-tag-empty{margin:0;padding:8px;font-size:12px;color:#fff6}.save-assets-footer{display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;padding-top:12px}.canvas-dialog .save-assets-dialog .save-assets-cancel{height:32px;padding:0 12px;background:#ffffff14}.canvas-dialog .save-assets-dialog .save-assets-submit{display:flex;min-height:32px;padding:6px 12px;justify-content:center;background:#fff;color:#000}.canvas-dialog .save-assets-dialog .save-assets-submit:disabled{background:#ffffff0f;color:#fff6;opacity:1}.canvas-dialog .save-assets-dialog .save-assets-submit:not(:disabled):hover{background:#ffffffe6}.save-assets-error,.save-assets-pending{display:flex;flex-direction:column;align-items:flex-start;gap:4px;flex-shrink:0;margin:0;padding:8px;border:1px solid #ca886533;border-radius:8px;background:#a76c3914;color:#e4b197;font-size:11px;line-height:16px;overflow-wrap:anywhere}.canvas-dialog .save-assets-dialog .save-assets-error button{color:#e4b197;font-size:11px;text-decoration:underline}.save-assets-empty{grid-column:1 / -1;display:flex;flex-direction:column;align-items:center;gap:12px;justify-content:center;min-height:300px;color:#fff6;text-align:center}.save-assets-empty>p{margin:0;color:#fff9}.save-assets-empty>span{max-width:220px;font-size:12px}.save-assets-spinner{animation:save-assets-spin 1s linear infinite}@keyframes save-assets-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.save-assets-spinner{animation:none}}@media(max-width:739px){.canvas-dialog.wide:has(.save-assets-dialog),.canvas-dialog.wide:has(.save-assets-dialog.is-single){height:auto;max-height:calc(100dvh - 24px);width:calc(100vw - 24px)}.canvas-dialog.wide:has(.save-assets-dialog)>.dialog-body{height:auto}.canvas-dialog.wide:has(.save-assets-dialog) .panel-title{padding:12px 16px}.save-assets-dialog{flex-direction:column;padding:16px;gap:16px}.save-assets-dialog.is-single{padding:16px}.save-assets-multiple{flex:none;width:100%;height:280px}.save-assets-grid{gap:10px;padding:10px}.save-assets-single{flex:none;align-items:center}.save-assets-single>.save-assets-preview{width:160px;height:160px}.save-assets-single>p{width:100%;text-align:center}.save-assets-fields{flex:none}.save-assets-dialog.is-multiple .save-assets-fields{height:auto}.save-assets-fields-main{min-height:190px}.save-assets-folder-row .save-assets-folder-add{opacity:.8}.save-assets-empty{min-height:190px}}@media(max-height:550px)and (min-width:740px){.canvas-dialog.wide:has(.save-assets-dialog)>.dialog-body{min-height:490px}.canvas-dialog.wide:has(.save-assets-dialog.is-single)>.dialog-body{min-height:348px}.save-assets-multiple{height:390px}}.save-assets-preview .save-assets-output-count{position:absolute;left:5px;right:5px;bottom:5px;padding:3px 5px;border-radius:4px;background:#000b;color:#fff;font-size:10px;line-height:14px;text-align:center}.studio-shell .canvas-tools.creative-dock.canvas-chrome-dock[aria-label=画布工具]{position:absolute;top:auto;bottom:12px;left:50%;transform:translate(-50%);display:flex;flex-direction:row;align-items:center;height:auto;min-height:48px;max-width:calc(100vw - 16px);padding:8px;gap:8px;border:.5px solid #363636;border-radius:12px;background:#262626;box-shadow:0 2px 8px #0002;color:#fff;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;font-size:13px;line-height:1;box-sizing:border-box}.studio-shell .canvas-tools.creative-dock.canvas-chrome-dock[aria-label=画布工具]>button,.studio-shell .canvas-tools.creative-dock.canvas-chrome-dock[aria-label=画布工具]>.dock-popover>summary{display:inline-flex;flex:0 0 32px;align-items:center;justify-content:center;width:32px;height:32px;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:8px;background:transparent;color:#ffffffd9;font:inherit;line-height:1;cursor:pointer}.studio-shell .canvas-tools.creative-dock.canvas-chrome-dock[aria-label=画布工具]>.dock-popover>summary,.studio-shell .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]>.dock-popover>summary{list-style:none}.studio-shell .canvas-tools.creative-dock.canvas-chrome-dock[aria-label=画布工具]>.dock-popover>summary::-webkit-details-marker,.studio-shell .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]>.dock-popover>summary::-webkit-details-marker{display:none}.studio-shell .canvas-tools.creative-dock.canvas-chrome-dock[aria-label=画布工具]>button>svg,.studio-shell .canvas-tools.creative-dock.canvas-chrome-dock[aria-label=画布工具]>.dock-popover>summary>svg{width:18px;height:18px;stroke-width:1.8}.studio-shell .canvas-tools.creative-dock.canvas-chrome-dock[aria-label=画布工具]>button:first-child>svg{width:16px;height:16px}.studio-shell .canvas-tools.creative-dock.canvas-chrome-dock[aria-label=画布工具]>button:first-child{background:#ffffffe6;color:#141414}.studio-shell .canvas-tools.creative-dock.canvas-chrome-dock[aria-label=画布工具]>button[aria-expanded=true],.studio-shell .canvas-tools.creative-dock.canvas-chrome-dock[aria-label=画布工具]>.dock-popover[open]>summary{background:#ffffff26;color:#fff}.studio-shell .canvas-tools.creative-dock.canvas-chrome-dock[aria-label=画布工具]>button:first-child[aria-expanded=true]{background:#fff;color:#161616}.studio-shell .canvas-tools.creative-dock.canvas-chrome-dock[aria-label=画布工具] .dock-divider{flex:0 0 1px;width:1px;height:20px;margin:0;background:#393939}.studio-shell .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]{position:absolute;left:16px;right:auto;bottom:12px;display:flex;flex-direction:row;align-items:center;height:40px;max-width:calc(100vw - 32px);padding:6px;gap:4px;border:0;border-radius:12px;background:#141414b3;color:#a1a1a1;box-shadow:none;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;font-size:13px;line-height:1;box-sizing:border-box}.studio-shell .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]>button,.studio-shell .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]>.dock-popover>summary{display:inline-flex;flex:0 0 28px;align-items:center;justify-content:center;width:28px;height:28px;min-width:0;min-height:28px;margin:0;padding:0;border:0;border-radius:6px;background:transparent;color:#a1a1a1;font:inherit;line-height:1;cursor:pointer}.studio-shell .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]>button[aria-label=资产管理]{order:0;flex:0 0 94px;width:94px;gap:4px;padding:0 12px;color:#a1a1a1;font-size:13px;font-weight:500;white-space:nowrap}.studio-shell .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]>button[aria-label=整理画布]{order:1}.studio-shell .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]>button[aria-label=切换小地图]{order:2}.studio-shell .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]>button[aria-label=隐藏节点连线]{order:3}.studio-shell .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]>button[aria-label=网格吸附]{order:4}.studio-shell .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]>.zoom-menu{order:5}.studio-shell .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]>button>svg,.studio-shell .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]>.dock-popover>summary>svg{width:16px;height:16px;stroke-width:1.7;flex-shrink:0}.studio-shell .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]>.zoom-menu>summary{min-width:0;width:auto;padding:0 4px;gap:0;color:#fff;font-size:13px;font-weight:400;font-variant-numeric:tabular-nums}.studio-shell .canvas-chrome-dock .dock-menu,.studio-shell .canvas-chrome-lower .dock-menu{max-width:min(320px,calc(100vw - 16px));max-height:min(70vh,420px);overflow-y:auto;overscroll-behavior:contain;border:0;border-radius:8px;background:#252525;box-shadow:0 7px 20px #0005;color:#e6e6e6;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;font-size:13px}.studio-shell .canvas-chrome-dock .dock-menu button,.studio-shell .canvas-chrome-lower .dock-menu button{min-height:32px;padding:0 10px;gap:8px;color:#e6e6e6;font-size:13px;white-space:nowrap}.studio-shell .canvas-chrome-dock .dock-menu button>svg{width:18px;height:18px;stroke-width:1.7;flex-shrink:0}.studio-shell .canvas-chrome-lower .dock-menu button>svg{width:16px;height:16px;stroke-width:1.7;flex-shrink:0}.studio-shell .canvas-chrome-dock .dock-popover,.studio-shell .canvas-chrome-lower .dock-popover{position:relative}.studio-shell .canvas-chrome-dock .dock-popover .dock-menu{bottom:calc(100% + 10px);left:50%;right:auto;transform:translate(-50%);min-width:180px}.studio-shell .canvas-chrome-dock>.dock-popover:last-of-type .dock-menu{left:auto;right:0;transform:none}.studio-shell .canvas-chrome-lower .dock-popover .dock-menu{bottom:calc(100% + 8px)}.studio-shell .canvas-chrome-lower>.zoom-menu .dock-menu{left:auto;right:0;transform:none;min-width:150px}.studio-shell .canvas-chrome-dock button:focus-visible,.studio-shell .canvas-chrome-dock summary:focus-visible,.studio-shell .canvas-chrome-lower button:focus-visible,.studio-shell .canvas-chrome-lower summary:focus-visible{outline:2px solid #ffffff80;outline-offset:2px}.studio-shell .canvas-chrome-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:12px 16px;width:100%;max-width:100%;box-sizing:border-box;color:#e6e6e6;font-size:12px;line-height:1.5}.studio-shell .canvas-dialog:has(.canvas-chrome-shortcuts){width:min(948px,calc(100vw - 32px));max-width:min(948px,calc(100vw - 32px));box-sizing:border-box}.studio-shell .canvas-dialog:has(.canvas-chrome-dialog-menu){width:min(360px,calc(100vw - 32px));max-width:min(360px,calc(100vw - 32px));box-sizing:border-box}.studio-shell .canvas-chrome-shortcuts section{min-width:0}.studio-shell .canvas-chrome-shortcuts h4{margin:0 0 6px;color:#fff;font-size:13px}.studio-shell .canvas-chrome-shortcuts ul{display:grid;gap:4px;margin:0;padding:0;list-style:none}.studio-shell .canvas-chrome-shortcuts li{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0;white-space:normal;flex-wrap:wrap}.studio-shell .canvas-chrome-shortcuts li>span{text-align:right}.studio-shell .canvas-chrome-shortcuts kbd{min-width:0;color:#fff;background:#ffffff14;border:1px solid #ffffff1f;border-radius:4px;padding:1px 4px;font-family:inherit;font-size:11px;white-space:nowrap;overflow-wrap:normal}.studio-shell .canvas-chrome-dialog-menu{display:flex;flex-direction:column;gap:4px;width:100%;max-width:100%;box-sizing:border-box}.studio-shell .canvas-chrome-dialog-menu button{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:0 10px;border:0;border-radius:6px;background:transparent;color:#e6e6e6;font:inherit;text-align:left;cursor:pointer}.studio-shell .canvas-chrome-dialog-menu button:hover:not(:disabled){background:#ffffff14}.studio-shell .canvas-chrome-dialog-menu button:disabled{opacity:.45;cursor:not-allowed}@media(min-width:1000px){.studio-shell.agent-open .canvas-tools.creative-dock.canvas-chrome-dock[aria-label=画布工具]{left:calc((100% - var(--agent-width, 340px)) / 2);transform:translate(-50%)}}@media(max-width:930px){.studio-shell .canvas-tools.creative-dock.canvas-chrome-dock[aria-label=画布工具]{bottom:60px}}@media(min-width:768px)and (max-width:900px){.studio-shell.view-workflow .canvas-tools.creative-dock.canvas-chrome-dock[aria-label=画布工具]{bottom:108px}}@media(min-width:701px)and (max-width:900px){.studio-shell.view-workflow .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]{bottom:60px}}@media(min-width:701px)and (max-width:767px){.studio-shell.view-workflow .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]{bottom:12px}}@media(max-width:831px){.studio-shell .canvas-chrome-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}}@media(max-width:479px){.studio-shell .canvas-chrome-shortcuts{grid-template-columns:1fr}}@media(max-width:480px){.studio-shell .canvas-chrome-dock>.dock-popover:first-of-type .dock-menu{left:0;right:auto;transform:none}}@media(max-width:359px){.studio-shell .canvas-tools.creative-dock.canvas-chrome-dock[aria-label=画布工具]{gap:1px;padding:8px 3px;max-width:calc(100vw - 8px)}.studio-shell .canvas-tools.creative-dock.canvas-chrome-dock[aria-label=画布工具]>button,.studio-shell .canvas-tools.creative-dock.canvas-chrome-dock[aria-label=画布工具]>.dock-popover>summary{flex-basis:30px;width:30px}.studio-shell .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]{left:8px;max-width:calc(100vw - 16px);gap:2px;padding:4px}.studio-shell .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]>button[aria-label=资产管理]{flex-basis:82px;width:82px;padding:0 6px;gap:4px}.studio-shell .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]>button:not([aria-label=资产管理]){flex-basis:26px;width:26px}.studio-shell .canvas-viewport-tools.canvas-chrome-lower[aria-label=画布显示设置]>.zoom-menu>summary{min-width:34px;width:34px}}.h3-project-library{display:flex;flex-direction:column;gap:8px;flex:1 1 auto;min-width:0;min-height:0;max-width:100%;overflow-y:auto;padding:0 2px 4px;box-sizing:border-box;color:inherit;font-size:12px}.h3-project-library[hidden]{display:none}.h3-project-library *,.h3-project-library *:before,.h3-project-library *:after{box-sizing:border-box}.h3-project-library button,.h3-project-library input,.h3-project-library select{max-width:100%;min-width:0;font:inherit}.h3-project-library button{cursor:pointer}.h3-project-library button:disabled{cursor:not-allowed;opacity:.55}.h3-library-header,.h3-library-filters,.h3-library-upload,.h3-library-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}.h3-library-field{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 140px}.h3-library-field>span{font-size:11px;opacity:.72}.h3-library-field select{width:100%;min-width:0}.h3-library-filters input{flex:1 1 120px;min-width:0}.h3-library-filters select{flex:0 1 auto;min-width:0}.h3-library-tags-input{flex:1 1 120px;min-width:0}.h3-library-upload button,.h3-library-refresh{flex:0 1 auto;min-width:0}.h3-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px;min-width:0}.h3-library-card{display:flex;flex-direction:column;gap:5px;min-width:0;padding:6px;border:1px solid rgba(127,127,127,.3);border-radius:8px;background:#7f7f7f14;overflow:hidden}.h3-library-media{display:flex;align-items:center;justify-content:center;width:100%;min-height:64px;max-height:132px;overflow:hidden;border-radius:6px;background:#7f7f7f1f}.h3-library-media img,.h3-library-media video{display:block;width:100%;height:100%;max-height:132px;object-fit:cover}.h3-library-media audio{width:100%;min-width:0}.h3-library-card-head{display:flex;flex-wrap:wrap;gap:3px;min-width:0}.h3-library-badge{display:inline-block;max-width:100%;padding:1px 4px;border-radius:4px;background:#7f7f7f29;font-size:10px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.h3-library-ref-badge{background:#2f7cf62e}.h3-library-archived{background:#d9770633}.h3-library-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.h3-library-tags{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;opacity:.78}.h3-library-insert{width:100%;margin-top:auto}.h3-library-list-error,.h3-library-action-error,.h3-library-action-message,.h3-library-status,.h3-library-hint,.h3-library-empty,.h3-library-count{min-width:0;overflow-wrap:anywhere;font-size:11px;line-height:1.45}.h3-library-list-error,.h3-library-action-error{color:#dc2626}.h3-library-action-message{color:#16a34a}.h3-library-count{opacity:.8}.h3-library-empty{opacity:.75}.h3-library-pagination{justify-content:space-between}.h3-library-pagination button{flex:0 1 auto}.workspace-sidebar{position:absolute;z-index:34;top:0;left:0;bottom:0;width:min(var(--workspace-width),calc(100vw - 16px));display:flex;flex-direction:column;background:#181818;color:#ddd;border-right:1px solid #333;font-size:12px}.workspace-brand{height:47px;padding:12px 16px 0;font-size:25px;font-weight:800}.workspace-brand span{color:#ddd}.workspace-project{width:100%;min-width:0}.studio-shell.workspace-open .canvas-top{padding-left:calc(var(--workspace-width) + 12px)}.studio-shell.workspace-open .canvas-top>.brand-mark,.studio-shell.workspace-open .canvas-top>.project-name{display:none}.studio-shell.workspace-open .canvas-viewport-tools{left:calc(var(--workspace-width) + 12px);bottom:var(--workspace-controls-bottom)}.studio-shell.workspace-open .canvas-viewport-tools>button[aria-label=资产管理],.studio-shell.workspace-open .viewport-history{display:none}.studio-shell.workspace-open .canvas-top>.save-state{background:#232323;padding:6px 8px;border-radius:6px;white-space:nowrap}.workspace-sidebar[hidden],.workspace-sidebar [hidden]{display:none}.workspace-sidebar>header{display:flex;gap:12px;align-items:center;padding:3px 8px 13px}.workspace-sidebar>header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;text-align:left}.workspace-sidebar button,.workspace-sidebar summary{display:inline-flex;gap:6px;align-items:center;font-size:12px;padding:6px;border-radius:6px;cursor:pointer}.workspace-sidebar button:hover,.workspace-sidebar summary:hover{background:#343437}.workspace-sidebar button:disabled{opacity:.4;cursor:not-allowed}.workspace-sidebar input:not([type=checkbox]),.workspace-sidebar select{color:#ddd;background:#27272a;border:1px solid #3b3b40;border-radius:6px;padding:7px;width:100%;min-width:0;font:inherit}.workspace-sidebar input[type=checkbox]{width:18px;height:18px}.workspace-tabs{display:flex;margin:0 12px 10px;border-bottom:1px solid #3b3b40}.workspace-tabs{gap:5px;padding-bottom:10px}.workspace-tabs button{justify-content:center;padding:5px 8px;border-radius:6px}.workspace-tabs button[aria-selected=true],.workspace-tabs button[aria-pressed=true]{color:#fff;background:#ffffff15}.workspace-outline,.asset-organization{display:flex;flex:1;min-height:0;flex-direction:column;gap:10px;padding:0 12px}.workspace-filters{display:flex;gap:6px;align-items:center}.workspace-filters>input{flex:2}.workspace-filters>select{flex:1}.workspace-scroll{flex:1;overflow:auto;min-height:70px;overscroll-behavior:contain;scrollbar-width:thin;padding-right:2px}.workspace-group{margin-bottom:12px}.workspace-group>header{display:flex;gap:2px;align-items:center}.workspace-group>header>button:first-child{flex:1;min-width:0;text-align:left}.workspace-group>header>button:first-child span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-group>header>button:first-child[aria-expanded=false]>svg{transform:rotate(-90deg)}.workspace-group>header small{color:#8b8b91;margin-left:auto}.workspace-node{display:flex;align-items:center;border:1px solid transparent;border-radius:7px;margin:3px 0;min-width:0}.workspace-node.selected{border-color:#85858b;background:#ffffff0c}.workspace-node-locate{flex:1;text-align:left;min-width:0}.workspace-node-locate>span:last-child{min-width:0;flex:1}.workspace-node-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-node-locate small{display:block;color:#8d8d96;font-size:10px;margin-top:4px}.layout-list .workspace-node-list{padding-left:14px}.layout-list .workspace-node-locate small{display:none}.workspace-filters>select{padding:7px 3px;font-size:11px}.workspace-node-thumbnail{width:38px;height:34px;border-radius:4px;background:#303034;display:grid;place-items:center;flex-shrink:0;overflow:hidden}.workspace-node-thumbnail img{width:100%;height:100%;object-fit:cover}.workspace-sidebar details{position:relative}.workspace-sidebar summary{list-style:none}.workspace-menu{position:fixed;width:190px;z-index:45;background:#303034;padding:8px;border:1px solid #525258;border-radius:8px;box-shadow:0 4px 20px #0008;max-height:min(380px,calc(100vh - 140px));overflow:auto}.workspace-menu>button,.workspace-menu label{display:flex;width:100%;text-align:left;margin:3px 0}.workspace-menu label{flex-direction:column;gap:5px;padding:5px}.workspace-node-actions[open]{position:static}.layout-grid .workspace-node-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.layout-grid .workspace-node{align-items:flex-start;position:relative;background:#262629}.layout-grid .workspace-node-locate{flex-direction:column;align-items:stretch}.layout-grid .workspace-node-thumbnail{width:100%;height:88px}.layout-grid .workspace-node-actions{position:absolute;top:3px;right:3px;background:#171719dd;border-radius:5px}.workspace-sidebar footer{display:flex;padding:9px 12px;align-items:center;justify-content:space-between;color:#aaaab1;border-top:1px solid #353538;margin-top:8px}.workspace-sidebar footer small{font-size:10px}.workspace-resizer{position:absolute;top:12px;bottom:12px;right:0;width:6px;cursor:ew-resize;touch-action:none}.workspace-resizer:hover,.workspace-resizer:focus-visible{background:#ffffff30;border-radius:4px}.workspace-row{display:flex;align-items:center;flex-wrap:wrap;gap:5px}.workspace-row small,.workspace-row strong{flex:1;overflow-wrap:anywhere}.workspace-row small{color:#a3a3ac}.workspace-breadcrumb{display:flex;flex-wrap:wrap;gap:2px}.workspace-breadcrumb button{overflow-wrap:anywhere}.workspace-folder-list button{display:flex;width:100%;gap:10px;margin-bottom:5px;padding:10px;border:1px solid #3a3a3e}.workspace-folder-list span{flex:1;text-align:left;overflow-wrap:anywhere}.workspace-asset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.workspace-asset-grid article{display:flex;flex-direction:column;gap:6px;background:#27272a;border-radius:7px;padding:6px;min-width:0}.workspace-asset-grid img,.workspace-asset-grid video{width:100%;height:90px;object-fit:contain;background:#161616}.workspace-asset-grid audio{width:100%;height:40px}.workspace-asset-grid article>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.workspace-asset-grid button{justify-content:center;background:#3c3c41}.asset-source-tabs{display:flex;gap:4px;flex-wrap:wrap}.asset-source-tabs button{flex:1;justify-content:center;gap:5px;min-height:34px;font-size:14px}.asset-source-tabs button[aria-pressed=true]{background:#404936;color:#deefb5}.workspace-asset-grid .asset-origin-badge{background:#30382b;color:#d4e5b0;font-size:12px;min-height:30px;white-space:normal}.asset-provenance{padding:10px;background:#20231f;border:1px solid #4c5742;border-radius:8px;margin-bottom:10px;font-size:14px}.asset-provenance .workspace-row strong{flex:1;min-width:0;overflow-wrap:anywhere}.asset-provenance p,.asset-provenance small{line-height:1.6}.asset-provenance dl{margin:10px 0}.asset-provenance dl>div{margin-top:8px}.asset-provenance dt{color:#a5afa0;font-size:12px}.asset-provenance dd{margin:3px 0 0;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}.asset-provenance-inputs>div{display:flex;flex-direction:column;gap:4px;margin:8px 0;overflow-wrap:anywhere}.asset-provenance-inputs code{font-size:12px;-webkit-user-select:text;user-select:text}.asset-original-task{display:flex;flex-direction:column;gap:8px;margin:10px 0}.asset-original-task section{padding:8px;background:#161916;border-radius:6px}.asset-original-task section>small{display:block;margin-top:4px}.asset-original-task p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;-webkit-user-select:text;user-select:text}.workspace-inline-form,.workspace-batch{padding:10px;background:#303034;border-radius:7px;display:flex;flex-wrap:wrap;gap:7px}.workspace-inline-form label{width:100%}.workspace-inline-form input{margin-top:6px}.workspace-error{background:#54382f;color:#f2c7b2;padding:10px;border-radius:6px;overflow-wrap:anywhere}.workspace-empty{color:#a0a0a8;text-align:center;padding:30px 10px;line-height:1.8}.workspace-entry-heading{margin:10px 0 8px;color:#d0d0d0;font-size:12px;font-weight:500}.workspace-entry-text{height:112px;padding:10px;overflow:hidden;background:#242424;color:#c8c8c8}.workspace-entry-text p{margin:6px 0 0;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.workspace-entry-audio{display:grid;justify-items:center;align-content:center;gap:10px;min-height:112px;overflow:hidden}.workspace-entry-audio audio{max-width:100%}.workspace-library-entry .workspace-entry-meta{display:flex;align-items:center;gap:4px;color:#a4a4a4;font-size:11px}.workspace-library-entry .workspace-entry-tags{color:#b8b8b8;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-library-entry select{min-width:0;width:100%;font-size:11px}@media(max-width:700px){.workspace-sidebar{bottom:76px;width:100vw}.workspace-resizer{display:none}.studio-shell .toast{width:calc(100vw - 32px)}.studio-shell.workspace-open .canvas-top{visibility:hidden}.studio-shell.workspace-open .canvas-viewport-tools{display:none}}@media(min-width:701px)and (max-width:1100px){.studio-shell.workspace-open .canvas-viewport-tools{bottom:70px}}.workspace-sidebar>header,.workspace-sidebar>.workspace-brand,.workspace-sidebar>.workspace-tabs,.workspace-sidebar>footer{flex-shrink:0}.asset-organization{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.asset-organization>*{flex-shrink:0}.asset-organization .workspace-scroll{flex:0 0 auto;min-height:0;overflow:visible}.toolbox-panel{position:fixed;z-index:42;left:50%;transform:translate(-50%);bottom:78px;width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 158px);background:#252525;color:#e9e9e9;border:1px solid #3b3b3b;box-shadow:0 16px 48px #0008;border-radius:12px;display:flex;flex-direction:column;overflow:hidden}.toolbox-panel[hidden]{display:none}.toolbox-panel header{display:flex;align-items:center;gap:8px;padding:14px;border-bottom:1px solid #3b3b3b;flex-shrink:0;font-size:14px}.toolbox-panel header h2{display:contents;font-size:14px;font-weight:600}.toolbox-panel header>button:last-child{margin-left:auto}.toolbox-search{display:flex;align-items:center;gap:8px;margin:12px 14px 6px;background:#1c1c1c;padding:7px 9px;border-radius:7px}.toolbox-search input{border:none;background:transparent;min-width:0;padding:0;font-size:14px}.toolbox-tabs{display:flex;gap:6px;padding:4px 14px 10px}.toolbox-tabs button{padding:5px 9px;font-size:14px;border-radius:6px;color:#aaa}.toolbox-tabs button[aria-selected=true]{background:#424242;color:#fff}.toolbox-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 10px;padding:8px 14px 16px;overflow:auto;min-height:0}.toolbox-card{min-width:0;display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:5px}.toolbox-preview{display:flex;aspect-ratio:1;position:relative;border-radius:8px;background:#181818;overflow:hidden;border:1px solid #373737}.toolbox-preview img,.toolbox-preview video{width:100%;height:100%;object-fit:cover}.toolbox-card strong{font-size:14px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}.toolbox-card small,.toolbox-detail small{font-size:12px;color:#aaa;line-height:1.5}.toolbox-card>small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.toolbox-graph{display:flex;gap:5px;align-items:center;justify-content:center;width:100%;color:#aaa}.toolbox-graph svg{width:19px;height:19px}.toolbox-use{position:absolute;bottom:8px;left:8px;right:8px;padding:5px;font-size:12px;text-align:center;background:#eeeeeef2;border-radius:5px;color:#222;opacity:0}.toolbox-card:hover .toolbox-use,.toolbox-card:focus-visible .toolbox-use{opacity:1}.toolbox-panel footer{display:flex;justify-content:space-between;padding:12px 14px;border-top:1px solid #3b3b3b;flex-shrink:0;gap:12px}.toolbox-panel footer button{font-size:14px;display:flex;align-items:center;gap:6px}.toolbox-empty{padding:28px 16px;color:#aaa;font-size:14px}.toolbox-detail{overflow:auto;padding:16px;display:flex;flex-direction:column;gap:14px;font-size:14px}.toolbox-detail ul{padding:0;list-style:none;display:grid;gap:8px}.toolbox-detail li{padding:9px;border:1px solid #3b3b3b;border-radius:7px}.toolbox-detail li small{display:block;margin-top:5px}.toolbox-detail label,.toolbox-editor label{display:grid;gap:6px;font-size:14px}.toolbox-detail select,.toolbox-editor select{width:100%;min-width:0;font-size:14px}.toolbox-prompt{white-space:pre-wrap;line-height:1.7;margin-top:10px}.toolbox-detail-actions{display:flex;justify-content:space-between}.toolbox-editor{display:grid;gap:15px}.toolbox-editor textarea{min-height:100px}@media(max-width:520px){.toolbox-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbox-use{opacity:1}}@media(min-width:1000px){.agent-open .toolbox-panel{left:calc((100% - var(--agent-width, 400px)) / 2)}}.studio-shell .floating-panel.panel-add{width:238px;padding:12px}.creation-menu{display:grid;gap:2px}.creation-search{display:flex;align-items:center;gap:6px;padding:4px 5px 8px}.creation-search input{padding:4px;border:none;background:transparent;min-width:0;font-size:14px}.creation-menu>button,.creation-menu summary{display:flex;align-items:center;gap:9px;padding:9px 7px;width:100%;text-align:left;font-size:14px;border-radius:6px}.creation-menu summary{cursor:pointer;list-style:none}.creation-menu summary::-webkit-details-marker{display:none}.creation-menu summary span,.creation-menu>button small{margin-left:auto;color:#999;font-size:12px}.creation-menu summary:hover,.creation-menu button:not(:disabled):hover{background:#3b3b3b}.creation-menu details[open]{background:#202020;border-radius:7px}.creation-menu details div{display:grid;padding:0 6px 8px 28px;gap:3px}.creation-menu details div button{text-align:left;font-size:14px;padding:7px 5px;border-radius:5px}.creation-menu h3{color:#999;font-size:12px;margin:8px 7px 4px}.study-source-picker{font-size:14px;display:grid;gap:12px}.toolbox-panel .platform-tools{box-sizing:border-box;min-width:0;min-height:34px;margin:0 14px 6px;border:1px solid #3b3b3b;border-radius:8px;background:#202020;color:inherit;font:inherit;flex:0 0 auto;overflow:hidden}.toolbox-panel .platform-tools[open]{display:flex;flex-direction:column;min-height:94px;max-height:min(34vh,240px,calc(100vh - 420px));max-height:min(34dvh,240px,calc(100dvh - 420px));overflow:hidden;overscroll-behavior:contain}.toolbox-panel .platform-tools>summary{display:flex;align-items:center;flex:0 0 auto;box-sizing:border-box;min-height:34px;max-height:36px;height:34px;padding:0 10px;cursor:pointer;list-style:none;color:inherit;font:inherit;font-size:14px}.toolbox-panel .platform-tools>summary::-webkit-details-marker{display:none}.toolbox-panel .platform-tools>summary:after{content:"▾";margin-left:auto;color:#aaa;font-size:12px;line-height:1}.toolbox-panel .platform-tools[open]>summary:after{transform:rotate(180deg)}.toolbox-panel .platform-tools>summary:focus-visible{outline:2px solid #7aa7ff;outline-offset:-2px;border-radius:7px}.toolbox-panel .platform-tools>div{min-width:0;min-height:0;padding:0 8px 8px;overflow:auto;overscroll-behavior:contain}.toolbox-panel .platform-tools[open]>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;flex:1 1 auto}.toolbox-panel .platform-tools button{min-width:0;min-height:32px;padding:6px 8px;text-align:left;white-space:normal;overflow-wrap:anywhere;color:inherit;font:inherit;font-size:13px;line-height:1.35;background:#2b2b2b;border:1px solid #3b3b3b;border-radius:6px}.toolbox-panel .platform-tools button:not(:disabled):hover{background:#363636}.toolbox-panel .platform-tools button:focus-visible{outline:2px solid #7aa7ff;outline-offset:2px}.toolbox-panel .platform-tools button:disabled{opacity:.55}.reference-pick-mode .react-flow__node{cursor:crosshair}.reference-pick-mode .react-flow__node [data-pick-state]{position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px;border:2px solid #b4cb73;border-radius:14px;z-index:30;display:flex;align-items:flex-start;justify-content:flex-end;background:#cdeba508;cursor:crosshair}.reference-pick-mode [data-pick-state] span{max-width:90%;margin:5px;padding:4px 8px;border-radius:6px;background:#20261df2;color:#e0f3b9;font:12px/1.5 sans-serif;text-align:left}.reference-pick-mode .react-flow__node [data-pick-state=target]{border-color:#e5f6af;background:#d7ee9b12}.reference-pick-mode .react-flow__node [data-pick-state=connected]{border-color:#718766;background:#17221144}.reference-pick-mode .react-flow__node [data-pick-state=unavailable]{border-color:#747875;background:#1118;cursor:not-allowed}.reference-pick-mode [data-pick-state=unavailable] span{background:#242424;color:#ccc}.reference-pick-mode .react-flow__node-toolbar{display:none}.reference-pick-mode .canvas-top,.reference-pick-mode .creative-dock{visibility:hidden}.canvas-app.reference-pick-mode .toast{top:16px;bottom:auto}.reference-pick-bar{position:fixed;bottom:76px;left:50%;transform:translate(-50%);z-index:45;width:min(680px,calc(100vw - 24px));padding:12px 14px;background:#252824f5;border:1px solid #73824a;border-radius:14px;box-shadow:0 14px 40px #0007;display:flex;gap:12px;align-items:center}.reference-pick-bar>div:first-child{flex:1;min-width:0}.reference-pick-bar strong,.reference-pick-bar small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reference-pick-bar small{color:#b6bda8;margin-top:5px}.reference-pick-bar nav{display:flex;gap:6px;flex-shrink:0}.reference-pick-bar button{padding:8px;border-radius:7px;background:#363d2c;border:1px solid #657148;color:#e1eabf;min-height:36px}.workspace-pick-target{margin:8px 12px;color:#dbeab2;font-size:12px;overflow-wrap:anywhere}.workspace-node-locate:disabled{opacity:.55;cursor:not-allowed}@media(max-width:700px){.reference-pick-bar{bottom:74px;flex-wrap:wrap;gap:10px}.reference-pick-bar>div:first-child{flex-basis:100%}.reference-pick-bar nav{width:100%}.reference-pick-bar button{flex:1}.reference-pick-bar strong{font-size:13px}}.layer-setup{display:grid;gap:16px;min-width:0;font-size:14px;line-height:1.6}.layer-setup figure{margin:0;min-width:0}.layer-setup img{display:block;max-height:220px;width:100%;object-fit:contain;background:#17191b;border-radius:8px}.layer-setup figcaption{margin-top:8px;overflow-wrap:anywhere;color:var(--muted,#aeb3ba)}.layer-setup p{margin:0}.layer-setup label{display:grid;gap:6px;min-width:0}.layer-setup select,.layer-setup input,.layer-setup textarea{width:100%;min-width:0;box-sizing:border-box;padding:10px;background:#202326;border:1px solid #3b4047;border-radius:8px;color:inherit;font:inherit}.layer-setup textarea{min-height:88px;resize:vertical}.layer-setup small{font-size:13px;color:var(--muted,#aeb3ba)}.layer-setup button,.layer-setup select,.layer-setup input{min-height:44px}.run-output.layer-results .output-version img{background:repeating-conic-gradient(#363a3e,#363a3e 25%,#24272b 0%,#24272b 50%) 0/20px 20px}.annotation-editor{display:grid;gap:14px}.annotation-editor p{color:var(--muted);line-height:1.6;margin:0}.annotation-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.annotation-toolbar label{display:flex;gap:5px;align-items:center;font-size:12px}.annotation-toolbar input{width:60px}.annotation-toolbar button[aria-pressed=true]{background:#d9f3ab;color:#17210c}.annotation-body{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:16px;min-height:320px}.annotation-stage{display:flex;align-items:center;justify-content:center;background:#131517;border:1px solid #34383c;border-radius:10px;overflow:hidden;min-width:0}.annotation-stage canvas{max-width:100%;max-height:58vh;width:auto;height:auto;touch-action:none;cursor:crosshair}.annotation-notes{display:flex;flex-direction:column;gap:10px;max-height:58vh;overflow:auto}.annotation-notes>div{border:1px solid #3b4146;border-radius:8px;padding:8px;display:flex;flex-wrap:wrap;gap:6px}.annotation-notes>div.selected{border-color:#aec58c}.annotation-notes label{width:100%;display:grid;gap:6px;font-size:12px}.annotation-notes textarea{width:100%;min-height:90px;resize:vertical}.annotation-notes small{color:var(--muted);line-height:1.6}.annotation-editor footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.annotation-editor footer small{color:var(--muted)}.annotation-summary{padding:10px;background:#242a20;border:1px solid #49543b;border-radius:8px;font-size:12px;display:grid;gap:8px}.annotation-summary img{max-width:100%;max-height:140px;object-fit:contain}.annotation-summary>div{display:flex;gap:8px}.annotation-summary small{color:var(--muted)}@media(max-width:700px){.annotation-body{grid-template-columns:1fr;min-height:0}.annotation-stage canvas{max-height:40vh}.annotation-notes{max-height:28vh}.annotation-editor footer{align-items:stretch;flex-direction:column}.annotation-toolbar{gap:5px}}.region-editor{display:grid;gap:14px;min-width:0}.region-editor p{color:var(--muted);line-height:1.65;margin:0}.region-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.region-toolbar button[aria-pressed=true]{background:#d9f3ab;color:#17210c}.region-toolbar label{display:flex;align-items:center;gap:6px;font-size:12px}.region-toolbar input{width:66px}.region-toolbar label span{color:var(--muted)}.region-body{display:grid;grid-template-columns:minmax(0,1fr) 254px;gap:16px;min-width:0}.region-stage{min-width:0;display:flex;align-items:center;justify-content:center;min-height:280px;background:#131517;border:1px solid #34383c;border-radius:10px;overflow:hidden}.region-stage canvas{display:block;max-width:100%;max-height:57vh;width:auto;height:auto;touch-action:none;cursor:crosshair}.region-details{display:flex;flex-direction:column;gap:12px;min-width:0;max-height:57vh;overflow:auto}.region-details label{display:grid;gap:8px;font-size:13px}.region-details textarea{width:100%;min-height:160px;resize:vertical}.region-details small,.region-editor footer small{color:var(--muted);line-height:1.6}.region-legend{font-size:12px;display:flex;gap:7px;align-items:center}.region-legend i{width:12px;height:12px;border:1px solid #b1e979;background:#739554;flex-shrink:0}.region-capability-note{padding:10px;border:1px solid #4a513f;border-radius:8px;background:#252a20;font-size:12px}.region-editor footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.region-discard{display:flex;flex-wrap:wrap;gap:10px;border:1px solid #8c7050;border-radius:8px;padding:12px}.region-discard p{width:100%}.region-summary{padding:10px;background:#242a20;border:1px solid #49543b;border-radius:8px;font-size:12px;display:grid;gap:8px}.region-summary>div{display:flex;gap:8px}.region-summary small{color:var(--muted)}@media(max-width:700px){.region-body{grid-template-columns:1fr;gap:10px}.region-stage{min-height:150px}.region-stage canvas{max-height:38vh}.region-details{max-height:none;gap:8px}.region-details textarea{min-height:88px}.region-editor footer{flex-direction:column;align-items:stretch}.region-toolbar{gap:5px}.region-toolbar label span{display:none}.region-capability-note{padding:8px}.region-editor{gap:10px}}.image-style-library{display:grid;gap:16px}.image-style-library p{color:var(--muted);line-height:1.6;margin:0}.image-style-library nav,.style-filters,.style-detail footer,.style-editor footer{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.image-style-library nav [aria-pressed=true]{background:#d9f3ab;color:#17210c}.style-filters{font-size:12px}.style-filters>input{flex:1;min-width:160px}.style-filters label{display:flex;gap:5px;align-items:center}.style-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-height:62vh;overflow:auto}.style-grid article{border:1px solid #3a4146;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;gap:8px;padding:10px;min-width:0}.style-grid h3{font-size:14px;margin:0}.style-grid small,.style-grid article>span{font-size:11px;color:var(--muted)}.style-grid article>div{display:flex;gap:8px;margin-top:auto}.style-card-cover{width:100%;aspect-ratio:4/3;background:#171a1d;border-radius:7px;overflow:hidden;display:flex;align-items:center;justify-content:center}.style-card-cover img{width:100%;height:100%;object-fit:cover}.style-card-cover span{font-size:12px;color:#88918d}.style-detail,.style-editor{display:grid;gap:14px}.style-detail-body{display:grid;grid-template-columns:1fr 1fr;gap:20px}.style-detail-body>div{min-width:0;display:grid;gap:12px;align-content:start}.style-preview{width:100%;max-height:50vh;object-fit:contain}.style-empty{border:1px dashed #424a45;border-radius:10px;padding:28px;line-height:1.8;color:var(--muted)}.image-style-library label{display:flex;flex-wrap:wrap;gap:6px;font-size:13px}.image-style-library label>textarea,.image-style-library label>input:not([type=checkbox]),.image-style-library label>select{flex-basis:100%;min-width:0}.image-style-library textarea{min-height:90px;resize:vertical;width:100%}.image-style-library pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-height:240px;overflow:auto}.style-editor-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.style-editor fieldset{display:grid;gap:12px;min-width:0;border:1px solid #414842;border-radius:10px;padding:12px}.style-editor small{color:var(--muted);line-height:1.6}.image-style-chip{display:grid;gap:8px;background:#292c22;border:1px solid #4d573e;border-radius:8px;padding:10px;font-size:12px}.image-style-chip>div{display:flex;justify-content:space-between;gap:6px}.image-style-chip small{color:var(--muted)}@media(max-width:700px){.style-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.style-detail-body,.style-editor-fields{grid-template-columns:1fr}.image-style-library nav{gap:5px}.style-detail footer,.style-editor footer{flex-direction:column;align-items:stretch}.style-filters>input{min-width:0}.style-grid article{padding:7px}.style-grid h3{font-size:12px}.style-grid article>div{flex-wrap:wrap}.style-grid button{min-width:0}}.smart-edit-panel{display:grid;gap:16px;min-width:0}.smart-edit-panel fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;gap:18px}.smart-edit-panel label{display:grid;gap:8px}.smart-edit-panel textarea{resize:vertical;min-height:76px}.smart-edit-modes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.smart-edit-modes button{padding:12px 8px;border:1px solid var(--border,#414549);border-radius:9px;white-space:normal}.smart-edit-modes button[aria-pressed=true]{background:#3e4830;color:#ddf4b1;border-color:#99b46a}.smart-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.smart-edit-sources{border:1px solid #414549;padding:16px;border-radius:12px}.smart-edit-sources h3{margin-top:0}.smart-edit-sources p{font-size:12px;line-height:1.6}.smart-edit-source{padding:10px 0;border-top:1px solid #363a3e;display:grid;gap:8px}.smart-edit-panel .check-label{display:flex;align-items:center;gap:10px}.smart-edit-source .check-label span{flex:1;overflow-wrap:anywhere}.smart-edit-source small{color:#a3aab0;white-space:nowrap}.smart-edit-panel .check-label input{width:16px;min-width:16px;accent-color:#dafa9c}.smart-edit-panel footer{display:flex;gap:12px;justify-content:flex-end}.smart-edit-panel footer button{width:auto;white-space:nowrap}.smart-edit-panel fieldset:disabled{opacity:.72}@media(max-width:600px){.smart-edit-modes{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-edit-grid{grid-template-columns:1fr}.smart-edit-source .check-label{flex-wrap:wrap}.smart-edit-panel footer{flex-wrap:wrap}.smart-edit-panel footer button{flex:1}}.canvas-dialog .smart-edit-panel label{display:grid;gap:8px;margin:0;min-width:0}.canvas-dialog .smart-edit-panel .check-label{display:flex}.canvas-dialog .smart-edit-panel :is(textarea,select,input:not([type=checkbox])){width:100%;min-width:0;box-sizing:border-box}.canvas-dialog .smart-edit-panel p{margin:0;line-height:1.65}.smart-edit-panel fieldset{max-height:min(64vh,calc(100dvh - 300px));overflow-y:auto;overscroll-behavior:contain;padding-right:5px}.smart-edit-panel .warning-box{padding:12px}.smart-edit-panel .smart-edit-sources{display:grid;gap:10px}.smart-edit-panel footer{margin:0}.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #555;--xy-background-pattern-lines-color-default: #333;--xy-background-pattern-cross-color-default: #333;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}:root{font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;color:#eceeed;background:#151619;font-synthesis:none;font-size:14px;color-scheme:dark;--surface: #222428;--border: #373a3e;--muted: #999da5;--accent: #d4f7a3}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;background:transparent;border:0}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button{display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover{background:#ffffff0c}textarea,input,select{color:inherit;background:#17191c;border:1px solid var(--border);border-radius:8px;padding:10px}textarea{resize:vertical;line-height:1.7}input{min-width:0}small{font-size:12px;color:var(--muted)}h2,p{margin:0}h2{font-size:16px;font-weight:600}a{color:var(--accent)}.canvas-app{height:100dvh;width:100%;overflow:hidden;position:relative;background:#17181b}.react-flow{--xy-background-color: #17181b;--xy-node-border-radius: 13px;--xy-edge-stroke: #727866;--xy-edge-stroke-width: 1.6;--xy-edge-label-background-color: #272b26;--xy-edge-label-color: #c5d0b7;--xy-selection-background-color: #c9efa811;--xy-selection-border: 1px solid #bdd9a6}.react-flow__edge-text{font-size:12px}.react-flow__handle{width:13px;height:13px;background:#a5b098;border:3px solid #17181b}.react-flow__handle-right{right:-7px}.react-flow__handle-left{left:-7px}.react-flow__node{border:none;box-shadow:none}.react-flow__node.selected{z-index:10!important}.canvas-top{position:absolute;z-index:25;top:0;left:0;right:0;height:74px;display:flex;align-items:center;padding:0 26px;gap:17px;background:linear-gradient(#17181bf5,#17181be8,transparent)}.brand-mark{font-size:32px;font-weight:800;letter-spacing:-3px;line-height:1}.brand-mark span{color:var(--accent);margin-left:2px}.project-name{font-size:15px;font-weight:600;padding:9px 12px;gap:18px;border-radius:8px}.save-state{display:flex;align-items:center;gap:6px;color:#90958c;font-size:12px}.top-spacer{flex:1}.service-chip{display:flex;align-items:center;gap:8px;color:#a1a6a0;font-size:12px}.service-chip i{width:6px;height:6px;background:#acd282;border-radius:50%}.account-button{border:1px solid #404438;border-radius:20px;background:#252b20;padding:9px 15px;font-size:13px;color:#d6e7c9}.canvas-tools{position:absolute;z-index:24;left:22px;top:50%;transform:translateY(-50%);padding:7px;display:flex;flex-direction:column;gap:5px;background:#24262a;border:1px solid #3a3c40;border-radius:14px;box-shadow:0 8px 30px #0003}.canvas-tools button{width:42px;height:42px;border-radius:9px;color:#c3c7ce}.canvas-tools button:first-child{background:#d4f7a3;color:#202719}.canvas-tools button.chosen,.tool-segment button.chosen{background:#3c4138;color:#d4f7a3}.tool-divider{height:1px;background:#ffffff10;margin:3px 7px}.media-node{width:330px;border:1px solid #414349;background:#232529;border-radius:13px;box-shadow:0 12px 28px #0002;transition:border-color .15s}.media-node.active{border-color:#c0de98;box-shadow:0 0 0 1px #c0de9866,0 16px 30px #0003}.media-node header{height:48px;padding:0 14px;display:flex;align-items:center;gap:9px;cursor:grab;font-size:14px;font-weight:500}.media-node header>span:nth-child(2){flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.media-node header>svg{color:#898d93}.kind-icon{width:24px;height:24px;border-radius:6px;background:#344139;color:#c0d7b6;display:grid;place-items:center}.kind-icon.text{color:#e5d3a8;background:#423d31}.kind-icon.video{color:#c5c1fa;background:#39364a}.kind-icon.audio{color:#a6cfdf;background:#2d4048}.node-text{display:block;border:0;width:100%;height:172px;border-radius:0;background:transparent;padding:7px 18px;resize:vertical;font-size:16px;color:#d9dcda;line-height:1.85}.media-node footer{height:41px;border-top:1px solid #ffffff08;padding:0 12px;display:flex;align-items:center;gap:8px;color:#969da5;font-size:12px}.media-node footer>span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.node-derive{width:28px;height:28px;border-radius:6px;color:#d0d8c8}.node-media{position:relative;min-height:160px;background:#131516;overflow:hidden}.node-media img,.node-media video{width:100%;max-height:250px;display:block;object-fit:cover}.node-media audio{width:100%;margin-top:50px}.example-chip{position:absolute;bottom:10px;left:12px;background:#111a;padding:4px 7px;border-radius:4px;font-size:12px;color:#d3d5d0}.node-empty{height:212px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:radial-gradient(ellipse at center,#343737,#212327 70%);color:#9ba494}.node-empty strong{font-size:16px;font-weight:500;color:#c6ccbf}.node-empty span{font-size:12px;color:#888f91}.node-empty>svg{margin-bottom:3px}.canvas-bottom{position:absolute;bottom:24px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:16px;white-space:nowrap}.canvas-bottom>span{font-size:12px;color:#7e838a}.tool-segment{display:flex;background:#25272b;border:1px solid #3a3d42;padding:4px;border-radius:10px}.tool-segment button{width:35px;height:32px;border-radius:7px}.react-flow__controls{margin:24px;display:flex;flex-direction:row;box-shadow:none;border:1px solid #3a3c40;border-radius:9px;overflow:hidden}.react-flow__controls button{background:#25272b;border:0;color:#c2c7be;width:36px;height:36px}.react-flow__controls button:hover{background:#393d36}.react-flow__minimap{margin:24px;width:132px;height:87px;background:#22252a!important;border:1px solid #343940;border-radius:8px;overflow:hidden}.react-flow__minimap svg{width:132px;height:87px}.react-flow__attribution{font-size:10px;background:transparent!important;color:#747974!important}.react-flow__attribution a{color:#747974!important}.floating-panel{position:absolute;z-index:26;left:90px;top:100px;max-height:calc(100dvh - 190px);overflow:auto;width:300px;background:#24262a;border:1px solid #3b3e42;border-radius:14px;box-shadow:0 18px 60px #0005;padding:18px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.panel-title h2{display:flex;align-items:center;gap:8px}.panel-title button{padding:4px;border-radius:5px}.add-row{width:100%;padding:15px 6px;justify-content:flex-start;gap:13px;border-radius:9px;text-align:left}.add-row>span{flex:1}.add-row small{display:block;font-size:12px;margin-top:5px}.panel-note{line-height:1.9;color:#b0b5bc}.generator-panel{position:absolute;right:22px;top:94px;width:328px;max-height:calc(100dvh - 190px);overflow:auto;background:#24262af5;border:1px solid #41453c;border-radius:15px;padding:20px;box-shadow:0 18px 45px #0004;z-index:21}.generator-panel label{display:block;color:#aeb4b9;line-height:1.5}.generator-panel textarea{width:100%;min-height:120px;margin-top:9px;font-size:14px}.generator-note{font-size:12px;color:#939d88;display:flex;gap:6px;line-height:1.6;margin:12px 0}.small-chip{color:#c8d9b8;background:#3a4332;border-radius:4px;font-size:12px;padding:3px 6px}.primary{background:var(--accent);color:#25301b;border-radius:9px;padding:12px 16px;font-weight:600;width:100%}.primary:hover{background:#e3ffbe}.generator-panel .primary{margin-top:8px}@media(max-width:1000px){.save-state,.service-chip,.canvas-bottom>span{display:none}.generator-panel{width:292px;right:14px}.canvas-top{padding:0 18px;gap:10px}}@media(max-width:650px){.canvas-top{height:65px;padding:0 12px;gap:6px}.brand-mark{font-size:26px}.project-name{max-width:175px;font-size:13px;gap:4px}.account-button{font-size:12px;padding:8px}.account-button svg{display:none}.canvas-tools{left:10px;padding:4px;border-radius:10px}.canvas-tools button{width:35px;height:36px}.floating-panel{left:62px;top:80px;width:min(290px,calc(100vw - 74px))}.generator-panel{top:auto;bottom:78px;right:12px;width:min(328px,calc(100vw - 78px));max-height:52dvh}.react-flow__minimap{display:none}.canvas-bottom{left:70px;transform:none}.react-flow__controls{margin:24px 12px}.media-node{width:310px}}:root{scrollbar-color:#52554f #232529;scrollbar-width:thin}.full{width:100%}.hidden-input{display:none}.secondary,.subtle-button{border:1px solid #44483f;padding:10px 12px;border-radius:8px;color:#d3dcc9}.secondary:hover,.subtle-button:hover{background:#353b2f}.muted{color:#a1a7ae}.paragraph{line-height:1.8;margin-bottom:18px}.error{color:#f0a7a1}.error-box,.warning-box{padding:12px;border-radius:8px;font-size:13px;line-height:1.8;margin:12px 0;background:#3a2829;color:#efb6ad;border:1px solid #754440}.warning-box{background:#393629;color:#d8ceaa;border-color:#5b553c}.error-box button,.warning-box button{padding:0 8px;text-decoration:underline}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.node-status{font-size:12px;color:#8e949c;white-space:nowrap}.node-status.succeeded{color:#b5d794}.node-status.failed{color:#eaaa9c}.node-status.running{color:#d2c69d}.node-actions{display:flex;position:absolute;top:-44px;left:0;gap:3px;align-items:center;background:#272b25;border:1px solid #48523c;border-radius:9px;padding:4px;box-shadow:0 8px 25px #0004;min-height:36px}.node-actions button{padding:6px;border-radius:5px}.node-actions .node-run{margin-left:4px;padding:6px 12px;background:#d4f7a3;color:#26301d;font-size:13px;white-space:nowrap}.node-error{padding:10px 14px;color:#e9b0a6;background:#402a2980;font-size:12px;line-height:1.7;max-height:80px;overflow:auto}.node-progress{height:3px;background:#383b35}.node-progress i{display:block;height:100%;background:var(--accent);transition:width .5s}.node-group-tag{position:absolute;left:2px;top:-24px;color:#a5bc8f;font-size:12px;letter-spacing:.03em;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.media-node.grouped{outline:5px solid #75955b12}.media-node.active .node-group-tag{top:-67px}.version-strip{display:flex;overflow:auto;gap:5px;padding:7px 10px;border-top:1px solid #ffffff08}.version-strip button{font-size:12px;background:#1c1f22;border:1px solid #3a3f3a;border-radius:5px;padding:4px 8px;white-space:nowrap}.version-strip button.chosen{border-color:#a0bd7e;background:#3c4930;color:#d3edb5}.version-strip i{width:4px;height:4px;border-radius:50%;background:#7b8190}.version-strip i.succeeded{background:#bcdb92}.version-strip i.failed{background:#ef9888}.canvas-dialog{padding:0;width:min(480px,calc(100vw - 28px));max-height:90dvh;border:1px solid #4a4f43;border-radius:16px;background:#25272b;color:#e5e8e3;box-shadow:0 30px 100px #0009}.canvas-dialog::backdrop{background:#050707b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.canvas-dialog.wide{width:min(850px,calc(100vw - 28px))}.dialog-body{padding:26px}.canvas-dialog label{display:block;color:#aeb4b9;margin:16px 0}.canvas-dialog input{display:block;width:100%;margin-top:8px;padding:12px}.canvas-dialog .primary{margin-top:12px}.canvas-dialog .panel-title{margin-bottom:21px}.canvas-dialog .panel-title h2{font-size:18px}.canvas-dialog h3{font-size:15px;margin:12px 0}.canvas-dialog ol{padding-left:22px;margin:0;color:#b4bbb4;line-height:1.9}.canvas-dialog ol li{margin-bottom:8px}.canvas-dialog dl{line-height:1.8;color:#b4bbb4;margin:0}.canvas-dialog dt{font-size:14px;color:#dce5d3;font-weight:500}.canvas-dialog dd{font-size:13px;margin:0 0 12px}.canvas-dialog a{font-size:13px;display:inline-block;margin-top:10px}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.quote-total{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-top:1px solid #ffffff0c;border-bottom:1px solid #ffffff0c;margin:12px 0}.quote-total strong{font-size:28px;color:#d4f7a3}.quote-total strong small{font-size:14px;color:#b8c7a6}.confirm-title{font-size:17px;margin:0 0 14px}.confirm-prompt{background:#191c1f;border:1px solid #3e4239;border-radius:9px;padding:15px;line-height:1.8;max-height:180px;overflow:auto;white-space:pre-wrap;color:#b7bfb2}.confirm-spec{display:flex;gap:8px;margin:13px 0;flex-wrap:wrap}.confirm-spec span{font-size:13px;background:#3a4033;color:#ccd7c0;border-radius:5px;padding:5px 9px}.large-preview img,.large-preview video{width:100%;max-height:68dvh;object-fit:contain}.large-preview audio{width:100%}.account-name{font-size:19px;font-weight:600;margin-bottom:8px}.credit-count{font-size:12px;color:#a7bb8f;border-left:1px solid #48543c;padding-left:10px}.service-chip.offline i{background:#d9977a}.floating-panel h3{font-size:13px;font-weight:500;color:#8b9680;margin:22px 0 12px}.panel-inline-actions{display:flex;gap:4px;margin:12px 0;justify-content:space-between}.panel-inline-actions button{font-size:13px;padding:6px;border-radius:5px;color:#b4bfab}.storage-label{font-size:12px;line-height:1.8;color:#858f7f;margin:13px 0}.project-list{margin:10px -5px}.project-list>a{display:flex;align-items:center;color:inherit;text-decoration:none;width:100%;padding:15px 10px;justify-content:flex-start;gap:12px;border-radius:9px;text-align:left}.project-list>a.chosen{background:#394231;color:#d9e8cc}.project-list>a:hover:not(.chosen){background:#ffffff0c}.project-list>a>span{flex:1;min-width:0;overflow:hidden;overflow-wrap:anywhere}.project-list small{display:block;font-size:12px;margin-top:5px;color:#91a181}.search-box{display:flex;align-items:center;gap:8px;background:#191c1f;border:1px solid #3e423d;border-radius:8px;padding:0 10px;margin:2px 0 13px;color:#8c9683}.search-box input{background:transparent;border:0;padding:10px 0;width:100%;outline-offset:1px}.asset-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0}.asset-card{display:flex;flex-direction:column;align-items:stretch;gap:6px;text-align:left;border:1px solid #3e4439;border-radius:9px;padding:6px;overflow:hidden;background:#1d211d}.asset-card img,.asset-card video,.asset-audio{width:100%;height:85px;object-fit:cover;border-radius:5px}.asset-audio{display:grid;place-items:center;background:#293c41;font-size:32px;color:#a2c3d0}.asset-card>span:not(.asset-audio){white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.asset-card small{font-size:12px;color:#7e8f73}.example-assets>button{display:flex;width:100%;text-align:left;gap:12px;padding:7px 0}.example-assets img{width:55px;height:40px;object-fit:cover;border-radius:5px}.example-assets span{flex:1}.example-assets svg{color:#8ca779}.empty-state{text-align:center;padding:28px 6px;line-height:1.9;font-size:14px;color:#99a28f}.empty-state>svg{margin:8px auto 14px}.empty-state .primary{margin-top:18px}.workflow-card{width:100%;justify-content:flex-start;gap:13px;border:1px solid #46543b;border-radius:9px;background:#2b3326;margin:12px 0;padding:16px;text-align:left}.workflow-card span{flex:1}.workflow-card small{display:block;margin-top:6px;font-size:12px;color:#8fa57a}.group-row{width:100%;justify-content:flex-start;padding:10px 0;gap:8px;text-align:left}.group-row small{margin-left:auto}.history-panel{width:315px}.history-filter{display:flex;align-items:center;gap:10px;margin-bottom:15px}.history-filter select{flex:1;padding:8px;font-size:13px}.history-filter button{padding:9px}.history-card{border:1px solid #3c4238;border-radius:10px;overflow:hidden;margin-bottom:14px;background:#1c201b}.history-card video{width:100%;display:block;max-height:180px}.history-card>p{font-size:13px;line-height:1.7;padding:11px 12px;max-height:66px;overflow:hidden}.history-card>div:last-child{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 10px}.history-card button{font-size:12px;color:#cbdda9;padding:5px 0;white-space:nowrap}.history-card small{font-size:12px;color:#7f9272}.history-job-status{padding:28px;text-align:center;background:#2a2f25;color:#a4b895}.history-panel .h3-history-meta{padding:0 12px 8px}.history-panel .history-card>.h3-history-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:8px;padding:10px;border-top:1px solid #3c4238}.history-panel .h3-history-actions button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:42px;padding:8px;border:1px solid #49513f;border-radius:7px;background:#292e25;white-space:normal;line-height:1.5}.history-panel .h3-history-actions button:hover:not(:disabled){background:#343d2a;border-color:#91a96b}.history-panel .h3-history-actions button:disabled{opacity:.45;cursor:not-allowed}.history-panel>.muted{margin:10px 0;font-size:12px;line-height:1.6}.pagination{display:flex;justify-content:space-between;align-items:center;gap:5px}.pagination button{font-size:13px;padding:8px;border:1px solid #414b39;border-radius:6px}.field-heading{display:flex;align-items:center;justify-content:space-between;margin:20px 0 10px;color:#b2b8ae}.field-heading small{color:#819276;margin-left:6px}.field-heading button{padding:4px;border-radius:5px;color:#a9bd93}.title-input{font-size:12px!important;color:#868f7e!important}.title-input input{font-size:14px;margin-top:6px;width:100%;background:transparent;padding:8px 9px}.mode-tabs{display:flex;padding:4px;background:#16191b;border:1px solid #3a4035;border-radius:9px;gap:3px;margin-top:17px}.mode-tabs button{flex:1;font-size:13px;white-space:nowrap;border-radius:6px;padding:8px 4px;color:#949f8a}.mode-tabs button.chosen{background:#3d4a32;color:#d7e9c1}.reference-list{display:flex;flex-direction:column;gap:6px;margin-bottom:19px}.reference-row{display:flex;gap:5px;align-items:center;background:#1c211b;border:1px solid #3b4534;border-radius:7px;padding:7px}.ref-type{display:grid;place-items:center;width:22px;height:22px;flex-shrink:0;background:#3a4930;color:#c4d6b3;border-radius:4px;font-size:12px}.reference-row>span:nth-child(2){flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:#b6c3a9}.reference-row select{font-size:12px;width:84px;padding:3px;background:transparent;border-color:#49543f}.reference-row button{padding:4px;color:#91a87d}.reference-row small{font-size:12px}.empty-reference{font-size:12px;color:#6f7d66;text-align:center;border:1px dashed #45513b;border-radius:8px;padding:16px 8px}.generator-panel{width:340px;max-height:calc(100dvh - 178px);padding:18px;scrollbar-width:thin}.generator-panel textarea{min-height:105px;max-height:260px;margin-top:7px}.prompt-tools{display:flex;align-items:center;justify-content:space-between;margin:6px 0 13px}.prompt-tools button{font-size:12px;color:#b4c99c;padding:3px}.prompt-tools small{font-size:12px;color:#75846b}.merged-prompt,.advanced{font-size:13px;color:#a4b797;margin:12px 0}.merged-prompt summary,.advanced summary{cursor:pointer;padding:5px 0}.merged-prompt p{font-size:12px;line-height:1.8;white-space:pre-wrap;color:#8e9f82;padding:10px;max-height:150px;overflow:auto;background:#1b2118;margin-top:8px;border-radius:6px}.parameter-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px 10px;margin-top:20px}.parameter-grid label{font-size:12px;color:#8f9d84}.parameter-grid label:first-child{grid-column:1/-1}.parameter-grid select{display:block;margin-top:6px;width:100%;font-size:14px;padding:9px 7px;background:#1d231a;border-color:#414d37}.advanced label{font-size:13px;margin:13px 0}.advanced label span{float:right;color:#c1d6a7}.advanced input{width:100%;margin-top:7px;background:#1b2117;border-color:#425137}.advanced input[type=range]{accent-color:#bdde95;padding:0;cursor:pointer}.generation-footnote{text-align:center;font-size:12px;color:#77856d;margin:10px 0 0;line-height:1.7}.vertical-divider{width:1px;background:#ffffff16;margin:6px 4px}.selection-bar{position:absolute;left:50%;top:88px;transform:translate(-50%);display:flex;align-items:center;gap:5px;background:#2a3125;border:1px solid #526443;border-radius:9px;padding:7px;z-index:22;box-shadow:0 10px 30px #0003;white-space:nowrap}.selection-bar>span{font-size:12px;color:#94a983;padding:0 10px}.selection-bar button{padding:8px;border-radius:5px;font-size:13px}.selection-caption{position:absolute;top:90px;right:22px;display:flex;align-items:center;gap:10px;border:1px solid #46523d;background:#262e21;border-radius:10px;padding:10px;max-width:360px;z-index:22}.selection-caption span{font-size:12px;color:#93a683;white-space:nowrap}.selection-caption input{width:150px;background:#1b2118;border-color:#465a36;padding:7px;font-size:13px}.selection-caption button{font-size:12px;white-space:nowrap;padding:4px}.context-menu{position:absolute;z-index:40;width:215px;background:#2a2e26;border:1px solid #4c5940;border-radius:10px;padding:6px;box-shadow:0 16px 45px #0007}.context-menu button{width:100%;padding:12px 10px;justify-content:flex-start;border-radius:6px;font-size:14px}.context-menu small{margin-left:auto;font-size:12px;color:#849877}.toast{position:absolute;z-index:80;bottom:85px;left:50%;transform:translate(-50%);max-width:min(620px,calc(100vw - 30px));display:flex;align-items:center;gap:10px;line-height:1.7;background:#303b27;color:#d3e5bf;border:1px solid #62794a;border-radius:10px;padding:12px 16px;box-shadow:0 12px 40px #0006;font-size:14px}.toast>svg{flex-shrink:0}.toast>span{flex:1}.toast button{padding:4px}.workspace-loading{position:absolute;top:75px;right:0;bottom:0;left:0;z-index:30;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;background:#17181bec;color:#b8c5a8}.workspace-loading .error-box{max-width:500px}.canvas-opening{min-height:100dvh;background:#17181b}.canvas-opening .workspace-loading{position:fixed;top:0;right:0;bottom:0;left:0;padding:24px}.save-error-banner{position:absolute;top:74px;left:50%;transform:translate(-50%);z-index:40;display:flex;align-items:center;gap:10px;padding:10px;background:#4b322b;border:1px solid #915943;color:#edbea8;border-radius:8px;font-size:13px;max-width:calc(100vw - 40px)}.save-error-banner button{white-space:nowrap;text-decoration:underline}.upload-indicator{position:absolute;left:95px;bottom:120px;background:#323e29;border:1px solid #6a8055;border-radius:8px;padding:12px 18px;display:flex;align-items:center;gap:10px;color:#d4e4c0;z-index:60}@media(max-width:1050px){.canvas-bottom>span{display:none}.credit-count{display:none}.generator-panel{width:300px}.selection-caption{max-width:310px}.selection-caption input{width:125px}}@media(max-width:650px){.generator-panel{width:min(330px,calc(100vw - 78px));max-height:52dvh;bottom:80px;top:auto;padding:15px}.selection-caption{right:10px;top:78px;max-width:calc(100vw - 72px)}.selection-caption input{width:120px}.selection-bar{top:77px;left:62px;right:12px;transform:none;overflow:auto}.selection-bar>span{display:none}.selection-bar button{font-size:12px;padding:8px 5px}.floating-panel.history-panel{width:min(315px,calc(100vw - 74px))}.help-grid{grid-template-columns:1fr;gap:15px}.dialog-body{padding:20px}.canvas-bottom{left:68px;bottom:24px}.canvas-bottom .tool-segment button{width:29px}.node-actions{gap:1px}.save-error-banner{flex-wrap:wrap;width:calc(100vw - 24px)}.toast{bottom:76px}.account-button{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.platform-connect{border:1px solid #535d47;border-radius:8px;background:#2a3323;padding:9px 12px;font-size:14px;white-space:nowrap;color:#d4e7be}.provider-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.provider-intro h3{font-size:18px;margin:0 0 8px}.provider-intro p{font-size:14px;color:#9ca892;line-height:1.8}.primary.compact{width:auto;flex-shrink:0;white-space:nowrap}.provider-card{display:flex;align-items:center;gap:14px;background:#1d251a;border:1px solid #46563a;border-radius:11px;padding:18px;margin:12px 0}.provider-card>svg{color:#b8d598;flex-shrink:0}.provider-card>div{flex:1;min-width:0}.provider-card strong{font-size:16px}.provider-card p{font-size:13px;margin:6px 0;color:#98ad86}.provider-card.builtin{background:#232327;border-color:#47464e}.security-note{display:flex;align-items:flex-start;gap:10px;border-top:1px solid #414b39;padding-top:20px;margin-top:24px;color:#8ea17f;font-size:13px;line-height:1.9}.security-note svg{flex-shrink:0;margin-top:4px}.back-link{color:#b7d19b;font-size:14px;padding:0 0 12px}.provider-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.provider-form-grid label{font-size:14px}.provider-form-grid select,.provider-form-grid input{width:100%;display:block;margin-top:8px}.provider-form-grid .span-two{grid-column:1/-1}.provider-form-grid small{line-height:1.8;display:block;margin-top:6px}.canvas-dialog label.check-label{display:flex;align-items:center;gap:9px;font-size:13px;color:#a6b798;margin:10px 0}.canvas-dialog .check-label input{width:16px;height:16px;margin:0;accent-color:#c2e79a}.model-editor{display:grid;grid-template-columns:85px 1fr 1fr 45px;gap:8px;padding:12px;background:#1b2117;border:1px solid #455b35;border-radius:9px;margin:10px 0}.model-editor input{margin:0;padding:8px;font-size:14px}.model-editor select{font-size:14px;padding:7px}.model-editor button{font-size:13px;color:#b7ac9c}.model-detail{grid-column:1/-1}.image-edit-capability{display:grid;gap:10px}.image-edit-capability label{display:grid;gap:6px;font-size:14px;min-width:0}.image-edit-capability small{font-size:12px;line-height:1.6;color:#b7c0ac}.image-edit-capability select{width:100%;min-width:0}.code-input{font-family:Consolas,monospace;font-size:13px;line-height:1.7;width:100%;margin-top:8px;-moz-tab-size:2;tab-size:2}.success-box{font-size:14px;line-height:1.8;border:1px solid #637f47;background:#2c4021;color:#c1dfa7;border-radius:8px;padding:12px;margin-top:15px}.provider-node-config{border-bottom:1px solid #434f3a;padding-bottom:18px;margin-bottom:17px}.provider-node-config select{width:100%;margin-top:8px;font-size:14px}.provider-node-config small{display:block;font-size:12px;margin-top:8px;color:#8d9c80;line-height:1.8}.platform-inspector textarea{min-height:160px}.platform-inspector .parameter-grid label:first-child{grid-column:auto}.run-state{padding:12px;font-size:13px;border:1px solid #526440;background:#293521;border-radius:8px;margin:12px 0;line-height:1.8}.run-state button{padding:6px;color:#cfe4b8;text-decoration:underline}.platform-run-card{border:1px solid #414e37;border-radius:10px;background:#1e2619;margin:12px 0;padding:13px}.platform-run-card header{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-bottom:10px}.platform-run-card h3{font-size:14px;color:#d5e4c9;margin:0}.platform-run-card p{font-size:13px;line-height:1.8;color:#a5b698;white-space:pre-wrap;max-height:180px;overflow:auto}.platform-run-card img,.platform-run-card video{width:100%;max-height:160px;object-fit:contain}.platform-run-card audio{width:100%}.platform-run-card footer{display:flex;align-items:center;gap:8px;margin-top:10px}.platform-run-card footer small{flex:1}.platform-run-card footer button{font-size:12px;color:#c7dfa9;padding:5px}.run-heading{display:flex;gap:10px;margin-bottom:16px;align-items:center}.run-heading select{flex:1}.model-summary{display:flex;align-items:center;gap:10px;color:#c6d9b4;line-height:1.8;font-size:14px;padding:12px;border-radius:8px;background:#303e25}.output-version{display:flex;gap:5px;padding:7px 9px;overflow:auto;border-top:1px solid #3d4e31}.output-version button{font-size:12px;white-space:nowrap;background:#2c3823;border:1px solid #4e633d;border-radius:5px;padding:5px 8px}.output-version button.chosen{background:#4a6336;color:#d7f7af}.generic-tag{color:#94b780;font-size:12px}.canvas-top .service-chip{display:none}@media(max-width:760px){.provider-intro{display:block}.provider-intro .primary{margin-top:12px}.provider-form-grid{grid-template-columns:1fr}.provider-form-grid .span-two{grid-column:auto}.model-editor{grid-template-columns:85px 1fr 40px}.model-editor input:nth-of-type(2){grid-column:1/3;grid-row:2}.model-editor>button{grid-column:3;grid-row:1/3}.model-detail{grid-column:1/-1}.provider-card{padding:12px;gap:10px}.provider-card>svg{display:none}.platform-connect{font-size:12px;padding:8px}.platform-connect svg{display:none}.canvas-top .project-name{max-width:140px}.canvas-top .save-state{display:none}.account-button{max-width:95px}}.h3-candidates{margin:12px 0;padding:12px;border:1px solid var(--border, #3c4233);border-radius:10px;font-size:14px;line-height:1.5}.h3-candidates ol{list-style:none;padding:0;margin:8px 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:6px}.h3-candidates li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;padding:6px;background:#242722;border-radius:5px}.h3-candidates li[data-state=failed]{color:#edbc9a}.h3-candidates li[data-state=succeeded]{color:#d0e8a4}.h3-candidates p{margin:8px 0 0}.run-state.partial{color:#edbc9a}.run-filters{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin-bottom:14px}.run-filters input{grid-column:1/-1}.row-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.row-actions .secondary{font-size:12px;padding:8px 10px;min-height:32px;text-decoration:none}.platform-run-list{max-height:56vh;overflow-y:auto}.platform-run-card pre,.run-output pre,.confirm-parameters{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;font-size:13px;line-height:1.8;background:#171b15;border-radius:8px;padding:12px;font-family:inherit}.platform-run-card summary,.platform-node-history summary{cursor:pointer;font-size:13px;line-height:1.8;color:#bdcdb0}.platform-run-card .run-state{margin:0;padding:5px 9px;font-size:12px;white-space:nowrap}.run-state.failed,.run-state.needs_attention{color:#ffceae;border-color:#987153}.platform-node-history{border-top:1px solid #404737;padding-top:16px;margin-top:20px}.platform-node-history h3{font-size:14px}.platform-node-history details{margin:12px 0}.output-version{display:block}.output-version img,.output-version video{width:100%;max-height:240px;object-fit:contain;border-radius:7px}.output-version audio{width:100%}.output-version>span{font-size:12px;color:#afbea3;overflow-wrap:anywhere}.platform-inspector>label>select{width:100%;display:block;margin-top:8px}.platform-inspector input[type=checkbox]{width:18px;height:18px}.platform-inspector>label{margin-bottom:14px}.platform-run-card small{overflow-wrap:anywhere}.platform-inspector .reference-row>span:nth-child(2){flex:1}.platform-inspector .secondary.full{margin-bottom:12px}@media(max-width:760px){.run-filters{grid-template-columns:1fr 1fr}.platform-run-card header{align-items:flex-start}.canvas-top{gap:8px!important}.canvas-top .project-name{max-width:100px}.canvas-top .account-button{font-size:11px;max-width:80px}.platform-connect{max-width:90px}}.h3-queue{font-size:.875rem;line-height:1.6;padding:12px;border:1px solid #555a46;border-radius:10px;background:#25291f;overflow-wrap:anywhere}.h3-queue p{margin:8px 0}.h3-queue strong{color:#dbf1ae}.h3-queue button{min-height:38px}section.h3-queue,section.h3-queue p,section.h3-queue strong,section.h3-queue button{font-size:max(14px,1rem);line-height:1.6}.workspace-views{display:flex;gap:3px;padding:3px;border:1px solid var(--border);border-radius:9px;background:#191b1e}.module-loading{position:fixed;z-index:100;right:24px;bottom:24px;display:flex;gap:12px;align-items:center;padding:16px 22px;border:1px solid var(--border);border-radius:10px;background:#252a30;box-shadow:0 10px 35px #0006}.node-local-panel{position:absolute;z-index:22;overflow:auto;border:1px solid #566047;border-radius:14px;background:#24262afc;box-shadow:0 18px 50px #0007;scrollbar-width:thin}@media(max-width:759px){.node-local-panel{z-index:25}}.local-panel-anchor{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:8px 14px;border-bottom:1px solid #444a3e;color:#b2c39a;font-size:12px}.local-panel-anchor span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.local-panel-anchor button{padding:4px}.node-local-panel .generator-panel{position:static;overflow:visible;inset:auto;width:100%;max-height:none;border:0;border-radius:0;box-shadow:none;margin:0}.node-local-panel .panel-title{margin-bottom:12px}.script-editor{display:grid;gap:16px}.canvas-dialog:has(.script-editor){width:min(1320px,96vw);max-width:96vw}.script-tabs,.script-summary,.script-batch,.script-save{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.script-tabs{border-bottom:1px solid var(--border);padding-bottom:12px}.script-tabs button{padding:9px 12px;border-radius:7px}.script-tabs button[aria-pressed=true]{background:#465139;color:#e3f5cd}.script-summary{justify-content:space-between;color:var(--muted)}.script-editor label{display:grid;gap:8px}.script-editor textarea{width:100%;resize:vertical;min-height:80px}.script-batch label{display:flex;align-items:center}.script-batch input[type=checkbox],.shot-table input[type=checkbox]{width:auto}.script-batch button,.script-summary button{padding:8px 10px;border:1px solid var(--border);border-radius:7px}.shot-table-scroll{overflow:auto;max-height:48vh;border:1px solid var(--border);border-radius:10px}.shot-table{border-collapse:collapse;width:max-content;min-width:100%}.shot-table th{position:sticky;top:0;z-index:2;background:#292e34;font-weight:500;white-space:nowrap}.shot-table th,.shot-table td{padding:10px;border-bottom:1px solid var(--border);border-right:1px solid var(--border);vertical-align:top}.shot-table textarea{width:190px;min-height:130px;font-size:12px;line-height:1.6}.shot-table td:first-child{min-width:125px}.shot-table td:nth-child(2){width:120px}.shot-table small{display:block;margin-bottom:10px;white-space:nowrap}.shot-actions{display:flex;gap:6px;margin-top:16px}.shot-actions button{padding:6px}.shot-asset-check{display:flex!important;align-items:center;white-space:nowrap;margin-bottom:10px}.script-assets{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.script-assets section{display:grid;gap:12px;padding:16px;border:1px solid var(--border);border-radius:10px}.script-assets header{display:flex;justify-content:space-between}.script-save{justify-content:space-between;border-top:1px solid var(--border);padding-top:16px}.script-save small{max-width:70%;line-height:1.7;color:var(--muted)}.script-empty{padding:40px;text-align:center;color:var(--muted)}.script-node-summary{display:grid;gap:14px;padding:22px;min-height:185px;background:linear-gradient(140deg,#2c302a,#23262b)}.script-node-summary p{line-height:1.7;white-space:pre-wrap;font-size:12px;color:#b8c0af}.script-node-summary small{color:var(--muted)}.script-node-summary button{padding:8px;border:1px solid #637055;border-radius:7px;color:#d6ebc0}.workspace-views button{padding:7px 12px;border-radius:6px;white-space:nowrap}.workspace-views button[aria-pressed=true]{background:#393e45;color:#fff}.derive-options{display:grid;gap:10px;margin-top:20px}.derive-options>button{padding:16px;border:1px solid var(--border);border-radius:10px;justify-content:flex-start;text-align:left}.derive-options span{display:grid;flex:1;gap:6px}.derive-options small{font-size:14px}.storyboard{position:absolute;top:70px;right:0;bottom:0;left:0;z-index:4;background:#15171a;display:flex;flex-direction:column;padding:20px}.storyboard-heading{display:flex;align-items:center;gap:18px;margin-bottom:20px;flex-wrap:wrap}.storyboard-heading>div{margin-right:auto}.storyboard-heading p{margin-top:6px;color:var(--muted)}.storyboard-search{display:flex;align-items:center;gap:8px}.storyboard-search input{width:220px}.storyboard-columns{display:grid;grid-template-columns:repeat(4,minmax(245px,1fr));gap:14px;flex:1;min-height:0;overflow-x:auto}.storyboard-column{background:#202328;border:1px solid #33373e;border-radius:12px;display:flex;flex-direction:column;min-height:0}.storyboard-column>header{display:flex;align-items:center;justify-content:space-between;padding:8px 16px;border-bottom:1px solid var(--border)}.storyboard-column h3{display:flex;gap:8px;align-items:center;font-size:15px}.storyboard-column h3 small{color:var(--muted)}.storyboard-list{overflow-y:auto;padding:12px}.storyboard-card{background:#282c32;border:1px solid #3c424a;border-radius:9px;margin-bottom:12px;overflow:hidden}.storyboard-title{width:100%;justify-content:space-between;text-align:left;padding:13px;font-weight:600}.storyboard-title span{overflow-wrap:anywhere}.storyboard-card img,.storyboard-card video{width:100%;max-height:240px;display:block;object-fit:contain;background:#101114}.storyboard-card audio{width:100%}.storyboard-text{white-space:pre-wrap;padding:4px 14px 14px;font-size:16px;line-height:1.75;max-height:300px;overflow:auto;overflow-wrap:anywhere}.storyboard-meta{display:flex;gap:8px;padding:10px 13px;color:var(--muted);font-size:12px}.storyboard-references{display:flex;flex-wrap:wrap;gap:5px;padding:0 12px 10px}.storyboard-references button{border:1px solid #4c535e;border-radius:6px;padding:5px 7px;font-size:12px;text-align:left}.storyboard-open{border-top:1px solid var(--border);width:100%;padding:11px;color:var(--accent);font-size:14px}.storyboard-empty{padding:25px 15px;color:var(--muted);text-align:center;line-height:1.6}.view-storyboard .canvas-tools,.view-storyboard .canvas-bottom,.view-storyboard .selection-bar,.view-storyboard .selection-caption{display:none}@media(max-width:900px){.workspace-views{position:fixed;top:74px;right:16px;z-index:15}.storyboard{top:116px;right:0;bottom:0;left:0;padding:12px}.storyboard-columns{grid-template-columns:repeat(4,280px)}.storyboard-search input{width:170px}}.studio-shell{--accent: #ededed;--muted: #999;--border: #3a3a3a;background:#121212}.studio-shell .react-flow{--xy-background-color: #121212;--xy-edge-stroke: #666;--xy-edge-label-background-color: #242424;--xy-edge-label-color: #aaa;--xy-selection-background-color: #ffffff08;--xy-selection-border: 1px solid #aaa}.studio-shell.edges-hidden .react-flow__edges{visibility:hidden;pointer-events:none}.studio-shell .canvas-top{container-type:inline-size;height:64px;padding:12px 16px;gap:7px;background:none;pointer-events:none}.studio-shell .canvas-top>*{pointer-events:auto}.studio-shell .brand-mark{font-size:25px;padding:8px 12px;background:#232323;border-radius:8px 0 0 8px}.studio-shell .brand-mark span{color:#eee}.studio-shell .project-name{max-width:220px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:#232323;margin-left:-7px;font-size:13px;gap:8px;height:38px;border-radius:0 8px 8px 0}.studio-shell .save-state{display:inline-flex;flex-shrink:0;font-size:11px;margin-left:4px}.studio-shell .workspace-views{background:#232323;border-color:#303030}.studio-shell .workspace-views button{font-size:12px;padding:6px 9px}.studio-shell .workspace-views button[aria-pressed=true]{background:#404040}.studio-shell .canvas-agent-button{padding:8px 12px;height:36px;border:1px solid #383838;border-radius:8px;background:#232323;font-weight:600}.studio-shell .platform-connect{background:#232323;border-color:#383838;color:#bbb;padding:9px}.studio-shell .platform-connect>span{display:none}.studio-shell .platform-connect svg{display:block}.studio-shell .studio-account-button{max-width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px}.studio-shell .account-button{border-radius:8px;background:#232323;border-color:#383838;color:#ccc;font-size:12px;padding:9px}@container (max-width: 950px){.canvas-top .project-name{max-width:130px}.canvas-top .save-state>span,.canvas-top .studio-account-button>span{display:none}.canvas-top .canvas-agent-button{font-size:0;padding:8px}.canvas-top .workspace-views button{padding:6px}}@container (max-width: 620px){.canvas-top .workspace-views{order:20;margin-right:auto}.canvas-top .account-button{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@container (max-width: 260px){.canvas-top .workspace-views{flex-wrap:wrap;max-width:100%}.canvas-top .workspace-views button{flex:1;white-space:nowrap}}.studio-shell .service-chip{display:none}.studio-shell .canvas-tools.creative-dock{left:50%;top:auto;bottom:12px;transform:translate(-50%);flex-direction:row;gap:3px;padding:7px;background:#262626f5;border-color:#373737;border-radius:13px}.creative-dock>button,.dock-popover>summary{width:35px;height:35px;border-radius:7px;display:flex;align-items:center;justify-content:center;color:#bcbcbc;cursor:pointer;list-style:none}.dock-popover>summary::-webkit-details-marker{display:none}.creative-dock>button:first-child{background:#eee;color:#222}.creative-dock>button[aria-expanded=true],.dock-popover[open]>summary,.canvas-viewport-tools button[aria-pressed=true]{color:#fff;background:#454545}.dock-popover{position:relative}.dock-popover>summary:hover{background:#ffffff0d}.dock-popover>summary:focus-visible{outline:2px solid #ddd;outline-offset:3px}.dock-divider{width:1px;background:#424242;margin:7px 4px}.dock-menu{position:absolute;bottom:calc(100% + 14px);left:0;min-width:210px;background:#252525;border:1px solid #404040;box-shadow:0 12px 40px #0008;border-radius:10px;padding:6px}.studio-shell .dock-menu>button{width:100%;height:auto;min-height:36px;justify-content:flex-start;padding:9px 10px;font-size:13px;background:transparent;color:#ddd;white-space:nowrap}.studio-shell .dock-menu>button:hover{background:#383838}.dock-menu button small{margin-left:auto}.canvas-viewport-tools{position:absolute;z-index:24;display:flex;align-items:center;gap:2px;bottom:20px;left:18px}.canvas-viewport-tools:has(.zoom-menu[open]){z-index:27}.canvas-viewport-tools button{padding:7px;color:#999;border-radius:6px;font-size:12px}.canvas-viewport-tools .zoom-menu>summary{font-size:12px;color:#ddd;width:60px;gap:4px;font-weight:600}.studio-shell.view-workflow.agent-open .canvas-viewport-tools,.studio-shell.view-workflow.agent-open.workspace-open .canvas-viewport-tools{bottom:70px}@media(min-width:760px)and (max-width:860px){.studio-shell.view-workflow .canvas-viewport-tools{bottom:70px}}.viewport-history{display:flex;margin-left:6px}.studio-shell .react-flow__minimap{bottom:54px;left:0;background:#252525!important}.studio-shell .floating-panel{background:#252525;border-color:#3a3a3a;left:18px;top:76px;bottom:80px;max-height:none;width:330px;border-radius:12px}.studio-shell .floating-panel.panel-add{left:50%;transform:translate(-50%);top:auto;bottom:78px;max-height:calc(100dvh - 154px)}.studio-shell .floating-panel.panel-projects{bottom:auto;max-height:calc(100dvh - 160px)}.studio-shell .floating-panel.history-panel{width:370px}.studio-shell .selection-bar{bottom:78px}.studio-shell .react-flow__handle{background:#999;border-color:#121212;width:11px;height:11px}.studio-shell .media-node{border:0;box-shadow:none;background:transparent;border-radius:7px}.studio-shell .media-node.active{border:0;box-shadow:none}.studio-shell .media-node header{height:30px;padding:0 2px;color:#aaa;font-size:12px;gap:6px}.studio-shell .kind-icon{background:none;color:#999;width:14px;height:18px}.studio-shell .media-node.active header{color:#ddd}.studio-shell .node-media{border-radius:7px;background:#242424;min-height:120px}.studio-shell .node-media img,.studio-shell .node-media video{object-fit:contain;max-height:330px}.studio-shell .media-node.active>.node-media,.studio-shell .media-node.active>.node-empty,.studio-shell .media-node.active>.node-text{outline:1px solid #b5b5b5;outline-offset:2px}.studio-shell .node-empty{background:#252525;color:#777;border-radius:7px}.studio-shell .node-empty strong{color:#aaa}.studio-shell .node-text{background:#1b1b1b;border:1px solid #333;border-radius:7px;padding:15px}.studio-shell .media-node footer{height:28px;background:none;padding:0 1px;font-size:11px;color:#777}.studio-shell .media-node:not(.active) .node-derive{opacity:0}.studio-shell .media-node:hover .node-derive{opacity:1}.studio-shell .node-status{font-size:11px}.studio-shell .node-dimensions{font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.studio-shell .version-strip{border-top:0;background:#1e1e1e;margin-top:6px;border-radius:6px}.studio-shell .node-actions{background:#252525;border-color:#3d3d3d}.studio-shell .node-actions .node-run{background:#eee;color:#222}.studio-shell .node-context-toolbar{z-index:23}.studio-shell .node-context-toolbar .node-actions{position:static;max-width:calc(100vw - 32px);flex-wrap:wrap;gap:2px;padding:6px;border-radius:11px}.studio-shell .node-context-toolbar button{font-size:12px;gap:5px;white-space:nowrap;padding:8px}.node-tool-menu{position:relative}.node-tool-menu>summary{list-style:none;display:flex;align-items:center;gap:5px;padding:8px;cursor:pointer;font-size:12px;color:#ddd;border-radius:6px}.node-tool-menu>summary::-webkit-details-marker{display:none}.node-tool-menu>summary:hover{background:#383838}.node-tool-menu>div{position:absolute;top:calc(100% + 10px);left:0;min-width:170px;background:#282828;border:1px solid #414141;box-shadow:0 8px 30px #0008;border-radius:9px;padding:5px}.node-tool-menu>div button{display:flex;width:100%;justify-content:flex-start}.studio-shell .node-local-panel{background:#252525fc;border-color:#3b3b3b;border-radius:17px}.studio-shell .local-panel-anchor{position:absolute;right:47px;top:12px;padding:0;border:0;z-index:2;color:#999}.studio-shell .local-panel-anchor>span{display:none}.studio-shell .node-local-panel .node-composer{padding:12px 16px 0}.studio-shell .composer-title{margin-bottom:5px;padding-right:0}.studio-shell .composer-title input{max-width:calc(100% - 65px);font-size:12px;font-weight:400;color:#999}.studio-shell .composer-title>button{margin-left:auto}.studio-shell .reference-tile{flex-basis:64px}.studio-shell .reference-preview{height:52px;border-color:#444;background:#1d1d1d}.studio-shell .reference-preview b{top:3px;bottom:auto;left:3px;border-radius:3px;font-size:10px;padding:1px 3px}.studio-shell .reference-name,.studio-shell .reference-preview span{font-size:10px}.studio-shell .reference-settings summary{color:#aaa;font-size:10px}.studio-shell .reference-empty{width:auto;padding:10px 14px;font-size:12px;border-color:#494949;color:#aaa}.studio-shell .composer-references .field-heading{font-size:12px;justify-content:flex-start;gap:10px}.studio-shell .composer-references .field-heading button{font-size:12px;border-radius:16px;background:#313131;padding:5px 9px}.studio-shell .node-composer>label{font-size:0;margin-top:8px}.studio-shell .node-composer textarea{border:0;background:transparent;padding:8px 0;min-height:80px;font-size:14px;resize:vertical}.studio-shell .node-composer .prompt-tools{font-size:11px;margin-bottom:6px}.studio-shell .node-composer .prompt-tools button{font-size:12px}.studio-shell .merged-prompt{font-size:11px;color:#888}.studio-shell .composer-controls{display:flex;align-items:start;gap:7px;flex-wrap:wrap;margin-top:12px;position:sticky;bottom:60px;z-index:2;background:#252525;padding:6px 0}.studio-shell .composer-controls:has(details[open]){position:static}.studio-shell .composer-model{flex:1 1 180px;max-width:220px}.studio-shell .node-composer .composer-model select{padding:8px;background:#2c2c2c;border:1px solid #404040;font-size:12px}.studio-shell .composer-specs{flex:1 1 230px;border-color:#404040;margin:0;background:#2c2c2c}.studio-shell .composer-specs>summary{font-size:12px;padding:9px;color:#ccc;white-space:nowrap}.studio-shell .composer-specs[open]{flex-basis:100%}.studio-shell .composer-mode{background:#2c2c2c;border:1px solid #404040;border-radius:8px;font-size:12px}.studio-shell .composer-mode>summary{padding:9px;cursor:pointer;white-space:nowrap}.studio-shell .composer-mode[open]{flex-basis:100%}.studio-shell .node-composer .mode-switch{border:0;background:transparent;margin:0}.studio-shell .node-composer .mode-switch button[aria-pressed=true]{background:#484848;color:#fff}.studio-shell .composer-submit{display:flex;flex-direction:row-reverse;align-items:center;gap:12px;background:#252525;padding:12px 0}.studio-shell .composer-submit>.primary{width:auto;min-height:34px;padding:9px 13px;border-radius:10px;background:#eee;color:#222;white-space:nowrap;font-size:12px}.studio-shell .composer-submit .generation-footnote{flex:1;text-align:left;margin:0;font-size:11px;color:#888}.studio-shell .node-composer .composer-versions{margin-top:6px;padding:9px 0;border-color:#393939}.studio-shell .node-composer .composer-versions summary{font-size:12px}.studio-shell .composer-provider-link{color:#aaa;font-size:12px}@media(max-width:1150px){.studio-shell .save-state>span{display:none}.studio-shell .project-name{max-width:160px}.studio-shell .studio-account-button>span{display:none}.studio-shell .studio-account-button{display:inline-flex;width:34px;height:34px;padding:8px;background:#252525;border-radius:50%}.canvas-viewport-tools>button>span,.viewport-history{display:none}}@media(max-width:759px){.studio-shell .node-context-toolbar:has(.node-actions){position:fixed!important;left:12px!important;right:12px;top:auto!important;bottom:120px;transform:none!important;width:calc(100vw - 24px);z-index:26}.studio-shell .node-context-toolbar:has(.node-actions) .node-tool-menu>div{top:auto;bottom:calc(100% + 10px)}.studio-shell .canvas-top{height:104px;align-content:start;flex-wrap:wrap;padding:10px 12px;gap:6px}.studio-shell .canvas-top .top-spacer{flex:1}.studio-shell .workspace-views{order:20;margin-right:auto}.studio-shell .account-button{font-size:11px;padding:7px}.studio-shell .canvas-agent-button{font-size:0;padding:8px}.studio-shell .creative-dock{bottom:10px;max-width:calc(100vw - 24px)}.studio-shell .creative-dock>button,.creative-dock .dock-popover>summary{width:33px;height:33px}.canvas-viewport-tools{bottom:70px;left:12px;background:#222c;border-radius:7px}.studio-shell .floating-panel,.studio-shell .floating-panel.history-panel{left:12px;right:12px;width:auto;top:112px;bottom:115px}.studio-shell .floating-panel.panel-add{left:12px;right:12px;transform:none;top:auto;bottom:115px;max-height:calc(100dvh - 240px)}.studio-shell .node-local-panel{z-index:25}.studio-shell .local-panel-anchor{right:44px}.studio-shell .composer-controls{gap:6px}.studio-shell .composer-model{flex-basis:150px}.studio-shell .composer-specs{flex-basis:100%}.studio-shell .composer-submit{gap:8px}.studio-shell .composer-submit>.primary{max-width:68%;white-space:normal}.studio-shell .react-flow__minimap{bottom:112px}}.canvas-dialog:has(.node-results){width:min(1120px,calc(100vw - 24px));background:#202125}.node-results{font-size:14px}.results-heading,.results-filters,.results-detail header{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.results-heading{margin-bottom:16px}.results-heading>span{margin-left:auto;color:#a7acb5}.results-filters{margin-bottom:18px}.results-filters label{margin:0;display:flex;align-items:center;gap:10px}.results-filters select{width:auto;margin:0}.results-filters button{display:flex;align-items:center;gap:6px;padding:8px 10px;border-radius:7px}.results-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:22px}.results-list{max-height:64dvh;overflow:auto;padding:3px}.results-list .pagination{position:sticky;bottom:0;background:#202125;padding:9px 0 3px;margin:0}.node-results .results-item{width:100%;display:flex;align-items:center;gap:10px;text-align:left;border:1px solid #3d424a;border-radius:8px;background:#26292f;padding:10px;margin-bottom:9px}.node-results .results-item.selected{border-color:#c6dfa1;background:#30372b}.results-item>svg{flex-shrink:0;color:#afb9c8;width:52px}.results-item>img{width:64px;height:64px;object-fit:cover;border-radius:5px}.results-item>span{min-width:0;display:flex;flex-direction:column;gap:5px}.results-item strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.results-item small,.results-item time{color:#b0b7c2;font-size:12px}.results-detail{min-width:0;max-height:64dvh;overflow:auto;padding:3px}.results-detail>header{justify-content:space-between;position:sticky;top:0;z-index:2;padding:10px 0;background:#202125;border-bottom:1px solid #42464c}.results-detail>header strong{overflow-wrap:anywhere}.results-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:250px;overflow:auto;font:inherit;line-height:1.7}.results-detail details{margin:14px 0}.results-detail summary{cursor:pointer}.results-detail .run-output img,.results-detail .run-output video{width:100%;max-height:350px;object-fit:contain;background:#111}.results-detail .run-output audio{width:100%}.results-message{color:#cee5ad}.node-results .result-next{border-top:1px solid #42464c;padding-top:12px}.result-next>summary{font-size:14px;min-height:32px;color:#d7edb0}.result-next>p{font-size:16px;line-height:1.6;color:#b6bdc7}.result-next-actions{display:flex;flex-wrap:wrap;gap:8px}.result-next-actions>button{min-height:40px;font-size:14px;padding:9px 12px}.result-next-actions>button:focus-visible{outline:2px solid #d7efa8;outline-offset:2px}.node-results .results-edit-projects button{display:block;width:100%;min-height:42px;margin-top:8px;padding:10px 12px;border:1px solid #606c50;border-radius:7px;background:#30382a;color:#dcedc7;text-decoration:none;text-align:left}.node-results .results-edit-projects button:disabled{opacity:.55;cursor:not-allowed}.node-results .results-edit-projects button:focus-visible{outline:2px solid #d7efa8;outline-offset:2px}.node-result-source{display:flex;gap:10px;padding:6px 0;font-size:12px}.node-result-source button{color:#b9c8a9;padding:4px 8px;background:#282d25;border-radius:5px}@media(max-width:650px){.result-next-actions{flex-direction:column}.results-layout{grid-template-columns:1fr;gap:15px}.results-list{max-height:220px}.results-detail{max-height:none;overflow:visible}.results-heading>span{margin-left:0}}.studio-shell.canvas-app{overflow:clip}.studio-shell{--canvas-chrome-surface: #262626;--canvas-chrome-border: #363636;--canvas-chrome-text: #fff;--canvas-chrome-muted: #919191;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Helvetica,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Noto Sans CJK SC,sans-serif;background:#141414}.studio-shell .react-flow{--xy-background-color: #141414;--xy-selection-background-color: #ffffff08;--xy-selection-border: 1px solid #b5b5b5}.studio-shell .canvas-top{height:64px;min-height:0;padding:16px;align-items:flex-start;gap:8px;background:transparent;color:var(--canvas-chrome-text);font-size:12px;line-height:1}.studio-shell .canvas-top [hidden]{display:none!important}.studio-shell .canvas-top-left,.studio-shell .canvas-top-right{display:flex;align-items:center;gap:8px;min-width:0;pointer-events:auto}.studio-shell .canvas-top-left{flex:0 1 auto}.studio-shell .canvas-top-right{margin-left:auto;flex:0 0 auto}.studio-shell .project-capsule{display:inline-flex;flex-shrink:1;align-items:center;min-width:0;height:32px;padding:0 7px;border:1px solid var(--canvas-chrome-border);border-radius:7px;background:var(--canvas-chrome-surface);box-shadow:0 1px 2px #0002}.studio-shell .brand-mark{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;height:32px;width:35px;padding:0 6px;border:1px solid var(--canvas-chrome-border);border-right:0;border-radius:7px 0 0 7px;background:var(--canvas-chrome-surface);font-size:22px;font-weight:750;line-height:1;letter-spacing:-2px;color:#ededed}.studio-shell .brand-mark span{margin-left:1px;color:#ededed}.studio-shell .project-name{flex:0 1 auto;min-width:0;max-width:218px;height:32px;margin-left:-8px;padding:0 10px;gap:7px;border:1px solid var(--canvas-chrome-border);border-left:0;border-radius:0 7px 7px 0;background:var(--canvas-chrome-surface);color:#dedede;font-size:12px;font-weight:600;line-height:30px}.studio-shell .project-name>span,.studio-shell .project-name .project-title{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.studio-shell .project-name>svg{flex-shrink:0;width:12px;height:12px;color:#999}.studio-shell .project-capsule .brand-mark,.studio-shell .project-capsule .project-name{height:30px;margin:0;padding-left:6px;padding-right:6px;border:0;border-radius:4px;background:transparent}.studio-shell .canvas-name{display:inline-flex;align-items:center;flex-shrink:0;gap:5px;height:20px;margin-left:4px;padding:0 5px 0 10px;border-left:1px solid #414141;font-size:12px;font-weight:500;white-space:nowrap;color:#cfcfcf}.studio-shell .canvas-top .workspace-views{position:static;inset:auto;transform:none;display:inline-flex;align-items:center;flex:0 0 auto;order:0;height:32px;margin:0;padding:3px;gap:2px;background:var(--canvas-chrome-surface);border:1px solid var(--canvas-chrome-border);border-radius:7px}.studio-shell .canvas-top .workspace-views>button{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:24px;padding:0 5px;gap:4px;border-radius:4px;color:#999;font-size:11px;font-weight:500}.studio-shell .canvas-top .workspace-views>button>svg{width:16px;height:16px}.studio-shell .canvas-top .workspace-views>button[aria-pressed=true]{background:#3b3b3b;color:#ddd}.studio-shell .canvas-top .save-state,.studio-shell .canvas-top .header-icon-button,.studio-shell .canvas-top .platform-connect{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:32px;height:32px;margin:0;padding:0;border:1px solid var(--canvas-chrome-border);border-radius:7px;background:var(--canvas-chrome-surface);color:#bdbdbd;gap:5px}.studio-shell .canvas-top .save-state>span,.studio-shell .canvas-top .header-icon-button>span,.studio-shell .canvas-top .platform-connect>span{display:none}.studio-shell .canvas-top .save-state.error{width:auto;max-width:150px;padding:0 8px;border-color:#775343;color:#e9ad90}.studio-shell .canvas-top .save-state.error>span{display:inline;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.studio-shell .canvas-top .account-button{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;height:32px;min-width:61px;max-width:170px;padding:0 10px;gap:5px;border:1px solid var(--canvas-chrome-border);border-radius:7px;background:var(--canvas-chrome-surface);color:#ddd;font-size:12px;font-weight:600;white-space:nowrap}.studio-shell .canvas-top .account-button .credit-count{display:inline;margin:0;padding:0;border:0;font-size:12px;font-weight:600;color:#dedede;font-variant-numeric:tabular-nums}.studio-shell .canvas-top .account-button>svg{display:block;flex-shrink:0}.studio-shell .canvas-top .studio-account-button{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:28px;height:28px;margin:2px 1px;padding:0;border:1px solid #444;border-radius:50%;background:#333;color:#d7d7d7}.studio-shell .canvas-top .studio-account-button>span{display:none}.studio-shell .canvas-top .canvas-agent-button{display:inline-flex;align-items:center;flex:0 0 auto;gap:7px;height:32px;padding:0 10px;border:1px solid var(--canvas-chrome-border);border-radius:7px;background:var(--canvas-chrome-surface);color:#e3e3e3;font-size:12px;font-weight:600}.studio-shell .canvas-top .canvas-agent-button>svg{width:17px;height:17px}.studio-shell .canvas-tools.creative-dock{top:auto;bottom:12px;left:50%;transform:translate(-50%);height:auto;min-height:48px;max-width:calc(100vw - 16px);padding:8px;gap:8px;flex-direction:row;align-items:center;border:.5px solid #363636;border-radius:12px;background:#262626;box-shadow:0 2px 8px #0002}.studio-shell .creative-dock>button,.studio-shell .creative-dock>.dock-popover>summary{display:inline-flex;flex:0 0 32px;align-items:center;justify-content:center;width:32px;height:32px;min-width:0;min-height:0;padding:0;border-radius:8px;color:#ffffffd9}.studio-shell .creative-dock>button>svg,.studio-shell .creative-dock>.dock-popover>summary>svg{width:16px;height:16px;stroke-width:1.8}.studio-shell .creative-dock>button:first-child{background:#ffffffe6;color:#141414}.studio-shell .creative-dock>button:first-child>svg{width:16px;height:16px;stroke-width:1.8}.studio-shell .creative-dock>button[aria-expanded=true],.studio-shell .creative-dock>.dock-popover[open]>summary{background:#ffffff26;color:#fff}.studio-shell .creative-dock>button:first-child[aria-expanded=true]{background:#fff;color:#161616}.studio-shell .creative-dock .dock-divider{flex:0 0 1px;width:1px;height:20px;margin:0;background:#393939}.studio-shell .canvas-viewport-tools{bottom:14px;left:24px;height:30px;gap:2px;color:#929292;background:transparent;border:0;border-radius:0}.studio-shell .canvas-viewport-tools>button,.studio-shell .canvas-viewport-tools>.dock-popover>summary{height:30px;padding:0 6px;color:#929292;border-radius:5px;font-size:12px}.studio-shell .canvas-viewport-tools>button>svg,.studio-shell .canvas-viewport-tools>.dock-popover>summary>svg{width:15px;height:15px;stroke-width:1.7}.studio-shell .canvas-viewport-tools>button[aria-label=资产管理]{order:-2;gap:4px;padding-left:6px;padding-right:12px}.studio-shell .canvas-viewport-tools>.dock-popover:first-child{order:5}.studio-shell .canvas-viewport-tools>.zoom-menu{order:4}.studio-shell .canvas-viewport-tools>.zoom-menu>summary{min-width:48px;width:auto;padding:0 7px;gap:2px;color:#cfcfcf;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.studio-shell .canvas-viewport-tools>.zoom-menu>summary>svg{width:10px;height:10px}.studio-shell .viewport-history{order:6;margin-left:0}.studio-shell .viewport-history>button{width:26px;height:30px;padding:5px;color:#888}.studio-shell .dock-menu{border-color:#3a3a3a;border-radius:8px;background:#252525;box-shadow:0 7px 20px #0005}.studio-shell .creative-dock .dock-menu{bottom:calc(100% + 11px)}.studio-shell .react-flow__minimap{bottom:58px;left:8px;border:1px solid #363636;border-radius:7px;box-shadow:none}.studio-shell.workspace-open .canvas-top>.canvas-top-left>.project-capsule{display:none}@media(min-width:1000px){.studio-shell.agent-open .canvas-top{align-content:start;height:auto;min-height:64px;max-height:116px;flex-wrap:wrap;overflow:visible}.studio-shell.agent-open .canvas-tools.creative-dock{left:calc((100% - var(--agent-width, 340px)) / 2)}.studio-shell.agent-open.workspace-open .canvas-top{max-height:180px}}@media(max-width:1100px){.studio-shell .canvas-top .project-name{max-width:156px}.studio-shell .canvas-top .canvas-name{padding-left:7px;padding-right:2px}.studio-shell .canvas-viewport-tools{left:14px}}@media(min-width:701px)and (max-width:900px){.studio-shell .canvas-top{padding:12px;gap:6px}.studio-shell .canvas-top-left,.studio-shell .canvas-top-right{gap:6px}.studio-shell .canvas-top .project-name{max-width:120px}.studio-shell .canvas-top .canvas-agent-button{width:32px;padding:0;font-size:0;gap:0}.studio-shell.view-workflow .canvas-viewport-tools{bottom:60px}}@media(max-width:700px){.studio-shell .canvas-top{height:92px;min-height:0;padding:10px 12px;gap:8px;flex-wrap:wrap;align-content:flex-start;align-items:center}.studio-shell .canvas-top-left,.studio-shell .canvas-top-right{flex:0 1 auto;gap:6px;max-width:100%}.studio-shell .canvas-top-left{width:100%}.studio-shell .canvas-top-right{margin-left:auto}.studio-shell .canvas-top .top-spacer{flex:0 0 0;width:0;height:0}.studio-shell .canvas-top .project-capsule{flex:1 1 auto;max-width:calc(100% - 112px)}.studio-shell .canvas-top .project-name{flex-shrink:1;max-width:143px}.studio-shell .canvas-top .project-capsule .project-name{flex:1 1 auto;max-width:none}.studio-shell .canvas-top .canvas-name{display:none}.studio-shell .canvas-top .workspace-views{order:0;margin:0;flex-wrap:nowrap}.studio-shell .canvas-top .account-button{min-width:55px;max-width:148px;padding:0 8px;font-size:11px}.studio-shell .canvas-top .canvas-agent-button{font-size:12px;padding:0 8px;gap:5px}.studio-shell .canvas-top .save-state.error{width:32px;padding:0}.studio-shell .canvas-top .save-state.error>span{display:none}.studio-shell .canvas-tools.creative-dock{bottom:52px;max-width:calc(100vw - 16px);gap:3px;padding:8px 5px}.studio-shell .canvas-viewport-tools{bottom:12px;left:10px;max-width:calc(100% - 20px);background:#141414d9;border-radius:6px}.studio-shell .canvas-viewport-tools>button[aria-label=资产管理]>span{display:inline}.studio-shell .canvas-viewport-tools>button[aria-label=资产管理]{padding-right:6px}.studio-shell .canvas-viewport-tools>.dock-popover:first-child .dock-menu{left:auto;right:0}.studio-shell .canvas-viewport-tools>.zoom-menu .dock-menu{min-width:160px;left:auto;right:0}.studio-shell .react-flow__minimap{bottom:110px}.studio-shell .toast{top:104px;bottom:auto}}@media(max-width:359px){.studio-shell .canvas-tools.creative-dock{gap:1px;padding:8px 3px}.studio-shell .creative-dock>button,.studio-shell .creative-dock>.dock-popover>summary{width:30px;flex-basis:30px}.studio-shell .canvas-top-left{gap:4px}.studio-shell .canvas-top .project-capsule{max-width:calc(100% - 108px)}}@media(min-width:701px)and (max-width:767px){.studio-shell .canvas-tools.creative-dock{bottom:52px}.studio-shell.view-workflow .canvas-viewport-tools{bottom:12px}}.studio-shell .media-node.asset-node:not(.script-node){position:relative;width:var(--libtv-image-node-width, 330px);max-width:none;border:0;border-radius:12px;background:transparent;box-shadow:none}.studio-shell .media-node.asset-node.video:not(.script-node){width:var(--libtv-video-node-width, 620px)}.studio-shell .media-node.asset-node.text:not(.script-node){width:var(--libtv-text-node-width, 420px)}.studio-shell .media-node.asset-node.audio:not(.script-node){width:var(--libtv-audio-node-width, 330px)}.studio-shell .media-node.asset-node:not(.script-node)>header{min-height:26px;height:26px;padding:0 1px 7px;gap:5px;color:#858585;font-size:13px;font-weight:500;line-height:19px;background:transparent}.studio-shell .media-node.asset-node.active:not(.script-node)>header{color:#999}.studio-shell .asset-node>header .kind-icon{width:13px;height:17px;background:transparent;color:currentColor;border-radius:0;flex:0 0 13px}.studio-shell .asset-node>header .kind-icon.video>svg{display:none}.studio-shell .asset-node>header .kind-icon.video:before{content:"";width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:8px solid currentColor}.studio-shell .asset-node>header .node-title{flex:1;min-width:0}.studio-shell .asset-node>header .node-dimensions{font-size:12px;color:#737373;letter-spacing:.2px}.studio-shell .asset-node>header .node-status{font-size:11px;color:#929292;white-space:nowrap}.studio-shell .asset-node>header button.node-status{color:#e4b891}.studio-shell .asset-node.has-media>header .node-status.succeeded{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.studio-shell .media-node.asset-node>.node-media{min-height:0;border:1px solid #343434;border-radius:12px;background:#171717;overflow:hidden}.studio-shell .media-node.asset-node.active>.node-media,.studio-shell .media-node.asset-node.active>.node-empty,.studio-shell .media-node.asset-node.active>.node-text{outline:1px solid #a8a8a8;outline-offset:0}.studio-shell .media-node.asset-node>.node-media img,.studio-shell .media-node.asset-node>.node-media video{display:block;width:100%;height:auto;max-height:none;object-fit:contain}.studio-shell .media-node.asset-node>.node-empty{width:100%;min-width:0;max-width:100%;height:auto;min-height:230px;aspect-ratio:16 / 9;border:1px solid #343434;border-radius:12px;background:#232323}.studio-shell .media-node.asset-node>.node-text{min-height:210px;padding:20px;border-color:#413737;border-radius:12px;background:#2a1f1f;font-size:17px;line-height:1.75;color:#eee}.studio-shell .media-node.asset-node:not(.script-node)>footer{position:absolute;top:0;right:0;bottom:0;left:0;height:auto;padding:0;border:0;background:transparent;pointer-events:none}.studio-shell .media-node.asset-node:not(.script-node)>footer>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.studio-shell .media-node.asset-node:not(.script-node)>footer>.node-derive{position:absolute;top:39px;right:12px;width:26px;height:26px;padding:4px;color:#dedede;border:0;border-radius:6px;background:#373737b8;pointer-events:auto}.studio-shell .asset-node .node-origin-chip,.studio-shell .asset-node .example-chip{position:absolute;top:12px;bottom:auto;left:14px;padding:2px 5px;border-radius:4px;font-size:12px;line-height:17px;color:#ddd;background:#29292980;pointer-events:none}.studio-shell .asset-node>.react-flow__handle{width:20px;height:20px;min-width:20px;min-height:20px;border:1.5px solid #999;border-radius:50%;background:#242424;color:#bdbdbd;top:var(--node-port-top, calc(50% + 13px) )}.studio-shell .asset-node>.react-flow__handle:before,.studio-shell .asset-node>.react-flow__handle:after{content:"";position:absolute;top:50%;left:50%;background:currentColor;transform:translate(-50%,-50%);pointer-events:none}.studio-shell .asset-node>.react-flow__handle:before{width:8px;height:1px}.studio-shell .asset-node>.react-flow__handle:after{width:1px;height:8px}.studio-shell .asset-node>.react-flow__handle-left{left:-15px}.studio-shell .asset-node>.react-flow__handle-right{right:-15px}.studio-shell .asset-node>.react-flow__handle.node-port:before{content:"";width:var(--node-port-hit-size, 24px);height:var(--node-port-hit-size, 24px);border-radius:50%;background:transparent;pointer-events:auto}.studio-shell .asset-node>.react-flow__handle.node-port:after{content:none}.node-port-plus{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.node-port-plus:before,.node-port-plus:after{content:"";position:absolute;top:50%;left:50%;background:currentColor;transform:translate(-50%,-50%)}.node-port-plus:before{width:8px;height:1px}.node-port-plus:after{width:1px;height:8px}.studio-shell .asset-node>.react-flow__handle.node-port:hover:not([aria-disabled=true]){color:#eee;background:#333}.studio-shell .asset-node>.react-flow__handle.node-port:focus-visible{outline:none}.studio-shell .asset-node>.react-flow__handle.node-port:focus-visible:before{outline:calc(2px / var(--node-port-zoom, 1)) solid #a8a8a8;outline-offset:calc(2px / var(--node-port-zoom, 1))}.studio-shell .asset-node>.react-flow__handle.node-port[aria-disabled=true]{opacity:.4;cursor:not-allowed}.studio-shell .asset-node>.react-flow__handle.node-port[aria-disabled=true]:before{pointer-events:none}.studio-shell .asset-node>.version-strip{display:flex;width:fit-content;max-width:100%;gap:4px;margin:7px 0 0;padding:3px;border:1px solid #353535;border-radius:7px;background:#232323}.studio-shell .asset-node>.version-strip .chosen{background:#4b4b4b;color:#fff}.studio-shell .asset-node>.node-result-source{padding:4px 0 0;background:transparent;font-size:11px}.studio-shell .asset-node>.node-result-source button{color:#aaa;border-color:#3b3b3b}.studio-shell .media-node.asset-node.sized-media-node:not(.script-node){width:var(--media-node-width, 350px);height:var(--media-node-height, 350px);min-width:0;min-height:0;max-width:none;max-height:none;padding:0;overflow:visible}.studio-shell .media-node.asset-node.sized-media-node:not(.script-node)>header{position:absolute;left:0;right:0;bottom:calc(100% + 6px);height:20.15px;min-height:20.15px;padding:0 1px;font-size:13px;line-height:20.15px}.studio-shell .asset-node.sized-media-node>header .node-dimensions{font-size:11px;line-height:17.05px}.studio-shell .media-node.asset-node.sized-media-node>.node-media,.studio-shell .media-node.asset-node.sized-media-node>.node-empty{width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;aspect-ratio:auto;margin:0;border:1px solid #343434;border-radius:12px;overflow:hidden}.studio-shell .media-node.asset-node.sized-media-node>.node-media>.canvas-video-player{width:100%;height:100%;min-width:0;min-height:0}.studio-shell .media-node.asset-node.sized-media-node>.node-media>img,.studio-shell .media-node.asset-node.sized-media-node>.node-media .canvas-video-player:not(:fullscreen)>video{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:cover}.studio-shell .asset-node.sized-media-node>.react-flow__handle{top:var(--node-port-top, 50%)}.studio-shell .media-node.asset-node.sized-media-node:not(.script-node)>footer>.node-derive{top:12px}.studio-shell .asset-node.sized-media-node>.media-node-below{position:absolute;top:calc(100% + 8px);left:0;display:flex;flex-direction:column;align-items:stretch;gap:6px;width:100%;min-width:0;max-width:100%;overflow-wrap:anywhere}.studio-shell .asset-node.sized-media-node>.media-node-below:empty{display:none}.studio-shell .asset-node.sized-media-node>.media-node-below>.node-group-tag{position:static;flex:none}.studio-shell .asset-node.sized-media-node>.media-node-below>.node-progress{flex:none}.studio-shell .asset-node.sized-media-node>.media-node-below>.version-strip{display:flex;width:fit-content;max-width:100%;gap:4px;margin:0;padding:3px;border:1px solid #353535;border-radius:7px;background:#232323}.studio-shell .asset-node.sized-media-node>.media-node-below>.version-strip .chosen{background:#4b4b4b;color:#fff}.studio-shell .asset-node.sized-media-node>.media-node-below>.node-result-source{flex-wrap:wrap;padding:0;background:transparent;font-size:11px}.studio-shell .asset-node.sized-media-node>.media-node-below>.node-result-source button{color:#aaa;border-color:#3b3b3b}.studio-shell .node-context-toolbar .node-actions{height:42px;min-height:42px;padding:4px 6px;gap:2px;flex-wrap:nowrap;border:1px solid #3a3a3a;border-radius:11px;background:#272727;color:#dedede;box-shadow:0 4px 14px #0003}.studio-shell .node-context-toolbar .node-actions>button,.studio-shell .node-context-toolbar .node-tool-menu>summary{height:32px;min-height:32px;padding:0 8px;display:flex;align-items:center;gap:5px;font-size:12px;line-height:18px;font-weight:500;white-space:nowrap;border-radius:6px;color:inherit}.studio-shell .node-context-toolbar .node-actions>button:hover:not(:disabled){background:#3a3a3a}.studio-shell .node-context-toolbar .node-actions>.capability-unavailable{opacity:.49;cursor:not-allowed}.studio-shell .node-context-toolbar .node-more-menu{order:20}.studio-shell .node-context-toolbar .node-actions>button[aria-label=下载素材]{margin-left:4px;border-left:1px solid #444;border-radius:0;padding-left:12px}.studio-shell .node-context-toolbar .node-tool-menu>div{z-index:30;font-size:12px}.studio-shell .node-context-toolbar .node-tool-menu>div button{min-height:32px;gap:8px;border-radius:5px}.node-hd-icon{position:relative;display:flex}.node-hd-icon b{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;font-size:8px;line-height:17px}.canvas-video-player{position:relative;width:100%;background:#101010;outline:none}.canvas-video-player>video{min-height:150px}.canvas-video-player:focus-visible{outline:2px solid #fff;outline-offset:-2px}.canvas-video-controls{position:absolute;z-index:2;bottom:0;left:0;right:0;color:#fff}.canvas-video-gradient{position:absolute;pointer-events:none;bottom:0;left:0;right:0;height:80px;background:linear-gradient(to bottom,transparent,rgba(0,0,0,.5))}.canvas-video-control-row{position:relative;display:flex;align-items:center;gap:8px;padding:32px 12px 10px}.canvas-video-control-row>button,.canvas-video-capture>button,.canvas-video-volume>button{display:flex;flex:0 0 28px;align-items:center;justify-content:center;width:28px;height:28px;min-width:0;padding:0;border:0;border-radius:50%;color:#fff;background:transparent;cursor:pointer}.canvas-video-control-row>button:hover,.canvas-video-capture>button:hover,.canvas-video-volume>button:hover{background:#0008}.canvas-video-control-row button:disabled{cursor:not-allowed;opacity:.5}.canvas-video-control-row button:focus-visible,.canvas-video-slider:focus-visible{outline:2px solid #fff;outline-offset:2px}.canvas-video-time{flex-shrink:0;color:#fff;font-size:12px;line-height:16px;font-variant-numeric:tabular-nums;white-space:nowrap}.canvas-video-slider{position:relative;touch-action:none;cursor:pointer;outline:none}.canvas-video-slider[aria-disabled=true]{cursor:default}.canvas-video-slider.is-progress{flex:1;min-width:0;height:14px}.canvas-video-slider>span{position:absolute;pointer-events:none;border-radius:999px}.canvas-video-slider.is-progress>span{top:50%;transform:translateY(-50%)}.canvas-video-slider.is-progress .canvas-video-slider-track{left:0;right:0;height:3px;background:#ffffff4d}.canvas-video-slider.is-progress .canvas-video-slider-fill{left:0;height:3px;width:var(--video-progress);background:#fff}.canvas-video-slider.is-progress .canvas-video-slider-thumb{left:var(--video-progress);width:10px;height:10px;transform:translate(-50%,-50%);background:#fff;box-shadow:0 1px 3px #0005}.canvas-video-volume,.canvas-video-capture{position:relative;flex-shrink:0}.canvas-video-volume>button{width:24px;height:24px;flex-basis:24px}.canvas-video-volume-popover{position:absolute;bottom:100%;left:50%;transform:translate(-50%);padding-bottom:8px;opacity:0;pointer-events:none;transition:opacity .2s}.canvas-video-volume-popover.is-open{opacity:1;pointer-events:auto}.canvas-video-volume-popover>div{display:flex;flex-direction:column;align-items:center;padding:6px 5px;border-radius:8px;background:#000000bf}.canvas-video-volume-popover>div>span{margin-bottom:4px;font-size:10px;line-height:15px;font-variant-numeric:tabular-nums}.canvas-video-slider.is-volume{width:16px;height:80px}.canvas-video-slider.is-volume>span{left:50%;transform:translate(-50%)}.canvas-video-slider.is-volume .canvas-video-slider-track{top:0;bottom:0;width:2px;background:#ffffff4d}.canvas-video-slider.is-volume .canvas-video-slider-fill{bottom:0;width:2px;height:var(--video-progress);background:#fff}.canvas-video-slider.is-volume .canvas-video-slider-thumb{bottom:var(--video-progress);width:8px;height:8px;transform:translate(-50%,50%);background:#fff;box-shadow:0 1px 2px #0005}.canvas-video-capture-popover{position:absolute;bottom:100%;right:0;z-index:3;padding-bottom:8px;opacity:0;pointer-events:none;transition:opacity .15s}.canvas-video-capture-popover.is-open{opacity:1;pointer-events:auto}.canvas-video-capture-popover>div{display:flex;flex-direction:column;gap:4px;padding:4px;border:.5px solid #ffffff1a;border-radius:12px;background:#1a1a1af2;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 4px 10px #0004,0 2px 4px #0000001a}.canvas-video-capture-popover button{height:32px;min-height:32px;padding:0 8px;border:0;border-radius:8px;color:#ffffffe6;background:transparent;font-family:inherit;font-size:13px;line-height:20px;text-align:left;white-space:nowrap;cursor:pointer}.canvas-video-capture-popover button:hover{background:#ffffff1a}.canvas-video-loading{position:absolute;top:50%;left:50%;margin:-14px;color:#ddd}.canvas-video-error{position:absolute;inset:35% 16px auto;padding:10px;text-align:center;border-radius:6px;color:#ddd;background:#151515c9;font-size:12px}@media(max-width:759px){.studio-shell .node-context-toolbar .node-actions{width:max-content;max-width:calc(100vw - 24px);height:auto;min-height:42px;flex-wrap:wrap;justify-content:flex-start}.studio-shell .node-context-toolbar .node-actions>button,.studio-shell .node-context-toolbar .node-tool-menu>summary{font-size:11px;padding:0 6px}}.studio-shell .media-node.asset-node.text:not(.script-node){width:var(--libtv-text-node-width, 350px)}.studio-shell .media-node.asset-node>.node-text[data-text-state]{display:block;width:100%;height:200px;min-height:200px;box-sizing:border-box;padding:12px 16px;border:1px solid var(--canvas-node-border, #3d3d3d);border-radius:12px;background:#171717;-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px);font-size:14px;line-height:1.6;color:#f7f7f7}.studio-shell .media-node.asset-node>.text-node-blank[data-text-state]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:350px;min-height:350px;padding:0 24px}.studio-shell .media-node.asset-node>.text-node-blank[data-text-state=empty_generate]{background:#262626}.text-node-placeholder-icon{flex:0 0 auto;color:#525252}.text-node-blank:has(.text-node-starters)>.text-node-placeholder-icon{margin-bottom:16px}.text-node-starters{align-self:stretch}.text-node-starters>p{margin:0 0 8px;color:#919191;font-size:14px;line-height:20px}.text-node-starters>div{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.text-node-starters button{display:flex;align-items:center;gap:8px;width:fit-content;min-height:36px;padding:8px 12px;border:0;border-radius:8px;background:transparent;color:#f7f7f7;text-align:left;font-size:14px;line-height:20px}.text-node-starters button:hover,.text-node-starters button:focus-visible{background:#383838}.text-node-starters button:focus-visible{outline:1px solid #aaa}.studio-shell .media-node.asset-node>.text-resource-empty[data-text-state]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.text-resource-empty>span{color:#919191;font-size:14px}.text-resource-empty>svg{color:#525252}.studio-shell .generator-panel.libtv-composer,.studio-shell .node-local-panel .generator-panel.libtv-composer{box-sizing:border-box;display:flex;flex-direction:column;gap:8px;width:100%;min-width:0;padding:8px;border:.5px solid #363636;border-radius:16px;background:#262626;color:#ddd;font-size:13px;overflow:visible;container:libtv-composer / inline-size}.studio-shell .node-local-panel:has(.libtv-composer){border:.5px solid #363636;border-radius:16px;background:#262626}.studio-shell .node-local-panel .generator-panel.libtv-composer{border:0}.studio-shell .libtv-composer .libtv-composer-heading{display:flex;align-items:center;gap:5px;min-height:26px;margin:0 0 8px;padding:0}.studio-shell .libtv-composer .composer-creative-tools{display:flex;flex:1 1 auto;align-items:center;gap:4px;min-width:0;margin:0;flex-wrap:wrap}.studio-shell .libtv-composer .composer-creative-tools>button,.studio-shell .libtv-composer .composer-more-tools>summary{display:inline-flex;align-items:center;justify-content:center;gap:2px;height:26px;min-height:26px;padding:0 8px;border:0;border-radius:20px;background:#333;color:#a6a6a6;font-size:12px;font-weight:400;white-space:nowrap}.studio-shell .libtv-composer .composer-creative-tools>button:disabled{opacity:.45}.studio-shell .libtv-composer .composer-creative-tools>button:hover:not(:disabled),.studio-shell .libtv-composer .composer-more-tools>summary:hover{background:#414141;color:#eee}.studio-shell .libtv-composer .composer-heading-actions{display:flex;align-items:center;gap:1px;flex-shrink:0}.studio-shell .node-local-panel:has(.libtv-composer) .composer-heading-actions{align-self:flex-start;margin-top:1px;margin-left:30px}.studio-shell .node-local-panel:has(.libtv-composer) .local-panel-anchor{right:86px;top:9px}.studio-shell .node-local-panel:has(.libtv-composer) .local-panel-anchor>button{display:grid;place-items:center;width:24px;height:24px;min-height:24px;padding:0}.studio-shell .libtv-composer .composer-heading-actions>button,.studio-shell .libtv-composer .composer-rename>summary{display:inline-flex;align-items:center;justify-content:center;width:23px;height:24px;min-height:24px;padding:0;border:0;background:transparent;color:#999;border-radius:5px}.studio-shell .libtv-composer .composer-heading-actions>button:hover,.studio-shell .libtv-composer .composer-rename>summary:hover{background:#3b3b3b;color:#eee}.studio-shell .libtv-composer summary{cursor:pointer;list-style:none}.studio-shell .libtv-composer summary::-webkit-details-marker{display:none}.studio-shell .libtv-composer .composer-rename,.studio-shell .libtv-composer .composer-more-tools{position:relative}.studio-shell .libtv-composer .composer-rename>label,.studio-shell .libtv-composer .composer-more-tools>button{position:absolute;z-index:5;top:30px;right:0;width:min(230px,65vw);padding:11px;border:1px solid #484848;border-radius:9px;background:#2d2d2d;box-shadow:0 8px 22px #0006;font-size:12px}.studio-shell .libtv-composer .composer-more-tools>button{left:0;right:auto;width:130px;text-align:left}.studio-shell .libtv-composer .composer-rename input{display:block;width:100%;max-width:none;padding:7px;margin-top:5px;background:#202020;border:1px solid #4b4b4b;color:#eee}.studio-shell .libtv-composer .prompt-editor-wrap{margin:0}.studio-shell .libtv-composer .prompt-editor-heading{position:absolute;right:0;bottom:0;margin:0;z-index:1}.studio-shell .libtv-composer .prompt-editor-heading>span{display:none}.studio-shell .libtv-composer .prompt-editor-heading>button{min-height:20px;font-size:11px;padding:0 4px;color:#939393;background:transparent}.studio-shell .libtv-composer .prompt-editor{min-height:104px;max-height:104px;margin:0;padding:7px 2px 6px;border:0;border-radius:4px;background:transparent;color:#dedede;font-size:14px;font-weight:450;line-height:24px;scrollbar-width:thin;scrollbar-color:#626262 transparent;overflow-y:auto;overscroll-behavior:contain}.studio-shell .libtv-composer .prompt-editor:focus{outline:none}.studio-shell .libtv-composer .prompt-editor:focus-visible{box-shadow:inset 0 -2px #727272}.studio-shell .libtv-composer .prompt-editor:empty:before{color:#797979}.studio-shell .libtv-composer .prompt-autolink-tools{min-height:20px;margin:3px 84px 4px 0;gap:4px;font-size:10px;color:#8a8a8a}.studio-shell .libtv-composer .prompt-autolink-tools label{font-size:10px;gap:4px;margin:0}.studio-shell .libtv-composer .prompt-autolink-tools input{width:11px;height:11px;accent-color:#8a8a8a}.studio-shell .libtv-composer .prompt-autolink-tools>span{font-size:10px;color:#b7b7b7}.studio-shell .libtv-composer .prompt-reference{background:#3b4045;color:#d6e6f0}.studio-shell .libtv-composer .prompt-reference.missing{background:#57352c;color:#ffcebf}.studio-shell .libtv-composer .prompt-picker{margin-top:8px;border-color:#4b4b4b;background:#2d2d2d}.studio-shell .libtv-composer .prompt-picker-list button.active,.studio-shell .libtv-composer .prompt-picker-list button:hover{background:#404040}.studio-shell .libtv-composer .image-preset-actions{margin:5px 0;font-size:12px}.studio-shell .libtv-composer .composer-controls{display:flex;position:relative;bottom:auto;z-index:auto;align-items:center;gap:3px;flex-wrap:wrap;min-height:32px;margin:6px 0 0;padding:0;background:transparent}.studio-shell .node-local-panel:not(:has(.composer-window[data-expanded])) .libtv-composer .composer-controls{position:sticky;bottom:0;z-index:3;background:#262626;box-shadow:0 -8px #262626}.studio-shell .libtv-composer .composer-model{flex:0 1 150px;width:150px;max-width:170px;min-width:96px}.studio-shell .libtv-composer .composer-model-select{display:flex;align-items:center;min-width:0}.studio-shell .libtv-composer .composer-model-select>label{position:relative;flex:1;display:block;margin:0;min-width:0;font-size:0}.studio-shell .libtv-composer .model-select-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.studio-shell .libtv-composer .model-select-symbol{position:absolute;left:2px;top:9px;pointer-events:none;color:#d3d3d3}.studio-shell .libtv-composer .model-select-chevron{position:absolute;right:1px;top:11px;pointer-events:none;color:#8e8e8e}.studio-shell .libtv-composer .composer-model select{display:block;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;min-height:32px;height:32px;margin:0;padding:0 13px 0 21px;border:0;border-radius:5px;background:transparent;color:#d3d3d3;font-size:12px;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.studio-shell .libtv-composer .composer-model select option{background:#2c2c2c;color:#e2e2e2}.studio-shell .libtv-composer .composer-mode,.studio-shell .libtv-composer .composer-specs,.studio-shell .libtv-composer .composer-auxiliary,.studio-shell .libtv-composer .composer-model-info{flex:0 1 auto;min-width:0;margin:0;padding:0;border:0;border-radius:5px;background:transparent}.studio-shell .libtv-composer .composer-specs{flex:1 1 130px}.studio-shell .libtv-composer .composer-static-mode{display:inline-flex;align-items:center;gap:4px;height:32px;min-height:32px;padding:0 4px;color:#bcbcbc;font-size:12px;white-space:nowrap}.studio-shell .libtv-composer .composer-mode>summary,.studio-shell .libtv-composer .composer-specs>summary,.studio-shell .libtv-composer .composer-auxiliary>summary,.studio-shell .libtv-composer .composer-model-info>summary{display:flex;align-items:center;justify-content:flex-start;gap:4px;height:32px;min-height:32px;padding:0 4px;color:#c7c7c7;font-size:12px;white-space:nowrap}.studio-shell .libtv-composer .composer-mode>summary>span,.studio-shell .libtv-composer .composer-specs>summary>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.studio-shell .libtv-composer .composer-mode>summary>svg,.studio-shell .libtv-composer .composer-specs>summary>svg{flex-shrink:0;color:#a0a0a0}.studio-shell .libtv-composer .composer-icon-tool{display:flex;align-items:center;justify-content:center;height:32px;min-height:32px;width:27px;padding:0;border:0;background:transparent;color:#c2c2c2}.studio-shell .libtv-composer .composer-model select:hover:not(:disabled),.studio-shell .libtv-composer .composer-controls summary:hover,.studio-shell .libtv-composer .composer-icon-tool:hover:not(:disabled){background:#363636}.studio-shell .libtv-composer .composer-specs[open],.studio-shell .libtv-composer .composer-mode[open],.studio-shell .libtv-composer .composer-auxiliary[open]{flex-basis:100%;order:3;background:#2c2c2c;border:1px solid #454545;border-radius:9px}.studio-shell .libtv-composer .composer-specs-popover,.studio-shell .libtv-composer .composer-auxiliary>div{padding:9px;max-height:min(320px,38vh);overflow:auto}.studio-shell .libtv-composer .composer-specs-popover .parameter-grid{padding:0;margin:0;gap:9px}.studio-shell .libtv-composer .parameter-grid label{display:flex;flex-direction:column;min-width:0;gap:4px;font-size:12px;color:#bcbcbc}.studio-shell .libtv-composer .parameter-grid select,.studio-shell .libtv-composer .parameter-grid input{width:100%;box-sizing:border-box;padding:7px;border:1px solid #494949;background:#242424;font-size:12px;color:#ddd}.studio-shell .libtv-composer .parameter-grid input[type=checkbox]{width:16px;height:16px}.studio-shell .libtv-composer .advanced{margin:10px 0 0;padding-top:7px;border-top:1px solid #414141}.studio-shell .libtv-composer .advanced>label{display:block;font-size:12px;padding-top:8px}.studio-shell .libtv-composer .composer-model-info{position:relative;flex-shrink:0}.studio-shell .libtv-composer .composer-model-info>summary{height:32px;min-height:32px;padding:0 1px}.studio-shell .libtv-composer .composer-model-info>div{position:absolute;bottom:34px;left:-110px;z-index:5;width:min(300px,72vw);padding:10px;background:#303030;border:1px solid #505050;border-radius:8px;box-shadow:0 8px 24px #0007}.studio-shell .libtv-composer .composer-model-info .model-input-hint{display:block;margin:0;color:#c9c9c9;font-size:12px;white-space:normal;line-height:1.65}.studio-shell .libtv-composer .composer-submit{display:flex;align-items:center;flex-direction:row;flex:0 0 auto;position:static;min-height:32px;gap:5px;padding:0;margin:0 0 0 auto;background:transparent}.studio-shell .libtv-composer .composer-fee{display:inline-flex;align-items:center;gap:2px;color:#939393;font-size:11px;white-space:nowrap}.studio-shell .libtv-composer .composer-submit>.composer-submit-arrow{display:inline-flex;flex:0 0 32px;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;min-height:32px;margin:0;padding:0;border:1px solid #eee;border-radius:11px;color:#252525;background:#fafafa}.studio-shell .libtv-composer .composer-submit>.composer-submit-arrow:disabled{opacity:.45}.studio-shell .libtv-composer .composer-submit>.composer-submit-arrow:hover:not(:disabled){background:#dedede}.studio-shell .libtv-composer .composer-references{margin:0 0 6px}.studio-shell .libtv-composer .reference-tray{gap:7px;padding:1px 1px 6px}.studio-shell .libtv-composer .reference-tile{flex:0 0 62px}.studio-shell .libtv-composer .reference-preview{height:43px;border-radius:6px;border-color:#4a4a4a;background:#1e1e1e}.studio-shell .libtv-composer .reference-name{margin:2px 0;color:#aaa;font-size:10px}.studio-shell .libtv-composer .reference-tile-actions>button{min-height:18px;height:18px;padding:0;font-size:11px;color:#9d9d9d}.studio-shell .libtv-composer .reference-settings>summary{font-size:10px}.studio-shell .libtv-composer .model-input-hint{margin:5px 0 7px;color:#9f9f9f;font-size:11px;line-height:1.6}.studio-shell .libtv-composer .annotation-summary,.studio-shell .libtv-composer .image-style-chip{margin:5px 0 8px;border-color:#454545;background:#2c2c2c}.studio-shell .libtv-composer .annotation-summary button,.studio-shell .libtv-composer .image-style-chip button{min-height:25px;padding:4px 7px;font-size:12px}.studio-shell .libtv-composer .composer-versions{margin:6px 0 0;padding:6px 0 0;border-color:#373737}.studio-shell .libtv-composer .composer-versions summary,.studio-shell .libtv-composer .composer-provider-link{font-size:11px;color:#9b9b9b}.studio-shell .libtv-composer .composer-provider-link{margin:7px 0 0;padding:0;min-height:21px}.studio-shell .libtv-composer .composer-recovery,.studio-shell .libtv-composer .error-box,.studio-shell .libtv-composer .warning-box,.studio-shell .libtv-composer .prompt-reference-error{margin:9px 0 3px;font-size:12px;line-height:1.65;overflow-wrap:anywhere}.studio-shell .libtv-composer .composer-controls>.paragraph{flex-basis:100%;font-size:12px;line-height:1.6}.studio-shell .generator-panel.libtv-composer>*{flex-shrink:0;min-width:0;margin-block:0}@container libtv-composer (max-width: 470px){.libtv-composer .composer-controls .composer-model{flex-basis:140px;max-width:160px}.libtv-composer .composer-controls .composer-specs{flex:1 1 130px}.libtv-composer .composer-controls .composer-submit{margin-left:auto}}@media(max-width:650px){.studio-shell .generator-panel.libtv-composer,.studio-shell .node-local-panel .generator-panel.libtv-composer{padding:8px}.studio-shell .libtv-composer .composer-creative-tools{gap:3px}.studio-shell .libtv-composer .composer-creative-tools>button{height:26px;min-height:26px;padding:0 8px;font-size:11px}.studio-shell .libtv-composer .composer-controls{gap:3px 5px}.studio-shell .libtv-composer .composer-model{flex-basis:142px;max-width:155px}.studio-shell .libtv-composer .composer-specs{flex:1 1 148px}.studio-shell .libtv-composer .prompt-editor{min-height:104px;max-height:140px;font-size:14px}.studio-shell .libtv-composer .composer-specs[open],.studio-shell .libtv-composer .composer-mode[open],.studio-shell .libtv-composer .composer-auxiliary[open]{flex-basis:100%}}@media(forced-colors:active){.studio-shell .libtv-composer .prompt-editor:focus{outline:1px solid Highlight}}.prompt-editor-viewport{display:contents}.studio-shell .libtv-composer .libtv-composer-heading{min-height:30px;padding:4px 0 0 4px;margin:0}.studio-shell .libtv-composer .prompt-editor-viewport{display:block;min-width:0;padding:8px 0 8px 8px}.studio-shell .libtv-composer .prompt-editor{min-height:80px;max-height:100px;margin:0;padding:0 6px 0 0;border:0;border-radius:0;color:#f7f7f7;font-size:14px;font-weight:400;line-height:25.2px;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;overflow-y:auto}@media(max-width:650px){.studio-shell .libtv-composer .prompt-editor{min-height:80px;max-height:100px}}.studio-shell .libtv-composer .prompt-editor-viewport .prompt-picker,.studio-shell .libtv-composer .prompt-editor-viewport .prompt-reference-error,.studio-shell .libtv-composer .prompt-editor-viewport .prompt-autolink-suggestion,.studio-shell .libtv-composer .prompt-editor-viewport .prompt-reference{min-width:0}.studio-shell .composer-window[data-expanded=true] .libtv-composer .prompt-editor-viewport{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:140px}.studio-shell .composer-window[data-expanded=true] .libtv-composer .prompt-editor{flex:1 1 auto;min-height:140px;max-height:none}.studio-shell .libtv-composer .composer-advanced-settings{display:block;margin:0;padding:0 8px 8px;min-width:0;border-top:.5px solid #363636}.studio-shell .libtv-composer .composer-advanced-heading{margin:0;padding:8px 0;font-size:12px;font-weight:400;color:#999}.studio-shell .libtv-composer .composer-prompt-controls{min-width:0}.studio-shell .libtv-composer .composer-prompt-controls .prompt-autolink-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;min-height:36px;padding:8px 0;font-size:12px;line-height:1.5;color:#b7b7b7}.studio-shell .libtv-composer .composer-prompt-controls .prompt-autolink-tools label{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px;margin:0;font-size:12px;cursor:pointer}.studio-shell .libtv-composer .composer-prompt-controls .prompt-autolink-tools>span,.studio-shell .libtv-composer .composer-prompt-controls .prompt-autolink-tools label span{font-size:12px;color:#b7b7b7}.studio-shell .libtv-composer .composer-prompt-controls .prompt-autolink-tools input[type=checkbox]{position:relative;flex:0 0 auto;width:38px;height:20px;margin:0;border:0;border-radius:999px;background:#4a4a4a;-moz-appearance:none;appearance:none;-webkit-appearance:none;cursor:pointer}.studio-shell .libtv-composer .composer-prompt-controls .prompt-autolink-tools input[type=checkbox]:before{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#d8d8d8;transition:left .15s ease,background .15s ease}.studio-shell .libtv-composer .composer-prompt-controls .prompt-autolink-tools input[type=checkbox]:checked{background:#f2f2f2}.studio-shell .libtv-composer .composer-prompt-controls .prompt-autolink-tools input[type=checkbox]:checked:before{left:20px;background:#3a3a3a}.studio-shell .libtv-composer .composer-prompt-controls .prompt-autolink-tools input[type=checkbox]:focus-visible{outline:2px solid #b4c98c;outline-offset:2px}.studio-shell .libtv-composer .composer-prompt-controls .prompt-autolink-tools input[type=checkbox]:disabled{opacity:.45;cursor:default}.studio-shell .libtv-composer .composer-prompt-controls .prompt-editor-heading{position:static;right:auto;bottom:auto;z-index:auto;flex:0 0 auto;margin:0}.studio-shell .libtv-composer .composer-prompt-controls .prompt-editor-heading>button{min-width:24px;min-height:24px;padding:0 6px;font-size:12px}.studio-shell .libtv-composer .composer-advanced-help{font-size:12px;color:#8a8a8a}.studio-shell .libtv-composer .composer-advanced-help>summary{display:flex;align-items:center;min-height:28px;cursor:pointer}.studio-shell .libtv-composer .composer-advanced-help>*:not(summary){line-height:1.6;overflow-wrap:anywhere;word-wrap:break-word}.studio-shell .libtv-composer .merged-prompt p{white-space:pre-wrap}@media(forced-colors:active){.studio-shell .libtv-composer .composer-prompt-controls .prompt-autolink-tools input[type=checkbox]{-moz-appearance:auto;appearance:auto;-webkit-appearance:auto;width:auto;height:auto;border:1px solid ButtonText;background:ButtonFace;border-radius:0}.studio-shell .libtv-composer .composer-prompt-controls .prompt-autolink-tools input[type=checkbox]:before{content:none}}.studio-shell .libtv-composer .composer-controls{display:flex;flex-wrap:wrap;align-items:flex-start;gap:4px;min-width:0;min-height:32px;margin:0;padding:0}.studio-shell .libtv-composer .composer-control-parameters{display:flex;flex:1 1 0%;align-items:center;gap:4px;min-width:0;margin:0;padding:0;border:0;background:transparent}.studio-shell .libtv-composer .composer-control-parameters>.paragraph{flex-basis:100%;margin:0;font-size:12px;line-height:1.6}.studio-shell .libtv-composer .composer-control-parameters:has(>.paragraph){flex-wrap:wrap}.studio-shell .libtv-composer .composer-control-parameters .composer-model{flex:0 2 auto;width:auto;min-width:88px;max-width:240px}.studio-shell .libtv-composer .composer-control-parameters .composer-model .composer-popover-trigger{height:32px;min-height:32px;gap:4px;padding:4px 8px;border:0;border-radius:8px;font-size:13px}.studio-shell .libtv-composer .composer-control-parameters :is(.composer-model,.composer-specs) .composer-popover-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.studio-shell .libtv-composer .composer-control-parameters .composer-mode{flex:0 0 auto;min-width:0}.studio-shell .libtv-composer .composer-control-parameters :is(.composer-mode .composer-popover-trigger,.composer-static-mode){display:inline-flex;align-items:center;flex:0 0 auto;gap:4px;height:32px;min-height:32px;padding:4px 10px 4px 8px;border:0;border-radius:8px;font-size:13px;white-space:nowrap}.studio-shell .libtv-composer .composer-control-parameters .composer-specs{display:flex;flex:0 1 auto;align-items:center;gap:4px;min-width:0}.studio-shell .libtv-composer .composer-control-parameters :is(.composer-mode,.composer-static-mode)+.composer-specs:before{content:"";flex:0 0 1px;width:1px;height:16px;background:#ffffff26}.studio-shell .libtv-composer .composer-control-parameters .composer-specs .composer-popover-trigger{min-width:0;max-width:100%;height:32px;min-height:32px;gap:4px;padding:4px 8px;border:0;border-radius:8px;font-size:13px}.studio-shell .libtv-composer .composer-control-actions{display:flex;flex:0 0 auto;align-items:flex-start;gap:4px;min-width:0}.studio-shell .libtv-composer .composer-control-actions>.composer-icon-tool{display:inline-flex;flex:0 0 32px;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;min-height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:#c2c2c2}.studio-shell .libtv-composer .composer-control-actions>.composer-icon-tool[aria-controls]{margin:0 4px}.studio-shell .libtv-composer .composer-control-actions>.composer-icon-tool:hover:not(:disabled){background:#ffffff1a}.studio-shell .libtv-composer .composer-control-actions>.composer-icon-tool:disabled{opacity:.45}.studio-shell .libtv-composer .composer-control-actions .composer-submit{display:flex;flex:0 0 auto;align-items:center;gap:4px;min-width:0;min-height:32px;margin:0;padding:0;background:transparent}.studio-shell .libtv-composer .composer-control-actions .composer-fee{display:inline-flex;flex:0 0 auto;align-items:center;gap:4px;color:#939393;font-size:11px;white-space:nowrap}.studio-shell .libtv-composer .composer-control-actions .composer-fee-value{display:inline-flex;align-items:center;gap:2px;white-space:nowrap}.studio-shell .libtv-composer .composer-control-actions .composer-submit-arrow{display:inline-flex;flex:0 0 32px;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;min-height:32px;margin:0;padding:0;border:0;border-radius:12px;background:#fff;color:#252525;font:inherit}.studio-shell .libtv-composer .composer-control-actions .composer-submit-arrow:hover:not(:disabled){background:#dedede}.studio-shell .libtv-composer .composer-control-actions .composer-submit-arrow:disabled{opacity:.45}.studio-shell .libtv-composer .composer-controls :is(button,summary):focus-visible{outline:1px solid #a8a8a8;outline-offset:1px}@container libtv-composer (max-width: 470px){.studio-shell .libtv-composer .composer-control-parameters,.studio-shell .libtv-composer .composer-control-actions{flex:1 1 100%}.studio-shell .libtv-composer .composer-control-parameters{flex-wrap:wrap}.studio-shell .libtv-composer .composer-control-actions{flex-wrap:wrap;justify-content:flex-end}}@media(forced-colors:active){.studio-shell .libtv-composer .composer-controls :is(button,summary):focus-visible{outline:1px solid Highlight}.studio-shell .libtv-composer .composer-control-actions>:is(.composer-icon-tool,.composer-submit-arrow){border:1px solid ButtonText}.studio-shell .libtv-composer .composer-control-actions .composer-submit-arrow{background:ButtonFace;color:ButtonText}}.studio-shell .libtv-composer .libtv-composer-heading{box-sizing:border-box;display:flex;align-items:flex-start;gap:4px;min-height:30px;margin:0;padding:4px 0 0 4px}.studio-shell .libtv-composer .composer-creative-tools{display:flex;flex:1 1 auto;align-items:center;flex-wrap:wrap;gap:4px;min-width:0;margin:0;padding:0}.studio-shell .libtv-composer .composer-creative-tools>button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;box-sizing:border-box;gap:2px;height:26px;min-height:26px;padding:4px 8px;border:0;border-radius:999px;background:#ffffff0d;color:#919191;font-size:12px;font-weight:400;line-height:18px;white-space:nowrap;cursor:pointer}.studio-shell .libtv-composer .composer-creative-tools>button:nth-child(1),.studio-shell .libtv-composer .composer-creative-tools>button:nth-child(2),.studio-shell .libtv-composer .composer-creative-tools>button:nth-child(4){min-width:54px}.studio-shell .libtv-composer .composer-creative-tools>button:nth-child(3){min-width:66px}.studio-shell .libtv-composer .composer-creative-tools>button>svg{flex:0 0 12px;width:12px;height:12px}.studio-shell .libtv-composer .composer-creative-tools>button:hover:not(:disabled){background:#ffffff1a;color:#919191}.studio-shell .libtv-composer .composer-creative-tools>button:disabled{opacity:1;background:#ffffff0d;color:#6f6f6f;cursor:not-allowed}.studio-shell .libtv-composer .composer-creative-tools>button:disabled>svg{color:#6f6f6f}@media(max-width:650px){.studio-shell .libtv-composer .composer-creative-tools{gap:4px}.studio-shell .libtv-composer .composer-creative-tools>button{height:26px;min-height:26px;padding:4px 8px;font-size:12px;line-height:18px}}.studio-shell .libtv-composer .libtv-composer-heading .composer-heading-actions,.studio-shell .node-local-panel:has(.libtv-composer) .libtv-composer .composer-heading-actions{display:flex;flex:0 0 auto;align-items:center;align-self:flex-start;justify-content:flex-end;gap:4px;margin:-4px 0 0;padding:0}.studio-shell .libtv-composer .composer-heading-actions>.composer-expand{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;box-sizing:border-box;width:28px;height:28px;min-width:28px;min-height:28px;margin:0;padding:0;border:0;border-radius:8px;background:#262626;color:#919191;cursor:pointer}.studio-shell .libtv-composer .composer-heading-actions>.composer-expand>svg{width:14px;height:14px}.studio-shell .libtv-composer .composer-heading-actions>.composer-expand:hover:not(:disabled){background:#333;color:#d6d6d6}.studio-shell .libtv-composer .composer-heading-actions>.composer-expand:disabled{cursor:default}.studio-shell .node-local-panel:has(.libtv-composer)>.local-panel-anchor{display:none}.studio-shell .libtv-composer .composer-management{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;margin:8px 0 0;padding:8px 0 0;border-top:.5px solid #363636;color:#919191;font-size:12px}.studio-shell .libtv-composer .composer-management-heading{flex:1 1 100%;min-width:0;margin:0;color:#999;font-size:12px;font-weight:400}.studio-shell .libtv-composer .composer-management>button,.studio-shell .libtv-composer .composer-management>.composer-rename>summary{display:inline-flex;align-items:center;justify-content:center;gap:2px;box-sizing:border-box;min-width:26px;height:26px;min-height:26px;padding:4px 8px;border:1px solid #454545;border-radius:999px;background:#ffffff0d;color:#919191;font-size:12px;font-weight:400;line-height:18px;white-space:nowrap;cursor:pointer}.studio-shell .libtv-composer .composer-management>button>svg{flex:0 0 12px;width:12px;height:12px}.studio-shell .libtv-composer .composer-management>button:hover:not(:disabled),.studio-shell .libtv-composer .composer-management>.composer-rename>summary:hover{background:#ffffff1a;color:#919191}.studio-shell .libtv-composer .composer-management>button:disabled{opacity:1;color:#6f6f6f;cursor:not-allowed}.studio-shell .libtv-composer .composer-management>.composer-rename{position:relative;display:inline-flex;flex-wrap:wrap;align-items:center;max-width:100%;min-width:0}.studio-shell .libtv-composer .composer-management>.composer-rename>label{position:static;display:inline-flex;flex:1 1 auto;align-items:center;gap:6px;width:auto;max-width:100%;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#b7b7b7;font-size:12px}.studio-shell .libtv-composer .composer-management>.composer-rename input{display:block;flex:1 1 auto;width:min(180px,100%);max-width:100%;min-width:0;margin:0;padding:5px 7px;border:1px solid #4b4b4b;border-radius:6px;background:#202020;color:#eee;font-size:12px}.studio-shell .libtv-composer .composer-creative-tools>button:focus-visible,.studio-shell .libtv-composer .composer-heading-actions>.composer-expand:focus-visible,.studio-shell .libtv-composer .composer-management>button:focus-visible,.studio-shell .libtv-composer .composer-management>.composer-rename>summary:focus-visible{outline:2px solid #8fb4ff;outline-offset:2px}@media(forced-colors:active){.studio-shell .libtv-composer .composer-creative-tools>button,.studio-shell .libtv-composer .composer-heading-actions>.composer-expand,.studio-shell .libtv-composer .composer-management>button,.studio-shell .libtv-composer .composer-management>.composer-rename>summary{border:1px solid ButtonText;background:ButtonFace;color:ButtonText}.studio-shell .libtv-composer .composer-creative-tools>button:disabled,.studio-shell .libtv-composer .composer-management>button:disabled{color:GrayText}.studio-shell .libtv-composer .composer-creative-tools>button:focus-visible,.studio-shell .libtv-composer .composer-heading-actions>.composer-expand:focus-visible,.studio-shell .libtv-composer .composer-management>button:focus-visible,.studio-shell .libtv-composer .composer-management>.composer-rename>summary:focus-visible{outline:2px solid Highlight;outline-offset:2px}}.studio-shell .floating-panel.panel-add{--creation-menu-font: -apple-system, BlinkMacSystemFont, "PingFang SC", Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";position:fixed;left:var(--creation-left, 12px);top:var(--creation-top, 72px);right:auto;bottom:auto;width:var(--creation-width, 220px);max-height:var(--creation-max-height, calc(100dvh - 96px) );box-sizing:border-box;margin:0;padding:6px;border:1px solid #363636;border-radius:16px;background:#262626;color:#fff;transform:none;box-shadow:0 16px 48px #0009;overflow:visible;z-index:60}.studio-shell .floating-panel.panel-add .creation-menu{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;box-sizing:border-box;width:100%;max-height:calc(var(--creation-max-height, calc(100dvh - 96px) ) - var(--creation-chrome-inset, 14px));margin:0;padding:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;font-family:var(--creation-menu-font)}.studio-shell .floating-panel.panel-add .creation-menu>header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:0 0 auto;box-sizing:border-box;height:36px;padding:8px 8px 4px;margin:0;border:0;background:transparent}.studio-shell .floating-panel.panel-add .creation-menu>header h2{margin:0;font-size:12px;line-height:18px;font-weight:500;color:#fff;opacity:.3}.studio-shell .floating-panel.panel-add .creation-search-btn{display:flex;align-items:center;justify-content:center;flex:0 0 auto;box-sizing:border-box;width:24px;height:24px;margin:0;padding:0;border:0;border-radius:6px;background:transparent;color:#fff;opacity:.6;cursor:pointer}.studio-shell .floating-panel.panel-add .creation-search-btn:hover{background:#3b3b3b;opacity:1}.studio-shell .floating-panel.panel-add .creation-search-btn svg{width:16px;height:16px}.studio-shell .floating-panel.panel-add .creation-item{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex:0 0 auto;box-sizing:border-box;width:100%;height:36px;min-height:36px;margin:0;padding:0 8px;border:0;border-radius:10px;background:transparent;color:#fff;font:inherit;font-size:16px;font-weight:400;line-height:24.8px;text-align:left;white-space:nowrap;cursor:pointer}.studio-shell .floating-panel.panel-add .creation-item>svg{flex:0 0 auto;width:20px;height:20px}.studio-shell .floating-panel.panel-add .creation-label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:14px;line-height:22px;font-weight:400}.studio-shell .floating-panel.panel-add .creation-note{flex:0 0 auto;margin-left:8px;font-size:11px;line-height:16px;color:#9a9a9a}.studio-shell .floating-panel.panel-add .creation-arrow{flex:0 0 auto;margin-left:auto;padding-left:8px;font-size:14px;color:#9a9a9a}.studio-shell .floating-panel.panel-add .creation-item:not(:disabled):hover{background:#3b3b3b}.studio-shell .floating-panel.panel-add .creation-item:disabled{opacity:.4;cursor:default}.studio-shell .floating-panel.panel-add .creation-heading{display:flex;align-items:center;flex:0 0 auto;box-sizing:border-box;height:30px;margin:0;padding:0 8px;font-size:12px;line-height:18px;font-weight:500;color:#fff;opacity:.3}.studio-shell .floating-panel.panel-add .creation-sub{position:relative;display:block;flex:0 0 auto;width:100%}.studio-shell .floating-panel.panel-add .creation-flyout{position:fixed;left:var(--creation-flyout-left, 0px);top:var(--creation-flyout-top, 0px);right:auto;bottom:auto;width:var(--creation-flyout-width, 220px);max-height:var(--creation-flyout-max-height, calc(100dvh - 24px) );box-sizing:border-box;margin:0;padding:6px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;border:1px solid #363636;border-radius:16px;background:#262626;color:#fff;font-family:var(--creation-menu-font);transform:none;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 16px 48px #0009;z-index:61}.studio-shell .floating-panel.panel-add .creation-back{display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;width:100%;height:36px;margin:0;padding:0 8px;border:0;border-radius:10px;background:transparent;color:#9a9a9a;font:inherit;font-size:14px;text-align:left;cursor:pointer}.studio-shell .floating-panel.panel-add .creation-menu :focus-visible{outline:2px solid #6cb8ff;outline-offset:1px}@media(max-width:420px),(max-height:560px){.studio-shell .floating-panel.panel-add{width:var(--creation-width, min(220px, calc(100vw - 16px) ));max-height:var(--creation-max-height, calc(100dvh - 96px) )}}@media(prefers-reduced-motion:reduce){.studio-shell .floating-panel.panel-add .creation-menu,.studio-shell .floating-panel.panel-add .creation-flyout{scroll-behavior:auto}.studio-shell .floating-panel.panel-add .creation-menu *{transition:none!important;animation:none!important}}@media(forced-colors:active){.studio-shell .floating-panel.panel-add,.studio-shell .floating-panel.panel-add .creation-flyout{border:1px solid CanvasText;background:Canvas;color:CanvasText}.studio-shell .floating-panel.panel-add .creation-item:not(:disabled):hover{background:Highlight;color:HighlightText}}.studio-shell .node-context-toolbar.media-node-toolbar-host .node-actions>button.node-run{background:#eee;color:#202020;border-color:#eee}.studio-shell .node-context-toolbar.media-node-toolbar-host .node-actions>button.node-run:hover:not(:disabled),.studio-shell .node-context-toolbar.media-node-toolbar-host .node-actions>button.node-run[aria-expanded=true]{background:#dcdcdc;color:#202020}.studio-shell .node-context-toolbar.media-node-toolbar-host .node-actions>button.node-run:focus-visible{outline:2px solid #202020;outline-offset:-2px;color:#202020}.studio-shell .node-context-toolbar.media-node-toolbar-host .node-actions>button.node-run:disabled{background:#d6d6d6;color:#202020;opacity:1;cursor:not-allowed}.studio-shell .node-context-toolbar.media-node-toolbar-host .node-actions>button.node-run svg{color:currentColor}.node-tool-popup button.node-run{background:#eee;color:#202020;border-color:#eee}.node-tool-popup button.node-run:hover:not(:disabled),.node-tool-popup button.node-run[aria-expanded=true]{background:#dcdcdc;color:#202020}.node-tool-popup button.node-run:focus-visible{outline:2px solid #202020;outline-offset:-2px;color:#202020}.node-tool-popup button.node-run:disabled{background:#d6d6d6;color:#202020;opacity:1;cursor:not-allowed}.node-tool-popup button.node-run svg{color:currentColor}.studio-shell .libtv-composer .reference-preview{box-sizing:border-box}.studio-shell .libtv-composer .reference-preview>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;padding:15px 2px 0;font-size:10px;line-height:11px;color:#c6cfbf;text-align:left}.studio-shell .canvas-top .workspace-views{box-sizing:border-box;height:32px;padding:0;gap:0;position:relative}.studio-shell .canvas-top .workspace-views:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid rgba(255,255,255,.12);border-radius:inherit;pointer-events:none}.studio-shell .canvas-top .workspace-views>button{flex:0 0 32px;width:32px;min-width:32px;height:32px;padding:0;gap:0;box-sizing:border-box}.studio-shell .project-capsule .project-name>svg{display:none}.studio-shell .canvas-top .canvas-name{border-left:0}.studio-shell .canvas-top .canvas-collection-trigger{position:relative}.studio-shell .canvas-top .canvas-collection-trigger:before{content:"";position:absolute;left:-4px;top:50%;width:1px;height:18px;margin-top:-9px;background:#414141}.studio-shell .canvas-top .save-state[hidden]{display:none}.studio-shell .canvas-top .save-state.error:not([hidden]){display:inline-flex}
