:root{color:#f7f7f7;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#111413;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}body{min-width:320px}button,input,textarea{letter-spacing:0}button:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:2px;outline:1px solid #a8a8a8}::selection{color:#102019;background:#67e6bb}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#4a4a4a padding-box padding-box;border:2px solid #0000;border-radius:8px}.react-flow{--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:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--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:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--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:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--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 #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.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:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--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:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--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:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--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 #00000014;--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{width:100%;height:100%;position:absolute;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{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.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;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:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.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:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;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%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;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{z-index:5;margin:15px;position:absolute}.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{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.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{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.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{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;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));padding:10px;font-size:12px}.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{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.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-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.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))}.storyboard-v2{--storyboard-page:#141414;--storyboard-panel:#242424;--storyboard-panel-active:#303030;--storyboard-preview:#111;--storyboard-border:#363636;--storyboard-border-strong:#4a4a4a;--storyboard-text:#f2f2f2;--storyboard-muted:#919191;z-index:65;color:var(--storyboard-text);background:var(--storyboard-page);letter-spacing:0;grid-template-rows:56px minmax(0,1fr);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;display:grid;position:fixed;inset:0;overflow:hidden}.workspace.agent-is-open .storyboard-v2{right:390px}.workspace.view-storyboard .react-flow{background:var(--storyboard-page,#141414)}.workspace.view-storyboard .opensvip-dot-background{display:none}.storyboard-v2 button,.storyboard-v2 input,.storyboard-v2 textarea,.storyboard-v2 select{font:inherit;letter-spacing:0}.storyboard-v2 .sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.storyboard-workspace-header{background:#171717;border-bottom:1px solid #2e2e2e;align-items:center;gap:10px;min-width:0;padding:0 16px;display:flex}.storyboard-workspace-header>button,.storyboard-detail-header>button,.storyboard-column-header>button{color:#969696;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;place-items:center;width:28px;height:28px;padding:0;display:grid}.storyboard-workspace-header>button:hover,.storyboard-detail-header>button:hover,.storyboard-column-header>button:hover,.storyboard-icon-command:hover,.storyboard-composer-settings>summary:hover{color:#fff;background:#ffffff14}.storyboard-workspace-header>strong{font-size:14px;font-weight:600}.storyboard-workspace-count{color:#777;flex:1;min-width:0;font-size:11px}.storyboard-overview{min-width:0;min-height:0;margin:16px 16px 0;position:relative;overflow:hidden}.storyboard-overview-panel{min-width:0;min-height:0;transition:left .22s cubic-bezier(.4,0,.2,1),top .22s cubic-bezier(.4,0,.2,1),width .22s cubic-bezier(.4,0,.2,1),height .22s cubic-bezier(.4,0,.2,1),opacity .14s;position:absolute;overflow:hidden}.storyboard-overview-panel>.storyboard-column,.storyboard-overview-panel>.storyboard-strip{width:100%;height:100%}.storyboard-overview-empty{color:#6f6f6f;place-items:center;font-size:12px;display:grid;position:absolute;inset:0}.storyboard-column{border:1px solid var(--storyboard-border);background:var(--storyboard-panel);border-radius:8px 8px 0 0;grid-template-rows:44px minmax(0,1fr);width:100%;min-width:0;height:100%;min-height:0;display:grid;position:relative;overflow:hidden}.storyboard-column-header{align-items:center;gap:6px;min-width:0;padding:0 12px 0 16px;display:flex}.storyboard-column-header strong{color:#e7e7e7;font-size:14px;font-weight:500}.storyboard-column-spacer{flex:1;min-width:4px}.storyboard-video-filter{align-items:center;height:28px;margin:0;display:flex}.storyboard-video-filter select{color:#8d8d8d;cursor:pointer;background:0 0;border:0;outline:0;height:28px;padding:0 4px 0 8px;font-size:12px}.storyboard-strip{border:1px solid var(--storyboard-border);background:var(--storyboard-panel);border-radius:8px;grid-template-rows:44px minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.storyboard-strip-header{align-items:center;gap:16px;min-width:0;padding:0 16px;display:flex}.storyboard-strip-header button{color:#797979;cursor:pointer;background:0 0;border:0;height:30px;padding:0;font-size:13px;position:relative}.storyboard-strip-header button.is-active{color:#e7e7e7;font-weight:500}.storyboard-strip-header button.is-active:after{content:"";background:#d8d8d8;height:2px;position:absolute;bottom:0;left:0;right:0}.storyboard-strip-grid{scrollbar-width:thin;scrollbar-color:#494949 transparent;grid-template-columns:repeat(auto-fill,minmax(66px,1fr));grid-auto-rows:102px;align-content:start;gap:8px;min-width:0;min-height:0;padding:0 16px 12px;display:grid;overflow:hidden auto}.storyboard-strip-item{color:#a2a2a2;cursor:pointer;text-align:left;background:0 0;border:0;grid-template-rows:72px 18px;gap:5px;min-width:0;padding:0;display:grid}.storyboard-strip-preview{color:#8d8d8d;background:#151515;border:1px solid #424242;border-radius:7px;place-items:center;min-width:0;transition:border-color .12s;display:grid;position:relative;overflow:hidden}.storyboard-strip-item:hover .storyboard-strip-preview{border-color:#666}.storyboard-strip-item.is-selected .storyboard-strip-preview{border-color:#999;box-shadow:inset 0 0 0 1px #999}.storyboard-strip-item.is-error .storyboard-strip-preview{color:#d99090;border-color:#845252}.storyboard-strip-preview img{object-fit:cover;width:100%;height:100%;display:block}.storyboard-strip-progress{background:#e5e5e5;max-width:100%;height:3px;position:absolute;bottom:0;left:0}.storyboard-strip-item strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11px;font-weight:500;line-height:18px;overflow:hidden}.storyboard-card-list{scrollbar-width:thin;scrollbar-color:#494949 transparent;flex-direction:column;min-height:0;padding:0 16px;display:flex;overflow:hidden auto}.storyboard-composition-dock{z-index:3;align-items:flex-end;gap:8px;display:flex;position:absolute;bottom:14px;right:14px}.storyboard-composition-dock>button{color:#d0d0d0;cursor:pointer;background:0 0;border:0;justify-items:center;gap:3px;width:58px;min-width:58px;padding:0;display:grid}.storyboard-composition-dock>button>span{color:#efefef;background:#1a1a1a;border:1px solid #424242;border-radius:50%;place-items:center;width:50px;height:50px;transition:border-color .12s,transform .12s;display:grid;overflow:hidden;box-shadow:0 8px 22px #00000052}.storyboard-composition-dock>button:hover>span,.storyboard-composition-dock>button.is-selected>span{border-color:#858585;transform:translateY(-2px)}.storyboard-composition-dock img{object-fit:cover;width:100%;height:100%;display:block}.storyboard-composition-dock small{color:#b5b5b5;text-overflow:ellipsis;white-space:nowrap;max-width:58px;font-size:10px;overflow:hidden}.storyboard-column.has-composition-dock .storyboard-card-list{padding-bottom:82px}.storyboard-card-sortable{flex:none;min-width:0;transition:opacity .12s}.storyboard-card-sortable[draggable=true]{cursor:grab}.storyboard-card-sortable[draggable=true]:active{cursor:grabbing}.storyboard-card-sortable.is-dragging{opacity:.38}.storyboard-card{background:0 0;border-bottom:1px solid #3a3a3a;flex:none;min-width:0;padding:16px 0}.storyboard-card-heading{color:#929292;align-items:center;gap:4px;min-width:0;height:16px;margin-bottom:12px;font-size:12px;display:flex}.storyboard-card-heading>span:first-of-type{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.storyboard-card-drag{opacity:0;color:#717171;flex:none;width:14px;margin-left:-13px;transition:opacity .12s}.storyboard-card-agent{color:#fff;opacity:0;cursor:pointer;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#00000070;border:0;border-radius:5px;flex:none;align-items:center;gap:4px;height:20px;padding:0 6px;font-size:11px;transition:opacity .12s;display:inline-flex}.storyboard-card:hover .storyboard-card-drag,.storyboard-card:hover .storyboard-card-agent,.storyboard-card-agent:focus-visible{opacity:1}.storyboard-card-select{width:100%;min-width:0;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:12px;padding:0;display:flex}.storyboard-card-media{background:var(--storyboard-preview);border:1px solid #454545;border-radius:8px;max-width:100%;transition:border-color .12s;position:relative;overflow:hidden}.storyboard-card:hover .storyboard-card-media,.storyboard-card.is-related .storyboard-card-media{border-color:#5d5d5d}.storyboard-card.is-selected .storyboard-card-media{border-color:#858585}.storyboard-card-media img,.storyboard-card-media video{object-fit:contain;background:var(--storyboard-preview);width:100%;height:100%;display:block}.storyboard-card-meta{scrollbar-width:none;align-items:center;gap:4px;max-width:100%;display:flex;overflow-x:auto}.storyboard-card-meta::-webkit-scrollbar{display:none}.storyboard-card-meta>span{color:#9a9a9a;text-overflow:ellipsis;white-space:nowrap;background:#292929;border:1px solid #444;border-radius:999px;flex:none;align-items:center;max-width:156px;height:24px;padding:0 8px;font-size:11px;display:inline-flex;overflow:hidden}.storyboard-text-preview{background:#202020;border:1px solid #414141;border-radius:10px;grid-template-columns:34px minmax(0,1fr);gap:10px;width:min(100%,360px);min-height:116px;padding:14px;display:grid;overflow:hidden}.storyboard-text-preview-icon{color:#9a9a9a;background:#292929;border:1px solid #444;border-radius:7px;place-items:center;width:32px;height:32px;display:grid}.storyboard-text-preview p{color:#c3c3c3;white-space:pre-wrap;max-height:82px;margin:0;font-size:12px;line-height:1.7;overflow:hidden}.storyboard-audio-preview{background:#202020;border:1px solid #414141;border-radius:10px;align-items:center;gap:12px;width:min(100%,360px);height:82px;padding:0 14px;display:flex;position:relative;overflow:hidden}.storyboard-audio-icon{color:#b1b1b1;background:#303030;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;display:grid}.storyboard-audio-wave{opacity:.72;flex:1;align-items:center;gap:3px;min-width:0;height:38px;display:flex}.storyboard-audio-wave i{background:#7e7e7e;border-radius:2px;flex:1;width:2px;max-height:30px}.storyboard-card-placeholder{color:#777;background:var(--storyboard-preview);place-items:center;display:grid;position:absolute;inset:0}.storyboard-card-play,.storyboard-card-running,.storyboard-card-error{color:#fff;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0000008a;border-radius:50%;place-items:center;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.storyboard-card-play{width:36px;height:36px}.storyboard-card-running,.storyboard-card-error{width:38px;height:38px}.storyboard-card-error{color:#e19a9a}.storyboard-card-role{color:#111;background:#e7e7e7;border-radius:5px;align-items:center;gap:4px;height:22px;padding:0 7px;font-size:10px;font-weight:600;display:inline-flex;position:absolute;top:8px;right:8px}.storyboard-card-progress{background:#0000008c;border-radius:3px;height:3px;position:absolute;bottom:8px;left:8px;right:8px;overflow:hidden}.storyboard-card-progress i{border-radius:inherit;background:#e8e8e8;height:100%;display:block}.storyboard-empty{color:#696969;text-align:center;justify-content:center;align-items:center;min-height:0;padding:32px 16px;font-size:12px;display:flex}.storyboard-focus-layout{min-width:0;min-height:0;padding:16px 16px 0}.storyboard-focus-layout>.storyboard-column{width:100%;min-width:0;height:100%}.storyboard-detail-layout{grid-template-columns:448px minmax(0,1fr);gap:12px;min-width:0;min-height:0;padding:16px 16px 0;display:grid}.storyboard-detail-index{min-width:0;min-height:0}.storyboard-detail-index>.storyboard-column{height:100%}.storyboard-detail{border:1px solid var(--storyboard-border);background:var(--storyboard-panel);border-radius:12px 12px 0 0;grid-template-rows:54px minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.storyboard-detail-header{align-items:center;gap:4px;min-width:0;padding:0 12px;display:flex}.storyboard-detail-title{color:#e6e6e6;background:0 0;border:0;border-radius:5px;outline:0;flex:1;min-width:0;height:30px;padding:0 5px;font-size:13px;font-weight:600}.storyboard-detail-title:not([readonly]):focus{background:#ffffff0b}.storyboard-detail-body{grid-template-rows:minmax(0,1fr) 192px;gap:12px;min-width:0;min-height:0;padding:0 16px 14px;display:grid;overflow:hidden}.storyboard-preview-stage{justify-content:center;align-items:center;min-width:0;min-height:0;display:flex;overflow:hidden}.storyboard-detail-preview{border:1px solid var(--storyboard-border);color:#777;background:var(--storyboard-preview);border-radius:10px;place-items:center;display:grid;position:relative;overflow:hidden}.storyboard-detail-preview.is-large{width:var(--storyboard-media-width,min(100%, 533px));height:var(--storyboard-media-height,min(100%, 300px));max-width:100%;max-height:100%;aspect-ratio:var(--storyboard-media-ratio,16 / 9)}.storyboard-detail-preview.is-compact{width:min(532px,100% - 32px);min-height:180px}.storyboard-detail-preview img,.storyboard-detail-preview video{object-fit:contain;background:var(--storyboard-preview);width:100%;height:100%;display:block}.storyboard-preview-state,.storyboard-preview-overlay{color:#858585;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.storyboard-preview-state small,.storyboard-preview-overlay small{color:#858585;font-size:10px}.storyboard-preview-state.is-error{color:#d99090}.storyboard-preview-overlay{z-index:2;color:#ddd;background:#0f0f0fc2;position:absolute;inset:0}.storyboard-audio-result{color:#929292;flex-direction:column;align-items:center;gap:10px;width:min(420px,100% - 40px);display:flex}.storyboard-audio-result strong{color:#d5d5d5;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:13px;overflow:hidden}.storyboard-audio-result audio{width:100%;height:34px}.storyboard-text-result{color:#bcbcbc;white-space:pre-wrap;width:min(560px,100% - 40px);max-height:calc(100% - 40px);margin:0;font-size:13px;line-height:1.8;overflow:auto}.storyboard-composer{align-self:end;width:100%;min-width:0;min-height:0;position:relative}.storyboard-v2 .storyboard-composer.generator-panel{z-index:6;box-sizing:border-box;background:#262626;border:1px solid #363636;border-radius:14px;width:100%;max-width:100%;height:192px;padding:8px;transition:none;position:relative;bottom:auto;left:auto;overflow:visible;transform:none;box-shadow:0 4px 10px #0000001f}.storyboard-v2 .storyboard-composer.generator-panel-text{height:150px}.storyboard-v2 .storyboard-composer.generator-panel-audio{height:190px}.storyboard-v2 .storyboard-composer .generator-tags{scrollbar-width:none;min-width:0;overflow:auto hidden}.storyboard-v2 .storyboard-composer .generator-tags::-webkit-scrollbar{display:none}.storyboard-reference-chip{color:#c8c8c8;text-overflow:ellipsis;white-space:nowrap;background:#ffffff0f;border:1px solid #484848;border-radius:9999px;flex:none;align-items:center;gap:4px;max-width:130px;height:26px;padding:0 7px 0 4px;font-size:11px;display:inline-flex;overflow:hidden}.storyboard-reference-chip img{object-fit:cover;border-radius:4px;flex:none;width:18px;height:18px}.storyboard-prompt-editor{min-width:0;min-height:0;display:flex}.storyboard-prompt-editor .mention-prompt-editor-wrap,.storyboard-v2 .storyboard-composer .generator-input .mention-prompt-editor-wrap{flex:auto;min-width:0;height:100%;min-height:0;display:flex}.storyboard-v2 .storyboard-composer .generator-input textarea,.storyboard-v2 .storyboard-composer .generator-input .magic-prompt-editor{color:#f1f1f1;resize:none;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;font-size:14px;font-weight:400;line-height:1.8}.storyboard-prompt-editor .magic-prompt-editor[data-empty=true]:before{color:#737373}.storyboard-composer-toolbar{align-items:center;gap:4px;min-width:0;display:flex;overflow:visible}.storyboard-v2 .storyboard-composer .generator-footer{width:100%;min-width:0}.storyboard-v2 .storyboard-composer .model-button,.storyboard-v2 .storyboard-composer .settings-button,.storyboard-v2 .storyboard-composer .icon-button,.storyboard-v2 .storyboard-composer .submit-generation{flex:none}.storyboard-v2 .storyboard-composer .model-button{min-width:0;max-width:154px}.storyboard-icon-command,.storyboard-composer-settings>summary,.storyboard-confirm-button{color:#949494;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;place-items:center;width:30px;height:30px;padding:0;display:grid}.storyboard-composer-settings{flex:none;position:relative}.storyboard-composer-settings>summary{list-style:none}.storyboard-composer-settings>summary::-webkit-details-marker{display:none}.storyboard-settings-popover{z-index:8;color:#cfcfcf;background:#2b2b2b;border:1px solid #494949;border-radius:8px;flex-direction:column;gap:10px;width:270px;padding:12px;display:flex;position:absolute;bottom:38px;right:0;box-shadow:0 16px 36px #0000006b}.storyboard-settings-popover.is-audio,.storyboard-settings-popover.is-shot{width:340px}.storyboard-settings-popover>strong{color:#eee;font-size:12px}.storyboard-settings-popover label,.storyboard-settings-popover label>span{color:#898989;font-size:9px}.storyboard-settings-popover input:not([type=range]),.storyboard-settings-popover textarea,.storyboard-settings-popover select{color:#ddd;background:#222;border:1px solid #444;border-radius:6px;outline:0;width:100%;min-width:0;height:32px;padding:0 8px;font-size:10px}.storyboard-settings-popover textarea{resize:none;height:62px;padding:7px 8px}.storyboard-settings-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.storyboard-credit-hint,.storyboard-character-count{color:#797979;white-space:nowrap;flex:none;font-size:9px}.storyboard-v2 .storyboard-composer .submit-generation:disabled{color:#777;cursor:not-allowed;background:#444}.storyboard-open-editor{color:#ddd;cursor:pointer;background:#333;border:1px solid #4a4a4a;border-radius:6px;align-items:center;height:30px;padding:0 11px;font-size:10px;display:inline-flex}.storyboard-confirm-button.is-confirmed{color:#151515;background:#ececec}.storyboard-composition-summary{color:#aaa;font-size:11px}.storyboard-mobile-tabs,.storyboard-mobile-column{display:none}@media (width<=1180px){.storyboard-detail-layout{grid-template-columns:408px minmax(0,1fr)}.storyboard-v2 .storyboard-composer .model-button{max-width:128px}.storyboard-credit-hint{display:none}}@media (width<=760px){.workspace.agent-is-open .storyboard-v2{right:0}.storyboard-v2{grid-template-rows:52px minmax(0,1fr)}.storyboard-workspace-header{gap:6px;padding:0 8px}.storyboard-workspace-count,.storyboard-overview,.storyboard-focus-layout,.storyboard-detail-index{display:none}.storyboard-mobile-tabs{scrollbar-width:none;flex:1;align-items:center;gap:2px;min-width:0;display:flex;overflow-x:auto}.storyboard-mobile-tabs button{color:#777;background:0 0;border:0;border-radius:5px;flex:none;height:28px;padding:0 8px;font-size:10px}.storyboard-mobile-tabs button.is-active{color:#e5e5e5;background:#303030}.storyboard-mobile-column{grid-template-rows:auto minmax(0,1fr);gap:8px;min-width:0;min-height:0;padding:8px 8px 0;display:grid;overflow:hidden}.storyboard-mobile-column>.storyboard-strip{height:min(168px,32vh)}.storyboard-mobile-column>.storyboard-strip:only-child{height:100%}.storyboard-v2.has-detail .storyboard-mobile-column{display:none}.storyboard-mobile-column>.storyboard-column{width:100%;min-width:0;height:100%}.storyboard-detail-layout{min-width:0;min-height:0;padding:8px 8px 0;display:block}.storyboard-detail{height:100%}.storyboard-detail-body{grid-template-rows:minmax(0,1fr) 192px;gap:8px;padding:0 8px 8px}.storyboard-card-media{max-width:100%}.storyboard-settings-popover,.storyboard-settings-popover.is-audio,.storyboard-settings-popover.is-shot{width:min(330px,100vw - 28px)}.storyboard-character-count{display:none}}:root{--app-bg:#111413;--surface:#1d1d1d;--surface-2:#262626;--surface-3:#303030;--border:#363636;--text:#f7f7f7;--muted:#919191;--brand-accent:#67e6bb;--brand-accent-strong:#43cfa3;--brand-accent-soft:#67e6bb24;--shadow:0 14px 40px #0006;--canvas-bg-dot:#474747;--canvas-edge:#86909c;--canvas-edge-hover:#c0c8d0;--canvas-edge-selected:#e0e4e8;--canvas-handle:#86909c;--canvas-handle-bg:#1e1e1ee6;--canvas-handle-icon:#ffffffb3}*{box-sizing:border-box}button,input,textarea,select{font:inherit}button{color:inherit}.app-shell{width:100vw;height:100svh;color:var(--text);background:var(--app-bg);overflow:hidden}.topbar{pointer-events:none;z-index:50;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;height:48px;padding:0 16px;display:grid;position:absolute;top:16px;left:0;right:0}.topbar.is-storyboard-hidden{display:none}.project-identity,.top-actions,.view-switch,.brand-button,.canvas-selector,.credits-button{pointer-events:auto;align-items:center;display:flex}.project-identity{gap:8px;min-width:0;overflow:visible}.brand-button{cursor:default;background:0 0;border:0;gap:7px;padding:0}.brand-mark{color:#141414;background:#f4f7f6;border:1px solid #ffffffbd;border-radius:7px;justify-content:center;align-items:center;width:30px;height:30px;transition:transform .15s,box-shadow .15s;display:inline-flex;box-shadow:0 8px 24px #00000047,inset 0 0 0 1px #ffffff8c}.brand-button:hover .brand-mark{transform:translateY(-1px);box-shadow:0 10px 28px #00000057,inset 0 0 0 1px #ffffffa6}.opensvip-mark{display:block;overflow:visible}.opensvip-mark-ring{color:#111413}.opensvip-mark-arrow{color:#20a982}.brand-word{color:#f3f7f5;font-size:12px;font-weight:720;line-height:1}.brand-divider{background:#ffffff1f;flex:none;width:1px;height:18px;margin:0 1px}.project-name{width:100px;min-width:30px;max-width:100px;height:22px;color:var(--text);background:0 0;border:0;border-bottom:1px dashed #0000;border-radius:0;outline:none;padding:0 4px;font-size:13px;font-weight:400;line-height:20.15px}.project-name:hover,.project-name:focus{border-bottom-color:var(--border);background:0 0}.project-menu-wrap{position:relative}.canvas-selector{color:#f7f7f7;cursor:pointer;background:0 0;border:0;border-radius:8px;gap:4px;max-width:180px;height:32px;padding:0 8px;font-size:13px;font-weight:400;line-height:20.15px}.canvas-selector:hover,.canvas-selector[aria-expanded=true]{background:#363636}.canvas-selector-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.canvas-selector svg{flex:none}.project-menu{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);z-index:100;background:#262626;border:1px solid #363636;border-radius:12px;flex-direction:column;gap:8px;width:min(214px,100vw - 16px);padding:8px 0;display:flex;position:absolute;top:38px;left:0;box-shadow:0 4px 10px #0000001a}.canvas-menu-header{flex:none;justify-content:space-between;align-items:center;gap:8px;height:28px;padding:0 8px 0 16px;display:flex}.canvas-menu-header>span{color:#919191;font-size:13px;font-weight:500;line-height:19.5px}.canvas-menu-header>button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;width:24px;height:24px;padding:0;display:inline-flex}.canvas-menu-header>button:hover,.canvas-menu-header>button:focus-visible{background:#ffffff14;outline:none}.canvas-menu-list{scrollbar-width:thin;scrollbar-color:#555 transparent;flex-direction:column;gap:8px;max-height:min(220px,100svh - 126px);padding:0 8px;display:flex;overflow-y:auto}.canvas-menu-row{border-radius:8px;align-items:center;min-width:0;height:28px;min-height:28px;padding:4px 2px 4px 8px;transition:background-color .12s;display:flex;position:relative}.canvas-menu-row:hover{background:#ffffff14}.canvas-menu-switch{color:#fff;text-align:left;cursor:pointer;background:0 0;border:0;flex:auto;align-items:center;min-width:0;height:21px;padding:0 32px 0 0;font-size:14px;font-weight:400;line-height:21px;display:flex}.canvas-menu-row.is-active .canvas-menu-switch{cursor:default}.canvas-menu-name{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.canvas-menu-current,.canvas-menu-more{justify-content:center;align-items:center;width:24px;height:24px;padding:0;display:inline-flex;position:absolute;top:50%;right:2px;transform:translateY(-50%)}.canvas-menu-current{color:#fff;pointer-events:none;transition:opacity .12s}.canvas-menu-more{color:#919191;cursor:pointer;opacity:0;pointer-events:none;background:0 0;border:0;border-radius:8px;transition:color .12s,opacity .12s}.canvas-menu-row:hover .canvas-menu-current,.canvas-menu-row:focus-within .canvas-menu-current{opacity:0}.canvas-menu-row:hover .canvas-menu-more,.canvas-menu-row:focus-within .canvas-menu-more,.canvas-menu-more[aria-expanded=true]{color:#fff;opacity:1;pointer-events:auto}.canvas-menu-more:hover,.canvas-menu-more:focus-visible{background:#ffffff14;outline:none}.canvas-menu-create,.canvas-menu-rename{flex:none;align-items:center;width:100%;height:28px;padding:4px 10px 4px 8px;display:flex}.canvas-menu-name-input{color:#fff;background:0 0;border:0;border-bottom:1px solid #5a5a5a;border-radius:0;outline:none;flex:auto;min-width:0;height:21px;padding:0;font-size:14px;font-weight:400;line-height:21px}.canvas-menu-name-input:focus{border-bottom-color:#8a8a8a}.canvas-action-menu{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);z-index:180;background:#171717fa;border:1px solid #363636;border-radius:12px;flex-direction:column;gap:4px;width:180px;height:154px;padding:8px 4px 4px;display:flex;position:absolute;box-shadow:0 4px 5px #0000001a,0 2px 2px #0000000a}.canvas-action-menu>button{color:#fff;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;width:100%;height:32px;padding:0 8px;font-size:13px;font-weight:400;line-height:normal;transition:background-color .12s}.canvas-action-menu>button:hover:not(:disabled),.canvas-action-menu>button:focus-visible:not(:disabled){background:#ffffff14;outline:none}.canvas-action-menu>button:disabled{opacity:.45;cursor:not-allowed}.view-switch{background:#262626cc;border:1px solid #363636;border-radius:8px;flex:none;gap:0;width:66px;height:32px;padding:0;overflow:hidden}.view-switch button{color:#919191;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;width:32px;min-width:32px;height:32px;padding:0;transition:color .12s,background-color .12s;display:flex}.view-switch button svg{flex:none;width:16px;height:16px}.view-switch button:hover,.view-switch button:focus-visible{color:#fff;background:#363636;outline:none}.view-switch button.is-active{color:#fff;box-shadow:none;background:#363636}.top-actions{justify-content:flex-end;gap:5px}.workspace-menu-wrap{pointer-events:auto;position:relative}.workspace-menu{width:min(320px,100vw - 24px);box-shadow:var(--shadow);z-index:100;background:#202020;border:1px solid #393939;border-radius:8px;flex-direction:column;gap:8px;padding:10px;display:flex;position:absolute;top:40px;right:0}.workspace-menu-header,.workspace-recovery-heading,.workspace-menu-command,.workspace-menu-secondary,.workspace-recovery-form,.workspace-recovery-code{align-items:center;display:flex}.workspace-menu-header{justify-content:space-between;gap:12px;padding:2px 2px 5px}.workspace-menu-header>div{min-width:0}.workspace-menu-header strong,.workspace-menu-header span{display:block}.workspace-menu-header strong{font-size:13px;font-weight:600}.workspace-menu-header span{color:var(--muted);margin-top:2px;font-size:11px}.workspace-menu-header>button,.workspace-recovery-code>button{color:#aaa;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;place-items:center;width:26px;height:26px;padding:0;display:grid}.workspace-menu-header>button:hover,.workspace-recovery-code>button:hover{color:#fff;background:#333}.workspace-menu-command,.workspace-menu-secondary{color:#ddd;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:flex-start;gap:8px;width:100%;min-height:32px;padding:0 9px;font-size:12px}.workspace-menu-command:hover,.workspace-menu-secondary:hover:not(:disabled){color:#fff;background:#303030}.workspace-menu-danger{color:#c9a2a2}.workspace-menu-danger:hover{color:#ffd4d4;background:#c9525221}.workspace-menu-secondary:disabled{color:#686868;cursor:default}.workspace-menu-divider{background:#343434;height:1px}.workspace-recovery-heading{color:#d7d7d7;gap:7px;padding:2px 3px 0;font-size:12px;font-weight:600}.workspace-recovery-code{grid-template-columns:minmax(0,1fr) 26px;gap:6px;display:grid}.workspace-recovery-code code{overflow-wrap:anywhere;color:#ededed;background:#181818;border:1px solid #3d3d3d;border-radius:6px;min-width:0;padding:7px 8px;font-size:10px;line-height:1.45}.workspace-recovery-code small{color:#7f7f7f;grid-column:1/-1;font-size:10px}.workspace-recovery-form{gap:6px;min-width:0}.workspace-recovery-form input{color:#eee;background:#181818;border:1px solid #3b3b3b;border-radius:6px;outline:none;flex:auto;min-width:0;height:32px;padding:0 9px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px}.workspace-recovery-form input:focus{border-color:#686868}.workspace-recovery-form>button{color:#161616;cursor:pointer;background:#f0f0f0;border:0;border-radius:6px;flex:none;height:32px;padding:0 11px;font-size:12px;font-weight:600}.workspace-recovery-form>button:disabled{color:#777;cursor:default;background:#333}.workspace-recovery-error{color:#e7a2a2;margin:0;font-size:11px;line-height:1.45}.api-key-control{background:#181818f5;border:1px solid #3a3a3a;border-radius:7px;flex:none;align-items:center;width:252px;height:32px;padding:2px;transition:border-color .12s,background-color .12s;display:flex;box-shadow:0 8px 24px #00000038}.api-key-control:focus-within{background:#191919;border-color:#646464}.api-key-control.is-configured{border-color:#67e6bb6b}.api-key-control.needs-attention{background:#241d17;border-color:#d9995d;animation:.42s ease-out 2 api-key-attention}@keyframes api-key-attention{0%,to{transform:translate(0)}35%{transform:translate(-4px)}70%{transform:translate(3px)}}.api-key-focus,.api-key-action{color:#969696;cursor:pointer;background:0 0;border:0;border-radius:5px;flex:none;justify-content:center;align-items:center;width:27px;height:27px;padding:0;display:inline-flex}.api-key-focus{position:relative}.api-key-focus:hover,.api-key-action:hover:not(:disabled){color:#f1f1f1;background:#ffffff14}.api-key-action:disabled{opacity:.28;cursor:default}.api-key-status-dot{background:#6e6e6e;border:1px solid #181818;border-radius:50%;width:6px;height:6px;position:absolute;bottom:4px;right:4px}.api-key-control.is-configured .api-key-status-dot{background:var(--brand-accent);box-shadow:0 0 0 2px var(--brand-accent-soft)}.api-key-control input{color:#e7e7e7;letter-spacing:0;background:0 0;border:0;outline:0;flex:auto;min-width:0;height:27px;padding:0 6px;font-family:Consolas,SFMono-Regular,monospace;font-size:11px}.api-key-control input::placeholder{color:#737373;opacity:1}.api-key-apply:not(:disabled){color:#dffbef;background:var(--brand-accent-soft)}.ui-icon-button{color:#b0b0b0;cursor:pointer;background:0 0;border:0;border-radius:7px;flex:none;justify-content:center;align-items:center;width:32px;height:32px;padding:0;display:inline-flex}.ui-icon-button:hover,.ui-icon-button.is-active{color:var(--text);background:#ffffff1a}.ui-icon-button:disabled{opacity:.35;cursor:default}.credits-button{color:#d5d5d5;border:1px solid var(--border);cursor:pointer;background:#202020;border-radius:7px;gap:6px;height:30px;padding:0 9px}.credits-button svg{color:var(--brand-accent)}.avatar{color:#171717;cursor:pointer;background:#e4e4e4;border:1px solid #4a4a4a;border-radius:50%;place-items:center;width:32px;height:32px;padding:0;font-weight:800;display:grid}.avatar:hover,.avatar[aria-expanded=true]{background:#fff;box-shadow:0 0 0 2px #ffffff14}.account-menu-wrap{margin-left:4px;position:relative}.account-menu{color:#e8e8e8;width:226px;box-shadow:var(--shadow);background:#202020;border:1px solid #3b3b3b;border-radius:8px;padding:6px;animation:.13s ease-out both account-menu-in;position:absolute;top:40px;right:0}@keyframes account-menu-in{0%{opacity:0;transform:translateY(-4px)}}.account-menu-user{align-items:center;gap:10px;min-width:0;padding:9px 8px;display:flex}.account-menu-avatar{color:#171717;background:#ededed;border-radius:50%;flex:none;place-items:center;width:32px;height:32px;font-size:12px;font-weight:800;display:grid}.account-menu-user>span:last-child{flex-direction:column;gap:3px;min-width:0;display:flex}.account-menu-user strong,.account-menu-user small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-menu-user strong{color:#efefef;font-size:12px;font-weight:600}.account-menu-user small{color:#818181;font-size:10px}.account-menu-divider{background:#343434;height:1px;margin:4px 3px}.account-menu>button{color:#c5c5c5;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;width:100%;height:34px;padding:0 9px;font-size:11px;display:flex}.account-menu>button:hover{color:#fff;background:#ffffff14}.workspace{background:var(--app-bg);width:100%;height:100svh;position:relative;overflow:hidden}.workspace .react-flow{background:var(--app-bg)}.opensvip-dot-background{pointer-events:none;--xy-background-pattern-color-props:var(--canvas-bg-dot);width:100%;height:100%;position:absolute;inset:0}.workspace.agent-is-open .react-flow{width:calc(100% - 390px)}.react-flow__pane{cursor:default}.workspace .react-flow .react-flow__pane.selection{cursor:crosshair}.workspace[data-selection-text-suppressed=true] .react-flow,.workspace[data-selection-text-suppressed=true] .react-flow *{-webkit-user-select:none!important;user-select:none!important}.workspace .react-flow .react-flow__selection,.workspace .react-flow .react-flow__nodesselection-rect{box-shadow:none;background:#ffffff06;border:1px dashed #dadadab8;border-radius:7px}.workspace .react-flow .react-flow__nodesselection-rect{cursor:grab;pointer-events:none}.workspace[data-multi-selection=true] .react-flow .react-flow__nodesselection{z-index:2000}.workspace[data-multi-selection=true] .react-flow .react-flow__nodesselection-rect{pointer-events:all;touch-action:none}.workspace[data-visual-selection=true] .react-flow .react-flow__nodesselection-rect{left:var(--visual-selection-left);top:var(--visual-selection-top);width:var(--visual-selection-width)!important;height:var(--visual-selection-height)!important}.workspace[data-multi-selection=true] .react-flow__node.selected .generator-panel,.workspace[data-multi-selection=true] .react-flow__node.selected .script-generator-panel,.workspace[data-multi-selection=true] .react-flow__node.selected .node-title-actions,.workspace[data-multi-selection=true] .react-flow__node.selected .text-node-resize-control,.workspace[data-multi-selection=true] .react-flow__node.selected .script-node-toolbar{display:none}.multi-selection-add-hit-target{left:var(--multi-selection-handle-left);top:var(--multi-selection-handle-top);z-index:9999;width:80px;height:80px;color:var(--canvas-handle-icon);cursor:crosshair;touch-action:none;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;transform:translate(-50%,-50%)}.workspace:not([data-visual-selection=true]) .multi-selection-add-hit-target{display:none}.multi-selection-add-indicator{border:1px solid var(--canvas-handle-icon);width:24px;height:24px;color:var(--canvas-handle-icon);background:var(--canvas-handle-bg);pointer-events:none;border-radius:50%;place-items:center;transition:color .12s,background .12s,transform .12s;display:grid;box-shadow:0 2px 9px #00000057}.multi-selection-add-hit-target:hover .multi-selection-add-indicator,.multi-selection-add-hit-target.is-connecting .multi-selection-add-indicator{color:#161616;background:#f0f0f0;transform:scale(1.08)}.react-flow__node.is-multi-connect-target .lib-handle-target .lib-handle-dot{opacity:1;filter:drop-shadow(0 0 7px #a2cdefb8)}.workspace .react-flow .react-flow__nodesselection-rect:active{cursor:grabbing}.workspace .react-flow.hand-tool-mode .react-flow__pane{cursor:grab}.workspace .react-flow.hand-tool-mode .react-flow__pane.dragging{cursor:grabbing}.workspace .react-flow.hand-tool-mode .react-flow__node,.workspace .react-flow.hand-tool-mode .react-flow__edge{pointer-events:none}.workspace .react-flow.hand-tool-mode .react-flow__node{cursor:default}.workspace .react-flow.mark-mode .react-flow__pane{cursor:grab}.workspace .react-flow.mark-mode .react-flow__pane.dragging{cursor:grabbing}.workspace .react-flow.mark-mode .react-flow__edge,.workspace .react-flow.mark-mode .lib-handle,.workspace .react-flow.mark-mode .node-floating-title,.workspace .react-flow.mark-mode .generator-panel{pointer-events:none!important}.workspace .react-flow.mark-mode .react-flow__node{cursor:default}.workspace .react-flow.mark-mode .react-flow__node:has(.workflow-node.is-mark-target){cursor:crosshair;pointer-events:auto!important}.workspace .react-flow.mark-mode .image-mark-overlay{pointer-events:auto!important}.react-flow__node{cursor:grab;-webkit-user-select:none;user-select:none;will-change:auto;width:auto;height:auto}.react-flow__node.dragging,.react-flow__node.dragging .workflow-node,.react-flow__node.dragging .node-card{cursor:grabbing}.react-flow__node.dragging{will-change:transform;z-index:1000!important}.react-flow__node:has(.workflow-node.is-selected){z-index:40!important}.react-flow__node:focus,.react-flow__node:focus-visible{outline:0}.react-flow__edge{cursor:pointer}.react-flow__edges{z-index:0!important}.workflow-edge-line{stroke-linecap:round;stroke-linejoin:round}@keyframes scissors-fade-in{0%{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}@keyframes scissors-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.7)}}.scissors-enter{animation:.2s forwards scissors-fade-in}.scissors-exit{animation:.15s forwards scissors-fade-out}.edge-scissors-button{color:#ffffffb3;cursor:pointer;transform-origin:50%;background:#1e1e1ef2;border:1px solid #ffffff1a;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;padding:0;display:flex}.edge-scissors-button svg{display:block;transform:rotate(-115deg)}@keyframes connection-breathe{0%,to{filter:drop-shadow(0 0 3px #64b4ff66);opacity:.8}50%{filter:drop-shadow(0 0 10px #64b4ffe6);opacity:1}}.connection-line-glow{animation:1.5s ease-in-out infinite connection-breathe}.workflow-node{--node-long-edge:350px;--node-width-factor:1;--node-height-factor:1;--floating-ui-scale:1;--title-floating-ui-scale:1;width:calc(var(--node-long-edge) * var(--node-width-factor));height:calc(var(--node-long-edge) * var(--node-height-factor));text-rendering:geometricprecision;-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto;transition:width .18s cubic-bezier(.22,1,.36,1),height .18s cubic-bezier(.22,1,.36,1);position:relative;overflow:visible}.workflow-node-image{--node-long-edge:600px;transition:none}.workflow-node-video{--node-long-edge:622px;transition:none}.workflow-node-text{min-width:300px;min-height:200px;transition:none}.node-card{background:var(--surface-2);background-clip:padding-box;border:1px solid #414141;border-radius:10px;width:100%;height:100%;transition:border-color .15s,box-shadow .15s;position:relative;overflow:visible;box-shadow:0 2px 12px #0000002e}.workflow-node.is-selected .node-card{border-color:#7d7d7d;box-shadow:0 10px 26px #0000004d}.workflow-node-text .node-card,.workflow-node-image .node-card,.workflow-node-video .node-card,.workflow-node-audio .node-card{-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px);background:#262626;border-radius:12px;box-shadow:0 4px 10px #0000001f}.workflow-node-text .node-card,.workflow-node-audio .node-card{border-color:#525252}.workflow-node-image .node-card,.workflow-node-video .node-card{border-color:#363636}.workflow-node-text.is-selected .node-card,.workflow-node-image.is-selected .node-card,.workflow-node-video.is-selected .node-card,.workflow-node-audio.is-selected .node-card{border-color:#a8a8a8;box-shadow:0 4px 10px #0000001f}.workflow-node-text.is-text-editing .node-card{background:#171717}.workflow-node-character-reference .node-card{box-shadow:none;background:#f4f4f2;border-color:#d9d9d9}.workflow-node-character-reference.is-selected .node-card{border-color:#f2f2f2;box-shadow:0 0 0 1px #ffffff47}.workflow-node-character-reference .media-preview{background:#f4f4f2}.workflow-node-character-reference .media-preview:after{box-shadow:none}.node-floating-title{width:var(--title-layout-width,100%);height:24px;color:var(--muted);z-index:7;transform:scale(var(--title-floating-ui-scale));transform-origin:0 100%;align-items:center;gap:6px;font-size:13px;transition:transform .15s cubic-bezier(0,0,.2,1);display:flex;position:absolute;top:-29px;left:0}.node-floating-title>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.node-title-actions{gap:2px;margin-left:auto;display:flex}.node-title-actions button{width:24px;height:24px;color:var(--muted);cursor:pointer;background:#1d1d1d;border:0;border-radius:5px;place-items:center;padding:0;display:grid}.node-title-actions button:hover{color:var(--text);background:#333}.lib-handle{pointer-events:auto!important;z-index:20!important;background:0 0!important;border:0!important;width:0!important;min-width:0!important;height:0!important;min-height:0!important;padding:0!important;overflow:visible!important}.lib-handle-hit{pointer-events:auto;cursor:crosshair;touch-action:none;border-radius:50%;justify-content:center;align-items:center;width:80px;height:80px;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.lib-handle-target .lib-handle-hit{right:0}.lib-handle-source .lib-handle-hit{left:0}.lib-handle-dot{opacity:0;flex-shrink:0;width:20px;height:20px;display:block}.lib-handle-target .lib-handle-dot{transform:translate(25px)scale(1)}.lib-handle-source .lib-handle-dot{transform:translate(-25px)scale(1)}.workflow-node:hover .lib-handle-dot,.workflow-node.is-selected .lib-handle-dot,.lib-handle.connecting .lib-handle-dot,.lib-handle.connectingfrom .lib-handle-dot,.lib-handle.connectingto .lib-handle-dot,.lib-handle.connectionindicator .lib-handle-dot{opacity:1;transition:transform .4s cubic-bezier(.34,1.56,.64,1),opacity .2s}.lib-handle-dot svg{transition:filter .12s,transform .12s;display:block}@keyframes valid-handle-pulse{50%{filter:drop-shadow(0 0 8px #69b9ffeb);transform:scale(1.12)}}.lib-handle.connectingto.valid .lib-handle-dot,.lib-handle.connectionindicator.valid .lib-handle-dot{opacity:1}.lib-handle.connectingto.valid .lib-handle-dot svg,.lib-handle.connectionindicator.valid .lib-handle-dot svg{animation:.72s ease-in-out infinite valid-handle-pulse}.node-empty{color:#525252;flex-direction:column;justify-content:center;align-items:center;height:100%;padding:0 24px;display:flex}.node-empty>svg{flex-shrink:0;margin-bottom:16px}.node-empty.is-connected>svg{margin-bottom:0}.empty-label{width:100%;color:var(--muted);margin-bottom:8px;font-size:14px;font-weight:400;line-height:20px}.empty-actions{flex-direction:column;align-items:flex-start;gap:4px;width:100%;display:flex}.empty-actions button{width:fit-content;height:36px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;flex-shrink:0;align-items:center;gap:8px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px;transition:background .12s;display:flex}.empty-actions button:hover{background:#ffffff14}.empty-actions button:disabled{color:#777;cursor:not-allowed;opacity:.48}.empty-actions button:disabled:hover{background:0 0}.workflow-node-video .node-empty>svg{fill:currentColor;stroke-width:1.4px}.media-preview{background:#101010;border-radius:11px;width:100%;height:100%;position:relative;overflow:hidden}.media-preview>img,.media-preview>video{object-fit:cover;width:100%;height:100%;display:block}.image-node-upload-input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;left:-9999px}.image-node-reupload{z-index:12;color:#fff;cursor:pointer;opacity:0;background:#000000a6;border:0;border-radius:8px;place-items:center;width:36px;height:36px;padding:0;transition:background .12s,opacity .12s,transform .12s;display:grid;position:absolute;top:8px;right:8px;transform:translateY(-2px)}.workflow-node-image:hover .image-node-reupload,.workflow-node-image.is-selected .image-node-reupload,.image-node-reupload:focus-visible{opacity:1;transform:translateY(0)}.image-node-reupload:hover{background:#000000d1}.media-preview.is-uploading>img,.media-preview.is-uploading>video{filter:brightness(.46)saturate(.62);transform:scale(1.012)}.video-node-drag-surface{z-index:1;cursor:grab;touch-action:none;position:absolute;inset:0 0 48px}.video-media-preview.is-uploading .video-node-drag-surface{inset:0}.react-flow__node.dragging .video-node-drag-surface{cursor:grabbing}.video-load-state{z-index:3;color:#d9e4ec;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);pointer-events:none;background:#0a0d0fb8;flex-direction:column;justify-content:center;align-items:center;gap:9px;display:flex;position:absolute;inset:0}.video-load-state span{font-size:12px}.video-load-spinner{border:2px solid #ffffff38;border-top-color:#f3f6f8;border-radius:50%;width:26px;height:26px;animation:.8s linear infinite spin}.video-node-center-play{z-index:4;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#141414b8;border:1px solid #ffffff57;border-radius:50%;place-items:center;width:48px;height:48px;padding:0 0 0 3px;display:grid;position:absolute;top:calc(50% - 24px);left:50%;transform:translate(-50%,-50%)}.video-node-center-play:hover{background:#202020e6}.video-node-controls{z-index:5;color:#ffffffeb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#181818e6;align-items:center;gap:8px;height:48px;padding:0 12px;display:flex;position:absolute;inset:auto 0 0}.video-node-controls button{width:24px;height:24px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:0 0 24px;place-items:center;padding:0;display:grid}.video-node-controls button:hover{background:#ffffff1a}.video-node-controls span{color:#ffffffb8;font-variant-numeric:tabular-nums;text-align:center;min-width:30px;font-size:11px;line-height:16px}.video-node-controls input{accent-color:#f5f5f5;cursor:pointer;flex:auto;min-width:80px}.media-preview:after{content:"";pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 80px #0000002e}.image-node-body,.video-node-body{width:100%;height:100%;position:relative}.workflow-node.is-generating .node-empty{visibility:hidden}.image-mark-overlay{z-index:8;border-radius:inherit;cursor:crosshair;touch-action:none;position:absolute;inset:0;overflow:hidden}.image-mark-result{--mark-x:50%;--mark-y:50%;pointer-events:none;position:absolute;inset:0}.image-mark-bbox{box-sizing:border-box;pointer-events:none;border:1.5px solid #fffffff5;border-radius:2px;position:absolute;box-shadow:0 0 0 1px #00000080,0 0 12px #00000057}.image-mark-anchor{width:7px;height:7px;left:var(--mark-x);top:var(--mark-y);background:#207cf5;border:1.5px solid #fff;border-radius:50%;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #00000085,0 0 10px #207cf5b3}.image-mark-label-wrap{left:var(--mark-x);top:var(--mark-y);z-index:3;pointer-events:auto;transform:translate(-50%, calc(-100% - 10px)) scale(var(--floating-ui-scale));transform-origin:bottom;align-items:center;display:flex;position:absolute}.image-mark-label{color:#24282d;min-width:70px;height:29px;font:inherit;white-space:nowrap;cursor:default;background:#fffffff5;border:1px solid #ffffff40;border-radius:7px;justify-content:center;align-items:center;gap:5px;padding:0 9px;font-size:12px;font-weight:600;display:inline-flex;box-shadow:0 5px 16px #0000004d}.image-mark-label>span{text-overflow:ellipsis;max-width:130px;overflow:hidden}.image-mark-result.is-ready .image-mark-label:has(svg:last-child){cursor:pointer}.image-mark-result.is-error .image-mark-label{color:#fff;background:#b73e45;border-color:#ff7575a6}.image-mark-remove{color:#e6e6e6;cursor:pointer;opacity:0;background:#202020;border:1px solid #555;border-radius:50%;place-items:center;width:22px;height:22px;padding:0;transition:opacity .1s,transform .12s,background .1s;display:grid;position:absolute;top:3px;right:-25px;transform:scale(.82);box-shadow:0 3px 10px #0006}.image-mark-label-wrap:hover .image-mark-remove,.image-mark-label-wrap:focus-within .image-mark-remove{opacity:1;transform:scale(1)}.image-mark-remove:hover{background:#3b3b3b}.image-mark-options{z-index:4;color:#e8e8e8;background:#242424;border:1px solid #454545;border-radius:8px;width:176px;padding:5px;position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%);box-shadow:0 12px 28px #00000070}.image-mark-options button{color:#cfcfcf;width:100%;min-height:32px;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:6px 8px;font-size:12px;display:flex}.image-mark-options button:hover,.image-mark-options button.is-selected{color:#fff;background:#3b3b3b}.image-mark-options button span{text-overflow:ellipsis;min-width:0;overflow:hidden}.generator-upstream-dismiss{color:#91a1ad;cursor:pointer;background:0 0;border:0;border-radius:5px;flex:none;place-items:center;padding:0;display:grid}.generator-upstream-dismiss:hover{color:#f0f4f7;background:#ffffff17}.media-play{color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:pointer;z-index:2;background:#00000070;border:1px solid #ffffff73;border-radius:50%;place-items:center;width:48px;height:48px;padding:0 0 0 3px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.media-duration{z-index:2;color:#fff;background:#0000009e;border-radius:4px;padding:3px 6px;font-size:11px;position:absolute;bottom:10px;right:10px}.loading-overlay{z-index:12;border-radius:inherit;pointer-events:none;justify-content:center;align-items:center;padding:16px;display:flex;position:absolute;inset:0;overflow:hidden}.loading-breathing-surface{border-radius:inherit;animation:2s ease-in-out infinite generation-breathing-grey;position:absolute;inset:0}.loading-overlay.has-content .loading-breathing-surface{animation-name:generation-breathing-dark}.loading-status-pill{z-index:1;color:#fff;-webkit-backdrop-filter:blur(16px);pointer-events:auto;background:#00000073;border:.5px solid #c4c4c499;border-radius:8px;justify-content:center;align-items:center;gap:10px;min-width:0;max-width:min(100%,280px);height:32px;padding:8px 16px;display:flex;position:relative}.loading-status-pill>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}.loading-status-pill button{color:#ffffff80;font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;padding:0;font-size:14px;line-height:20px;transition:color .12s}.loading-status-pill button:hover{color:#ffffffd1}.generation-failure-overlay{z-index:12;border-radius:inherit;pointer-events:none;justify-content:center;align-items:center;padding:20px;display:flex;position:absolute;inset:0;overflow:hidden}.generation-failure-backdrop{border-radius:inherit;background:#45454594;position:absolute;inset:0}.generation-failure-overlay.has-content .generation-failure-backdrop{background:#000000ad}.generation-failure-content{z-index:1;color:#f87171;text-align:center;pointer-events:auto;flex-direction:column;align-items:center;gap:9px;width:min(100%,300px);display:flex;position:relative}.generation-failure-content strong{font-size:14px;font-weight:600}.generation-failure-content span{color:#ffffff8f;width:100%;max-height:48px;font-size:12px;line-height:16px;overflow:hidden}.generation-failure-content button{color:#fecaca;min-width:76px;height:28px;font:inherit;cursor:pointer;background:#7f1d1d47;border:1px solid #f8717180;border-radius:14px;padding:0 12px;font-size:11px;transition:color .12s,background .12s}.generation-failure-content button:hover{color:#fff;background:#b91c1c6b}@keyframes generation-breathing-grey{0%,to{background-color:#45454533}50%{background-color:#45454580}}@keyframes generation-breathing-dark{0%,to{background-color:#0003}50%{background-color:#00000080}}.media-upload-overlay{z-index:5;color:#ffffffeb;-webkit-backdrop-filter:blur(3.5px);backdrop-filter:blur(3.5px);pointer-events:none;background:#06060657;place-items:center;display:grid;position:absolute;inset:0}.media-upload-overlay span{text-shadow:0 1px 4px #000000db;white-space:nowrap;padding:4px 7px;font-size:13px;font-weight:500;line-height:20px}@keyframes spin{to{transform:rotate(360deg)}}.text-editor{border-radius:11px;flex-direction:column;width:100%;height:100%;padding:12px 4px 12px 16px;display:flex;position:relative;overflow:visible}.text-formatbar{color:#f7f7f7;width:535px;height:50px;transform:translateX(-50%) scale(var(--floating-ui-scale));transform-origin:bottom;z-index:38;background:#262626;border:1px solid #363636;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:8px;display:flex;position:absolute;top:-91px;left:50%;box-shadow:0 4px 10px #0000001f}.text-formatbar button{color:#ffffffb3;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:0 0 32px;place-items:center;width:32px;height:32px;padding:0;transition:color .12s,background .12s;display:grid}.text-formatbar button:hover{color:#fff;background:#ffffff1a}.text-background-swatch{background:#171717;border:1px solid #ffffff52;border-radius:4px;width:14px;height:14px}.text-formatbar .text-formatbar-divider{background:#ffffff1a;flex:0 0 1px;width:1px;height:20px;margin:0 -2px}.text-editor textarea,.text-content{color:#f7f7f7;resize:none;text-rendering:geometricprecision;-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto;background:0 0;border:0;outline:0;flex:1;width:100%;height:100%;min-height:0;padding:0 12px 0 0;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;font-size:14px;font-weight:400;line-height:20px}.text-content{overscroll-behavior:contain;scrollbar-color:#7d8790 transparent;scrollbar-width:thin;cursor:grab;-webkit-user-select:none;user-select:none;white-space:pre-wrap;word-break:break-word;border-radius:11px;padding:16px;overflow:hidden auto}.react-flow__node.dragging .text-content{cursor:grabbing}.text-editor textarea{overscroll-behavior:contain;scrollbar-color:#7d8790 transparent;scrollbar-width:thin;cursor:text;-webkit-user-select:text;user-select:text;overflow-y:auto}.text-editor textarea::placeholder,.text-expanded-editor textarea::placeholder{color:#525252}.text-content::-webkit-scrollbar{width:8px}.text-editor textarea::-webkit-scrollbar{width:8px}.text-content::-webkit-scrollbar-track{background:0 0}.text-editor textarea::-webkit-scrollbar-track{background:0 0}.text-content::-webkit-scrollbar-thumb{background:#7d8790 padding-box padding-box;border:2px solid #0000;border-radius:999px}.text-editor textarea::-webkit-scrollbar-thumb{background:#7d8790 padding-box padding-box;border:2px solid #0000;border-radius:999px}.text-content::-webkit-scrollbar-thumb:hover{background:#9ba5ae padding-box padding-box}.text-editor textarea::-webkit-scrollbar-thumb:hover{background:#9ba5ae padding-box padding-box}.text-node-resize-control.react-flow__resize-control.handle{z-index:32;color:#737373;opacity:.8;background:0 0;border:0;border-radius:5px 0 10px;place-items:center;width:16px;height:16px;transition:color .12s,background .12s,opacity .12s;display:grid;translate:-100% -100%}.text-node-resize-control.react-flow__resize-control.handle:hover{color:#f0f0f0;opacity:1;background:#ffffff14}.text-node-resize-control svg{pointer-events:none;width:10px;height:10px}.text-expanded-editor{z-index:2100;color:#f7f7f7;background:#0a0a0af2;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;display:flex;position:fixed;inset:0}.text-expanded-editor-header{border-bottom:1px solid #ffffff14;flex:0 0 56px;justify-content:space-between;align-items:center;height:56px;padding:0 24px;display:flex}.text-expanded-editor-header>span{font-size:16px;font-weight:500;line-height:24px}.text-expanded-editor-header button{color:#ffffff80;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;width:28px;height:28px;padding:0;display:grid}.text-expanded-editor-header button:hover{color:#ffffffd1;background:#ffffff1a}.text-expanded-editor-body{flex:auto;justify-content:center;min-height:0;display:flex;overflow-y:auto}.text-expanded-editor-column{flex-direction:column;width:min(495px,100vw - 48px);min-height:100%;display:flex}.text-expanded-editor-toolbar{z-index:2;background:#0a0a0af2;flex:0 0 66px;justify-content:center;align-items:flex-start;height:66px;padding-bottom:16px;display:flex;position:sticky;top:0}.text-expanded-editor .text-formatbar{gap:8px;width:495px;height:50px;position:relative;top:auto;left:auto;transform:none}.text-expanded-editor textarea{resize:none;color:#f7f7f7;background:0 0;border:0;outline:0;flex:auto;width:100%;min-height:calc(100dvh - 122px);padding:0;font:400 14px/20px -apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;overflow-y:auto}.audio-body{flex-direction:column;justify-content:center;height:100%;padding:34px;display:flex}.audio-node-state{width:100%;height:100%;position:relative}.audio-empty-state{color:#525252;width:100%;height:100%}.workflow-node-audio .node-empty>svg{stroke-width:1.5px}.audio-art{color:#777;justify-content:center;margin-bottom:26px;display:flex}.waveform{justify-content:center;align-items:center;gap:5px;height:76px;display:flex}.waveform span{opacity:.78;background:#c7c7c7;border-radius:3px;width:5px}.audio-meta{color:var(--muted);align-items:center;gap:10px;margin-top:20px;font-size:12px;display:flex}.audio-meta span:last-child{margin-left:auto}.audio-play{color:#141414;cursor:pointer;background:#fff;border:0;border-radius:50%;place-items:center;width:32px;height:32px;padding-left:2px;display:grid}.audio-body.has-audio{padding:28px 32px}.audio-body.has-audio audio{display:none}.audio-body.has-audio .audio-art{color:#d3d9de;align-items:center;gap:10px;margin-bottom:18px}.audio-body.has-audio .audio-art span{color:#929da5;font-size:12px;font-weight:600}.audio-waveform{cursor:pointer;background:0 0;border:0;outline:0;width:100%;padding:0}.audio-waveform span{transition:height .12s,opacity .12s,background .12s}.audio-waveform:hover span{opacity:.92}.audio-waveform span.is-played{opacity:1;background:#62aee9}.audio-body.has-audio .audio-meta{margin-top:18px}.audio-download{color:#aab4bc;border-radius:7px;flex:0 0 30px;place-items:center;width:30px;height:30px;text-decoration:none;transition:color .12s,background .12s;display:grid}.audio-download:hover{color:#f1f5f8;background:#ffffff17}.workflow-node-composition{--node-long-edge:350px}.workflow-node-composition.is-composition-editing{--node-height-factor:.742857}.workflow-node-composition .node-card{box-shadow:none;background:#262626;border-color:#525252;border-radius:12px;overflow:hidden}.workflow-node-composition.is-selected .node-card{box-shadow:none;border-color:#525252}.workflow-node-director .node-card{box-shadow:none;background:#212121;border-color:#525252;border-radius:16px;overflow:hidden}.workflow-node-director.is-selected .node-card{box-shadow:none;border-color:#525252}.composition-body{border-radius:11px;width:100%;height:100%;position:relative;overflow:hidden}.composition-empty{color:#737373;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;width:100%;height:100%;padding:32px;display:flex}.composition-empty>svg{color:#626262;flex:none}.composition-empty span{color:#909090;max-width:100%;font-size:13px;line-height:1.45}.composition-body.is-ready{flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex}.composition-ready-icon{color:#626262;flex:none}.composition-ready-spinner{border:4px solid #4c4c4c;border-top-color:#8a8a8a;border-radius:50%;flex:none;width:66px;height:66px;animation:.8s linear infinite spin}.composition-open-button{z-index:4;color:#f0f0f0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);cursor:pointer;background:#181818bd;border:1px solid #ffffff52;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-width:128px;height:32px;padding:0 12px;font-size:12px;transition:border-color .12s,background .12s,transform .12s;display:inline-flex;position:relative;box-shadow:0 6px 18px #0003}.composition-open-button:hover:not(:disabled){background:#272727e0;border-color:#ffffff94}.composition-open-button:active:not(:disabled){transform:translateY(1px)}.composition-open-button:disabled{cursor:wait}.composition-node-spinner,.composition-export-spinner{border:2px solid #ffffff3d;border-top-color:#f5f5f5;border-radius:50%;flex:none;width:14px;height:14px;animation:.8s linear infinite spin}.composition-node-error{z-index:4;color:#e7a0a0;text-overflow:ellipsis;white-space:nowrap;max-width:calc(100% - 40px);font-size:10px;position:absolute;bottom:22px;left:50%;overflow:hidden;transform:translate(-50%)}.composition-body.has-output{background:#090909;place-items:center;display:grid}.composition-result-video{object-fit:cover;pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}.composition-result-shade{pointer-events:none;background:#00000029;position:absolute;inset:0}.composition-result-download{z-index:5;color:#f0f0f0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:pointer;background:#0f0f0f9e;border:1px solid #fff3;border-radius:7px;place-items:center;width:30px;height:30px;padding:0;display:grid;position:absolute;top:10px;right:10px}.composition-result-download:hover{background:#242424d6}.composition-result-controls{z-index:5;color:#d2d2d2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#161616db;border:1px solid #ffffff17;border-radius:7px;align-items:center;gap:7px;height:38px;padding:0 8px;display:flex;position:absolute;bottom:8px;left:8px;right:8px;box-shadow:0 5px 16px #00000038}.composition-result-controls button{color:#e2e2e2;cursor:pointer;background:0 0;border:0;border-radius:5px;flex:none;place-items:center;width:26px;height:26px;padding:0;display:grid}.composition-result-controls button:hover{background:#ffffff17}.composition-result-controls span{font-variant-numeric:tabular-nums;flex:none;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px}.composition-result-controls input{accent-color:#d2d2d2;flex:1;min-width:0}.composition-result-controls .composition-result-volume{max-width:54px}.composition-body.is-editing,.composition-preview-drop{width:100%;height:100%}.composition-node-preview{background:#111;flex-direction:column;width:100%;height:100%;display:flex;overflow:hidden}.composition-preview-media{background:#090909;flex:1;min-height:0;position:relative;overflow:hidden}.composition-preview-media video{object-fit:contain;width:100%;height:100%;display:block}.composition-preview-media audio{display:none}.composition-preview-empty{color:#686868;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:100%;height:100%;display:flex}.composition-preview-empty span{font-size:11px}.composition-preview-subtitle{z-index:2;color:#fff;text-align:center;text-overflow:ellipsis;text-shadow:0 1px 2px #000000eb,0 0 5px #000000eb;white-space:nowrap;max-width:calc(100% - 36px);padding:3px 7px;font-size:12px;line-height:1.4;position:absolute;bottom:16px;left:50%;overflow:hidden;transform:translate(-50%)}.composition-preview-controls{color:#8e8e8e;background:#1d1d1d;border-top:1px solid #303030;flex:none;align-items:center;gap:8px;height:42px;padding:0 9px;display:flex}.composition-preview-controls button{color:#d5d5d5;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;place-items:center;width:28px;height:28px;padding:0;display:grid}.composition-preview-controls button:hover{color:#fff;background:#ffffff14}.composition-preview-controls span{font-variant-numeric:tabular-nums;flex:none;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px}.composition-preview-controls input{accent-color:#d7d7d7;flex:1;min-width:0}.composition-workspace{z-index:30;color:#e8e8e8;background:#151515;border-top:1px solid #3b3b3b;flex-direction:column;height:clamp(390px,48vh,520px);animation:.18s cubic-bezier(.22,1,.36,1) composition-workspace-in;display:flex;position:absolute;bottom:0;left:0;right:0;overflow:hidden;box-shadow:0 -18px 42px #00000057}@keyframes composition-workspace-in{0%{opacity:0;transform:translateY(18px)}}.composition-workspace button,.composition-workspace input,.composition-workspace select,.composition-workspace textarea{font-size:11px}.composition-workspace button{border:0}.composition-workspace-header{background:#1b1b1b;border-bottom:1px solid #2d2d2d;flex:none;grid-template-columns:minmax(180px,.8fr) minmax(340px,1.5fr) minmax(260px,1fr);align-items:center;gap:14px;min-height:50px;padding:0 10px 0 14px;display:grid}.composition-workspace-title{align-items:center;gap:9px;min-width:0;display:flex}.composition-workspace-title>span{color:#c8c8c8;background:#242424;border:1px solid #3a3a3a;border-radius:7px;flex:none;place-items:center;width:30px;height:30px;display:grid}.composition-workspace-title>div{min-width:0}.composition-workspace-title strong,.composition-workspace-title small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.composition-workspace-title small{color:#777;margin-top:2px;font-size:9px}.composition-edit-tools,.composition-export-controls{align-items:center;gap:3px;min-width:0;display:flex}.composition-edit-tools{justify-content:center}.composition-export-controls{justify-content:flex-end}.composition-edit-tools>span{background:#353535;width:1px;height:20px;margin:0 4px}.composition-edit-tools button,.composition-output-settings,.composition-close{color:#9b9b9b;cursor:pointer;background:0 0;border-radius:6px;justify-content:center;align-items:center;gap:6px;min-width:30px;height:30px;padding:0 8px;display:inline-flex}.composition-edit-tools button:hover:not(:disabled),.composition-output-settings:hover,.composition-close:hover,.composition-edit-tools button.is-active{color:#f2f2f2;background:#ffffff14}.composition-edit-tools button:disabled{opacity:.3;cursor:default}.composition-edit-tools em{font-style:normal}.composition-output-settings{max-width:170px}.composition-output-settings span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.composition-export-button{color:#191919;cursor:pointer;background:#ededed;border-radius:7px;justify-content:center;align-items:center;gap:7px;height:32px;padding:0 13px;font-weight:600;display:inline-flex}.composition-export-button:disabled{opacity:.42;cursor:default}.composition-export-button .composition-export-spinner{border-color:#191919 #14141433 #14141433}.composition-close{width:30px;padding:0}.composition-workspace-body{flex:1;grid-template-columns:minmax(0,1fr) 280px;min-width:0;min-height:0;display:grid}.composition-timeline-area{background:#161616;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.composition-timeline-topline{border-bottom:1px solid #292929;flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:0 14px;display:flex}.composition-playback,.composition-timeline-zoom{align-items:center;display:flex}.composition-playback{gap:8px}.composition-playback button{color:#171717;cursor:pointer;background:#e9e9e9;border-radius:50%;place-items:center;width:30px;height:30px;padding:0 0 0 1px;display:grid}.composition-playback strong,.composition-playback span{font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px}.composition-playback strong{color:#e0e0e0}.composition-timeline-zoom{color:#777;gap:7px}.composition-timeline-zoom input{accent-color:#bfbfbf;width:104px}.composition-track-labels{scrollbar-width:none;background:#1a1a1a;border-right:1px solid #2b2b2b;min-height:0;overflow:auto}.composition-track-labels::-webkit-scrollbar{display:none}.composition-track-labels>div:not(.composition-ruler-label){color:#777;border-bottom:1px solid #292929;align-items:center;gap:7px;height:58px;padding:0 11px;display:flex}.composition-track-labels>div:not(.composition-ruler-label) span{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.composition-track-labels>button{color:#747474;cursor:pointer;background:0 0;border-radius:6px;justify-content:center;align-items:center;gap:5px;width:calc(100% - 12px);height:30px;margin:7px 6px;display:flex}.composition-track-labels>button:hover{color:#d4d4d4;background:#ffffff0f}.composition-timeline-scroll{scrollbar-color:#444 #1a1a1a;scrollbar-width:thin;background-color:#141414;background-image:linear-gradient(90deg,#ffffff06 1px,#0000 1px);background-size:28px 100%;min-width:0;min-height:0;overflow:auto}.composition-timeline-content{min-height:100%;position:relative}.composition-ruler{color:#606060;cursor:text;background:#181818;border-bottom:1px solid #2a2a2a;height:30px;position:relative}.composition-ruler>span{width:1px;height:100%;position:absolute;top:0}.composition-ruler i{background:#4a4a4a;width:1px;height:7px;display:block}.composition-ruler b{white-space:nowrap;font-size:8px;font-weight:400;position:absolute;top:6px;left:4px}.composition-track-lane{border-bottom:1px solid #292929;height:58px;position:relative}.composition-clip{color:#d7d7d7;cursor:pointer;text-align:left;background-color:#303030;background-position:50%;background-size:cover;border-radius:6px;min-width:36px;height:48px;padding:0;transition:border-color .1s,box-shadow .1s,filter .1s;position:absolute;top:5px;overflow:hidden;border:1px solid #464646!important}.composition-clip:hover{filter:brightness(1.08);border-color:#777!important}.composition-clip.is-audio.is-selected{border-color:#accbb8!important}.composition-clip-stripes{opacity:.42;background:linear-gradient(90deg,#0000002e,#0000 20% 80%,#0000002e),repeating-linear-gradient(90deg,#ffffff0f 0 1px,#0000 1px 20px);position:absolute;inset:0}.composition-clip-label{z-index:2;color:#e2e2e2;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#1313139e;border-radius:4px;align-items:center;gap:5px;min-width:0;padding:3px 5px;display:flex;position:absolute;bottom:5px;left:10px;right:10px}.composition-clip-label svg{flex:none}.composition-clip-label strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:9px;font-weight:500;overflow:hidden}.composition-clip-label small{color:#a0a0a0;flex:none;font-size:8px}.composition-trim-handle{z-index:4;opacity:0;cursor:ew-resize;background:#efefefe6;width:8px;transition:opacity .1s;position:absolute;top:0;bottom:0}.composition-trim-handle:after{content:"";background:#5b5b5b;border-radius:1px;width:2px;height:16px;position:absolute;top:50%;left:3px;transform:translateY(-50%)}.composition-trim-handle.is-left{left:0}.composition-trim-handle.is-right{right:0}.composition-clip:hover .composition-trim-handle,.composition-clip.is-selected .composition-trim-handle{opacity:1}.composition-transition-mark{z-index:3;color:#f0f0f0;background:#101010c2;border:1px solid #ffffff47;border-radius:4px;place-items:center;width:18px;height:18px;font-size:8px;display:grid;position:absolute;top:5px;left:8px}.composition-audio-wave{opacity:.74;align-items:center;gap:2px;display:flex;position:absolute;inset:6px 8px 16px;overflow:hidden}.composition-audio-wave i{background:#8eb59e;border-radius:1px;flex:0 0 2px;width:2px}.composition-crop-mask{z-index:6;pointer-events:none;background:#000000ad;position:absolute;top:30px;bottom:0}.composition-crop-mask.is-left{left:0}.composition-playhead{z-index:8;pointer-events:none;background:#e5e5e5;width:1px;position:absolute;top:0;bottom:0}.composition-playhead>span{background:#f1f1f1;border-radius:2px 2px 5px 5px;width:9px;height:9px;position:absolute;top:0;left:50%;transform:translate(-50%)}.composition-inspector{background:#1b1b1b;border-left:1px solid #303030;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.composition-inspector-tabs{border-bottom:1px solid #2f2f2f;flex:none;grid-template-columns:repeat(3,1fr);height:44px;padding:6px;display:grid}.composition-inspector-tabs button{color:#777;cursor:pointer;background:0 0;border-radius:5px;position:relative}.composition-inspector-tabs button:hover{color:#c7c7c7}.composition-inspector-tabs button.is-active{color:#ededed;background:#292929}.composition-inspector-content{flex-direction:column;flex:1;gap:14px;min-height:0;padding:14px;display:flex;overflow:auto}.composition-inspector-heading{color:#bdbdbd;border-bottom:1px solid #303030;align-items:center;gap:7px;min-width:0;padding-bottom:10px;display:flex}.composition-inspector-heading strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11px;font-weight:500;overflow:hidden}.composition-field,.composition-field-pair label{flex-direction:column;gap:7px;min-width:0;display:flex}.composition-field>span,.composition-field-pair span,.composition-output-location>span{color:#858585;font-size:10px}.composition-field select,.composition-field input[type=number],.composition-field-pair input{color:#d2d2d2;background:#242424;border:1px solid #383838;border-radius:6px;outline:0;width:100%;height:30px;padding:0 8px}.composition-field select:focus,.composition-field input[type=number]:focus,.composition-field-pair input:focus,.composition-subtitle-list textarea:focus,.composition-subtitle-list input:focus{border-color:#666}.composition-field-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;display:grid}.composition-volume-field{align-items:center;gap:7px;min-width:0;height:30px;display:flex}.composition-volume-field button{color:#8d8d8d;cursor:pointer;background:#252525;border-radius:6px;flex:none;place-items:center;width:28px;height:28px;padding:0;display:grid}.composition-volume-field button:hover{color:#e8e8e8}.composition-volume-field input{accent-color:#c8c8c8;flex:1;min-width:0}.composition-volume-field output{color:#8b8b8b;text-align:right;flex:0 0 36px;width:36px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px}.composition-restore-source,.composition-add-subtitle,.composition-download-result,.composition-delete-clip{color:#aaa;cursor:pointer;background:0 0;border-radius:6px;flex:none;justify-content:center;align-items:center;gap:7px;min-height:31px;padding:0 10px;text-decoration:none;display:inline-flex;border:1px solid #3c3c3c!important}.composition-restore-source:hover,.composition-add-subtitle:hover,.composition-download-result:hover{color:#ededed;background:#ffffff0d;border-color:#5a5a5a!important}.composition-delete-clip:hover{color:#e8a0a0;background:#b8434314;border-color:#e0707080!important}.composition-inspector-empty{color:#666;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:8px;min-height:0;font-size:10px;display:flex}.composition-subtitle-list{flex-direction:column;gap:8px;min-height:0;display:flex}.composition-subtitle-list article{cursor:pointer;background:#222;border:1px solid #363636;border-radius:6px;padding:8px}.composition-subtitle-list article.is-active{border-color:#777}.composition-subtitle-list textarea{color:#d0d0d0;resize:vertical;background:#181818;border:1px solid #333;border-radius:5px;outline:0;width:100%;min-height:54px;padding:7px;line-height:1.5}.composition-subtitle-list article>div{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) 26px;align-items:center;gap:5px;margin-top:6px;display:grid}.composition-subtitle-list input{color:#aaa;background:#191919;border:1px solid #333;border-radius:5px;outline:0;min-width:0;height:26px;padding:0 5px}.composition-subtitle-list article>div>span{color:#666}.composition-subtitle-list article>div>button{color:#777;cursor:pointer;background:0 0;border-radius:5px;place-items:center;width:26px;height:26px;padding:0;display:grid}.composition-subtitle-list article>div>button:hover{color:#e5a0a0;background:#de5f5f14}.composition-subtitle-empty{color:#666;text-align:center;padding:24px 0;font-size:10px}.composition-output-location{flex-direction:column;gap:7px;display:flex}.composition-output-location>div{background:#202020;border:1px solid #363636;border-radius:7px;grid-template-columns:repeat(2,minmax(0,1fr));padding:3px;display:grid}.composition-output-location button{color:#777;cursor:pointer;background:0 0;border-radius:5px;height:27px}.composition-output-location button.is-active{color:#e8e8e8;background:#343434}.composition-export-error{color:#dca0a0;background:#702f2f1a;border:1px solid #d25e5e47;border-radius:6px;padding:8px;font-size:10px;line-height:1.5}@media (width<=980px){.composition-workspace{height:min(500px,56vh)}.composition-workspace-header{grid-template-columns:minmax(150px,.8fr) minmax(250px,1.4fr) auto;gap:7px}.composition-workspace-body{grid-template-columns:minmax(0,1fr) 240px}.composition-output-settings span{display:none}}@media (width<=640px){.workflow-node-composition{--node-long-edge:300px}.workflow-node-composition.is-composition-editing{--node-height-factor:.866667}.composition-workspace{border-top-color:#454545;height:min(640px,100svh - 60px)}.composition-workspace-header{grid-template-columns:minmax(84px,.8fr) minmax(0,1fr) auto;gap:4px;min-height:48px;padding:0 7px 0 9px}.composition-workspace-title>span{width:27px;height:27px}.composition-workspace-title small,.composition-edit-tools>span,.composition-edit-tools button em,.composition-edit-tools button:nth-child(-n+2){display:none}.composition-edit-tools{justify-content:flex-end;gap:1px}.composition-edit-tools button{width:30px;padding:0}.composition-export-controls{gap:2px}.composition-output-settings{display:none}.composition-export-button{min-width:74px;padding:0 8px}.composition-workspace-body{flex-direction:column;display:flex;overflow:auto}.composition-timeline-area{flex:0 0 254px;min-height:254px}.composition-timeline-topline{min-height:40px;padding:0 8px}.composition-timeline-zoom input{width:74px}.composition-timeline-grid{grid-template-columns:78px minmax(0,1fr)}.composition-track-labels>div:not(.composition-ruler-label){padding:0 8px}.composition-track-labels>div:not(.composition-ruler-label) span{font-size:9px}.composition-inspector{border-top:1px solid #303030;border-left:0;min-height:300px;overflow:visible}.composition-inspector-tabs{height:40px}.composition-inspector-content{padding:12px 10px 18px;overflow:visible}.composition-inspector-heading{padding-bottom:8px}}.script-media-batch-backdrop{z-index:620;background:#000000c2;padding:16px}.script-media-batch-dialog{color:#f2f2f2;background:#181818;border:1px solid #333;border-radius:12px;flex-direction:column;width:min(800px,100vw - 32px);height:min(510px,100dvh - 32px);max-height:none;display:flex;overflow:hidden;box-shadow:0 24px 72px #00000094}.script-media-batch-dialog.is-video{height:min(547px,100dvh - 32px)}.script-media-batch-dialog>header{flex:0 0 60px;justify-content:space-between;align-items:center;min-height:60px;padding:0 11px 0 16px;display:flex}.script-media-batch-dialog>header h2{color:#f4f4f4;margin:0;font-size:16px;font-weight:500;line-height:20px}.script-media-batch-dialog>header>button{color:#70757b;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;width:28px;height:28px;padding:0;display:grid}.script-media-batch-dialog>header>button:hover{color:#d9d9d9;background:#292929}.script-media-batch-body{flex-direction:column;flex:auto;gap:12px;min-height:0;padding:16px;display:flex}.script-media-batch-tip{color:#aaa;background:#232323;border-radius:8px;flex:0 0 32px;align-items:center;min-height:32px;padding:0 12px;font-size:12px;line-height:18px;display:flex}.script-media-batch-note{color:#8e8e8e;flex:0 0 17px;min-height:17px;margin:0;font-size:11px;line-height:17px}.script-media-batch-validation{color:#d8b07a;background:#251f1a;border:1px solid #5b4330;border-radius:7px;align-items:center;gap:7px;min-height:30px;padding:5px 9px;font-size:11px;line-height:16px;display:flex}.script-media-batch-validation svg{flex:none}.script-media-batch-list{overscroll-behavior:contain;scrollbar-color:#858b92 transparent;scrollbar-width:thin;flex:auto;min-height:0;overflow:hidden auto}.script-media-batch-dialog.is-image .script-media-batch-list{border:1px solid #343434;border-radius:8px}.script-media-batch-dialog.is-video .script-media-batch-list{flex-direction:column;gap:4px;padding-right:10px;display:flex}.script-media-batch-list::-webkit-scrollbar{width:6px}.script-media-batch-image-detail::-webkit-scrollbar{width:6px}.script-media-batch-row textarea::-webkit-scrollbar{width:6px}.script-media-batch-menu::-webkit-scrollbar{width:6px}.script-media-batch-list::-webkit-scrollbar-thumb{background:#858b92;border-radius:99px}.script-media-batch-image-detail::-webkit-scrollbar-thumb{background:#858b92;border-radius:99px}.script-media-batch-row textarea::-webkit-scrollbar-thumb{background:#858b92;border-radius:99px}.script-media-batch-menu::-webkit-scrollbar-thumb{background:#858b92;border-radius:99px}.script-media-batch-row{color:#aaa;font-size:11px}.script-media-batch-row.is-image{border-bottom:1px solid #303030;min-height:41px}.script-media-batch-row.is-image:last-child{border-bottom:0}.script-media-batch-row.is-image.is-expanded{height:345px}.script-media-batch-row.is-video{border:1px solid #333;border-radius:8px;flex:none;min-height:53px;padding:8px 12px}.script-media-batch-row.is-video.is-expanded{min-height:141px;padding-bottom:15px}.script-media-batch-row-main{align-items:center;min-width:0;display:grid}.script-media-batch-row.is-image .script-media-batch-row-main{grid-template-columns:55px minmax(0,1fr) 28px;gap:12px;height:40px;padding:0 11px}.script-media-batch-row.is-image.is-expanded .script-media-batch-row-main{align-items:start;height:344px;padding-top:11px;padding-bottom:12px}.script-media-batch-row.is-video .script-media-batch-row-main{grid-template-columns:14px minmax(0,1fr) 80px;gap:8px;min-height:35px}.script-media-batch-row.is-video.is-expanded .script-media-batch-row-main{min-height:30px}.script-media-batch-row-main>label,.script-media-batch-master{color:#e2e2e2;white-space:nowrap;align-items:center;gap:8px;margin:0;display:inline-flex}.script-media-batch-row-main input[type=checkbox],.script-media-batch-master input[type=checkbox]{accent-color:#f5f5f5;cursor:pointer;flex:0 0 14px;width:14px;height:14px;margin:0}.script-media-batch-summary,.script-media-batch-detail{color:#a4a4a4;cursor:pointer;text-align:left;background:0 0;border:0;min-width:0;padding:0;font-size:11px}.script-media-batch-row.is-image .script-media-batch-summary{height:100%;overflow:hidden}.script-media-batch-row.is-image:not(.is-expanded) .script-media-batch-summary span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.script-media-batch-row.is-image.is-expanded .script-media-batch-summary span{color:#b7b7b7;white-space:normal;max-height:320px;padding-right:8px;font-size:11px;line-height:20px;display:block;overflow-y:auto}.script-media-batch-detail{color:#bdbdbd;text-align:right}.script-media-batch-detail:hover,.script-media-batch-summary:hover{color:#f2f2f2}.script-media-batch-row.is-video .script-media-batch-summary{flex-direction:column;justify-content:center;gap:1px;height:35px;display:flex;overflow:hidden}.script-media-batch-row.is-video.is-expanded .script-media-batch-summary{height:30px}.script-media-batch-video-title{color:#efefef;align-items:center;gap:4px;width:100%;min-width:0;line-height:16px;display:inline-flex}.script-media-batch-video-title strong{flex:none;font-weight:400}.script-media-batch-video-title>svg{flex:none;margin-left:auto}.script-media-batch-video-assets{align-items:center;min-width:0;margin-left:3px;display:inline-flex;overflow:hidden}.script-media-batch-video-asset{background:#252525;border:1px solid #494949;border-radius:4px;flex:0 0 18px;width:18px;height:18px;margin-left:-3px;display:block;overflow:hidden}.script-media-batch-video-asset:first-child{margin-left:0}.script-media-batch-video-asset img{object-fit:cover;width:100%;height:100%;display:block}.script-media-batch-video-assets .is-missing{color:#c59062;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.script-media-batch-video-excerpt{color:#949494;text-overflow:ellipsis;white-space:nowrap;line-height:17px;display:block;overflow:hidden}.script-media-batch-row textarea{resize:none;color:#b9b9b9;background:#151515;border:1px solid #3a3a3a;border-radius:6px;outline:0;width:calc(100% - 22px);height:78px;min-height:78px;max-height:78px;margin:8px 0 0 22px;padding:7px 8px;font-size:11px;line-height:16px;overflow-y:auto}.script-media-batch-row textarea:focus{border-color:#656565}.script-media-batch-video-editor{width:calc(100% - 22px);margin-left:22px;position:relative}.script-media-batch-row .script-media-batch-video-editor textarea{box-sizing:border-box;width:100%;margin:8px 0 0;padding-bottom:20px}.script-media-batch-video-count{color:#747474;pointer-events:none;font-size:10px;line-height:14px;position:absolute;bottom:5px;right:8px}.script-media-batch-video-count.is-limit{color:#d6a75f}.script-media-duration{background:#242424;border:1px solid #3b3b3b;border-radius:7px;grid-template-columns:minmax(0,1fr) 17px;width:80px;height:30px;display:grid;overflow:hidden}.script-media-duration>input{color:#f0f0f0;background:0 0;border:0;outline:0;width:100%;min-width:0;padding:0 9px;font-size:12px}.script-media-duration>span{border-left:1px solid #3b3b3b;grid-template-rows:1fr 1fr;display:grid}.script-media-duration button{color:#8e8e8e;cursor:pointer;background:0 0;border:0;place-items:center;width:17px;min-height:0;padding:0;display:grid}.script-media-duration button+button{border-top:1px solid #3b3b3b}.script-media-duration button:hover:not(:disabled){color:#fff;background:#303030}.script-media-batch-dialog>footer{flex:0 0 52px;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:12px;min-height:52px;padding:2px 16px 18px;display:grid}.script-media-batch-master{color:#ccc;height:32px;font-size:11px}.script-media-batch-settings{scrollbar-width:none;align-items:center;gap:4px;min-width:0;height:32px;display:flex;overflow-x:auto}.script-media-batch-settings::-webkit-scrollbar{display:none}.script-media-batch-select{color:#e0e0e0;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:7px;flex:none;justify-content:flex-start;align-items:center;gap:4px;height:32px;padding:0 8px;font-size:12px;display:inline-flex;overflow:hidden}.script-media-batch-select:hover,.script-media-batch-select[aria-expanded=true]{background:#262626}.script-media-batch-select>img,.script-media-batch-menu img{object-fit:contain;border-radius:3px;flex:0 0 14px;width:14px;height:14px}.script-media-batch-select>span:not(.script-media-batch-hd-icon){text-overflow:ellipsis;min-width:0;overflow:hidden}.script-media-batch-select>svg:last-child{color:#7d7d7d;margin-left:auto}.script-media-batch-hd-icon{color:#bdbdbd;border:1px solid #8a8a8a;border-radius:3px;flex:0 0 14px;place-items:center;width:14px;height:14px;font-size:7px;font-weight:700;line-height:1;display:grid}.script-media-batch-confirm{color:#181818;cursor:pointer;background:#f5f5f5;border:0;border-radius:8px;min-width:max-content;height:32px;padding:0 12px;font-size:12px;font-weight:500}.script-media-batch-confirm:hover:not(:disabled){background:#fff}.script-media-batch-confirm:disabled{color:#737373;cursor:not-allowed;background:#303030}.script-media-batch-menu{z-index:9999;color:#dedede;background:#252525;border:1px solid #3b3b3b;border-radius:8px;flex-direction:column;padding:5px;display:flex;position:fixed;overflow:hidden auto;box-shadow:0 14px 36px #00000085}.script-media-batch-menu>button{color:#bebebe;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;grid-template-columns:16px minmax(0,1fr) 14px;align-items:center;gap:7px;width:100%;min-height:34px;padding:0 8px;font-size:12px;display:grid}.script-media-batch-menu>button:hover,.script-media-batch-menu>button.is-selected{color:#fff;background:#343434}.script-media-batch-menu>button>span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.script-media-batch-menu>button>svg:last-child{justify-self:end}.script-media-batch-menu-icon{color:#a7a7a7;place-items:center;width:16px;display:grid}.workflow-node-group{min-width:430px;min-height:450px;transition:none}.batch-generator-group-shell{pointer-events:none;background:#ffffff02;border:1px solid #82828238;border-radius:12px;position:absolute;inset:0}.workflow-node-group.is-selected .batch-generator-group-shell{border-color:#aaaaaa94;box-shadow:0 0 0 1px #ffffff06}.batch-generator-group-title{color:#999;height:20px;transform:scale(var(--title-floating-ui-scale));transform-origin:0 100%;pointer-events:none;white-space:nowrap;z-index:5;align-items:center;gap:5px;font-size:12px;line-height:20px;display:inline-flex;position:absolute;top:-28px;left:0}.batch-generator-group-toolbar{height:40px;box-shadow:var(--shadow);transform:translateX(-50%) scale(var(--floating-ui-scale));transform-origin:bottom;white-space:nowrap;z-index:18;background:#202020;border:1px solid #383838;border-radius:8px;align-items:center;gap:3px;padding:4px;display:flex;position:absolute;top:-58px;left:50%}.batch-generator-group-toolbar button{color:#c9c9c9;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:6px;height:30px;padding:0 9px;font-size:12px;display:inline-flex}.batch-generator-group-toolbar button:hover{color:#fff;background:#ffffff1a}@media (width<=640px){.script-media-batch-backdrop{padding:8px}.script-media-batch-dialog,.script-media-batch-dialog.is-video{width:calc(100vw - 16px);height:calc(100dvh - 16px)}.script-media-batch-dialog>footer{gap:8px;padding-inline:12px}.script-media-batch-settings{gap:2px}.script-media-batch-row.is-image .script-media-batch-row-main{grid-template-columns:52px minmax(0,1fr) 28px;gap:8px;padding-inline:9px}}.script-shot-popover-layer{z-index:10020;position:fixed;inset:0}.script-shot-field-popover,.script-shot-size-popover{box-sizing:border-box;color:#f7f7f7;background:#212121;border:1px solid #363636;border-radius:8px;position:fixed;box-shadow:0 10px 28px #0000006b}.script-shot-field-popover{flex-direction:column;gap:8px;padding:12px 16px;font-size:12px;display:flex}.script-shot-field-popover textarea,.script-shot-field-popover>input{box-sizing:border-box;color:#fff;width:100%;font:inherit;background:#0003;border:1px solid #ffffff1a;border-radius:6px;outline:none}.script-shot-field-popover>input{height:38px;padding:0 10px;font-size:13px}.script-shot-field-popover>textarea{resize:none;height:79px;min-height:79px;padding:8px 10px;line-height:1.5}.script-shot-duration-hint,.script-shot-field-popover>footer>span{color:#919191;font-size:11px;line-height:16px}.script-shot-field-popover>footer{justify-content:space-between;align-items:center;gap:8px;min-height:24px;display:flex}.script-shot-field-popover>footer>.is-save{color:#171717;cursor:pointer;background:#f7f7f7;border:0;border-radius:8px;flex:none;min-width:48px;height:24px;padding:0 12px;font-size:12px}.script-shot-field-popover.is-duration{height:129px}.script-shot-field-popover.is-description{min-height:124px}.script-shot-description-editor{min-height:66px;overflow:hidden}.script-shot-description-editor .mention-prompt-editor-wrap{min-height:66px;padding:4px}.script-shot-description-editor .magic-prompt-editor{color:#f7f7f7;background:#ffffff0d;border-radius:4px;min-height:58px;max-height:220px;padding:4px 8px;font-size:12px;line-height:1.4;overflow-y:auto}.script-shot-size-popover{flex-direction:column;width:104px;height:220px;padding:4px;display:flex;overflow-y:auto}.script-shot-size-popover>button{color:#c8c8c8;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:5px;flex:0 0 28px;width:100%;min-height:28px;padding:0 8px;font-size:12px}.script-shot-size-popover>button:hover,.script-shot-size-popover>button.is-selected{color:#fff;background:#ffffff14}.script-shot-field-popover.is-dialogue{max-height:min(420px,100dvh - 16px);padding:10px 12px;overflow:hidden}.script-dialogue-editor-lines{flex-direction:column;gap:8px;min-height:0;display:flex;overflow-y:auto}.script-dialogue-editor-line{align-items:flex-start;gap:6px;min-height:32px;display:flex}.script-dialogue-editor-line>button:first-child{color:#4ba3ff;cursor:pointer;background:#3b82f626;border:0;border-radius:4px;flex:none;min-width:38px;height:22px;padding:0 6px;font-size:10px}.script-dialogue-editor-line>button:first-child.is-voiceover{color:#d2a8ff;background:#a855f726}.script-dialogue-editor-line>select{color:#f7f7f7;background:#191919;border:1px solid #ffffff1a;border-radius:4px;flex:0 0 80px;width:80px;height:24px;padding:0 6px;font-size:10px}.script-dialogue-line-editor{flex:1;min-width:0}.script-dialogue-line-editor .mention-prompt-editor-wrap{min-height:28px;padding:2px}.script-dialogue-line-editor .magic-prompt-editor{background:#ffffff0d;border-radius:4px;min-height:24px;max-height:92px;padding:4px 6px;font-size:12px;line-height:1.4;overflow-y:auto}.script-dialogue-remove{color:#aaa;cursor:pointer;background:#ffffff14;border:0;border-radius:50%;flex:0 0 18px;place-items:center;width:18px;height:18px;padding:0;display:grid}.script-dialogue-remove:disabled{cursor:default;opacity:.3}.script-dialogue-add-actions{align-items:center;gap:4px;display:flex}.script-dialogue-add-actions>button{color:#a8a8a8;cursor:pointer;background:#ffffff0a;border:0;border-radius:8px;align-items:center;gap:3px;height:24px;padding:0 8px;font-size:12px;display:inline-flex}.script-batch-dialog-backdrop{z-index:10040;justify-content:center;align-items:center;padding:16px;display:flex}.script-batch-dialog{color:#f7f7f7;background:#212121;border:1px solid #363636;border-radius:12px;flex-direction:column;width:min(800px,100vw - 32px);min-height:270px;max-height:calc(100dvh - 32px);display:flex;overflow:hidden;box-shadow:0 24px 70px #00000085}.script-batch-dialog>header{border-bottom:1px solid #363636;align-items:center;gap:5px;min-height:53px;padding:0 16px;display:flex}.script-batch-dialog>header h2{margin:0;font-size:14px;font-weight:500}.script-batch-dialog>header>button{color:#a8a8a8;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;width:28px;height:28px;margin-left:auto;padding:0;display:grid}.script-batch-dialog>header>button:hover{color:#fff;background:#ffffff0f}.script-asset-batch-body{min-height:112px;max-height:calc(100dvh - 198px);padding:16px;overflow-y:auto}.script-asset-batch-group+.script-asset-batch-group{margin-top:16px}.script-asset-batch-group h3{color:#d0d0d0;margin:0 0 7px;font-size:12px;font-weight:500}.script-asset-batch-group>div{border:1px solid #363636;border-radius:8px;overflow:hidden}.script-asset-batch-row{background:#1d1d1d;align-items:flex-start;gap:8px;min-height:88px;padding:12px;display:flex}.script-asset-batch-row+.script-asset-batch-row{border-top:1px solid #363636}.script-asset-batch-row>input,.script-batch-master-check>input,.script-prompt-batch-row input,.script-prompt-batch-selection input{accent-color:#f7f7f7;flex:0 0 16px;width:16px;height:16px;margin:1px 0 0}.script-asset-batch-copy{flex:1;min-width:0}.script-asset-batch-copy>span{align-items:center;gap:6px;min-height:16px;display:flex}.script-asset-batch-copy strong{font-size:12px;font-weight:500}.script-asset-batch-copy em{color:#919191;background:#ffffff0f;border-radius:4px;padding:1px 5px;font-size:10px;font-style:normal}.script-asset-batch-copy textarea{box-sizing:border-box;resize:none;color:#d8d8d8;width:100%;height:44px;font:inherit;background:#0003;border:1px solid #ffffff14;border-radius:5px;outline:none;margin-top:4px;padding:5px 8px;font-size:11px;line-height:16px}.script-asset-batch-dialog>footer,.script-prompt-batch-dialog>footer{border-top:1px solid #363636;align-items:center;gap:8px;min-height:65px;padding:0 16px;display:flex}.script-batch-master-check{color:#c8c8c8;white-space:nowrap;align-items:center;gap:6px;font-size:12px;display:flex}.script-asset-batch-settings{flex:1;align-items:center;gap:4px;min-width:0;display:flex}.script-asset-batch-settings .model-button,.script-batch-select{box-sizing:border-box;color:#d5d5d5;background:#ffffff0a;border:1px solid #0000;border-radius:8px;align-items:center;gap:6px;height:32px;padding:0 8px;font-size:12px;display:inline-flex}.script-batch-select{cursor:pointer;position:relative}.script-batch-select select{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.script-batch-confirm{align-items:center;gap:8px;display:flex}.script-batch-confirm>span{color:#c6c6c6;align-items:center;gap:3px;font-size:12px;display:inline-flex}.script-batch-confirm>button,.script-prompt-batch-actions>button{color:#171717;cursor:pointer;background:#f7f7f7;border:0;border-radius:8px;justify-content:center;align-items:center;gap:5px;height:32px;padding:0 12px;font-size:13px;display:inline-flex}.script-batch-confirm>button:disabled,.script-prompt-batch-actions>button:disabled{color:#7a7a7a;cursor:default;background:#333}.script-prompt-batch-dialog{height:min(572px,100dvh - 32px)}.script-prompt-batch-warning{color:#919191;display:inline-flex}.script-prompt-batch-list{border:1px solid #363636;border-radius:8px;flex:1;min-height:0;margin:16px;overflow-y:auto}.script-prompt-batch-row{background:#1d1d1d;border-bottom:1px solid #363636;grid-template-columns:60px minmax(0,1fr) 36px;align-items:center;gap:12px;min-height:41px;padding:0 12px;transition:min-height .12s;display:grid}.script-prompt-batch-row:last-child{border-bottom:0}.script-prompt-batch-row.is-expanded{min-height:57px}.script-prompt-batch-row>label{color:#f0f0f0;align-items:center;gap:8px;font-size:12px;display:flex}.script-prompt-batch-row p{color:#c3c3c3;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:12px;line-height:16px;overflow:hidden}.script-prompt-batch-row.is-expanded p{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.script-prompt-batch-row>button{color:#a8a8a8;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}.script-prompt-batch-dialog>footer{justify-content:space-between}.script-prompt-batch-selection,.script-prompt-batch-actions{align-items:center;gap:8px;display:flex}.script-prompt-batch-selection>label{color:#d0d0d0;white-space:nowrap;align-items:center;gap:5px;font-size:12px;display:flex}.script-prompt-batch-selection>span{color:#919191;white-space:nowrap;font-size:12px}.script-prompt-batch-selection .model-button{height:32px;margin-left:0}.script-prompt-batch-actions{margin-left:auto}.script-prompt-overwrite-backdrop{z-index:2;background:#0000009e;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.script-prompt-overwrite-dialog{background:#242424;border:1px solid #3a3a3a;border-radius:8px;width:min(380px,100vw - 40px);padding:20px;box-shadow:0 20px 60px #00000085}.script-prompt-overwrite-dialog h3{color:#f0f0f0;margin:0;font-size:15px;font-weight:600}.script-prompt-overwrite-dialog p{color:#a8a8a8;margin:10px 0 20px;font-size:13px;line-height:20px}.script-prompt-overwrite-dialog>div{justify-content:flex-end;gap:8px;display:flex}.script-prompt-overwrite-dialog button{color:#d0d0d0;cursor:pointer;background:#2d2d2d;border:1px solid #414141;border-radius:6px;height:32px;padding:0 14px;font-size:13px}.script-prompt-overwrite-dialog button.is-primary{color:#171717;background:#f1f1f1;border-color:#f1f1f1}@media (width<=760px){.script-asset-batch-dialog>footer,.script-prompt-batch-dialog>footer{flex-wrap:wrap;align-content:center;min-height:112px;padding-block:10px}.script-asset-batch-settings,.script-prompt-batch-selection{flex:0 0 100%;width:100%;overflow-x:auto}.script-batch-confirm,.script-prompt-batch-actions{margin-left:auto}.script-prompt-batch-row{grid-template-columns:58px minmax(120px,1fr) 32px}}.composition-workspace{z-index:10000;color:#e8e8e8;width:100vw;height:100svh;box-shadow:none;background:#121212;border:0;grid-template-rows:42px minmax(0,1fr) clamp(300px,35vh,420px);gap:6px;padding:0 6px 6px;animation:.15s ease-out composition-fullscreen-in;display:grid;position:fixed;inset:0;overflow:hidden}@keyframes composition-fullscreen-in{0%{opacity:0}}.composition-workspace-header{background:#121212;border:0;justify-content:space-between;align-items:center;gap:12px;width:100%;height:42px;min-height:0;padding:0 7px 0 4px;display:flex}.composition-workspace-title{display:block}.composition-workspace-title strong{color:#f1f1f1;font-size:12px;font-weight:600}.composition-export-controls{justify-content:flex-end;gap:6px;display:flex}.composition-export-trigger{color:#202020;cursor:pointer;background:#f2f2f2;border:0;border-radius:7px;justify-content:center;align-items:center;gap:4px;height:30px;padding:0 11px;font-weight:600;display:inline-flex}.composition-export-trigger:hover:not(:disabled){background:#fff}.composition-export-trigger:disabled{opacity:.45;cursor:default}.composition-close{color:#9a9a9a;background:0 0;border-radius:6px;width:28px;min-width:28px;height:28px;padding:0}.composition-close:hover{color:#fff;background:#ffffff12}.composition-editor-preview{background:#202020;border-radius:8px;min-width:0;height:calc(100% + 8px);min-height:0;position:relative;top:-8px;overflow:hidden}.composition-editor-preview .composition-preview-media{background:#202020;place-items:center;width:100%;height:100%;min-height:0;display:grid;position:relative;overflow:hidden}.composition-editor-preview .composition-preview-media video,.composition-editor-preview .composition-preview-media img{object-fit:contain;background:#202020;place-self:center;width:auto;min-width:0;max-width:100%;height:100%;min-height:0;max-height:100%;display:block}.composition-editor-preview .composition-preview-media img{object-position:center}.composition-editor-preview .composition-preview-media audio{display:none}.composition-editor-preview .composition-preview-empty{background:#202020;border:0;border-radius:0;width:100%;height:100%}.composition-editor-preview .composition-preview-subtitle{background:#000000a3;border-radius:4px;max-width:min(78%,920px);padding:7px 13px;font-size:18px;line-height:1.45;bottom:8%;left:50%;right:auto;transform:translate(-50%)}.composition-workspace-body{background:#1b1b1b;border:1px solid #353535;border-radius:8px;min-width:0;min-height:0;display:block;position:relative;overflow:hidden}.composition-timeline-area{background:#191919;flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;display:flex}.composition-timeline-topline{background:#1b1b1b;border-bottom:1px solid #303030;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;height:38px;min-height:38px;padding:0 12px;display:grid}.composition-edit-tools{justify-content:flex-start;gap:2px;min-width:0}.composition-edit-tools>span{background:#343434;height:16px;margin:0 4px}.composition-edit-tools button,.composition-timeline-zoom button,.composition-preview-fullscreen{color:#858585;background:0 0;border-radius:5px;place-items:center;width:28px;min-width:28px;height:28px;padding:0;display:inline-grid}.composition-edit-tools button:hover:not(:disabled),.composition-timeline-zoom button:hover,.composition-preview-fullscreen:hover,.composition-edit-tools button.is-active,.composition-timeline-zoom button.is-active{color:#efefef;background:#ffffff13}.composition-edit-tools button:disabled{opacity:.28}.composition-playback{justify-self:center;gap:9px}.composition-playback button:not(.composition-preview-fullscreen){color:#d5d5d5;background:#4a4a4a;width:31px;height:31px}.composition-playback button:not(.composition-preview-fullscreen):hover{background:#555}.composition-playback strong,.composition-playback span{color:#bdbdbd;font-variant-numeric:tabular-nums;min-width:36px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px}.composition-playback strong{color:#f0f0f0;text-align:right}.composition-playback span{color:#747474}.composition-timeline-zoom{color:#777;justify-self:end;gap:5px}.composition-timeline-zoom input{accent-color:#e2e2e2;width:88px;height:2px}.composition-timeline-grid{flex:1;grid-template-columns:74px minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.composition-track-labels{background:#191919;border-right:1px solid #303030}.composition-ruler-label{border-bottom:1px solid #2d2d2d;height:26px}.composition-track-labels>div:not(.composition-ruler-label){color:#828282;border-bottom:1px solid #2b2b2b;justify-content:center;gap:0;height:64px;padding:0}.composition-track-labels>div:not(.composition-ruler-label) span{display:none}.composition-track-labels>button{width:34px;height:30px;margin:8px auto;padding:0;font-size:0}.composition-track-labels>button svg{width:14px;height:14px}.composition-timeline-scroll{background-color:#1c1c1c;background-image:linear-gradient(90deg,#ffffff07 1px,#0000 1px);background-size:51px 100%;min-width:0;min-height:0;overflow:auto}.composition-timeline-content{min-height:100%}.composition-ruler{color:#747474;background:repeating-linear-gradient(90deg,#0000 0 9px,#ffffff13 9px 10px),#191919;border-bottom:1px solid #303030;height:26px}.composition-ruler i{background:#5b5b5b;height:9px}.composition-ruler b{color:#676767;font-size:8px;top:9px;left:2px}.composition-track-lane{border-bottom:1px solid #2b2b2b;height:64px}.composition-track-lane.is-video{background:#ffffff03}.composition-track-lane.is-audio{background:#ffffff02}.composition-clip{background-color:#2a2a2a;background-position:0;background-repeat:repeat-x;background-size:auto 100%;border-radius:4px;height:56px;top:2px;border:1px solid #3f3f3f!important}.composition-clip.is-video:after{content:"";z-index:2;opacity:.86;background:repeating-linear-gradient(90deg,#058d93 0 2px,#047179 2px 4px,#08a1a5 4px 5px);height:5px;position:absolute;bottom:0;left:0;right:0}.composition-clip.is-selected{box-shadow:0 0 0 1px #ffffff3d;border-color:#e2e2e2!important}.composition-clip.is-audio{background:#24443b;border-color:#356c5d!important}.composition-clip-stripes{display:none}.composition-clip-thumbnails{z-index:1;display:flex;position:absolute;inset:0;overflow:hidden}.composition-clip-thumbnails i{background-position:50%;background-repeat:no-repeat;background-size:cover;flex:1 1 0;min-width:0}.composition-clip-thumbnails i+i{border-left:1px solid #00000047}.composition-clip-label{background:#1111117a;border-radius:3px;gap:4px;padding:2px 4px;inset:4px 5px auto}.composition-clip-label strong{font-size:9px}.composition-clip-label small{display:none}.composition-audio-wave{inset:9px 8px}.composition-trim-handle{background:#efefeff5;width:7px}.composition-playhead{cursor:ew-resize;pointer-events:auto;touch-action:none;background:0 0;border:0;outline:0;width:13px;margin-left:-6px;padding:0}.composition-playhead:before{content:"";background:#e9e9e9;width:1px;transition:width .1s,background-color .1s,box-shadow .1s;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.composition-playhead>span{border-radius:2px;width:9px;height:9px}.composition-playhead:hover:before,.composition-playhead:focus-visible:before,.composition-playhead.is-dragging:before{background:#fff;width:2px;box-shadow:0 0 0 1px #00000073}.composition-playhead:focus-visible>span,.composition-playhead.is-dragging>span{background:#fff;box-shadow:0 0 0 2px #fff3}.composition-timeline-content.is-scrubbing,.composition-timeline-content.is-scrubbing *{-webkit-user-select:none;user-select:none;cursor:ew-resize!important}.composition-ruler,.composition-track-lane{cursor:crosshair}.composition-inspector{z-index:20;background:#202020;border:1px solid #3b3b3b;border-radius:8px;width:300px;max-width:calc(100% - 16px);min-height:0;position:absolute;top:55px;bottom:8px;right:8px;overflow:hidden;box-shadow:0 16px 42px #00000080}.composition-inspector-close{z-index:3;color:#818181;background:0 0;border-radius:5px;place-items:center;width:26px;height:26px;padding:0;display:grid;position:absolute;top:7px;right:7px}.composition-inspector-close:hover{color:#eee;background:#ffffff12}.composition-inspector-tabs{height:42px;padding:6px 38px 6px 6px}.composition-inspector-content{padding:12px}.composition-export-button{color:#202020;background:#f0f0f0;flex:none;width:100%;min-height:32px}.composition-export-button:hover:not(:disabled){background:#fff}@media (width<=900px){.composition-workspace{grid-template-rows:40px minmax(180px,1fr) minmax(300px,42vh);gap:4px;padding:0 4px 4px}.composition-workspace-header{height:40px}.composition-timeline-topline{grid-template-columns:minmax(0,1fr) auto;height:38px;min-height:38px;padding:0 7px}.composition-playback{grid-area:1/2}.composition-timeline-zoom,.composition-edit-tools button:nth-of-type(3),.composition-edit-tools button:nth-of-type(4){display:none}.composition-timeline-grid{grid-template-columns:48px minmax(0,1fr)}.composition-inspector{width:min(300px,100% - 16px)}}@media (width<=560px){.composition-workspace{grid-template-rows:40px minmax(170px,1fr) minmax(310px,48vh)}.composition-edit-tools>span,.composition-edit-tools button:nth-of-type(5),.composition-edit-tools button:nth-of-type(6){display:none}.composition-playback{gap:5px}.composition-playback strong,.composition-playback span{min-width:32px;font-size:9px}.composition-editor-preview .composition-preview-subtitle{max-width:88%;font-size:13px}}.director-body{text-align:center;flex-direction:column;justify-content:center;align-items:center;height:100%;padding:26px;display:flex}.director-grid{perspective:300px;grid-template-columns:repeat(3,1fr);gap:5px;width:200px;height:88px;margin-bottom:-22px;display:grid}.director-grid span{background:#323232;border:1px solid #555;transform:rotateX(55deg)}.director-body>svg{color:#aaa;position:relative}.director-body p{max-width:240px;color:var(--muted);margin:18px 0;font-size:13px;line-height:1.6}.composition-generator-panel{width:660px;height:192px;transform:translate(-50%, 100%) scale(var(--floating-ui-scale));transform-origin:top;z-index:20;background:#262626;border:1px solid #363636;border-radius:16px;flex-direction:column;gap:8px;padding:8px;display:flex;position:absolute;bottom:-16px;left:50%;overflow:hidden;box-shadow:0 4px 10px #0000001f}.composition-generator-tags{flex:0 0 30px;align-items:center;height:30px;padding:4px 4px 0;display:flex}.composition-generator-tags button{color:#d1d1d1;cursor:pointer;background:#ffffff0d;border:0;border-radius:9999px;align-items:center;gap:2px;height:26px;padding:4px 8px;font-size:12px;display:inline-flex}.composition-generator-tags button:hover{background:#ffffff1a}.composition-generator-input{border-radius:12px;flex:0 0 96px;height:96px;min-height:96px;padding:8px;display:flex;overflow:hidden}.composition-generator-input textarea{color:#f1f1f1;resize:none;background:0 0;border:0;outline:0;width:100%;height:80px;min-height:80px;max-height:80px;padding:0 6px 0 0;font-size:14px;line-height:1.8;overflow-y:auto}.composition-generator-input textarea::placeholder,.director-prompt-input textarea::placeholder{color:#737373}.composition-generator-footer{flex:0 0 32px;justify-content:space-between;align-items:center;gap:8px;height:32px;min-height:32px;display:flex}.composition-generator-footer>div{align-items:center;gap:4px;min-width:0;display:flex}.composition-generator-select,.composition-generator-duration{color:#d8d8d8;background:0 0;border-radius:8px;align-items:center;gap:5px;min-width:0;height:32px;padding:0 8px;display:inline-flex}.composition-generator-select:hover,.composition-generator-duration:hover{background:#ffffff12}.composition-generator-select select,.composition-generator-duration input{min-width:0;height:24px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;outline:0;padding:0}.composition-generator-select select{max-width:118px}.composition-generator-select option{color:#efefef;background:#292929}.composition-generator-duration input{text-align:right;appearance:textfield;width:34px}.composition-generator-duration input::-webkit-inner-spin-button{appearance:none;margin:0}.composition-generator-duration input::-webkit-outer-spin-button{appearance:none;margin:0}.composition-generator-duration span{color:#8d8d8d;font-size:12px}.composition-generator-footer button{color:#ededed;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;height:32px;padding:0 8px;font-size:13px;display:inline-flex}.composition-generator-footer button:hover:not(:disabled){background:#ffffff14}.composition-generator-footer button span{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.composition-generator-footer .composition-generator-submit{color:#272727;background:#f1f1f1;border-radius:12px;flex:0 0 32px;justify-content:center;width:32px;padding:0}.composition-generator-footer .composition-generator-submit:disabled{color:#4a4a4a;cursor:not-allowed;opacity:.5;background:#a2a2a2}.composition-replan{color:#b7b7b7;cursor:pointer;background:0 0;border:0;border-radius:6px;height:28px;padding:0 10px;font-size:12px}.composition-replan:hover:not(:disabled){color:#f4f4f4;background:#ffffff12}.composition-replan:disabled{cursor:default;opacity:.45}.composition-plan-layer{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);z-index:80;background:#111111c7;place-items:center;padding:24px;display:grid;position:absolute;inset:40px 4px 4px;overflow:auto}.composition-plan-panel{color:#eee;background:#242424;border:1px solid #3b3b3b;border-radius:8px;flex-direction:column;gap:18px;width:min(680px,100%);max-height:min(720px,100%);padding:22px;display:flex;overflow:auto;box-shadow:0 20px 48px #00000061}.composition-plan-panel>header,.composition-plan-panel>footer{justify-content:space-between;align-items:center;gap:14px;display:flex}.composition-plan-panel>header>div{flex-direction:column;gap:5px;min-width:0;display:flex}.composition-plan-panel>header strong{font-size:16px;font-weight:600;line-height:1.4}.composition-plan-panel>header span{color:#949494;font-size:12px;line-height:1.5}.composition-plan-panel>textarea{resize:vertical;color:#efefef;width:100%;min-height:116px;font:inherit;background:#1c1c1c;border:1px solid #414141;border-radius:7px;outline:0;padding:12px;font-size:13px;line-height:1.65}.composition-plan-panel>textarea:focus,.composition-plan-settings select:focus,.composition-plan-settings input:focus,.composition-questions input:focus{border-color:#777;box-shadow:0 0 0 2px #ffffff0f}.composition-plan-settings{grid-template-columns:minmax(150px,1.4fr) repeat(3,minmax(96px,1fr));gap:10px;display:grid}.composition-plan-settings>label{flex-direction:column;gap:6px;min-width:0;display:flex}.composition-plan-settings>label>span{color:#929292;font-size:11px}.composition-plan-settings select,.composition-plan-settings input,.composition-questions input{color:#e8e8e8;width:100%;min-width:0;height:34px;font:inherit;background:#1c1c1c;border:1px solid #404040;border-radius:6px;outline:0;padding:0 9px;font-size:12px}.composition-plan-settings option{background:#242424}.composition-plan-settings>label>div{background:#1c1c1c;border:1px solid #404040;border-radius:6px;grid-template-columns:minmax(0,1fr) 24px;align-items:center;display:grid}.composition-plan-settings>label>div:focus-within{border-color:#777;box-shadow:0 0 0 2px #ffffff0f}.composition-plan-settings>label>div input{box-shadow:none;border:0}.composition-plan-settings>label>div em{color:#858585;font-size:11px;font-style:normal}.composition-questions{flex-direction:column;gap:10px;display:flex}.composition-questions article{background:#1e1e1e;border:1px solid #3c3c3c;border-radius:7px;flex-direction:column;gap:7px;padding:12px;display:flex}.composition-questions article>strong{font-size:13px;font-weight:600}.composition-questions article>p{color:#9c9c9c;margin:0;font-size:12px;line-height:1.55}.composition-questions article>div{flex-wrap:wrap;gap:7px;display:flex}.composition-questions button{color:#c8c8c8;cursor:pointer;background:#292929;border:1px solid #444;border-radius:6px;min-height:30px;padding:0 10px;font-size:12px}.composition-questions button:hover,.composition-questions button.is-selected{color:#fff;background:#3a3a3a;border-color:#828282}.composition-plan-error{color:#f0b2b2;background:#7826262e;border:1px solid #d6606075;border-radius:6px;padding:9px 11px;font-size:12px;line-height:1.5}.composition-plan-panel>footer{justify-content:flex-end}.composition-plan-primary,.composition-plan-secondary{cursor:pointer;border-radius:6px;min-height:34px;padding:0 14px;font-size:12px;font-weight:600}.composition-plan-primary{color:#202020;background:#f0f0f0;border:1px solid #f0f0f0}.composition-plan-primary:hover:not(:disabled){background:#fff}.composition-plan-secondary{color:#d2d2d2;background:#2d2d2d;border:1px solid #444}.composition-plan-secondary:hover:not(:disabled){background:#353535;border-color:#5c5c5c}.composition-plan-primary:disabled,.composition-plan-secondary:disabled{cursor:default;opacity:.42}.composition-plan-spinner{border:2px solid #ffffff29;border-top-color:#e6e6e6;border-radius:50%;flex:0 0 18px;width:18px;height:18px;animation:.8s linear infinite composition-plan-spin}.composition-clip.is-image{background-color:#385448}@keyframes composition-plan-spin{to{transform:rotate(360deg)}}@media (width<=720px){.composition-plan-layer{padding:10px}.composition-plan-panel{gap:14px;padding:15px}.composition-plan-settings{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.composition-generator-panel{width:min(660px,100vw - 16px)}.composition-generator-select select{max-width:82px}.composition-plan-settings{grid-template-columns:1fr}}.director-prompt-panel{color:#fff;width:384px;height:104px;transform:translate(-50%, 100%) scale(var(--floating-ui-scale));transform-origin:top;z-index:20;background:#212121;border:1px solid #fff3;border-radius:16px;flex-direction:column;padding:8px;display:flex;position:absolute;bottom:-12px;left:50%;overflow:hidden;box-shadow:0 4px 5px #0000001f}.director-prompt-input{flex:auto;min-height:0;display:flex;overflow:hidden}.director-prompt-input textarea{color:#f7f7f7;resize:none;background:0 0;border:0;outline:0;width:100%;height:48px;min-height:48px;padding:0;font-size:14px;line-height:25px;overflow-y:auto}.director-prompt-footer{flex:0 0 32px;justify-content:space-between;align-items:center;height:32px;min-height:32px;display:flex}.director-prompt-footer button{color:#ffffffb3;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;padding:0;display:inline-flex}.director-prompt-footer button:hover:not(:disabled){color:#fff;background:#ffffff14}.director-prompt-footer .director-prompt-submit{color:#171717;background:#fff;border-radius:12px}.director-prompt-footer .director-prompt-submit:disabled{cursor:not-allowed;opacity:.4}.node-primary,.panel-primary{color:#141414;cursor:pointer;background:#fff;border:0;border-radius:7px;justify-content:center;align-items:center;gap:7px;height:34px;padding:0 14px;display:inline-flex}.workflow-node-script .node-card{background:#202020}.script-entry,.script-body,.script-generator-surface{width:100%;height:100%}.script-entry{padding:0;position:relative}.script-entry-mark{flex-direction:column;align-items:center;gap:7px;display:flex;position:absolute;top:68px;left:50%;transform:translate(-50%)}.script-entry-mark>span{background:#555;border-radius:1px;width:55px;height:6px}.script-entry-mark>span:last-child{align-self:flex-start;width:33px}.script-entry-actions{flex-direction:column;align-items:flex-start;display:flex;position:absolute;top:156px;left:24px}.script-entry-hint{color:#a6a6a6;height:29px;font-size:14px;font-weight:400;line-height:20px}.script-entry-actions>button{color:#f2f2f2;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;height:40px;padding:0 12px;transition:color .12s,background .12s;display:flex}.script-entry-actions>button:hover{background:#ffffff12}.script-entry-actions>button>svg{color:#ededed;flex:none}.script-entry-actions>button strong{letter-spacing:0;white-space:nowrap;font-size:14px;font-weight:600}.script-generator-surface{flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex}.script-generator-surface>span,.script-progress-icon>span{background:#686868;border-radius:999px;height:5px}.script-generator-surface>span:first-child,.script-progress-icon>span:first-child,.script-generator-surface>span:nth-child(2),.script-progress-icon>span:nth-child(2){width:48px}.script-generator-surface>span:nth-child(3),.script-progress-icon>span:nth-child(3){width:40px}.script-generator-surface>span:nth-child(4),.script-progress-icon>span:nth-child(4){width:31px}.script-body{flex-direction:column;justify-content:space-between;align-items:center;padding:66px 32px 32px;display:flex;overflow:hidden}.script-progress-icon{flex-direction:column;justify-content:center;align-items:center;gap:6px;height:66px;display:flex}.script-stage-track{align-items:flex-start;width:100%;max-width:286px;display:flex}.script-stage-step-wrap{flex:1;align-items:flex-start;min-width:0;display:flex}.script-stage-step-wrap:last-child{flex:none}.script-stage-step-wrap>i{background:#ffffff2e;border-radius:2px;flex:1;min-width:24px;height:2px;margin:11px 7px 0}.script-stage-step-wrap>i.is-complete{background:#ffffffd1}.script-stage-step{flex-direction:column;align-items:center;gap:8px;min-width:58px;display:flex}.script-stage-step>span{color:#d0d0d0;background:#ffffff14;border:2px solid #ffffff6b;border-radius:50%;place-items:center;width:24px;height:24px;font-size:13px;display:grid}.script-stage-step.is-active>span{color:#fff;background:#ffffff38;border-color:#fff}.script-stage-step.is-complete>span{color:#202020;background:#fff;border-color:#fff}.script-stage-step strong{color:#aaa;white-space:nowrap;font-size:12px;font-weight:500}.script-stage-step.is-active strong,.script-stage-step.is-complete strong{color:#fff}.script-progress-label{color:#f4f4f4;background:#080808;border-radius:8px;justify-content:center;align-items:center;min-width:130px;min-height:41px;padding:0 18px;font-size:13px;font-weight:600;display:flex}.script-open-button{color:#fff;cursor:pointer;background:#3c3c3c;border:0;border-radius:8px;width:100%;height:52px;font-size:14px;font-weight:700;transition:background .12s,transform .12s}.script-open-button:hover{background:#494949}.script-open-button:active{transform:translateY(1px)}.script-node-toolbar{box-shadow:var(--shadow);transform:translateX(-50%) scale(var(--floating-ui-scale));transform-origin:bottom;white-space:nowrap;z-index:18;background:#202020;border:1px solid #383838;border-radius:8px;align-items:center;gap:3px;padding:5px;display:flex;position:absolute;top:-72px;left:50%}.script-node-toolbar button{color:#c9c9c9;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:6px;height:30px;padding:0 9px;font-size:12px;display:inline-flex}.script-node-toolbar button:hover{color:#fff;background:#ffffff1a}.script-generator-panel{width:660px;height:210px;transform:translate(-50%, 100%) scale(var(--floating-ui-scale));transform-origin:top;z-index:20;background:#262626;border:1px solid #363636;border-radius:16px;flex-direction:column;gap:8px;padding:8px;display:flex;position:absolute;bottom:-16px;left:50%;overflow:hidden;box-shadow:0 4px 10px #0000001f}.script-generator-panel .generator-input{background:0 0;border-radius:12px;flex:0 0 152px;height:152px;min-height:152px;margin:0;padding:8px 40px 8px 8px;display:flex;overflow:hidden}.script-generator-panel .mention-prompt-editor-wrap{flex:auto;min-height:0;display:flex}.script-generator-panel .magic-prompt-editor{color:#f1f1f1;flex:auto;height:136px;min-height:136px;max-height:136px;padding:0 6px 0 0;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;font-size:14px;font-weight:400;line-height:1.8}.script-generator-panel.is-script-chooser-panel{height:154px}.script-generator-panel.is-script-chooser-panel .generator-input{flex-basis:96px;height:96px;min-height:96px}.script-generator-panel.is-script-chooser-panel .magic-prompt-editor{height:80px;min-height:80px;max-height:80px}.script-generator-panel .generator-footer{flex:0 0 32px;height:32px;min-height:32px;padding:0;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;font-size:13px;font-weight:400;line-height:1}.script-generator-panel .model-button{font:inherit;padding:0 8px}.script-generator-panel .script-generator-translate{color:#ededed}.script-generator-panel .credit-cost{color:#a3a3a3}.script-generator-panel .submit-generation{color:#272727;background:#f1f1f1;border-radius:50%;flex:0 0 32px;width:32px;height:32px}.script-generator-panel .submit-generation:disabled{color:#4a4a4a;opacity:1;background:#a2a2a2}.script-generator-expand{color:#999;cursor:pointer;z-index:8;background:0 0;border:0;border-radius:6px;place-items:center;width:28px;height:28px;padding:0;display:grid;position:absolute;top:9px;right:9px}.script-generator-expand:hover{color:#f1f1f1;background:#ffffff14}.script-generator-panel.is-prompt-editor-modal{z-index:1;width:min(800px,90vw);max-width:90vw;height:min(600px,90dvh);max-height:90dvh;padding:12px;position:relative;bottom:auto;left:auto;transform:none}.script-generator-panel.is-prompt-editor-modal .generator-input{flex:auto;height:auto;min-height:0}.script-generator-panel.is-prompt-editor-modal .mention-prompt-editor-wrap,.script-generator-panel.is-prompt-editor-modal .magic-prompt-editor{height:100%;min-height:0;max-height:none}.generator-panel{width:660px;transform:translate(-50%, 100%) scale(var(--floating-ui-scale));transform-origin:top;border:1px solid var(--border);box-shadow:var(--shadow);z-index:20;background:#202020;border-radius:14px;padding:8px;transition:transform .15s cubic-bezier(0,0,.2,1);position:absolute;bottom:-16px;left:50%}.generator-panel-text,.generator-panel-audio{background:#262626;border-color:#363636;border-radius:16px;flex-direction:column;width:660px;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;display:flex;overflow:visible;box-shadow:0 4px 10px #0000001f}.generator-panel-text{gap:4px;height:150px}.generator-panel-audio{gap:10px;height:188px}.generator-panel-text .generator-input,.generator-panel-audio .generator-input{background:0 0;border-radius:12px;flex:96px;height:96px;min-height:0;margin:0;padding:8px 40px 8px 8px;display:flex}.generator-panel-audio .generator-input{flex:0 0 96px;padding-right:8px}.generator-panel-text .mention-prompt-editor-wrap,.generator-panel-audio .mention-prompt-editor-wrap{flex:auto;min-height:0;display:flex}.generator-panel-text .generator-input textarea,.generator-panel-text .magic-prompt-editor,.generator-panel-audio .generator-input textarea,.generator-panel-audio .magic-prompt-editor{resize:none;color:#f7f7f7;flex:auto;height:100%;min-height:0;max-height:none;padding:0 6px 0 0;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;font-size:14px;font-weight:400;line-height:1.8;overflow-y:auto}.generator-panel-text .generator-footer,.generator-panel-audio .generator-footer{flex:0 0 32px;height:32px;min-height:32px;padding:0;font-size:13px;font-weight:400}.generator-panel-audio .generator-audio-tags{flex:0 0 24px;gap:4px;height:24px;padding:0 40px 0 0}.generator-panel-audio .generator-audio-tags button{color:#d1d1d1;background:#ffffff1a;border-radius:4px;height:24px;padding:0 8px;font-family:inherit;font-size:13px;font-weight:400;line-height:24px}.generator-panel-audio .generator-audio-tags button:hover{color:#f7f7f7;background:#ffffff26}.generator-panel-image{background:#262626;border-color:#363636;border-radius:16px;flex-direction:column;gap:8px;width:660px;height:192px;transition:transform .15s cubic-bezier(0,0,.2,1);display:flex;overflow:visible;box-shadow:0 4px 10px #0000001f}.generator-panel-expand{color:#8f8f8f;cursor:pointer;opacity:0;z-index:8;background:0 0;border:0;border-radius:6px;place-items:center;width:28px;height:28px;padding:0;transition:opacity .1s,color .1s,background .1s;display:grid;position:absolute;top:9px;right:9px}.generator-panel:hover .generator-panel-expand,.generator-panel:focus-within .generator-panel-expand,.generator-panel.is-prompt-editor-modal .generator-panel-expand{opacity:1}.generator-panel-expand:hover{color:#f1f1f1;background:#ffffff14}.generator-panel-image .generator-tags{flex:0 0 30px;gap:4px;height:30px;padding:4px 40px 0 4px}.generator-panel-image .generator-input{background:0 0;border-radius:12px;flex:0 0 96px;height:96px;min-height:96px;margin:0;padding:8px;display:flex}.generator-panel-image.has-upstream{height:248px}.generator-panel-image.has-references{height:258px}.generator-panel-image.has-upstream.has-references{height:314px}.generator-panel-image.has-upstream .generator-input{margin-top:56px}.generator-panel-image .generator-input textarea{resize:none;flex:auto;height:80px;min-height:80px;max-height:80px;padding:0 6px 0 0}.generator-panel-image .generator-footer{flex:0 0 32px;height:32px;padding:0}.generator-tags{gap:6px;padding:2px 3px 7px;display:flex}.generator-tags button{color:#bdbdbd;cursor:pointer;background:#292929;border:0;border-radius:6px;align-items:center;gap:5px;height:28px;padding:0 8px;display:flex}.generator-panel-image .generator-tags button{color:#d1d1d1;white-space:nowrap;background:#ffffff0d;border-radius:9999px;gap:2px;height:26px;padding:4px 8px;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;font-size:12px;font-weight:400;line-height:18px}.generator-panel-image .generator-tags button svg{flex:0 0 12px;width:12px;height:12px}.generator-panel-video{background:#262626;border-color:#363636;border-radius:16px;flex-direction:column;gap:8px;width:660px;height:192px;display:flex;bottom:-16px;overflow:visible;box-shadow:0 4px 10px #0000001f}.generator-panel-video.has-references{height:258px}.generator-panel-video .generator-tags{flex:0 0 30px;gap:4px;height:30px;padding:4px 40px 0 4px}.generator-panel-video .generator-tags button{color:#d1d1d1;white-space:nowrap;background:#ffffff0d;border-radius:9999px;gap:2px;height:26px;padding:4px 8px;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;font-size:12px;font-weight:400;line-height:18px}.generator-panel-video .generator-tags button svg{flex:0 0 12px;width:12px;height:12px}.generator-tags button.is-active{color:#fff;background:#3f79e7;box-shadow:inset 0 0 0 1px #ffffff24}.generator-upstream{background:#202c368f;border:1px solid #74a4cc40;border-radius:8px;margin:1px 1px 7px;padding:9px 10px 8px}.generator-upstream.is-stale{background:#3d2f1675;border-color:#ffc65d6b}.generator-upstream-head,.generator-upstream-meta{align-items:center;display:flex}.generator-upstream-head{gap:7px}.generator-upstream-head>svg{color:#8fc7f0;flex:none}.generator-upstream.is-stale .generator-upstream-head>svg{color:#ffc65d}.generator-upstream-head strong{color:#dfeaf3;font-size:11px;font-weight:600}.generator-upstream.is-stale .generator-upstream-head strong{color:#ffe0a3}.generator-upstream-head>span{color:#8c9aa5;margin-left:auto;font-size:10px}.generator-upstream-dismiss{width:24px;height:24px;margin:-4px -4px -4px 0}.generator-upstream>p{color:#bcc8d1;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:40px;margin:7px 0 5px;font-size:11px;line-height:1.55;display:-webkit-box;overflow:hidden}.generator-upstream-meta{gap:8px;min-width:0}.generator-upstream-meta>span{color:#778691;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:10px;overflow:hidden}.generator-upstream-meta>button{color:#d8e9f8;cursor:pointer;background:#74a4cc24;border:0;border-radius:5px;flex:none;height:24px;padding:0 7px;font-size:10px}.generator-upstream-meta>button:hover{background:#74a4cc3d}.generator-panel-image .generator-upstream{width:48px;height:48px;box-shadow:none;z-index:12;background:0 0;border:0;border-radius:10px;margin:0;padding:0;position:absolute;top:48px;left:12px;overflow:visible}.generator-panel-image .generator-upstream:before{content:attr(data-upstream-count);color:#f4f4f4;pointer-events:none;z-index:3;background:#242424;border-radius:999px;place-items:center;min-width:15px;height:15px;padding:0 3px;font-size:9px;font-weight:700;line-height:1;display:grid;position:absolute;top:2px;left:2px}.generator-upstream-trigger{color:#e0e0e0;cursor:pointer;background:#4a4a4a;border:1px solid #505050;border-radius:10px;place-items:center;width:100%;height:100%;padding:0;transition:border-color .12s,color .12s,background .12s;display:grid}.generator-panel-image .generator-upstream:hover .generator-upstream-trigger,.generator-panel-image .generator-upstream:focus-within .generator-upstream-trigger{color:#f0f0f0;background:#505050;border-color:#5d5d5d}.generator-panel-image .generator-upstream.is-stale .generator-upstream-trigger{color:#ffe0a3;background:#51482f;border-color:#756438}.generator-panel-image .generator-upstream-dismiss{color:#c8c8c8;opacity:0;pointer-events:none;z-index:4;background:#242424;border:1px solid #414141;border-radius:50%;width:18px;height:18px;margin:0;transition:opacity .1s,color .1s,background .1s;position:absolute;top:-7px;right:-7px}.generator-upstream-preview{color:#f2f2f2;cursor:pointer;text-align:left;opacity:0;visibility:hidden;transform-origin:bottom;pointer-events:none;z-index:20;background:#0b0b0b;border:1px solid #454545;border-radius:10px;width:280px;padding:9px 10px 10px;font-family:inherit;font-size:12px;font-weight:500;line-height:1.45;transition:opacity .12s,visibility .12s,transform .14s cubic-bezier(.22,1,.36,1);display:block;position:absolute;bottom:calc(100% + 9px);left:-116px;overflow:visible;transform:translateY(4px)scale(.98);box-shadow:0 12px 28px #00000075}.generator-upstream-preview>span{white-space:pre-wrap;overflow-wrap:anywhere;-webkit-line-clamp:8;-webkit-box-orient:vertical;max-height:134px;display:-webkit-box;overflow:hidden}.generator-upstream-preview:after{content:"";background:#0b0b0b;border-bottom:1px solid #454545;border-right:1px solid #454545;width:11px;height:11px;position:absolute;bottom:-6px;left:136px;transform:rotate(45deg)}.generator-panel-image .generator-upstream:hover .generator-upstream-preview,.generator-panel-image .generator-upstream:focus-within .generator-upstream-preview{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)scale(1)}.generator-panel-image .generator-upstream:hover .generator-upstream-dismiss,.generator-panel-image .generator-upstream:focus-within .generator-upstream-dismiss{opacity:1;pointer-events:auto}.generator-input{background:#1b1b1b;border-radius:10px;min-height:80px;padding:8px}.generator-input textarea{color:#f1f1f1;resize:vertical;text-rendering:geometricprecision;-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto;background:0 0;border:0;outline:0;width:100%;min-height:64px;max-height:100px;padding:2px;font-family:Microsoft YaHei UI,Microsoft YaHei,PingFang SC,Noto Sans SC,sans-serif;font-size:14px;font-weight:500;line-height:1.65;display:block}.magic-prompt-editor{-webkit-user-select:text;user-select:text;color:#f1f1f1;white-space:pre-wrap;overflow-wrap:anywhere;text-rendering:geometricprecision;-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto;background:0 0;outline:0;width:100%;min-height:64px;max-height:100px;padding:2px;font-family:Microsoft YaHei UI,Microsoft YaHei,PingFang SC,Noto Sans SC,sans-serif;font-size:14px;font-weight:500;line-height:1.65;display:block;position:relative;overflow-y:auto}.mention-prompt-editor-wrap{width:100%;min-width:0;position:relative}.magic-prompt-editor[data-empty=true]:before{content:attr(data-placeholder);box-sizing:border-box;padding:inherit;color:#737373;pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0}.magic-prompt-chip,.asset-mention-chip{vertical-align:-5px;color:#eaf4fb;white-space:nowrap;background:#34414b;border:1px solid #4e5962;border-radius:6px;align-items:center;gap:4px;max-width:210px;height:22px;margin:0 2px;padding:1px 5px 1px 3px;font-size:12px;font-weight:500;line-height:1;display:inline-flex;box-shadow:inset 0 1px #ffffff0d}.magic-prompt-chip>img,.asset-mention-chip>img,.magic-prompt-chip-fallback{object-fit:cover;background:#65727c;border-radius:50%;flex:none;place-items:center;width:14px;height:14px;display:grid}.magic-prompt-chip-label{text-overflow:ellipsis;min-width:0;overflow:hidden}.magic-prompt-chip button,.asset-mention-chip button{color:#bbc8d1;cursor:pointer;background:0 0;border:0;border-radius:4px;flex:none;place-items:center;width:16px;height:16px;padding:0;display:grid}.magic-prompt-chip button:hover,.asset-mention-chip button:hover{color:#fff;background:#ffffff1a}.magic-prompt-chip .magic-prompt-chip-remove,.asset-mention-chip .magic-prompt-chip-remove{display:none}.magic-prompt-chip:hover .magic-prompt-chip-remove,.magic-prompt-chip:focus-within .magic-prompt-chip-remove,.asset-mention-chip:hover .magic-prompt-chip-remove,.asset-mention-chip:focus-within .magic-prompt-chip-remove{display:grid}.asset-mention-chip{color:#eff8f0;background:#344438;border-color:#506254}.asset-mention-menu{z-index:80;background:#181818;border:1px solid #414141;border-radius:8px;width:min(300px,100vw - 48px);max-height:292px;padding:5px;position:absolute;left:0;overflow-y:auto;box-shadow:0 16px 34px #0000007a}.asset-mention-menu.is-above{bottom:calc(100% + 8px)}.asset-mention-menu.is-below{top:calc(100% + 8px)}.asset-mention-menu.is-portal{z-index:2200;position:fixed;bottom:auto}.asset-mention-menu-title{color:#7f8b84;padding:5px 7px 6px;font-size:10px;font-weight:700}.asset-mention-menu-empty{color:#707070;text-align:center;padding:18px 12px;font-size:11px}.asset-mention-menu>button{color:#d8d8d8;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:9px;width:100%;min-width:0;height:44px;padding:5px 7px;display:flex}.asset-mention-menu>button:hover,.asset-mention-menu>button.is-active{color:#fff;background:#292929}.asset-mention-menu-preview{color:#aeb8b1;background:#222;border:1px solid #3f3f3f;border-radius:6px;flex:none;place-items:center;width:32px;height:32px;font-size:11px;font-weight:700;display:grid;overflow:hidden}.asset-mention-menu-preview img{object-fit:cover;width:100%;height:100%}.asset-mention-menu-copy{gap:3px;min-width:0;display:grid}.asset-mention-menu-copy strong,.asset-mention-menu-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.asset-mention-menu-copy strong{font-size:12px;font-weight:600}.asset-mention-menu-copy small{color:#858585;font-size:10px;font-weight:500}.generator-panel-text .generator-input textarea{resize:none}.generator-panel-text .generator-input{padding-right:40px}.generator-panel-video .generator-input{background:0 0;border-radius:12px;flex:0 0 96px;height:96px;min-height:96px;margin:0;padding:8px;display:flex}.generator-panel-video .generator-input textarea{resize:none;height:80px;min-height:80px;max-height:80px;padding:0 6px 0 0}.generator-panel-video .magic-prompt-editor{height:80px;min-height:80px;max-height:80px;padding:0 6px 0 0;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;font-size:14px;font-weight:400;line-height:1.8}.workflow-node-audio .generator-input textarea,.workflow-node-audio .magic-prompt-editor{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;font-size:14px;font-weight:400;line-height:1.8}.generator-panel-image .magic-prompt-editor{flex:auto;height:80px;min-height:80px;max-height:80px;padding:0 6px 0 0}.generator-panel-image .generator-input textarea,.generator-panel-image .magic-prompt-editor{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;font-size:14px;font-weight:400;line-height:1.8}.prompt-editor-modal-backdrop{z-index:1900;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#000000ad;place-items:center;padding:5dvh 5vw;display:grid;position:fixed;inset:0}.generator-panel.is-prompt-editor-modal{width:min(var(--prompt-editor-width,800px), 90vw);height:min(var(--prompt-editor-height,600px), 90dvh);z-index:1;background:#262626;border-color:#363636;border-radius:16px;flex-direction:column;gap:8px;max-width:90vw;max-height:90dvh;padding:8px;transition:none;display:flex;position:relative;bottom:auto;left:auto;overflow:visible;transform:none;box-shadow:0 24px 72px #00000094}.prompt-editor-resize-handle{z-index:12;color:#737373;cursor:nwse-resize;touch-action:none;background:#262626;border:0;border-radius:3px;place-items:center;width:12px;height:12px;padding:0;display:grid;position:absolute}.prompt-editor-resize-handle:hover{color:#d4d4d4;background:#303030}.prompt-editor-resize-handle.is-top-left{top:-5px;left:-5px}.prompt-editor-resize-handle.is-top-left svg{transform:rotate(90deg)}.prompt-editor-resize-handle.is-bottom-right{bottom:-5px;right:-5px}.generator-panel.is-prompt-editor-modal .generator-tags{flex:0 0 30px;min-height:30px;padding-right:40px}.generator-panel-audio.is-prompt-editor-modal .generator-audio-tags{flex:0 0 24px;min-height:24px}.generator-panel.is-prompt-editor-modal .video-reference-strip{flex:0 0 58px}.generator-panel-image.is-prompt-editor-modal.has-upstream,.generator-panel-image.is-prompt-editor-modal.has-references,.generator-panel-image.is-prompt-editor-modal.has-upstream.has-references,.generator-panel-video.is-prompt-editor-modal.has-references{height:min(var(--prompt-editor-height,600px), 90dvh)}.generator-panel.is-prompt-editor-modal .generator-input,.generator-panel-image.is-prompt-editor-modal.has-upstream .generator-input{background:0 0;border-radius:12px;flex:auto;height:auto;min-height:0;margin:0;padding:8px;display:flex;overflow:hidden}.generator-panel.is-prompt-editor-modal .mention-prompt-editor-wrap{flex:auto;height:100%;min-height:0;display:flex}.generator-panel.is-prompt-editor-modal .generator-input textarea,.generator-panel.is-prompt-editor-modal .magic-prompt-editor{resize:none;flex:auto;height:100%;min-height:0;max-height:none;padding:0 6px 0 0}.generator-panel.is-prompt-editor-modal .generator-footer{scrollbar-width:none;flex:0 0 32px;min-height:32px;padding:0;overflow:auto hidden}.generator-panel.is-prompt-editor-modal .generator-footer::-webkit-scrollbar{display:none}.generator-input textarea::placeholder{color:#737373}.generator-footer{align-items:center;gap:4px;height:42px;padding:5px 2px 0;display:flex}.model-button,.settings-button,.icon-button,.submit-generation{color:#d8d8d8;cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;gap:6px;height:32px;display:inline-flex}.model-button,.settings-button{padding:0 9px}.generator-panel-image .generator-footer,.generator-panel-image .model-button,.generator-panel-image .settings-button{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;font-size:13px;font-weight:400;line-height:1}.generator-panel-image .model-button,.generator-panel-image .settings-button{border-radius:7px;gap:6px;padding:0 9px}.workflow-node-audio .generator-footer,.workflow-node-audio .model-button,.workflow-node-audio .settings-button{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;font-size:13px;font-weight:400;line-height:1.55}.workflow-node-audio .model-button,.workflow-node-audio .settings-button{border-radius:8px;gap:4px;padding:4px 8px}.generator-panel-image .model-button>svg:first-child{flex:0 0 14px;width:14px;height:14px}.generator-panel-image .model-button>svg:last-child,.generator-panel-image .settings-button>svg:last-child{flex:0 0 13px;width:13px;height:13px}.image-settings-control,.video-mode-control,.video-settings-control,.audio-settings-control{flex:none;position:relative}.settings-button{white-space:nowrap}.settings-button.is-open{color:#f2f2f2;background:#ffffff1a}.settings-ratio-icon{opacity:.9;border:1px solid;border-radius:2px;flex:none;width:17px;height:10px}.settings-chevron{flex:none;transition:transform .14s}.settings-button.is-open .settings-chevron{transform:rotate(180deg)}.image-settings-popover,.video-settings-popover,.audio-settings-popover{width:344px;left:var(--settings-popover-offset-x,0px);z-index:90;color:#d8d8d8;background:#252525;border:1px solid #3f3f3f;border-radius:14px;padding:12px;animation:.14s ease-out image-settings-enter;position:absolute;top:calc(100% + 7px);box-shadow:0 16px 38px #00000075}.image-settings-popover.is-top,.video-settings-popover.is-top,.audio-settings-popover.is-top{top:auto;bottom:calc(100% + 7px)}.video-mode-button{justify-content:flex-start;width:112px}.video-mode-button>span{text-overflow:ellipsis;text-align:left;flex:1;min-width:0;overflow:hidden}.video-mode-popover{width:162px;left:var(--settings-popover-offset-x,0px);z-index:92;color:#d8d8d8;background:#292929;border:1px solid #414141;border-radius:12px;padding:8px;animation:.14s ease-out image-settings-enter;position:absolute;top:calc(100% + 7px);box-shadow:0 16px 38px #0000007a}.video-mode-popover.is-top{top:auto;bottom:calc(100% + 7px)}.video-mode-title{color:#858585;align-items:center;height:32px;padding:0 8px;font-size:13px;display:flex}.video-mode-popover>button{color:#e2e2e2;width:100%;height:36px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:0 9px;font-size:13px;transition:color .1s,background .1s;display:flex}.video-mode-popover>button:hover:not(:disabled),.video-mode-popover>button.is-selected{color:#fff;background:#515151}.video-mode-popover>button:disabled{color:#696969;cursor:default}.video-mode-popover>button svg{flex:none}@keyframes image-settings-enter{0%{opacity:0;translate:0 -4px}to{opacity:1;translate:0}}.image-settings-section+.image-settings-section{margin-top:10px}.image-settings-label{color:#a3a3a3;margin:0 0 7px;font-size:13px;line-height:1;display:block}.image-settings-grid{gap:8px;display:grid}.image-settings-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.image-settings-grid button{color:#969696;min-width:0;height:32px;font:inherit;cursor:pointer;background:#282828;border:1px solid #4b4b4b;border-radius:8px;padding:0 8px;font-size:13px;transition:color .12s,border-color .12s,background .12s,transform .12s}.image-settings-grid button:hover{color:#dedede;background:#303030;border-color:#717171}.image-settings-grid button:active{transform:translateY(1px)}.image-settings-grid button.is-selected{color:#f4f4f4;background:#444;border-color:#eee}.image-ratio-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.image-ratio-grid button{flex-direction:column;justify-content:center;align-items:center;gap:7px;height:64px;padding:5px 2px;line-height:1;display:flex}.ratio-option-glyph{opacity:.9;border:1px solid;border-radius:2px;flex:none;display:block}.image-ratio-grid button>span:last-child{font-size:12px}.video-ratio-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.video-ratio-grid button{flex-direction:column;justify-content:center;align-items:center;gap:7px;height:64px;padding:5px 2px;line-height:1;display:flex}.video-ratio-grid button>span:last-child{font-size:12px}.video-resolution-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.video-toggle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.video-duration-control{grid-template-columns:minmax(0,1fr) 48px 12px;align-items:center;gap:8px;display:grid}.video-duration-control input[type=range]{appearance:none;cursor:pointer;background:0 0;width:100%;height:16px;margin:0}.video-duration-control input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right, #278ee8 0, #278ee8 var(--range-progress), #4b4b4b var(--range-progress), #4b4b4b 100%);border-radius:999px;height:4px}.video-duration-control input[type=range]::-webkit-slider-thumb{appearance:none;background:#f3f3f3;border:0;border-radius:50%;width:11px;height:11px;margin-top:-3.5px;box-shadow:0 0 0 2px #ffffff14}.video-duration-control output{color:#f0f0f0;background:#353535;border-radius:6px;place-items:center;height:24px;font-size:13px;display:grid}.video-duration-control>span{color:#969696;font-size:12px}.video-settings-popover.is-flu-video-model{color:#f2f2f2;background:#262626;border-color:#3d3d3d;border-radius:12px;width:344px;padding:12px;box-shadow:0 14px 34px #00000080,0 2px 7px #00000047}.video-settings-popover.is-flu-video-model .video-settings-section{margin-top:8px}.video-settings-popover.is-flu-video-model>.video-settings-section:first-child{margin-top:0}.video-settings-label{color:#a6a6a6;align-items:center;gap:6px;margin:0;font-size:13px;font-weight:400;line-height:20px;display:inline-flex}.video-settings-popover.is-flu-video-model .video-settings-label{color:#a7a7a7;margin-bottom:5px;font-size:13px;font-weight:400;line-height:20px;display:flex}.video-settings-popover.is-flu-video-model .video-settings-label svg{color:#929292;stroke-width:1.8px}.video-settings-popover.is-flu-video-model .video-duration-control{grid-template-columns:minmax(0,1fr) 48px 10px;gap:7px;margin-top:1px}.video-settings-popover.is-flu-video-model .video-duration-control output{color:#f2f2f2;font-variant-numeric:tabular-nums;background:#343434;place-items:center;height:24px;font-size:13px;font-weight:400}.video-settings-popover.is-flu-video-model .video-duration-control>span{color:#8e8e8e;font-size:12px}.video-settings-popover.is-flu-video-model.is-happy-horse .video-duration-control input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right, #2196e8 0, #2196e8 var(--range-progress), #5b5b5b var(--range-progress), #5b5b5b 100%);height:4px}.video-settings-popover.is-flu-video-model.is-kling-video .video-duration-control input[type=range]::-webkit-slider-runnable-track{background:#ededed;height:4px}.video-settings-popover.is-flu-video-model .video-duration-control input[type=range]::-webkit-slider-thumb{width:10px;height:10px;box-shadow:none;background:#fff;margin-top:-3px}.video-settings-popover.is-flu-video-model .video-ratio-grid{gap:8px;margin-top:8px}.video-settings-popover.is-flu-video-model .video-ratio-grid.is-3{grid-template-columns:repeat(3,minmax(0,1fr))}.video-settings-popover.is-flu-video-model .video-ratio-grid.is-5{grid-template-columns:repeat(5,minmax(0,1fr))}.video-settings-popover.is-flu-video-model .video-ratio-grid button{color:#929292;background:0 0;border-color:#4a4a4a;border-radius:8px;gap:7px;height:64px}.video-settings-popover.is-flu-video-model .video-ratio-grid button.is-selected{color:#fff;box-shadow:none;background:#414141;border-color:#f0f0f0}.video-settings-popover.is-flu-video-model .video-ratio-grid .ratio-option-glyph{transform:none}.video-settings-popover.is-flu-video-model .video-ratio-grid button>span:last-child{font-size:12px;font-weight:400}.video-settings-popover.is-flu-video-model .video-audio-options,.video-settings-popover.is-flu-video-model .video-quality-grid,.video-settings-popover.is-flu-video-model .video-resolution-grid{gap:8px;display:grid}.video-settings-popover.is-flu-video-model .video-audio-options,.video-settings-popover.is-flu-video-model .video-resolution-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.video-settings-popover.is-flu-video-model .video-quality-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.video-settings-popover.is-flu-video-model .video-audio-options button,.video-settings-popover.is-flu-video-model .video-quality-grid button,.video-settings-popover.is-flu-video-model .video-resolution-grid button,.video-settings-popover.is-flu-video-model .video-count-fixed{color:#9a9a9a;min-width:0;height:33px;font:inherit;cursor:pointer;background:0 0;border:1px solid #4a4a4a;border-radius:8px;place-items:center;padding:0 8px;font-size:13px;font-weight:400;line-height:1;display:grid}.video-settings-popover.is-flu-video-model .video-audio-options button:hover,.video-settings-popover.is-flu-video-model .video-quality-grid button:hover,.video-settings-popover.is-flu-video-model .video-resolution-grid button:hover{color:#dedede;background:#ffffff09;border-color:#727272}.video-settings-popover.is-flu-video-model :is(.video-audio-options,.video-quality-grid,.video-resolution-grid) button.is-selected,.video-settings-popover.is-flu-video-model .video-count-fixed{color:#fff;box-shadow:none;background:#414141;border-color:#eee}.video-audio-section{min-height:28px;padding:0 4px}.video-audio-switch{cursor:pointer;background:#444;border:0;border-radius:999px;flex:none;width:34px;height:20px;padding:0;transition:background .12s;position:relative}.video-audio-switch>span{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .14s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #0000006b}.video-audio-switch.is-on{background:#7657ff}.video-audio-switch.is-on>span{transform:translate(14px)}.video-audio-switch:disabled{opacity:1;cursor:default}.audio-settings-popover{width:372px}.audio-format-grid,.audio-sample-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.audio-speaker-input{color:#ececec;width:100%;height:36px;font:inherit;background:#202020;border:1px solid #4b4b4b;border-radius:8px;outline:0;padding:0 10px;font-size:12px;transition:border-color .12s,box-shadow .12s}.audio-speaker-input::placeholder{color:#737373}.audio-speaker-input:focus{border-color:#737d85;box-shadow:0 0 0 2px #62aee91f}.audio-parameter-list{flex-direction:column;gap:9px;display:flex}.audio-parameter-row{color:#a6a6a6;grid-template-columns:34px minmax(0,1fr) 42px;align-items:center;gap:9px;min-width:0;font-size:12px;display:grid}.audio-parameter-row input[type=range]{appearance:none;cursor:pointer;background:0 0;width:100%;height:18px;margin:0}.audio-parameter-row input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right, #278ee8 0, #278ee8 var(--range-progress), #4b4b4b var(--range-progress), #4b4b4b 100%);border-radius:999px;height:4px}.audio-parameter-row input[type=range]::-webkit-slider-thumb{appearance:none;background:#f3f3f3;border:0;border-radius:50%;width:12px;height:12px;margin-top:-4px;box-shadow:0 0 0 2px #ffffff14}.audio-parameter-row output{color:#f0f0f0;font-variant-numeric:tabular-nums;background:#353535;border-radius:6px;place-items:center;height:26px;font-size:12px;display:grid}.video-reference-strip{scrollbar-width:thin;align-items:center;gap:8px;min-height:58px;padding:0 5px 8px;display:flex;overflow-x:auto}.generator-panel-video .video-reference-strip,.generator-panel-image .video-reference-strip{flex:0 0 58px;min-height:58px;margin-top:0}.video-reference-thumb{background:#171717;border:1px solid #555;border-radius:9px;flex:none;width:48px;height:48px;margin:0;position:relative;overflow:visible}.video-reference-thumb img{object-fit:cover;pointer-events:none;border-radius:8px;width:100%;height:100%;display:block}.video-reference-thumb span{color:#f4f4f4;background:#151515;border:1px solid #6a6a6a;border-radius:50%;place-items:center;width:17px;height:17px;font-size:10px;line-height:1;display:grid;position:absolute;top:-4px;left:-4px;box-shadow:0 2px 5px #00000073}.video-reference-thumb span.is-frame-label{border-radius:5px;width:auto;min-width:31px;padding:0 5px;font-size:9px;top:-1px;left:-1px}.video-reference-remove{z-index:2;color:#d8d8d8;cursor:pointer;opacity:0;pointer-events:none;background:#202020;border:1px solid #616161;border-radius:50%;place-items:center;width:19px;height:19px;padding:0;transition:opacity .1s,color .1s,background .1s,transform .12s;display:grid;position:absolute;top:-6px;right:-6px;transform:scale(.78);box-shadow:0 2px 7px #0000008c}.video-reference-thumb:hover .video-reference-remove,.video-reference-thumb:focus-within .video-reference-remove{opacity:1;pointer-events:auto;transform:scale(1)}.video-reference-remove:hover,.video-reference-remove:focus-visible{color:#fff;background:#373737;outline:0}.video-reference-remove:active{transform:scale(.92)}.model-button{min-width:0;max-width:210px;position:relative}.generator-panel-video .model-button{flex:0 2 auto;width:auto;min-width:88px;max-width:240px;padding-inline:8px}.generator-panel-video .generator-footer,.generator-panel-video .model-button,.generator-panel-video .settings-button{font-size:13px;font-weight:400;line-height:1}.generator-panel-video .generator-footer{flex:0 0 32px;height:32px;padding:0}.generator-panel-video .model-button,.generator-panel-video .settings-button{font-family:inherit}.generator-panel-video .model-button-selected{flex:auto;max-width:none}.generator-panel-video .video-settings-control .settings-button{max-width:190px;padding-inline:7px}.generator-panel-video .video-settings-control .settings-button>span:not(.settings-ratio-icon){text-overflow:ellipsis;min-width:0;overflow:hidden}.model-button-selected{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;max-width:166px;overflow:hidden}.model-button select{width:100%;height:100%;color:inherit;font:inherit;opacity:0;cursor:pointer;background:0 0;border:0;outline:0;padding:0;position:absolute;inset:0}.model-button select:disabled{cursor:default}.model-button option,.agent-model-select option{color:#eee;background:#242424}.model-button:hover,.model-button:focus-within,.settings-button:hover,.icon-button:hover{background:#ffffff14}.icon-button{width:32px;padding:0}.icon-button:disabled{cursor:default}.generator-translate.is-loading{color:#8c8c8c;opacity:.7;pointer-events:none}.generator-optimize{position:relative}.generator-optimize.is-loading{color:#8c8c8c;opacity:.7;pointer-events:none}.generator-optimize-icon{width:18px;height:18px;display:block;position:relative}.generator-optimize-icon>svg:first-child{position:absolute;bottom:0;left:0}.generator-optimize-sparkle{color:#f1f1f1;filter:drop-shadow(0 0 2px #202020);position:absolute;top:-1px;right:-1px}.generator-optimize-dot{background:#5d8df7;border-radius:50%;width:8px;height:8px;position:absolute;top:3px;right:3px;box-shadow:0 0 0 2px #202020}.generator-spacer{flex:1}.credit-cost{color:var(--muted);align-items:center;gap:3px;font-size:12px;display:flex}.submit-generation{color:#141414;background:#fff;width:32px}.submit-generation.is-running{color:#2b2b2b;background:#aaa}.submit-generation:disabled{opacity:.38;cursor:default}.generator-progress{background:#343434;border-radius:1px;height:2px;overflow:hidden}.generator-progress span{background:#fff;height:100%;transition:width .14s linear;display:block}.mark-mode-toolbar{z-index:180;color:#fff;background:#2677f5;border:1px solid #ffffff24;border-radius:14px;align-items:center;gap:10px;min-height:56px;padding:8px 10px 8px 12px;display:flex;position:absolute;top:80px;left:50%;transform:translate(-50%);box-shadow:0 12px 32px #00000057,inset 0 1px #ffffff26}.mark-mode-toolbar-icon{background:#ffffff29;border-radius:9px;flex:none;place-items:center;width:34px;height:34px;display:grid}.mark-mode-toolbar-copy{flex-direction:column;gap:1px;min-width:126px;display:flex}.mark-mode-toolbar-copy strong,.mark-mode-toolbar-copy>span{letter-spacing:0;line-height:1.2}.mark-mode-toolbar-copy strong{font-size:13px;font-weight:700}.mark-mode-toolbar-copy>span{color:#ffffffe0;font-size:11px}.mark-mode-toolbar>button{color:#fff;height:34px;font:inherit;cursor:pointer;background:#ffffff24;border:0;border-radius:8px;justify-content:center;align-items:center;padding:0 13px;font-size:12px;display:inline-flex}.mark-mode-toolbar>button:hover{background:#ffffff38}.mark-mode-toolbar>.mark-mode-toolbar-exit{background:0 0;width:34px;padding:0}.generator-error{color:#f08f8f;text-overflow:ellipsis;white-space:nowrap;margin:2px 4px 0;font-size:11px;line-height:1.45;overflow:hidden}.prompt-optimization-backdrop{color:#e8e8e8;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:2000;background:#00000094;place-items:center;padding:16px;animation:.14s ease-out prompt-optimization-backdrop-enter;display:grid;position:fixed;inset:0}.prompt-optimization-dialog{background:#252525;border:1px solid #3b3b3b;border-radius:12px;flex-direction:column;width:640px;max-width:calc(100vw - 32px);height:400px;max-height:calc(100vh - 32px);animation:.16s cubic-bezier(.22,1,.36,1) prompt-optimization-dialog-enter;display:flex;overflow:hidden;box-shadow:0 24px 70px #00000085}.prompt-optimization-header{border-bottom:1px solid #363636;flex:0 0 56px;justify-content:space-between;align-items:center;height:56px;padding:0 16px 0 20px;display:flex}.prompt-optimization-header h2{color:#f2f2f2;letter-spacing:0;margin:0;font-size:16px;font-weight:600}.prompt-optimization-header-actions{align-items:center;gap:4px;display:flex}.prompt-optimization-header-actions button{color:#a9a9a9;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;width:32px;height:32px;padding:0;display:grid}.prompt-optimization-header-actions button:hover{color:#f4f4f4;background:#ffffff14}.prompt-optimization-content{color:#d9d9d9;letter-spacing:0;overflow-wrap:anywhere;white-space:pre-wrap;scrollbar-color:#555 transparent;scrollbar-width:thin;flex:1;min-height:0;padding:18px 20px;font-family:Microsoft YaHei UI,Microsoft YaHei,PingFang SC,Noto Sans SC,sans-serif;font-size:14px;font-weight:400;line-height:1.75;overflow:auto}.prompt-optimization-footer{border-top:1px solid #363636;flex:0 0 64px;justify-content:flex-end;align-items:center;gap:10px;min-height:64px;padding:12px 16px;display:flex}.prompt-optimization-footer>button{letter-spacing:0;cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:6px;height:36px;padding:0 15px;font-size:13px;font-weight:500;display:inline-flex}.prompt-optimization-footer>button:disabled{opacity:.52;cursor:default}.prompt-optimization-regenerate{color:#dedede;background:#303030;border:1px solid #484848;min-width:104px}.prompt-optimization-regenerate:not(:disabled):hover{background:#393939;border-color:#5a5a5a}.prompt-optimization-fill{color:#161616;background:#fff;border:1px solid #fff;min-width:126px}.prompt-optimization-fill:not(:disabled):hover{background:#e2e2e2;border-color:#e2e2e2}.prompt-optimization-error{min-width:0;margin:0 auto 0 0}@keyframes prompt-optimization-backdrop-enter{0%{opacity:0}}@keyframes prompt-optimization-dialog-enter{0%{opacity:0;transform:translateY(6px)scale(.985)}}@media (width<=700px){.prompt-optimization-backdrop{padding:12px}.prompt-optimization-dialog{width:100%;max-width:none;height:min(400px,100vh - 24px);max-height:none}.prompt-optimization-header{padding-left:16px}.prompt-optimization-content{padding:16px}.prompt-optimization-footer{gap:8px;padding:10px 12px}.prompt-optimization-footer>button{min-width:0;padding:0 12px}}.canvas-bottom-left{box-sizing:border-box;-webkit-backdrop-filter:blur(16px);z-index:25;background:#141414b3;border-radius:12px;align-items:center;gap:4px;width:auto;height:40px;padding:6px;display:flex;position:absolute;bottom:12px;left:16px}.asset-manager-button{color:#919191;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:8px;flex:0 0 94px;justify-content:center;align-items:center;gap:4px;width:94px;height:28px;margin:0;padding:0 12px;font-size:13px;font-weight:400;line-height:19.5px;display:flex}.asset-manager-button:hover{color:#f7f7f7;background:#ffffff1a}.canvas-bottom-left .ui-icon-button{color:#919191;background:0 0;border-radius:8px;flex-basis:28px;width:28px;height:28px}.canvas-tidy-control{flex:0 0 28px;width:28px;height:28px;position:relative}.canvas-tidy-confirm{box-sizing:border-box;color:#e7e7e7;transform-origin:bottom;background:#262626;border:.5px solid #3a3a3a;border-radius:10px;flex-direction:column;gap:12px;width:246px;padding:14px;animation:.13s ease-out zoom-menu-enter;display:flex;position:absolute;bottom:38px;left:50%;transform:translate(-50%);box-shadow:0 12px 32px #00000047}.canvas-tidy-confirm:after{content:"";background:#262626;border-bottom:.5px solid #3a3a3a;border-right:.5px solid #3a3a3a;width:8px;height:8px;position:absolute;bottom:-5px;left:50%;transform:translate(-50%)rotate(45deg)}.canvas-tidy-confirm>span{letter-spacing:0;font-size:13px;font-weight:500;line-height:20px}.canvas-tidy-confirm-actions{justify-content:flex-end;gap:8px;display:flex}.canvas-tidy-confirm-actions button{color:#d0d0d0;cursor:pointer;letter-spacing:0;background:#303030;border:.5px solid #484848;border-radius:7px;min-width:54px;height:28px;padding:0 12px;font-size:12px;line-height:1}.canvas-tidy-confirm-actions button:hover{color:#fff;background:#3a3a3a}.canvas-tidy-confirm-actions button.is-primary{color:#171717;background:#e8e8e8;border-color:#e8e8e8}.canvas-tidy-confirm-actions button.is-primary:hover{background:#fff}.zoom-control-wrap{flex:none;width:auto;height:28px;position:relative}.zoom-control{color:#fff;cursor:pointer;font-variant-numeric:tabular-nums;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;width:auto;height:28px;padding:0 4px;font-size:13px;font-weight:400;line-height:19.5px;transition:color .15s,background-color .15s;display:flex}.zoom-control:hover,.zoom-control[aria-expanded=true]{color:#fff;background:#ffffff1a}.zoom-menu{-webkit-backdrop-filter:blur(16px);transform-origin:bottom;background:#262626;border:.5px solid #363636;border-radius:12px;flex-direction:column;gap:0;width:216px;min-width:180px;padding:6px;animation:.13s ease-out zoom-menu-enter;display:flex;position:absolute;bottom:36px;left:50%;transform:translate(-50%);box-shadow:0 8px 32px #00000026,0 2px 8px #0000001a}.zoom-menu-input{color:#919191;background:#ffffff1a;border:.5px solid #0000;border-radius:8px;grid-template-columns:1fr auto;align-items:center;height:32px;margin-bottom:6px;padding:0 8px;display:grid}.zoom-menu-input:focus-within{border-color:#0690ae}.zoom-menu-input input{color:#f2f2f2;width:100%;min-width:0;font:inherit;font-variant-numeric:tabular-nums;background:0 0;border:0;outline:0;padding:0;font-size:13px;font-weight:400;line-height:19.5px}.zoom-menu-input span{font-size:12px;line-height:1}.zoom-menu button{color:#fff;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;height:36px;padding:0 10px;font-size:13px;font-weight:400;line-height:19.5px;display:grid}.zoom-menu button:hover,.zoom-menu button:focus-visible{color:#fff;background:#3c3c3c;outline:0}.zoom-menu kbd{color:#fff;opacity:.4;white-space:nowrap;font-variant-numeric:tabular-nums;background:0 0;border:0;align-items:center;gap:4px;font-family:inherit;font-size:12px;font-weight:400;line-height:18px;display:flex}.zoom-menu kbd span:last-child{text-align:center;width:10px;display:inline-block}.zoom-menu-divider{background:#363636;height:1px;margin:4px}@keyframes zoom-menu-enter{0%{opacity:0;transform:translate(-50%)translateY(4px)scale(.98)}to{opacity:1;transform:translate(-50%)translateY(0)scale(1)}}.canvas-toolbar{border:1px solid var(--border);height:50px;box-shadow:none;z-index:30;background:#262626;border-radius:12px;align-items:center;gap:8px;padding:8px;display:flex;position:absolute;bottom:12px;left:50%;transform:translate(-50%)}.canvas-toolbar>button,.tool-mode-control>button{color:#ffffffd9;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;place-items:center;width:32px;height:32px;padding:0;transition:color .15s,background-color .15s;display:flex}.canvas-toolbar>button:hover,.tool-mode-control>button:hover{color:#fff;background:#ffffff1a}.canvas-toolbar>button.is-active,.tool-mode-control>button.is-active{color:#fff;background:#ffffff26}.canvas-toolbar>.canvas-primary-tool,.canvas-toolbar>.canvas-primary-tool:hover,.canvas-toolbar>.canvas-primary-tool.is-active{color:#141414;background:#f7f7f7}.tool-mode-control{flex:0 0 32px;width:32px;height:32px;position:relative}@keyframes tool-mode-popover-in{0%{opacity:0;transform:scale(.2,.55)}to{opacity:1;transform:scale(1)}}.tool-mode-popover{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transform-origin:16px 100%;z-index:300;background:#262626fa;border:1px solid #363636;border-radius:12px;flex-direction:column;gap:4px;width:168px;padding:4px;animation:.14s cubic-bezier(.2,.8,.2,1) tool-mode-popover-in;display:flex;position:absolute;bottom:calc(100% + 17px);left:0;box-shadow:0 4px 10px #00000040,0 2px 4px #0000004d}.tool-mode-popover button{color:#fff;cursor:pointer;text-align:left;white-space:nowrap;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;width:100%;height:36px;padding:8px 12px;font-size:13px;line-height:20px;transition:background-color .15s;display:flex}.tool-mode-popover button:hover{background:#ffffff1a}.tool-mode-popover button.is-selected{background:#ffffff26}.tool-mode-popover button>svg{color:#ffffffd9;flex:none}.tool-mode-popover button>span:not(.tool-mode-shortcut){flex:1;min-width:0}.tool-mode-shortcut{opacity:.4;padding-left:16px}.toolbar-divider{background:var(--border);width:1px;height:20px}.surface-panel{border:1px solid var(--border);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:80;background:#1c1c1cfa}.add-node-popover{border-radius:10px;width:224px;padding:10px;position:absolute;bottom:78px;left:50%;transform:translate(-165px)}.add-node-popover.is-contextual{transform-origin:0 0;max-height:calc(100vh - 20px);animation:.12s ease-out node-picker-in;overflow-y:auto}@keyframes node-picker-in{0%{opacity:0;transform:translateY(-4px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.add-node-popover h3{color:#9b9b9b;margin:2px 6px 7px;font-size:12px;font-weight:500}.node-template-list{flex-direction:column;margin-bottom:9px;display:flex}.node-template-list button,.resource-action{cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:9px;width:100%;height:36px;padding:0 8px;display:flex}.node-template-list button:hover,.resource-action:hover{background:#ffffff14}.node-template-list button>span{color:#bdbdbd;background:#303030;border-radius:5px;place-items:center;width:24px;height:24px;display:grid}.node-template-list strong,.resource-action{font-size:13px;font-weight:500}.node-template-list em{color:#b7b7b7;text-transform:uppercase;margin-left:auto;font-size:9px;font-style:normal}.script-template-wrap{position:relative}.script-template-wrap>button>svg{color:#858585;margin-left:auto}.script-template-menu{width:198px;box-shadow:var(--shadow);background:#202020;border:1px solid #3a3a3a;border-radius:8px;padding:6px;position:absolute;bottom:0;left:calc(100% + 8px)}.script-template-menu button{height:40px}.asset-panel{z-index:38;color:#f2f2f2;background:#171717fb;border-color:#343434;border-radius:8px;flex-direction:column;width:304px;height:auto;min-height:0;animation:.15s cubic-bezier(.22,1,.36,1) asset-panel-in;display:flex;position:absolute;top:72px;bottom:76px;left:12px;overflow:hidden;box-shadow:0 18px 50px #00000061,0 2px 8px #00000052}@keyframes asset-panel-in{0%{opacity:0;transform:translateY(6px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.asset-panel{animation:none}.asset-list-preview img,.asset-list-preview video,.asset-list-add{transition:none}}.toolbox-panel{z-index:40;color:#f7f7f7;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);transform-origin:50% 100%;background:#262626;border:1px solid #363636;border-radius:12px;flex-direction:column;width:480px;height:460px;animation:.14s cubic-bezier(.22,1,.36,1) toolbox-panel-in;display:flex;position:fixed;overflow:hidden;box-shadow:0 4px 10px #00000040,0 2px 4px #0000004d}@keyframes toolbox-panel-in{0%{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}.toolbox-panel-header{justify-content:space-between;align-items:flex-start;height:52px;min-height:52px;padding:12px 16px 0;display:flex;position:relative}.toolbox-tabs{align-items:center;gap:8px;min-width:0;display:flex}.toolbox-tab-wrap{align-items:center;gap:4px;min-width:0;display:flex}.toolbox-tabs button,.toolbox-close-button{color:inherit;cursor:pointer;background:0 0;border:0}.toolbox-tabs [role=tab]{color:#f7f7f78c;white-space:nowrap;border-radius:6px;min-width:0;height:28px;padding:0 8px;font-size:14px;font-weight:500;line-height:28px;transition:color .15s,background-color .15s}.toolbox-tab-wrap:first-child [role=tab]{padding-left:0}.toolbox-tabs [role=tab]:hover,.toolbox-tabs [role=tab].is-active{color:#f7f7f7}.toolbox-tabs [role=tab]:hover{background:#ffffff0f}.toolbox-help-button{opacity:.5;border-radius:50%;place-items:center;width:16px;height:16px;padding:0;font-size:10px;font-weight:600;line-height:1;transition:opacity .15s;display:grid;border:1px solid!important}.toolbox-help-button:hover,.toolbox-help-button[aria-expanded=true]{opacity:.8}.toolbox-close-button{opacity:.5;border-radius:6px;flex:0 0 24px;place-items:center;width:24px;height:24px;padding:0;transition:opacity .15s,background-color .15s;display:grid}.toolbox-close-button:hover{opacity:1;background:#ffffff14}.toolbox-help-popover{z-index:2;color:#f7f7f7c7;background:#202020;border:1px solid #424242;border-radius:8px;width:min(300px,100% - 32px);padding:10px 12px;font-size:12px;line-height:1.6;position:absolute;top:44px;left:16px;box-shadow:0 8px 24px #00000052}.toolbox-divider{background:#363636;flex:0 0 1px;width:100%;height:1px}.toolbox-template-scroll{scrollbar-color:#ffffff47 transparent;scrollbar-width:thin;flex:auto;min-height:0;padding:16px 26px 16px 16px;overflow:hidden auto}.toolbox-template-scroll::-webkit-scrollbar{width:6px}.toolbox-template-scroll::-webkit-scrollbar-track{background:0 0}.toolbox-template-scroll::-webkit-scrollbar-thumb{background:#ffffff47;border-radius:3px}.toolbox-template-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px;display:grid}.toolbox-template-card{cursor:grab;content-visibility:auto;contain-intrinsic-size:auto 220px;flex-direction:column;gap:4px;min-width:0;height:220px;display:flex}.toolbox-template-card:active{cursor:grabbing}.toolbox-template-preview{aspect-ratio:1;background:#1d1d1d;border-radius:8px;width:100%;position:relative;overflow:hidden}.toolbox-template-preview img{object-fit:cover;width:100%;height:100%;transition:transform .2s;display:block}.toolbox-template-card:hover .toolbox-template-preview img{transform:scale(1.05)}.toolbox-template-overlay{opacity:0;background:#000000a6;border-radius:8px;justify-content:center;align-items:center;transition:opacity .15s;display:flex;position:absolute;inset:0}.toolbox-template-card:hover .toolbox-template-overlay,.toolbox-template-card:focus-within .toolbox-template-overlay{opacity:1}.toolbox-template-overlay button{color:#fff;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);cursor:pointer;background:#ffffff26;border:0;border-radius:8px;justify-content:center;align-items:center;height:24px;padding:0 12px;font-size:13px;font-weight:500;transition:background-color .15s;display:flex;box-shadow:0 1px 3px #0003}.toolbox-template-overlay button:hover{background:#ffffff40}.toolbox-template-card p{color:#ffffffb3;-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;min-height:32px;margin:0;padding:0 4px;font-size:12px;font-weight:400;line-height:16px;display:-webkit-box;overflow:hidden}.panel-header{border-bottom:1px solid var(--border);align-items:center;height:50px;padding:0 10px 0 14px;display:flex}.panel-header h2{margin:0;font-size:14px;font-weight:600}.panel-header-spacer{flex:1}.asset-panel-header{border-bottom:1px solid #303030;flex:0 0 48px;align-items:center;gap:8px;height:48px;padding:0 8px 0 10px;display:flex}.asset-panel-view-tabs{flex:1;align-items:center;gap:4px;min-width:0;display:flex}.asset-panel-view-tabs button{color:#929292;cursor:pointer;background:0 0;border:0;border-radius:6px;height:30px;padding:0 10px;font-size:13px;font-weight:500;transition:color .14s,background-color .14s}.asset-panel-view-tabs button:hover{color:#d9d9d9;background:#ffffff0e}.asset-panel-view-tabs button.is-active{color:#fff;background:#303030}.asset-panel-manage,.asset-panel-tool-button,.asset-panel-search button,.asset-list-add,.asset-panel-pagination button{cursor:pointer;background:0 0;border:0;place-items:center;padding:0;transition:color .14s,border-color .14s,background-color .14s,opacity .14s;display:grid}.asset-panel-manage{color:#9c9c9c;border-radius:6px;flex:0 0 30px;width:30px;height:30px}.asset-panel-manage:hover{color:#f0f0f0;background:#2d2d2d}.asset-panel-media-tabs{background:#202020;border:1px solid #373737;border-radius:7px;flex:0 0 50px;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;height:50px;margin:10px 8px 0;padding:3px;display:grid}.asset-panel-media-tabs button{color:#8f8f8f;cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;gap:5px;min-width:0;height:32px;padding:0 6px;font-size:11px;transition:color .14s,background-color .14s;display:flex}.asset-panel-media-tabs button:hover{color:#d7d7d7}.asset-panel-media-tabs button.is-active{color:#fff;background:#353535;box-shadow:0 1px 2px #00000047}.asset-panel-media-tabs em{color:#747474;text-overflow:ellipsis;min-width:16px;font-size:9px;font-style:normal;overflow:hidden}.asset-panel-media-tabs button.is-active em{color:#bcbcbc}.asset-panel-tools{flex:0 0 48px;align-items:center;gap:5px;height:48px;padding:7px 8px;display:flex}.asset-panel-tools.is-canvas-view{flex-basis:46px;height:46px;padding-top:5px}.canvas-node-list-toolbar{border-bottom:1px solid #303030;flex:0 0 44px;align-items:center;gap:10px;height:44px;padding:0 9px 0 12px;display:flex}.canvas-node-list-toolbar>strong{color:#e5e5e5;flex:1;min-width:0;font-size:12px;font-weight:500}.canvas-node-kind-filter{color:#8d8d8d;background:#222;border:1px solid #373737;border-radius:6px;flex:0 0 92px;align-items:center;width:92px;height:28px;display:flex;position:relative}.canvas-node-kind-filter select{appearance:none;color:#c9c9c9;cursor:pointer;background:0 0;border:0;outline:0;width:100%;height:100%;padding:0 26px 0 9px;font-size:11px}.canvas-node-kind-filter svg{pointer-events:none;position:absolute;right:8px}.canvas-node-list{scrollbar-color:#454545 transparent;scrollbar-width:thin;flex:auto;min-height:0;padding:2px 7px 8px;overflow:hidden auto}.canvas-node-list::-webkit-scrollbar{width:5px}.canvas-node-list::-webkit-scrollbar-thumb{background:#454545;border-radius:3px}.canvas-node-list-item{color:#d8d8d8;cursor:default;text-align:left;background:0 0;border:1px solid #0000;border-radius:5px;align-items:center;gap:4px;width:100%;height:44px;padding:0 7px;transition:color .14s,border-color .14s,background-color .14s;display:flex}.canvas-node-list-locate{min-width:0;height:100%;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:9px;padding:0;display:flex}.canvas-node-list-locate.is-editing{cursor:default}.canvas-node-list-item+.canvas-node-list-item{margin-top:1px}.canvas-node-list-item:hover,.canvas-node-list-item:focus-visible{color:#fff;background:#242424;border-color:#353535}.canvas-node-list-item.is-selected{background:#29302e;border-color:#48524f}.canvas-node-list-icon{color:#aaa;background:#2d2d2d;border-radius:5px;flex:0 0 28px;place-items:center;width:28px;height:28px;display:grid}.canvas-node-list-item.is-selected .canvas-node-list-icon{color:#d7fff1;background:#3b4945}.canvas-node-list-copy{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.canvas-node-list-copy strong,.canvas-node-list-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.canvas-node-list-copy strong{font-size:11px;font-weight:500;line-height:15px}.canvas-node-list-copy input{border:1px solid var(--brand-accent-strong);color:#f3f6f5;background:#181b1a;border-radius:4px;outline:0;width:100%;height:24px;padding:0 6px;font-size:11px}.canvas-node-list-rename{color:#8a8f8d;cursor:pointer;opacity:0;background:0 0;border:0;border-radius:4px;flex:0 0 24px;place-items:center;width:24px;height:24px;padding:0;transition:color .14s,background-color .14s,opacity .14s;display:grid}.canvas-node-list-item:hover .canvas-node-list-rename,.canvas-node-list-item.is-selected .canvas-node-list-rename,.canvas-node-list-rename:focus-visible{opacity:1}.canvas-node-list-rename:hover{color:#eff7f4;background:#383d3b}.canvas-node-list-copy small{color:#777;font-size:9px;line-height:12px}.canvas-node-list-status{background:#515151;border-radius:50%;flex:0 0 6px;width:6px;height:6px}.canvas-node-list-item.is-selected .canvas-node-list-status{background:var(--brand-accent)}.canvas-node-list-item.is-running .canvas-node-list-status{background:#d8ad5d;animation:1.3s ease-in-out infinite node-status-pulse}.canvas-node-list-item.has-error .canvas-node-list-status{background:#e06b6b}@keyframes node-status-pulse{50%{opacity:.38}}.asset-panel-search{color:#777;background:#222;border:1px solid #353535;border-radius:7px;flex:1;align-items:center;gap:7px;min-width:0;height:34px;padding:0 7px 0 9px;transition:border-color .14s,background-color .14s;display:flex}.asset-panel-search:focus-within{background:#252525;border-color:#505050}.asset-panel-search input{color:#e4e4e4;background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:11px}.asset-panel-search input::placeholder{color:#727272}.asset-panel-search button{color:#777;border-radius:4px;flex:0 0 20px;width:20px;height:20px}.asset-panel-search button:hover{color:#ddd;background:#323232}.asset-panel-tool-button{color:#8f8f8f;background:#222;border:1px solid #353535;border-radius:7px;flex:0 0 32px;width:32px;height:32px}.asset-panel-tool-button:hover{color:#e8e8e8;background:#2b2b2b;border-color:#4b4b4b}.asset-panel-breadcrumb{color:#757575;flex:0 0 34px;align-items:center;gap:5px;height:34px;padding:0 11px;font-size:10px;display:flex}.asset-panel-breadcrumb strong{color:#d7d7d7;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11px;font-weight:500;overflow:hidden}.asset-panel-breadcrumb em{color:#8b8b8b;text-align:center;background:#242424;border-radius:4px;min-width:20px;margin-left:auto;padding:1px 5px;font-size:9px;font-style:normal;line-height:16px}.asset-list{scrollbar-color:#454545 transparent;scrollbar-width:thin;flex:auto;min-height:0;padding:2px 7px 8px;overflow:hidden auto}.asset-list::-webkit-scrollbar{width:5px}.asset-list::-webkit-scrollbar-thumb{background:#454545;border-radius:3px}.asset-list-item{cursor:grab;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;width:100%;height:62px;transition:border-color .14s,background-color .14s;display:flex;position:relative}.asset-list-item+.asset-list-item{margin-top:2px}.asset-list-item:hover,.asset-list-item:focus-within{background:#232323;border-color:#353535}.asset-list-item:active{cursor:grabbing}.asset-list-main{min-width:0;height:100%;color:inherit;cursor:default;text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:10px;padding:6px 38px 6px 6px;display:flex}.asset-list-preview{color:#aaa;background:#1d1d1d;border:1px solid #383838;border-radius:6px;flex:0 0 48px;place-items:center;width:48px;height:48px;display:grid;position:relative;overflow:hidden}.asset-list-preview img,.asset-list-preview video{object-fit:cover;width:100%;height:100%;transition:transform .18s;display:block}.asset-list-item:hover .asset-list-preview img,.asset-list-item:hover .asset-list-preview video{transform:scale(1.045)}.asset-list-preview.is-audio{color:#b5c7c1;background:linear-gradient(135deg,#67e6bb14,#0000 68%),#1f2221}.video-asset-thumbnail-empty{color:#777;place-items:center;width:100%;height:100%;display:grid}.asset-list-type-icon{color:#fff;background:#000000a8;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:18px;height:18px;display:grid;position:absolute;bottom:4px;right:4px}.asset-list-copy{flex-direction:column;flex:1;justify-content:center;gap:4px;min-width:0;display:flex}.asset-list-copy strong,.asset-list-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.asset-list-copy strong{color:#ededed;font-size:12px;font-weight:500;line-height:17px}.asset-list-copy small{color:#797979;font-size:10px;line-height:14px}.asset-list-add{color:#9f9f9f;opacity:0;background:#303030;border-radius:6px;width:26px;height:26px;position:absolute;top:50%;right:8px;transform:translateY(-50%)scale(.94)}.asset-list-item:hover .asset-list-add,.asset-list-item:focus-within .asset-list-add{opacity:1;transform:translateY(-50%)scale(1)}.asset-list-add:hover{color:#101312;background:var(--brand-accent)}.asset-list-empty{color:#666;text-align:center;align-content:center;place-items:center;gap:7px;min-height:190px;padding:20px;display:grid}.asset-list-empty strong{color:#a8a8a8;margin-top:2px;font-size:12px;font-weight:500}.asset-list-empty span{color:#656565;font-size:10px}.asset-panel-footer{color:#777;border-top:1px solid #303030;flex:0 0 44px;grid-template-columns:1fr auto;align-items:center;gap:8px;height:44px;padding:0 8px 0 12px;font-size:11px;display:grid}.asset-panel-footer.is-canvas-view{display:flex}.asset-panel-pagination{align-items:center;gap:4px;display:flex}.asset-panel-pagination button{color:#929292;border-radius:6px;width:26px;height:26px}.asset-panel-pagination button:hover:not(:disabled){color:#eee;background:#2e2e2e}.asset-panel-pagination button:disabled{color:#4b4b4b;cursor:default}.asset-panel-pagination strong{color:#a2a2a2;text-align:center;min-width:42px;font-size:10px;font-weight:500}.asset-manager-backdrop{z-index:1200;background:#0009;place-items:center;padding:80px 5vw;animation:.15s ease-out asset-manager-backdrop-in;display:grid;position:fixed;inset:0}.asset-manager-dialog{color:#eef2f0;background:#1a1c1b;border:1px solid #383b3a;border-radius:8px;grid-template-rows:48px minmax(0,1fr);grid-template-columns:160px minmax(0,1fr);width:min(90vw,1600px);height:calc(100svh - 160px);min-height:480px;animation:.18s cubic-bezier(.22,1,.36,1) asset-manager-dialog-in;display:grid;position:relative;overflow:hidden;box-shadow:0 30px 90px #0000009e}.asset-manager-header{background:#202221;border-bottom:1px solid #303332;grid-column:1/-1;align-items:center;gap:8px;min-width:0;padding:0 12px 0 16px;display:flex}.asset-manager-header>svg{color:var(--brand-accent)}.asset-manager-header h2{margin:0;font-size:14px;font-weight:650}.asset-manager-header>span{color:#777d7a;font-size:11px}.asset-manager-icon-button{color:#969b99;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;width:30px;height:30px;margin-left:auto;padding:0;display:grid}.asset-manager-icon-button:hover{color:#fff;background:#303332}.asset-manager-library{background:#181a19;border-right:1px solid #303332;flex-direction:column;min-width:0;padding:12px 10px;display:flex}.asset-manager-library>button{color:#9ca19f;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;width:100%;height:34px;padding:0 10px;font-size:12px;display:flex}.asset-manager-library>button.is-active{color:#f0f5f2;background:#2a2d2c}.asset-manager-library>button.is-active svg{color:var(--brand-accent)}.asset-manager-quota{border-top:1px solid #2d302f;margin-top:auto;padding:10px}.asset-manager-quota>span{white-space:nowrap;align-items:baseline;gap:4px;display:flex;overflow:hidden}.asset-manager-quota strong,.asset-manager-quota em{text-overflow:ellipsis;font-size:10px;font-style:normal;overflow:hidden}.asset-manager-quota strong{color:#d7dcda;font-weight:550}.asset-manager-quota em,.asset-manager-quota small{color:#6f7472}.asset-manager-quota>div{background:#303332;border-radius:2px;width:100%;height:3px;margin:7px 0 6px;overflow:hidden}.asset-manager-quota>div i{border-radius:inherit;background:var(--brand-accent-strong);height:100%;transition:width .18s;display:block}.asset-manager-quota small{font-size:10px;display:block}.asset-manager-main{background:#1d1f1e;grid-template-rows:auto auto minmax(0,1fr);min-width:0;min-height:0;display:grid}.asset-manager-toolbar{grid-template-columns:minmax(200px,320px) auto auto;justify-content:end;gap:8px;min-width:0;padding:14px 16px 10px;display:grid}.asset-manager-search{color:#777d7a;background:#171918;border:1px solid #383b3a;border-radius:6px;align-items:center;gap:7px;height:32px;padding:0 9px;display:flex}.asset-manager-search:focus-within{border-color:#5b625f}.asset-manager-search input{color:#e7ebe9;background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:12px}.asset-manager-search button{color:#747977;cursor:pointer;background:0 0;border:0;border-radius:4px;flex:none;place-items:center;width:20px;height:20px;padding:0;display:grid}.asset-manager-toolbar>button{color:#c8cecb;cursor:pointer;white-space:nowrap;background:#252827;border:1px solid #3a3d3c;border-radius:6px;justify-content:center;align-items:center;gap:6px;height:32px;padding:0 11px;font-size:12px;display:flex}.asset-manager-toolbar>button:hover,.asset-manager-toolbar>button.is-active{color:#fff;background:#303332;border-color:#575d5a}.asset-manager-toolbar>.asset-manager-create{color:#10211b;background:var(--brand-accent);border-color:#5cd8b0;font-weight:600}.asset-manager-toolbar>.asset-manager-create:hover{color:#0d1b16;background:#78eac4;border-color:#7bf0c9}.asset-manager-filters{gap:6px;min-width:0;padding:0 16px 10px;display:grid}.asset-manager-filter-row{grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px;min-width:0;display:grid}.asset-manager-filter-row>span{color:#656b68;font-size:11px}.asset-manager-media-types,.asset-manager-categories{scrollbar-width:none;gap:6px;min-width:0;display:flex;overflow-x:auto}.asset-manager-media-types button,.asset-manager-categories button{color:#929895;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;flex:none;align-items:center;gap:5px;height:28px;padding:0 11px;font-size:12px;display:inline-flex}.asset-manager-media-types button:hover,.asset-manager-categories button:hover{color:#d9dedc;background:#282b2a}.asset-manager-media-types button.is-active,.asset-manager-categories button.is-active{color:#eff4f1;background:#303432;border-color:#414644}.asset-manager-media-types button.is-active svg{color:var(--brand-accent)}.asset-manager-content{min-width:0;min-height:0;padding:0 16px 82px;position:relative;overflow:hidden auto}.asset-manager-content.is-marquee-selecting{cursor:crosshair;-webkit-user-select:none;user-select:none}.asset-manager-content.is-marquee-selecting .asset-manager-card{transform:none}.asset-manager-marquee{z-index:4;pointer-events:none;background:#5cd8b024;border:1px solid #67e6bc;border-radius:3px;position:absolute;box-shadow:inset 0 0 0 1px #d8fff214,0 0 0 1px #0f171433}.asset-manager-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));align-content:start;gap:12px;display:grid}.asset-manager-card{background:#202322;border:1px solid #303432;border-radius:7px;min-width:0;transition:border-color .12s,transform .12s,box-shadow .12s;position:relative;overflow:hidden}.asset-manager-card:hover,.asset-manager-card:focus-within{border-color:#626966;transform:translateY(-1px);box-shadow:0 10px 24px #0000003d}.asset-manager-card.is-selected{border-color:var(--brand-accent-strong);box-shadow:inset 0 0 0 1px var(--brand-accent-strong)}.asset-manager-card-main{width:100%;min-width:0;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;padding:0;display:block}.asset-manager-preview{aspect-ratio:4/3;color:#7d8581;background:linear-gradient(135deg,#191b1a 0 50%,#1c1f1e 50% 100%);place-items:center;width:100%;display:grid;position:relative;overflow:hidden}.asset-manager-preview img,.asset-manager-preview video{object-fit:cover;width:100%;height:100%;display:block}.asset-manager-preview.is-audio{color:var(--brand-accent);background:#171a19}.asset-manager-video-mark{color:#fff;background:#000000a8;border-radius:6px;place-items:center;width:26px;height:26px;display:grid;position:absolute;bottom:8px;left:8px}.asset-manager-type{color:#f2f5f4;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0c0e0db8;border-radius:4px;padding:3px 6px;font-size:9px;line-height:1;position:absolute;top:7px;left:7px}.asset-manager-checkbox{color:#f4f7f5;background:#0a0c0bb8;border-radius:5px;place-items:center;width:24px;height:24px;display:grid;position:absolute;top:8px;right:8px}.asset-manager-card.is-selected .asset-manager-checkbox{color:var(--brand-accent)}.asset-manager-card-copy{min-width:0;padding:8px 9px 10px;display:block}.asset-manager-card-copy strong,.asset-manager-card-copy small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.asset-manager-card-copy strong{color:#e5eae7;font-size:12px;font-weight:560}.asset-manager-card-copy small{color:#747b77;min-height:16px;margin-top:4px;font-size:10px}.asset-manager-card-actions{opacity:0;pointer-events:none;gap:4px;transition:opacity .12s,transform .12s;display:flex;position:absolute;top:7px;right:7px;transform:translateY(-2px)}.asset-manager-card:hover .asset-manager-card-actions,.asset-manager-card:focus-within .asset-manager-card-actions{opacity:1;pointer-events:auto;transform:translateY(0)}.asset-manager-card-actions button{color:#e4e9e6;cursor:pointer;background:#111413e0;border:1px solid #ffffff24;border-radius:5px;place-items:center;width:26px;height:26px;padding:0;display:grid}.asset-manager-card-actions button:hover{color:#fff;background:#353a38}.asset-manager-state{color:#777d7a;text-align:center;align-content:center;place-items:center;gap:9px;min-height:260px;display:grid}.asset-manager-state strong{color:#cfd5d2;font-size:13px}.asset-manager-state span{font-size:11px}.asset-manager-state.is-error{color:#d7968f}.asset-manager-state button,.asset-manager-load-more{color:#dce2df;cursor:pointer;background:#282b2a;border:1px solid #434846;border-radius:6px;justify-content:center;align-items:center;gap:6px;height:32px;padding:0 12px;font-size:12px;display:flex}.asset-manager-load-more{margin:18px auto 0}.asset-manager-load-more:disabled{cursor:wait;opacity:.7}.asset-manager-upload-composer{background:#202321;border:1px solid #3b403d;border-radius:7px;grid-template-columns:34px minmax(110px,1fr) auto auto 28px;align-items:center;gap:9px;min-width:0;min-height:52px;margin-bottom:10px;padding:8px 9px;transition:border-color .14s,background .14s,box-shadow .14s;animation:.15s ease-out asset-manager-upload-in;display:grid}.asset-manager-upload-composer.is-dragging{border-color:var(--brand-accent-strong);background:#252c29;box-shadow:inset 0 0 0 1px #5cd8b033}.asset-manager-upload-composer-icon{width:32px;height:32px;color:var(--brand-accent);background:#18201d;border-radius:6px;place-items:center;display:grid}.asset-manager-upload-composer-copy{gap:2px;min-width:0;display:grid}.asset-manager-upload-composer-copy strong,.asset-manager-upload-composer-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.asset-manager-upload-composer-copy strong{color:#e7ece9;font-size:12px;font-weight:600}.asset-manager-upload-composer-copy small{color:#747b77;font-size:10px}.asset-manager-upload-category{color:#838a86;white-space:nowrap;background:#181b19;border:1px solid #3b403d;border-radius:6px;align-items:center;gap:6px;height:32px;padding:0 7px 0 9px;font-size:11px;display:flex}.asset-manager-upload-category svg{flex:none}.asset-manager-upload-category select{color:#e0e5e2;background:#181b19;border:0;outline:0;min-width:70px;height:28px;padding:0 18px 0 2px;font-size:11px}.asset-manager-upload-category select:disabled{opacity:.58}.asset-manager-upload-choose,.asset-manager-upload-close{color:#dce2df;cursor:pointer;background:#2a2e2c;border:1px solid #454b48;border-radius:6px;justify-content:center;align-items:center;height:32px;padding:0;display:flex}.asset-manager-upload-choose{color:#10211b;background:var(--brand-accent);border-color:#5cd8b0;gap:6px;min-width:86px;padding:0 10px;font-size:11px;font-weight:600}.asset-manager-upload-choose:hover{background:#78eac4}.asset-manager-upload-close{color:#858c88;background:0 0;width:28px}.asset-manager-upload-close:hover{color:#fff;background:#303432}.asset-manager-upload-choose:disabled,.asset-manager-upload-close:disabled{cursor:wait;opacity:.58}.asset-manager-upload-strip{background:#191c1a;border:1px solid #333735;border-radius:7px;gap:6px;margin-bottom:12px;padding:9px 10px;display:grid}.asset-manager-upload-strip>div{grid-template-columns:18px minmax(90px,180px) 48px minmax(80px,1fr) minmax(70px,220px);align-items:center;gap:8px;min-width:0;min-height:22px;display:grid}.asset-manager-upload-strip>div.is-error span,.asset-manager-upload-strip>div.is-error em{color:#ff8f86}.asset-manager-upload-strip span{color:var(--brand-accent);place-items:center;display:grid}.asset-manager-upload-strip strong,.asset-manager-upload-strip small,.asset-manager-upload-strip em{text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-style:normal;overflow:hidden}.asset-manager-upload-strip strong{color:#cdd3d0;font-weight:500}.asset-manager-upload-strip small{color:#8e9692;text-align:center}.asset-manager-upload-strip em{color:#777d7a;text-align:right}.asset-manager-upload-strip>div>div{background:#303432;border-radius:2px;height:3px;overflow:hidden}.asset-manager-upload-strip i{border-radius:inherit;background:var(--brand-accent-strong);height:100%;transition:width .1s linear;display:block}.asset-manager-batch{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);z-index:5;background:#1e2120f5;border:1px solid #454a47;border-radius:8px;align-items:center;gap:8px;min-width:0;min-height:48px;padding:8px;display:flex;position:absolute;bottom:14px;left:176px;right:16px;box-shadow:0 16px 40px #00000070}.asset-manager-batch>button,.asset-manager-batch label>button{color:#d8dddb;cursor:pointer;white-space:nowrap;background:#292d2b;border:1px solid #424745;border-radius:6px;justify-content:center;align-items:center;gap:6px;height:30px;padding:0 10px;font-size:11px;display:flex}.asset-manager-batch>span{color:#8d9490;white-space:nowrap;font-size:11px}.asset-manager-batch>label{align-items:center;min-width:0;display:flex}.asset-manager-batch select,.asset-manager-batch input{color:#dce2df;background:#191c1a;border:1px solid #424745;outline:0;min-width:0;height:30px;font-size:11px}.asset-manager-batch select{border-radius:6px 0 0 6px;width:78px;padding:0 7px}.asset-manager-batch label>button{border-radius:0 6px 6px 0;margin-left:-1px}.asset-manager-batch-tags{flex:1;position:relative}.asset-manager-batch-tags>svg{color:#727975;pointer-events:none;position:absolute;left:9px}.asset-manager-batch-tags input{border-radius:6px 0 0 6px;width:100%;padding:0 8px 0 30px}.asset-manager-batch button:disabled{cursor:not-allowed;opacity:.42}.asset-manager-batch>button.is-danger{color:#f0b1a9;border-color:#cd655a5c}.asset-manager-edit-backdrop{z-index:10;background:#0000008f;place-items:center;padding:20px;display:grid;position:absolute;inset:0}.asset-manager-edit{background:#202321;border:1px solid #414643;border-radius:8px;gap:13px;width:min(420px,100%);padding:16px;display:grid;box-shadow:0 24px 70px #00000094}.asset-manager-edit header,.asset-manager-edit footer{align-items:center;display:flex}.asset-manager-edit header{min-height:26px}.asset-manager-edit h3{margin:0;font-size:14px}.asset-manager-edit header button{color:#8b918e;cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;width:28px;height:28px;margin-left:auto;padding:0;display:grid}.asset-manager-edit>label{gap:6px;display:grid}.asset-manager-edit>label>span{color:#909693;font-size:11px}.asset-manager-edit input,.asset-manager-edit select,.asset-manager-edit textarea{color:#e6ebe8;background:#171a18;border:1px solid #3c413f;border-radius:6px;outline:0;width:100%;font-size:12px}.asset-manager-edit input,.asset-manager-edit select{height:34px;padding:0 9px}.asset-manager-edit textarea{resize:vertical;min-height:88px;padding:8px 9px;line-height:1.5}.asset-manager-edit input:focus,.asset-manager-edit select:focus,.asset-manager-edit textarea:focus{border-color:#626a66}.asset-manager-edit footer{justify-content:flex-end;gap:8px;padding-top:2px}.asset-manager-edit footer button{color:#cdd3d0;cursor:pointer;background:#292d2b;border:1px solid #414643;border-radius:6px;justify-content:center;align-items:center;gap:6px;min-width:70px;height:32px;padding:0 12px;font-size:12px;display:flex}.asset-manager-edit footer button.is-primary{color:#10211b;border-color:var(--brand-accent);background:var(--brand-accent);font-weight:600}@keyframes asset-manager-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes asset-manager-dialog-in{0%{opacity:0;transform:scale(.98)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}@keyframes asset-manager-upload-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@media (width<=700px){.asset-manager-backdrop{padding:40px 16px}.asset-manager-dialog{grid-template-rows:48px 48px minmax(0,1fr);grid-template-columns:minmax(0,1fr);width:calc(100vw - 32px);height:calc(100svh - 80px);min-height:0}.asset-manager-library{border-bottom:1px solid #303332;border-right:0;flex-direction:row;grid-row:2;align-items:center;gap:8px;min-width:0;padding:7px 10px;display:flex;overflow:hidden}.asset-manager-library>button{flex:none;width:auto}.asset-manager-quota{border-top:0;flex:1;grid-template-columns:minmax(0,1fr) 72px;align-items:center;gap:7px;min-width:0;margin:0 0 0 auto;padding:0;display:grid}.asset-manager-quota>span{justify-content:flex-end;display:flex}.asset-manager-quota small{display:none}.asset-manager-quota>div{grid-column:2;margin:0}.asset-manager-main{grid-row:3}.asset-manager-toolbar{grid-template-columns:minmax(0,1fr) auto auto;gap:6px;padding:10px 10px 8px}.asset-manager-search{grid-area:1/1/auto/-1}.asset-manager-toolbar>button{grid-row:2}.asset-manager-toolbar>button:first-of-type{grid-column:2}.asset-manager-toolbar>button:nth-of-type(2){grid-column:3}.asset-manager-filters{padding:0 10px 8px}.asset-manager-filter-row{grid-template-columns:30px minmax(0,1fr);gap:6px}.asset-manager-content{padding:0 10px 132px}.asset-manager-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.asset-manager-card-copy{padding:7px 8px 8px}.asset-manager-card-actions{opacity:1;pointer-events:auto;transform:none}.asset-manager-card-actions button:nth-child(2){display:none}.asset-manager-upload-composer{grid-template-columns:32px minmax(0,1fr) auto;gap:7px}.asset-manager-upload-composer-icon{grid-area:1/1}.asset-manager-upload-composer-copy{grid-area:1/2}.asset-manager-upload-category{grid-area:2/1/auto/3}.asset-manager-upload-category select{flex:1;min-width:0}.asset-manager-upload-choose{grid-area:2/3}.asset-manager-upload-close{grid-area:1/3;justify-self:end}.asset-manager-upload-strip>div{grid-template-columns:18px minmax(0,1fr) auto 42px}.asset-manager-upload-strip>div>div{grid-area:2/2/auto/-1}.asset-manager-upload-strip em{grid-area:1/4}.asset-manager-upload-strip>div.is-error{grid-template-columns:18px minmax(0,1fr) auto}.asset-manager-upload-strip>div.is-error em{text-align:left;text-overflow:clip;white-space:normal;grid-area:2/2/auto/-1}.asset-manager-upload-strip>div.is-error>div{grid-area:3/2/auto/-1}.asset-manager-batch{grid-template-columns:auto 1fr auto;gap:6px;min-height:94px;display:grid;bottom:10px;left:10px;right:10px}.asset-manager-batch>span{text-align:center}.asset-manager-batch>label:not(.asset-manager-batch-tags){grid-column:1/3}.asset-manager-batch-tags{grid-area:2/1/auto/-1}.asset-manager-batch>button.is-danger{grid-area:1/3}.asset-manager-edit{max-height:calc(100svh - 112px);overflow-y:auto}}.character-panel-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:1250;background:#000000a3;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.character-panel{color:#f7f7f7;background:#222;border:1px solid #ffffff14;border-radius:16px;grid-template-rows:56px 400px minmax(0,1fr);width:min(1113px,100vw - 48px);height:min(710px,100svh - 48px);min-height:560px;display:grid;overflow:hidden;box-shadow:0 24px 72px #00000047}.character-library-header{align-items:center;min-width:0;padding:0 16px;display:flex}.character-library-header h2{margin:0;font-size:16px;font-weight:600}.character-library-header .ui-icon-button{background:0 0;border-radius:7px;width:28px;height:28px;margin-left:auto}.character-preview{background:#2d2d2d;border-radius:12px;min-width:0;margin:0 16px;padding:16px;overflow:hidden}.character-preview-meta{align-items:center;gap:8px;min-width:0;height:24px;display:flex}.character-preview-meta strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:600;overflow:hidden}.character-preview-meta span{color:#e5e5e5;text-overflow:ellipsis;white-space:nowrap;background:#ffffff1a;border-radius:6px;min-width:0;max-width:55%;padding:3px 7px;font-size:12px;line-height:18px;overflow:hidden}.character-preview-images{grid-template-columns:repeat(3,minmax(120px,190px)) minmax(260px,1fr);gap:8px;height:254px;margin-top:28px;display:grid;overflow:hidden}.character-preview-image,.character-preview-placeholder{background:#f2f2f2;border-radius:8px;width:100%;min-width:0;height:254px;display:block;overflow:hidden}.character-preview-image{object-fit:cover}.character-preview-placeholder{color:#777;background:#242424;align-content:center;place-items:center;gap:8px;font-size:12px;display:grid}.character-preview-footer{align-items:center;gap:20px;height:32px;margin-top:28px;display:flex}.character-preview-footer p{color:#a6a6a6;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;margin:0;font-size:12px;line-height:20px;overflow:hidden}.character-apply-button{color:#25272a;cursor:pointer;background:#fff;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;gap:6px;height:32px;padding:0 13px;font-size:13px;font-weight:500;display:inline-flex}.character-apply-button:hover{background:#e8e8e8}.character-library-controls{border-top:1px solid #ffffff0f;flex-direction:column;gap:16px;min-height:0;padding:16px;display:flex}.character-control-row{align-items:center;height:28px;display:flex}.character-filter-wrap{position:relative}.character-filter-button{color:#f5f5f5;cursor:pointer;background:#ffffff1a;border:1px solid #ffffff14;border-radius:8px;align-items:center;gap:6px;height:28px;padding:0 8px;font-size:13px;display:inline-flex}.character-filter-button:hover,.character-filter-button.is-active{background:#ffffff26}.character-filter-button em{color:#171717;background:#f3f3f3;border-radius:5px;place-items:center;min-width:16px;height:16px;padding:0 4px;font-size:10px;font-style:normal;display:grid}.character-recent-toggle{cursor:pointer;align-items:center;gap:7px;height:28px;margin-left:auto;font-size:12px;display:inline-flex}.character-recent-toggle input{opacity:0;pointer-events:none;position:absolute}.character-recent-toggle>span{color:#0000;background:#262626;border:1px solid #555;border-radius:5px;place-items:center;width:16px;height:16px;display:grid}.character-recent-toggle input:checked+span{color:#222;background:#f0f0f0;border-color:#f0f0f0}.character-filter-popover{z-index:4;background:#252525;border:1px solid #414141;border-radius:10px;flex-direction:column;width:328px;max-height:min(420px,100svh - 96px);display:flex;position:absolute;bottom:38px;left:0;overflow:hidden;box-shadow:0 18px 48px #0000006b}.character-filter-popover-header{border-bottom:1px solid #383838;align-items:center;min-height:42px;padding:0 12px;display:flex}.character-filter-popover-header strong{font-size:13px;font-weight:600}.character-filter-popover-header button{color:#aaa;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:5px;height:26px;margin-left:auto;padding:0 7px;font-size:11px;display:inline-flex}.character-filter-popover-header button:hover:not(:disabled){color:#f2f2f2;background:#333}.character-filter-popover-header button:disabled{opacity:.4;cursor:default}.character-filter-groups{min-height:0;padding:10px 12px 12px;overflow-y:auto}.character-filter-group+.character-filter-group{margin-top:12px}.character-filter-group>span{color:#999;margin-bottom:7px;font-size:11px;display:block}.character-filter-group>div{flex-wrap:wrap;gap:6px;display:flex}.character-filter-group button{color:#d0d0d0;cursor:pointer;background:#303030;border:1px solid #0000;border-radius:6px;align-items:center;gap:4px;height:25px;padding:0 8px;font-size:11px;display:inline-flex}.character-filter-group button:hover{background:#393939}.character-filter-group button.is-selected{color:#fff;background:#444;border-color:#777}.character-carousel-shell{grid-template-columns:28px minmax(0,1fr) 28px;align-items:center;gap:12px;min-width:0;height:159px;display:grid}.character-carousel-arrow.ui-icon-button{background:0 0;border:1px solid #ffffff14;border-radius:8px;width:28px;height:28px}.character-carousel{scroll-behavior:smooth;scrollbar-width:none;gap:15px;min-width:0;height:159px;display:flex;overflow:auto hidden}.character-carousel::-webkit-scrollbar{display:none}.character-card{color:#b6b6b6;cursor:pointer;text-align:center;background:0 0;border:0;border-radius:10px;flex:0 0 104px;grid-template-rows:134px 17px;gap:4px;width:104px;height:159px;padding:2px;display:grid;overflow:hidden}.character-card:hover{color:#f2f2f2;background:#ffffff06}.character-card.is-active{color:#f7f7f7;background:#ffffff0a;box-shadow:inset 0 0 0 .5px #3d3d3d}.character-card img{object-fit:cover;background:#eee;border-radius:8px;width:100px;height:134px;display:block}.character-card span{text-overflow:ellipsis;white-space:nowrap;width:100%;min-width:0;font-size:11px;line-height:17px;overflow:hidden}.character-carousel-empty,.character-empty{color:#858585;flex:1;align-content:center;place-items:center;gap:8px;min-width:0;font-size:12px;display:grid}.character-empty{grid-row:2/-1}@media (width<=700px){.character-panel-backdrop{padding:8px}.character-panel{border-radius:12px;grid-template-rows:52px minmax(0,1fr) 198px;width:calc(100vw - 16px);height:calc(100svh - 16px);min-height:0}.character-library-header{padding:0 12px}.character-preview{border-radius:10px;margin:0 8px;padding:12px;overflow-y:auto}.character-preview-meta{flex-direction:column;align-items:flex-start;gap:6px;height:auto}.character-preview-meta span{max-width:100%}.character-preview-images{scroll-snap-type:x proximity;scrollbar-width:none;gap:8px;height:236px;margin-top:14px;display:flex;overflow:auto hidden}.character-preview-images::-webkit-scrollbar{display:none}.character-preview-image,.character-preview-placeholder{scroll-snap-align:start;flex:0 0 177px;width:177px;height:236px}.character-preview-image-4{flex-basis:320px;width:320px}.character-preview-footer{flex-direction:column;align-items:stretch;gap:10px;height:auto;margin-top:14px}.character-preview-footer p{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.character-apply-button{width:100%;min-height:34px}.character-library-controls{gap:10px;padding:10px 8px 8px}.character-control-row{padding:0 2px}.character-filter-popover{width:min(328px,100vw - 36px);max-height:min(420px,100svh - 92px)}.character-carousel-shell{grid-template-columns:26px minmax(0,1fr) 26px;gap:7px;height:140px}.character-carousel-arrow.ui-icon-button{width:26px;height:26px}.character-carousel{gap:9px;height:140px}.character-card{flex-basis:88px;grid-template-rows:116px 16px;width:88px;height:140px}.character-card img{width:84px;height:116px}.character-card span{font-size:10px;line-height:16px}}.history-panel-backdrop{z-index:690;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000000b8;justify-content:center;align-items:center;padding:80px 5vw;animation:.15s ease-out history-backdrop-in;display:flex;position:fixed;inset:0}.history-panel{--history-card-size:144px;color:#f7f7f7;background:#262626;border:1px solid #363636;border-radius:16px;flex-direction:column;width:min(90vw,1600px);max-width:min(90vw,1600px);height:calc(100vh - 160px);min-height:480px;animation:.17s cubic-bezier(.22,1,.36,1) history-panel-in;display:flex;overflow:hidden;box-shadow:0 24px 80px #0000007a}@keyframes history-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes history-panel-in{0%{opacity:0;transform:translateY(8px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}.history-panel button{font:inherit}.history-panel-header{border-bottom:1px solid #363636;flex:0 0 62px;justify-content:space-between;align-items:center;gap:16px;min-height:62px;padding:16px;display:flex}.history-panel-header>strong{font-size:16px;font-weight:500;line-height:24px}.history-panel-header-actions{align-items:center;gap:16px;display:flex}.history-zoom-control{background:#171717;border:1px solid #363636;border-radius:8px;align-items:center;gap:4px;height:30px;display:flex}.history-zoom-control button,.history-close{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;width:28px;height:28px;padding:0;transition:background .14s,opacity .14s;display:grid}.history-zoom-control button:hover:not(:disabled),.history-close:hover{background:#ffffff1a}.history-zoom-control button:disabled{cursor:default;opacity:.3}.history-zoom-control span{color:#fff;text-align:center;width:40px;font-size:13px;line-height:20px}.history-close{opacity:.5}.history-close:hover{opacity:1}.history-panel-toolbar{flex:0 0 48px;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:16px 16px 0;display:flex}.history-media-tabs{align-items:center;gap:24px;display:flex}.history-media-tabs button{color:#fff;cursor:pointer;opacity:.4;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;height:32px;padding:0;font-size:13px;line-height:20px;transition:opacity .14s;display:flex}.history-media-tabs button:hover{opacity:.65}.history-media-tabs button.is-active{opacity:1;font-weight:500}.history-list-actions,.history-batch-actions{align-items:center;gap:8px;display:flex}.history-list-actions>span{background:#ffffff1f;width:1px;height:18px}.history-list-actions button,.history-batch-actions button{color:#fff;cursor:pointer;opacity:.8;background:0 0;border:0;border-radius:8px;align-items:center;gap:4px;height:32px;padding:0 8px;font-size:13px;transition:background .14s,opacity .14s;display:flex}.history-list-actions button:hover,.history-batch-actions button:hover:not(:disabled){opacity:1;background:#ffffff1a}.history-batch-actions>span{color:#ffffffa6;margin-right:4px;font-size:13px;line-height:20px}.history-batch-actions button:not(.history-cancel-batch){background:#ffffff26;height:28px;padding:0 12px}.history-batch-actions button:disabled{cursor:not-allowed;opacity:.4}.history-batch-actions .history-cancel-batch{color:#919191;height:28px}.history-panel-scroll{scrollbar-width:thin;scrollbar-color:#8e929b transparent;flex:1;min-height:0;padding:16px 20px;overflow-y:auto}.history-panel-scroll::-webkit-scrollbar{width:7px}.history-panel-scroll::-webkit-scrollbar-track{background:0 0}.history-panel-scroll::-webkit-scrollbar-thumb{background:#8e929b;border-radius:8px}.history-panel-scroll.is-selecting{-webkit-user-select:none;user-select:none}.history-date-group{margin:0 0 24px}.history-date-heading{align-items:center;gap:8px;height:20px;margin-bottom:12px;display:flex}.history-date-heading h4{color:#fff;margin:0;font-size:14px;font-weight:500;line-height:20px}.history-asset-grid{flex-wrap:wrap;gap:12px;display:flex}.history-asset-card{width:var(--history-card-size);height:var(--history-card-size);flex:0 0 var(--history-card-size);cursor:pointer}.history-asset-frame{background:#363636;border:0 solid #0000;border-radius:8px;width:100%;height:100%;transition:border-color .14s,box-shadow .14s;position:relative;overflow:hidden}.history-asset-card.is-selected .history-asset-frame{border-width:2px;border-color:#f1f1f1;box-shadow:0 0 0 1px #000000b3}.history-asset-media{place-items:center;transition:transform .2s;display:grid;position:absolute;inset:0;overflow:hidden}.history-asset-card:hover .history-asset-media{transform:scale(1.05)}.history-asset-media>img,.history-asset-media>video{object-fit:cover;border-radius:8px;width:100%;height:100%;display:block;position:absolute;inset:0}.history-generated-badge{z-index:1;color:#ffffffc7;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0000002e;border:1px solid #ffffff42;border-radius:5px;align-items:center;height:17px;padding:0 5px;font-size:9px;line-height:15px;display:flex;position:absolute;top:6px;left:6px}.history-audio-art{color:#ffffffc2;background:linear-gradient(145deg,#ffffff14,#0000 55%),#303030;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex;position:absolute;inset:0}.history-audio-art span{letter-spacing:0;opacity:.6;font-size:10px}.history-card-overlay{opacity:0;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#000000a6;border-radius:8px;justify-content:center;align-items:center;transition:opacity .15s;display:flex;position:absolute;inset:0}.history-asset-card:hover .history-card-overlay,.history-asset-card:focus-within .history-card-overlay{opacity:1}.history-card-overlay>div{align-items:center;gap:4px;display:flex}.history-card-overlay button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;height:28px;padding:0 6px;font-size:13px;transition:color .12s;display:flex}.history-card-overlay button:hover{color:#fffc}.history-card-delete{z-index:2;color:#ffffffb3;opacity:0;cursor:pointer;background:#00000080;border:0;border-radius:6px;place-items:center;width:24px;height:24px;padding:0;transition:color .14s,background .14s,opacity .15s;display:grid;position:absolute;top:6px;right:6px}.history-asset-card:hover .history-card-delete,.history-asset-card:focus-within .history-card-delete{opacity:1}.history-card-delete:hover{color:#fff;background:#000000b8}.history-check{color:#171717;cursor:pointer;background:#0000004d;border:1px solid #ffffff4d;border-radius:4px;flex:0 0 16px;place-items:center;width:16px;height:16px;padding:0;display:grid}.history-check.is-selected{background:#fff;border-color:#fff}.history-card-check{z-index:3;position:absolute;top:6px;left:6px}.history-panel-scroll.is-selecting .history-generated-badge{display:none}.history-empty-state{color:#ffffff59;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:240px;font-size:13px;display:flex}.history-no-more{color:#fff9;justify-content:center;align-items:center;width:100%;height:68px;padding:0 10px;font-size:12px;line-height:18px;display:flex}.history-preview-backdrop{z-index:710;background:#000c;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.history-preview{flex-direction:column;align-items:center;gap:16px;width:85vw;max-width:85vw;max-height:90vh;display:flex;position:relative}.history-preview-close{z-index:10;color:#ffffffb3;cursor:pointer;background:#0009;border:0;border-radius:999px;place-items:center;width:32px;height:32px;padding:0;transition:color .14s,background .14s;display:grid;position:absolute;top:-12px;right:-12px}.history-preview-close:hover,.history-preview-arrow:hover{color:#fff;background:#000c}.history-preview-stage{border-radius:8px;justify-content:center;align-items:center;width:85vw;height:80vh;display:flex;position:relative;overflow:hidden}.history-preview-stage>img,.history-preview-stage>video{object-fit:contain;width:100%;max-width:100%;height:100%;max-height:100%;display:block}.history-preview-arrow{z-index:20;color:#ffffffb3;cursor:pointer;background:#00000080;border:0;border-radius:999px;place-items:center;width:40px;height:40px;padding:0;transition:color .14s,background .14s;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.history-preview-arrow.is-previous{left:16px}.history-preview-arrow.is-next{right:16px}.history-preview-footer{align-items:center;gap:16px;height:36px;display:flex}.history-preview-footer>span{color:#ffffff80;font-size:14px;line-height:20px}.history-preview-footer>button{color:#f7f7f7;opacity:.8;cursor:pointer;background:#ffffff26;border:0;border-radius:8px;align-items:center;gap:8px;height:36px;padding:0 20px;font-size:14px;transition:background .14s,opacity .14s;display:flex}.history-preview-footer>button:hover{opacity:1;background:#fff3}.history-preview-audio{color:#fffc;flex-direction:column;align-items:center;gap:18px;width:min(520px,100%);display:flex}.history-preview-audio strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:14px;font-weight:500;overflow:hidden}.history-preview-audio audio{width:100%}.tutorial-modal{border-radius:10px;width:390px;max-width:calc(100% - 30px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.shortcut-modal{background:#252525fa;border-radius:16px;width:min(1152px,100% - 48px);min-height:436px;max-height:calc(100% - 32px);padding:24px;position:absolute;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 18px 54px #0000006b}.shortcut-close{color:#b8b8b8;cursor:pointer;z-index:2;background:0 0;border:0;border-radius:6px;place-items:center;width:28px;height:28px;padding:0;display:grid;position:absolute;top:13px;right:13px}.shortcut-close:hover{color:#fff;background:#ffffff14}.shortcut-grid{grid-template-columns:repeat(4,minmax(0,1fr));min-height:388px;display:grid}.shortcut-section{border-left:1px solid #383838;min-width:0;padding:1px 24px 0}.shortcut-section:first-child{border-left:0;padding-left:2px}.shortcut-section:last-child{padding-right:2px}.shortcut-section h3{color:#18c8e8;margin:0 0 10px;font-size:14px;font-weight:600;line-height:24px}.shortcut-list{flex-direction:column;display:flex}.shortcut-row{color:#a2a2a2;justify-content:space-between;align-items:center;gap:12px;min-width:0;min-height:39px;font-size:14px;display:flex}.shortcut-row>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.shortcut-combo{color:#e3e3e3;white-space:nowrap;justify-content:flex-end;align-items:center;gap:5px;min-width:0;display:inline-flex}.shortcut-key,.shortcut-delete-key{color:#f0f0f0;background:#2a2a2a;border:1px solid #444;border-radius:7px;justify-content:center;align-items:center;min-width:28px;height:28px;padding:0 6px;font:13px/1 ui-sans-serif,system-ui,sans-serif;display:inline-flex;box-shadow:inset 0 -1px #ffffff14}.shortcut-plus{color:#717171;font-size:14px}.shortcut-suffix{color:#ededed;font-size:13px;font-weight:600}.shortcut-device{color:#d8d8d8;place-items:center;width:31px;height:28px;display:inline-grid;position:relative}.shortcut-device>svg:first-child:not(:last-child){color:#19caed;position:absolute;top:0;left:0}.shortcut-device-mouse{color:#d6d6d6}.shortcut-delete-key{width:29px;padding:0}@media (width<=980px){.shortcut-modal{width:min(720px,100% - 32px);max-height:calc(100% - 24px);padding:22px}.shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shortcut-section:nth-child(3){border-top:1px solid #383838;border-left:0;padding-top:22px}.shortcut-section:nth-child(4){border-top:1px solid #383838;padding-top:22px}}@media (width<=600px){.shortcut-modal{border-radius:12px;width:calc(100% - 20px);padding:20px 18px}.shortcut-grid{grid-template-columns:1fr}.shortcut-section,.shortcut-section:first-child,.shortcut-section:last-child,.shortcut-section:nth-child(3),.shortcut-section:nth-child(4){border-top:1px solid #383838;border-left:0;padding:18px 0}.shortcut-section:first-child{border-top:0;padding-top:0}}.tutorial-modal{padding-bottom:14px}.tutorial-media{border-radius:7px;height:190px;margin:12px;position:relative;overflow:hidden}.tutorial-media img{object-fit:cover;width:100%;height:100%}.tutorial-media button{color:#fff;background:#00000073;border:1px solid #ffffff73;border-radius:50%;place-items:center;width:48px;height:48px;padding-left:3px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tutorial-modal h3,.tutorial-modal p{margin-left:14px;margin-right:14px}.tutorial-modal h3{margin-bottom:7px;font-size:15px}.tutorial-modal p{color:var(--muted);font-size:12px;line-height:1.7}.tutorial-modal>.panel-primary{width:calc(100% - 28px);margin:5px 14px 0}.agent-panel{border-left:1px solid var(--border);z-index:70;background:#1c1c1c;flex-direction:column;width:390px;height:100%;display:flex;position:absolute;top:0;right:0;box-shadow:-8px 0 28px #00000042}.agent-header{border-bottom:1px solid var(--border);align-items:center;gap:3px;height:50px;padding:0 8px 0 14px;display:flex}.agent-header strong{font-size:14px}.agent-header>span{flex:1}.agent-content{flex:1;min-height:0;padding:18px;overflow:auto}.agent-empty{color:#a4a4a4;flex-direction:column;align-items:center;padding:32px 0 22px;display:flex}.agent-empty p{color:#d4d4d4;margin:12px 0 0}.skill-list{gap:7px;display:grid}.skill-list button{color:#d5d5d5;cursor:pointer;text-align:left;background:#232323;border:1px solid #333;border-radius:8px;align-items:center;gap:9px;min-height:46px;padding:0 12px;display:flex}.skill-list button:hover{background:#292929;border-color:#555}.message-user,.message-agent{grid-template-columns:24px 1fr;gap:8px;margin-bottom:15px;display:grid}.message-user>svg,.message-agent>svg{color:var(--muted);margin-top:4px}.message-user p,.message-agent p{border-radius:8px;margin:0;padding:9px 11px;font-size:12px;line-height:1.7}.message-user p{background:#303030}.message-agent p{background:#222;border:1px solid #333}.message-agent.is-loading p{color:var(--muted);align-items:center;gap:7px;display:flex}.agent-composer{background:#242424;border:1px solid #3b3b3b;border-radius:11px;margin:10px;padding:8px}.agent-composer textarea{resize:none;color:#eee;background:0 0;border:0;outline:0;width:100%;min-height:84px;padding:5px;font-size:13px;line-height:1.6;display:block}.agent-composer>div{align-items:center;gap:4px;display:flex}.agent-composer>div>span{flex:1}.agent-model-select{color:#ccc;cursor:pointer;background:0 0;border-radius:6px;align-items:center;gap:5px;min-width:0;max-width:210px;height:30px;padding:0 8px;display:flex}.agent-model-select:hover{background:#ffffff14}.agent-model-select select{min-width:0;max-width:158px;color:inherit;font:inherit;text-overflow:ellipsis;cursor:pointer;appearance:none;background:0 0;border:0;outline:0}.spin{animation:.8s linear infinite spin}.agent-send{color:#141414;cursor:pointer;background:#fff;border:0;border-radius:7px;place-items:center;width:30px;height:30px;display:grid}.agent-send:disabled{opacity:.35}.lib-minimap{border:1px solid var(--border);border-radius:7px;overflow:hidden;background:#181818!important;bottom:64px!important;right:16px!important}.reference-create-wire{z-index:518;pointer-events:none;position:fixed;inset:0;overflow:visible}.reference-create-wire path{fill:none;stroke-linecap:round}.reference-create-wire-glow{stroke:#7aaed829;stroke-width:5px;filter:drop-shadow(0 0 4px #72b1e22e)}.reference-create-wire-line{stroke:#89949f;stroke-width:1.25px}.multi-selection-create-wire{z-index:9998}.reference-create-menu{z-index:520;color:#e7e7e7;background:#292929;border:1px solid #3d3d3d;border-radius:16px;width:198px;padding:10px 8px 9px;animation:.14s cubic-bezier(.22,1,.36,1) reference-create-menu-in;position:fixed;overflow:hidden;box-shadow:0 20px 52px #0000007a}.reference-create-menu-title{color:#aaa;align-items:center;height:32px;padding:0 8px 4px;font-size:12px;font-weight:500;display:flex}.reference-create-menu button{color:#ececec;cursor:pointer;letter-spacing:0;text-align:left;background:0 0;border:0;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;width:100%;height:36px;padding:0 8px;font-size:13px;display:flex}.reference-create-menu button:hover:not(:disabled),.reference-create-menu button:focus-visible:not(:disabled){background:#373737;outline:0}.reference-create-menu button:disabled{color:#777;cursor:default;opacity:.42}.reference-create-menu button>span{white-space:nowrap;align-items:center;gap:10px;min-width:0;display:flex}.reference-create-menu button svg{color:#d0d0d0;flex:none}.reference-create-menu button:disabled svg{color:#777}.reference-create-menu button>em{color:#858585;background:#343434;border-radius:4px;flex:none;align-items:center;height:17px;padding:0 5px;font-size:9px;font-style:normal;line-height:17px;display:inline-flex}.reference-create-menu button>em.is-new{color:#d8f8ff;background:#0b6f83}@keyframes reference-create-menu-in{0%{opacity:0;transform:translateY(-5px)scale(.97)}}.image-context-menu{z-index:520;color:#f0f0f0;background:#262626;border:1px solid #3c3c3c;border-radius:8px;width:198px;padding:8px 0;animation:.12s ease-out context-menu-in;position:fixed;overflow:hidden;box-shadow:0 18px 50px #00000075}.image-context-menu button{width:100%;height:36px;color:inherit;cursor:pointer;letter-spacing:0;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:10px;padding:0 16px;font-size:13px;display:flex}.image-context-menu button:hover,.image-context-menu button:focus-visible{background:#393939;outline:0}.image-context-menu button.is-danger:hover,.image-context-menu button.is-danger:focus-visible{color:#ffb1ac;background:#b1342c33}.image-context-menu button>span{white-space:nowrap;align-items:center;gap:4px;min-width:0;display:flex}.image-context-menu button>span svg{color:#858585;flex:none}.image-context-menu kbd{color:#7e7e7e;box-shadow:none;background:0 0;border:0;flex:none;font-family:inherit;font-size:11px}.image-context-menu-separator{background:#3b3b3b;height:1px;margin:5px 14px}@keyframes context-menu-in{0%{opacity:0;transform:translateY(-4px)scale(.98)}}.image-viewer-backdrop{z-index:720;color:#f4f4f4;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#040404db;animation:.14s ease-out image-viewer-backdrop-in;position:fixed;inset:0;overflow:hidden}.image-viewer-backdrop:fullscreen{width:100vw;height:100vh}.image-viewer-actions{top:max(18px, env(safe-area-inset-top));right:max(18px, env(safe-area-inset-right));z-index:2;align-items:center;gap:8px;display:flex;position:absolute}.image-viewer-actions button{color:#d2d2d2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);cursor:pointer;background:#101010ad;border:0;border-radius:50%;place-items:center;width:38px;height:38px;padding:0;transition:color .12s,background-color .12s,transform .12s;display:grid;box-shadow:0 5px 18px #0000003d}.image-viewer-actions button:hover{color:#fff;background:#323232d1;transform:translateY(-1px)}.image-viewer-actions button:disabled{opacity:.34;cursor:default;transform:none}.image-viewer-zoom-status{color:#ffffffd1;text-align:center;text-shadow:0 1px 6px #000;font-variant-numeric:tabular-nums;min-width:44px;font-size:11px;line-height:1}.image-viewer-stage{overscroll-behavior:contain;touch-action:none;position:absolute;inset:0;overflow:hidden}.image-viewer-image-wrap{place-items:center;width:100%;height:100%;display:grid}.image-viewer-stage img{object-fit:contain;filter:drop-shadow(0 18px 38px #0000007a);transform-origin:50%;will-change:transform;-webkit-user-select:none;user-select:none;cursor:zoom-in;max-width:calc(100vw - 64px);max-height:calc(100svh - 64px);animation:.16s ease-out image-viewer-image-in;display:block}.image-viewer-stage img.is-pannable{cursor:grab}.image-viewer-stage img.is-dragging{cursor:grabbing}.image-viewer-arrow{z-index:3;color:#ffffffc7;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);cursor:pointer;background:#101010ad;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;transition:color .12s,background-color .12s,transform .12s;display:grid;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 5px 18px #0000003d}.image-viewer-arrow:hover{color:#fff;background:#323232d1;transform:translateY(-50%)scale(1.04)}.image-viewer-arrow.is-previous{left:max(18px, env(safe-area-inset-left))}.image-viewer-arrow.is-next{right:max(18px, env(safe-area-inset-right))}.image-viewer-gallery-status{left:50%;bottom:max(18px, env(safe-area-inset-bottom));z-index:3;color:#ffffffc7;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-variant-numeric:tabular-nums;background:#101010ad;border-radius:8px;padding:7px 10px;font-size:11px;line-height:1;position:absolute;transform:translate(-50%);box-shadow:0 5px 18px #0000003d}@keyframes image-viewer-backdrop-in{0%{opacity:0}}@keyframes image-viewer-image-in{0%{opacity:0}}@media (width<=700px){.image-viewer-actions{top:max(10px, env(safe-area-inset-top));right:max(10px, env(safe-area-inset-right));gap:5px}.image-viewer-actions button{width:34px;height:34px}.image-viewer-actions>button[aria-label=下载原图],.image-viewer-actions>button[aria-label=进入全屏],.image-viewer-actions>button[aria-label=退出全屏]{display:none}.image-viewer-zoom-status{min-width:38px}.image-viewer-stage img{max-width:calc(100vw - 24px);max-height:calc(100svh - 24px)}}.character-empty{color:var(--muted);grid-column:1/-1;place-items:center;font-size:13px;display:grid}.toast{color:#eee;min-width:170px;box-shadow:var(--shadow);text-align:center;z-index:400;background:#262626;border:1px solid #444;border-radius:7px;padding:10px 14px;font-size:12px;animation:.18s ease-out toast-in;position:fixed;top:92px;left:50%;transform:translate(-50%)}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,-6px)}}.script-workspace-overlay{z-index:240;color:#f7f7f7;background:#121212;animation:.16s ease-out script-workspace-in;position:fixed;inset:76px 0 0}@keyframes script-workspace-in{0%{opacity:0;transform:translateY(8px)}}.script-workspace-shell{flex-direction:column;width:100%;height:100%;display:flex;overflow:hidden}.script-workspace-header{background:#171717;border-bottom:1px solid #292929;grid-template-columns:minmax(260px,1fr) auto minmax(190px,1fr);align-items:center;gap:24px;min-height:80px;padding:8px 56px 8px 22px;display:grid;position:relative}.script-workspace-identity{min-width:0}.script-workspace-identity>input{color:#f2f2f2;background:0 0;border:1px solid #0000;border-radius:6px;outline:0;width:min(320px,100%);height:30px;padding:0 7px;font-size:14px;font-weight:600;display:block}.script-workspace-identity>input:hover,.script-workspace-identity>input:focus{background:#202020;border-color:#3e3e3e}.script-meta-fields{gap:5px;margin-top:3px;display:flex}.script-meta-fields input,.script-meta-fields select{color:#969696;background:#1d1d1d;border:1px solid #313131;border-radius:5px;outline:0;min-width:0;height:25px;padding:0 7px;font-size:10px}.script-meta-fields select{width:64px}.script-meta-fields input{width:100px}.script-workspace-stepper{justify-content:center;align-items:center;display:flex}.script-workspace-step-wrap>i{background:#363636;width:clamp(46px,7vw,120px);height:1px;margin:0 4px}.script-workspace-step{color:#919191;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;min-width:112px;padding:6px 8px;display:flex}.script-workspace-step-ring{color:#a6a6a6;border:2px solid #5b5b5b;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-size:12px;font-weight:600;display:grid}.script-workspace-step.is-active .script-workspace-step-ring{color:#fff;background:#3b3b3b;border-color:#f2f2f2}.script-workspace-step>span:last-child{flex-direction:column;gap:2px;min-width:0;display:flex}.script-workspace-step strong{color:#a8a8a8;white-space:nowrap;font-size:12px;font-weight:500}.script-workspace-step small{color:#777;white-space:nowrap;font-size:10px}.script-workspace-summary{color:#8f8f8f;flex-direction:column;justify-self:end;align-items:flex-end;font-size:10px;display:flex}.script-workspace-summary strong{color:#efefef;font-size:13px}.script-workspace-actions{background:#151515;border-bottom:1px solid #242424;align-items:center;gap:3px;height:46px;padding:0 20px;display:flex}.script-workspace-actions button,.script-stage-toolbar button,.script-compose-actions button{color:#b8b8b8;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:6px;height:30px;padding:0 10px;font-size:11px;display:inline-flex}.script-workspace-actions button:hover,.script-stage-toolbar button:hover,.script-compose-actions button:hover{color:#fff;background:#ffffff14}.script-workspace-actions button:disabled,.script-stage-toolbar button:disabled{opacity:.4;cursor:default}.script-table-root,.script-assets-stage,.script-prompts-stage{background:#171717;border:1px solid #333;border-radius:8px;flex-direction:column;width:100%;height:100%;min-height:0;display:flex;overflow:hidden}.script-shot-table{flex:1;min-width:0;min-height:0;overflow:auto}.script-shot-row{border-bottom:1px solid #2b2b2b;grid-template-columns:62px 70px minmax(230px,2.1fr) 94px 130px 110px 120px 150px minmax(180px,1.5fr) 120px 150px 130px 58px;align-items:stretch;min-width:1680px;display:grid}.script-shot-header{z-index:3;color:#8c8c8c;background:#1d1d1d;min-height:38px;font-size:10px;position:sticky;top:0}.script-shot-header>span{border-right:1px solid #2e2e2e;align-items:center;padding:0 9px;display:flex}.script-shot-rows .script-shot-row{min-height:88px}.script-shot-row>input,.script-shot-row>textarea,.script-shot-row>select,.script-shot-row>label,.script-shot-row>span,.script-shot-row>button{color:#d0d0d0;background:0 0;border:0;border-right:1px solid #292929;border-radius:0;outline:0;min-width:0;font-size:11px}.script-shot-row>input,.script-shot-row>select{padding:0 9px}.script-shot-row>textarea{resize:none;min-height:88px;padding:10px 9px;line-height:1.55}.script-shot-row>input:focus,.script-shot-row>textarea:focus,.script-shot-row>select:focus{background:#202020;box-shadow:inset 0 0 0 1px #4b4b4b}.script-shot-row>input::placeholder,.script-shot-row>textarea::placeholder{color:#5c5c5c;text-align:center}.script-shot-confirm{color:#a0a0a0;cursor:pointer;place-items:center;width:100%;display:grid}.script-shot-confirm.is-confirmed{color:#171717;background:#ececec}.script-duration-cell{align-items:center;padding:0 8px;display:flex}.script-duration-cell input{color:#d0d0d0;background:0 0;border:0;outline:0;width:38px;padding:0;font-size:11px}.script-duration-cell span{color:#777}.script-shot-row>span:not(.script-workspace-step-ring){color:#747474;text-align:center;justify-content:center;align-items:center;padding:0 8px;display:flex}.script-shot-row>span.is-ready{color:#c7e0cc}.script-row-delete{color:#777;cursor:pointer;place-items:center;padding:0;display:grid}.script-row-delete:hover:not(:disabled){color:#fff;background:#ffffff12}.script-row-delete:disabled{opacity:.25;cursor:default}.script-stage-footer>button{color:#d6d6d6;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:6px;height:32px;padding:0 11px;font-size:11px;display:inline-flex}.script-stage-toolbar{border-bottom:1px solid #303030;flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding:0 18px;display:flex}.script-stage-toolbar>div:first-child{flex-direction:column;gap:2px;display:flex}.script-stage-toolbar strong{color:#dedede;font-size:12px}.script-stage-toolbar span{color:#777;font-size:10px}.script-stage-toolbar>button,.script-compose-actions .is-primary{color:#171717;background:#ededed;font-weight:600}.script-stage-toolbar>button:hover,.script-compose-actions .is-primary:hover{color:#111;background:#fff}.script-asset-grid{flex:1;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px;min-height:0;padding:14px;display:grid;overflow:auto}.script-asset-card{background:#1d1d1d;border:1px solid #343434;border-radius:8px;grid-template-columns:94px minmax(0,1fr) 34px;align-items:center;gap:11px;min-height:112px;margin:0;padding:9px;display:grid}.script-asset-preview{color:#5f5f5f;background:#242424;border-radius:6px;place-items:center;width:94px;height:94px;display:grid;overflow:hidden}.script-asset-preview img{object-fit:cover;width:100%;height:100%;display:block}.script-asset-loading{color:#bbb;flex-direction:column;align-items:center;gap:7px;font-size:10px;display:flex}.is-spinning{animation:.85s linear infinite spin}.script-asset-copy{min-width:0}.script-asset-copy>span{color:#7d7d7d;font-size:9px}.script-asset-copy strong{color:#e0e0e0;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:12px;display:block;overflow:hidden}.script-asset-copy p{color:#898989;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:34px;margin:7px 0 0;font-size:10px;line-height:1.65;display:-webkit-box;overflow:hidden}.script-asset-upload{color:#8b8b8b;cursor:pointer;border-radius:6px;place-items:center;width:30px;height:30px;display:grid}.script-asset-upload:hover{color:#fff;background:#ffffff14}.script-asset-upload span{display:none}.script-compose-actions{gap:4px;display:flex}.script-prompt-list{flex-direction:column;flex:1;gap:8px;min-height:0;padding:12px;display:flex;overflow:auto}.script-prompt-row{background:#1b1b1b;border:1px solid #303030;border-radius:8px;grid-template-columns:minmax(170px,.7fr) minmax(280px,1.3fr) minmax(280px,1.3fr);gap:12px;min-height:126px;padding:12px;display:grid}.script-prompt-row>div{flex-direction:column;min-width:0;display:flex}.script-prompt-row>div>span{color:#737373;font-family:ui-monospace,Consolas,monospace;font-size:10px}.script-prompt-row>div>strong{color:#ddd;text-overflow:ellipsis;white-space:nowrap;margin-top:9px;font-size:12px;font-weight:500;overflow:hidden}.script-prompt-row>div>small{color:#727272;margin-top:5px;font-size:10px}.script-prompt-row label{flex-direction:column;gap:6px;min-width:0;display:flex}.script-prompt-row label>span{color:#8b8b8b;font-size:10px}.script-prompt-row textarea{color:#ccc;resize:vertical;background:#151515;border:1px solid #343434;border-radius:6px;outline:0;flex:1;min-width:0;min-height:76px;padding:9px;font-size:10px;line-height:1.6}.script-prompt-row textarea:focus{border-color:#5a5a5a}.script-workspace-mobile-next{display:none}@media (width<=1180px){.api-key-control{width:200px}.top-actions>.ui-icon-button:nth-of-type(-n+4){display:none}}@media (width<=980px){.topbar{grid-template-columns:1fr auto}.brand-word,.brand-divider,.project-name{display:none}.canvas-selector{max-width:112px}.api-key-control{width:210px}.top-actions>.ui-icon-button:nth-of-type(-n+4){display:none}.workspace.agent-is-open .react-flow{width:100%}.agent-panel{width:min(390px,100%)}.canvas-bottom-left{width:auto;bottom:8px;left:8px}.asset-manager-button{flex-basis:32px;justify-content:center;width:32px;padding:0;font-size:0}.canvas-toolbar{gap:3px;max-width:calc(100% - 88px);padding:6px;bottom:8px}.canvas-toolbar>button,.tool-mode-control>button{width:30px;height:30px}.tool-mode-control{flex-basis:30px;width:30px;height:30px}.toolbar-divider{display:none}.add-node-popover{bottom:58px;left:8px;transform:none}.asset-panel{width:min(304px,100% - 16px);height:auto;min-height:0;top:62px;bottom:68px;left:8px}.history-panel-backdrop{align-items:stretch;padding:8px}.history-panel{border-radius:12px;width:100%;max-width:none;height:100%;min-height:0}.history-panel-header{flex-basis:56px;min-height:56px;padding:12px}.history-panel-toolbar{flex-direction:column;flex-basis:auto;align-items:flex-start;min-height:82px;padding:8px 12px 0}.history-media-tabs{gap:18px;width:100%;overflow-x:auto}.history-list-actions,.history-batch-actions{justify-content:flex-end;width:100%;overflow-x:auto}.history-panel-scroll{padding:14px 12px}.history-preview-backdrop{padding:0}.history-preview{width:85vw;max-width:85vw}.history-preview-stage{width:85vw;height:80vh}.history-preview-arrow{width:36px;height:36px}.history-preview-arrow.is-previous{left:8px}.history-preview-arrow.is-next{right:8px}.toolbox-panel{border-radius:12px}.toolbox-panel-header{padding-left:12px;padding-right:12px}.toolbox-tabs{gap:2px}.toolbox-tabs [role=tab]{padding-left:5px;padding-right:5px;font-size:13px}.toolbox-template-scroll{padding:12px}.toolbox-template-grid{gap:10px}.script-workspace-header{grid-template-columns:minmax(180px,.6fr) minmax(0,1.4fr);gap:12px}.script-workspace-summary{display:none}.script-workspace-step{min-width:84px;padding:5px}.script-workspace-step-wrap>i{width:26px}.script-workspace-step small{display:none}.script-prompt-row{grid-template-columns:minmax(150px,.6fr) minmax(260px,1fr)}.script-prompt-row label:last-child{grid-column:1/-1}}@media (width<=640px){.topbar{height:44px;padding:0 10px;top:8px}.workspace{height:100svh}.view-switch{width:66px;height:32px}.view-switch button{width:32px;min-width:32px;height:32px;padding:0}.credits-button{display:none}.api-key-control{width:34px;box-shadow:none;padding:2px;position:relative}.api-key-control input,.api-key-control .api-key-action{opacity:0;pointer-events:none;width:0;height:0;padding:0;position:absolute}.api-key-control:focus-within{width:calc(100vw - 20px);height:40px;box-shadow:var(--shadow);z-index:120;padding:4px;position:fixed;top:58px;right:10px}.api-key-control:focus-within input,.api-key-control:focus-within .api-key-action{opacity:1;pointer-events:auto;width:auto;height:30px;padding:0 6px;position:static}.api-key-control:focus-within input{flex:auto;min-width:0}.api-key-control:focus-within .api-key-action{flex:0 0 30px;width:30px;padding:0}.workflow-node{--node-long-edge:300px}.node-floating-title{width:100%}.generator-panel,.script-generator-panel{width:min(520px,100vw - 24px)}.settings-button{text-overflow:ellipsis;max-width:190px;padding:0 6px;font-size:11px;overflow:hidden}.settings-button>span:nth-child(2){text-overflow:ellipsis;overflow:hidden}.model-button{max-width:106px;padding:0 6px}.model-button-selected{max-width:72px}.generator-footer>.icon-button,.generator-footer>.credit-cost{display:none}.image-settings-popover,.video-settings-popover,.audio-settings-popover{width:min(330px,100vw - 24px)}.canvas-bottom-left .ui-icon-button:nth-of-type(n+3),.zoom-control-wrap,.canvas-toolbar>button:nth-child(6),.canvas-toolbar>button:nth-child(8),.canvas-toolbar>button:nth-child(9){display:none}.script-template-menu{bottom:42px;left:0}.script-node-toolbar button:nth-child(-n+3){width:30px;padding:0;font-size:0}.script-workspace-overlay{inset:60px 0 0}.script-workspace-header{grid-template-columns:1fr;min-height:70px;padding:7px 46px 7px 8px}.script-workspace-identity{display:none}.script-workspace-stepper{width:100%}.script-workspace-step{text-align:center;flex-direction:column;gap:3px;min-width:60px}.script-workspace-step-ring{width:22px;height:22px}.script-workspace-step strong{font-size:9px}.script-workspace-step-wrap>i{width:14px;margin:-13px 1px 0}.script-workspace-actions{padding:0 8px;overflow-x:auto}.script-workspace-actions button{flex:none}.script-workspace-content{padding:8px}.script-stage-toolbar{min-height:50px;padding:0 10px}.script-compose-actions button:first-child{display:none}.script-asset-grid{grid-template-columns:1fr;padding:8px}.script-prompt-row{grid-template-columns:1fr}.script-prompt-row label:last-child{grid-column:auto}.script-stage-footer{padding:0 10px}}.script-workspace-overlay{z-index:400;color:#f4f4f4;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0a0a0af2;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;animation:.16s ease-out script-workspace-in;position:fixed;inset:0}.script-workspace-shell{flex-direction:column;width:100%;height:100%;min-height:0;display:flex;overflow:hidden}.script-workspace-header{background:0 0;border:0;justify-content:center;align-items:flex-start;min-height:94px;padding:8px 64px;display:flex;position:relative}.script-workspace-stepper-shell{justify-content:center;align-items:center;min-width:0;height:56px;display:flex}.script-workspace-stepper{justify-content:center;align-items:center;width:auto;display:flex}.script-workspace-step-wrap{align-items:center;display:flex}.script-workspace-step-wrap>i{background:#3c3c3c;flex:0 0 120px;width:120px;height:1px;margin:0 6px}.script-workspace-step-wrap>i.is-complete{background:#d8d8d8}.script-workspace-step{color:#858585;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:8px;width:auto;min-width:125px;height:48px;padding:4px 8px;display:flex}.script-workspace-step-ring{color:#b0b0b0;background:#202020;border:1px solid #5a5a5a;border-radius:50%;flex:0 0 36px;place-items:center;width:36px;height:36px;font-size:13px;font-weight:500;display:grid}.script-workspace-step.is-active .script-workspace-step-ring{color:#fff;border-color:#f0f0f0}.script-workspace-step-text{flex-direction:column;gap:2px;min-width:0;display:flex}.script-workspace-step strong{color:#b8b8b8;white-space:nowrap;font-size:13px;font-weight:500;line-height:20px}.script-workspace-step.is-active strong,.script-workspace-step.is-complete strong{color:#f1f1f1}.script-workspace-step small{color:#777;white-space:nowrap;font-size:11px;line-height:16px}.script-workspace-summary{color:#969696;white-space:nowrap;font-size:12px;line-height:18px;display:block;position:absolute;bottom:8px;right:56px}.script-workspace-close{color:#999;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;width:28px;height:28px;padding:0;display:grid;position:absolute;top:32px;right:16px;transform:none}.script-workspace-close:hover{color:#fff;background:#ffffff14}.script-workspace-content{flex:1;min-width:0;min-height:0;padding:8px 24px 16px;overflow:hidden}.script-table-root,.script-assets-stage{background:#171717;border:1px solid #303030;border-radius:7px;flex-direction:column;width:100%;height:100%;min-height:0;display:flex;overflow:hidden}.script-shot-table{background:#171717;flex:1;min-width:0;min-height:0;overflow:auto}.script-shot-table table{table-layout:fixed;border-spacing:0;border-collapse:separate;color:#c9c9c9;width:100%;min-width:1680px}.script-shot-table th,.script-shot-table td{vertical-align:middle;border-bottom:1px solid #2b2b2b;border-right:1px solid #2b2b2b;padding:0;position:relative}.script-shot-table th:last-child,.script-shot-table td:last-child{border-right:0}.script-shot-table thead{z-index:8;position:sticky;top:0}.script-shot-table th{color:#8a8a8a;text-align:left;background:#1d1d1d;height:48px;padding:0 10px;font-size:11px;font-weight:400}.script-shot-table tbody tr{background:#171717;min-height:60px}.script-shot-table button,.script-shot-table input,.script-shot-table textarea{font:inherit}.script-shot-index-cell>div{justify-content:center;align-items:center;gap:2px;height:100%;display:flex}.script-shot-drag{color:#626262;cursor:grab;place-items:center;width:18px;height:30px;display:grid}.script-shot-drag:active{cursor:grabbing}.script-shot-index-cell button{color:#a6a6a6;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.script-shot-index-cell button:hover{background:#222;border-color:#555}.script-shot-index-cell button.is-confirmed{color:#141414;background:#eee}.script-shot-duration-cell label{justify-content:center;align-items:center;height:100%;display:flex}.script-shot-duration-cell input{color:#cfcfcf;text-align:right;appearance:textfield;background:0 0;border:0;outline:0;width:30px;padding:0}.script-shot-duration-cell input::-webkit-inner-spin-button{appearance:none;margin:0}.script-shot-duration-cell input::-webkit-outer-spin-button{appearance:none;margin:0}.script-shot-duration-cell span{color:#848484}.script-shot-text-cell>button,.script-shot-size-cell>button,.script-shot-prompt-cell>button{color:#686868;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;gap:4px;width:100%;height:100%;padding:8px 10px;display:flex;overflow:hidden}.script-shot-text-cell>button.has-value,.script-shot-size-cell>button.has-value{color:#c7c7c7;justify-content:flex-start}.script-shot-text-cell>button span,.script-shot-size-cell>button span,.script-shot-prompt-cell>button{text-overflow:ellipsis;overflow:hidden}.script-shot-text-cell>button span{-webkit-line-clamp:3;-webkit-box-orient:vertical;line-height:18px;display:-webkit-box}.script-shot-text-cell>button:hover,.script-shot-size-cell>button:hover,.script-shot-prompt-cell>button:hover{color:#e5e5e5;background:#202020}.script-shot-text-cell textarea{color:#e1e1e1;resize:none;background:#212121;border:0;outline:0;width:100%;height:100%;min-height:60px;padding:8px 10px;font-size:11px;line-height:18px}.script-shot-size-cell>button{justify-content:space-between}.script-shot-size-menu,.script-row-menu,.script-asset-menu{z-index:30;background:#252525;border:1px solid #383838;border-radius:7px;padding:5px;position:absolute;box-shadow:0 12px 32px #00000073}.script-shot-size-menu{grid-template-columns:repeat(2,minmax(0,1fr));width:120px;display:grid;top:calc(100% - 4px);left:4px}.script-shot-size-menu button,.script-row-menu button,.script-asset-menu button,.script-asset-menu label{color:#c4c4c4;cursor:pointer;text-align:left;white-space:nowrap;background:0 0;border:0;border-radius:5px;align-items:center;gap:6px;min-height:28px;padding:0 8px;font-size:11px;display:flex}.script-shot-size-menu button:hover,.script-shot-size-menu button.is-selected,.script-row-menu button:hover,.script-asset-menu button:hover,.script-asset-menu label:hover{color:#fff;background:#333}.script-row-menu button:disabled{opacity:.35;cursor:default}.script-row-menu .is-danger,.script-asset-menu .is-danger{color:#e18a8a}.script-shot-prompt-cell{background:#151a23}.script-shot-prompt-cell.is-prompt-stage{background:#111d31}.script-shot-prompt-cell>button{color:#6688c2;text-align:left;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;font-size:11px;line-height:18px;display:flex}.script-shot-prompt-cell>button>strong{color:#8aa9dc;font-size:10px;font-weight:500;line-height:14px}.script-shot-prompt-cell>button>span{color:#7995c1;text-overflow:ellipsis;white-space:nowrap;width:100%;overflow:hidden}.script-shot-prompt-cell>button.is-stale>strong{color:#e5b870}.script-shot-prompt-cell>button.is-generating>strong{color:#b6a7f3}.script-shot-menu-cell{text-align:center}.script-shot-menu-cell>button{color:#818181;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;width:32px;height:32px;padding:0;display:inline-grid}.script-shot-menu-cell>button:hover{color:#fff;background:#282828}.script-row-menu{width:126px;top:44px;right:7px}.script-stage-footer{color:#7d7d7d;background:#171717;border-top:0;flex:0 0 56px;justify-content:space-between;align-items:center;gap:16px;min-height:56px;padding:0 24px;font-size:11px;display:flex}.script-stage-footer>button{color:#c9c9c9;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:6px;min-width:92px;height:32px;padding:0 12px;font-size:12px;display:inline-flex}.script-stage-footer>button:hover{background:#ffffff12}.script-stage-footer>button.script-stage-primary{color:#151515;background:#f2f2f2;padding:0 16px;font-weight:500}.script-stage-footer>button.script-stage-primary:hover{background:#fff}.script-stage-footer>button:disabled{opacity:.42;cursor:default}.script-assets-scroll{flex:1;min-height:0;padding:22px 24px 28px;overflow:auto}.script-asset-group h2{color:#e0e0e0;margin:0 0 12px;font-size:14px;font-weight:500}.script-asset-grid{grid-template-columns:repeat(auto-fill,277px);justify-content:flex-start;gap:12px;padding:0;display:grid;overflow:visible}.script-add-asset-card,.script-asset-card{border-radius:7px;width:277px;height:200px;margin:0}.script-add-asset-card{color:#858585;cursor:pointer;background:#191919;border:1px dashed #505050;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:0;display:flex}.script-asset-card{background:#1b1b1b;border:1px solid #303030;flex-direction:column;display:flex;overflow:visible}.script-asset-preview{aspect-ratio:16/9;color:#666;background:#232323;border-radius:6px 6px 0 0;place-items:center;width:100%;height:auto;display:grid;position:relative;overflow:visible}.script-asset-preview img{object-fit:cover;border-radius:inherit;width:100%;height:100%;display:block}.script-asset-placeholder,.script-asset-loading{color:#777;flex-direction:column;align-items:center;gap:7px;font-size:11px;display:flex}.script-asset-menu-trigger{color:#e0e0e0;cursor:pointer;background:#0c0c0ca6;border:0;border-radius:6px;place-items:center;width:28px;height:28px;padding:0;display:grid;position:absolute;top:8px;right:8px}.script-asset-menu{width:126px;top:40px;right:8px}.script-asset-copy{justify-content:space-between;align-items:center;gap:8px;min-width:0;height:44px;padding:0 10px;display:flex}.script-asset-copy strong{color:#d7d7d7;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:12px;font-weight:500;overflow:hidden}.script-asset-copy span{color:#707070;flex:none;font-size:10px}.script-asset-footer-copy{align-items:center;gap:10px;min-width:0;display:flex}.script-asset-footer-copy strong{color:#b5b5b5;font-size:11px;font-weight:400}.script-asset-footer-copy>button{color:#d7d7d7;cursor:pointer;background:#252525;border:1px solid #444;border-radius:6px;align-items:center;gap:6px;height:30px;padding:0 10px;font-size:11px;display:inline-flex}.script-asset-footer-copy>button:disabled{opacity:.45}.script-dialog-backdrop{z-index:520;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#000000a8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.script-asset-dialog,.script-prompt-dialog{background:#242424;border:1px solid #383838;border-radius:8px;flex-direction:column;width:min(800px,100vw - 48px);max-height:min(611px,100dvh - 48px);display:flex;overflow:visible;box-shadow:0 24px 72px #00000094}.script-asset-dialog{height:min(611px,100dvh - 48px)}.script-asset-dialog>header,.script-prompt-dialog>header{border-bottom:1px solid #353535;justify-content:space-between;align-items:center;gap:16px;min-height:56px;padding:0 18px 0 20px;display:flex}.script-asset-dialog>header strong,.script-prompt-dialog>header strong{color:#ededed;font-size:14px;font-weight:500}.script-prompt-dialog>header>div{flex-direction:column;gap:2px;display:flex}.script-prompt-dialog>header span{color:#777;font-size:10px}.script-asset-dialog>header button,.script-prompt-dialog>header button{color:#909090;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;width:28px;height:28px;padding:0;display:grid}.script-asset-dialog>header button:hover,.script-prompt-dialog>header button:hover{color:#fff;background:#333}.script-asset-dialog-tabs{border-bottom:1px solid #333;align-items:flex-end;gap:20px;height:48px;padding:0 20px;display:flex}.script-asset-dialog-tabs button{color:#8d8d8d;cursor:pointer;background:0 0;border:0;height:48px;padding:0;font-size:12px;position:relative}.script-asset-dialog-tabs button.is-active{color:#fff}.script-asset-dialog-tabs button.is-active:after{content:"";background:#fff;height:2px;position:absolute;bottom:0;left:0;right:0}.script-asset-dialog-content{flex:1;min-height:0;padding:18px 20px 20px;overflow:auto}.script-asset-ai-panel{flex-direction:column;gap:12px;height:100%;display:flex}.script-asset-ai-panel>input{color:#e5e5e5;background:#1c1c1c;border:1px solid #3c3c3c;border-radius:6px;outline:0;width:100%;height:36px;padding:0 11px;font-size:12px}.script-asset-ai-panel>input:focus{border-color:#626262}.script-asset-prompt-editor{background:#1b1b1b;border:1px solid #3b3b3b;border-radius:7px;flex:1;min-height:0;padding:12px}.script-asset-prompt-editor .mention-prompt-editor-wrap,.script-asset-prompt-editor .magic-prompt-editor{height:100%;min-height:0;max-height:none}.script-asset-prompt-editor .magic-prompt-editor{color:#e6e6e6;padding:0;font-size:13px;font-weight:400;line-height:1.7}.script-asset-ai-controls{align-items:center;gap:8px;min-height:42px;display:flex}.script-asset-ai-controls .model-button,.script-asset-ai-controls .settings-button{height:32px}.script-asset-ai-controls .settings-button>span:nth-child(2){max-width:180px}.script-asset-credit{color:#999;align-items:center;gap:4px;margin-left:auto;font-size:11px;display:inline-flex}.script-dialog-primary{color:#141414;cursor:pointer;background:#f1f1f1;border:0;border-radius:6px;height:34px;padding:0 16px;font-size:12px;font-weight:500}.script-dialog-primary:disabled{opacity:.38;cursor:default}.script-canvas-image-list{grid-template-columns:repeat(auto-fill,minmax(156px,1fr));gap:12px;display:grid}.script-canvas-image-list>button{color:#c4c4c4;cursor:pointer;text-align:left;background:#1b1b1b;border:1px solid #363636;border-radius:7px;flex-direction:column;gap:7px;min-width:0;padding:0;display:flex;overflow:hidden}.script-canvas-image-list>button:hover{border-color:#666}.script-canvas-image-list img{aspect-ratio:16/9;object-fit:cover;width:100%;display:block}.script-canvas-image-list span{text-overflow:ellipsis;white-space:nowrap;padding:0 9px 9px;font-size:11px;overflow:hidden}.script-asset-empty,.script-local-upload{color:#777;border:1px dashed #454545;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:320px;display:flex}.script-local-upload{cursor:pointer}.script-local-upload:hover{color:#c8c8c8;border-color:#6a6a6a}.script-local-upload strong{color:inherit;font-size:13px;font-weight:500}.script-local-upload span{font-size:10px}.script-prompt-dialog{height:min(720px,100dvh - 48px)}.script-prompt-dialog-editors{flex:1;grid-template-columns:1fr 1fr;gap:12px;min-height:0;padding:16px 20px 18px;display:grid;overflow:hidden}.script-prompt-dialog-editors>.script-prompt-dialog-field{flex-direction:column;gap:8px;min-width:0;min-height:0;display:flex}.script-prompt-dialog-editors>.script-prompt-dialog-field>span{color:#d5d5d5;justify-content:space-between;align-items:center;font-size:11px;display:flex}.script-prompt-dialog-editors>.script-prompt-dialog-field>span strong{font-weight:500}.script-prompt-dialog-editors>.script-prompt-dialog-field>span em{color:#777;font-size:10px;font-style:normal}.script-prompt-dialog-editors>.script-prompt-dialog-field>span em.is-synced{color:#82b892}.script-prompt-dialog-editors>.script-prompt-dialog-field>span em.is-stale{color:#d6a75f}.script-prompt-dialog-editors>.script-prompt-dialog-field>span em.is-generating{color:#aa9ae9}.script-prompt-dialog-editor{flex:1;min-height:0}.script-prompt-dialog-editor .mention-prompt-editor-wrap{height:100%}.script-prompt-dialog-editor .magic-prompt-editor{color:#e6e6e6;background:#181818;border:1px solid #3b3b3b;border-radius:7px;height:100%;min-height:0;max-height:none;padding:12px;font-size:13px;font-weight:400;line-height:1.75}.script-prompt-dialog>footer{border-top:1px solid #353535;justify-content:flex-end;align-items:center;height:56px;padding:0 20px;display:flex}.script-prompt-dialog>footer button{color:#141414;cursor:pointer;background:#f1f1f1;border:0;border-radius:6px;height:32px;padding:0 16px}.script-prompt-footer-actions{align-items:center;gap:8px;display:flex}.script-prompt-footer-actions>.script-stage-primary{color:#151515;cursor:pointer;background:#f2f2f2;border:0;border-radius:6px;justify-content:center;align-items:center;gap:6px;min-width:166px;height:32px;padding:0 14px;font-size:12px;font-weight:500;display:inline-flex}.script-prompt-footer-actions>.script-stage-primary:hover{background:#fff}.script-prompt-footer-actions>.script-stage-primary:disabled{opacity:.42;cursor:default}.script-prompt-mode-control{background:#202020;border:1px solid #393939;border-radius:6px;align-items:center;height:32px;padding:2px;display:inline-flex}.script-prompt-mode-control button{color:#858585;cursor:pointer;background:0 0;border:0;border-radius:4px;align-items:center;gap:5px;height:26px;padding:0 10px;font-size:11px;display:inline-flex}.script-prompt-mode-control button:hover{color:#d7d7d7}.script-prompt-mode-control button.is-active{color:#eee;background:#353535}.script-prompt-mode-control button:disabled{cursor:default;opacity:.45}.workflow-node-script .node-card{box-shadow:none;background:#171717;border-color:#363636;border-radius:12px;overflow:hidden}.workflow-node-script.is-selected .node-card{box-shadow:none;border-color:#363636}.workflow-node-script.is-script-chooser .node-card{box-shadow:none;background:#262626;border-color:#363636;border-radius:12px;outline:none;overflow:hidden}.workflow-node-script.is-script-chooser .lib-handle-dot{opacity:0}.workflow-node-script.is-script-chooser:hover .lib-handle-dot{opacity:1}.workflow-node-script.is-script-generating .node-card{box-shadow:none;background:#171717;border-color:#363636;border-radius:12px;outline:none;overflow:hidden}.script-generation-state{flex-direction:column;justify-content:space-between;width:100%;height:100%;padding:12px 12px 13px;display:flex}.script-generation-skeleton{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:24px;gap:8px;display:grid}.script-generation-skeleton>span{background:#373737;border-radius:4px;animation:1.4s ease-in-out infinite script-generation-pulse}.script-generation-skeleton>span:nth-child(3n+2){animation-delay:90ms}.script-generation-skeleton>span:nth-child(3n){animation-delay:.18s}.script-generation-status{color:#f4f4f4;white-space:nowrap;background:#121212;border:1px solid #7d7d7d;border-radius:7px;justify-content:center;align-self:center;align-items:center;gap:10px;min-width:152px;height:32px;padding:0 13px;display:inline-flex}.script-generation-status strong,.script-generation-status button{letter-spacing:0;font-family:inherit;font-size:13px;line-height:1}.script-generation-status strong{font-weight:600}.script-generation-status button{color:#999;cursor:pointer;background:0 0;border:0;padding:0;font-weight:400}.script-generation-status button:hover{color:#d4d4d4}@keyframes script-generation-pulse{0%,to{opacity:1}50%{opacity:.72}}@media (prefers-reduced-motion:reduce){.script-generation-skeleton>span{animation:none}}.script-body{padding:68px 32px 32px}.script-open-button{background:#3a3a3a;border-radius:7px;height:40px;font-size:13px;font-weight:500}.script-node-toolbar button:disabled{opacity:.35;cursor:default}@media (width<=900px){.script-workspace-header{min-height:88px;padding-left:8px;padding-right:48px;overflow-x:auto}.script-workspace-stepper-shell{min-width:610px}.script-workspace-step-wrap>i{flex-basis:62px;width:62px}.script-workspace-summary{display:none}.script-workspace-close{background:#202020;top:12px;right:8px}.script-workspace-content{padding:8px}.script-assets-scroll{padding:16px 12px 22px}.script-asset-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}.script-add-asset-card,.script-asset-card{width:100%}}@media (width<=640px){.script-workspace-overlay{inset:0}.script-workspace-header{min-height:78px;padding-top:4px}.script-workspace-stepper-shell{min-width:500px;height:54px}.script-workspace-step{text-align:left;flex-direction:row;gap:7px;min-width:110px}.script-workspace-step-ring{flex-basis:30px;width:30px;height:30px}.script-workspace-step strong{font-size:11px}.script-workspace-step small{font-size:9px}.script-workspace-step-wrap>i{flex-basis:28px;width:28px;margin:0 2px}.script-stage-footer{padding:0 10px}.script-stage-footer>button{min-width:0}.script-stage-footer>button.script-stage-primary span{text-overflow:ellipsis;white-space:nowrap;max-width:130px;overflow:hidden}.script-asset-footer-copy strong,.script-asset-footer-copy>span{display:none}.script-asset-dialog,.script-prompt-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.script-asset-dialog{height:calc(100dvh - 16px)}.script-dialog-backdrop{padding:8px}.script-asset-ai-controls{flex-wrap:wrap}.script-asset-credit{margin-left:0}.script-dialog-primary{margin-left:auto}.script-prompt-dialog-editors{grid-template-columns:1fr;overflow:auto}.script-prompt-dialog-editors>.script-prompt-dialog-field{min-height:250px}.script-prompt-footer-actions{min-width:0;margin-left:auto}.script-prompt-mode-control button{padding:0 7px}.script-prompt-footer-actions>.script-stage-primary{min-width:0;max-width:155px}.script-canvas-image-list{grid-template-columns:repeat(2,minmax(0,1fr))}}.script-workspace-overlay{-webkit-backdrop-filter:none;backdrop-filter:none;background:#090909}.script-workspace-header{flex:0 0 64px;min-height:64px;padding:8px 56px}.script-workspace-stepper-shell,.script-workspace-stepper{height:48px}.script-workspace-step{border-radius:8px;gap:8px;min-width:137px;height:48px;padding:4px 8px}.script-workspace-step-wrap:nth-child(2) .script-workspace-step{min-width:176px}.script-workspace-step-wrap:nth-child(3) .script-workspace-step{min-width:125px}.script-workspace-step-wrap>i{background:#343434;flex-basis:120px;width:120px;margin:0 6px}.script-workspace-step:hover,.script-workspace-step.is-active{background:#1d1d1d}.script-workspace-step-ring{color:#b8b8b8;background:0 0;border:2px solid #4a4a4a;flex-basis:36px;width:36px;height:36px}.script-workspace-step-ring-label{z-index:1;place-items:center;display:grid;position:relative}.script-workspace-step-ring.is-running{background:conic-gradient(#f59a23 var(--script-step-progress), #4a4a4a var(--script-step-progress));border:0;position:relative}.script-workspace-step-ring.is-running:before{content:"";background:#1d1d1d;border-radius:50%;position:absolute;inset:2px}.script-workspace-step.is-active .script-workspace-step-ring{border-color:#666}.script-workspace-step.is-complete .script-workspace-step-ring{color:#181818;background:#fff;border-color:#fff}.script-workspace-step strong{font-size:13px;line-height:20px}.script-workspace-step small{font-size:11px;line-height:16px}.script-workspace-summary{color:#ddd;font-size:12px;line-height:18px;top:23px;bottom:auto;right:56px}.script-workspace-close{color:#8b8b8b;top:18px;right:16px}.script-workspace-content{padding:8px 24px 16px}.script-table-root{background:#171717;border-color:#303030;border-radius:7px}.script-shot-table th{color:#a0a0a0;background:#202020;height:48px;padding:0 12px;font-size:12px;line-height:16px}.script-shot-table th.is-prompt-stage{color:#a0a0a0;background:#202020}.script-shot-table tbody tr{background:#171717}.script-shot-table tbody tr:hover{background:#1a1a1a}.script-shot-table tbody tr.has-row-color[data-row-color=red]{box-shadow:inset 3px 0 #ff5a5f}.script-shot-table tbody tr.has-row-color[data-row-color=yellow]{box-shadow:inset 3px 0 #ffb300}.script-shot-table tbody tr.has-row-color[data-row-color=green]{box-shadow:inset 3px 0 #12cfa0}.script-shot-table tbody tr.has-row-color[data-row-color=blue]{box-shadow:inset 3px 0 #22b5e8}.script-shot-table tbody tr.has-row-color[data-row-color=gray]{box-shadow:inset 3px 0 #bdbdbd}.script-shot-table td{height:61px}.script-shot-index-cell>div{justify-content:flex-start;gap:12px}.script-shot-drag{color:#5d5d5d;width:18px}.script-shot-index{color:#aaa;text-align:center;min-width:8px;font-size:12px;line-height:16px}.script-shot-duration-cell>button{color:#d7d7d7;cursor:pointer;background:0 0;border:0;width:100%;height:100%;padding:0;font-size:12px;font-weight:600}.script-shot-duration-cell>button:hover{background:#202020}.script-shot-duration-cell input{color:#ddd;font-size:12px;font-weight:600}.script-shot-text-cell>button,.script-shot-size-cell>button{color:#767676;justify-content:flex-start;padding:6px 4px;font-size:12px;line-height:18px}.script-shot-size-cell>button{justify-content:space-between;padding-right:10px}.script-shot-text-cell>button.has-value,.script-shot-size-cell>button.has-value{color:#dedede}.script-shot-text-cell textarea{min-height:61px;padding:6px 4px;font-size:12px;line-height:18px}.script-shot-prompt-cell,.script-shot-prompt-cell.is-prompt-stage{background:#171717}.script-shot-prompt-cell>button{color:#777;text-align:center;white-space:nowrap;justify-content:center;align-items:center;padding:0 4px;font-size:12px;line-height:16px}.script-shot-prompt-cell>button.is-ready{color:#cfcfcf}.script-shot-prompt-cell>button.is-generating{color:#b8a9ef}.script-shot-prompt-cell>button.is-error{color:#e18a8a}.script-shot-menu-cell>button{border-radius:4px;width:20px;height:20px}.script-row-menu{z-index:9999;background:#262626;border-color:#363636;border-radius:6px;width:176px;padding:4px 0;position:fixed;box-shadow:0 10px 15px -3px #00000052}.script-row-menu>span{color:#ffffff73;align-items:center;height:29px;padding:8px 12px 4px;font-size:11px;line-height:17px;display:flex}.script-row-colors{align-items:center;gap:6px;height:32px;padding:6px 12px;display:flex}.script-row-color{cursor:pointer;background:#888;border:0;border-radius:50%;flex:0 0 20px;width:20px;height:20px;min-height:20px;padding:0}.script-row-menu .script-row-color{color:#fff;border-radius:50%;place-items:center;width:20px;height:20px;min-height:20px;padding:0;display:grid}.script-row-color.is-clear{background:#353535;border:1px solid #555;position:relative}.script-row-color.is-clear:after{content:"";background:#f25c62;width:14px;height:1px;position:absolute;top:8px;left:2px;transform:rotate(-45deg)}.script-row-color.is-clear.is-selected:after{opacity:.75}.script-row-color.is-red{background:#ff5b61}.script-row-color.is-yellow{background:#ffb400}.script-row-color.is-green{background:#0fcf9c}.script-row-color.is-blue{background:#20b7e9}.script-row-color.is-gray{background:#c1c1c1}.script-row-color:hover,.script-row-color.is-selected{outline-offset:0;outline:1px solid #ffffff52;transform:scale(1.05)}.script-row-menu-divider{background:#ffffff1a;height:1px;margin:4px 0}.script-row-menu>button.is-danger{color:#f53f3f;border-radius:0;width:100%;min-height:28px;margin:0;padding:0 12px;font-size:12px;line-height:16px}.script-stage-footer{flex-basis:56px;min-height:56px;padding:0 24px}.script-stage-footer>button{border-radius:8px;height:32px}.script-stage-footer>button.script-stage-primary{padding:0 20px}.script-dialog-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#000000ad}.script-prompt-dialog{background:#212121;border:0;border-radius:12px;width:min(760px,100vw - 32px);height:min(770px,100dvh - 32px);max-height:none;overflow:hidden}.script-prompt-dialog>header{border-color:#353535;flex:0 0 49px;min-height:49px;padding:0 16px}.script-prompt-dialog>header>div{flex-direction:row;align-items:center;gap:4px}.script-prompt-dialog>header strong{font-size:14px;line-height:20px}.script-prompt-dialog>header svg{color:#8f8f8f}.script-prompt-dialog-editors{flex-direction:column;gap:16px;padding:16px;display:flex}.script-prompt-dialog-editors>.script-prompt-dialog-field{flex:1 1 0;gap:8px}.script-prompt-dialog-editors>.script-prompt-dialog-field>span{color:#fff;min-height:20px;font-size:13px;line-height:20px}.script-prompt-dialog-editors>.script-prompt-dialog-field>span em{color:#888;font-size:11px;line-height:16px}.script-prompt-dialog-editors>.script-prompt-dialog-field>span em.is-limit{color:#d6a75f}.script-prompt-dialog-editor .magic-prompt-editor{color:#f7f7f7;background:0 0;border:0;border-radius:4px;height:100%;padding:4px 8px;font-size:12px;line-height:1.4}.script-prompt-dialog-editor{background:#141414;border:1px solid #363636;border-radius:12px;overflow:hidden}.script-prompt-dialog-editor .mention-prompt-editor-wrap{box-sizing:border-box;padding:4px}.script-prompt-dialog-editor .magic-prompt-editor[data-empty=true]:before{color:#919191;font-size:14px;font-weight:400;line-height:1.8}.script-prompt-dialog>footer{flex:0 0 57px;justify-content:space-between;height:57px;padding:0 16px}.script-prompt-dialog>footer .model-button{height:32px}.script-prompt-dialog-actions{align-items:center;gap:8px;display:flex}.script-prompt-mode-radio{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;border:0;flex:none;align-items:center;gap:12px;min-width:0;margin:0;padding:0;display:flex}.script-prompt-mode-radio label{color:#f7f7f7;cursor:pointer;white-space:nowrap;align-items:center;gap:6px;font-size:12px;line-height:16px;display:flex}.script-prompt-mode-radio input{accent-color:#f7f7f7;cursor:pointer;flex:0 0 14px;width:14px;height:14px;margin:0}.script-prompt-mode-radio input:disabled,.script-prompt-mode-radio input:disabled+*{cursor:default;opacity:.5}.script-prompt-credit{color:#aaa;align-items:center;gap:3px;font-size:11px;display:inline-flex}.script-prompt-dialog-actions>button{color:#171717;cursor:pointer;background:#fff;border:0;border-radius:8px;align-items:center;gap:8px;height:32px;padding:0 12px;font-size:12px;font-weight:400;display:inline-flex}.script-prompt-dialog-actions>button:disabled{opacity:.5;cursor:default}.script-assets-stage{background:#090909;border:0;border-radius:0;width:calc(100% + 48px);height:calc(100% + 24px);margin:-8px -24px -16px}.script-assets-scroll{--script-asset-card-width:277px;--script-asset-preview-height:156px;--script-add-asset-size:156px;--script-asset-column-gap:12px;scrollbar-gutter:stable;padding:16px 24px 32px}.script-global-style{color:#a6a6a6;align-items:center;gap:8px;min-height:22px;margin-bottom:20px;font-size:12px;line-height:18px;display:flex}.script-global-style strong{color:#38cbe8;background:#1381952e;border-radius:4px;flex:none;align-items:center;min-height:22px;padding:0 8px;font-size:11px;font-weight:600;line-height:22px;display:inline-flex}.script-asset-group+.script-asset-group{margin-top:30px}.script-asset-group h2{color:#f0f0f0;margin:0 0 10px 1px;font-size:13px;font-weight:600;line-height:20px}.script-asset-grid{align-items:flex-start;gap:14px var(--script-asset-column-gap);flex-wrap:wrap;display:flex}.script-asset-card{width:var(--script-asset-card-width);height:calc(var(--script-asset-preview-height) + 42px);background:0 0;border:0;border-radius:0;align-items:stretch;gap:0;min-height:0;padding:0;overflow:visible}.script-asset-preview-shell{width:100%;height:var(--script-asset-preview-height);position:relative}.script-asset-preview{color:#7b7b7b;cursor:pointer;background:#111;border:1px dashed #424242;border-radius:7px;place-items:center;width:100%;height:100%;padding:0;display:grid;position:relative;overflow:hidden}.script-asset-card.is-running .script-asset-preview{background:#151515;border-style:solid;border-color:#3f3f3f}.script-asset-preview:hover{color:#aaa;border-color:#666}.script-asset-preview img{object-fit:cover;width:100%;height:100%}.script-asset-placeholder{color:#7b7b7b;font-size:11px;line-height:16px}.script-asset-running-overlay{z-index:2;pointer-events:none;place-items:center;display:grid;position:absolute;inset:0}.script-asset-running-pill{color:#f2f2f2;pointer-events:auto;background:#191919eb;border:1px solid #737373;border-radius:7px;align-items:center;gap:8px;min-height:28px;padding:3px 7px 3px 9px;display:inline-flex;box-shadow:0 4px 14px #00000047}.script-asset-card .script-asset-running-pill{pointer-events:none}.script-asset-card .script-asset-running-pill button{pointer-events:auto}.script-asset-running-pill strong{white-space:nowrap;font-size:11px;font-weight:500;line-height:18px}.script-asset-running-pill button{color:#9b9b9b;cursor:pointer;background:0 0;border:0;padding:0;font-size:11px;line-height:18px}.script-asset-running-pill button:hover{color:#fff}.script-asset-menu-trigger{color:#ddd;background:#090909;border-radius:4px;width:20px;height:20px;top:8px;right:8px}.script-asset-copy{flex-direction:column;align-items:flex-start;gap:3px;width:100%;min-width:0;height:42px;padding:7px 2px 0;display:flex}.script-asset-copy strong{color:#ededed;text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:13px;font-weight:600;line-height:17px;overflow:hidden}.script-asset-copy span{color:#828282;text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:11px;line-height:15px;overflow:hidden}.script-add-asset-card{width:var(--script-add-asset-size);height:var(--script-add-asset-size);color:#737373;background:#0e0e0e;border-color:#343434;border-radius:7px;gap:6px;font-size:11px;line-height:16px}.script-add-asset-card:hover{color:#b5b5b5;background:#121212;border-color:#5a5a5a}@media (width>=1680px){.script-assets-scroll{--script-asset-card-width:300px;--script-asset-preview-height:169px;--script-add-asset-size:169px;--script-asset-column-gap:14px;padding-left:32px;padding-right:32px}}@media (width>=2300px){.script-assets-scroll{--script-asset-card-width:320px;--script-asset-preview-height:180px;--script-add-asset-size:180px;--script-asset-column-gap:16px}}.script-assets-stage>.script-stage-footer{background:#1d1d1d;border-top:1px solid #303030;flex-basis:65px;min-height:65px}.script-asset-footer-copy{gap:8px}.script-asset-footer-copy strong{color:#c9c9c9;font-size:11px;line-height:16px}.script-asset-warning{color:#ff9e00}.script-assets-stage>.script-stage-footer>.script-stage-primary{min-width:136px}.script-asset-drawer-backdrop{z-index:530;background:#000000ad;position:fixed;inset:0}.script-asset-editor-drawer{color:#eee;background:#242424;border-left:1px solid #363636;flex-direction:column;width:min(560px,100vw);height:100%;display:flex;position:absolute;top:0;right:0;box-shadow:-16px 0 48px #00000059}.script-asset-editor-drawer>header{border-bottom:1px solid #383838;flex:0 0 56px;justify-content:space-between;align-items:center;height:56px;padding:0 16px;display:flex}.script-asset-editor-drawer h2,.script-asset-editor-drawer h3{color:#f0f0f0;margin:0;font-size:13px;font-weight:500;line-height:20px}.script-asset-editor-drawer>header button{color:#ddd;cursor:pointer;background:0 0;border:0;place-items:center;width:24px;height:24px;padding:0;display:grid}.script-asset-editor-body{flex-direction:column;flex:1;gap:16px;min-height:0;padding:16px;display:flex}.script-asset-editor-body>section{flex-direction:column;gap:8px;display:flex}.script-asset-editor-preview{aspect-ratio:3/2;flex:none;width:100%;height:auto;min-height:0;position:relative}.script-asset-editor-image{color:#8b8b8b;cursor:pointer;background:#2b2b2b;border:1px dashed #555;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:100%;height:100%;padding:0;font-size:12px;display:flex;overflow:hidden}.script-asset-editor-image[aria-label*=生成中]{cursor:default;background:#353535;border-style:solid;border-color:#4a4a4a}.script-asset-editor-image img{object-fit:contain;width:100%;min-width:0;height:100%;min-height:0}.script-asset-editor-more{color:#ddd;cursor:pointer;background:#070707;border:0;border-radius:4px;place-items:center;width:28px;height:28px;padding:0;display:grid;position:absolute;top:8px;right:8px}.script-asset-editor-menu{z-index:4;background:#252525;border:1px solid #3a3a3a;border-radius:6px;width:140px;padding:5px;position:absolute;top:40px;right:8px;box-shadow:0 12px 32px #00000073}.script-asset-editor-menu button{color:#ddd;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:4px;align-items:center;width:100%;height:29px;padding:0 12px;font-size:12px;display:flex}.script-asset-editor-menu button:hover{background:#333}.script-asset-editor-menu button:disabled{opacity:.4;cursor:default}.script-asset-editor-menu i{background:#3b3b3b;height:1px;margin:4px 0;display:block}.script-asset-editor-menu button.is-danger{color:#ff575d}.script-asset-editor-body>label{flex-direction:column;gap:8px;display:flex}.script-asset-editor-body>label>span{color:#eee;font-size:13px;font-weight:500;line-height:20px}.script-asset-editor-body input,.script-asset-editor-body textarea{color:#eee;background:#303030;border:1px solid #0000;border-radius:7px;outline:0;width:100%;font-family:inherit;font-size:13px;line-height:20px}.script-asset-editor-body input{height:36px;padding:0 12px}.script-asset-description-field{flex:1;min-height:0}.script-asset-editor-body textarea{resize:none;flex:1;min-height:134px;padding:12px}.script-asset-editor-body input:focus,.script-asset-editor-body textarea:focus{border-color:#555}@media (width<=900px){.script-workspace-header{flex-basis:64px;min-height:64px}.script-workspace-content{padding:8px}.script-assets-stage{width:calc(100% + 16px);height:calc(100% + 16px);margin:-8px}.script-asset-editor-drawer{width:min(560px,100vw)}}@media (width<=640px){.script-workspace-header{padding:8px 48px 8px 8px}.script-workspace-stepper-shell{justify-content:center;width:100%;min-width:0}.script-workspace-stepper{justify-content:center;width:100%}.script-workspace-step-wrap:not(:has(.script-workspace-step.is-active)){display:none}.script-workspace-step-wrap>i{display:none}.script-workspace-step{min-width:0}.script-stage-footer:has(.script-prompt-footer-actions){flex-wrap:wrap;flex-basis:96px;align-content:center;gap:8px;min-height:96px;padding-top:8px;padding-bottom:8px}.script-prompt-footer-actions{flex:0 0 100%;justify-content:flex-end;width:100%;margin-left:0}.script-prompt-dialog-editors{overflow:auto}.script-prompt-dialog-editors>.script-prompt-dialog-field{min-height:220px}.script-prompt-dialog{height:min(720px,100dvh - 32px)}.script-prompt-dialog>footer{flex:0 0 88px;grid-template-rows:32px 32px;grid-template-columns:minmax(0,1fr);align-content:center;gap:8px;height:88px;min-height:88px;padding-top:8px;padding-bottom:8px;display:grid}.script-prompt-dialog>footer .model-button{justify-self:start}.script-prompt-dialog-actions{justify-self:end;max-width:100%;margin-left:auto}}.script-asset-image-dialog-backdrop{z-index:550;-webkit-backdrop-filter:none;backdrop-filter:none;background:#0000009e;padding:16px}.script-existing-asset-dialog{color:#f7f7f7;background:#212121;border:1px solid #363636;border-radius:12px;flex-direction:column;width:min(800px,100vw - 32px);height:min(611px,100dvh - 32px);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;display:flex;overflow:hidden;box-shadow:0 24px 72px #00000094}.script-existing-asset-dialog>header{background:#212121;border-bottom:1px solid #363636;justify-content:space-between;align-items:center;gap:16px;height:61px;min-height:61px;padding:16px 11px 16px 16px;display:flex}.script-existing-asset-dialog>header h2{color:#f7f7f7;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:14px;font-weight:500;line-height:24px;overflow:hidden}.script-existing-asset-dialog>header button{color:#a8a8a8;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:0 0 28px;place-items:center;width:28px;height:28px;padding:0;display:grid}.script-existing-asset-dialog>header button:hover{color:#fff;background:#ffffff14}.script-existing-asset-dialog-body{flex:1;min-height:0;padding:16px 0}.script-existing-asset-tabs{align-items:center;gap:24px;height:20px;margin-bottom:16px;padding:0 16px;display:flex}.script-existing-asset-tabs button{color:#919191;cursor:pointer;height:20px;font:inherit;background:0 0;border:0;padding:0;font-size:13px;font-weight:400;line-height:20px}.script-existing-asset-tabs button.is-active{color:#f7f7f7}.script-existing-asset-panel{width:100%;height:480px;overflow:visible}.script-existing-asset-ai{flex-direction:column;gap:8px;height:100%;min-height:0;padding:0 16px;display:flex}.script-existing-asset-prompt{background:#00000024;border:1px solid #363636;border-radius:12px;flex:1;min-height:0;padding:8px;overflow:hidden}.script-existing-asset-prompt .mention-prompt-editor-wrap,.script-existing-asset-prompt .magic-prompt-editor{width:100%;height:100%;min-height:0;max-height:none}.script-existing-asset-prompt .magic-prompt-editor{color:#fff;padding:4px;font-family:inherit;font-size:14px;font-weight:400;line-height:1.8}.script-existing-asset-prompt .magic-prompt-editor[data-empty=true]:before{color:#a8a8a8}.script-existing-asset-controls{align-items:center;gap:4px;height:52px;min-height:52px;padding:8px 0;display:flex}.script-existing-asset-controls-left{flex:1;align-items:flex-start;gap:4px;min-width:0;height:36px;padding:4px 0 0 4px;font-size:13px;display:flex;overflow:visible}.script-existing-asset-controls-left .model-button,.script-existing-asset-controls-left .settings-button{height:32px;font-family:inherit;font-size:13px;font-weight:400;line-height:1}.script-existing-asset-controls-left .model-button{max-width:180px}.script-existing-asset-controls-left .image-settings-control{min-width:0}.script-existing-asset-controls-left .settings-button>span:not(.settings-ratio-icon){text-overflow:ellipsis;min-width:0;max-width:210px;overflow:hidden}.script-existing-asset-generate{flex:none;align-items:center;gap:8px;height:32px;display:flex}.script-existing-asset-generate .script-asset-credit{color:#c5c5c5;margin-left:0;font-size:12px}.script-existing-asset-generate .script-dialog-primary{color:#171717;background:#f7f7f7;border-radius:8px;width:76px;height:32px;padding:0 12px;font-size:13px;font-weight:400}.script-existing-canvas-list{grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:12px;height:100%;min-height:0;padding:0 16px;display:grid;overflow:auto}.script-existing-canvas-list>button{color:#d0d0d0;cursor:pointer;text-align:left;background:#00000024;border:1px solid #363636;border-radius:8px;flex-direction:column;gap:7px;min-width:0;padding:0;display:flex;overflow:hidden}.script-existing-canvas-list>button:hover{border-color:#666}.script-existing-canvas-list img{aspect-ratio:16/9;object-fit:cover;width:100%;display:block}.script-existing-canvas-list>button span{text-overflow:ellipsis;white-space:nowrap;padding:0 9px 9px;font-size:12px;overflow:hidden}.script-existing-asset-empty{color:#919191;flex-direction:column;grid-column:1/-1;justify-content:center;align-items:center;gap:12px;height:100%;font-size:14px;line-height:22px;display:flex}.script-existing-asset-empty svg{color:#666}.script-existing-asset-upload{color:#f7f7f7;cursor:pointer;background:#00000024;border:1px dashed #525252;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:100%;margin:0 16px;padding:28px 45px;transition:border-color .14s,background-color .14s;display:flex}.script-existing-asset-upload:hover,.script-existing-asset-upload.is-dragging{background:#ffffff0a;border-color:#858585}.script-existing-asset-upload strong{font-size:13px;font-weight:400;line-height:20px}.script-existing-asset-upload span{color:#919191;font-size:12px;line-height:19px}@media (width<=640px){.script-asset-image-dialog-backdrop{padding:8px}.script-existing-asset-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px)}.script-existing-asset-dialog-body{overflow:hidden}.script-existing-asset-panel{height:calc(100% - 36px)}.script-existing-asset-controls{flex-wrap:wrap;align-items:flex-end;height:92px;min-height:92px}.script-existing-asset-controls-left{flex:0 0 100%;width:100%;padding-right:4px}.script-existing-asset-generate{margin-left:auto}.script-existing-canvas-list{grid-template-columns:repeat(2,minmax(0,1fr))}.script-existing-asset-upload{text-align:center;padding-inline:20px}}.script-workspace-header{flex-basis:64px;min-height:64px}.script-shot-table table{min-width:1530px}.script-shot-col-index{width:4.44%}.script-shot-col-duration{width:4.97%}.script-shot-col-description{width:24.31%}.script-shot-col-size{width:5.75%}.script-shot-col-lighting{width:11.05%}.script-shot-col-dialogue{width:17.84%}.script-shot-col-audio{width:9.74%}.script-shot-col-movement{width:9.87%}.script-shot-col-prompt{width:7.58%}.script-shot-col-actions{width:4.44%}
