@property --canvas-connection-target-angle{syntax:"<angle>";inherits:true;initial-value:0deg}.canvas-node-selection-state{position:relative;width:100%;height:100%}.canvas-lazy-state{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:56px;color:var(--canvas-theme-muted,#a1a1aa);font-size:12px;text-align:center}.canvas-lazy-state-node{box-sizing:border-box;height:100%;min-height:120px;border:1px solid color-mix(in srgb,currentColor 18%,transparent);border-radius:var(--radius-node,12px);background:var(--canvas-theme-surface,#18181b)}.canvas-lazy-error{flex-direction:column;color:var(--canvas-theme-danger,#ef4444)}.canvas-lazy-error button{padding:5px 10px;border:1px solid;border-radius:6px;color:inherit;background:transparent;cursor:pointer}.canvas-node-motion-shell{--canvas-connection-target-angle:0deg;--canvas-node-glow-core:color-mix(in srgb,var(--canvas-theme-ink,#ffffff) 92%,transparent);--canvas-node-glow-mid:color-mix(in srgb,var(--canvas-theme-ink,#ffffff) 48%,transparent);--canvas-node-glow-soft:color-mix(in srgb,var(--canvas-theme-ink,#ffffff) 16%,transparent);--canvas-node-glow-shadow:color-mix(in srgb,var(--canvas-theme-ink,#ffffff) 28%,transparent);position:relative;z-index:1;isolation:isolate;width:100%;height:100%;border-radius:var(--radius-node,12px);transform:none;transform-origin:center center;transform-style:preserve-3d;transition:transform .28s cubic-bezier(.22,1,.36,1)}.canvas-node-motion-shell:has(.prompt-composer){z-index:auto;isolation:auto}@media (prefers-color-scheme:light){.canvas-flow-shell[data-color-scheme=light] .canvas-node-motion-shell,.canvas-flow-shell[data-theme=light] .canvas-node-motion-shell,.canvas-node-motion-shell{--canvas-node-glow-core:color-mix(in srgb,var(--canvas-theme-accent,#8b8b8b) 64%,transparent);--canvas-node-glow-mid:color-mix(in srgb,var(--canvas-theme-accent,#8b8b8b) 28%,transparent);--canvas-node-glow-soft:color-mix(in srgb,var(--canvas-theme-accent,#8b8b8b) 9%,transparent);--canvas-node-glow-shadow:color-mix(in srgb,var(--canvas-theme-accent,#8b8b8b) 18%,transparent)}}.canvas-node-content-reveal{width:100%;height:100%;border-radius:inherit}.canvas-node-edit-lock-content[inert]{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.canvas-node-edit-lock-badge{background:var(--canvas-edit-lock-color,#2563eb);border-radius:4px;color:white;font-size:10px;left:8px;line-height:20px;max-width:calc(100% - 16px);overflow:hidden;padding:0 7px;pointer-events:none;position:absolute;text-overflow:ellipsis;top:-25px;white-space:nowrap;z-index:12}.canvas-node-motion-shell:before{position:absolute;inset:0;z-index:20;padding:1px;border-radius:inherit;content:"";opacity:0;pointer-events:none;transition:opacity .32s ease-out}.canvas-node-motion-shell:after{z-index:18;content:"";transition:opacity .26s ease-out}.canvas-node-connection-reflection,.canvas-node-motion-shell:after{position:absolute;inset:1px;border-radius:calc(var(--radius-node, 12px) - 1px);opacity:0;pointer-events:none}.canvas-node-connection-reflection{z-index:19;transition:opacity .32s ease-out}.canvas-node-entrance-border{position:absolute;left:0;top:0;z-index:21;box-sizing:border-box;width:100%;height:100%;border:1px solid var(--node-stroke);border-radius:var(--radius-node,12px);box-shadow:var(--shadow-node);content:"";opacity:0;pointer-events:none;transform-origin:left center}.canvas-node-motion-shell[data-node-entering=true] .canvas-node-entrance-border{opacity:1}.canvas-node-motion-shell[data-node-entering=true] .node-surface{border-color:transparent;box-shadow:none}.react-flow__node.is-connection-drop-target:not(.selected){z-index:25000!important}.react-flow__node.is-connection-drop-target .canvas-node-motion-shell{animation:canvas-connection-target-orbit 2s linear infinite}.react-flow__node.is-connection-drop-target .canvas-node-motion-shell:before{background:conic-gradient(from var(--canvas-connection-target-angle),transparent 0deg 154deg,var(--canvas-node-glow-soft) 166deg,var(--canvas-node-glow-mid) 190deg,var(--canvas-node-glow-core) 212deg,var(--canvas-node-glow-mid) 232deg,var(--canvas-node-glow-soft) 258deg,transparent 270deg 1turn);filter:drop-shadow(0 0 2px var(--canvas-node-glow-shadow));mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;opacity:.78;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor}.react-flow__node.is-connection-drop-target .canvas-node-connection-reflection{background:conic-gradient(from var(--canvas-connection-target-angle),transparent 0deg 154deg,transparent 166deg,var(--canvas-node-glow-soft) 188deg,var(--canvas-node-glow-mid) 212deg,var(--canvas-node-glow-soft) 236deg,var(--canvas-node-glow-soft) 260deg,transparent 272deg 1turn);-webkit-clip-path:inset(0 round calc(var(--radius-node, 12px) - 1px));clip-path:inset(0 round calc(var(--radius-node, 12px) - 1px));filter:blur(1.5px);mask:linear-gradient(90deg,#000 0,rgba(0,0,0,.45) 20%,transparent) left /5px 100% no-repeat,linear-gradient(270deg,#000 0,rgba(0,0,0,.45) 20%,transparent) right /5px 100% no-repeat,linear-gradient(180deg,#000 0,rgba(0,0,0,.45) 20%,transparent) top /100% 5px no-repeat,linear-gradient(0deg,#000 0,rgba(0,0,0,.45) 20%,transparent) bottom /100% 5px no-repeat;-webkit-mask:linear-gradient(90deg,#000 0,rgba(0,0,0,.45) 20%,transparent) left /5px 100% no-repeat,linear-gradient(270deg,#000 0,rgba(0,0,0,.45) 20%,transparent) right /5px 100% no-repeat,linear-gradient(180deg,#000 0,rgba(0,0,0,.45) 20%,transparent) top /100% 5px no-repeat,linear-gradient(0deg,#000 0,rgba(0,0,0,.45) 20%,transparent) bottom /100% 5px no-repeat}.react-flow__node.is-connection-drop-target .canvas-node-motion-shell:after{opacity:.42}.react-flow__node.is-connection-drop-target .canvas-node-connection-reflection{opacity:.38}.react-flow__node.is-connection-drop-left .canvas-node-motion-shell:after{box-shadow:inset 5px 0 5px -5px var(--canvas-node-glow-mid)}.react-flow__node.is-connection-drop-right .canvas-node-motion-shell:after{box-shadow:inset -5px 0 5px -5px var(--canvas-node-glow-mid)}.react-flow__node.is-connection-drop-top .canvas-node-motion-shell:after{box-shadow:inset 0 5px 5px -5px var(--canvas-node-glow-mid)}.react-flow__node.is-connection-drop-bottom .canvas-node-motion-shell:after{box-shadow:inset 0 -5px 5px -5px var(--canvas-node-glow-mid)}.react-flow__node.is-connection-drop-target .node-surface{border-color:transparent;box-shadow:none}.react-flow__node.is-connection-drop-invalid .canvas-node-motion-shell:before{opacity:.34}.react-flow__node.is-connection-drop-invalid .canvas-node-motion-shell:after{opacity:.2}.react-flow__node.is-connection-drop-invalid .canvas-node-connection-reflection{opacity:.16}.react-flow__node.is-connection-drop-left .canvas-node-motion-shell{transform:perspective(900px) translateX(-2px) scale(1.006) rotateY(-8deg);will-change:transform}.react-flow__node.is-connection-drop-right .canvas-node-motion-shell{transform:perspective(900px) translateX(2px) scale(1.006) rotateY(8deg);will-change:transform}.react-flow__node.is-connection-drop-top .canvas-node-motion-shell{transform:perspective(900px) translateY(-2px) scale(1.006) rotateX(8deg);will-change:transform}.react-flow__node.is-connection-drop-bottom .canvas-node-motion-shell{transform:perspective(900px) translateY(2px) scale(1.006) rotateX(-8deg);will-change:transform}@keyframes canvas-connection-target-orbit{to{--canvas-connection-target-angle:360deg}}@media (prefers-reduced-motion:reduce){.canvas-node-connection-reflection,.canvas-node-motion-shell,.canvas-node-motion-shell:after,.canvas-node-motion-shell:before{animation:none;transition:none}.react-flow__node.is-connection-drop-target .canvas-node-motion-shell{transform:none}.react-flow__node.is-connection-drop-target .canvas-node-connection-reflection{opacity:.14}}.node-try-actions{display:grid;grid-gap:4px;gap:4px;align-self:stretch;justify-items:start;width:100%;max-width:100%;color:var(--canvas-theme-ink-muted,rgba(255,255,255,.56));font-size:14px;line-height:20px;text-align:left}.node-try-actions--inline,.node-try-actions--overlay{position:static;font-size:14px}.node-try-actions__label{color:var(--canvas-theme-ink-soft,rgba(255,255,255,.4));margin-bottom:4px;font-size:14px;line-height:20px}.node-try-action{display:inline-flex;align-items:center;gap:8px;width:-moz-fit-content;width:fit-content;margin:0;padding:0;color:var(--canvas-theme-ink,rgba(255,255,255,.82));font:inherit;background:transparent;border:0;cursor:pointer}.node-try-action--text{cursor:default}.node-try-action--button:focus-visible,.node-try-action--button:hover,.node-try-action--file:focus-within,.node-try-action--file:hover{color:var(--canvas-theme-ink,rgba(255,255,255,.96));outline:none}.node-try-action--file{position:relative}.node-try-action svg{width:14px;height:14px;flex:none;color:var(--canvas-theme-ink-muted,rgba(255,255,255,.62));fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.node-try-action:focus-visible svg,.node-try-action:hover svg{color:var(--canvas-theme-ink,rgba(255,255,255,.9))}.node-try-action--file input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}.canvas-node-resizer-line.react-flow__resize-control.line{background:transparent;border-color:transparent;border-width:0}.canvas-node-resizer-line.react-flow__resize-control.line.left,.canvas-node-resizer-line.react-flow__resize-control.line.right{width:14px}.canvas-node-resizer-line.react-flow__resize-control.line.bottom,.canvas-node-resizer-line.react-flow__resize-control.line.top{height:14px}.canvas-node-resizer-handle.react-flow__resize-control.handle{width:14px;height:14px;background:transparent;border:0;border-radius:0;box-shadow:none}.node-card{position:relative;width:100%;height:100%;color:var(--node-text)}.node-title{position:absolute;left:4px;top:0;--node-title-font-size:13px;--node-title-height:var(--node-title-band,28px);--node-title-icon-size:14px;--node-title-line-height:20px;--node-title-status-icon-size:15px;display:flex;align-items:center;gap:4px;box-sizing:border-box;width:max-content;max-width:100%;height:var(--node-title-height);padding-bottom:8px;color:rgba(245,245,245,.72);font-size:var(--node-title-font-size);font-weight:420;line-height:var(--node-title-line-height);letter-spacing:0;pointer-events:none;transform:translateY(-100%);white-space:nowrap}.node-title-editable{pointer-events:auto}.node-title-editable:focus-within,.node-title-editable:hover,.react-flow__node.selected .node-title{color:rgba(255,255,255,.9)}.node-title-input,.node-title-label{min-width:0;flex:1 1 auto;max-width:calc(100% - var(--node-title-icon-size) - var(--node-title-status-icon-size) - 8px);color:inherit;font:inherit;letter-spacing:0}.node-title-metadata{display:inline-flex;min-width:0;flex:0 1 auto;align-items:center;gap:4px;margin-left:auto}.node-title-metadata:empty{display:none}.node-title-label{min-width:0;padding:0;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:transparent;border:0;border-radius:4px;cursor:text}.node-title-label:hover{color:rgba(255,255,255,.86)}.node-title-input{width:min(220px,calc(100% - var(--node-title-icon-size) - var(--node-title-status-icon-size) - 8px));height:var(--node-title-line-height);padding:0 6px;color:var(--node-title-input-text,rgba(255,255,255,.96));-webkit-text-fill-color:currentColor;caret-color:var(--node-title-input-caret,#b5b5b8);background:var(--node-title-input-surface,rgba(38,38,38,.96));border:1px solid var(--node-title-input-border,rgba(255,255,255,.18));border-radius:8px;box-shadow:0 1px 3px var(--node-title-input-shadow,rgba(0,0,0,.28));outline:0;transition:border-color .12s ease,box-shadow .12s ease}.node-title-input:focus{border-color:var(
    --node-title-input-focus-border,var(--node-stroke-strong,rgba(255,255,255,.54))
  );box-shadow:0 2px 6px var(--node-title-input-shadow,rgba(0,0,0,.28))}.node-title-icon{width:var(--node-title-icon-size);height:var(--node-title-icon-size);flex:0 0 var(--node-title-icon-size);fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.verified-dot{position:relative;width:var(--node-title-status-icon-size);height:var(--node-title-status-icon-size);flex:0 0 auto;border-radius:999px;background:var(--verified);box-shadow:0 0 0 1px rgba(255,255,255,.16)}.verified-dot:after{position:absolute;left:36%;top:18%;width:22%;height:44%;border:solid #fff;border-width:0 max(1px,calc(var(--node-title-status-icon-size) * .14)) max(1px,calc(var(--node-title-status-icon-size) * .14)) 0;content:"";transform:rotate(45deg)}.node-surface{position:relative;width:100%;height:100%;overflow:hidden;background:var(--node-surface);border:1px solid var(--node-stroke);border-radius:var(--radius-node);box-shadow:var(--shadow-node)}.node-generation-overlay{position:absolute;inset:0;z-index:24;display:flex;align-items:flex-end;justify-content:center;padding:0;border-radius:inherit;container-type:size;pointer-events:none}.node-generation-overlay[data-generation-state=finishing],.node-generation-overlay[data-generation-state=queued],.node-generation-overlay[data-generation-state=running]{align-items:center;padding:12px;pointer-events:auto;background:var(--node-surface,var(--canvas-theme-surface,rgb(28,31,34)))}.node-generation-overlay[data-generation-content=preserve][data-generation-state=finishing],.node-generation-overlay[data-generation-content=preserve][data-generation-state=queued],.node-generation-overlay[data-generation-content=preserve][data-generation-state=running]{background:transparent}.node-generation-overlay[data-generation-state=failed]{align-items:center;padding:12px;pointer-events:auto;background:var(--node-surface,var(--canvas-theme-surface,rgb(28,31,34)))}.node-generation-status-bar{position:relative;display:grid;width:100%;min-width:0;min-height:34px;grid-template-columns:14px minmax(0,1fr) auto;align-items:center;grid-gap:6px;gap:6px;padding:5px 10px;color:var(--canvas-theme-ink,rgba(255,255,255,.96));pointer-events:auto;background:color-mix(in srgb,var(--canvas-theme-surface,rgb(28,31,34)) 92%,transparent);border:0;border-top:1px solid var(--canvas-theme-border,rgba(255,255,255,.2));border-radius:0;box-shadow:none}.node-generation-status-bar[data-generation-state=finishing],.node-generation-status-bar[data-generation-state=queued],.node-generation-status-bar[data-generation-state=running]{width:auto;max-width:calc(100% - 24px);border:1px solid var(--canvas-theme-border,rgba(255,255,255,.2));border-radius:9px;box-shadow:var(--canvas-theme-shadow,0 10px 28px rgba(0,0,0,.28))}.generation-status-icon{width:14px;height:14px;color:#70b8aa;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}[data-generation-state=running]>.generation-status-icon{color:#5db8e8}[data-generation-state=finishing]>.generation-status-icon{color:#84c89a}[data-generation-state=failed]>.generation-status-icon{color:var(--canvas-theme-danger,#ff7a7a)}.node-generation-failure{position:relative;display:flex;width:100%;min-width:0;max-height:100%;max-width:420px;flex-direction:column;align-items:center;justify-content:safe center;gap:10px;padding:16px 20px;box-sizing:border-box;overflow-y:auto;color:var(--canvas-theme-ink,rgba(255,255,255,.96));pointer-events:auto;text-align:center}.node-generation-failure-icon{width:36px;height:36px;flex:0 0 36px;color:var(--canvas-theme-danger,#ff6b6b)}.node-generation-failure-title{color:var(--canvas-theme-danger,#ff6b6b);font-size:14px;font-weight:650;line-height:20px}.node-generation-failure-summary{max-width:90%;margin:0;color:var(--canvas-theme-ink-muted,rgba(255,255,255,.62));font-size:12px;line-height:1.5;overflow-wrap:anywhere}.node-generation-task-id{display:flex;max-width:90%;min-width:0;align-items:center;gap:4px;color:var(--canvas-theme-ink-muted,rgba(255,255,255,.48));font-size:10px;line-height:20px}.node-generation-task-id code{min-width:0;overflow:hidden;color:inherit;font:inherit;text-overflow:ellipsis;white-space:nowrap}.node-generation-detail-close,.node-generation-failure-dismiss,.node-generation-task-id-copy{display:inline-grid;place-items:center;padding:0;color:var(--canvas-theme-ink-muted,rgba(255,255,255,.5));background:transparent;border:0;border-radius:4px;cursor:pointer}.node-generation-task-id-copy{width:20px;height:20px;flex:0 0 20px}.node-generation-failure-dismiss{position:absolute;top:0;right:0;width:24px;height:24px}.node-generation-detail-close svg,.node-generation-failure-dismiss svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.node-generation-detail-close:focus-visible,.node-generation-detail-close:hover,.node-generation-failure-dismiss:focus-visible,.node-generation-failure-dismiss:hover,.node-generation-task-id-copy:focus-visible,.node-generation-task-id-copy:hover{color:var(--canvas-theme-ink,rgba(255,255,255,.92));background:var(--canvas-theme-surface-soft,rgba(255,255,255,.08));outline:none}.node-generation-failure-actions{display:flex;min-height:28px;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}.node-generation-failure-details-action,.node-generation-failure-primary{min-height:28px;padding:0 10px;font:inherit;font-size:11px;font-weight:600;line-height:26px;border-radius:6px;cursor:pointer}.node-generation-failure-details-action{color:var(--canvas-theme-ink-muted,rgba(255,255,255,.62));background:transparent;border:0}.node-generation-failure-primary{color:#fff;background:var(--canvas-theme-danger-solid,#b42318);border:1px solid color-mix(in srgb,var(--canvas-theme-danger-solid,#b42318) 82%,#000)}.node-generation-failure-details-action:focus-visible,.node-generation-failure-details-action:hover{color:var(--canvas-theme-ink,rgba(255,255,255,.96));background:var(--canvas-theme-surface-soft,rgba(255,255,255,.06));outline:none}.node-generation-failure-primary:focus-visible,.node-generation-failure-primary:hover:not(:disabled){filter:brightness(1.06);outline:none;box-shadow:0 0 0 2px color-mix(in srgb,var(--canvas-theme-danger,#e65353) 24%,transparent)}.node-generation-failure-primary:disabled{cursor:wait;opacity:.6}.node-generation-failure[data-generation-tone=guidance] .node-generation-failure-icon,.node-generation-failure[data-generation-tone=guidance] .node-generation-failure-title{color:var(--canvas-theme-warning,#a76419)}.node-generation-failure[data-generation-tone=guidance] .node-generation-failure-icon{padding:7px;box-sizing:border-box;background:color-mix(in srgb,var(--canvas-theme-warning,#a76419) 12%,transparent);border-radius:999px}.node-generation-failure[data-generation-tone=guidance] .node-generation-failure-primary{color:var(--canvas-theme-ink,#202124);background:color-mix(in srgb,var(--canvas-theme-warning,#a76419) 14%,var(--canvas-theme-surface,#ffffff));border-color:color-mix(in srgb,var(--canvas-theme-warning,#a76419) 35%,transparent)}.node-generation-failure[data-generation-tone=guidance] .node-generation-failure-primary:focus-visible,.node-generation-failure[data-generation-tone=guidance] .node-generation-failure-primary:hover:not(:disabled){box-shadow:0 0 0 2px color-mix(in srgb,var(--canvas-theme-warning,#a76419) 22%,transparent)}.generation-status-icon--spinning{animation:generation-status-spin 1.1s linear infinite}.generation-status-icon--spinning circle{opacity:.2}.node-generation-status-copy{display:flex;min-width:0;align-items:center;gap:6px}.node-generation-status-copy span,.node-generation-status-copy strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.node-generation-status-copy strong{flex:0 0 auto;font-size:11px;font-weight:700;line-height:14px}.node-generation-status-copy span{flex:1 1 auto;color:var(--canvas-theme-ink-muted,rgba(255,255,255,.62));font-size:10px;line-height:14px}.node-generation-status-bar[data-generation-state=failed] .node-generation-status-copy strong{color:var(--canvas-theme-danger,#ff7a7a)}.node-generation-status-actions{display:flex;align-items:center;gap:4px}.node-generation-detail-copy,.node-generation-status-action{min-height:24px;padding:0 5px;color:var(--canvas-theme-ink-muted,rgba(255,255,255,.66));font:inherit;font-size:10px;font-weight:650;line-height:24px;background:transparent;border:0;border-radius:4px;cursor:pointer}.node-generation-status-action--primary{color:var(--canvas-theme-accent-strong,rgba(255,255,255,.94));background:var(--canvas-theme-surface-soft,rgba(255,255,255,.12))}.node-generation-detail-copy:hover,.node-generation-status-action:hover:not(:disabled){color:var(--canvas-theme-ink,rgba(255,255,255,.96));background:var(--canvas-theme-surface-soft,rgba(255,255,255,.06))}.node-generation-detail-copy:focus-visible,.node-generation-status-action:focus-visible{color:var(--canvas-theme-ink,rgba(255,255,255,.96));background:var(--canvas-theme-surface-soft,rgba(255,255,255,.06));box-shadow:0 0 0 2px var(--canvas-theme-neutral-focus-ring,rgba(255,255,255,.28));outline:none}.node-generation-status-action:disabled{cursor:wait;opacity:.58}.node-generation-status-dismiss{display:inline-grid;width:24px;height:24px;min-width:24px;min-height:24px;flex:0 0 24px;place-items:center;padding:0;line-height:0}.node-generation-status-dismiss svg{display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.node-generation-progress{position:absolute;right:0;bottom:0;left:0;height:3px;overflow:hidden;background:color-mix(in srgb,var(--canvas-theme-border-strong,rgba(255,255,255,.2)) 48%,transparent);border-radius:0}.node-generation-progress-fill{display:block;height:100%;background:#5db8e8;border-radius:inherit;transition:width .24s ease}[data-generation-state=finishing] .node-generation-progress-fill{background:#84c89a}.node-generation-progress.is-indeterminate .node-generation-progress-fill{width:34%;animation:generation-progress-indeterminate 1.35s ease-in-out infinite}.node-generation-error-details{position:absolute;inset:8px;z-index:3;max-height:calc(100% - 16px);padding:9px;box-sizing:border-box;overflow:auto;color:var(--canvas-theme-ink,rgba(255,255,255,.9));pointer-events:auto;background:var(--canvas-theme-surface,rgba(25,27,30,.97));border:1px solid var(--canvas-theme-border,rgba(255,255,255,.14));border-radius:6px;box-shadow:var(--canvas-theme-shadow,0 8px 22px rgba(0,0,0,.24))}.node-generation-error-details header{display:flex;align-items:center;justify-content:space-between;gap:8px}.node-generation-error-details header>span{display:flex;align-items:center;gap:2px}.node-generation-detail-close{width:24px;height:24px}.node-generation-error-details header strong{font-size:11px}.node-generation-error-details dl,.node-generation-error-details p{display:grid;grid-gap:6px;gap:6px;margin:7px 0 0;font-size:10px;line-height:1.35}.node-generation-error-details dl>div{display:grid;grid-template-columns:54px minmax(0,1fr);grid-gap:6px;gap:6px}.node-generation-error-details dt{color:var(--canvas-theme-ink-muted,rgba(255,255,255,.5))}.node-generation-error-details dd{min-width:0;margin:0;overflow-wrap:anywhere}@keyframes generation-status-spin{to{transform:rotate(1turn)}}@keyframes generation-progress-indeterminate{0%{transform:translateX(-120%)}to{transform:translateX(320%)}}@media (prefers-reduced-motion:reduce){.generation-status-icon--spinning,.node-generation-progress.is-indeterminate .node-generation-progress-fill{animation:none}}@container (max-width: 230px){.node-generation-status-bar{grid-template-columns:14px minmax(0,1fr);gap:4px 6px}.node-generation-status-copy span{display:none}.node-generation-status-actions{grid-column:2;justify-self:start}.node-generation-status-action{min-height:22px;padding:0 5px;line-height:20px}.node-generation-status-dismiss{padding:0}.node-generation-failure{gap:7px;padding:12px 10px}.node-generation-failure-summary,.node-generation-task-id{max-width:100%}.node-generation-failure-actions{gap:4px}.node-generation-failure-details-action,.node-generation-failure-primary{min-height:26px;padding:0 8px;line-height:24px}}@container (max-height: 200px){.node-generation-overlay[data-generation-state=failed]{padding:6px}.node-generation-failure{gap:4px;padding:4px 8px}.node-generation-failure-icon{width:24px;height:24px;flex-basis:24px}.node-generation-failure-title{font-size:13px;line-height:18px}.node-generation-failure-summary{font-size:11px;line-height:1.3}.node-generation-task-id{line-height:18px}.node-generation-failure-actions{min-height:24px}.node-generation-failure-details-action,.node-generation-failure-primary{min-height:24px;padding:0 6px;line-height:22px}}.react-flow__node.selected .node-surface{border-color:var(--node-stroke-strong);box-shadow:var(--shadow-node)}.node-empty-state,.node-empty-state--inline,.node-empty-state--overlay{position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-height:100%;padding:24px;box-sizing:border-box}.node-empty-state__content{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:16px;width:100%;max-width:100%}.node-empty-state__icon{display:flex;width:90px;height:90px;flex:0 0 90px;align-self:center;align-items:center;justify-content:center;color:var(--canvas-theme-ink-soft,rgba(255,255,255,.24))}.node-empty-state__icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:3}.node-empty-state__icon--liblib svg,.node-empty-state__icon--liblib svg *{fill:currentColor;stroke:none}.node-surface:has(>.node-generation-overlay[data-generation-state=finishing]) .node-empty-state__icon,.node-surface:has(>.node-generation-overlay[data-generation-state=queued]) .node-empty-state__icon,.node-surface:has(>.node-generation-overlay[data-generation-state=running]) .node-empty-state__icon{display:none}.node-surface:has(.node-empty-state){height:100%;min-height:100%;padding:0}.concept-node .node-title{--node-title-icon-size:16px;color:var(--canvas-theme-ink-muted,#6d6e6f)}.concept-node .node-title-editable:focus-within,.concept-node .node-title-editable:hover,.react-flow__node.selected .concept-node .node-title{color:var(--canvas-theme-ink,#6d6e6f)}.concept-node .node-title-label:hover{color:var(--canvas-theme-ink,#6d6e6f);background:transparent}.concept-node__title-icon{width:var(--node-title-icon-size);height:var(--node-title-icon-size);flex:0 0 var(--node-title-icon-size)}.concept-node .node-surface.concept-node__surface{background:var(--node-surface,var(--canvas-theme-surface,#ffffff));border-color:var(--node-stroke,var(--canvas-theme-border,#eceae9));border-radius:12px;box-shadow:var(--shadow-node,var(--canvas-theme-shadow,none));box-sizing:border-box;height:100%;min-height:0;padding:0}.concept-node__completed-state{display:grid;align-content:center;place-items:center;grid-gap:16px;gap:16px;width:100%;height:100%;color:var(--canvas-theme-ink-muted,#6d6e6f)}.concept-node__result-failures{display:grid;grid-gap:4px;gap:4px;max-width:calc(100% - 48px);color:var(--canvas-theme-ink,#1e1f21);font-size:12px;line-height:18px;text-align:center}.concept-node__result-failures span{overflow-wrap:anywhere;color:var(--canvas-theme-ink-muted,#6d6e6f)}.concept-node__completed-icon{width:80px;height:80px;transform-origin:center}.concept-node .node-empty-state{height:100%;padding:0}.concept-node .node-empty-state__content{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:220px minmax(0,1fr);grid-gap:0;gap:0;height:100%}.concept-node .node-empty-state__content:not(:has(.node-try-actions)){grid-template-rows:minmax(0,1fr)}.concept-node .node-empty-state__icon{width:80px;height:80px;flex-basis:80px;place-self:center;color:var(--canvas-theme-ink-muted,#6d6e6f)}.concept-node__empty-icon{width:80px;height:80px;transform-origin:center}.concept-node__completed-icon,.concept-node__empty-icon,.concept-node__title-icon{display:block;background:currentColor;-webkit-mask:var(--concept-node-icon-url) center /contain no-repeat;mask:var(--concept-node-icon-url) center /contain no-repeat;transform-origin:center}.concept-node .node-try-actions{align-content:start;box-sizing:border-box;gap:10px;padding:0 36px 22px;color:var(--canvas-theme-ink,#1e1f21);font-size:14px;line-height:20px}.concept-node .node-try-actions__label{color:var(--canvas-theme-ink-muted,#6d6e6f);font-size:14px;line-height:20px}.concept-node .node-try-action--text,.concept-node .node-try-action--text:focus-visible,.concept-node .node-try-action--text:hover{color:var(--canvas-theme-ink,#1e1f21);cursor:default}.concept-node .node-try-action .node-title-icon{width:14px;height:14px;flex-basis:14px;color:var(--canvas-theme-ink,#1e1f21)}.concept-node .node-try-action--text:focus-visible .node-title-icon,.concept-node .node-try-action--text:hover .node-title-icon{color:var(--canvas-theme-ink,#1e1f21)}.business-script-review{position:absolute;z-index:20;top:28px;left:calc(100% + 12px);display:grid;width:340px;max-height:430px;border:1px solid #e7e5e4;border-radius:12px;background:#ffffff;box-shadow:0 16px 48px rgba(28,25,23,.18);color:#292a2c;grid-template-rows:auto minmax(0,1fr) auto}.business-script-review__footer,.business-script-review__header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px}.business-script-review__header{border-bottom:1px solid #f0efed}.business-script-review__header h3{margin:0;font-size:13px}.business-script-review__header button{width:24px;height:24px;border:0;background:transparent;color:#6d6e6f;cursor:pointer;font-size:18px}.business-script-review__body{display:grid;overflow:auto;grid-gap:12px;gap:12px;padding:14px;overscroll-behavior:contain}.business-script-review__field{display:grid;grid-gap:6px;gap:6px;color:#57585b;font-size:11px;font-weight:600}.business-script-review__field textarea{resize:vertical;min-height:58px;border:1px solid #e7e5e4;border-radius:8px;padding:8px;outline:none;color:#292a2c;font:inherit;font-size:12px;font-weight:400;line-height:1.5}.business-script-review__footer{justify-content:flex-end;border-top:1px solid #f0efed}.business-script-review__generate{height:30px;border:0;border-radius:8px;padding:0 14px;background:#262729;color:#ffffff;cursor:pointer;font-size:12px;font-weight:600}.business-script-review__generate:disabled,.concept-node button:disabled,.concept-node select:disabled{cursor:not-allowed;opacity:.55}.hover-frame{--hover-frame-hover-background:rgba(0,0,0,0.4);--hover-frame-hover-stroke:rgba(255,255,255,0.16);--hover-frame-active-background:rgba(0,0,0,0.46);--hover-frame-active-stroke:rgba(255,255,255,0.24);--hover-frame-focus-stroke:rgba(255,255,255,0.54);border-radius:var(--hover-frame-radius,8px);transition:color .12s ease,background-color .12s ease,border-color .12s ease,box-shadow .12s ease}.hover-frame:focus-within,.hover-frame:hover{color:var(--hover-frame-hover-color,#ffffff);background:var(--hover-frame-hover-background);border-color:var(--hover-frame-hover-stroke);box-shadow:inset 0 0 0 1px var(--hover-frame-hover-stroke)}.hover-frame:focus-visible{color:var(--hover-frame-hover-color,#ffffff);background:var(--hover-frame-hover-background);border-color:var(--hover-frame-focus-stroke);box-shadow:inset 0 0 0 1px var(--hover-frame-focus-stroke);outline:none}.hover-frame[aria-expanded=true],.hover-frame[aria-pressed=true],.hover-frame[data-active=true]{color:var(--hover-frame-active-color,#ffffff);background:var(--hover-frame-active-background);border-color:var(--hover-frame-active-stroke);box-shadow:inset 0 0 0 1px var(--hover-frame-active-stroke)}.hover-frame[data-hover-frame-variant=outline]{--hover-frame-hover-background:rgba(255,255,255,0.11);--hover-frame-hover-stroke:rgba(255,255,255,0.28)}.hover-frame[data-hover-frame-variant=ghost]{--hover-frame-hover-background:rgba(255,255,255,0.07);--hover-frame-hover-stroke:rgba(255,255,255,0.16);--hover-frame-active-background:rgba(255,255,255,0.1);--hover-frame-active-stroke:rgba(255,255,255,0.24)}.node-try-action.hover-frame{margin-left:-12px;padding:8px 12px;--hover-frame-hover-background:rgba(255,255,255,0.12);--hover-frame-hover-stroke:transparent;--hover-frame-active-background:rgba(255,255,255,0.16);--hover-frame-active-stroke:transparent;--hover-frame-focus-stroke:rgba(255,255,255,0.28)}.node-try-action.hover-frame:focus-within,.node-try-action.hover-frame:hover{box-shadow:none}.node-try-action.hover-frame[aria-expanded=true],.node-try-action.hover-frame[aria-pressed=true],.node-try-action.hover-frame[data-active=true]{box-shadow:none}.node-try-action.hover-frame:focus-visible{box-shadow:inset 0 0 0 1px var(--hover-frame-focus-stroke)}.react-flow__node{overflow:visible}.text-node-surface{position:relative;display:grid;place-items:center;padding:0;color:rgba(255,255,255,.9);font-size:14px;font-weight:500;line-height:1.45;background:var(--node-surface);border-color:var(--node-stroke)}.react-flow__node.selected .text-node-surface[data-text-mode=editor]{border-color:var(--node-stroke-strong)}.text-node-editor{box-sizing:border-box;width:100%;height:100%;padding:16px 18px;color:inherit;font:inherit;letter-spacing:0;resize:none;background:transparent;border:0;outline:0}.text-node-markdown-editor{overflow-y:auto;white-space:pre-wrap}.text-node-editor::placeholder{color:rgba(255,255,255,.28)}.text-node-empty{display:grid;width:100%;height:100%;grid-template-rows:1fr auto;grid-gap:10px;gap:10px;padding:20px 24px 14px}.text-node-empty-icon{width:48px;height:48px;align-self:center;justify-self:center;fill:none;stroke:rgba(255,255,255,.24);stroke-linecap:round;stroke-width:4}.text-node-preview{position:relative;box-sizing:border-box;width:100%;height:100%;min-height:0;padding:16px 18px;color:inherit;font:inherit;text-align:left}.text-node-preview-content{width:100%;height:100%;overflow:hidden;overflow-wrap:anywhere}.text-node-preview[data-overflowing=true]{padding-right:0}.text-node-preview[data-overflowing=true] .text-node-preview-content{box-sizing:border-box;overflow-y:scroll;overscroll-behavior:contain;padding-right:18px;scrollbar-width:none;touch-action:none}.text-node-preview[data-overflowing=true][data-scrollable=true] .text-node-preview-content{scrollbar-color:var(--canvas-popover-scrollbar-thumb) transparent;scrollbar-width:thin}.text-node-preview[data-overflowing=true]:not([data-scrollable=true]) .text-node-preview-content{pointer-events:none}.text-node-preview-content blockquote,.text-node-preview-content h1,.text-node-preview-content h2,.text-node-preview-content h3,.text-node-preview-content ol,.text-node-preview-content p,.text-node-preview-content pre,.text-node-preview-content table,.text-node-preview-content ul,.text-node-preview-text{margin:0}.text-node-preview-content blockquote,.text-node-preview-content h1,.text-node-preview-content h2,.text-node-preview-content h3,.text-node-preview-content ol,.text-node-preview-content p,.text-node-preview-content pre,.text-node-preview-content ul,.text-node-preview-text{margin-bottom:7px;white-space:pre-wrap}.text-node-preview-content h1{font-size:17px;line-height:1.18}.text-node-preview-content h2{font-size:15px;line-height:1.24}.text-node-preview-content h3{font-size:14px;line-height:1.3}.text-node-preview-content ol,.text-node-preview-content ul{padding-left:18px}.text-node-preview-content blockquote{padding-left:10px;color:rgba(255,255,255,.72);border-left:2px solid rgba(255,255,255,.18)}.text-node-preview-content code{padding:1px 4px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.92em;background:rgba(255,255,255,.1);border-radius:4px}.text-node-preview-content pre{max-width:100%;overflow-x:auto;padding:8px;background:rgba(0,0,0,.22);border-radius:6px}.text-node-preview-content pre code{padding:0;background:transparent}.text-node-preview-content table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse}.text-node-preview-content td,.text-node-preview-content th{padding:4px 6px;border:1px solid rgba(255,255,255,.14)}.text-node-markdown-link{color:#8ab4ff;text-decoration:underline;text-underline-offset:2px}.text-node-markdown-editor::-webkit-scrollbar{width:5px}.text-node-preview[data-overflowing=true] .text-node-preview-content::-webkit-scrollbar{width:0}.text-node-preview[data-overflowing=true][data-scrollable=true] .text-node-preview-content::-webkit-scrollbar{width:5px}.text-node-markdown-editor::-webkit-scrollbar-thumb,.text-node-preview[data-overflowing=true][data-scrollable=true] .text-node-preview-content::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:999px}.image-frame{position:relative;display:grid;place-items:center}.media-ratio-stage{position:relative;flex:0 0 auto;max-width:100%;max-height:100%;overflow:hidden;box-sizing:border-box;background:var(--node-surface);border-radius:calc(var(--radius-node) - 1px)}.media-ratio-stage>.node-empty-state{width:100%;height:100%;min-height:0;padding:24px}.ai-watermark-overlay{position:absolute;z-index:2;inset:0;display:flex;align-items:flex-start;justify-content:flex-start;padding:8px;pointer-events:none}.ai-watermark-overlay-mark{padding:2px 6px;border-radius:4px;background:rgba(0,0,0,.45);color:rgba(255,255,255,.92);font-size:11px;line-height:16px;letter-spacing:.02em;text-shadow:0 1px 2px rgba(0,0,0,.55);white-space:nowrap}.media-ratio-stage>.node-empty-state .node-empty-state__icon{width:min(90px,100%);height:min(90px,100%);flex-basis:min(90px,100%)}.image-asset-empty-hint{align-self:center;color:var(--canvas-theme-ink-muted,rgba(255,255,255,.52));font-size:13px;line-height:20px}.media-ratio-stage>.pooled-image-host,.media-ratio-stage>.video-preview-player,.media-ratio-stage>img{width:100%;height:100%}.pooled-image-host{display:contents}.image-frame[data-annotation-active=true]{overflow:visible}.image-frame[data-annotation-active=true]>.pooled-image-host>img,.image-frame[data-annotation-active=true]>img{border-radius:var(--radius-node)}.react-flow__node-image:has(.image-empty-state):not(.dragging){transition:width .24s cubic-bezier(.22,1,.36,1),height .24s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.react-flow__node-image:has(.image-empty-state){transition:none}}.image-frame[data-gallery-expanded=true]{background:transparent}.image-frame[data-gallery-stack=true]{overflow:visible;background:transparent;border:0;box-shadow:none}.react-flow__node.selected .image-frame[data-gallery-stack=true]{box-shadow:none}.image-frame img{display:block;width:100%;height:100%;object-fit:contain;-webkit-user-drag:none}.material-frame{display:grid;place-items:center}.material-frame .material-cover{display:block;width:100%;height:100%;object-fit:cover;-webkit-user-drag:none}.material-cover-empty{display:grid;grid-gap:8px;gap:8px;color:rgba(245,245,245,.55);font-size:13px;place-items:center}.material-cover-empty .node-title-icon{width:28px;height:28px}.image-gallery-stack{position:relative;width:100%;height:100%}.image-gallery-stack-card{position:absolute;top:0;right:var(--image-gallery-stack-outset-x,0);bottom:var(--image-gallery-stack-outset-y,0);left:0;overflow:hidden;background:rgba(10,10,10,.72);border:1px solid rgba(255,255,255,.18);border-radius:var(--radius-node);box-shadow:0 8px 18px rgba(0,0,0,.28);transform:translate(calc(var(--image-gallery-stack-index, 0) * 7px),calc(var(--image-gallery-stack-index, 0) * 5px)) rotate(calc(var(--image-gallery-stack-index, 0) * .9deg));transform-origin:85% 90%}.image-gallery-stack-card:after{position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(0,0,0,.26);content:""}.react-flow__node.selected .image-frame[data-gallery-stack=true] .image-gallery-stack-card:after{box-shadow:inset 0 0 0 2px var(--node-stroke-strong),inset 0 0 0 1px rgba(0,0,0,.26)}.image-gallery-stack-card--top{background:var(--node-surface);box-shadow:var(--shadow-node);transform:translate(0)}.image-gallery{display:grid;width:100%;height:100%;grid-gap:8px;gap:8px;grid-template-columns:repeat(var(--image-gallery-columns,2),minmax(0,1fr));grid-auto-rows:minmax(0,1fr)}.image-gallery-item{position:relative;min-width:0;min-height:0;margin:0;overflow:hidden;background:rgba(0,0,0,.16);border-radius:max(6px,calc(var(--radius-node) - 2px))}.image-gallery-actions{position:absolute;top:8px;right:8px;display:inline-flex;gap:6px}.image-gallery-button,.image-gallery-pill{display:inline-flex;height:34px;align-items:center;justify-content:center;gap:5px;padding:0 9px;color:rgba(255,255,255,.92);font-size:12px;font-weight:600;line-height:1;background:rgba(32,32,32,.82);border:1px solid rgba(255,255,255,.14);border-radius:9px;box-shadow:0 8px 18px rgba(0,0,0,.22)}.image-gallery-pill{position:absolute;top:8px;right:8px}.image-gallery-button:focus-visible,.image-gallery-button:hover,.image-gallery-pill:focus-visible,.image-gallery-pill:hover{color:#ffffff;background:rgba(45,45,45,.94);outline:none}.image-gallery-button-icon,.image-gallery-pill-icon{width:15px;height:15px;flex:0 0 15px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9}.image-node-dimensions{display:inline-flex;min-height:24px;flex:0 0 auto;align-items:center;margin-right:10px;padding-left:8px;color:rgba(255,255,255,.54);font-size:12px;font-weight:500;letter-spacing:0;pointer-events:none;white-space:nowrap}.image-frame-upload-edit{position:absolute;top:8px;right:8px;display:grid;width:34px;height:34px;place-items:center;color:rgba(255,255,255,.9);background:rgba(40,40,40,.84);border:1px solid rgba(255,255,255,.16);border-radius:8px;box-shadow:0 8px 18px rgba(0,0,0,.22);cursor:pointer}.image-frame-upload-edit:focus-within,.image-frame-upload-edit:hover{color:#ffffff;background:rgba(56,56,56,.94);border-color:rgba(255,255,255,.3)}.image-frame-upload-edit.hover-frame:focus-visible,.image-frame-upload-edit.hover-frame:focus-within,.image-frame-upload-edit.hover-frame:hover{box-shadow:0 8px 18px rgba(0,0,0,.22),inset 0 0 0 1px var(--hover-frame-hover-stroke)}.image-frame-upload-edit svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9}.image-frame-upload-edit[aria-busy=true]{cursor:wait}.image-frame-upload-spinner{box-sizing:border-box;width:16px;height:16px;border:2px solid rgba(255,255,255,.28);border-top-color:currentcolor;border-radius:999px;animation:prompt-submit-spinner-spin .72s linear infinite}.image-empty-state{position:relative;display:flex;width:100%;height:100%;align-items:center;justify-content:center}.node-input-update-indicator{display:inline-flex;min-width:0;flex:0 1 auto;align-items:center;gap:4px;max-width:100%;min-height:20px;padding:0 4px;overflow:hidden;color:#d6a13b;font-size:13px;font-weight:600;line-height:20px;pointer-events:none;text-overflow:ellipsis;white-space:nowrap}.node-input-update-indicator--action{margin:0;font-family:inherit;color:#f59e0b;pointer-events:auto;background:transparent;border:1px solid transparent;border-radius:6px;cursor:pointer}.node-input-update-indicator--action:not(:disabled):focus-visible,.node-input-update-indicator--action:not(:disabled):hover{color:#d97706;background:rgba(245,158,11,.06);border-color:rgba(245,158,11,.2);outline:none}.node-input-update-indicator--action:disabled{cursor:default;opacity:.72}.node-input-update-indicator-wrapper{position:relative;display:inline-flex;min-width:0;flex:0 1 auto}.node-input-update-indicator-menu{position:absolute;top:calc(100% + 4px);right:0;z-index:200;min-width:120px;padding:4px;background:#1e1e1e;border:1px solid rgba(255,255,255,.1);border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.35)}.node-input-update-indicator-menu__item{display:flex;width:100%;align-items:center;padding:6px 10px;margin:0;font-family:inherit;font-size:13px;font-weight:500;line-height:20px;color:#e4e4e4;background:transparent;border:none;border-radius:6px;cursor:pointer;white-space:nowrap;text-align:left}.node-input-update-indicator-menu__item:hover{background:rgba(255,255,255,.06);color:#fff}.node-top-toolbar{position:absolute;bottom:calc(100% + var(--node-title-band, 28px) + var(--node-top-toolbar-gap, 8px));left:50%;z-index:45;width:max-content;padding:4px;color:var(--canvas-theme-ink,var(--node-text));pointer-events:auto;background:var(--canvas-theme-surface,var(--canvas-panel));border:.5px solid var(--canvas-theme-border,var(--canvas-panel-border));border-radius:12px;box-shadow:0 4px 10px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.06);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);transform:translateX(-50%) scale(var(--node-top-toolbar-scale,1));transform-origin:center bottom}.node-top-toolbar,.node-top-toolbar-button{display:inline-flex;align-items:center;gap:4px}.node-top-toolbar-button{position:relative;min-width:0;height:32px;justify-content:center;padding:0;color:inherit;font:inherit;font-size:13px;font-weight:400;line-height:1;white-space:nowrap;background:transparent;border:0;border-radius:8px;cursor:pointer}.node-top-toolbar-button.hover-frame{--hover-frame-hover-color:var(--canvas-theme-ink,var(--node-text));--hover-frame-active-color:var(--canvas-theme-ink,var(--node-text));--hover-frame-hover-background:color-mix(in srgb,var(--canvas-theme-ink,#141414) 6%,transparent);--hover-frame-active-background:color-mix(in srgb,var(--canvas-theme-ink,#141414) 8%,transparent);--hover-frame-hover-stroke:transparent;--hover-frame-active-stroke:transparent;--hover-frame-focus-stroke:color-mix(in srgb,var(--canvas-theme-ink,#141414) 18%,transparent)}.node-top-toolbar-item{position:relative;display:inline-flex}.node-top-toolbar-popover{position:absolute;top:calc(100% + 8px);left:50%;z-index:1;transform:translateX(-50%)}.node-top-toolbar-popover[data-hover-bridge=true]{top:100%;padding-top:8px}.node-top-toolbar-button[data-separator-before=true]{margin-left:8px}.node-top-toolbar-button[data-separator-before=true]:before{position:absolute;left:-6px;width:.5px;height:20px;background:var(--canvas-theme-border,rgba(255,255,255,.12));content:""}.node-top-toolbar-button:focus-visible,.node-top-toolbar-button:hover:not(:disabled){color:var(--canvas-theme-ink,var(--node-text));background:color-mix(in srgb,var(--canvas-theme-ink,#141414) 6%,transparent);outline:none}.node-top-toolbar-button:disabled{color:var(--canvas-theme-ink-soft,inherit);cursor:not-allowed}.node-top-toolbar-status{cursor:default}.node-top-toolbar-button[data-compact=true]{width:32px;padding:0}.node-top-toolbar-button[data-compact=true] .node-top-toolbar-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}.node-top-toolbar-label-button{padding:0 12px;font-size:13px;line-height:1;white-space:nowrap}.node-top-toolbar-icon-button{width:32px;padding:0}.node-top-toolbar-icon{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5}.node-top-toolbar-icon[data-filled=true]{fill:currentColor;stroke:none}.image-node>.node-top-toolbar{z-index:60}.image-grid-scale-menu,.image-grid-split-menu,.image-refinement-menu{display:flex;width:150px;flex-direction:column}.image-grid-scale-menu{width:92px}.image-refinement-menu{width:120px}.image-preset-menu{display:flex;width:188px;max-height:360px;flex-direction:column;overflow-y:auto;scrollbar-color:var(--canvas-popover-scrollbar-thumb) transparent;scrollbar-gutter:stable;scrollbar-width:thin}.image-preset-menu::-webkit-scrollbar{width:3px;height:3px}.image-preset-menu::-webkit-scrollbar-track{background:transparent}.image-preset-menu::-webkit-scrollbar-thumb{background-color:var(--canvas-popover-scrollbar-thumb);border-radius:3px}.image-preset-menu-group{display:contents}.image-preset-menu-group h3{margin:0;padding:0 var(--canvas-popover-item-padding-x);color:var(--canvas-popover-ink-muted);font-size:11px;font-weight:400;line-height:22px}.image-preset-menu-group+.image-preset-menu-group h3{margin-top:4px}.image-preset-menu button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-preset-menu-icon{display:inline-flex;width:16px;height:16px;flex:0 0 16px;align-items:center;justify-content:center;color:inherit}.image-preset-menu-icon svg{width:16px;height:16px;fill:none;stroke:currentColor}.image-preset-menu-empty{margin:0;padding:8px var(--canvas-popover-item-padding-x);color:var(--canvas-popover-ink-muted)}.image-hq-panel{display:grid;width:min(420px,calc(100vw - 40px));height:211px;grid-template-rows:20px repeat(3,32px) 41px;grid-row-gap:8px;row-gap:8px;box-sizing:border-box;padding:12px 8px 8px;color:#f7f7f7;background:#262626;border:1px solid #363636;border-radius:12px;box-shadow:0 4px 10px rgb(0 0 0/12%)}.image-hq-node-panel{position:absolute;top:calc(100% + var(--image-hq-node-panel-gap, 28px));left:50%;z-index:65;width:max-content;pointer-events:auto;transform:translateX(-50%) scale(var(--node-top-toolbar-scale,1));transform-origin:center top}.image-hq-field,.image-hq-panel-footer,.image-hq-panel-header,.image-hq-scale-options{display:flex;align-items:center}.image-hq-panel-header{padding-left:8px;color:#f7f7f7;font-size:14px;font-weight:500;line-height:20px}.image-hq-field{display:grid;height:32px;grid-template-columns:120px 266px;grid-column-gap:16px;column-gap:16px}.image-hq-field>span:first-child{padding-left:8px;color:#f7f7f7;font-size:13px;font-weight:400;line-height:20.15px}.image-hq-select{position:relative;width:266px;height:32px}.image-hq-select-trigger{display:flex;width:100%;height:32px;align-items:center;justify-content:space-between;padding:0 8px;color:#f7f7f7;font:inherit;font-size:13px;font-weight:400;line-height:20px;text-align:left;background:transparent;border:1px solid #525252;border-radius:8px}.image-hq-select-trigger:hover:not(:disabled),.image-hq-select-trigger[aria-expanded=true]{background:rgb(255 255 255/8%);border-color:#767676}.image-hq-select-trigger>svg{width:14px;height:14px;flex:0 0 14px;color:#919191;stroke-width:1.6}.image-hq-select-value{display:flex;min-width:0;align-items:center;gap:8px}.image-hq-select-value>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-hq-model-icon{display:inline-flex;width:16px;height:16px;flex:0 0 16px;align-items:center;justify-content:center;overflow:hidden;border-radius:4px}.image-hq-model-icon img,.image-hq-model-icon svg{width:16px;height:16px;object-fit:contain}.image-hq-model-icon img[data-model-icon-theme=dark]{display:none}.image-hq-model-icon[data-model-has-light=false] img[data-model-icon-theme=dark]{display:block}:root[data-cbi-theme=dark] .image-hq-model-icon[data-model-has-dark=true] img[data-model-icon-theme=light]{display:none}:root[data-cbi-theme=dark] .image-hq-model-icon[data-model-has-dark=true] img[data-model-icon-theme=dark]{display:block}.image-hq-select-menu{position:fixed;z-index:300;display:grid;max-height:198px;grid-gap:2px;gap:2px;overflow-y:auto;box-sizing:border-box;padding:4px;color:#f7f7f7;background:rgb(33 33 33/95%);border:1px solid #525252;border-radius:16px;box-shadow:0 1px 3px rgb(0 0 0/5%),0 20px 25px -5px rgb(0 0 0/5%),0 10px 10px -5px rgb(0 0 0/4%);opacity:1;-webkit-backdrop-filter:blur(32px);backdrop-filter:blur(32px);transition:opacity .15s ease}.image-hq-select-menu button{display:flex;min-height:36px;align-items:center;gap:8px;padding:8px 12px;color:#f7f7f7;font-size:14px;font-weight:400;line-height:20px;text-align:left;background:transparent;border:0;border-radius:10px}.image-hq-select-menu button:hover,.image-hq-select-menu button[data-selected=true]{background:rgb(255 255 255/10%)}.image-hq-scale-options{width:266px;gap:4px}.image-hq-scale-options button{flex:1 1;height:32px;color:#919191;font-size:13px;line-height:20px;background:transparent;border:1px solid #525252;border-radius:8px}.image-hq-scale-options button[data-active=true]{color:#f7f7f7;background:rgb(255 255 255/15%);border-color:#363636}.image-hq-scale-options button:disabled:not([data-active=true]){cursor:not-allowed;opacity:.45}.image-hq-panel-footer{width:402px;height:32px;align-self:end;justify-content:flex-end;gap:8px}.image-hq-credit-estimate{display:inline-flex;align-items:center;gap:4px;color:#919191;font-size:12px;font-weight:400;line-height:15px}.image-hq-credit-estimate svg{width:10px;height:14px;fill:currentColor;stroke-width:1.4}.image-hq-panel-hint{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);margin:-1px;padding:0;white-space:nowrap;border:0;color:#919191;font-size:12px}.image-hq-submit{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;color:#191919;font-size:12px;line-height:1;background:#fff;border-radius:12px}.image-hq-submit:disabled{cursor:default;opacity:.45}.image-hq-submit>svg{width:12px;height:12px;stroke-width:2}.image-hq-node{--node-surface:#262626;--node-stroke:#363636;--node-stroke-strong:#767676;--radius-node:12px}.image-hq-node>.node-title{color:#919191;font-size:13px;font-weight:400;line-height:20.15px}.image-hq-node>.node-title .node-title-input,.image-hq-node>.node-title .node-title-label{max-width:100%}.image-hq-empty-hint{display:flex;width:100%;height:100%;align-items:center;justify-content:center;color:#919191;font-size:14px;font-weight:400;line-height:20px;text-align:center}:root[data-cbi-theme=light] .image-hq-node{--node-surface:var(--canvas-theme-surface,#ffffff);--node-stroke:var(--canvas-theme-border,#e5e6ec);--node-stroke-strong:var(--canvas-theme-border-strong,#cfcfd4)}:root[data-cbi-theme=light] .image-hq-panel{color:var(--canvas-popover-ink,#262626);background:var(--canvas-popover-surface,#ffffff);border-color:var(--canvas-popover-border,rgba(0,0,0,.06))}:root[data-cbi-theme=light] :is(.image-hq-panel-header,.image-hq-field>span:first-child){color:var(--canvas-popover-ink,#262626)}:root[data-cbi-theme=light] .image-hq-select-trigger{color:var(--canvas-popover-ink,#262626);border-color:var(--canvas-theme-border-strong,var(--cbi-border-strong,#ddd8d8))}:root[data-cbi-theme=light] .image-hq-select-trigger:hover:not(:disabled),:root[data-cbi-theme=light] .image-hq-select-trigger[aria-expanded=true]{background:var(--canvas-popover-hover,rgba(0,0,0,.05));border-color:var(
    --canvas-theme-neutral-focus-border,var(--cbi-focus-border,rgba(30,31,33,.54))
  )}:root[data-cbi-theme=light] .image-hq-scale-options button,:root[data-cbi-theme=light] .image-hq-select-trigger>svg,:root[data-cbi-theme=light] :is(.image-hq-credit-estimate,.image-hq-panel-hint,.image-hq-node>.node-title,.image-hq-empty-hint){color:var(--canvas-popover-ink-muted,#919191)}:root[data-cbi-theme=light] .image-hq-scale-options button{border-color:var(--canvas-theme-border-strong,var(--cbi-border-strong,#ddd8d8))}:root[data-cbi-theme=light] .image-hq-scale-options button[data-active=true]{color:var(--canvas-popover-ink,#262626);background:var(--canvas-popover-active,rgba(0,0,0,.08));border-color:var(--canvas-popover-border,rgba(0,0,0,.06))}:root[data-cbi-theme=light] .image-hq-submit{color:var(--canvas-primary-btn-icon,#ffffff);background:var(--canvas-primary-btn-bg,rgba(0,0,0,.85))}:root[data-cbi-theme=light] .image-hq-select-menu{--canvas-popover-surface:var(--cbi-tooltip-bg,#ffffff);--canvas-popover-border:var(--cbi-tooltip-border,rgba(0,0,0,0.06));--canvas-popover-ink:var(--cbi-tooltip-text,#262626);--canvas-popover-ink-muted:#919191;--canvas-popover-hover:rgba(0,0,0,0.05);--canvas-popover-active:rgba(0,0,0,0.08);--canvas-popover-shadow:var(
    --cbi-tooltip-shadow,0 4px 10px rgba(0,0,0,0.12),0 2px 4px rgba(0,0,0,0.06)
  );color:var(--canvas-popover-ink,#262626);background:var(--canvas-popover-surface,#ffffff);border-color:var(--canvas-popover-border,rgba(0,0,0,.06));box-shadow:var(--canvas-popover-shadow)}:root[data-cbi-theme=light] .image-hq-select-menu button{color:var(--canvas-popover-ink,#262626)}:root[data-cbi-theme=light] .image-hq-select-menu button:hover{background:var(--canvas-popover-hover,rgba(0,0,0,.05))}:root[data-cbi-theme=light] .image-hq-select-menu button[data-selected=true]{background:var(--canvas-popover-active,rgba(0,0,0,.08))}.image-frame[data-mask-active=true],.image-frame[data-outpaint-active=true]{overflow:visible}.image-outpaint-workspace{position:absolute;inset:0;z-index:78;overflow:visible;pointer-events:none}.image-outpaint-stage{position:absolute;top:var(--image-outpaint-stage-top,50%);left:var(--image-outpaint-stage-left,50%);display:grid;width:var(--image-outpaint-width,100%);height:var(--image-outpaint-height,100%);place-items:center;overflow:visible;pointer-events:auto;background:color-mix(in srgb,var(--canvas-theme-surface,#17171a) 34%,transparent);border:1.5px solid rgb(255 255 255/78%);box-shadow:inset 0 0 0 1px rgb(0 0 0/20%);transform:translate(var(--image-outpaint-stage-translate-x,-50%),var(--image-outpaint-stage-translate-y,-50%))}.image-outpaint-stage>img{align-self:var(--image-outpaint-source-align,center);display:block;justify-self:var(--image-outpaint-source-justify,center);max-width:none;max-height:none;object-fit:contain;pointer-events:none}.image-outpaint-handles{position:absolute;inset:0;pointer-events:none}.image-outpaint-handle{position:absolute;display:block;width:14px;height:14px;padding:0;pointer-events:auto;background:#3b3b3b;border:1.5px solid rgb(255 255 255/88%);border-radius:5px;box-shadow:0 2px 4px rgb(0 0 0/42%);touch-action:none}.image-outpaint-handle[data-handle=top-left]{top:0;left:0;cursor:nwse-resize;transform:translate(-50%,-50%)}.image-outpaint-handle[data-handle=top]{top:0;left:50%;width:40px;cursor:ns-resize;transform:translate(-50%,-50%)}.image-outpaint-handle[data-handle=top-right]{top:0;right:0;cursor:nesw-resize;transform:translate(50%,-50%)}.image-outpaint-handle[data-handle=left]{top:50%;left:0;height:40px;cursor:ew-resize;transform:translate(-50%,-50%)}.image-outpaint-handle[data-handle=right]{top:50%;right:0;height:40px;cursor:ew-resize;transform:translate(50%,-50%)}.image-outpaint-handle[data-handle=bottom-left]{bottom:0;left:0;cursor:nesw-resize;transform:translate(-50%,50%)}.image-outpaint-handle[data-handle=bottom]{bottom:0;left:50%;width:40px;cursor:ns-resize;transform:translate(-50%,50%)}.image-outpaint-handle[data-handle=bottom-right]{right:0;bottom:0;cursor:nwse-resize;transform:translate(50%,50%)}.image-outpaint-toolbar{position:absolute;top:calc(var(--image-outpaint-toolbar-top, 100%) + var(--image-outpaint-panel-gap, 16px));left:var(--image-outpaint-toolbar-left,50%);display:flex;width:max-content;max-width:calc(100vw - 40px);min-height:48px;align-items:center;gap:4px;padding:5px 6px;color:var(--canvas-theme-ink,rgb(245 245 247/96%));pointer-events:auto;background:color-mix(in srgb,var(--canvas-theme-surface,rgb(31 30 38)) 94%,transparent);border:1px solid var(--canvas-theme-border,rgb(255 255 255/12%));border-radius:17px;box-shadow:var(--canvas-theme-shadow,0 18px 48px rgb(0 0 0/48%)),inset 0 1px color-mix(in srgb,var(--canvas-theme-ink,#fff) 5%,transparent);transform:translateX(-50%) scale(var(--image-outpaint-panel-scale,1));transform-origin:center top;-webkit-backdrop-filter:blur(18px) saturate(1.08);backdrop-filter:blur(18px) saturate(1.08)}.image-outpaint-toolbar button,.image-outpaint-toolbar select{height:34px;color:inherit;font:inherit;font-size:12px}.image-outpaint-toolbar>button,.image-outpaint-toolbar>select{background:transparent;border:0;border-radius:10px}.image-outpaint-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:6px}.image-outpaint-select{position:relative;flex:0 0 auto}.image-outpaint-select-trigger{display:inline-flex;width:100%;min-width:82px;align-items:center;justify-content:space-between;gap:9px;padding:0 9px 0 11px;color:var(--canvas-theme-ink,rgb(248 247 252/94%));background:var(--canvas-theme-surface-soft,rgb(255 255 255/6%));border:1px solid transparent;border-radius:10px;cursor:pointer;transition:background .12s ease,border-color .12s ease,color .12s ease}.image-outpaint-select-trigger:hover:not(:disabled),.image-outpaint-select-trigger[aria-expanded=true]{color:var(--canvas-theme-accent-strong,var(--canvas-theme-ink));background:var(--canvas-theme-surface-soft,rgb(255 255 255/12%));border-color:var(--canvas-theme-neutral-focus-border,rgba(255,255,255,.54))}.image-outpaint-close:focus-visible,.image-outpaint-select-option:focus-visible,.image-outpaint-select-trigger:focus-visible,.image-outpaint-submit:focus-visible{outline:0;box-shadow:0 0 0 3px var(--canvas-theme-neutral-focus-ring,rgba(255,255,255,.28))}.image-outpaint-select-trigger:disabled{cursor:default;opacity:.52}.image-outpaint-select-value{min-width:0;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.image-outpaint-select-chevron{width:16px;height:16px;flex:0 0 16px;color:var(--canvas-theme-ink-muted,rgb(248 247 252/75%));fill:none;stroke:currentColor;stroke-width:1.9}.image-outpaint-select-model{width:clamp(176px,21vw,220px)}.image-outpaint-select-ratio{width:96px}.image-outpaint-select-resolution{width:84px}.image-outpaint-select-count{width:76px}.image-outpaint-select-menu{position:absolute;z-index:120;top:calc(100% + 6px);left:0;display:flex;min-width:100%;max-height:min(240px,42vh);flex-direction:column;gap:var(--canvas-popover-row-gap);overflow-y:auto}.image-outpaint-select-option{display:flex;width:100%;min-width:100%;height:var(--canvas-popover-item-height);align-items:center;justify-content:space-between;gap:12px;padding:0 var(--canvas-popover-item-padding-x);color:var(--canvas-popover-ink);font-size:var(--canvas-popover-item-font-size);background:transparent;border:0;border-radius:var(--canvas-popover-item-radius);cursor:pointer;white-space:nowrap}.image-outpaint-select-option:hover{color:var(--canvas-popover-ink);background:var(--canvas-popover-hover)}.image-outpaint-select-option.is-selected{color:var(--canvas-popover-ink);background:var(--canvas-popover-active)}.image-outpaint-toolbar svg{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.9}.image-outpaint-close{width:34px;color:var(--canvas-theme-ink-muted,rgb(255 255 255/86%));border-radius:10px!important}.image-outpaint-close:hover{color:var(--canvas-theme-ink,#fff);background:var(--canvas-theme-surface-soft,rgb(255 255 255/8%))}.image-outpaint-divider{width:1px;height:28px;margin:0 2px;background:var(--canvas-theme-border-strong,rgb(255 255 255/16%))}.image-outpaint-static{display:inline-flex;height:34px;align-items:center;max-width:220px;overflow:hidden;padding:0 11px;color:var(--canvas-theme-ink,rgb(248 247 252/88%));background:var(--canvas-theme-surface-soft,rgb(255 255 255/6%));border:1px solid transparent;border-radius:10px;text-overflow:ellipsis;white-space:nowrap}.image-outpaint-output-size{padding:0 8px}.image-outpaint-cost,.image-outpaint-output-size{display:inline-flex;height:34px;align-items:center;color:var(--canvas-theme-ink-muted,rgb(255 255 255/58%));font-size:12px;white-space:nowrap}.image-outpaint-cost{gap:4px;padding:0 7px}.image-outpaint-cost svg{width:14px;height:14px;fill:currentColor;stroke:currentColor}.image-outpaint-submit{width:38px;height:38px!important;margin-left:2px;color:var(--cbi-on-brand,#fff)!important;background:#1f1f1f!important;border:0!important;border-radius:10px!important;box-shadow:0 6px 16px rgba(0,0,0,.18)}.image-outpaint-submit:hover:not(:disabled){background:#333333!important}.image-outpaint-submit:disabled{cursor:default;opacity:.45}.image-outpaint-submit svg{width:22px;height:22px;stroke-width:2.2}.image-outpaint-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@media (max-width:760px){.image-hq-panel{width:calc(100vw - 32px)}.image-outpaint-output-size{display:none}}.image-refinement-menu button svg{width:14px;height:14px;flex:0 0 14px;color:var(--canvas-popover-ink-muted);stroke-width:1.7}.image-refinement-menu button span{font-weight:400}.image-refinement-menu p{margin:4px 8px 2px;color:var(--canvas-theme-warning,#e8ae4d);font-size:12px;line-height:1.45}.image-grid-scale-menu button:disabled,.image-grid-split-menu button:disabled,.image-refinement-menu button:disabled{cursor:default;opacity:.45}.image-grid-selection-overlay{position:absolute;z-index:8;inset:0;display:grid;grid-template-columns:repeat(var(--image-grid-size),minmax(0,1fr));grid-template-rows:repeat(var(--image-grid-size),minmax(0,1fr));overflow:hidden;border-radius:inherit}.image-grid-selection-overlay button{position:relative;min-width:0;padding:0;color:rgba(255,255,255,.96);background:rgba(0,0,0,.06);border:1px solid rgba(255,255,255,.5);cursor:pointer}.image-grid-selection-overlay button:focus-visible,.image-grid-selection-overlay button:hover{background:rgba(42,209,235,.16);border-color:#53e5ff;outline:none}.image-grid-selection-overlay button[data-selected=true]{z-index:1;background:rgba(31,206,235,.18);border:2px solid #1fd8f4;box-shadow:inset 0 0 0 1px rgba(255,255,255,.28)}.image-grid-selection-overlay button:disabled{cursor:wait}.image-grid-selection-overlay button span{display:inline-flex;min-width:38px;height:28px;align-items:center;justify-content:center;padding:0 8px;font-size:13px;font-weight:800;line-height:1;text-shadow:0 1px 3px rgba(0,0,0,.8);background:rgba(0,0,0,.58);border-radius:7px}.node-top-toolbar-label{display:inline-block}.node-top-toolbar-badge{display:inline-flex;height:20px;align-items:center;padding:0 8px;color:var(--canvas-theme-accent-strong,#5f6268);font-size:11px;font-weight:800;background:var(--canvas-theme-surface-soft,rgba(255,255,255,.12));border-radius:999px}.node-top-toolbar-chevron{display:inline-flex;width:12px;height:12px;flex:0 0 12px;align-items:center;justify-content:center;color:var(--canvas-theme-ink-muted,rgba(255,255,255,.56));font-size:0;line-height:0}.node-top-toolbar-chevron:before{width:6px;height:6px;border-right:1.5px solid;border-bottom:1.5px solid;content:"";transform:translateY(-1px) rotate(45deg)}.image-preview-dialog{width:min(960px,calc(100vw - 48px));max-width:calc(100vw - 48px);max-height:calc(100vh - 48px);padding:0;overflow:hidden;background:rgba(20,20,20,.98);border:1px solid rgba(255,255,255,.12);border-radius:14px;box-shadow:0 28px 80px rgba(0,0,0,.58)}.image-preview-dialog::-webkit-backdrop{background:rgba(0,0,0,.62)}.image-preview-dialog::backdrop{background:rgba(0,0,0,.62)}.image-preview-dialog img{display:block;width:100%;max-height:calc(100vh - 48px);object-fit:contain}.image-preview-close{position:absolute;top:10px;right:10px;display:grid;width:32px;height:32px;place-items:center;color:rgba(255,255,255,.86);background:rgba(0,0,0,.5);border:1px solid rgba(255,255,255,.14);border-radius:8px;cursor:pointer}.image-preview-close:focus-visible,.image-preview-close:hover{color:#ffffff;background:rgba(0,0,0,.72);outline:none}.image-preview-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:2}.image-style-dialog-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:32px;background:rgba(0,0,0,.38);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.image-style-dialog{display:grid;width:min(1080px,calc(100vw - 64px));height:min(560px,calc(100vh - 64px));grid-template-rows:auto auto minmax(0,1fr);overflow:hidden;color:var(--canvas-theme-ink,rgba(247,247,247,.92));background:var(--canvas-theme-surface,rgba(43,43,43,.97));border:1px solid var(--canvas-theme-border,rgba(82,82,82,.76));border-radius:12px;box-shadow:var(--canvas-theme-shadow,0 24px 64px rgba(0,0,0,.32))}.image-style-dialog-header{display:flex;min-height:64px;align-items:center;gap:16px;padding:12px 16px;border-bottom:1px solid var(--canvas-theme-border,rgba(82,82,82,.76))}.image-style-categories button{height:28px;padding:0 12px;color:var(--canvas-theme-ink-muted,rgba(247,247,247,.68));font:inherit;font-size:13px;background:transparent;border:0;border-radius:8px;cursor:pointer}.image-style-categories button[data-active=true]{color:var(--canvas-theme-ink,rgba(247,247,247,.96));background:color-mix(in srgb,var(--canvas-theme-ink,rgba(247,247,247,.96)) 10%,transparent)}.image-style-dialog-title{flex:0 0 auto;margin:0;color:var(--canvas-theme-ink,rgba(247,247,247,.96));font-size:16px;font-weight:600}.image-style-search{display:flex;width:min(336px,32vw);height:40px;align-items:center;gap:10px;padding:0 14px;color:var(--canvas-theme-ink-soft,rgba(247,247,247,.42));background:var(--canvas-theme-surface-soft,rgba(255,255,255,.06));border:1px solid var(--canvas-theme-border,rgba(82,82,82,.76));border-radius:10px}.image-style-search input{min-width:0;flex:1 1;color:var(--canvas-theme-ink,rgba(247,247,247,.92));font:inherit;font-size:13px;background:transparent;border:0;outline:0}.image-style-search input::placeholder{color:var(--canvas-theme-ink-soft,rgba(247,247,247,.42))}.image-style-icon-button svg,.image-style-search svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.image-style-header-spacer{flex:1 1}.creative-resource-model-select{position:relative;display:flex;height:40px;min-width:220px;align-items:center;gap:8px;padding-left:12px;color:var(--canvas-theme-ink-muted,rgba(247,247,247,.68));background:var(--canvas-theme-surface-soft,rgba(255,255,255,.06));border:1px solid var(--canvas-theme-border,rgba(82,82,82,.76));border-radius:10px;font-size:12px}.creative-resource-model-trigger{display:flex;min-width:0;height:100%;flex:1 1;align-items:center;padding:0 34px 0 0;overflow:hidden;color:var(--canvas-theme-ink,rgba(247,247,247,.92));font:inherit;font-size:13px;font-weight:500;text-overflow:ellipsis;background:transparent;border:0;outline:0;cursor:pointer}.creative-resource-model-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creative-resource-model-trigger[aria-expanded=true] .creative-resource-model-select-chevron{transform:rotate(180deg)}.creative-resource-model-select :where(.prompt-composer-model-menu){z-index:30}.creative-resource-model-select:focus-within{border-color:color-mix(in srgb,var(--canvas-theme-ink,#141414) 28%,transparent);box-shadow:0 0 0 2px color-mix(in srgb,var(--canvas-theme-ink,#141414) 10%,transparent)}.creative-resource-model-select-chevron{position:absolute;right:12px;width:14px;height:14px;color:var(--canvas-theme-ink-soft,rgba(247,247,247,.42));fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5;pointer-events:none;transition:transform .15s ease}.image-style-icon-button{display:grid;width:40px;height:40px;place-items:center;color:var(--canvas-theme-ink-muted,rgba(247,247,247,.72));background:transparent;border:0;border-radius:9px;cursor:pointer}.image-style-icon-button:disabled{cursor:default}.image-style-icon-button:focus-visible,.image-style-icon-button:hover:not(:disabled){color:var(--canvas-theme-ink,rgba(247,247,247,.96));background:var(--canvas-theme-surface-soft,rgba(255,255,255,.08));outline:none}.image-style-categories{display:flex;min-height:52px;align-items:center;gap:4px;padding:10px 16px;overflow-x:auto;border-bottom:1px solid var(--canvas-theme-border,rgba(82,82,82,.76));scrollbar-width:none}.image-style-categories::-webkit-scrollbar{display:none}.image-style-categories button{flex:0 0 auto}.image-style-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:16px;gap:16px;min-height:0;padding:0 16px 16px;overflow:auto}.image-style-card{display:grid;min-width:0;grid-gap:6px;gap:6px;padding:0;color:inherit;text-align:left;background:transparent;border:0;cursor:pointer}.image-style-card-image-wrap{position:relative;display:block;overflow:hidden;aspect-ratio:3/4;background:var(--canvas-theme-surface-soft,rgba(255,255,255,.08));border-radius:8px}.image-style-card img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .16s ease}.image-style-card:focus-visible img,.image-style-card:hover img{transform:scale(1.035)}.image-style-card:focus-visible{outline:2px solid var(--canvas-theme-neutral-focus-border,rgba(255,255,255,.54));outline-offset:3px}.image-style-card-badge{position:absolute;left:12px;top:12px;width:28px;height:28px;background:rgba(0,0,0,.34);border-radius:10px}.image-style-card-badge:after,.image-style-card-badge:before{position:absolute;width:10px;height:10px;border:2px solid rgba(255,255,255,.88);border-radius:999px;content:""}.image-style-card-badge:before{left:7px;top:7px}.image-style-card-badge:after{right:7px;bottom:7px}.image-style-card-title{overflow:hidden;color:var(--canvas-theme-ink,rgba(247,247,247,.94));font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.image-style-card-meta{overflow:hidden;font-size:12px;line-height:1.35;display:flex;justify-content:space-between;gap:10px;white-space:nowrap}.image-style-card-meta,.image-style-empty{color:var(--canvas-theme-ink-muted,rgba(247,247,247,.62))}.image-style-empty{margin:36px 0;font-size:13px}@media (max-width:900px){.image-style-dialog-header{flex-wrap:wrap}.image-style-search{order:2;width:100%;flex-basis:100%}.creative-resource-model-select{margin-left:auto}.image-style-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}}@media (max-width:600px){.image-style-dialog-backdrop{padding:16px}.image-style-dialog{width:calc(100vw - 32px);height:calc(100vh - 32px)}.image-style-header-spacer{display:none}.creative-resource-model-select{min-width:0;flex:1 1}}.video-frame{--media-upload-status-bottom:64px;position:relative;display:grid;place-items:center;background:#111111;container-type:inline-size}.video-frame .image-frame-upload-edit{top:var(--video-player-inset,10px);right:var(--video-player-inset,10px);z-index:6}.video-frame video{display:block;width:100%;height:100%;object-fit:cover}.video-preview-media-host{width:100%;height:100%;background-position:50%;background-size:cover}.video-preview-player{--video-player-control-gap:6px;--video-player-control-size:28px;--video-player-inset:10px;--video-player-overlay-radius:10px;--video-player-track-height:4px;position:relative;width:100%;height:100%;overflow:hidden;background:#111111;container-type:inline-size;isolation:isolate}.video-preview-media{display:block;width:100%;height:100%;object-fit:cover;cursor:pointer;opacity:0}.video-preview-media[data-video-frame-presented=true]{opacity:1}.video-preview-player:focus-visible{outline:2px solid var(--canvas-theme-neutral-focus-border,rgba(255,255,255,.54));outline-offset:-2px}.video-player-feedback{position:absolute;inset:var(--video-player-inset);z-index:5;display:grid;place-items:center;pointer-events:none}.video-player-feedback-content{display:inline-flex;max-width:100%;align-items:center;gap:6px;padding:7px 10px;color:var(--canvas-theme-ink,rgba(255,255,255,.96));font-size:12px;font-weight:700;line-height:16px;background:color-mix(in srgb,var(--canvas-theme-surface,#111111) 90%,transparent);border:1px solid var(--canvas-theme-border,rgba(255,255,255,.18));border-radius:var(--video-player-overlay-radius);box-shadow:var(--canvas-theme-shadow,0 8px 20px rgba(0,0,0,.26));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.video-player-feedback--error .video-player-feedback-content{color:var(--canvas-theme-danger,#ff9b9b);background:color-mix(in srgb,var(--canvas-theme-danger-soft,rgba(116,24,24,.9)) 84%,transparent);border-color:var(--canvas-theme-danger-border,rgba(255,116,116,.38))}.node-media-unavailable{position:absolute;inset:0;z-index:5;display:grid;place-items:center;background:repeating-linear-gradient(-45deg,transparent 0 10px,color-mix(in srgb,var(--canvas-theme-ink,#ffffff) 3%,transparent) 10px 20px),color-mix(in srgb,var(--canvas-theme-surface,#111111) 92%,transparent);pointer-events:none}.node-media-unavailable-label{display:inline-flex;max-width:calc(100% - 24px);padding:7px 10px;color:var(--canvas-theme-ink,rgba(255,255,255,.96));font-size:12px;font-weight:700;line-height:16px;background:color-mix(in srgb,var(--canvas-theme-surface,#111111) 90%,transparent);border:1px solid var(--canvas-theme-border,rgba(255,255,255,.18));border-radius:8px;box-shadow:var(--canvas-theme-shadow,0 8px 20px rgba(0,0,0,.26));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.node-media-unavailable[data-access-state=archive_failed] .node-media-unavailable-label,.node-media-unavailable[data-access-state=audit_rejected] .node-media-unavailable-label,.node-media-unavailable[data-access-state=forbidden] .node-media-unavailable-label{color:var(--canvas-theme-danger,#ff9b9b);border-color:var(--canvas-theme-danger-border,rgba(255,116,116,.38))}.video-player-retry{padding:3px 7px;color:inherit;font:inherit;font-weight:800;background:color-mix(in srgb,currentColor 14%,transparent);border:0;border-radius:6px;cursor:pointer;pointer-events:auto}.video-player-retry:focus-visible,.video-player-retry:hover{background:color-mix(in srgb,currentColor 22%,transparent);outline:2px solid color-mix(in srgb,currentColor 34%,transparent);outline-offset:1px}.video-player-loading-spinner{width:24px;height:24px;flex:0 0 24px;color:var(--canvas-theme-ink,rgba(255,255,255,.96));border:3px solid color-mix(in srgb,currentColor 32%,transparent);border-top-color:currentcolor;border-radius:999px;animation:video-player-spin .7s linear infinite}.video-preview-player[data-loading=true] .video-player-bar,.video-preview-player[data-loading=true] .video-player-center-play{opacity:0;pointer-events:none;visibility:hidden}@keyframes video-player-spin{to{transform:rotate(1turn)}}.video-tool-status{position:absolute;top:10px;left:10px;z-index:5;max-width:calc(100% - 20px);padding:6px 9px;overflow:hidden;color:var(--canvas-theme-accent-strong,var(--canvas-theme-ink,rgba(255,255,255,.92)));font-size:12px;font-weight:700;line-height:1;text-overflow:ellipsis;white-space:nowrap;background:var(--canvas-theme-surface-soft,rgba(0,0,0,.62));border:1px solid var(--canvas-theme-border,rgba(255,255,255,.16));border-radius:8px;box-shadow:var(--canvas-theme-shadow,none);display:flex;align-items:center;gap:8px}.video-tool-status-cancel{padding:0;color:inherit;font:inherit;text-decoration:underline;background:transparent;border:0;cursor:pointer}.video-tool-menu{display:flex;width:148px;flex-direction:column}.video-tool-popover{box-sizing:border-box;display:grid;width:300px;max-height:420px;grid-gap:10px;gap:10px;overflow-y:auto;padding:var(--canvas-popover-padding-panel,12px);border-radius:var(--canvas-popover-radius-panel,16px)}.video-tool-popover-empty{margin:0;color:var(--canvas-popover-ink-muted,#919191);font-size:12px;line-height:18px}.video-tool-popover-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:6px;gap:6px}.video-tool-popover-chips button,.video-tool-popover-confirm{height:28px;padding:0 8px;color:var(--canvas-popover-ink);font-size:12px;background:var(--canvas-popover-hover);border:1px solid transparent;border-radius:8px;cursor:pointer}.video-tool-popover-chips button:hover:not(:disabled),.video-tool-popover-confirm:hover:not(:disabled){background:var(--canvas-popover-active)}.video-tool-popover-chips button[aria-pressed=true]{color:var(--canvas-popover-surface);font-weight:600;background:var(--canvas-popover-ink);border-color:var(--canvas-popover-ink)}.video-tool-popover-chips button[aria-pressed=true]:hover:not(:disabled),.video-tool-popover-confirm{background:var(--canvas-popover-ink)}.video-tool-popover-confirm{height:32px;color:var(--canvas-popover-surface);font-weight:600;border-color:var(--canvas-popover-ink)}.video-tool-popover-confirm:hover:not(:disabled){background:var(--canvas-popover-ink);opacity:.86}.video-tool-popover-chips button:disabled,.video-tool-popover-confirm:disabled{cursor:default;opacity:.48}.video-operation-dock{position:absolute;top:calc(100% + 12px);left:50%;z-index:44;box-sizing:border-box;width:min(320px,96vw);padding:12px;color:rgba(255,255,255,.94);pointer-events:auto;background:rgba(37,37,37,.98);border:1px solid rgba(255,255,255,.09);border-radius:14px;box-shadow:0 20px 58px rgba(0,0,0,.48);transform:translateX(-50%)}.video-clip-metadata-badge{position:absolute;top:10px;left:10px;z-index:5;max-width:calc(100% - 20px);padding:6px 9px;overflow:hidden;color:var(--canvas-theme-ink-muted,rgba(255,255,255,.92));font-size:11px;font-weight:700;line-height:1;text-overflow:ellipsis;white-space:nowrap;background:var(--canvas-theme-surface,rgba(0,0,0,.62));border:1px solid var(--canvas-theme-border,rgba(255,255,255,.16));border-radius:8px;box-shadow:var(--canvas-theme-shadow,none)}.video-clip-metadata-badge[data-video-operation-state=queued],.video-clip-metadata-badge[data-video-operation-state=running],.video-clip-metadata-badge[data-video-operation-state=succeeded]{color:var(--canvas-theme-accent-strong,var(--canvas-theme-ink));background:var(--canvas-theme-surface-soft,var(--canvas-theme-surface))}.video-clip-metadata-badge[data-video-operation-state=succeeded]{border-color:var(--canvas-theme-neutral-focus-border,rgba(255,255,255,.54))}.video-clip-metadata-badge[data-video-operation-state=failed]{color:var(--canvas-theme-danger,#b42318);background:var(--canvas-theme-danger-soft,#fff4f2);border-color:var(--canvas-theme-danger-border,rgba(180,35,24,.18))}.video-result-stack{display:grid;grid-gap:8px;gap:8px;margin-top:8px;color:rgba(247,247,247,.88)}.video-result-stack-summary{display:flex;min-height:34px;align-items:center;justify-content:space-between;gap:10px;padding:0 10px;color:inherit;font-size:12px;font-weight:700;line-height:16px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.12);border-radius:8px;cursor:pointer}.video-result-list{display:grid;grid-gap:8px;gap:8px}.video-result-item{display:grid;grid-template-columns:82px minmax(0,1fr);grid-gap:8px;gap:8px;align-items:center;padding:8px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.12);border-radius:8px}.video-result-item[data-selected=true]{border-color:rgba(255,255,255,.72)}.video-result-item img,.video-result-item video,.video-result-item-placeholder{display:grid;width:82px;aspect-ratio:16/9;place-items:center;object-fit:cover;background:rgba(0,0,0,.42);border-radius:6px}.video-result-item-placeholder svg{width:24px;height:24px}.video-result-item-actions,.video-result-item-meta{display:flex;min-width:0;align-items:center;gap:6px}.video-result-item-meta{justify-content:space-between;font-size:12px;line-height:16px}.video-result-item-actions{grid-column:2}.video-result-item-actions button{min-height:28px;min-width:72px;padding:0 8px;color:rgba(247,247,247,.88);font-size:12px;line-height:16px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.12);border-radius:7px;cursor:pointer}.video-result-item-actions button:disabled{cursor:default;opacity:.6}.video-tool-ratio-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:6px;gap:6px}.video-tool-ratio-list button[data-active=true]{color:#111111;background:#ffffff}.video-crop-footer{z-index:44;align-items:center;color:rgba(255,255,255,.94);background:rgba(37,37,37,.98);border:1px solid rgba(255,255,255,.09);box-shadow:0 20px 58px rgba(0,0,0,.48);transform:translateX(-50%)}.video-clip-editor-anchor,.video-crop-footer{position:absolute;left:50%;display:flex;pointer-events:auto}.video-clip-editor-anchor{top:100%;z-index:20;width:calc(100% + 337px);flex-direction:column;margin-top:8px;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform:translateX(calc(-50% + 23.5px))}.video-clip-editor{box-sizing:border-box;display:flex;align-items:center;gap:24px;padding:8px;color:var(--canvas-popover-ink);background:var(--canvas-popover-surface);border:.5px solid var(--canvas-popover-border);border-radius:24px;box-shadow:var(--canvas-popover-shadow)}.video-clip-editor button,.video-crop-footer button{display:grid;place-items:center;padding:0;color:inherit;background:transparent;border:0;cursor:pointer}.video-clip-editor svg,.video-crop-footer svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.video-crop-footer svg{width:25px;height:25px}.video-edit-close,.video-edit-ghost,.video-edit-mode{width:40px;height:40px;flex:0 0 40px;border-radius:999px;transition:background-color .12s ease}.video-edit-close:hover,.video-edit-ghost:hover:not(:disabled),.video-edit-mode:hover{background:var(--canvas-popover-hover)}.video-edit-ghost[aria-pressed=true],.video-edit-mode[aria-expanded=true]{background:var(--canvas-popover-active)}.video-edit-close svg{width:22px;height:22px;stroke-width:1.7}.video-edit-divider{width:1px;height:24px;flex:0 0 1px;background:var(--canvas-popover-border)}.video-clip-editor-group{display:flex;align-items:center;flex:0 0 auto;gap:16px}.video-clip-shortcuts-anchor{position:relative;display:grid;flex:0 0 auto;place-items:center}.video-clip-shortcuts{position:absolute;bottom:calc(100% + 16px);left:0;z-index:2;box-sizing:border-box;width:560px;max-width:calc(100vw - 48px);padding:24px;border-radius:16px}.video-clip-shortcuts header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.video-clip-shortcuts h3{margin:0;color:var(--canvas-popover-ink,#ffffff);font-size:16px;font-weight:500}.video-clip-shortcuts header button{display:grid;width:20px;height:20px;place-items:center;padding:0;color:var(--canvas-popover-ink-muted,#919191);background:transparent;border:0;cursor:pointer}.video-clip-shortcuts header button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:2}.video-clip-shortcuts-columns{display:grid;grid-template-columns:1fr 1px 1fr;grid-gap:32px;gap:32px}.video-clip-shortcuts-columns:before{grid-column:2;grid-row:1;background:var(--canvas-popover-border,#363636);content:""}.video-clip-shortcuts dl{display:grid;margin:0;grid-gap:16px;gap:16px;align-content:start}.video-clip-shortcuts dl:last-of-type{grid-column:3;grid-row:1}.video-clip-shortcuts dl>div{display:flex;align-items:center;justify-content:space-between;gap:16px}.video-clip-shortcuts dt{color:var(--canvas-popover-ink,#ffffff);font-size:13px;white-space:nowrap}.video-clip-shortcuts dd{display:flex;align-items:center;gap:4px;margin:0;color:var(--canvas-popover-ink-muted,#919191);font-size:12px}.video-clip-shortcuts kbd{display:grid;min-width:24px;height:24px;place-items:center;padding:0 6px;color:var(--canvas-popover-ink,#ffffff);font-family:inherit;font-size:12px;line-height:1;background:rgba(255,255,255,.1);border-radius:6px}.video-clip-track{position:relative;height:56px;flex:1 1 auto;min-width:0;overflow:visible;background:#050505;border:1px solid rgba(255,255,255,.08);border-radius:8px}.video-clip-strip{position:absolute;inset:0;display:grid;grid-template-columns:repeat(var(--video-clip-frame-count),minmax(0,1fr));overflow:hidden;background:linear-gradient(90deg,rgba(255,255,255,.06),transparent 20%,transparent 80%,rgba(0,0,0,.24)),#050505;border-radius:inherit}.video-clip-strip-frame{position:relative;min-width:0;overflow:hidden;background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.01)),#111111}.video-clip-strip-frame:after{position:absolute;top:0;right:0;bottom:0;width:1px;background:rgba(255,255,255,.34);content:""}.video-clip-strip-frame:last-child:after{display:none}.video-clip-strip-frame video{display:block;width:100%;height:100%;object-fit:cover;opacity:.82;filter:contrast(1.08) saturate(.9)}.video-clip-track-shade{position:absolute;top:0;bottom:0;z-index:1;background:rgba(0,0,0,.66)}.video-clip-track-shade-start{left:0;width:var(--video-clip-start)}.video-clip-track-shade-end{right:0;width:calc(100% - var(--video-clip-end))}.video-clip-selection{position:absolute;top:-3px;bottom:-3px;left:var(--video-clip-start);z-index:3;box-sizing:border-box;display:grid;place-items:center;width:calc(var(--video-clip-end) - var(--video-clip-start));min-width:34px;background:transparent;border:2px solid #ffffff;border-radius:10px;box-shadow:0 0 0 1px rgba(0,0,0,.14),0 6px 14px rgba(0,0,0,.2);cursor:-webkit-grab;cursor:grab;touch-action:none}.video-clip-selection:active{cursor:-webkit-grabbing;cursor:grabbing}.video-clip-duration-label{position:absolute;top:50%;left:clamp(40px,var(--video-clip-label-left),calc(100% - 40px));z-index:6;box-sizing:border-box;display:grid;place-items:center;padding:6px 16px;color:#ffffff;font-size:14px;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;line-height:1.2;pointer-events:none;text-align:center;white-space:nowrap;background:rgba(0,0,0,.65);border-radius:12px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transform:translate(-50%,-50%)}.video-clip-handle{position:absolute;top:50%;z-index:5;box-sizing:border-box;width:16px;height:44px;background:#ffffff;border-radius:999px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 4px 10px rgba(0,0,0,.18);cursor:ew-resize;touch-action:none;transform:translateY(-50%)}.video-clip-handle:after{position:absolute;top:15px;bottom:15px;left:50%;width:1.5px;background:rgba(0,0,0,.64);border-radius:999px;content:"";transform:translateX(-50%)}.video-clip-handle-start{left:2px}.video-clip-handle-end{right:2px}.video-clip-editor .video-edit-confirm{width:48px;height:48px;flex:0 0 48px;color:var(--canvas-popover-surface);background:var(--canvas-popover-ink);border-radius:16px}.video-edit-confirm:disabled{cursor:default;opacity:.5}.video-edit-confirm svg{width:24px;height:24px}.video-clip-encoding{display:grid;grid-gap:4px;gap:4px;padding:12px 8px 0}.video-clip-encoding-track{display:block;height:4px;overflow:hidden;background:var(--canvas-popover-border);border-radius:999px}.video-clip-encoding-track>span{display:block;height:100%;background:var(--canvas-popover-ink);border-radius:inherit;transition:width .18s ease}.video-clip-encoding>span:last-child{color:var(--canvas-popover-ink-muted);font-size:11px;text-align:center}.video-clip-encoding-spinner{animation:video-clip-encoding-spin .9s linear infinite;stroke:none}@keyframes video-clip-encoding-spin{to{transform:rotate(1turn)}}.video-clip-playhead{position:absolute;top:-3px;bottom:-3px;left:var(--video-clip-playhead);z-index:4;box-sizing:border-box;width:14px;background:transparent;border-right:7px solid transparent;border-left:7px solid transparent;cursor:ew-resize;touch-action:none;transform:translateX(-50%)}.video-clip-playhead:after{position:absolute;top:0;bottom:0;left:50%;width:2px;background:#ffffff;border-radius:999px;box-shadow:0 0 0 1px rgba(0,0,0,.36);content:"";transform:translateX(-50%)}.video-crop-footer-confirm:disabled,.video-edit-confirm:disabled{cursor:default;opacity:.48}.video-analysis-empty,.video-analysis-panel,.video-analysis-panel label,.video-analysis-shots,.video-analysis-shots details{display:grid;grid-gap:8px;gap:8px}.video-analysis-empty>strong{color:var(--canvas-popover-ink);font-size:14px;font-weight:600;line-height:20px}.video-analysis-empty p{margin:0;color:var(--canvas-popover-ink-muted);font-size:12px;line-height:18px}.video-analysis-empty-blocked{padding:8px 10px;background:var(--canvas-popover-hover);border-radius:8px}.video-analysis-task{display:grid;grid-gap:8px;gap:8px;padding:10px;background:color-mix(in srgb,currentColor 7%,transparent);border:1px solid color-mix(in srgb,currentColor 16%,transparent);border-radius:7px}.video-analysis-task[data-status=failed]{background:color-mix(in srgb,#e5484d 12%,transparent);border-color:color-mix(in srgb,#e5484d 42%,transparent)}.video-analysis-task[data-status=canceled]{background:color-mix(in srgb,currentColor 5%,transparent);border-color:color-mix(in srgb,currentColor 22%,transparent)}.video-analysis-task>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.video-analysis-task p,.video-analysis-task>header span{color:color-mix(in srgb,currentColor 72%,transparent);font-size:11px;line-height:16px}.video-analysis-task p{margin:0;overflow-wrap:anywhere}.video-analysis-task-progress{display:block;height:4px;overflow:hidden;background:color-mix(in srgb,currentColor 18%,transparent);border-radius:999px}.video-analysis-task-progress>span{display:block;height:100%;background:currentColor;border-radius:inherit;transition:width .18s ease}.video-analysis-task button{min-height:30px;color:inherit;font:inherit;font-size:11px;font-weight:700;background:color-mix(in srgb,currentColor 10%,transparent);border:1px solid color-mix(in srgb,currentColor 24%,transparent);border-radius:6px;cursor:pointer}.video-analysis-task-actions{display:flex;align-items:stretch;gap:6px}.video-analysis-task-actions>button:first-child{flex:1 1}.video-analysis-task-actions .video-analysis-task-dismiss{flex:0 0 auto;padding:0 10px;color:color-mix(in srgb,currentColor 72%,transparent);background:color-mix(in srgb,currentColor 6%,transparent)}.video-analysis-actions button,.video-analysis-copy,.video-analysis-empty button{min-height:34px;padding:0 10px;color:var(--canvas-popover-surface);font:inherit;font-size:12px;font-weight:700;background:var(--canvas-popover-ink);border:1px solid var(--canvas-popover-ink);border-radius:6px;cursor:pointer}.video-analysis-actions button:disabled,.video-analysis-copy:disabled,.video-analysis-empty button:disabled{cursor:default;opacity:.38}.video-analysis-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px;padding-bottom:14px;border-bottom:1px solid var(--canvas-popover-border)}.video-analysis-actions .video-analysis-action-secondary{grid-column:1/-1;color:var(--canvas-popover-ink);background:var(--canvas-popover-hover);border-color:var(--canvas-popover-border)}.video-analysis-panel label>span,.video-analysis-shots details label>span,.video-analysis-shots header>span{color:var(--canvas-popover-ink-muted);font-size:11px;line-height:16px}.video-analysis-panel input,.video-analysis-panel textarea{width:100%;min-width:0;box-sizing:border-box;padding:8px 9px;color:var(--canvas-popover-ink);font:inherit;font-size:12px;line-height:17px;background:var(--canvas-popover-surface);border:1px solid var(--canvas-popover-border);border-radius:6px;outline:none}.video-analysis-panel input:focus,.video-analysis-panel textarea:focus{border-color:var(--canvas-popover-ink-muted);box-shadow:0 0 0 2px color-mix(in srgb,var(--canvas-popover-ink) 10%,transparent)}.video-analysis-panel textarea{min-height:68px;resize:vertical}.video-analysis-shots{padding-top:6px}.video-analysis-shots>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.video-analysis-shots details{padding:10px;background:var(--canvas-popover-hover);border:1px solid var(--canvas-popover-border);border-radius:7px}.video-analysis-shots summary{color:var(--canvas-popover-ink);font-size:12px;font-weight:700;cursor:pointer}.video-analysis-shot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.video-analysis-copy{color:var(--canvas-popover-ink);background:var(--canvas-popover-hover);border-color:var(--canvas-popover-border)}.video-crop-overlay{position:absolute;inset:0;z-index:5;background:rgba(0,0,0,.12)}.video-crop-box,.video-crop-media-box{position:absolute}.video-crop-box{min-width:36px;min-height:36px;border:1px solid rgba(255,255,255,.96);cursor:move;box-shadow:0 0 0 9999px rgba(0,0,0,.34),0 0 0 1px rgba(0,0,0,.28);touch-action:none}.video-crop-size-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.video-crop-grid{position:absolute;background:rgba(255,255,255,.54);pointer-events:none}.video-crop-grid-v1,.video-crop-grid-v2{top:0;bottom:0;width:1px}.video-crop-grid-v1{left:33.333%}.video-crop-grid-v2{left:66.666%}.video-crop-grid-h1,.video-crop-grid-h2{left:0;right:0;height:1px}.video-crop-grid-h1{top:33.333%}.video-crop-grid-h2{top:66.666%}.video-crop-handle{position:absolute;z-index:3;width:9px;height:9px;background:#ffffff;border-radius:1px;box-shadow:0 0 0 1px rgba(0,0,0,.34),0 1px 4px rgba(0,0,0,.4);touch-action:none}.video-crop-edge{position:absolute;z-index:2;touch-action:none}.video-crop-handle[data-handle=n],.video-crop-handle[data-handle=s]{left:50%;width:34px;height:4px;cursor:ns-resize;transform:translateX(-50%)}.video-crop-handle[data-handle=e],.video-crop-handle[data-handle=w]{top:50%;width:4px;height:34px;cursor:ew-resize;transform:translateY(-50%)}.video-crop-handle[data-handle=nw],.video-crop-handle[data-handle=se]{cursor:nwse-resize}.video-crop-handle[data-handle=ne],.video-crop-handle[data-handle=sw]{cursor:nesw-resize}.video-crop-handle[data-handle*=n]{top:-4px}.video-crop-handle[data-handle*=s]{bottom:-4px}.video-crop-handle[data-handle*=w]{left:-4px}.video-crop-handle[data-handle*=e]{right:-4px}.video-crop-edge[data-handle=n],.video-crop-edge[data-handle=s]{right:0;left:0;height:24px;cursor:ns-resize}.video-crop-edge[data-handle=n]{top:-12px}.video-crop-edge[data-handle=s]{bottom:-12px}.video-crop-edge[data-handle=e],.video-crop-edge[data-handle=w]{top:0;bottom:0;width:24px;cursor:ew-resize}.video-crop-edge[data-handle=e]{right:-12px}.video-crop-edge[data-handle=w]{left:-12px}.video-crop-footer{z-index:51;top:calc(100% + 12px);gap:4px;width:max-content;min-width:310px;height:54px;padding:5px;border-radius:14px}.video-crop-footer[data-placement=top]{top:auto;bottom:calc(100% + var(--video-crop-footer-gap, 12px));width:max-content;min-width:310px;transform:translateX(-50%) scale(var(--video-crop-footer-scale,1));transform-origin:center bottom}.video-crop-footer-close{width:40px;height:40px;color:rgba(255,255,255,.72);border-radius:10px!important}.video-crop-footer-close svg{width:20px;height:20px;stroke-width:1.6}.video-crop-footer-divider{width:1px;height:30px;margin:0 3px;background:rgba(255,255,255,.11)}.video-crop-footer-ratio-picker{position:relative}.video-crop-footer-ratio{display:flex!important;min-width:152px;height:40px;grid-auto-flow:column;grid-template-columns:18px 1fr 14px;justify-content:start;gap:8px;padding:0 10px!important;border-radius:10px!important;opacity:1!important;font-size:13px;white-space:nowrap}.video-crop-footer-ratio:disabled{cursor:default;opacity:.58!important}.video-crop-footer-ratio svg:first-child{width:18px;height:18px}.video-crop-footer-ratio svg:last-child{width:14px;height:14px;margin-left:auto}.video-crop-footer-ratio-menu{position:absolute;top:calc(100% + 8px);left:0;z-index:2;display:grid;width:100%;min-width:152px;padding:5px;color:rgba(255,255,255,.94);background:rgba(37,37,37,.99);border:1px solid rgba(255,255,255,.12);border-radius:12px;box-shadow:0 16px 38px rgba(0,0,0,.42)}.video-crop-footer[data-placement=bottom] .video-crop-footer-ratio-menu{top:auto;bottom:calc(100% + 8px)}.video-crop-footer-ratio-option{display:flex!important;width:100%;height:34px;justify-content:space-between;padding:0 10px!important;border-radius:8px!important;font-size:13px}.video-crop-footer-ratio-option:hover,.video-crop-footer-ratio-option[aria-selected=true]{background:rgba(255,255,255,.1)}.video-crop-footer-confirm{width:auto;min-width:72px;height:44px;flex:0 0 auto;padding:0 18px!important;color:#111111;background:#ffffff;border-radius:11px;font-size:14px;font-weight:650}.video-player-center-play{position:absolute;inset:0;z-index:3;display:grid;width:52px;height:52px;place-items:center;margin:auto;color:#ffffff;background:rgba(0,0,0,.68);border:1px solid rgba(255,255,255,.42);border-radius:999px;box-shadow:0 10px 24px rgba(0,0,0,.42),0 0 0 1px rgba(0,0,0,.28);cursor:pointer;transition:opacity .16s ease,transform .16s ease,background-color .16s ease,visibility .16s ease}.video-player-center-play:focus-visible,.video-player-center-play:hover{background:rgba(0,0,0,.82);outline:none;transform:scale(1.04)}.video-player-center-play.hover-frame:focus-visible,.video-player-center-play.hover-frame:focus-within,.video-player-center-play.hover-frame:hover{box-shadow:0 10px 24px rgba(0,0,0,.42),0 0 0 1px rgba(0,0,0,.28),inset 0 0 0 1px var(--hover-frame-hover-stroke)}.video-preview-player[data-controls-visible=false] .video-player-center-play{opacity:0;pointer-events:none;transform:scale(.92);visibility:hidden}.video-player-bar{position:absolute;right:0;bottom:0;left:0;z-index:4;display:flex;min-height:52px;align-items:center;gap:var(--video-player-control-gap);padding:24px var(--video-player-inset) var(--video-player-inset);color:var(--canvas-theme-ink,rgba(255,255,255,.96));background:linear-gradient(to bottom,rgba(0,0,0,0),color-mix(in srgb,var(--canvas-theme-surface,#000000) 72%,transparent));transition:opacity .16s ease,transform .16s ease,visibility .16s ease}.video-preview-player[data-controls-visible=false] .video-player-bar{opacity:0;pointer-events:none;transform:translateY(8px);visibility:hidden}.video-player-play-button.hover-frame,.video-player-tool-button.hover-frame{--hover-frame-hover-background:rgba(0,0,0,0.48);--hover-frame-active-background:rgba(0,0,0,0.18);--hover-frame-active-stroke:transparent}.video-player-play-button,.video-player-tool-button{position:relative;display:grid;width:var(--video-player-control-size);height:var(--video-player-control-size);flex:0 0 var(--video-player-control-size);place-items:center;padding:0;color:rgba(255,255,255,.92);background:rgba(0,0,0,.18);border:0;border-radius:999px;cursor:pointer}.video-player-tool-button{border-radius:8px}.video-player-play-button:focus-visible:not(:disabled),.video-player-play-button:hover:not(:disabled),.video-player-tool-button:focus-visible:not(:disabled),.video-player-tool-button:hover:not(:disabled){color:#ffffff;background:rgba(0,0,0,.48);outline:none}.video-player-play-button:hover:not(:disabled),.video-player-tool-button:hover:not(:disabled){box-shadow:inset 0 0 0 1px var(--hover-frame-hover-stroke)}.video-player-play-button:focus-visible:not(:disabled),.video-player-tool-button:focus-visible:not(:disabled){box-shadow:inset 0 0 0 1px var(--hover-frame-focus-stroke)}.video-player-play-button:focus:not(:focus-visible):not(:hover),.video-player-tool-button:focus:not(:focus-visible):not(:hover){background:rgba(0,0,0,.18);box-shadow:none}.video-player-icon{width:15px;height:15px;fill:currentColor;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.video-player-center-play .video-player-icon{width:22px;height:22px}.video-player-time{flex:0 0 auto;min-width:34px;color:var(--canvas-theme-ink-muted,rgba(255,255,255,.88));font-size:11px;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;line-height:var(--video-player-control-size);text-align:center;white-space:nowrap}.video-player-timeline{position:relative;display:grid;min-width:0;height:var(--video-player-control-size);flex:1 1 56px;align-items:center;cursor:pointer;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.video-player-progress,.video-player-track{position:absolute;top:50%;right:0;left:0;height:var(--video-player-track-height);border-radius:999px;transform:translateY(-50%)}.video-player-track{background:rgba(255,255,255,.32)}.video-player-progress{width:0;background:rgba(255,255,255,.96)}.video-player-thumb{position:absolute;top:50%;width:7px;height:7px;margin-left:-3.5px;background:#ffffff;border-radius:999px;box-shadow:0 0 0 2px rgba(0,0,0,.2);transform:translateY(-50%)}.video-player-tools{display:inline-flex;flex:0 0 auto;align-items:center;gap:4px;margin-left:auto}.video-player-timeline:focus-visible{outline:2px solid var(--canvas-theme-neutral-focus-border,rgba(255,255,255,.54));outline-offset:2px}@container (max-width: 360px){.video-preview-player{--video-player-control-gap:2px;--video-player-control-size:24px;--video-player-inset:6px}.video-player-bar{display:flex;min-height:48px;flex-wrap:nowrap;padding-top:18px}.video-player-time{min-width:24px;font-size:9px}.video-player-timeline{min-width:24px;flex-basis:32px}.video-player-tools{width:auto;gap:1px}.video-frame .media-upload-status{bottom:64px}}@container (max-width: 280px){.video-preview-player{--video-player-control-gap:1px;--video-player-control-size:22px;--video-player-inset:4px}.video-player-center-play{width:42px;height:42px}.video-player-center-play .video-player-icon{width:18px;height:18px}.video-player-current-time,.video-player-duration{display:none}.video-player-timeline{min-width:18px;flex-basis:24px}.video-frame .media-upload-status{bottom:60px}}@media (prefers-reduced-motion:reduce){.video-player-bar,.video-player-center-play{transition:none}.video-player-loading-spinner{animation:none}}.video-node-empty-icon{width:48px;height:48px;fill:none;stroke:rgba(255,255,255,.24);stroke-linejoin:round;stroke-width:3}.prompt-composer{position:absolute;top:calc(100% + var(--prompt-composer-gap, 16px));left:50%;z-index:50;width:var(--prompt-composer-width,660px);max-width:calc(100vw - 32px);transform:translate(calc(-50% + var(--prompt-composer-shift-x, 0px)),var(--prompt-composer-shift-y,0)) scale(var(--prompt-composer-scale,1));transform-origin:center top;transition:none;animation:none;font-weight:400}.prompt-composer[data-expanded=true]{display:flex;flex-direction:column;width:min(960px,calc(100vw - 96px));max-height:var(--prompt-composer-expanded-max-height,calc(100vh - 32px));min-height:min(360px,var(--prompt-composer-expanded-max-height,calc(100vh - 32px)))}.prompt-composer[data-mention-open=true],.prompt-composer[data-popover-open=true]{z-index:120}.prompt-composer[data-prompt-variant=text]{--prompt-composer-body-gap:0px;--prompt-composer-body-padding:8px;--prompt-composer-top-layer-padding:8px 8px 0}.prompt-composer[data-prompt-variant=video]{--prompt-composer-body-gap:8px;--prompt-composer-body-padding:8px;--prompt-composer-top-layer-padding:8px 8px 0}.prompt-composer[data-prompt-variant=video] .prompt-composer-tools{row-gap:8px}.prompt-composer[data-prompt-variant=video] .prompt-composer-input-row{height:96px;flex-basis:96px}.prompt-composer[data-prompt-variant=image],.prompt-composer[data-prompt-variant=media]{--prompt-composer-body-gap:8px;--prompt-composer-body-padding:12px 8px 8px;--prompt-composer-top-layer-padding:12px 8px 0}.prompt-composer-shell{display:flex;width:100%;flex-direction:column;overflow:visible;color:rgb(247,247,247);background:rgb(38,38,38);border:.5px solid rgb(54,54,54);border-radius:16px;box-shadow:0 4px 10px rgba(0,0,0,.12)}.prompt-composer[data-expanded=true] .prompt-composer-shell{flex:1 1 auto;min-height:0}.prompt-composer-body{display:flex;width:100%;flex:1 1 auto;flex-direction:column;gap:var(--prompt-composer-body-gap,8px);padding:var(--prompt-composer-body-padding,12px 8px 8px)}.prompt-composer-secondary-panel{min-width:0;min-height:0;flex:0 0 auto}.prompt-composer-top-layer{display:flex;width:100%;min-inline-size:0;flex:0 0 auto;flex-direction:column;gap:var(--prompt-composer-body-gap,8px);margin:0;border:0;padding:var(--prompt-composer-top-layer-padding,12px 8px 0)}.prompt-composer-body[data-has-top-layer=true]{padding-top:var(--prompt-composer-body-gap,8px)}.prompt-composer[data-prompt-variant=text] .prompt-composer-body[data-has-top-layer=true]{padding-top:8px}.prompt-composer[data-expanded=true] .prompt-composer-body{min-height:0;padding:24px 20px 14px}.prompt-composer[data-expanded=true] .prompt-composer-top-layer{padding:24px 20px 0}.prompt-composer[data-expanded=true] .prompt-composer-body[data-has-top-layer=true]{padding-top:var(--prompt-composer-body-gap,8px)}.prompt-composer-expand-toggle{position:absolute;top:8px;right:8px;z-index:3;display:grid;width:28px;height:28px;place-items:center;padding:0;color:rgba(247,247,247,.76);background:rgb(38,38,38);border:0;border-radius:8px;cursor:pointer}.prompt-composer-expand-toggle:focus-visible,.prompt-composer-expand-toggle:hover{color:rgba(247,247,247,.92);background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.18);outline:none}.prompt-composer-expand-toggle:active{color:rgb(255,255,255);background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.24)}.prompt-composer-expand-toggle svg{width:14px;height:14px;fill:currentColor;stroke:none}.prompt-composer-modes,.prompt-composer-toolbar,.prompt-composer-tools{display:flex;align-items:center}.prompt-composer-modes{height:30px;flex:0 0 30px;gap:8px;padding:2px 2px 0;overflow-x:auto;scrollbar-width:none}.prompt-composer-modes::-webkit-scrollbar{display:none}.prompt-composer-modes button{display:inline-flex;height:28px;flex:0 0 auto;align-items:center;justify-content:center;padding:0 10px;color:rgb(247,247,247);font:inherit;font-size:14px;line-height:20px;white-space:nowrap;background:transparent;border:0;border-radius:8px;cursor:pointer}.prompt-composer-modes button[data-selected=true]{color:var(--canvas-theme-ink,#141414);background:var(--prompt-composer-selected-background,rgba(255,255,255,.1));border-color:transparent;box-shadow:none}.prompt-composer-tools{min-height:30px;height:auto;flex:0 0 auto;flex-wrap:wrap;align-content:flex-start;align-items:flex-start;gap:4px;padding:4px 4px 0}.prompt-composer-tools .image-prompt-tool,.prompt-composer-tools button:not(:where(.reference-corner-badge)){display:inline-flex;width:48px;height:48px;flex:0 0 48px;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:4px;color:rgb(247,247,247);font-size:13px;line-height:1.1;background:transparent;border:.5px solid rgb(82,82,82);border-radius:8px;cursor:pointer}.prompt-function-bar{display:flex;width:100%;min-height:26px;flex:0 0 100%;flex-wrap:wrap;align-items:center;gap:4px}.prompt-function-bar .prompt-function-tool-wrapper{width:auto;height:26px;flex:0 0 auto}.prompt-composer-tools .image-prompt-tool.prompt-function-tool,.prompt-composer-tools button.prompt-function-tool{width:auto;min-width:0;height:26px;flex:0 0 auto;flex-direction:row;gap:2px;padding:4px 8px;color:var(--canvas-theme-ink-muted,rgb(145,145,145));font-size:12px;line-height:normal;background:var(--prompt-function-tool-background,rgba(255,255,255,.05));border:0;border-radius:9999px;box-shadow:none}.prompt-composer-tools button.prompt-function-tool:disabled{opacity:.45;cursor:not-allowed}.prompt-function-tool .image-prompt-tool-icon,.prompt-function-tool .video-prompt-tool-icon{width:12px;height:12px;flex:0 0 12px}.prompt-composer-tools .image-prompt-tool,.prompt-composer-tools .video-text-reference button{position:relative}.prompt-tool-with-tooltip{position:relative;display:inline-flex;width:48px;height:48px;flex:0 0 48px}.prompt-tool-tooltip{position:absolute;left:50%;bottom:calc(100% + 14px);z-index:12;transform:translate(-50%,4px)}.prompt-tool-with-tooltip:focus-within .prompt-tool-tooltip,.prompt-tool-with-tooltip:hover .prompt-tool-tooltip{opacity:1;transform:translate(-50%);visibility:visible}.image-style-selected-tool{position:relative;display:inline-flex;width:48px;height:48px;flex:0 0 48px}.image-style-selected-thumbnail .prompt-reference-item-body{position:relative}.image-style-selected-placeholder{display:grid;width:100%;height:100%;place-items:center;color:rgba(255,255,255,.82);background:rgba(255,255,255,.08)}.image-style-selected-scrim{position:absolute;inset:0;background:rgba(0,0,0,.42);pointer-events:none}.image-style-selected-state{position:absolute;inset:0;display:grid;grid-template-rows:14px 11px;align-content:center;justify-items:center;grid-gap:2px;gap:2px;color:rgba(255,255,255,.88);font-size:11px;line-height:11px;pointer-events:none;transition:opacity .15s ease}.image-style-selected-state .image-prompt-tool-icon{width:14px;height:14px}.image-style-selected-state-replace{opacity:0}.image-style-selected-thumbnail button.prompt-reference-item-body:focus-visible .image-style-selected-state-default,.image-style-selected-tool[data-replaceable=true]:hover .image-style-selected-state-default{opacity:0}.image-style-selected-thumbnail button.prompt-reference-item-body:focus-visible .image-style-selected-state-replace,.image-style-selected-tool[data-replaceable=true]:hover .image-style-selected-state-replace{opacity:1}.image-style-selected-tooltip{position:absolute;left:50%;bottom:calc(100% + 16px);z-index:14;max-width:220px;text-overflow:ellipsis;transform:translate(-50%,4px)}.image-style-selected-tooltip>.cbi-tooltip-content{overflow:hidden;text-overflow:ellipsis}.image-style-selected-tool:focus-within .image-style-selected-tooltip,.image-style-selected-tool:hover .image-style-selected-tooltip{opacity:1;transform:translate(-50%);visibility:visible}.image-style-compatibility-message{max-width:100%;flex:0 0 100%;color:var(--canvas-theme-warning,#b56a00);font-size:11px;line-height:16px}.video-text-reference{position:relative;display:inline-block;width:48px;height:48px;flex:0 0 48px}.video-text-reference-card{position:relative;display:block;width:48px;height:48px}.video-text-reference-surface{display:block;width:48px;height:48px;overflow:hidden;background:rgb(255,255,255);border:.5px solid rgba(0,0,0,.06);border-radius:12px}.video-text-reference-icon-wrap{display:flex;width:100%;height:100%;align-items:center;justify-content:center;background:rgb(229,230,236)}.video-text-reference-icon{width:14px;height:15px;object-fit:contain}.video-text-reference-count{position:absolute;top:4px;left:4px;display:flex;box-sizing:border-box;height:14px;min-width:14px;align-items:center;justify-content:center;padding:0 4px;color:rgb(255,255,255);font-size:9px;line-height:9px;pointer-events:none;background:rgba(0,0,0,.65);border-radius:8px;transition:opacity .15s ease}.prompt-composer-tools button.video-text-reference-clear{position:absolute;top:2px;right:2px;z-index:2;display:flex;width:15px;min-width:15px;height:15px;flex:0 0 15px;align-items:center;justify-content:center;padding:0;color:rgb(134,144,156);background:rgb(255,255,255);border:1px solid rgba(212,212,212,.9);border-radius:9999px;box-shadow:0 1px 2px rgba(0,0,0,.05);opacity:0;transition:opacity .15s ease,background .15s ease}.video-text-reference-clear svg{width:7px;height:7px;stroke-width:2.4}.video-text-reference:focus-within .video-text-reference-count,.video-text-reference:hover .video-text-reference-count{opacity:0}.video-text-reference:focus-within .video-text-reference-clear,.video-text-reference:hover .video-text-reference-clear{opacity:1}.prompt-composer-tools .prompt-reference-item{position:relative;display:inline-flex;box-sizing:border-box;width:48px;height:48px;flex:0 0 48px;padding:0;overflow:visible;background:rgba(255,255,255,.08);border:.5px solid rgba(255,255,255,.16);border-radius:8px}.prompt-composer-tools .prompt-reference-item .prompt-reference-item-body{display:grid;width:100%;height:100%;flex:1 1;padding:0;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;color:inherit;font:inherit;background:transparent;border:0;border-radius:8px;overflow:hidden;cursor:default}.prompt-composer-tools .prompt-reference-item button.prompt-reference-item-body{cursor:pointer}.prompt-reference-item img,.prompt-reference-item video{display:block;width:100%;height:100%;object-fit:cover;border-radius:8px}.image-reference-input-placeholder{display:block;width:100%;height:100%;background:linear-gradient(135deg,transparent 47%,rgba(255,255,255,.2) 48% 52%,transparent 53%),rgba(255,255,255,.04);border:1px dashed rgba(255,255,255,.32);border-radius:8px}.prompt-reference-item-icon{display:grid;position:relative;width:100%;height:100%;place-items:center}.prompt-composer-tools .media-reference-thumbnail{margin:0 2px 4px}.video-reference-thumbnail-media{display:grid;width:100%;height:100%;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center}.video-reference-thumbnail-media>*{grid-area:1/1}.video-reference-play-overlay{z-index:1;display:grid;width:16px;height:16px;place-items:center;color:#fff;pointer-events:none;background:rgba(0,0,0,.56);border-radius:999px}.video-reference-play-overlay svg{width:10px;height:10px}.prompt-composer-tools .video-reference-thumbnail-missing{color:var(--canvas-theme-ink-muted,#7d8694);background:var(--canvas-theme-surface-soft,#e6e8ed);border-color:transparent}.video-reference-thumbnail-missing .prompt-reference-item-icon svg{width:22px;height:22px;stroke-width:1.8}.media-reference-thumbnail .prompt-reference-item-badge{top:2px;right:auto;left:2px;height:14px;min-width:14px;padding:0 3px;color:#fff;font-size:9px;font-weight:600;background:rgba(0,0,0,.65);border:0;transition:opacity .12s ease}.prompt-reference-item-metadata{position:absolute;bottom:2px;left:2px;z-index:2;display:grid;min-width:14px;height:12px;place-items:center;padding:0 3px;color:#fff;font-size:8px;font-weight:600;line-height:1;pointer-events:none;background:rgba(0,0,0,.65);border-radius:4px}.prompt-composer-tools .media-reference-thumbnail button.prompt-reference-item-clear,.prompt-composer-tools .media-reference-thumbnail button.prompt-reference-item-mention{position:absolute;z-index:3;display:grid;min-width:0;padding:0;place-items:center;color:#fff;background:rgba(0,0,0,.65);border:1px solid rgba(255,255,255,.9);border-radius:999px;opacity:0;pointer-events:none;transition:opacity .12s ease}.prompt-composer-tools .media-reference-thumbnail button.prompt-reference-item-clear{top:2px;right:2px;width:15px;height:15px;color:#fff;background:#333;border-color:#fff}.media-reference-thumbnail .prompt-reference-item-clear svg{width:7px;height:7px;color:#fff;stroke:currentColor;stroke-width:2.4}.prompt-composer-tools .media-reference-thumbnail button.prompt-reference-item-mention{right:2px;bottom:2px;width:12px;height:12px;font-size:9px;font-weight:700;line-height:1;border-color:transparent}.media-reference-thumbnail:focus-within .prompt-reference-item-badge,.media-reference-thumbnail:hover .prompt-reference-item-badge{opacity:0}.prompt-composer-tools .media-reference-thumbnail:focus-within button.prompt-reference-item-clear,.prompt-composer-tools .media-reference-thumbnail:focus-within button.prompt-reference-item-mention,.prompt-composer-tools .media-reference-thumbnail:hover button.prompt-reference-item-clear,.prompt-composer-tools .media-reference-thumbnail:hover button.prompt-reference-item-mention{opacity:1;pointer-events:auto}.prompt-reference-item-clear:focus-visible,.prompt-reference-item-mention:focus-visible{outline:2px solid var(--canvas-theme-neutral-focus-border,rgba(255,255,255,.54));outline-offset:1px}.prompt-composer-tools .audio-reference-thumbnail{color:var(--canvas-theme-ink-muted,#7d8694);background:var(--canvas-theme-surface-soft,#e6e8ed)}.audio-reference-thumbnail audio{display:none}.audio-reference-music-icon{width:30px;height:30px;stroke-width:1.8}.audio-reference-play-overlay{position:absolute;inset:0;display:grid;place-items:center;color:var(--canvas-theme-ink,#303640);background:color-mix(in srgb,var(--canvas-theme-surface,#fff) 72%,transparent);opacity:0;transition:opacity .15s ease}.audio-reference-play-overlay svg{width:20px;height:20px}.audio-reference-thumbnail:focus-within .audio-reference-play-overlay,.audio-reference-thumbnail:hover .audio-reference-play-overlay{opacity:1}.reference-preview-overlay{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:40px;background:rgba(0,0,0,.72);cursor:zoom-out}.reference-preview-overlay-image{max-width:min(90vw,1200px);max-height:90vh;object-fit:contain;border-radius:8px;box-shadow:0 12px 48px rgba(0,0,0,.5)}.reference-preview-overlay-video-panel{position:relative;display:grid;max-width:90vw;max-height:90vh;place-items:center}.reference-preview-overlay-video{display:block;width:auto;max-width:min(90vw,1200px);height:auto;max-height:90vh;background:#000;border-radius:8px;box-shadow:0 12px 48px rgba(0,0,0,.5)}.reference-preview-overlay-close{position:absolute;top:-14px;right:-14px;display:grid;width:28px;height:28px;padding:0;place-items:center;color:#fff;background:rgba(20,20,20,.9);border:1px solid rgba(255,255,255,.72);border-radius:999px;cursor:pointer}.reference-preview-overlay-close svg{width:16px;height:16px}.reference-preview-overlay-close:focus-visible{outline:2px solid #fff;outline-offset:2px}.reference-hover-preview{position:fixed;z-index:710;box-sizing:border-box;padding:4px;pointer-events:none;background:#fff;border:.5px solid #e5e6ec;border-radius:12px;box-shadow:0 4px 10px rgba(0,0,0,.08),0 2px 4px rgba(0,0,0,.06);transform:translate(-50%,-100%)}.reference-hover-preview-image{display:block;width:auto;max-width:160px;height:auto;max-height:160px;object-fit:contain;border-radius:8px}.prompt-reference-item-badge,.reference-corner-badge{position:absolute;top:-7px;right:-7px;z-index:2;box-sizing:border-box;place-items:center;padding:0 5px;color:var(--reference-corner-badge-color,var(--canvas-theme-ink,rgba(255,255,255,.92)));font-family:inherit;font-weight:var(--reference-corner-badge-font-weight,700);white-space:nowrap;background:var(
    --reference-corner-badge-surface,var(--canvas-theme-surface,rgba(40,40,40,.96))
  );border:var(--reference-corner-badge-border-width,1px) solid var(
      --reference-corner-badge-border-color,var(--canvas-theme-border-strong,rgba(255,255,255,.18))
    )}.prompt-reference-item-badge,.reference-corner-badge,button.reference-corner-badge{display:grid;height:18px;min-width:18px;font-size:11px;line-height:1;border-radius:999px}button.reference-corner-badge{width:auto;flex:0 0 auto;place-items:center;padding:0 5px;cursor:pointer}.reference-corner-badge[data-shape=circle]{width:18px;flex:0 0 18px;padding:0}.reference-corner-badge[data-shape=pill]{--reference-corner-badge-color:color-mix(in srgb,var(--canvas-theme-ink,#141414) 88%,transparent);--reference-corner-badge-surface:color-mix(in srgb,var(--canvas-theme-surface,#ffffff) 88%,transparent);--reference-corner-badge-border-color:color-mix(in srgb,var(--canvas-theme-ink,#141414) 12%,transparent);--reference-corner-badge-border-width:0.5px;--reference-corner-badge-font-weight:600;--reference-corner-badge-shadow:0 1px 2px rgba(0,0,0,0.16),0 4px 10px rgba(0,0,0,0.09),inset 0 1px 0 rgba(255,255,255,0.22);--reference-corner-badge-backdrop-filter:blur(8px) saturate(120%);box-shadow:var(--reference-corner-badge-shadow);backdrop-filter:var(--reference-corner-badge-backdrop-filter);-webkit-backdrop-filter:var(--reference-corner-badge-backdrop-filter)}.reference-corner-badge[data-shape=pill] .reference-corner-badge-label{transform:translateY(-1px)}.prompt-reference-item-badge:after,.reference-corner-badge:after{position:absolute;inset:0;display:grid;width:100%;height:100%;place-items:center;color:var(--reference-corner-badge-color,var(--canvas-theme-ink,rgba(255,255,255,.96)));line-height:1;content:"×";opacity:0;pointer-events:none}.prompt-reference-item[data-clearable=true]:not([data-separate-clear=true]):focus-visible .prompt-reference-item-badge,.prompt-reference-item[data-clearable=true]:not([data-separate-clear=true]):hover .prompt-reference-item-badge{color:transparent}.reference-corner-badge[data-clearable=true]:focus-visible,.reference-corner-badge[data-clearable=true]:hover{color:transparent;outline:none}.prompt-reference-item[data-clearable=true]:not([data-separate-clear=true]):focus-visible .prompt-reference-item-badge:after,.prompt-reference-item[data-clearable=true]:not([data-separate-clear=true]):hover .prompt-reference-item-badge:after{opacity:1}.reference-corner-badge[data-clearable=true]:focus-visible:after,.reference-corner-badge[data-clearable=true]:hover:after{opacity:1}.video-text-reference-popover{position:absolute;left:-96px;bottom:calc(100% + 14px);z-index:320;visibility:hidden;width:360px;max-width:calc(100vw - 32px);max-height:260px;overflow-y:auto;line-height:1.45;white-space:pre-wrap;opacity:0;pointer-events:none;transition:opacity .12s ease,visibility .12s ease}.video-text-reference:focus-within .video-text-reference-popover,.video-text-reference:hover .video-text-reference-popover{visibility:visible;opacity:1;pointer-events:auto}.video-text-reference:hover .video-text-reference-card:before{position:absolute;top:-14px;right:0;left:0;height:14px;content:""}.video-text-reference-popover:after{position:absolute;bottom:-7px;left:106px;width:12px;height:12px;background:var(--canvas-popover-surface);border-right:.5px solid var(--canvas-popover-border);border-bottom:.5px solid var(--canvas-popover-border);content:"";transform:rotate(45deg)}.video-text-reference-markdown+.video-text-reference-markdown{margin-top:12px;padding-top:12px;border-top:1px solid var(--canvas-popover-border)}.video-text-reference-empty{color:var(--canvas-theme-ink-muted,rgba(30,31,33,.58))}.video-text-reference-markdown blockquote,.video-text-reference-markdown h1,.video-text-reference-markdown h2,.video-text-reference-markdown h3,.video-text-reference-markdown ol,.video-text-reference-markdown p,.video-text-reference-markdown pre,.video-text-reference-markdown ul{margin:0}.video-text-reference-markdown{overflow-wrap:anywhere}.video-text-reference-markdown pre{max-width:100%;overflow-x:auto;white-space:pre-wrap}.video-text-reference-markdown table{display:block;max-width:100%;overflow-x:auto}.video-text-reference-markdown a{pointer-events:none}.video-text-reference-markdown h1,.video-text-reference-markdown h2,.video-text-reference-markdown h3{font-size:inherit;font-weight:700}.video-text-reference-markdown strong{font-weight:700}.video-text-reference-markdown em{font-style:italic}.video-text-reference-markdown ol,.video-text-reference-markdown ul{padding-left:18px}.video-text-reference-markdown blockquote{padding-left:10px;border-left:2px solid var(--canvas-theme-border,rgba(255,255,255,.16))}.video-text-reference-markdown hr{margin:10px 0;border:0;border-top:1px solid var(--canvas-theme-border,rgba(255,255,255,.16))}.video-text-reference-markdown blockquote+p,.video-text-reference-markdown ol+p,.video-text-reference-markdown p+blockquote,.video-text-reference-markdown p+ol,.video-text-reference-markdown p+p,.video-text-reference-markdown p+ul,.video-text-reference-markdown ul+p{margin-top:10px}.prompt-settings-control,.video-settings-control{position:relative;display:inline-flex;min-width:0;max-width:250px;flex:0 1 auto}.prompt-composer-toolbar button.prompt-settings-trigger,.prompt-composer-toolbar button.video-settings-trigger{width:100%;min-width:0;max-width:100%;padding:4px 8px;overflow:hidden;gap:6px;color:var(--prompt-composer-primary-text,rgba(247,247,247,.94));background:rgba(255,255,255,.08)}.prompt-settings-trigger:hover,.video-settings-trigger:hover{background:rgba(255,255,255,.13)}.prompt-settings-trigger-label,.video-settings-trigger span:not(.prompt-settings-chevron):not(.video-settings-chevron){min-width:0;overflow:hidden;font-size:13px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}.image-settings-icon,.video-settings-icon{width:16px;height:16px;flex:0 0 16px}.image-settings-icon,.image-settings-ratio-icon,.video-settings-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.image-settings-ratio-icon{width:18px;height:18px}.prompt-settings-chevron,.video-settings-chevron{display:block;width:14px;height:14px;flex:0 0 14px;color:var(--prompt-composer-chevron-color,rgb(168,168,168));fill:currentColor;transform-origin:center}.prompt-settings-trigger[aria-expanded=true] .prompt-settings-chevron,.video-settings-trigger[aria-expanded=true] .video-settings-chevron{transform:rotate(180deg)}.video-prompt-mode-control{max-width:none;flex:0 0 auto}.prompt-composer-toolbar button.video-prompt-mode-trigger{width:auto;min-width:0;max-width:240px;flex:0 0 auto;justify-content:center;gap:4px;padding:4px 8px;color:var(--prompt-composer-primary-text,var(--canvas-theme-ink,rgb(247,247,247)));background:transparent}.video-prompt-mode-trigger:hover{background:var(--canvas-theme-surface-soft,rgba(255,255,255,.1))}.video-prompt-mode-icon{width:16px;height:16px;flex:0 0 16px;color:currentColor}.video-prompt-mode-trigger .prompt-settings-trigger-label{font-size:13px;font-weight:400;line-height:20px}.prompt-settings-popover,.video-settings-popover{position:absolute;bottom:40px;left:var(--prompt-settings-popover-left,0);z-index:320;display:grid;width:var(--prompt-settings-popover-width,min(420px,calc(100vw - 32px)));max-height:min(440px,calc(100vh - 96px));overflow:auto;overscroll-behavior:contain;grid-gap:12px;gap:12px}.prompt-popover-pass-through{pointer-events:none}.prompt-popover-pass-through [contenteditable=true],.prompt-popover-pass-through [data-prompt-popover-interactive],.prompt-popover-pass-through a,.prompt-popover-pass-through button,.prompt-popover-pass-through input,.prompt-popover-pass-through select,.prompt-popover-pass-through textarea{pointer-events:auto}.image-settings-popover,.video-settings-popover{width:min(341px,calc(100vw - 32px));gap:8px}.image-settings-popover{max-height:min(459px,calc(100vh - 96px))}.video-settings-popover{max-height:min(445px,calc(100vh - 96px))}.video-prompt-mode-popover{width:var(--prompt-settings-popover-width,197px);max-height:none}.video-prompt-mode-heading{display:flex;height:var(--canvas-popover-item-height);align-items:center;padding:0 var(--canvas-popover-item-padding-x);color:var(--canvas-popover-ink-muted);font-size:12px;font-weight:500;line-height:18px}.video-prompt-mode-options{display:flex;flex-direction:column;gap:var(--canvas-popover-row-gap)}.video-prompt-mode-option-wrapper{position:relative;display:flex;width:100%;height:32px}.prompt-composer .prompt-composer-toolbar .video-prompt-mode-popover .video-prompt-mode-option{display:flex;width:100%;height:32px;align-items:center;justify-content:flex-start;gap:8px;padding:0 var(--canvas-popover-item-padding-x);color:var(--canvas-popover-ink);font-size:var(--canvas-popover-item-font-size);font-weight:400;line-height:var(--canvas-popover-item-line-height);text-align:left;background:transparent;border:0;border-radius:var(--canvas-popover-item-radius)}.prompt-composer .prompt-composer-toolbar .video-prompt-mode-popover .video-prompt-mode-option:hover:not([aria-disabled=true]){background:var(--canvas-popover-hover)}.prompt-composer .prompt-composer-toolbar .video-prompt-mode-popover .video-prompt-mode-option[data-selected=true]{color:var(--canvas-popover-ink);background:var(--canvas-popover-active);border:0;box-shadow:none}.prompt-composer .prompt-composer-toolbar .video-prompt-mode-popover .video-prompt-mode-option[aria-disabled=true]{color:var(--canvas-theme-ink-muted,#919191);cursor:not-allowed;opacity:.4}.video-prompt-mode-option span{min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.video-prompt-mode-disabled-tooltip{position:absolute;left:0;bottom:calc(100% + 6px);z-index:30;width:max-content;max-width:min(260px,calc(100vw - 32px));white-space:normal;transform:translateY(4px)}.video-prompt-mode-disabled-tooltip>.cbi-tooltip-arrow{left:20px}.video-prompt-mode-option-wrapper:focus-within .video-prompt-mode-disabled-tooltip,.video-prompt-mode-option-wrapper:hover .video-prompt-mode-disabled-tooltip,.video-prompt-mode-option-wrapper[data-hint-visible=true] .video-prompt-mode-disabled-tooltip{opacity:1;transform:translateY(0);visibility:visible}.video-prompt-mode-popover{overflow:visible}.prompt-settings-section,.video-settings-section{display:grid;grid-gap:8px;gap:8px}.prompt-settings-section h3,.video-settings-section h3{display:flex;align-items:center;gap:4px;margin:0;color:var(--canvas-theme-ink-muted,rgba(247,247,247,.62));font-size:14px;font-weight:700;line-height:20px}.video-settings-heading-info{width:14px;height:14px;stroke-width:1.5}.prompt-composer-toolbar .video-settings-popover button.video-settings-heading-info-trigger{display:inline-grid;width:18px;min-width:18px;height:18px;place-items:center;padding:0;color:var(--canvas-media-settings-option-color,#525252);background:transparent;border:0;border-radius:50%}.prompt-composer-toolbar .video-settings-popover button.video-settings-heading-info-trigger:hover{color:var(--canvas-media-settings-selected-color,#141414);background:var(--canvas-theme-surface-soft,rgba(0,0,0,.04))}.prompt-composer-toolbar .video-settings-popover button.video-settings-heading-info-trigger:focus-visible{color:var(--canvas-media-settings-selected-color,#141414);outline:2px solid var(--canvas-media-settings-selected-border,#171717);outline-offset:2px}.prompt-settings-grid,.video-settings-grid{display:grid;grid-gap:8px;gap:8px}.video-settings-grid-ratio{grid-template-columns:repeat(5,minmax(0,1fr))}.video-settings-grid-resolution{grid-template-columns:repeat(4,minmax(0,1fr))}.image-settings-count-grid,.image-settings-quality-grid,.image-settings-resolution-grid,.video-settings-grid-count{grid-template-columns:repeat(3,minmax(0,1fr))}.image-settings-ratio-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.prompt-composer-toolbar .prompt-settings-popover button,.prompt-composer-toolbar .video-settings-popover button{display:inline-grid;min-width:0;height:32px;align-items:center;justify-items:center;gap:4px;padding:6px 8px;color:var(--canvas-theme-ink-muted,rgba(247,247,247,.62));font-size:14px;line-height:18px;white-space:nowrap;background:var(--canvas-theme-surface-soft,rgba(255,255,255,.035));border:1px solid var(--canvas-theme-border,rgba(255,255,255,.12));border-radius:8px}.prompt-composer-toolbar .prompt-settings-popover button[data-selected=true],.prompt-composer-toolbar .video-settings-popover button[data-selected=true]{color:var(--canvas-theme-ink,#141414);background:var(--prompt-composer-selected-background,rgba(255,255,255,.1));border-color:transparent;box-shadow:none}.prompt-composer .prompt-composer-toolbar .prompt-settings-popover .prompt-option-item,.prompt-composer .prompt-composer-toolbar .video-settings-popover .prompt-option-item{color:var(--canvas-media-settings-option-color,#525252);font-size:13px;line-height:20px;background:transparent;border:.5px solid var(--canvas-media-settings-option-border,#e5e6ec)}.prompt-composer .prompt-composer-toolbar .prompt-settings-popover .image-settings-ratio-grid button.prompt-option-item,.prompt-composer .prompt-composer-toolbar .video-settings-popover .video-settings-grid-ratio button.prompt-option-item{display:grid;min-height:62px;grid-template-columns:minmax(0,1fr);grid-template-rows:18px 16px;grid-auto-flow:row;align-content:center;padding:12px 4px;font-size:16px;line-height:25px}.prompt-composer .prompt-composer-toolbar .prompt-settings-popover .image-settings-ratio-grid button>span:last-child,.prompt-composer .prompt-composer-toolbar .video-settings-popover .video-settings-grid-ratio button>span:last-child{font-size:12px;line-height:16px}.video-settings-ratio-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5}.prompt-composer .prompt-composer-toolbar .prompt-settings-popover [role=radio][data-selected=true],.prompt-composer .prompt-composer-toolbar .video-settings-popover [role=radio][data-selected=true]{color:var(--canvas-media-settings-selected-color,#141414);background:var(--canvas-media-settings-selected-background,rgba(0,0,0,.05));border-color:var(--canvas-media-settings-selected-border,#171717);box-shadow:none}.prompt-composer .prompt-composer-toolbar .prompt-settings-popover [role=radio][data-selected=true]:after,.prompt-composer .prompt-composer-toolbar .video-settings-popover [role=radio][data-selected=true]:after{display:none}.video-settings-duration{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;grid-gap:10px;gap:10px;color:var(--canvas-theme-ink-muted,rgba(247,247,247,.72));font-size:14px}.video-settings-duration-slider-field{position:relative;display:grid;min-width:0;align-items:end;padding-top:28px}.video-settings-duration-bubble{position:absolute;top:0;left:var(--video-duration-bubble-left);min-width:32px;height:28px;box-sizing:border-box;padding:4px 8px;color:#ffffff;font-size:13px;font-weight:600;line-height:20px;text-align:center;background:#24272c;border-radius:7px;box-shadow:0 2px 6px rgba(0,0,0,.18);transform:translateX(-50%)}.video-settings-duration-bubble:after{position:absolute;top:100%;left:50%;width:0;height:0;border:5px solid transparent;border-top-color:#24272c;content:"";transform:translateX(-50%)}.video-settings-duration-slider{width:100%;height:12px;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent}.video-settings-duration-slider::-webkit-slider-runnable-track{height:2px;background:linear-gradient(to right,#8bb5f5 0 var(--video-duration-progress),#e5e6ec var(--video-duration-progress) 100%);border-radius:999px}.video-settings-duration-slider::-webkit-slider-thumb{width:12px;height:12px;margin-top:-5px;-webkit-appearance:none;appearance:none;background:#ffffff;border:1.5px solid #75a8f2;border-radius:50%;box-shadow:0 1px 2px rgba(0,0,0,.08)}.video-settings-duration-value{display:inline-flex;align-items:center;gap:6px;color:var(--canvas-theme-ink-muted,rgba(247,247,247,.72));font-size:13px}.video-settings-duration-value input{width:48px;height:20px;padding:0 6px;color:var(--canvas-media-settings-selected-color,#141414);font:inherit;text-align:center;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;background:var(--canvas-media-settings-selected-background,rgba(0,0,0,.05));border:0;border-radius:4px}.video-settings-duration-value input::-webkit-inner-spin-button,.video-settings-duration-value input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;appearance:none}.prompt-composer-input:focus,.prompt-composer-input:focus-visible{outline:none}.video-settings-toggle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.video-settings-muted{display:grid;position:relative}.video-settings-muted button{justify-content:center;gap:6px}.video-settings-muted-tooltip{position:absolute;bottom:calc(100% + 8px);left:50%;z-index:1;width:max-content;max-width:220px;transform:translate(-50%,4px)}.video-settings-muted:hover .video-settings-muted-tooltip{opacity:1;transform:translate(-50%);visibility:visible}.video-player-tool-button:disabled,.video-settings-muted button:disabled{cursor:default;opacity:.72}.prompt-composer-input-row{position:relative;display:flex;height:88px;flex:0 0 88px;gap:4px;overflow:hidden;border-radius:6px}.prompt-composer-input-prefix{float:left;margin-right:1px;margin-left:8px;pointer-events:none}.prompt-composer[data-expanded=true] .prompt-composer-input-row{height:auto;min-height:220px;flex:1 1 auto}.image-reference-upload{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;color:rgba(255,255,255,.86);background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.14);border-radius:8px;cursor:pointer}.image-reference-upload:focus-within,.image-reference-upload:hover{color:#ffffff;background:rgba(255,255,255,.09)}.image-reference-upload svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.image-frame-upload-edit input,.image-prompt-tool input,.image-reference-upload input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}.prompt-composer-chips{display:flex;min-height:24px;flex:0 0 24px;flex-wrap:wrap;gap:6px;overflow:hidden}.prompt-composer-chips button{border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:3px 9px;font-size:12px;color:rgba(255,255,255,.82);background:transparent;cursor:pointer}.prompt-composer-submit-error{max-width:100%;color:#ff8a8a;font-size:12px;line-height:16px}.prompt-composer-meta,.prompt-composer-submit-error{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prompt-composer-meta{display:inline-flex;min-width:0;height:32px;align-items:center;justify-content:center;padding:0 8px;color:var(--prompt-composer-primary-text,rgb(247,247,247));font-size:14px;line-height:20px;border-radius:8px}.prompt-composer-count-trigger,.prompt-composer-meta-trigger{min-width:0;max-width:240px;overflow:hidden}.prompt-composer-count-trigger{flex:0 0 auto}.prompt-composer-count-trigger:hover,.prompt-composer-meta-trigger:hover{background:rgba(255,255,255,.1)}.prompt-composer-count-trigger[aria-expanded=true] .prompt-composer-model-chevron,.prompt-composer-meta-trigger[aria-expanded=true] .prompt-composer-model-chevron{transform:rotate(180deg)}.prompt-composer-meta-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prompt-composer-input{flex:1 1;width:100%;height:100%;min-height:0;padding:0 8px;color:rgba(247,247,247,.9);font-size:14px;line-height:20px;resize:none;background:transparent;border:0;border-radius:12px;outline:0}.prompt-composer-input-row[data-has-input-prefix=true]{display:block;overflow-y:auto}.prompt-composer-input-row[data-has-input-prefix=true] .prompt-composer-input{display:block;height:auto;min-height:100%;overflow:visible}.prompt-composer-input-row[data-has-input-prefix=true]:focus-within:has(.prompt-composer-input:empty) .prompt-composer-input{caret-color:transparent}.prompt-composer-input-row[data-has-input-prefix=true]:focus-within:has(.prompt-composer-input:empty) .prompt-composer-input-prefix:after{display:inline-block;width:1px;height:20px;margin-left:1px;vertical-align:-5px;background:var(--canvas-theme-ink,#262626);content:"";animation:prompt-composer-prefix-caret-blink 1s step-end infinite}@keyframes prompt-composer-prefix-caret-blink{0%,49%{opacity:1}50%,to{opacity:0}}.prompt-composer-input-row[data-has-input-prefix=true] .prompt-composer-markdown-input,.prompt-composer-input-row[data-has-input-prefix=true] .prompt-composer-markdown-input p{line-height:26px}.prompt-composer[data-expanded=true] .prompt-composer-input{height:auto;align-self:stretch;padding:0;font-size:16px;line-height:1.5}.prompt-composer-input::placeholder{color:rgba(247,247,247,.46)}.prompt-composer-rich-input{overflow-y:auto;white-space:pre-wrap;word-break:break-word;cursor:text}.prompt-composer-rich-input:empty:before{color:rgba(247,247,247,.46);content:attr(data-placeholder);pointer-events:none}.prompt-composer-markdown-input{overflow-y:auto;white-space:normal;cursor:text}.prompt-composer-markdown-input:empty:before{color:rgba(247,247,247,.46);content:attr(data-placeholder);pointer-events:none}.prompt-composer-markdown-input h1,.prompt-composer-markdown-input h2,.prompt-composer-markdown-input h3,.prompt-composer-markdown-input ol,.prompt-composer-markdown-input p,.prompt-composer-markdown-input ul{margin:0 0 8px}.prompt-composer-markdown-input h1{font-size:18px;line-height:1.22}.prompt-composer-markdown-input h2{font-size:16px;line-height:1.28}.prompt-composer-markdown-input h3,.prompt-composer-markdown-input p{font-size:14px;line-height:1.45}.prompt-composer-markdown-input p{white-space:pre-wrap}.prompt-composer-markdown-input ol,.prompt-composer-markdown-input ul{padding-left:18px}.prompt-composer-markdown-input hr{height:1px;margin:10px 0;background:rgba(255,255,255,.2);border:0}.prompt-composer-markdown-input strong{font-weight:700}.prompt-composer-markdown-input em{font-style:italic}.prompt-composer-toolbar{height:32px;flex:0 0 32px;flex-wrap:nowrap;justify-content:flex-start;gap:4px;color:var(--prompt-composer-primary-text,var(--canvas-theme-ink,rgb(247,247,247)));font-size:16px;white-space:nowrap}.prompt-composer-toolbar button:not(.prompt-composer-submit){display:inline-flex;height:32px;align-items:center;justify-content:center;gap:4px;padding:0 8px;color:inherit;font:inherit;background:transparent;border:0;border-radius:8px;cursor:pointer}.prompt-composer-toolbar-divider{width:1px;height:14px;flex:0 0 1px;align-self:center;background:var(--prompt-composer-divider-color,rgb(229,230,236))}.business-prompt-capability-control{display:inline-flex;height:32px;min-width:0;max-width:148px;align-items:center}.business-prompt-capability-control select{width:100%;height:32px;min-width:92px;padding:0 24px 0 8px;overflow:hidden;color:inherit;font:inherit;font-size:13px;text-overflow:ellipsis;white-space:nowrap;background:transparent;border:0;border-radius:8px;outline:none;cursor:pointer}.business-prompt-capability-control select:focus-visible,.business-prompt-capability-control select:hover{background:rgba(0,0,0,.05)}.business-prompt-capability-control select:disabled{cursor:not-allowed;opacity:.45}.image-prompt-preset-control{--prompt-preset-border:var(--cbi-border,var(--canvas-theme-border,rgba(20,20,20,0.1)));--prompt-preset-hover:var(
    --cbi-control-hover,var(--canvas-theme-surface-soft,rgba(0,0,0,0.05))
  );--prompt-preset-ink:var(--cbi-text,var(--canvas-theme-ink,#141414));--prompt-preset-ink-muted:var(--cbi-text-muted,var(--canvas-theme-ink-muted,#525252));--prompt-preset-shadow:var(
    --cbi-shadow-soft,0 4px 10px rgba(0,0,0,0.1),0 2px 4px rgba(0,0,0,0.04)
  );--prompt-preset-surface:var(
    --cbi-surface,var(--canvas-theme-surface,rgba(255,255,255,0.95))
  );--prompt-preset-surface-glass:var(
    --cbi-surface-glass,var(--canvas-theme-surface,rgba(255,255,255,0.95))
  );--prompt-preset-surface-muted:var(
    --cbi-surface-muted,var(--canvas-theme-surface-soft,rgba(0,0,0,0.04))
  );position:relative;display:inline-flex;width:32px;height:32px;flex:0 0 32px}.prompt-composer-toolbar button.image-prompt-preset-trigger{--hover-frame-hover-color:var(--prompt-preset-ink);--hover-frame-hover-background:var(--prompt-preset-hover);--hover-frame-hover-stroke:transparent;--hover-frame-active-color:var(--prompt-preset-ink);--hover-frame-active-background:var(
    --prompt-composer-selected-background,var(--prompt-preset-hover)
  );--hover-frame-active-stroke:transparent;--hover-frame-focus-stroke:color-mix(in srgb,var(--prompt-preset-ink) 18%,transparent);position:relative;width:32px;flex:0 0 32px;padding:0;color:var(--prompt-preset-ink);border-radius:8px}.prompt-composer-toolbar button.image-prompt-preset-trigger:focus-visible:not([aria-expanded=true]),.prompt-composer-toolbar button.image-prompt-preset-trigger:hover:not([aria-expanded=true]){color:var(--prompt-preset-ink);background:var(--prompt-preset-hover);border-color:transparent;box-shadow:none}.image-prompt-preset-trigger-icon{width:16px;height:16px;flex:0 0 16px}.image-prompt-preset-trigger-dot{position:absolute;top:4px;right:4px;width:6px;height:6px;background:#5ddcff;border:1px solid var(--prompt-preset-surface);border-radius:999px}.prompt-composer-toolbar button.image-prompt-camera-trigger{width:32px;flex:0 0 32px;padding:0;color:var(--canvas-theme-ink-muted,#525252)}.image-prompt-camera-trigger svg{width:16px;height:16px}.image-prompt-preset-popover{position:absolute;bottom:40px;left:var(--image-preset-popover-left,0);z-index:980;width:var(--image-preset-popover-width,min(521px,calc(100vw - 32px)));max-height:calc(100vh - 32px);overflow:hidden;white-space:normal}.image-prompt-preset-groups{width:100%;height:var(--image-preset-groups-height,536px);flex-flow:column wrap;gap:8px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.image-prompt-preset-groups,.image-prompt-preset-popover-with-help{display:flex;max-height:var(--image-preset-popover-max-height,calc(100vh - 96px))}.image-prompt-preset-popover-with-help{flex-direction:column}.image-prompt-preset-popover-with-help .image-prompt-preset-groups{min-height:0}.image-prompt-preset-help{flex:0 0 auto;margin:8px 0 0;padding:8px;border-top:1px solid var(--prompt-preset-border);color:var(--prompt-preset-ink-muted);font-size:12px;line-height:1.6}.image-prompt-preset-groups[data-layout=compact]{flex-flow:column nowrap}.image-prompt-preset-group{display:flex;width:238px;flex:0 0 auto;flex-direction:column;gap:4px;margin:0}.image-prompt-preset-group h3{grid-column:1/-1;margin:0;padding:4px 8px;color:var(--prompt-preset-ink);font:inherit;font-weight:400;line-height:24.8px}.image-prompt-preset-group h3 span{display:inline-block;color:var(--prompt-preset-ink-muted);font-size:14px;font-weight:500;line-height:20px}.image-prompt-preset-item{display:flex;width:100%;height:52px;flex:0 0 52px;align-items:center;justify-content:flex-start;gap:8px;padding:8px;color:var(--prompt-preset-ink);font:inherit;text-align:left;background:transparent;border:0;border-radius:12px;cursor:pointer;transition:background-color .2s ease}.image-prompt-preset-item:focus-visible,.image-prompt-preset-item:hover{background:var(--prompt-preset-hover);outline:none}.image-prompt-preset-icon{position:relative;display:inline-flex;width:34px;height:34px;flex:0 0 34px;align-items:center;justify-content:center;color:var(--prompt-preset-ink);background:var(--prompt-preset-surface-muted);border-radius:8px}.image-prompt-preset-icon-dot{position:absolute;top:3px;right:3px;width:6px;height:6px;background:#5ddcff;border:1px solid var(--prompt-preset-surface);border-radius:999px;pointer-events:none}.image-prompt-preset-icon svg{width:16px;height:16px;fill:none;stroke:currentColor}.image-prompt-preset-figma-glyph{display:block;width:16px;height:16px;background:currentColor;-webkit-mask:var(--image-prompt-preset-icon-url) center /contain no-repeat;mask:var(--image-prompt-preset-icon-url) center /contain no-repeat}.image-prompt-preset-copy{display:flex;height:36px;min-width:0;flex:1 1 auto;flex-direction:column;justify-content:flex-start;transform:translateY(8px);transition:transform .2s ease}.image-prompt-preset-item small,.image-prompt-preset-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-prompt-preset-item strong{display:block;color:var(--prompt-preset-ink);font-size:14px;font-weight:500;line-height:20px}.image-prompt-preset-item small{display:block;margin-top:2px;color:var(--prompt-preset-ink-muted);font-size:12px;font-weight:400;line-height:16px;opacity:0;transition:opacity .2s ease}.image-prompt-preset-item:focus-visible .image-prompt-preset-copy,.image-prompt-preset-item:hover .image-prompt-preset-copy{transform:translateY(0)}.image-prompt-preset-item:focus-visible .image-prompt-preset-copy small,.image-prompt-preset-item:hover .image-prompt-preset-copy small{opacity:.6}.image-prompt-preset-empty{margin:0;padding:36px 16px;color:var(--prompt-preset-ink-muted);font-size:13px;text-align:center}@media (max-width:720px){.image-prompt-preset-popover{width:calc(100vw - 32px)}.image-prompt-preset-groups{height:auto;flex-flow:column nowrap}.image-prompt-preset-group{width:100%}}.character-library-backdrop{position:fixed;inset:0;z-index:84;padding:0;background:rgb(16 17 18/58%);-webkit-backdrop-filter:none;backdrop-filter:none}.character-library-dialog{--canvas-popover-surface:var(--cbi-tooltip-bg,#ffffff);--canvas-popover-border:var(--cbi-tooltip-border,rgba(0,0,0,0.06));--canvas-popover-ink:var(--cbi-tooltip-text,#262626);--canvas-popover-shadow:var(
    --cbi-tooltip-shadow,0 4px 10px rgba(0,0,0,0.12),0 2px 4px rgba(0,0,0,0.06)
  );position:fixed;z-index:86;top:50%;left:50%;display:flex;width:min(1600px,calc(100vw - 64px));height:min(760px,calc(100vh - 64px));max-height:none;overflow:hidden;color:#262626;background:#fff;background-clip:padding-box;border:1px solid rgb(0 0 0/8%);border-radius:16px;box-shadow:0 24px 72px rgb(0 0 0/28%);font-family:inherit;flex-direction:column;transform:translate(-50%,-50%)}.character-library-dialog.character-library-dialog-empty{height:auto}.character-library-dialog button{min-height:0;padding:0;color:#262626;background:transparent;border:0;border-radius:0;cursor:pointer;font:inherit}.character-library-dialog button:focus-visible,.character-library-dialog button:hover:not(:disabled){background:rgb(0 0 0/5%);border-color:transparent}.character-library-dialog button:focus-visible{outline:2px solid rgb(38 38 38/35%);outline-offset:2px}.character-library-dialog button:disabled{cursor:not-allowed;opacity:.5}.character-library-header{position:static;z-index:auto;display:flex;height:68px;min-height:68px;align-items:center;justify-content:space-between;gap:0;padding:0 20px;background:transparent;border:0;border-bottom:1px solid #e6e3e3;-webkit-backdrop-filter:none;backdrop-filter:none}.character-library-header h2{margin:0;font-size:18px;font-weight:600;line-height:24.8px}.character-library-header>button{display:grid;width:34px;height:34px;place-items:center;color:#77787b;border-radius:7px}.character-library-detail{position:relative;display:flex;min-height:0;margin:0 20px 20px;padding:20px;overflow:hidden;background:rgb(0 0 0/5%);border-radius:12px;flex:1 1 auto;flex-direction:column;gap:16px}.character-library-dialog-empty .character-library-detail{min-height:286px;flex:0 0 286px}.character-library-detail-title{display:flex;height:24px;min-height:24px;align-items:center;gap:8px}.character-library-detail-title h3{flex:0 0 auto;margin:0;font-size:14px;font-weight:600;line-height:21.7px}.character-library-detail-title>span{max-width:min(420px,40vw);padding:4px 8px;overflow:hidden;background:rgb(0 0 0/8%);border-radius:8px;font-size:12px;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.character-library-card-official-badge,.character-library-detail-title>.character-library-official-badge{display:inline-flex;align-items:center;justify-content:center;color:#525252;background:#fff;border:1px solid #dedede;border-radius:999px;font-size:10px;font-weight:600;line-height:16px}.character-library-detail-title>.character-library-official-badge{max-width:none;padding:1px 7px}.character-library-preview{display:grid;height:auto;min-height:0;flex:1 1 180px;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,2.37fr);grid-gap:8px;gap:8px}.character-library-preview-slot{position:relative;display:grid;min-width:0;height:auto;min-height:0;place-items:center;overflow:hidden;color:#a3a3a3;background:rgb(255 255 255/72%);border-radius:8px;font-size:11px}.character-library-preview-slot img{grid-area:1/1;width:100%;height:100%;object-fit:contain;object-position:top;opacity:1;transition:opacity .12s ease-out}.character-library-preview-slot img[data-load-state=error],.character-library-preview-slot img[data-load-state=loading]{opacity:0}.character-library-preview-placeholder{position:relative;display:block;width:100%;height:100%;overflow:hidden;grid-area:1/1;background:#e8e8e8}.character-library-preview-placeholder:after{position:absolute;inset:0;background:linear-gradient(100deg,transparent 28%,rgb(255 255 255/58%) 48%,transparent 68%);content:"";transform:translateX(-100%);animation:character-library-preview-shimmer 1.2s ease-in-out infinite}.character-library-preview-placeholder-error{display:grid;place-items:center;color:#8a8a8a;background:#ececec}.character-library-preview-placeholder-error:after{display:none}@keyframes character-library-preview-shimmer{to{transform:translateX(100%)}}@media (prefers-reduced-motion:reduce){.character-library-preview-slot img{transition:none}.character-library-preview-placeholder:after{animation:none}}.character-library-dialog .character-library-preview-add{display:flex;width:100%;height:100%;align-items:center;justify-content:center;color:#a3a3a3;background:transparent;border:0;border-radius:8px;box-shadow:none;flex-direction:column;gap:5px}.character-library-dialog .character-library-preview-add:focus-visible,.character-library-dialog .character-library-preview-add:hover{color:#525252;background:rgb(0 0 0/4%);box-shadow:inset 0 0 0 1px rgb(0 0 0/12%)}.character-library-preview-add small{font-size:10px;opacity:.72}.character-library-detail-footer{display:flex;min-height:32px;align-items:center;justify-content:space-between;gap:16px}.character-library-detail-footer p{min-width:0;flex:1 1;margin:0;overflow:hidden;color:#525252;font-size:12px;line-height:18.6px;text-overflow:ellipsis;white-space:nowrap}.character-library-detail-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}.character-library-dialog .character-library-secondary{height:32px;padding:0 10px;color:#262626;background:#fff;border:1px solid #d9d9d9;border-radius:8px;font-size:12px}.character-library-notices{position:absolute;top:13px;right:14px;z-index:2;display:flex;align-items:flex-end;flex-direction:column;gap:4px}.character-library-action-error,.character-library-catalog-notice,.character-library-local-notice{display:flex;min-height:24px;align-items:center;gap:5px;margin:0;padding:3px 7px;color:#737373;background:rgb(255 255 255/92%);border:1px solid #dedede;border-radius:7px;box-shadow:0 3px 10px rgb(0 0 0/7%);font-size:10px;line-height:16px}.character-library-action-error{color:#b42318;border-color:#f3c7c3}.character-library-dialog .character-library-catalog-notice button{padding:1px 5px;color:#262626;background:rgb(0 0 0/5%);border-radius:5px;font-size:10px}.character-library-dialog .character-library-primary{display:inline-flex;height:32px;min-height:32px;align-items:center;justify-content:center;gap:4px;padding:0 12px;color:#fff;background:#141414;border-radius:8px;font-size:13px;line-height:20.15px}.character-library-dialog .character-library-primary:focus-visible,.character-library-dialog .character-library-primary:hover:not(:disabled){color:#fff;background:#333}.character-library-apply{flex:0 0 auto}.character-library-empty,.character-library-state{margin:auto;color:#737373;font-size:13px;text-align:center}.character-library-empty{display:flex;align-items:center;flex-direction:column;gap:10px}.character-library-empty strong{color:#262626;font-size:15px}.character-library-browser{position:relative;display:flex;height:270px;min-height:270px;padding:16px 0;border-top:1px solid #e5e6ec;flex-direction:column;gap:16px}.character-library-browser-toolbar{display:flex;height:32px;min-height:32px;align-items:center;justify-content:space-between;padding:0 20px}.character-library-filter-anchor{position:relative}.character-library-dialog .character-library-filter-trigger{display:flex;width:89px;height:28px;align-items:center;justify-content:center;gap:4px;padding:0 8px;background:rgb(0 0 0/4%);border:.5px solid #c4c4c4;border-radius:8px;font-size:13px;line-height:20px}.character-library-filter-popover{position:absolute;bottom:calc(100% + 8px);left:0;z-index:4;display:flex;width:329px;height:min(420px,calc(100vh - 324px));flex-direction:column;gap:10px}.character-library-filter-heading{display:flex;height:24px;align-items:center;justify-content:space-between;font-size:14px}.character-library-dialog .character-library-manage-entry,.character-library-filter-heading button{display:flex;height:28px;align-items:center;gap:4px;padding:0 6px;border-radius:7px;font-size:12px}.character-library-filter-scroll{display:flex;min-height:0;overflow:auto;flex:1 1;flex-direction:column;gap:10px}.character-library-filter-scroll section h4{margin:0 0 6px;color:#8c8c8c;font-size:12px;font-weight:400}.character-library-filter-scroll section>div{display:flex;flex-wrap:wrap;gap:7px 9px}.character-library-filter-scroll section button{min-width:45px;height:28px;padding:0 12px;background:rgb(0 0 0/6%);border-radius:8px;font-size:12px}.character-library-filter-scroll section button[data-selected=true]{color:#fff;background:#141414}.character-library-filter-scroll section button[data-selected=true]:is(:hover,:focus-visible){color:#fff;background:#141414}.character-library-manage-entry{align-self:stretch;justify-content:center;border-top:1px solid #eee}.character-library-dialog .character-library-recent-toggle{display:flex;height:28px;align-items:center;gap:8px;padding:0 8px;border-radius:6px;font-size:12px}.character-library-recent-toggle>span{width:15px;height:15px;background:#fff;border:1px solid #d9d9d9;border-radius:3px}.character-library-recent-toggle[aria-checked=true]>span{background:#141414;box-shadow:inset 0 0 0 3px #fff}.character-library-carousel-row{display:flex;height:190px;align-items:center;gap:12px;padding:0 20px}.character-library-dialog .character-library-carousel-arrow{display:grid;width:28px;height:28px;flex:0 0 28px;place-items:center;background:rgb(255 255 255/90%);border:1px solid #e5e5e5;border-radius:8px}.character-library-list{display:flex;min-width:0;height:190px;gap:16px;margin:0;padding:0;overflow:auto hidden;flex:1 1;grid-template-columns:none;list-style:none;scrollbar-width:none}.character-library-list::-webkit-scrollbar{display:none}.character-library-list>p{min-height:0;align-self:center;margin:auto;color:#8c8c8c;font-size:12px}.character-library-card-item{width:136px;height:190px;flex:0 0 136px;list-style:none}.character-library-dialog .character-library-card{position:relative;display:flex;width:136px;height:190px;min-width:136px;padding:2px;align-items:center;overflow:hidden;background:transparent;border:0;border-radius:10px;box-shadow:none;flex-direction:column;gap:4px}.character-library-card-official-badge{position:absolute;top:8px;left:8px;z-index:1;padding:0 6px;color:#262626;box-shadow:0 2px 6px rgb(0 0 0/10%)}.character-library-dialog .character-library-card[data-selected=true]{background:rgb(0 0 0/4%);border-color:transparent;box-shadow:inset 0 0 0 .5px #c4c4c4}.character-library-card>.character-library-missing-cover,.character-library-card>img{width:132px;height:164px;flex:0 0 164px;object-fit:cover;object-position:top;border-radius:8px}.character-library-missing-cover{display:grid;place-items:center;color:#a3a3a3;background:rgb(0 0 0/4%);font-size:11px}.character-library-card>span:last-child{width:100%;overflow:hidden;font-size:13px;line-height:18px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.character-library-management{display:flex;min-height:0;padding:0 16px 16px;overflow:auto;flex:1 1;flex-direction:column}.character-library-management-toolbar{position:-webkit-sticky;position:sticky;top:0;z-index:2;display:flex;min-height:48px;align-items:center;gap:10px;padding:8px 0;background:#fff}.character-library-form-actions>button:first-child,.character-library-management-toolbar>button:first-child{height:32px;padding:0 10px;background:rgb(0 0 0/4%);border:1px solid #dedede;border-radius:8px;font-size:12px}.character-library-management-toolbar label{display:flex;height:32px;min-width:0;align-items:center;gap:6px;padding:0 10px;background:rgb(0 0 0/3%);border:1px solid #dedede;border-radius:8px;flex:1 1}.character-library-management-toolbar input{min-width:0;height:28px;padding:0;background:transparent;border:0;outline:none;flex:1 1}.character-library-management-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.character-library-management-list>p{grid-column:1/-1;color:#8c8c8c;text-align:center}.character-library-management-list article{display:grid;min-width:0;padding:10px;align-items:center;background:rgb(0 0 0/3%);border:1px solid #e8e8e8;border-radius:10px;grid-template-columns:56px minmax(0,1fr) auto auto;grid-gap:10px;gap:10px}.character-library-management-list article img{width:56px;height:64px;object-fit:cover;object-position:top;border-radius:7px}.character-library-management-list article h3,.character-library-management-list article p{margin:0}.character-library-management-list article h3{font-size:14px}.character-library-management-list article p{margin-top:5px;overflow:hidden;color:#737373;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.character-library-management-list article>button{height:28px;padding:0 8px;background:#fff;border:1px solid #dedede;border-radius:7px;font-size:12px}.character-library-form{display:grid;padding:4px 0 12px;color:#525252;grid-gap:14px;gap:14px}.character-library-form input,.character-library-form textarea{box-sizing:border-box;width:100%;color:#262626;background:rgb(0 0 0/3%);border:1px solid #dedede;border-radius:10px;outline:none}.character-library-form input{min-height:38px;padding:0 11px}.character-library-form textarea{min-height:72px;padding:10px 11px;resize:vertical}.character-library-form-row label,.character-library-form>label{display:grid;flex:1 1;grid-gap:7px;gap:7px;color:#737373;font-size:12px}.character-library-form-row{display:flex;align-items:center;gap:12px}.character-library-form-actions{display:flex;justify-content:flex-end;gap:8px}.character-library-assets{display:grid;margin:0;padding:14px;border:1px solid #dedede;border-radius:14px;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px}.character-library-assets:focus-visible{outline:2px solid rgb(20 20 20/70%);outline-offset:2px}.character-library-assets legend{padding:0 6px;color:#737373;font-size:12px}.character-library-assets>p{grid-column:1/-1}.character-library-asset-option{position:relative;display:grid;min-width:0;padding:8px;background:rgb(0 0 0/3%);border:1px solid transparent;border-radius:12px;grid-gap:7px;gap:7px}.character-library-asset-option:has(input:checked){background:rgb(0 0 0/6%);border-color:#262626}.character-library-asset-option input{position:absolute;top:12px;left:12px;width:16px;min-height:16px}.character-library-asset-option img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}.character-library-asset-option span{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.character-library-error{margin:0;color:#d83b3b;font-size:12px}@media (max-width:812px){.character-library-preview{overflow-x:auto;grid-template-columns:repeat(3,124px) 295px}.character-library-management-list{grid-template-columns:1fr}.character-library-assets{grid-template-columns:repeat(2,minmax(0,1fr))}.character-library-form-row{align-items:stretch;flex-direction:column}}.prompt-composer-toolbar button.prompt-composer-language-action{width:32px;flex:0 0 32px;padding:0;color:var(--prompt-composer-primary-text,rgba(247,247,247,.78));background:transparent;transition:color .16s ease,background .16s ease}.prompt-composer-toolbar button.prompt-composer-language-action:focus-visible,.prompt-composer-toolbar button.prompt-composer-language-action:hover:not(:disabled){color:var(--prompt-composer-primary-text,#ffffff);background:rgba(255,255,255,.08);outline:none}.prompt-composer-toolbar button.prompt-composer-language-action:disabled{color:var(--prompt-composer-primary-text,rgba(247,247,247,.78));cursor:default;background:transparent}.prompt-composer-language-icon{width:16px;height:16px;flex:0 0 16px;fill:currentColor}.prompt-composer-modes .hover-frame:focus-within,.prompt-composer-modes .hover-frame:hover,.prompt-composer-toolbar .hover-frame:hover,.prompt-composer-tools .hover-frame:focus-within,.prompt-composer-tools .hover-frame:hover{color:var(--hover-frame-hover-color,#ffffff);background:var(--hover-frame-hover-background);border-color:var(--hover-frame-hover-stroke);box-shadow:inset 0 0 0 1px var(--hover-frame-hover-stroke)}.prompt-composer-modes .hover-frame:focus-visible,.prompt-composer-toolbar .hover-frame:focus-visible,.prompt-composer-tools .hover-frame:focus-visible{color:var(--hover-frame-hover-color,#ffffff);background:var(--hover-frame-hover-background);border-color:var(--hover-frame-focus-stroke);box-shadow:inset 0 0 0 1px var(--hover-frame-focus-stroke);outline:none}.prompt-option-item{position:relative}.prompt-composer .hover-frame[aria-pressed=true],.prompt-composer .hover-frame[data-active=true],.prompt-composer button[aria-pressed=true],.prompt-composer button[data-selected=true],.prompt-option-item[data-selected=true]{color:var(--canvas-theme-ink,#141414);background:var(--prompt-composer-selected-background,rgba(255,255,255,.1));border-color:transparent;box-shadow:none}.prompt-composer-toolbar button[aria-haspopup=dialog]:active,.prompt-composer-toolbar button[aria-haspopup=dialog]:focus-visible,.prompt-composer-toolbar button[aria-haspopup=dialog]:hover,.prompt-composer-toolbar button[aria-haspopup=dialog][aria-expanded=true],.prompt-composer-toolbar button[aria-haspopup=dialog][data-active=true]{color:var(--canvas-theme-ink,#141414);background:var(--canvas-theme-surface-soft,rgba(0,0,0,.05));border-color:transparent;box-shadow:none}.prompt-composer-toolbar button[aria-haspopup=dialog]:focus-visible{outline:2px solid color-mix(in srgb,var(--canvas-theme-ink,#141414) 24%,transparent);outline-offset:1px}.prompt-composer-toolbar .hover-frame:focus:not(:focus-visible):not(:hover):not([aria-expanded=true]):not([data-active=true]):not([aria-pressed=true]):not([data-selected=true]){color:var(--prompt-composer-primary-text,rgba(247,247,247,.78));background:transparent;border-color:transparent;box-shadow:none}.prompt-option-item[data-selected=true]:after{position:absolute;top:7px;right:7px;width:5px;height:5px;background:currentColor;border-radius:999px;content:""}.prompt-option-item:focus-visible{color:var(--canvas-theme-ink,#141414);background:var(--canvas-theme-surface-soft,rgba(0,0,0,.05));border-color:color-mix(in srgb,var(--canvas-theme-ink,#141414) 24%,transparent);box-shadow:0 0 0 2px color-mix(in srgb,var(--canvas-theme-ink,#141414) 10%,transparent);outline:none}.prompt-composer-model-option.hover-frame,.prompt-composer-model-trigger.hover-frame{--hover-frame-hover-color:var(--canvas-theme-ink,rgba(247,247,247,0.94));--hover-frame-hover-background:var(
    --prompt-composer-hover-background,rgba(255,255,255,0.07)
  );--hover-frame-hover-stroke:transparent;--hover-frame-active-color:var(--canvas-theme-ink,rgba(247,247,247,0.98));--hover-frame-active-background:var(
    --prompt-composer-hover-background,rgba(255,255,255,0.07)
  );--hover-frame-active-stroke:transparent;--hover-frame-focus-stroke:color-mix(in srgb,var(--canvas-theme-ink,#141414) 24%,transparent)}.prompt-composer-model-trigger{min-width:0;height:32px;max-width:240px;flex:0 1 auto;justify-content:space-between;gap:4px;padding:4px 8px;overflow:hidden;border-radius:8px}.prompt-composer-toolbar button.prompt-composer-model-trigger{padding:4px 8px}.prompt-composer-model-trigger:hover:not([aria-expanded=true]){background:var(--hover-frame-hover-background)}.prompt-composer-model-content{display:inline-flex;min-width:0;height:20px;align-items:center;gap:4px}.prompt-composer-model-icon,.prompt-composer-model-option-icon{position:relative;display:inline-flex;align-items:center;align-self:center;justify-content:center;overflow:hidden;color:var(--canvas-theme-ink-muted,rgba(247,247,247,.86));background:var(--canvas-theme-surface-soft,rgba(255,255,255,.1));border:1px solid var(--canvas-theme-border,rgba(255,255,255,.12));border-radius:8px}.prompt-composer-model-icon{width:16px;height:16px;flex:0 0 16px;border-radius:4px}.prompt-composer-model-option-icon{width:34px;height:34px;flex:0 0 34px}.prompt-composer-model-icon[data-model-icon=configured],.prompt-composer-model-icon[data-model-icon=fallback],.prompt-composer-model-option-icon[data-model-icon=configured],.prompt-composer-model-option-icon[data-model-icon=fallback]{background:transparent;border-color:transparent}.prompt-composer-model-icon img,.prompt-composer-model-option-icon img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.script-asset-batch-model-icon img{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit}.prompt-composer-model-icon img[data-model-icon-theme=dark],.prompt-composer-model-option-icon img[data-model-icon-theme=dark],.script-asset-batch-model-icon img[data-model-icon-theme=dark]{display:none}.prompt-composer-model-icon[data-model-has-light=false] img[data-model-icon-theme=dark],.prompt-composer-model-option-icon[data-model-has-light=false] img[data-model-icon-theme=dark],.script-asset-batch-model-icon[data-model-has-light=false] img[data-model-icon-theme=dark]{display:block}:root[data-cbi-theme=dark] .prompt-composer-model-icon[data-model-has-dark=true] img[data-model-icon-theme=light],:root[data-cbi-theme=dark] .prompt-composer-model-option-icon[data-model-has-dark=true] img[data-model-icon-theme=light],:root[data-cbi-theme=dark] .script-asset-batch-model-icon[data-model-has-dark=true] img[data-model-icon-theme=light]{display:none}:root[data-cbi-theme=dark] .prompt-composer-model-icon[data-model-has-dark=true] img[data-model-icon-theme=dark],:root[data-cbi-theme=dark] .prompt-composer-model-option-icon[data-model-has-dark=true] img[data-model-icon-theme=dark],:root[data-cbi-theme=dark] .script-asset-batch-model-icon[data-model-has-dark=true] img[data-model-icon-theme=dark]{display:block}.prompt-composer-model-option-icon img{width:16px;height:16px;border-radius:0}.prompt-composer-model-icon svg,.prompt-composer-model-option-icon svg{display:block;width:16px;height:16px;flex:0 0 16px}.prompt-composer-model-icon[data-model-icon=default]:before,.prompt-composer-model-option-icon[data-model-icon=default]:before{position:absolute;inset:28%;border:1.5px solid;border-radius:3px;content:""}.prompt-composer-model-label{min-width:0;overflow:hidden;color:var(--prompt-composer-primary-text,inherit);font-size:13px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}.prompt-composer-model-unavailable{display:inline-flex;height:20px;flex:0 0 auto;align-items:center;padding:0 7px;color:var(--canvas-theme-danger,#ff8a8a);font-size:12px;line-height:20px;background:var(--canvas-theme-danger-soft,rgba(255,102,102,.1));border:1px solid var(--canvas-theme-danger-border,rgba(255,102,102,.32));border-radius:999px}.prompt-composer-model-chevron{display:inline-flex;width:14px;height:14px;flex:0 0 14px;align-items:center;justify-content:center;color:var(--prompt-composer-chevron-color,var(--canvas-theme-ink-soft,rgb(168,168,168)));font-size:0;line-height:0;transition:transform .15s ease}.prompt-composer-model-trigger[aria-expanded=true] .prompt-composer-model-chevron{transform:rotate(180deg)}.prompt-composer-model-menu{position:absolute;bottom:40px;left:var(--prompt-composer-popover-left,8px);z-index:300;width:var(--prompt-composer-popover-width,264px);max-width:calc(100vw - 32px)}.prompt-composer-count-menu,.prompt-composer-settings-menu{position:absolute;right:var(--prompt-composer-popover-right,76px);bottom:40px;left:var(--prompt-composer-popover-left,auto);z-index:300;width:var(--prompt-composer-popover-width,420px);max-width:calc(100vw - 32px);max-height:min(440px,calc(100vh - 96px));overflow:auto;overscroll-behavior:contain}.prompt-composer-count-menu{width:var(--prompt-composer-popover-width,64px)}.prompt-composer-setting-groups{display:flex;flex-direction:column;gap:14px}.prompt-composer-setting-group{display:flex;flex-direction:column;gap:8px}.prompt-composer-setting-group-title{color:var(--canvas-theme-ink-muted,rgba(247,247,247,.68));font-size:14px;font-weight:600;line-height:18px}.prompt-composer-setting-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.prompt-composer-setting-options[data-columns="5"]{grid-template-columns:repeat(5,minmax(0,1fr))}.prompt-composer-count-option,.prompt-composer-setting-option{display:flex;min-width:0;min-height:42px;align-items:center;justify-content:center;gap:4px;padding:8px;color:var(--canvas-theme-ink-muted,rgba(247,247,247,.72));font:inherit;font-size:13px;background:var(--canvas-theme-surface-soft,transparent);border:.5px solid var(--canvas-theme-border,rgba(82,82,82,.76));border-radius:8px;cursor:pointer}.prompt-composer-setting-option{flex-direction:column}.prompt-composer-setting-options[data-columns="5"] .prompt-composer-setting-option{min-height:62px;padding:8px 4px}.prompt-composer-count-option,.prompt-composer-setting-option span:first-child{color:var(--canvas-theme-ink,rgba(247,247,247,.9))}.prompt-composer-setting-option-description{color:var(--canvas-theme-ink-soft,rgba(247,247,247,.42));font-size:11px}.prompt-composer-count-option:hover,.prompt-composer-setting-option:hover{color:var(--canvas-theme-ink,#141414);background:var(--prompt-composer-hover-background,rgba(255,255,255,.07));border-color:transparent}.prompt-composer-count-options{display:flex;flex-direction:column;gap:6px}.prompt-composer-model-menu-scroll{width:256px;max-width:100%;max-height:400px;overflow-y:auto;overscroll-behavior:contain;pointer-events:auto}.prompt-composer-model-menu-hint{margin:4px 8px 6px;color:var(--canvas-theme-ink-soft,rgba(247,247,247,.48));font-size:11px;line-height:16px}.prompt-composer-model-options{display:flex;flex-direction:column;gap:4px}.prompt-composer-model-option-wrapper{position:relative}.prompt-composer-model-option{display:flex;width:100%;height:40px;align-items:center;gap:4px;padding:6px 8px;color:var(--canvas-theme-ink,rgb(247,247,247));text-align:left;background:transparent;border:0;border-radius:12px;cursor:pointer;transition:background .2s ease}.prompt-composer-model-option:hover{background:var(--hover-frame-hover-background)}.prompt-composer-model-option[aria-disabled=true]:hover{background:transparent}.prompt-composer-model-option[aria-disabled=true]{color:var(--canvas-theme-ink-muted,#919191);cursor:not-allowed;opacity:.42}.prompt-composer-model-disabled-tooltip{position:fixed;z-index:10000;width:max-content;max-width:min(320px,calc(100vw - 32px));color:#fff;white-space:normal;background:rgba(12,12,12,.96);border-color:rgba(255,255,255,.12);box-shadow:0 10px 30px rgba(0,0,0,.28)}.prompt-composer-model-disabled-tooltip[data-side=right]>.cbi-tooltip-arrow{top:50%;left:0;background:rgba(12,12,12,.96);border:0;transform:translate(-3px,-50%) rotate(45deg)}.prompt-composer-model-disabled-tooltip[data-side=left]>.cbi-tooltip-arrow{top:50%;left:100%;background:rgba(12,12,12,.96);border:0;transform:translate(-3px,-50%) rotate(45deg)}.prompt-composer .prompt-composer-model-option[data-selected=true],.prompt-composer[data-input-focused=true] .prompt-composer-model-option[data-selected=true]{color:var(--canvas-theme-ink,rgb(20,20,20));background:var(--prompt-composer-selected-background,rgba(255,255,255,.1));border-color:transparent;box-shadow:none}.prompt-composer .prompt-composer-model-option[data-selected=true]:after{display:none}.prompt-composer .prompt-composer-model-option:focus-visible{border-color:color-mix(in srgb,var(--canvas-theme-ink,#141414) 24%,transparent);box-shadow:0 0 0 2px color-mix(in srgb,var(--canvas-theme-ink,#141414) 10%,transparent)}.prompt-composer-model-option-copy{display:flex;height:36px;min-width:0;flex:1 1 auto;flex-direction:column;justify-content:center;overflow:hidden;padding-right:6px}.prompt-composer-model-option-copy[data-has-description=true]{justify-content:flex-start;transform:translateY(8px);transition:transform .12s ease}.prompt-composer-model-option-main{display:flex;min-width:0;align-items:center;justify-content:flex-start;gap:8px;color:var(--canvas-theme-ink,rgb(247,247,247));font-size:14px;font-weight:500;line-height:20px}.prompt-composer-model-option-description,.prompt-composer-model-option-main span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prompt-composer-model-option-estimate{display:inline-flex;box-sizing:border-box;min-width:35px;height:20px;flex:0 0 auto;align-items:center;justify-content:center;padding:0 8px;color:var(--canvas-theme-ink-muted,#525252);font-size:12px;line-height:12px;text-align:center;background:var(--canvas-theme-surface-soft,#f7f7f7);border-radius:999px}.prompt-composer-model-option-description{color:var(--canvas-theme-ink-soft,rgb(168,168,168));font-size:12px;line-height:16px;opacity:0;transition:opacity .12s ease}.prompt-composer-model-option[aria-disabled=true] .prompt-composer-model-option-description,.prompt-composer-model-option[aria-disabled=true] .prompt-composer-model-option-estimate,.prompt-composer-model-option[aria-disabled=true] .prompt-composer-model-option-main{color:inherit}.prompt-composer-model-option:focus-visible .prompt-composer-model-option-copy[data-has-description=true],.prompt-composer-model-option:hover .prompt-composer-model-option-copy[data-has-description=true]{transform:translateY(0)}.prompt-composer-model-option:focus-visible .prompt-composer-model-option-description,.prompt-composer-model-option:hover .prompt-composer-model-option-description{opacity:1}@media (hover:none),(pointer:coarse){.prompt-composer-model-option-copy[data-has-description=true]{transform:translateY(0)}.prompt-composer-model-option-description{opacity:1}}.prompt-composer-spacer{flex:1 1 auto}.prompt-composer-cost{display:inline-flex;min-width:32px;height:15px;align-items:center;gap:2px;padding:0;color:var(--prompt-composer-credit-color,var(--canvas-theme-ink-muted,#525252));font-size:12px;line-height:15px}.prompt-composer-cost-icon{width:10px;height:14px;flex:0 0 10px;fill:currentColor}.prompt-composer-submit{display:grid;width:32px;height:32px;flex:0 0 32px;margin-left:auto;align-self:center;place-items:center;color:#ffffff;font-size:17px;line-height:1;background:#141414;border:0;border-radius:12px;box-shadow:none;transition:filter .15s ease,opacity .15s ease}.prompt-composer-submit:not(:disabled){background:#1f1f1f;cursor:pointer}.prompt-composer-submit:hover:not(:disabled){filter:brightness(1.1)}.prompt-composer-submit:active:not(:disabled){filter:brightness(.95)}.prompt-composer-submit[data-submit-state=queued],.prompt-composer-submit[data-submit-state=running]{color:rgb(213,247,239);background:rgba(213,247,239,.14)}.prompt-composer-submit:disabled{cursor:not-allowed;opacity:.5}.prompt-composer-submit:disabled:not([data-submit-state=queued]):not([data-submit-state=running]){color:#262626;background:#999999;opacity:1}.prompt-composer-submit-arrow{display:block;width:12px;height:12px;transform-origin:50% 52%}.prompt-composer-submit-spinner{box-sizing:border-box;display:block;width:14px;height:14px;border:2px solid rgba(31,31,31,.28);border-top-color:currentcolor;border-radius:999px;animation:prompt-submit-spinner-spin .72s linear infinite}.prompt-composer-submit-status{max-width:180px}@keyframes prompt-submit-spinner-spin{to{transform:rotate(1turn)}}.prompt-submit-state{display:inline-flex;min-width:0;max-width:220px;min-height:24px;align-items:center;gap:6px;padding:3px 8px;overflow:hidden;color:rgba(255,255,255,.72);font-size:12px;line-height:1.2;white-space:nowrap;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.1);border-radius:999px}.prompt-submit-state>.generation-status-icon{width:14px;height:14px;flex:0 0 14px}.prompt-submit-state>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.prompt-submit-state[data-generation-state=queued]{color:#9bd3c8;border-color:color-mix(in srgb,#70b8aa 48%,transparent)}.prompt-submit-state[data-generation-state=running]{color:#92d5f4;border-color:color-mix(in srgb,#5db8e8 52%,transparent)}.prompt-submit-state[data-generation-state=finishing]{color:#a7d8b5;border-color:color-mix(in srgb,#84c89a 52%,transparent)}.prompt-submit-state[data-generation-state=failed]{color:var(--canvas-theme-danger,#ff8a8a);border-color:var(--canvas-theme-danger-border,rgba(255,102,102,.4))}.prompt-submit-progress{color:rgba(255,255,255,.5)}.image-node-panel .prompt-composer-input{min-height:80px;font-size:14px;font-weight:400;line-height:1.8}.prompt-selected-preset{height:24px;gap:4px;padding:0 4px;color:var(--canvas-theme-ink,#262626);font-size:14px;font-weight:400;line-height:20px;white-space:nowrap;background:transparent;border:.5px solid color-mix(in srgb,var(--canvas-theme-ink,#262626) 6%,transparent);border-radius:8px}.prompt-selected-preset,.prompt-selected-preset-options{position:relative;display:inline-flex;align-items:center}.prompt-selected-preset-options-trigger{display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;padding:0;color:var(--canvas-theme-ink-muted,#737373);background:transparent;border:0;border-radius:4px;cursor:pointer}.prompt-selected-preset-options-trigger:focus-visible,.prompt-selected-preset-options-trigger:hover{color:var(--canvas-theme-ink,#262626);background:var(--canvas-theme-surface-soft,rgba(0,0,0,.08));outline:none}.prompt-selected-preset-options-trigger svg{width:15px;height:15px}.prompt-selected-preset-options-popover{position:absolute;bottom:28px;left:0;z-index:981;width:min(560px,calc(100vw - 32px));max-height:min(560px,calc(100vh - 64px));overflow-y:auto}.prompt-selected-preset-options-group+.prompt-selected-preset-options-group{margin-top:16px}.prompt-selected-preset-options-group h3{margin:0 0 8px;color:var(--canvas-theme-ink-muted,#525252);font-size:15px;font-weight:500;line-height:18px}.prompt-selected-preset-options-group>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.prompt-selected-preset-option{min-height:52px;padding:10px 12px;color:var(--canvas-theme-ink,#262626);font:inherit;font-size:15px;line-height:20px;background:transparent;border:.5px solid var(--canvas-theme-border-strong,rgba(0,0,0,.2));border-radius:12px;cursor:pointer}.prompt-selected-preset-option:focus-visible,.prompt-selected-preset-option:hover,.prompt-selected-preset-option[aria-pressed=true]{color:var(--canvas-theme-ink,#141414);background:var(--canvas-theme-surface-soft,#e8e8e8);border-color:var(--canvas-theme-border-strong,#8d8d8d);outline:none}.prompt-selected-preset-icon{display:inline-flex;width:16px;height:16px;flex:0 0 16px;align-items:center;justify-content:center;color:#ffffff;background:#5f6268;border-radius:4px}.prompt-selected-preset-icon svg{width:12px;height:12px}.image-node-panel.image-node-panel-preset-selected .prompt-composer-shell{background:var(--canvas-theme-surface,#ffffff);border:.5px solid var(--canvas-theme-border,rgba(0,0,0,.06));border-radius:16px;box-shadow:0 4px 10px rgba(0,0,0,.12)}.image-node-panel.image-node-panel-preset-selected .prompt-composer-input-row{height:96px;flex-basis:96px}.image-node-panel.image-node-panel-preset-selected .prompt-composer-markdown-input:empty:before{color:var(--canvas-theme-ink-muted,#737373)}.image-node-panel.image-node-panel-preset-selected .prompt-function-tool-wrapper~.prompt-function-tool{display:none}.image-node-panel .prompt-composer-tools .image-prompt-tool:not(.prompt-function-tool),.image-node-panel .prompt-composer-tools button:not(.prompt-function-tool):not(:where(.reference-corner-badge)),.video-node-panel .prompt-composer-tools button:not(.prompt-function-tool):not(:where(.reference-corner-badge)){color:rgb(145,145,145);font-size:10px;font-weight:400;line-height:12px}.video-node-panel .prompt-composer-tools .video-frame-pair-control{position:relative;display:flex;width:100%;min-height:64px;flex:0 0 100%;align-items:flex-start;gap:8px;padding:4px 4px 0}.video-frame-slot-wrap{position:relative;display:flex;width:40px;height:64px;flex:0 0 40px;flex-direction:column;align-items:center}.video-frame-slot-wrap[data-slot="0"]{order:0}.video-frame-slot-wrap[data-slot="1"]{order:2}.video-frame-slot-filled,.video-node-panel .prompt-composer-tools button.video-frame-slot{position:relative;display:flex;width:40px;height:48px;flex:0 0 40px;align-items:center;justify-content:center;padding:0;overflow:visible;color:rgba(247,247,247,.72);background:rgba(50,50,51,.74);border:1px solid rgba(255,255,255,.07);border-radius:8px;box-shadow:none}.video-node-panel .prompt-composer-tools button.video-frame-slot-empty{flex-direction:column;gap:2px;font-size:10px;line-height:12px}.video-node-panel .prompt-composer-tools button.video-frame-slot-empty:focus-visible,.video-node-panel .prompt-composer-tools button.video-frame-slot-empty:hover{color:rgba(255,255,255,.9);background:rgba(60,60,61,.88);border-color:rgba(255,255,255,.13);outline:none}.video-frame-slot-filled img{display:block;width:100%;height:100%;object-fit:cover;border-radius:8px}.video-frame-slot-label{display:block;width:40px;margin-top:4px;color:var(--canvas-theme-ink-muted,rgb(112,112,112));font-size:10px;font-weight:500;line-height:12px;text-align:center;white-space:nowrap}.video-node-panel .prompt-composer-tools button.video-frame-remove{top:-6px;right:-6px;display:grid;width:18px;height:18px;min-width:18px;flex:0 0 18px;place-items:center;padding:0;color:rgba(255,255,255,.96);font-size:12px;font-weight:500;line-height:1;background:rgba(24,24,24,.92);border:1px solid rgba(255,255,255,.22);border-radius:999px;box-shadow:0 1px 4px rgba(0,0,0,.28)}.video-node-panel .prompt-composer-tools button.video-frame-remove .reference-corner-badge-label{display:grid;width:10px;height:10px;place-items:center;line-height:0}.video-frame-remove-icon{display:block;width:10px;height:10px}.video-node-panel .prompt-composer-tools button.video-frame-remove:hover{color:rgba(255,255,255,.96);background:rgba(24,24,24,1)}.video-node-panel .prompt-composer-tools button.video-frame-remove:focus-visible{color:rgba(255,255,255,.96);background:rgba(24,24,24,1);outline:2px solid color-mix(in srgb,var(--canvas-theme-ink,#141414) 24%,transparent);outline-offset:1px}.video-node-panel .prompt-composer-tools button.video-frame-swap{order:1;display:grid;width:17px;height:24px;flex:0 0 17px;place-items:center;padding:0;margin-top:12px;color:var(--canvas-theme-ink-muted,rgb(112,112,112));background:transparent;border:0;border-radius:4px}.video-node-panel .prompt-composer-tools button.video-frame-swap:focus-visible:not(:disabled),.video-node-panel .prompt-composer-tools button.video-frame-swap:hover:not(:disabled){color:var(--canvas-theme-ink,rgb(40,40,40));background:var(--canvas-theme-hover,rgba(0,0,0,.06));outline:none}.video-node-panel .prompt-composer-tools button.video-frame-swap:disabled{color:var(--canvas-theme-ink-subtle,rgba(112,112,112,.38));cursor:default}.video-frame-picker{position:absolute;left:0;bottom:calc(100% + 8px);z-index:30;display:flex;width:140px;height:86px;flex-direction:column;gap:4px;padding:4px;background:rgba(31,31,32,.98);border:1px solid rgba(255,255,255,.08);border-radius:22px;box-shadow:0 12px 30px rgba(0,0,0,.34)}.video-node-panel .prompt-composer-tools .video-frame-picker button{width:130px;height:36px;min-height:36px;flex:0 0 36px;padding:0 14px;color:rgba(247,247,247,.84);font-size:13px;line-height:18px;background:transparent;border:0;border-radius:18px}.video-node-panel .prompt-composer-tools .video-frame-picker button:focus-visible,.video-node-panel .prompt-composer-tools .video-frame-picker button:hover{color:rgba(255,255,255,.98);background:rgba(255,255,255,.09);outline:none}.video-frame-file-input{position:fixed;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}.video-prompt-tool-label{display:block;max-width:100%;min-width:0;overflow:hidden;line-height:12px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.image-prompt-tool-icon,.video-prompt-tool-icon{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.image-node-panel .prompt-composer-toolbar{font-size:16px}.video-node-panel .prompt-composer-input{min-height:80px;font-size:14px;font-weight:400;line-height:1.8}.video-node-panel .prompt-composer-toolbar{font-size:16px}.video-prompt-library-panel{position:fixed;top:var(--video-prompt-library-top,96px);left:var(--video-prompt-library-left,50vw);z-index:980;display:grid;width:var(--video-prompt-library-width,min(520px,calc(100vw - 32px)));max-height:var(--video-prompt-library-max-height,min(520px,calc(100vh - 32px)));overflow:auto;grid-gap:12px;gap:12px;padding:12px;color:var(--canvas-theme-ink,rgba(247,247,247,.92));scrollbar-color:var(--canvas-theme-border-strong,rgba(255,255,255,.18)) transparent;background:var(--canvas-theme-surface,rgba(43,43,43,.97));border:1px solid var(--canvas-theme-border,rgba(82,82,82,.76));border-radius:12px;box-shadow:var(
    --canvas-theme-shadow,0 16px 36px rgba(0,0,0,.34),0 4px 10px rgba(0,0,0,.16)
  );-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);transform:translateX(-50%)}.video-prompt-library-header{display:grid;grid-template-columns:minmax(0,1fr) 30px;grid-gap:10px;gap:10px;align-items:center}.video-prompt-library-tabs{display:flex;min-width:0;gap:6px;overflow-x:auto}.video-prompt-library-close,.video-prompt-library-tabs button{min-height:30px;color:var(--canvas-theme-ink-muted,rgba(247,247,247,.7));font:inherit;font-size:12px;background:var(--canvas-theme-surface-soft,rgba(255,255,255,.05));border:1px solid var(--canvas-theme-border,rgba(255,255,255,.12));border-radius:999px;cursor:pointer}.video-prompt-library-tabs button{flex:0 0 auto;padding:0 11px}.video-prompt-library-tabs button[aria-selected=true]{color:var(--canvas-theme-ink,#141414);background:var(--canvas-theme-surface-soft,rgba(0,0,0,.05));border-color:var(--canvas-theme-border,rgba(0,0,0,.1))}.video-prompt-library-close{display:grid;width:30px;place-items:center;padding:0;font-size:18px;line-height:1}.video-prompt-library-search{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;grid-gap:8px;gap:8px;color:var(--canvas-theme-ink-muted,rgba(247,247,247,.62));font-size:12px}.video-prompt-library-search input{min-width:0;height:34px;padding:0 10px;color:var(--canvas-theme-ink,rgba(247,247,247,.92));font:inherit;background:var(--canvas-theme-surface-soft,rgba(255,255,255,.07));border:1px solid var(--canvas-theme-border,rgba(255,255,255,.12));border-radius:10px;outline:none}.video-prompt-library-search input::placeholder{color:var(--canvas-theme-ink-soft,rgba(247,247,247,.34))}.video-prompt-library-search input:focus{border-color:color-mix(in srgb,var(--canvas-theme-ink,#141414) 24%,transparent)}.video-prompt-library-consent-state,.video-prompt-library-model-lock{color:var(--canvas-theme-ink-soft,rgba(247,247,247,.52));font-size:12px;line-height:16px}.video-prompt-library-model-lock{padding:0 2px}.video-prompt-library-compliance{display:grid;grid-gap:8px;gap:8px;padding:10px;color:var(--canvas-theme-ink-muted,rgba(247,247,247,.68));font-size:12px;line-height:1.6;background:var(--canvas-theme-surface-soft,rgba(255,255,255,.055));border:1px solid var(--canvas-theme-border,rgba(255,255,255,.1));border-radius:10px}.video-prompt-library-compliance strong{color:var(--canvas-theme-ink,rgba(247,247,247,.94));font-size:13px}.video-prompt-library-compliance p{margin:0}.video-prompt-library-compliance label{display:flex;align-items:center;gap:8px}.video-prompt-library-compliance input{flex:0 0 auto}.video-prompt-library-compliance-actions{display:flex;justify-content:flex-end;gap:8px}.video-prompt-library-compliance-actions button{min-height:28px;padding:0 12px;color:var(--canvas-theme-ink-muted,rgba(247,247,247,.74));font:inherit;font-size:12px;background:var(--canvas-theme-surface,rgba(255,255,255,.06));border:1px solid var(--canvas-theme-border,rgba(255,255,255,.14));border-radius:8px;cursor:pointer}.video-prompt-library-compliance-actions button:last-child{color:var(--canvas-theme-ink,#141414);background:var(--canvas-theme-surface-soft,rgba(0,0,0,.05));border-color:var(--canvas-theme-border,rgba(0,0,0,.1))}.video-prompt-library-compliance-actions button:disabled{color:var(--canvas-theme-ink-soft,rgba(247,247,247,.32));background:var(--canvas-theme-surface-soft,rgba(255,255,255,.035));border-color:var(--canvas-theme-border,rgba(255,255,255,.08));cursor:not-allowed}.video-prompt-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.video-prompt-library-grid[data-kind=effect]{grid-template-columns:repeat(3,minmax(0,1fr))}.video-prompt-library-grid[data-empty=true]{grid-template-columns:1fr}.video-prompt-library-grid[data-disabled=true]{opacity:.46}.video-prompt-library-grid button{display:grid;min-width:0;min-height:74px;align-content:start;grid-gap:4px;gap:4px;padding:10px;color:var(--canvas-theme-ink,rgba(247,247,247,.82));font:inherit;text-align:left;background:var(--canvas-theme-surface-soft,rgba(255,255,255,.055));border:1px solid var(--canvas-theme-border,rgba(255,255,255,.12));border-radius:10px;cursor:pointer}.video-prompt-library-grid button:disabled{cursor:not-allowed}.video-prompt-library-grid button:not(:disabled):focus-visible,.video-prompt-library-grid button:not(:disabled):hover,.video-prompt-library-grid button[data-selected=true]{color:var(--canvas-theme-ink,#141414);background:var(--canvas-theme-surface-soft,rgba(0,0,0,.05));border-color:var(--canvas-theme-border,rgba(0,0,0,.1));outline:none}.video-prompt-library-card-description,.video-prompt-library-card-meta,.video-prompt-library-card-title{min-width:0;overflow:hidden;text-overflow:ellipsis}.video-prompt-library-card-title{font-size:13px;font-weight:700;line-height:18px;white-space:nowrap}.video-prompt-library-card-meta{color:var(--canvas-theme-ink-soft,rgba(247,247,247,.5));font-size:11px;line-height:16px;white-space:nowrap}.video-prompt-library-card-description{display:-webkit-box;color:var(--canvas-theme-ink-muted,rgba(247,247,247,.58));font-size:11px;line-height:16px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.video-prompt-library-empty,.video-prompt-library-footer{color:var(--canvas-theme-ink-soft,rgba(247,247,247,.48));font-size:12px;text-align:center}.video-prompt-library-footer{padding-top:2px}.video-preset-library-backdrop{position:fixed;inset:0;z-index:1110;display:grid;place-items:center;padding:16px;background:rgba(0,0,0,.42)}.video-preset-library-dialog{display:grid;width:min(800px,calc(100vw - 32px));height:min(604px,calc(100vh - 32px));min-height:min(420px,calc(100vh - 32px));grid-template-rows:56px minmax(0,1fr);overflow:hidden;color:var(--canvas-theme-ink,#141414);background:var(--canvas-theme-surface,#ffffff);border:1px solid var(--canvas-theme-border,#e5e6ec);border-radius:12px;box-shadow:var(
    --canvas-theme-shadow,0 4px 10px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.06)
  )}.video-preset-library-header{display:flex;min-width:0;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--canvas-theme-border,#eeeeef)}.video-preset-library-tabs{display:flex;flex:0 0 auto;align-items:center;gap:2px;padding:2px;background:var(--canvas-theme-surface-soft,rgba(0,0,0,.05));border-radius:10px}.video-preset-library-tabs button{height:28px;flex:0 0 auto;padding:0 12px;color:var(--canvas-theme-ink-muted,#525252);font:inherit;font-size:13px;font-weight:400;line-height:20px;white-space:nowrap;background:transparent;border:0;border-radius:8px;cursor:pointer}.video-preset-library-tabs button[aria-selected=true]{color:var(--canvas-theme-ink,#141414);background:var(--canvas-theme-surface,#ffffff);box-shadow:0 1px 3px rgba(0,0,0,.08)}.video-preset-library-tabs button:focus-visible,.video-preset-library-tabs button:hover{color:var(--canvas-theme-ink,#141414);outline:none}.video-preset-library-search{display:grid;min-width:0;height:32px;flex:1 1 120px;max-width:336px;grid-template-columns:minmax(0,1fr) 16px;align-items:center;grid-gap:4px;gap:4px;padding:0 12px;color:var(--canvas-theme-ink-soft,#8b8b91);background:var(--canvas-theme-surface-soft,rgba(0,0,0,.05));border:1px solid transparent;border-radius:8px}.video-preset-library-search+*{margin-left:auto}.camera-motion-clear-button{flex:0 0 auto;height:28px;padding:0 12px;color:var(--canvas-theme-ink-muted,#525252);font:inherit;font-size:13px;line-height:20px;white-space:nowrap;background:transparent;border:1px solid var(--canvas-theme-border-strong,rgba(0,0,0,.15));border-radius:8px;cursor:pointer}.camera-motion-clear-button:focus-visible,.camera-motion-clear-button:hover{color:var(--canvas-theme-ink,#141414);border-color:var(--canvas-theme-ink-muted,rgba(0,0,0,.3));outline:none}.video-preset-library-search:focus-within{background:var(--canvas-theme-surface,#ffffff);border-color:var(--canvas-theme-border-strong,#cfcfd4)}.video-preset-library-search svg{width:16px;height:16px;stroke-width:1.8}.video-preset-library-search input{min-width:0;color:var(--canvas-theme-ink,#262626);font:inherit;font-size:13px;line-height:20px;background:transparent;border:0;outline:none}.video-preset-library-search input::placeholder{color:var(--canvas-theme-ink-soft,#8b8b91)}.video-preset-library-header .creative-resource-model-select{height:32px;min-width:184px;padding-left:10px;color:var(--canvas-theme-ink-muted,#71717a);background:var(--canvas-theme-surface-soft,rgba(0,0,0,.05));border-color:transparent;border-radius:8px}.video-preset-library-header .creative-resource-model-trigger{padding-right:28px;color:var(--canvas-theme-ink,#262626)}.video-preset-library-header .creative-resource-model-select:focus-within{background:var(--canvas-theme-surface,#ffffff);border-color:var(--canvas-theme-border-strong,#cfcfd4);box-shadow:none}.video-preset-library-header .creative-resource-model-select-chevron{right:9px;color:var(--canvas-theme-ink-soft,#8b8b91)}.video-preset-library-close{display:grid;width:32px;height:32px;flex:0 0 32px;place-items:center;padding:0;color:var(--canvas-theme-ink-muted,#71717a);background:transparent;border:0;border-radius:8px;cursor:pointer}.video-preset-library-close svg{width:18px;height:18px;stroke-width:1.8}.video-preset-library-close:focus-visible,.video-preset-library-close:hover{color:var(--canvas-theme-ink,#18181b);background:var(--canvas-theme-surface-soft,rgba(0,0,0,.05));outline:none}.video-preset-library-grid{display:grid;min-height:0;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;justify-items:center;grid-gap:16px 12px;gap:16px 12px;padding:16px;overflow-y:auto;scrollbar-color:var(--canvas-theme-border-strong,#d4d4d8) transparent}.video-preset-library-grid[data-empty=true]{grid-template-columns:1fr;place-items:center}.video-preset-library-card{position:relative}.video-preset-library-card,.video-preset-library-card-select{display:flex;width:168px;min-width:0;flex-direction:column;align-items:flex-start;gap:6px}.video-preset-library-card-select{padding:0;color:inherit;font:inherit;text-align:left;background:transparent;border:0;cursor:pointer}.video-preset-library-card-select:disabled{cursor:not-allowed}.video-preset-library-media{display:grid;width:168px;height:168px;place-items:center;overflow:hidden;color:#e4e4e7;font-size:12px;background:#525252;border-radius:8px;transition:box-shadow .12s ease}.video-preset-library-media video{display:block;width:100%;height:100%;object-fit:cover}.video-preset-library-card-copy{display:grid;width:168px;min-width:0;justify-items:start;grid-gap:2px;gap:2px}.video-preset-library-card-copy strong,.video-preset-library-card-copy>span{width:168px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.video-preset-library-card-copy strong{color:var(--canvas-theme-ink,#141414);font-size:13px;font-weight:500;line-height:18px}.video-preset-library-card-copy>span{color:var(--canvas-theme-ink-muted,#8b8b91);font-size:12px;line-height:16px}.video-preset-library-card[data-selected=true] .video-preset-library-media{box-shadow:0 0 0 2px var(--canvas-theme-neutral-focus-border,rgba(255,255,255,.54))}.video-preset-library-card[data-unavailable=true]{opacity:.58}.video-preset-library-favorite{position:absolute;top:4px;right:4px;display:grid;width:24px;height:24px;place-items:center;padding:0;color:#ffffff;background:rgba(0,0,0,.65);border:0;border-radius:8px;opacity:0;cursor:pointer;transition:opacity .12s ease}.video-preset-library-favorite svg{width:15px;height:15px;stroke-width:1.8}.video-preset-library-card:hover .video-preset-library-favorite,.video-preset-library-favorite:focus-visible,.video-preset-library-favorite[aria-pressed=true]{opacity:1}.video-preset-library-favorite[aria-pressed=true]{color:#ffd35a}.video-preset-library-empty{color:var(--canvas-theme-ink-muted,#8b8b91);font-size:14px;text-align:center}.video-preset-library-empty[data-error=true]{color:var(--canvas-theme-danger,#b42318)}.selected-video-effect-chip{position:relative;width:48px;height:48px;flex:0 0 48px}.selected-video-effect-preview{position:relative;display:block;width:100%;height:100%;place-items:center;padding:0;overflow:hidden;color:rgba(255,255,255,.8);background:rgba(0,0,0,.14);border:0;border-radius:8px;cursor:pointer}.video-node-panel .prompt-composer-tools button.selected-video-effect-preview{display:block;width:100%;height:100%;flex:none;gap:0;padding:0;color:rgba(255,255,255,.8);background:rgba(0,0,0,.14);border:0;border-radius:8px}.selected-video-effect-placeholder,.selected-video-effect-preview video{display:block;width:100%;height:100%;object-fit:cover}.selected-video-effect-placeholder{display:grid;place-items:center}.selected-video-effect-placeholder svg{width:22px;height:22px}.selected-video-effect-scrim{position:absolute;inset:0;background:rgba(0,0,0,.4)}.selected-video-effect-state{position:absolute;inset:0;display:grid;grid-template-rows:14px 11px;align-content:center;justify-items:center;grid-gap:2px;gap:2px;color:rgba(255,255,255,.8);font-size:11px;line-height:11px;pointer-events:none;transition:opacity .15s ease}.selected-video-effect-state svg{width:14px;height:14px;stroke-width:1.8}.selected-video-effect-state-replace{opacity:0}.selected-video-effect-chip:hover .selected-video-effect-state-default,.selected-video-effect-preview:focus-visible .selected-video-effect-state-default{opacity:0}.selected-video-effect-chip:hover .selected-video-effect-state-replace,.selected-video-effect-preview:focus-visible .selected-video-effect-state-replace{opacity:1}.selected-video-effect-remove{position:absolute;width:24px;height:24px;top:-9px;right:-9px;z-index:2;display:grid;place-items:center;padding:0;color:#ffffff;background:transparent;border:0;border-radius:50%;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .15s ease}.video-node-panel .prompt-composer-tools button.selected-video-effect-remove{display:grid;width:24px;height:24px;flex:none;grid-gap:0;gap:0;padding:0;color:#ffffff;background:transparent;border:0;border-radius:50%}.selected-video-effect-remove:before{position:absolute;top:50%;left:50%;width:15px;height:15px;content:"";background:#333333;border:1px solid #ffffff;border-radius:50%;transform:translate(-50%,-50%)}.selected-video-effect-remove svg{position:relative;z-index:1;width:7px;height:7px;stroke-width:3}.selected-video-effect-chip:focus-within .selected-video-effect-remove,.selected-video-effect-chip:hover .selected-video-effect-remove{opacity:1;pointer-events:auto}.selected-video-effect-preview:focus-visible{outline:none;box-shadow:0 0 0 2px var(--canvas-theme-neutral-focus-border,rgba(255,255,255,.54))}.selected-video-effect-remove:focus-visible{outline:none}.selected-video-effect-remove:focus-visible:before{box-shadow:0 0 0 2px var(--canvas-theme-neutral-focus-border,rgba(255,255,255,.54))}.selected-video-effect-tooltip{position:absolute;left:50%;bottom:calc(100% + 8px);z-index:14;width:max-content;max-width:min(305px,calc(100vw - 40px));overflow-wrap:break-word;white-space:normal;transform:translate(calc(-50% + var(--selected-video-effect-tooltip-shift-x, 0px)),4px)}.selected-video-effect-chip:focus-within .selected-video-effect-tooltip,.selected-video-effect-chip:hover .selected-video-effect-tooltip{opacity:1;transform:translate(calc(-50% + var(--selected-video-effect-tooltip-shift-x, 0px)));visibility:visible}@media (hover:none),(pointer:coarse){.selected-video-effect-remove{opacity:1;pointer-events:auto}}@media (max-width:900px){.video-preset-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:680px){.video-prompt-library-grid[data-kind=effect]{grid-template-columns:repeat(2,minmax(0,1fr))}.video-preset-library-dialog{grid-template-rows:auto minmax(0,1fr)}.video-preset-library-header{flex-wrap:wrap}.video-preset-library-tabs{order:1}.video-preset-library-close{order:2}.video-preset-library-header .creative-resource-model-select{min-width:180px;margin-left:auto;order:2}.video-preset-library-search{max-width:none;flex-basis:100%;order:3}.video-preset-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:460px){.video-prompt-library-grid,.video-prompt-library-grid[data-kind=effect]{grid-template-columns:1fr}.video-preset-library-backdrop{padding:8px}.video-preset-library-dialog{width:calc(100vw - 16px);height:calc(100vh - 16px)}.video-preset-library-grid{grid-template-columns:1fr}}.audio-node-panel,.image-node-panel,.script-node-panel,.text-node-panel,.video-node-panel{max-width:calc(100vw - 32px)}.audio-node .node-title{left:0;top:0;gap:4px;color:#525252;font-size:13px;font-weight:400;line-height:20px;height:28px}.audio-node .node-title-icon{width:14px;height:14px;flex-basis:14px}.audio-node .node-title-editable:focus-within,.audio-node .node-title-editable:hover,.react-flow__node.selected .audio-node .node-title{color:#525252}.audio-node{--audio-waveform-surface:#fafafa;--audio-waveform-border:#f5f5f5;--audio-waveform-ink:#a6a6a6;--audio-timecode-ink:#525252;--audio-play-button-ink:#2f2f2f;--audio-play-button-surface:#ffffff;--audio-play-button-border:#d9d9d9}.audio-node-surface{--media-upload-status-bottom:47px;--canvas-theme-ink:#141414;--canvas-theme-ink-muted:#525252;--canvas-theme-ink-soft:#919191;position:relative;box-sizing:border-box;padding:24px;background:#ffffff;border-color:#e5e6ec;border-radius:12px;box-shadow:none}.react-flow__node.selected .audio-node-surface{border-color:#919191;box-shadow:none}.audio-node-surface:has(.node-empty-state){padding:0}.audio-node-surface:has(.audio-node-generating),.audio-node-surface:has(.audio-node-ready){--media-upload-status-bottom:40px;padding:8px}.audio-mini-icon{width:12px;height:12px;flex:0 0 auto;fill:currentColor}.audio-node-video-action{display:inline-flex;align-items:center;gap:5px;padding:0;color:rgba(255,255,255,.86);font-size:12px;background:transparent;border:0}.audio-edit-popover{display:grid;width:264px;grid-gap:10px;gap:10px;letter-spacing:0}.audio-edit-popover-heading{font-size:13px;font-weight:600;line-height:18px}.audio-trim-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.audio-trim-fields label{display:grid;min-width:0;align-items:center;grid-template-columns:1fr auto;grid-gap:6px;gap:6px;color:var(--canvas-theme-ink-muted,#6d6e6f);font-size:12px}.audio-trim-fields label>span:first-child{grid-column:1/-1}.audio-trim-fields input{width:100%;min-width:0;height:32px;padding:0 8px;color:var(--canvas-theme-ink,#141414);font:inherit;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;background:var(--canvas-theme-surface-soft,rgba(20,20,20,.05));border:1px solid var(--canvas-theme-border,rgba(20,20,20,.12));border-radius:6px;outline:none}.audio-trim-fields input:focus-visible{border-color:var(--canvas-theme-ink-muted,#6d6e6f);box-shadow:0 0 0 2px color-mix(in srgb,var(--canvas-theme-ink,#141414) 12%,transparent)}.audio-trim-duration{color:var(--canvas-theme-ink-muted,#6d6e6f);font-size:12px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;line-height:18px}.audio-speed-popover{width:224px}.audio-speed-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:6px;gap:6px}.audio-speed-options button{height:32px;color:var(--canvas-theme-ink-muted,#6d6e6f);font:inherit;font-size:12px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;background:var(--canvas-theme-surface-soft,rgba(20,20,20,.05));border:1px solid transparent;border-radius:6px}.audio-speed-options button:hover{color:var(--canvas-theme-ink,#141414);background:color-mix(in srgb,var(--canvas-theme-ink,#141414) 8%,transparent)}.audio-speed-options button[aria-pressed=true]{color:var(--canvas-theme-ink,#141414);background:var(--canvas-theme-surface,#ffffff);border-color:var(--canvas-theme-border,rgba(20,20,20,.18));box-shadow:0 1px 3px rgba(20,20,20,.12)}.audio-node-generating,.audio-node-ready{display:flex;height:100%;flex-direction:column}.audio-node-waveform-frame{position:relative;display:flex;min-height:0;box-sizing:border-box;flex:1 1 auto;align-items:center;justify-content:center;overflow:hidden;background:var(--audio-waveform-surface);border:1px solid var(--audio-waveform-border);border-radius:8px;cursor:pointer;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.audio-node-waveform-frame:focus-visible{outline:2px solid rgba(20,20,20,.34);outline-offset:-2px}.audio-node-waveform{min-width:0;justify-content:center;padding:0 8px}.audio-node-waveform,.audio-node-waveform-lane{position:relative;display:flex;width:100%;height:100%;align-items:center}.audio-node-waveform-lane{max-width:100%;flex:1 1 auto}.audio-node-waveform-bars{display:flex;width:100%;height:64px;flex:1 1 auto;align-items:center;justify-content:space-between}.audio-node-waveform-bar{width:2px;flex:0 0 2px;background:var(--audio-waveform-ink);border-radius:2px}.audio-node-playhead{position:absolute;top:3px;bottom:3px;width:2px;background:#f54848;border-radius:999px;transform:translateX(-50%)}.audio-node-playback{position:relative;display:grid;min-height:24px;margin-top:8px;align-items:center;grid-template-columns:1fr auto 1fr}.audio-node-timecode{justify-self:start;color:var(--audio-timecode-ink);font-size:14px;font-weight:400;line-height:20px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.audio-node-timecode-ghost{justify-self:end;opacity:0}.audio-node-play-button{display:flex;width:24px;height:24px;box-sizing:border-box;align-items:center;justify-content:center;place-items:center;color:var(--audio-play-button-ink);background:var(--audio-play-button-surface);border:1px solid var(--audio-play-button-border);border-radius:999px;box-shadow:0 4px 10px rgba(0,0,0,.08)}.audio-node-play-button .audio-mini-icon{width:14px;height:14px}.audio-node-play-button:disabled{color:rgba(47,47,47,.26)}.audio-node-play-button.is-playing .audio-mini-icon{display:none}.audio-node-play-button.is-playing:before{width:10px;height:12px;background:linear-gradient(currentColor,currentColor) 0 /3px 100% no-repeat,linear-gradient(currentColor,currentColor) 100% /3px 100% no-repeat;content:""}.audio-node-native-player{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.audio-node-generating>.audio-node-play-button{margin-top:8px;align-self:center;flex:0 0 24px}.audio-node-generating .audio-node-waveform-frame{cursor:default;pointer-events:none}.audio-node-generating .audio-node-waveform{opacity:.46}.audio-generation-unavailable{align-self:center;max-width:280px;margin:0;color:#919191;font-size:12px;line-height:18px;text-align:center}.audio-generation-unavailable-panel{max-width:none;align-self:stretch;padding:8px 12px;color:var(--canvas-theme-ink-muted,#737373);text-align:left;background:var(--canvas-theme-surface-soft,rgba(0,0,0,.04));border-radius:8px}.audio-node-panel.prompt-composer{--canvas-theme-border:var(--cbi-border-muted,rgba(30,31,33,0.08));--canvas-theme-ink:var(--cbi-text,#1e1f21);--canvas-theme-ink-muted:var(--cbi-text-muted,#6d6e6f);--canvas-theme-ink-soft:var(--cbi-text-soft,#afabac);--canvas-theme-surface:var(--cbi-surface-elevated,#ffffff);--canvas-theme-surface-soft:var(--cbi-surface-muted,#f3f1f1);--prompt-composer-chevron-color:var(--cbi-text-soft,#afabac);--prompt-composer-divider-color:var(--cbi-border,#eceae9);--prompt-composer-hover-background:var(--cbi-control-hover,#eceae9);--prompt-composer-primary-text:var(--cbi-text,#1e1f21);--prompt-composer-selected-background:var(--cbi-control-active,#eceae9);--audio-settings-accent:var(--canvas-theme-ink-muted,#6d6e6f);--audio-settings-border:var(--cbi-border,#eceae9);--audio-settings-control-border:var(--cbi-border-muted,rgba(30,31,33,0.08));--audio-settings-control-ink:var(--cbi-text-muted,#6d6e6f);--audio-settings-control-surface:var(--cbi-surface-muted,#f3f1f1);--audio-settings-focus:var(--cbi-focus-border,rgba(30,31,33,0.54));--audio-settings-hover:var(--cbi-control-hover,#eceae9);--audio-settings-ink:var(--cbi-text,#1e1f21);--audio-settings-muted:var(--cbi-text-muted,#6d6e6f);--audio-settings-segmented-border:var(--cbi-border-muted,rgba(30,31,33,0.08));--audio-settings-segmented-hover:var(--cbi-control-hover,#eceae9);--audio-settings-segmented-surface:var(--cbi-surface-muted,#f3f1f1);--audio-settings-selected-surface:var(--cbi-control-selected,#ffffff);--audio-settings-soft:var(--cbi-text-soft,#afabac);--audio-settings-surface:var(--cbi-surface-soft,#f9f8f8);--audio-settings-thumb:var(--cbi-surface-elevated,#ffffff);--audio-settings-thumb-border:var(--cbi-border-strong,#ddd8d8);--audio-settings-track:var(--cbi-border-strong,#ddd8d8);--prompt-composer-top-layer-padding:8px 8px 0;width:660px;color:var(--canvas-theme-ink);transition:width .22s cubic-bezier(.22,1,.36,1)}.audio-node-panel .prompt-composer-shell{color:var(--canvas-theme-ink);overflow:hidden;background:var(--cbi-surface-elevated,#ffffff);border:.5px solid var(--canvas-theme-border);border-radius:16px;box-shadow:var(--cbi-shadow-soft,0 4px 10px rgba(0,0,0,.12));transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}.audio-node-panel .prompt-composer-body{box-sizing:border-box;padding:8px}.audio-node-panel[data-secondary-page=true] .prompt-composer-shell{min-height:0}.audio-node-panel[data-secondary-page=true] .prompt-composer-body{gap:var(--prompt-composer-body-gap,0);padding:var(--prompt-composer-body-padding,8px)}.audio-node-panel[data-secondary-page=true] .prompt-composer-toolbar{height:40px;flex:0 0 40px;gap:4px;padding:0 4px 8px;border-bottom:1px solid var(--audio-settings-border,#ebebed)}.audio-node-panel .prompt-composer-secondary-panel,.audio-node-panel[data-secondary-page=true] .prompt-composer-secondary-panel{overflow:hidden;border-radius:12px}.audio-settings-reveal{display:grid;min-height:0;grid-template-rows:0fr;opacity:0;overflow:hidden;padding-top:0;pointer-events:none;transform:translateY(-8px);transform-origin:center top;transition:grid-template-rows .26s cubic-bezier(.22,1,.36,1),opacity .16s ease,padding-top .26s cubic-bezier(.22,1,.36,1),transform .26s cubic-bezier(.22,1,.36,1)}.audio-settings-reveal[data-open=true]{grid-template-rows:1fr;opacity:1;padding-top:8px;pointer-events:auto;transform:translateY(0)}.audio-settings-reveal-inner{min-height:0;overflow:hidden}.audio-node-panel .prompt-composer-expand-toggle{color:var(--canvas-theme-ink-muted);background:transparent}.audio-node-panel .prompt-composer-expand-toggle:focus-visible,.audio-node-panel .prompt-composer-expand-toggle:hover{color:var(--canvas-theme-ink);background:var(--prompt-composer-hover-background)}.audio-voice-button{display:inline-flex;align-items:center;gap:4px;width:auto;height:32px;max-width:180px;padding:0 6px;overflow:hidden;color:var(--canvas-theme-ink);font-size:13px;text-overflow:ellipsis;white-space:nowrap;background:transparent;border:1px solid transparent;border-radius:8px;transition:color .16s ease,background-color .16s ease,border-color .16s ease}.audio-voice-button:focus-visible,.audio-voice-button:hover,.audio-voice-button[aria-expanded=true]{color:var(--canvas-theme-ink);background:var(--prompt-composer-hover-background);border-color:transparent;outline:none}.audio-voice-button svg{width:16px;height:16px;flex:0 0 16px;overflow:visible;fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:2}.audio-voice-exchange{width:14px;height:14px;flex:0 0 14px;color:var(--canvas-theme-ink-muted)}.audio-node-panel .prompt-composer-input-row{height:88px;flex-basis:88px}.audio-node-panel:not([data-expanded=true]):has(.prompt-composer-context) .prompt-composer-input-row{height:82px;flex-basis:82px}.audio-node-panel .prompt-composer-input{padding:0 8px;color:var(--canvas-theme-ink);font-size:14px;font-weight:400;line-height:1.8}.audio-node-panel .prompt-composer-rich-input:empty:before{color:var(--canvas-theme-ink-soft)}.audio-prompt-token{display:inline-flex;height:24px;align-items:center;margin:0 2px 2px;padding:0 8px;color:#05a3c5;font-size:12px;line-height:1;vertical-align:baseline;background:var(--canvas-popover-hover);border-radius:4px}.audio-prompt-token[data-mention-type=pause]{cursor:pointer}.audio-prompt-token[data-mention-type=pause]:focus-visible{outline:1px solid #05a3c5;outline-offset:1px}.camera-motion-prompt-token{color:#e58a00;background:rgba(255,171,0,.1);border-color:rgba(229,138,0,.3)}.camera-motion-prompt-token[aria-label="运镜：不可用"]{color:#c2410c;background:rgba(234,88,12,.08);border-color:rgba(194,65,12,.28)}.prompt-resource-mention{margin:0 2px;color:inherit;vertical-align:middle;background:transparent;border-color:color-mix(in srgb,currentColor 12%,transparent)}.prompt-resource-mention-with-thumb{gap:4px;padding-left:2px;background:rgba(38,38,38,.06);border-color:color-mix(in srgb,currentColor 8%,transparent)}.prompt-resource-mention-thumb{width:18px;height:18px;flex:0 0 18px;object-fit:cover;border-radius:50%;background:rgba(38,38,38,.06)}.prompt-resource-mention-label{line-height:1}.prompt-resource-mention-compliance{display:inline-block;width:14px;height:14px;flex:0 0 14px;vertical-align:middle}.prompt-resource-mention-compliance[data-state=verified]{background-color:#09caf5;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 0.641113C7.2515 0.641113 7.49564 0.720096 7.69922 0.864746L7.78418 0.930176L7.78906 0.934082C8.75179 1.77578 10.0859 2.39196 11.083 2.39209C11.3769 2.39209 11.6593 2.50849 11.8672 2.71631C12.0748 2.92404 12.1923 3.2058 12.1924 3.49951V7.5835C12.1923 9.18027 11.6258 10.4048 10.7178 11.3364C9.82404 12.2533 8.62182 12.8643 7.37109 13.3003L7.36719 13.3013C7.12963 13.3818 6.87152 13.3783 6.63574 13.2935C6.63189 13.2922 6.62787 13.2919 6.62402 13.2905C5.37422 12.8577 4.17415 12.2499 3.28223 11.3364C2.37326 10.4054 1.8087 9.18017 1.80859 7.5835V3.49951C1.80872 3.2058 1.92517 2.92404 2.13281 2.71631C2.34066 2.50849 2.62307 2.39209 2.91699 2.39209C3.91369 2.39195 5.25354 1.77039 6.21094 0.934082L6.21582 0.930176C6.4344 0.743601 6.71261 0.641113 7 0.641113ZM7 1.69189C6.96253 1.69189 6.92597 1.70469 6.89746 1.729C5.82515 2.66406 4.25161 3.44177 2.91699 3.44189C2.90171 3.44189 2.88688 3.4478 2.87598 3.4585C2.86515 3.46933 2.85852 3.48421 2.8584 3.49951V7.5835C2.8585 8.90294 3.31445 9.86589 4.03418 10.603C4.67647 11.2607 5.54713 11.7568 6.54395 12.1431L6.97852 12.3022L6.99121 12.3062C7.00351 12.3106 7.01686 12.3112 7.0293 12.3071C8.20335 11.8975 9.23396 11.3559 9.9668 10.604C10.6861 9.86598 11.1415 8.90289 11.1416 7.5835V3.49951C11.1415 3.48421 11.1349 3.46933 11.124 3.4585C11.1131 3.4478 11.0983 3.44189 11.083 3.44189C9.74882 3.44177 8.18115 2.67029 7.10254 1.729L7.08008 1.7124C7.05608 1.69835 7.02814 1.69189 7 1.69189ZM8.37891 5.4624C8.58392 5.25746 8.91608 5.25746 9.12109 5.4624C9.32593 5.66739 9.32593 5.9996 9.12109 6.20459L6.78809 8.5376C6.58306 8.74262 6.24995 8.74262 6.04492 8.5376L4.87891 7.37158C4.67407 7.16659 4.67407 6.83341 4.87891 6.62842C5.08383 6.42391 5.41617 6.42391 5.62109 6.62842L6.41699 7.42432L8.37891 5.4624Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 0.641113C7.2515 0.641113 7.49564 0.720096 7.69922 0.864746L7.78418 0.930176L7.78906 0.934082C8.75179 1.77578 10.0859 2.39196 11.083 2.39209C11.3769 2.39209 11.6593 2.50849 11.8672 2.71631C12.0748 2.92404 12.1923 3.2058 12.1924 3.49951V7.5835C12.1923 9.18027 11.6258 10.4048 10.7178 11.3364C9.82404 12.2533 8.62182 12.8643 7.37109 13.3003L7.36719 13.3013C7.12963 13.3818 6.87152 13.3783 6.63574 13.2935C6.63189 13.2922 6.62787 13.2919 6.62402 13.2905C5.37422 12.8577 4.17415 12.2499 3.28223 11.3364C2.37326 10.4054 1.8087 9.18017 1.80859 7.5835V3.49951C1.80872 3.2058 1.92517 2.92404 2.13281 2.71631C2.34066 2.50849 2.62307 2.39209 2.91699 2.39209C3.91369 2.39195 5.25354 1.77039 6.21094 0.934082L6.21582 0.930176C6.4344 0.743601 6.71261 0.641113 7 0.641113ZM7 1.69189C6.96253 1.69189 6.92597 1.70469 6.89746 1.729C5.82515 2.66406 4.25161 3.44177 2.91699 3.44189C2.90171 3.44189 2.88688 3.4478 2.87598 3.4585C2.86515 3.46933 2.85852 3.48421 2.8584 3.49951V7.5835C2.8585 8.90294 3.31445 9.86589 4.03418 10.603C4.67647 11.2607 5.54713 11.7568 6.54395 12.1431L6.97852 12.3022L6.99121 12.3062C7.00351 12.3106 7.01686 12.3112 7.0293 12.3071C8.20335 11.8975 9.23396 11.3559 9.9668 10.604C10.6861 9.86598 11.1415 8.90289 11.1416 7.5835V3.49951C11.1415 3.48421 11.1349 3.46933 11.124 3.4585C11.1131 3.4478 11.0983 3.44189 11.083 3.44189C9.74882 3.44177 8.18115 2.67029 7.10254 1.729L7.08008 1.7124C7.05608 1.69835 7.02814 1.69189 7 1.69189ZM8.37891 5.4624C8.58392 5.25746 8.91608 5.25746 9.12109 5.4624C9.32593 5.66739 9.32593 5.9996 9.12109 6.20459L6.78809 8.5376C6.58306 8.74262 6.24995 8.74262 6.04492 8.5376L4.87891 7.37158C4.67407 7.16659 4.67407 6.83341 4.87891 6.62842C5.08383 6.42391 5.41617 6.42391 5.62109 6.62842L6.41699 7.42432L8.37891 5.4624Z'/%3E%3C/svg%3E");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}.prompt-resource-mention-compliance[data-state=failed]{background-color:#f5514f;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1.6a5.4 5.4 0 1 1 0 10.8A5.4 5.4 0 0 1 7 1.6Zm0 1.2a4.2 4.2 0 1 0 0 8.4 4.2 4.2 0 0 0 0-8.4Zm0 6.06a.72.72 0 1 1 0 1.44.72.72 0 0 1 0-1.44Zm0-5.06c.33 0 .6.27.6.6v3.1a.6.6 0 0 1-1.2 0V4.4c0-.33.27-.6.6-.6Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1.6a5.4 5.4 0 1 1 0 10.8A5.4 5.4 0 0 1 7 1.6Zm0 1.2a4.2 4.2 0 1 0 0 8.4 4.2 4.2 0 0 0 0-8.4Zm0 6.06a.72.72 0 1 1 0 1.44.72.72 0 0 1 0-1.44Zm0-5.06c.33 0 .6.27.6.6v3.1a.6.6 0 0 1-1.2 0V4.4c0-.33.27-.6.6-.6Z'/%3E%3C/svg%3E");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}.prompt-resource-mention-compliance[data-state=checking]{box-sizing:border-box;border:1.5px solid rgba(9,202,245,.3);border-top-color:#09caf5;border-radius:999px;animation:reference-compliance-spin .9s linear infinite}@media (prefers-reduced-motion:reduce){.prompt-resource-mention-compliance[data-state=checking]{animation:none}}.prompt-composer-mention-menu{position:absolute;z-index:330;width:max-content;min-width:222.5px;max-width:min(320px,calc(100vw - 32px))}.prompt-composer-mention-options{display:flex;max-height:200px;flex-direction:column;gap:2px;overflow-y:auto}.prompt-composer-mention-options button{display:flex;width:100%;min-height:44px;align-items:center;gap:var(--canvas-popover-item-gap);padding:6px var(--canvas-popover-item-padding-x);color:var(--canvas-popover-ink);font:inherit;font-size:var(--canvas-popover-item-font-size);line-height:var(--canvas-popover-item-line-height);text-align:left;background:transparent;border:0;border-radius:var(--canvas-popover-item-radius);cursor:pointer}.prompt-composer-mention-options button:hover{background:var(--canvas-popover-hover)}.prompt-composer-mention-options button[aria-selected=true]{background:var(--canvas-popover-active)}.prompt-composer-mention-options button:focus-visible{outline:1px solid var(--canvas-theme-neutral-focus-border,var(--cbi-focus-border,#8bb5f5));outline-offset:-1px}.prompt-composer-mention-preview{display:flex;width:32px;height:32px;flex:0 0 32px;align-items:center;justify-content:center;overflow:hidden;color:var(--canvas-theme-ink-muted,var(--cbi-text-muted,#737373));background:var(--canvas-theme-surface-soft,var(--cbi-surface-soft,#f5f5f5));border:.5px solid var(--canvas-theme-border,var(--cbi-border,#e5e6ec));border-radius:4px}.prompt-composer-mention-preview img,.prompt-composer-mention-preview video{display:block;width:100%;height:100%;object-fit:cover}.prompt-composer-mention-preview svg{width:18px;height:18px;stroke-width:1.7}.prompt-composer-mention-copy{display:flex;min-width:0;flex:1 1;align-items:center;gap:4px;white-space:nowrap}.prompt-composer-mention-copy strong{min-width:0;overflow:hidden;font-weight:400;text-overflow:ellipsis}.prompt-composer-mention-copy small{color:var(--canvas-theme-ink-muted,var(--cbi-text-muted,#525252));font-size:14px}.audio-node-panel .prompt-composer-chips{min-height:24px;flex-basis:24px;align-items:center;overflow:visible}.audio-node-panel:not([data-expanded=true]) .prompt-composer-chips{margin-top:5px}.audio-node-panel .prompt-composer-chips button{height:24px;padding:0 8px;color:var(--canvas-theme-ink-muted);font-size:13px;background:var(--canvas-theme-surface-soft);border:0;border-radius:4px}.audio-node-panel .prompt-composer-chips button:focus-visible,.audio-node-panel .prompt-composer-chips button:hover{color:var(--canvas-theme-ink);background:var(--prompt-composer-selected-background);outline:none}.audio-node-panel .prompt-composer-chips button[aria-expanded=true]{color:var(--canvas-theme-ink);background:var(--prompt-composer-selected-background)}.audio-prompt-menu{position:absolute;z-index:330;width:var(--audio-prompt-menu-width)}.audio-pause-menu{border-radius:var(--canvas-popover-radius-panel)}.audio-prompt-menu-options{display:flex;flex-direction:column}.audio-pause-menu-options{width:110px;gap:2px}.audio-interjection-menu-options{width:108px;max-height:224px;gap:4px;overflow-y:auto;scrollbar-width:none}.audio-interjection-menu-options::-webkit-scrollbar{display:none}.audio-node-panel .prompt-composer-chips .audio-prompt-menu-options button,.audio-node-panel .prompt-composer-chips .audio-prompt-menu-options input{box-sizing:border-box;width:100%;height:32px;min-height:32px;flex:0 0 32px;padding:0 8px;color:var(--canvas-popover-ink);font-size:13px;font-weight:400;line-height:20px;text-align:left;background:transparent;border:0;border-radius:8px}.audio-node-panel .prompt-composer-chips .audio-prompt-menu-options button:focus-visible,.audio-node-panel .prompt-composer-chips .audio-prompt-menu-options button:hover{color:var(--canvas-popover-ink);background:var(--canvas-popover-hover);outline:none}.audio-node-panel .prompt-composer-chips .audio-prompt-menu-options button[aria-current=true]{color:#05a3c5;background:transparent}.audio-pause-custom-input{font:inherit;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;outline:none}.audio-pause-custom-input::-webkit-inner-spin-button,.audio-pause-custom-input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;appearance:none}.audio-pause-custom-input::placeholder{color:var(--canvas-popover-ink-muted)}.audio-pause-custom-input[aria-invalid=true]{color:#d83b3b}.audio-pause-tooltip{position:absolute;top:-60px;left:-67px;z-index:331;width:220px;padding:8px 10px;color:var(--canvas-popover-ink);font-size:13px;font-weight:400;line-height:18px;background:color-mix(in srgb,var(--canvas-popover-surface) 95%,transparent);border:.5px solid var(--canvas-popover-border);border-radius:8px;box-shadow:var(--canvas-popover-shadow);pointer-events:none}.audio-pause-tooltip:after{position:absolute;bottom:-5px;left:calc(50% - 5px);width:10px;height:10px;background:inherit;border-right:.5px solid var(--canvas-popover-border);border-bottom:.5px solid var(--canvas-popover-border);content:"";transform:rotate(45deg)}.audio-tool-icon{min-width:32px;width:32px;height:32px;padding:0;color:var(--canvas-theme-ink-muted);font-size:16px;font-weight:400;background:transparent;border:0;border-radius:8px;transition:color .16s ease,background-color .16s ease}.audio-tool-icon:focus-visible,.audio-tool-icon:hover,.audio-tool-icon[aria-expanded=true]{color:var(--audio-settings-accent);background:var(--canvas-theme-surface-soft,rgba(255,255,255,.12));outline:none}.audio-tool-icon svg{width:16px;height:16px}.audio-char-count{color:var(--canvas-theme-ink-soft);font-size:13px;white-space:nowrap}.audio-settings-panel{display:grid;height:min(356px,max(260px,calc(100vh - 300px)));flex:0 0 auto;align-content:start;grid-gap:6px;gap:6px;padding:10px 14px 4px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:var(--audio-settings-soft) transparent;scrollbar-width:thin;color:var(--audio-settings-ink,#141414);background:var(--audio-settings-surface,#f7f7f8);border:1px solid var(--audio-settings-border,#ebebed);border-radius:12px}.audio-settings-panel::-webkit-scrollbar{width:6px}.audio-settings-panel::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--audio-settings-soft) 58%,transparent);border-radius:999px}@media (prefers-reduced-motion:reduce){.audio-effect-segmented label,.audio-node-panel .prompt-composer-shell,.audio-node-panel.prompt-composer,.audio-settings-reveal,.audio-tool-icon,.audio-voice-button{transition:none}}.audio-settings-section{display:grid;grid-gap:3px;gap:3px;padding:0}.audio-settings-section-header{display:flex;min-height:24px;align-items:center;gap:8px;padding:0 2px}.audio-effect-options legend,.audio-settings-section-header h3{margin:0}.audio-settings-section-header h3{color:var(--audio-settings-muted,#737373);font-size:13px;font-weight:600;line-height:20px}.audio-settings-section-spacer{flex:1 1 auto}.audio-settings-reset,.audio-settings-section-toggle{display:inline-flex;height:24px;align-items:center;justify-content:center;gap:4px;padding:0 6px;color:var(--audio-settings-control-ink,#525252);font:inherit;font-size:13px;background:transparent;border:0;border-radius:6px;cursor:pointer}.audio-settings-section-toggle{width:24px;padding:0}.audio-settings-section[data-open=false] .audio-settings-section-toggle svg{transform:rotate(180deg)}.audio-settings-reset:focus-visible,.audio-settings-reset:hover,.audio-settings-section-toggle:focus-visible,.audio-settings-section-toggle:hover{color:var(--audio-settings-ink,#141414);background:var(--audio-settings-hover,rgba(0,0,0,.06));outline:none}.audio-settings-reset svg,.audio-settings-section-toggle svg{width:14px;height:14px}.audio-settings-range{display:grid;min-height:34px;grid-template-columns:minmax(120px,1fr) clamp(200px,34%,280px) 68px;align-items:center;grid-gap:14px;gap:14px;color:var(--audio-settings-ink,#141414);font-size:14px}.audio-settings-range-label{display:inline-flex;align-items:center;gap:4px;padding-left:2px;font-weight:500}.audio-settings-help{display:inline-flex;width:16px;height:16px;align-items:center;justify-content:center;color:var(--audio-settings-soft,#8a8a8a)}.audio-settings-help svg{width:14px;height:14px}.audio-settings-range input[type=range]{width:100%;height:16px;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;cursor:pointer}.audio-settings-range input[type=range]::-webkit-slider-runnable-track{height:4px;background:linear-gradient(to right,var(--audio-settings-accent,#238fe5) 0 var(--audio-range-progress),var(--audio-settings-track,#dfe3e7) var(--audio-range-progress) 100%);border-radius:999px}.audio-settings-range input[type=range]::-webkit-slider-thumb{width:16px;height:16px;margin-top:-6px;-webkit-appearance:none;appearance:none;background:var(--audio-settings-thumb,#ffffff);border:1px solid var(--audio-settings-thumb-border,#8f8f8f);border-radius:50%;box-shadow:0 1px 3px rgba(0,0,0,.16)}.audio-settings-range input[type=range]::-moz-range-track{height:4px;background:var(--audio-settings-track,#dfe3e7);border:0;border-radius:999px}.audio-settings-range input[type=range]::-moz-range-progress{height:4px;background:var(--audio-settings-accent,#238fe5);border-radius:999px}.audio-settings-range input[type=range]::-moz-range-thumb{width:16px;height:16px;background:var(--audio-settings-thumb,#ffffff);border:1px solid var(--audio-settings-thumb-border,#8f8f8f);border-radius:50%;box-shadow:0 1px 3px rgba(0,0,0,.16)}.audio-settings-range input[type=range]:focus-visible{outline:2px solid var(--audio-settings-focus,#737373);outline-offset:3px}.audio-settings-range output{display:grid;width:68px;height:32px;place-items:center;color:var(--audio-settings-ink,#141414);font-size:14px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;background:var(--audio-settings-control-surface,#ededee);border:1px solid var(--audio-settings-control-border,#e7e7e8);border-radius:10px}.audio-effect-options{display:grid;grid-gap:4px;gap:4px;min-width:0;margin:1px 0 0;padding:0;border:0}.audio-effect-options legend{color:var(--audio-settings-ink,#141414);font-size:14px;font-weight:500}.audio-effect-segmented{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:4px;gap:4px;padding:3px;background:var(--audio-settings-segmented-surface,#e9e9ea);border:1px solid var(--audio-settings-segmented-border,#e3e3e4);border-radius:11px}.audio-effect-segmented label{position:relative;display:grid;height:32px;place-items:center;color:var(--audio-settings-control-ink,#525252);font-size:13px;border-radius:8px;cursor:pointer;transition:color .12s ease,background-color .12s ease,box-shadow .12s ease}.audio-effect-segmented label:hover{color:var(--audio-settings-ink,#141414);background:var(--audio-settings-segmented-hover,rgba(255,255,255,.54))}.audio-effect-segmented label[data-selected=true]{color:var(--audio-settings-ink,#141414);background:var(--audio-settings-selected-surface,#ffffff);box-shadow:var(
    --audio-settings-selected-shadow,0 1px 2px rgba(0,0,0,.1),0 0 0 1px rgba(0,0,0,.04)
  )}.audio-effect-segmented input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%)}.audio-effect-segmented input:focus-visible+span{outline:2px solid var(--audio-settings-focus,#737373);outline-offset:4px}.audio-voice-dialog-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:36px;box-sizing:border-box;background:rgba(0,0,0,.74)}.audio-voice-dialog{display:flex;width:min(800px,calc(100vw - 48px));height:min(616px,calc(100vh - 48px));max-height:min(616px,calc(100vh - 48px));flex-direction:column;overflow:hidden;color:var(--canvas-theme-ink,var(--cbi-text,#141414));background:var(--canvas-theme-surface,var(--cbi-surface-elevated,#ffffff));border:.5px solid var(--canvas-theme-border,var(--cbi-border,#e5e6ec));border-radius:16px;box-shadow:0 20px 48px rgba(0,0,0,.22);outline:none}.audio-voice-dialog-controls,.audio-voice-dialog-header,.audio-voice-pagination{display:flex;align-items:center}.audio-voice-dialog-header{height:56px;flex:0 0 56px;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--canvas-theme-border,var(--cbi-border,#f0f0f0))}.audio-voice-dialog-header h2{margin:0;font-size:15px;font-weight:600;line-height:22px}.audio-voice-dialog-header button,.audio-voice-icon-button{display:grid;width:34px;height:34px;place-items:center;color:var(--canvas-theme-ink-muted,var(--cbi-text-muted,#525252));background:transparent;border:0;border-radius:8px}.audio-voice-dialog-header button:focus-visible,.audio-voice-dialog-header button:hover,.audio-voice-icon-button:focus-visible:not(:disabled),.audio-voice-icon-button:hover:not(:disabled){color:var(--canvas-theme-ink,var(--cbi-text,#141414));background:var(--canvas-theme-surface-soft,var(--cbi-control-hover,rgba(0,0,0,.05)));outline:none}.audio-voice-dialog svg{width:18px;height:18px;overflow:visible;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.audio-voice-dialog-controls{gap:10px;padding:16px}.audio-voice-tabs{display:inline-flex;height:40px;flex:0 0 auto;align-items:center;padding:4px;background:var(--canvas-theme-surface-soft,var(--cbi-surface-soft,rgba(0,0,0,.04)));border-radius:8px}.audio-voice-clone,.audio-voice-filter,.audio-voice-page-size,.audio-voice-pagination button,.audio-voice-select,.audio-voice-tabs button{border:0;border-radius:10px;font:inherit}.audio-voice-tabs button{height:32px;padding:0 12px;color:var(--canvas-theme-ink-muted,var(--cbi-text-muted,#737373));background:transparent}.audio-voice-tabs button[data-active=true]{color:var(--canvas-theme-ink,var(--cbi-text,#141414));background:var(--canvas-theme-surface-strong,var(--cbi-control-active,rgba(0,0,0,.08)))}.audio-voice-clone,.audio-voice-filter{display:inline-flex;height:40px;align-items:center;gap:6px;padding:0 14px;white-space:nowrap;color:var(--canvas-theme-ink-muted,var(--cbi-text-muted,#525252));background:var(--canvas-theme-surface-soft,var(--cbi-surface-soft,rgba(0,0,0,.04)))}.audio-voice-clone{margin-left:auto;color:#1698ba;background:rgba(20,200,238,.1)}.audio-voice-filter{color:#525252}.audio-voice-search{display:inline-flex;height:40px;min-width:210px;flex:1 1 auto;align-items:center;gap:8px;padding:0 12px;color:var(--canvas-theme-ink-muted,var(--cbi-text-muted,#737373));background:var(--canvas-theme-surface-soft,var(--cbi-surface-soft,rgba(0,0,0,.04)));border-radius:8px}.audio-voice-search input{min-width:0;flex:1 1 auto;color:var(--canvas-theme-ink,var(--cbi-text,#141414));font:inherit;background:transparent;border:0;outline:0}.audio-voice-search input::placeholder{color:var(--canvas-theme-ink-soft,var(--cbi-text-soft,#919191))}.audio-voice-filters{display:flex;flex-wrap:wrap;gap:16px;margin:0 16px 12px;padding:12px;background:var(--canvas-theme-surface-soft,var(--cbi-surface-soft,rgba(0,0,0,.035)));border-radius:8px}.audio-voice-filters fieldset{display:flex;min-width:0;flex:1 1 280px;flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:0;border:0}.audio-voice-filters legend{float:left;margin-right:8px;font-size:13px}.audio-voice-filters label,.audio-voice-filters legend{color:var(--canvas-theme-ink-muted,var(--cbi-text-muted,#525252))}.audio-voice-filters label{display:inline-flex;align-items:center;gap:4px;font-size:12px}.audio-voice-filters input{accent-color:var(--canvas-theme-ink,var(--cbi-text,#141414))}.audio-voice-list{display:grid;min-height:0;flex:1 1 auto;align-content:start;grid-gap:6px;gap:6px;padding:0 16px 16px;overflow-y:auto;scrollbar-gutter:stable}.audio-voice-row{display:grid;min-height:64px;grid-template-columns:40px minmax(150px,1fr) auto auto 34px 34px;align-items:center;grid-gap:10px;gap:10px;padding:8px 12px;color:inherit;font:inherit;text-align:left;background:var(--canvas-theme-surface-soft,var(--cbi-surface-soft,rgba(0,0,0,.04)));border:0;border-radius:12px;cursor:default;outline:none}.audio-voice-row:focus-visible,.audio-voice-row:hover{background:var(--cbi-control-hover,rgba(0,0,0,.06))}.audio-voice-row[data-selected=true]{background:var(--cbi-control-active,rgba(0,0,0,.08));cursor:default;opacity:1}.audio-voice-row-icon{display:grid;width:40px;height:40px;place-items:center;color:var(--canvas-theme-ink-muted,var(--cbi-text-muted,#525252));background:var(--canvas-theme-surface-muted,var(--cbi-surface-muted,rgba(0,0,0,.05)));border:0;border-radius:8px}.audio-voice-row strong{min-width:0;overflow:hidden;font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.audio-voice-tags{min-width:108px;color:var(--canvas-theme-ink-muted,var(--cbi-text-muted,#737373));font-size:12px;white-space:pre}.audio-voice-select{display:inline-grid;height:34px;min-width:68px;place-items:center;padding:0 16px;color:var(--cbi-text-inverse,#ffffff);font-size:13px;font-weight:500;background:var(--cbi-text,#141414);border-radius:999px}.audio-voice-row[data-selected=true] .audio-voice-select{color:var(--canvas-theme-ink-muted,var(--cbi-text-muted,#737373));background:var(--cbi-control-active,rgba(0,0,0,.08))}.audio-voice-dialog button:disabled{cursor:default;opacity:.38}.audio-voice-more{display:grid;width:34px;height:34px;place-items:center;color:var(--canvas-theme-ink-muted,var(--cbi-text-muted,#525252))}.audio-voice-empty{margin:40px 0;color:var(--canvas-theme-ink-soft,var(--cbi-text-soft,#919191));text-align:center}.audio-voice-pagination{height:52px;gap:8px;padding:0 16px;flex:0 0 52px;color:var(--canvas-theme-ink-muted,var(--cbi-text-muted,#737373));border-top:1px solid var(--canvas-theme-border,var(--cbi-border,#f0f0f0))}.audio-voice-page-size,.audio-voice-pagination button,.audio-voice-pagination-ellipsis{display:inline-grid;min-width:28px;height:28px;place-items:center;padding:0 9px;color:inherit;background:transparent}.audio-voice-pagination-ellipsis{color:#737373}.audio-voice-page-size,.audio-voice-pagination button[data-active=true]{color:var(--canvas-theme-ink,var(--cbi-text,#141414));background:var(--canvas-theme-surface-soft,var(--cbi-surface-soft,rgba(0,0,0,.06)))}.audio-voice-dialog button:focus-visible{outline:2px solid var(--canvas-theme-neutral-focus-border,var(--cbi-focus-border,#737373));outline-offset:2px}.audio-voice-page-jump{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.audio-voice-page-jump input{width:40px;height:28px;padding:0 4px;color:var(--canvas-theme-ink-muted,var(--cbi-text-muted,#525252));font:inherit;text-align:center;background:var(--canvas-theme-surface-soft,var(--cbi-surface-soft,rgba(0,0,0,.06)));border:0;border-radius:8px;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.audio-voice-page-jump input::-webkit-inner-spin-button,.audio-voice-page-jump input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;appearance:none}.audio-voice-page-jump input:focus-visible{outline:2px solid var(--canvas-theme-neutral-focus-border,var(--cbi-focus-border,#737373));outline-offset:1px}.audio-voice-pagination>span:last-child{margin-left:auto}.editor-body{display:grid;place-items:center;background:radial-gradient(circle at 50% 88%,rgba(255,255,255,.05),transparent 42%),var(--node-surface)}.empty-image-icon{width:44px;height:44px;margin-top:-10px;fill:none;stroke:rgba(255,255,255,.26);stroke-linecap:round;stroke-linejoin:round;stroke-width:3}.node-action-chip{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:3px 14px;color:rgba(255,255,255,.82);font-size:15px;font-weight:800;background:var(--node-chip);border:0;border-radius:999px;cursor:pointer}.editor-body .node-action-chip{margin-top:-28px}.script-body{display:grid;width:100%;height:100%;align-content:center;justify-items:center;grid-gap:18px;gap:18px;padding:24px;text-align:center;background:radial-gradient(circle at 50% 80%,rgba(255,255,255,.06),transparent 46%),linear-gradient(180deg,rgba(255,255,255,.045),transparent 58%),var(--node-surface)}.script-body-generating{align-content:start;isolation:isolate}.script-body-generating:after{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,transparent 20%,color-mix(in srgb,var(--canvas-theme-ink,#ffffff) 2%,transparent) 34%,color-mix(in srgb,var(--canvas-theme-ink,#ffffff) 10%,transparent) 50%,color-mix(in srgb,var(--canvas-theme-ink,#ffffff) 2%,transparent) 66%,transparent 80%);content:"";pointer-events:none;transform:translate3d(-100%,0,0);will-change:transform;animation:script-generation-shimmer 2.2s linear infinite}.script-body-generating .node-generation-overlay[data-generation-state=finishing],.script-body-generating .node-generation-overlay[data-generation-state=queued],.script-body-generating .node-generation-overlay[data-generation-state=running]{align-items:flex-end;padding:12px}.script-body-generating .node-generation-status-bar[data-generation-state=finishing],.script-body-generating .node-generation-status-bar[data-generation-state=queued],.script-body-generating .node-generation-status-bar[data-generation-state=running]{grid-template-columns:minmax(0,1fr) auto}.script-body-generating .node-generation-progress,.script-body-generating .node-generation-status-bar>.generation-status-icon{display:none}@keyframes script-generation-shimmer{to{transform:translate3d(100%,0,0)}}@media (prefers-reduced-motion:reduce){.script-body-generating:after{display:none;animation:none}}.script-glyph{width:58px;height:58px;fill:none;stroke:var(--canvas-theme-ink-muted,rgba(255,255,255,.28));stroke-linecap:round;stroke-width:4}.script-model-button{color:rgba(255,255,255,.92);font-size:18px;background:transparent;border:0}.script-generator-spacer{flex:1 1 auto}.script-skeleton-grid{display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:14px;gap:14px}.script-skeleton-grid span{height:26px;background:linear-gradient(100deg,rgba(255,255,255,.08),rgba(255,255,255,.18),rgba(255,255,255,.08));border-radius:6px}.script-card-steps{display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px}.script-card-steps span{display:grid;min-width:0;grid-gap:8px;gap:8px;justify-items:center;color:var(--canvas-theme-ink-muted,rgba(255,255,255,.34));font-size:18px}.script-card-steps span.is-complete,.script-card-steps span.is-current{color:var(--canvas-theme-ink,rgba(255,255,255,.9))}.script-card-steps small{max-width:100%;overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.script-open-button{width:min(260px,100%);height:42px;color:var(--canvas-theme-ink,rgba(255,255,255,.9));font-size:16px;font-weight:700;background:var(--canvas-theme-surface-soft,rgba(255,255,255,.12));border:0;border-radius:7px}.script-action-bar{position:absolute;bottom:calc(100% + 18px);left:50%;z-index:28;display:flex;align-items:center;gap:4px;min-height:46px;padding:4px;color:rgba(255,255,255,.88);background:rgba(34,34,34,.98);border:1px solid rgba(255,255,255,.08);border-radius:14px;box-shadow:0 14px 36px rgba(0,0,0,.42);transform:translateX(-50%)}.script-action-bar button{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 12px;color:rgba(255,255,255,.9);font-size:14px;white-space:nowrap;background:transparent;border:0;border-radius:10px}.script-action-bar button:disabled{color:rgba(255,255,255,.28)}.script-action-bar button:not(:disabled):hover{background:rgba(255,255,255,.08)}.script-action-plan-status{display:inline-flex;align-items:center;gap:5px;padding:0 8px;font-size:12px;white-space:nowrap;color:rgba(255,255,255,.62)}.script-action-plan-status[data-state=current]{color:#86efac}.script-action-plan-status[data-state=invalid],.script-action-plan-status[data-state=stale]{color:#fbbf24}.script-action-bar button span{font-size:18px;line-height:1}.script-action-tooltip-anchor{position:relative;display:inline-flex}.script-action-tooltip-anchor>button:disabled{pointer-events:none}.script-action-tooltip-anchor .script-action-tooltip{position:absolute;bottom:calc(100% + 12px);left:50%;z-index:1;width:max-content;max-width:min(320px,calc(100vw - 32px));padding:8px 12px;color:#242424;font-size:12px;font-weight:400;line-height:18px;white-space:normal;background:rgba(255,255,255,.98);border-radius:10px;transform:translate(-50%,4px)}.script-action-tooltip-anchor .script-action-tooltip[data-state=open]{transform:translate(-50%)}.script-action-tooltip .cbi-tooltip-content>span{display:block}.script-action-status{max-width:180px;overflow:hidden;color:var(--canvas-theme-ink-muted,#737373);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.script-action-divider{width:1px;height:24px;margin:0 2px;background:rgba(255,255,255,.1)}.script-reproduction-progress{position:absolute;top:calc(100% + 10px);left:0;z-index:24;width:100%;padding:10px 12px;color:var(--canvas-theme-ink,rgba(255,255,255,.9));font-size:11px;background:var(--canvas-theme-surface,rgba(28,28,28,.98));border:1px solid var(--canvas-theme-border,rgba(255,255,255,.12));border-radius:10px;box-shadow:0 10px 24px rgba(0,0,0,.28)}.script-reproduction-shots li,.script-reproduction-summary{display:flex;align-items:center;justify-content:space-between;gap:8px}.script-reproduction-summary{color:var(--canvas-theme-ink-muted,rgba(255,255,255,.62))}.script-reproduction-results{display:grid;grid-gap:8px;gap:8px;margin-top:8px}.script-reproduction-result{display:grid;grid-gap:6px;gap:6px;padding-top:8px;border-top:1px solid var(--canvas-theme-border,rgba(255,255,255,.12))}.script-reproduction-quality-finding>div,.script-reproduction-quality-heading,.script-reproduction-result-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.script-reproduction-quality-findings,.script-reproduction-quality-gates{display:grid;grid-gap:6px;gap:6px;margin:0;padding:0;list-style:none}.script-reproduction-quality-gates>li{display:grid;grid-gap:5px;gap:5px}.script-reproduction-quality-heading{min-height:24px;flex-wrap:wrap;color:var(--canvas-theme-ink-muted,rgba(255,255,255,.62))}.script-reproduction-quality-retry{min-width:68px;height:24px;padding:0 8px;color:inherit;font:inherit;cursor:pointer;background:var(--canvas-theme-surface-soft,rgba(255,255,255,.08));border:1px solid var(--canvas-theme-border,rgba(255,255,255,.14));border-radius:6px}.script-reproduction-quality-retry:disabled{cursor:default;opacity:.55}.script-reproduction-quality-finding{display:grid;grid-gap:3px;gap:3px;padding:6px 8px;background:var(--canvas-theme-surface-soft,rgba(255,255,255,.06));border-left:3px solid #fbbf24;border-radius:4px}.script-reproduction-quality-finding.is-blocking{border-left-color:#f87171}.script-reproduction-quality-finding p{margin:0;overflow-wrap:anywhere;color:var(--canvas-theme-ink-muted,rgba(255,255,255,.62))}.script-reproduction-shots{display:grid;grid-gap:6px;gap:6px;margin:8px 0 0;padding:0;list-style:none}.script-reproduction-shots li{min-height:26px;flex-wrap:wrap}.script-reproduction-shots select{min-width:72px}.script-reproduction-shot-action,.script-reproduction-shots select{height:24px;color:inherit;font:inherit;background:var(--canvas-theme-surface-soft,rgba(255,255,255,.08));border:1px solid var(--canvas-theme-border,rgba(255,255,255,.14));border-radius:6px}.script-reproduction-shot-action{min-width:68px;padding:0 8px;cursor:pointer}.script-reproduction-shot-action:disabled{cursor:default;opacity:.55}.script-reproduction-error{margin:6px 0 0;color:#fca5a5}.video-reproduction-asset-workspace{display:grid;min-height:0;align-content:start;grid-gap:16px;gap:16px;padding:24px;overflow:auto;background:var(--script-theme-surface,#ffffff)}.script-replication-customization{min-width:0;margin-top:8px}.script-replication-asset-stage{display:contents}.script-replication-customization-stage{grid-row:2/-1;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;min-height:0;min-width:0;overflow:hidden;background:var(--script-theme-surface,#fff)}.script-replication-category-tabs{display:flex;gap:10px;width:min(1120px,calc(100% - 48px));margin:24px auto 0;padding:0}.script-replication-category-tabs button{display:flex;align-items:center;justify-content:center;gap:10px;flex:0 1 144px;min-height:44px;padding:10px 20px;border:1px solid var(--script-theme-border,#e5e6ec);border-radius:8px;background:transparent;color:var(--script-theme-muted,#919191);font:inherit;font-size:14px;font-weight:500;cursor:pointer}:root .script-shot-page .script-replication-category-tabs button[aria-selected=true]{color:var(--cbi-text-inverse,#fff);background:var(--cbi-text,#171717);border-color:transparent;box-shadow:0 2px 6px rgb(0 0 0/8%)}:root .script-shot-page .script-replication-category-tabs button[aria-selected=true] span{color:inherit;background:color-mix(in srgb,currentColor 10%,transparent);opacity:1}.script-replication-category-tabs button:hover{background:var(--script-theme-surface-soft,#f7f7f8)}.script-replication-category-tabs button:focus-visible{outline:2px solid var(--cbi-focus-border,#919191);outline-offset:2px}.script-replication-category-tabs span{display:grid;min-width:22px;height:22px;padding:0 5px;place-items:center;border-radius:6px;background:var(--script-theme-surface-soft,#f7f7f8);opacity:.7;font-size:11px}.script-replication-customization-dock{min-width:0;padding:16px max(24px,calc((100% - 1120px) / 2)) 12px;background:var(--script-theme-surface,#fff)}.script-replication-customization-dock .script-replication-customization{margin-top:0}.script-replication-customization-dock .script-replication-customization textarea{height:90px;min-height:64px;max-height:20vh;resize:none}.script-replication-customization-stage .script-asset-section>h2{display:none}.script-replication-customization-stage .video-reproduction-asset-workspace{padding:24px max(24px,calc((100% - 1120px) / 2));background:var(--script-theme-surface,#fff);scrollbar-gutter:auto}.script-replication-customization-stage .video-reproduction-asset-sections .script-asset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:20px;gap:20px}.script-replication-customization-stage .video-reproduction-asset-item{padding:0;background:transparent}.script-replication-customization-stage .video-reproduction-asset-comparison{padding:18px;border-radius:12px;background:var(--script-theme-surface-soft,#f7f7f8)}.script-replication-customization-stage .video-reproduction-asset-panel-media{min-height:100px;max-height:170px}.script-replication-customization-stage .video-reproduction-asset-details{min-height:68px}.script-replication-customization-stage .script-panel-footer{padding-inline:max(24px,calc((100% - 1120px) / 2))}@media (max-width:800px){.script-replication-customization-stage .video-reproduction-asset-sections .script-asset-grid{grid-template-columns:minmax(0,1fr)}.script-replication-category-tabs{margin-top:16px}.script-replication-category-tabs button{padding-inline:8px;gap:6px}}.script-replication-customization-composer{padding:20px;border:1px solid var(--script-theme-border,#e5e6ec);border-radius:16px;background:var(--script-theme-surface-soft,#f7f7f8)}.script-replication-customization-composer:focus-within{border-color:var(--cbi-focus-border,#919191)}.script-replication-customization textarea{display:block;width:100%;min-height:120px;resize:vertical;border:0;outline:0;background:transparent;color:var(--script-theme-ink,#171717);font:inherit;font-size:14px;line-height:1.7}.script-replication-customization textarea::placeholder{color:var(--script-theme-muted,#919191)}.script-replication-customization-language,.script-replication-customization-options,.script-replication-customization-options label,.script-replication-customization-toolbar{display:flex;align-items:center;gap:8px}.script-replication-customization-toolbar{flex-wrap:wrap;justify-content:space-between;margin-top:16px;gap:12px}.script-replication-customization-options{flex-wrap:wrap;gap:16px;color:var(--script-theme-ink,#171717);font-size:12px}.script-replication-customization-language{flex-wrap:wrap}.script-replication-customization-options select{max-width:190px;min-height:32px;padding:0 4px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;cursor:pointer}.script-replication-customization-options option{color:var(--script-theme-ink,#171717);background:var(--script-theme-surface,#fff)}.script-replication-customization-submit{min-height:36px;margin-left:auto;padding:0 20px;border:0;border-radius:8px;color:var(--cbi-text-inverse,#fff);background:var(--cbi-text,#171717);font:inherit;font-size:13px;font-weight:500}.script-replication-customization-submit:disabled{color:var(--cbi-text-soft,#737373);background:var(--cbi-surface-muted,#ededed);cursor:not-allowed}.script-replication-customization-status{margin:8px 0 0;color:var(--script-theme-muted,#919191);font-size:12px}.video-reproduction-assets-empty{padding:20px;background:var(--script-theme-surface-soft,#f7f7f8);border:1px solid var(--script-theme-border,#e5e6ec);border-radius:8px}.video-reproduction-asset-sections{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:24px;gap:24px}.video-reproduction-asset-sections .script-asset-section{margin:0}.video-reproduction-asset-item{position:relative;width:100%;min-width:0;color:var(--script-theme-ink,#171717)}.video-reproduction-asset-sections .script-asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));grid-gap:16px;gap:16px}.video-reproduction-provided-assets{padding-bottom:20px;border-bottom:1px solid var(--script-theme-border,#e5e6ec)}.video-reproduction-provided-assets h2{margin:0 0 12px;font-size:13px;font-weight:500}.video-reproduction-input-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,160px));grid-gap:12px;gap:12px}.video-reproduction-input-grid figure{min-width:0;margin:0}.video-reproduction-input-preview{display:block;width:100%;aspect-ratio:1;overflow:hidden;background:var(--script-theme-surface-soft,#f7f7f8);border:1px solid var(--script-theme-border,#e5e6ec);border-radius:6px}.video-reproduction-input-preview img{display:block;width:100%;height:100%;object-fit:contain}.video-reproduction-input-preview>.video-reproduction-asset-placeholder{height:100%}.video-reproduction-input-grid figcaption{margin-top:6px;font-size:12px;overflow-wrap:anywhere}.video-reproduction-asset-comparison{display:grid;width:100%;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);grid-template-rows:auto auto auto;grid-gap:8px;gap:8px;padding:12px;background:var(--script-theme-surface,#ffffff);border:1px solid var(--script-theme-border,#e5e6ec);border-radius:8px}.video-reproduction-asset-disposition{color:var(--script-theme-ink,#171717)}.video-reproduction-asset-comparison>section,.video-reproduction-asset-target{display:grid;min-width:0;grid-row:1/4;grid-template-rows:subgrid;background:transparent;border-radius:4px}.video-reproduction-asset-source{grid-column:1}.video-reproduction-asset-disposition,.video-reproduction-asset-target{grid-column:3}.video-reproduction-asset-target{padding:0;color:inherit;text-align:left;border:0}button.video-reproduction-asset-target{cursor:pointer}.video-reproduction-asset-target.is-empty .video-reproduction-asset-panel-media{border:1px dashed var(--script-theme-border,#e5e6ec)}.video-reproduction-asset-source-change:enabled:hover,button.video-reproduction-asset-target:enabled:hover .video-reproduction-asset-action{color:var(--canvas-theme-accent,#2563eb);border-color:var(--canvas-theme-accent,#2563eb)}.video-reproduction-asset-source-change:focus-visible,button.video-reproduction-asset-target:focus-visible{outline:2px solid var(--canvas-theme-accent,#2563eb);outline-offset:4px}.video-reproduction-asset-remove:disabled,.video-reproduction-asset-source-change:disabled,button.video-reproduction-asset-target:disabled{cursor:wait;opacity:.55}.video-reproduction-asset-panel-label{display:flex;min-height:28px;align-items:center;color:var(--script-theme-muted,#737373);font-size:11px;line-height:16px;overflow-wrap:anywhere}button.video-reproduction-asset-target:not(.is-empty)>.video-reproduction-asset-panel-label{padding-right:30px}.video-reproduction-asset-panel-media{width:100%;min-width:0;min-height:120px;aspect-ratio:4/3;overflow:hidden;background:var(--script-theme-surface-soft,#f7f7f8);border-radius:6px}.video-reproduction-asset-panel-media>.video-reproduction-asset-placeholder,.video-reproduction-asset-panel-media>img{display:flex;width:100%;height:100%;object-fit:contain}.video-reproduction-asset-placeholder{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:12px 8px;color:var(--script-theme-muted,#737373);font-size:12px;line-height:18px;text-align:center}.video-reproduction-asset-details{display:flex;min-width:0;min-height:100px;flex-direction:column;gap:6px;text-align:left}.video-reproduction-asset-details-heading{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:4px}.video-reproduction-asset-details-heading>strong,.video-reproduction-asset-details>p{width:100%;margin:0;overflow-wrap:anywhere}.video-reproduction-asset-details-heading>strong{display:-webkit-box;min-width:0;overflow:hidden;color:var(--script-theme-ink,#171717);font-size:13px;font-weight:600;line-height:18px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.video-reproduction-asset-status{max-width:100%;color:var(--script-theme-muted,#737373);font-size:11px;line-height:17px;overflow-wrap:anywhere}.video-reproduction-asset-target:not(.is-empty) .video-reproduction-asset-status{color:var(--cbi-success,#22c55e)}.video-reproduction-asset-disposition.is-preserved .video-reproduction-asset-details{grid-row:2;min-height:0;align-self:center}.video-reproduction-asset-details>p{display:-webkit-box;overflow:hidden;color:var(--script-theme-muted,#737373);font-size:12px;line-height:17px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.video-reproduction-asset-action{display:flex;width:100%;min-height:30px;margin-top:auto;flex:none;align-items:center;justify-content:center;gap:6px;padding:5px 8px;color:var(--script-theme-ink,#171717);font-size:11px;line-height:16px;overflow-wrap:anywhere;background:var(--script-theme-surface-soft,#f7f7f8);border:1px solid var(--script-theme-border,#e5e6ec);border-radius:5px;text-align:center}.video-reproduction-asset-action>svg{flex:none}.video-reproduction-asset-action>span{min-width:0}.video-reproduction-asset-source-change{grid-row:3;align-self:end;cursor:pointer}.video-reproduction-asset-arrow{display:grid;grid-column:2;grid-row:2;align-self:center;width:24px;height:24px;place-items:center;color:var(--script-theme-muted,#737373)}.video-reproduction-asset-remove{position:absolute;top:13px;right:13px;display:grid;width:28px;height:28px;place-items:center;padding:0;color:var(--script-theme-muted,#737373);background:transparent;border:0;border-radius:4px;cursor:pointer}.video-reproduction-asset-remove:enabled:hover{color:var(--script-theme-ink,#171717);background:var(--script-theme-surface-soft,#f7f7f8)}.video-reproduction-asset-remove:focus-visible{outline:2px solid var(--canvas-theme-accent,#2563eb);outline-offset:2px}.video-reproduction-asset-picker header button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 32px;padding:0;color:var(--script-theme-muted,#737373);background:transparent;border:0;border-radius:6px}.video-reproduction-asset-picker header button:enabled:hover{color:var(--script-theme-ink,#171717);background:var(--script-theme-surface-soft,#f7f7f8)}@media (max-width:600px){.video-reproduction-asset-workspace{padding:16px 12px}}.video-reproduction-asset-picker-backdrop{position:fixed;z-index:1200;inset:0;display:grid;place-items:center;padding:24px;background:rgb(0 0 0/45%)}.video-reproduction-asset-picker{display:flex;flex-direction:column;gap:20px;width:min(760px,100%);min-width:0;max-height:min(76dvh,calc(100dvh - 48px));padding:24px;overflow:hidden;color:var(--script-theme-ink,#171717);background:var(--script-theme-surface,#ffffff);border:1px solid var(--script-theme-border,#e5e6ec);border-radius:8px;box-shadow:0 18px 60px rgb(0 0 0/24%)}.video-reproduction-asset-picker>header,.video-reproduction-asset-picker>nav{display:flex;align-items:center;justify-content:space-between;gap:8px}.video-reproduction-asset-picker>nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:4px;gap:4px;padding:4px;background:var(--script-theme-surface-soft,#f7f7f8);border-radius:8px}.video-reproduction-asset-picker-feedback,.video-reproduction-asset-picker>header,.video-reproduction-asset-picker>nav{flex:none}.video-reproduction-asset-picker>header>strong{display:-webkit-box;min-width:0;overflow:hidden;font-size:16px;font-weight:600;line-height:24px;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:3}.video-reproduction-asset-picker>nav button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:38px;height:100%;padding:7px 8px;color:var(--script-theme-muted,#737373);font-size:12px;font-weight:500;line-height:18px;overflow-wrap:anywhere;border:1px solid transparent;border-radius:6px;background:transparent;transition:background-color .12s ease,color .12s ease,border-color .12s ease}.video-reproduction-asset-picker>nav button>svg{flex:none}.video-reproduction-asset-picker>nav button>span{min-width:0}.video-reproduction-asset-picker>nav button:enabled:hover{color:var(--script-theme-ink,#171717)}:root[data-cbi-theme=dark] .video-reproduction-asset-picker>nav button[aria-selected=false]:not(:hover){color:var(--script-theme-muted,#737373)}.video-reproduction-asset-picker>nav button[aria-selected=true]{color:var(--script-theme-ink,#171717);background:var(--script-theme-surface,#ffffff);border-color:var(--script-theme-border,#e5e6ec);box-shadow:0 1px 3px rgb(0 0 0/8%)}.video-reproduction-asset-picker-content{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain}.video-reproduction-asset-picker-feedback{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.video-reproduction-asset-picker-feedback:empty{display:none}.video-reproduction-asset-picker-feedback>p{width:100%;margin:0;font-size:12px;line-height:18px;overflow-wrap:anywhere}.video-reproduction-asset-picker-feedback>button{max-width:100%;padding:7px 12px;color:inherit;font-size:12px;line-height:18px;overflow-wrap:anywhere;background:var(--script-theme-surface-soft,#f7f7f8);border:1px solid var(--script-theme-border,#e5e6ec);border-radius:6px}.video-reproduction-asset-picker button:focus-visible{outline:2px solid var(--script-theme-muted,#737373);outline-offset:-2px}.video-reproduction-asset-picker button:enabled{cursor:pointer}.video-reproduction-asset-picker button:disabled{cursor:wait;opacity:.55}.video-reproduction-asset-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,140px),1fr));grid-gap:16px 12px;gap:16px 12px}.video-reproduction-asset-picker-grid button{display:flex;flex-direction:column;min-width:0;gap:8px;padding:5px;color:inherit;text-align:left;border:1px solid transparent;border-radius:8px;background:transparent;transition:background-color .12s ease,border-color .12s ease}.video-reproduction-asset-picker-grid button:enabled:hover{background:var(--script-theme-surface-soft,#f7f7f8);border-color:var(--script-theme-border,#e5e6ec)}.video-reproduction-asset-picker-grid button[aria-pressed=true]{background:var(--script-theme-surface-soft,#f7f7f8);border-color:var(--script-theme-muted,#737373)}.video-reproduction-asset-picker-preview{position:relative;display:grid;flex:none;width:100%;min-width:0;aspect-ratio:1;overflow:hidden;place-items:center;background:var(--script-theme-surface-soft,#f7f7f8);border-radius:5px}.video-reproduction-asset-picker-grid .video-reproduction-asset-placeholder,.video-reproduction-asset-picker-grid img{position:absolute;inset:0;width:100%;height:100%;min-height:0;object-fit:contain}.video-reproduction-asset-picker-selected{position:absolute;top:8px;right:8px;display:grid;width:22px;height:22px;place-items:center;background:var(--script-theme-ink,#171717);border:2px solid var(--script-theme-surface,#ffffff);border-radius:50%}.video-reproduction-asset-picker-selected>svg{color:var(--script-theme-surface,#ffffff)}.video-reproduction-asset-picker-grid button>span:last-child{display:-webkit-box;min-width:0;height:36px;padding:0 4px;overflow:hidden;font-size:12px;line-height:18px;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.video-reproduction-asset-upload{display:grid;min-height:220px}.video-reproduction-asset-upload>button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-width:0;padding:24px;color:var(--script-theme-muted,#737373);font-size:13px;line-height:20px;overflow-wrap:anywhere;background:var(--script-theme-surface-soft,#f7f7f8);border:1px dashed var(--script-theme-border,#e5e6ec);border-radius:8px}.video-reproduction-asset-upload>button:enabled:hover{color:var(--script-theme-ink,#171717);border-color:var(--script-theme-muted,#737373)}.video-reproduction-asset-picker-empty{display:flex;grid-column:1/-1;min-height:220px;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:24px;color:var(--script-theme-muted,#737373);text-align:center}.video-reproduction-asset-picker-empty>p{margin:0;font-size:13px;line-height:20px;overflow-wrap:anywhere}@media (max-width:600px){.video-reproduction-asset-picker-backdrop{padding:12px}.video-reproduction-asset-picker{gap:16px;max-height:calc(100dvh - 24px);padding:16px}.video-reproduction-asset-picker>nav button{flex-direction:column;justify-content:flex-start;gap:4px;padding:6px 4px}.video-reproduction-asset-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.video-edit-plan__trigger{flex:0 0 auto}.video-edit-plan{display:grid;min-height:0;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-rows:minmax(0,1fr) auto auto auto auto;grid-gap:10px 14px;gap:10px 14px;padding:12px;overflow:hidden;color:var(--canvas-theme-ink,rgba(255,255,255,.9));font-size:12px}.video-edit-plan__conversation{display:grid;grid-column:1;grid-row:1;align-content:start;grid-gap:6px;gap:6px;min-height:0;overflow:auto}.video-edit-plan__message{display:grid;max-width:86%;grid-gap:3px;gap:3px;padding:7px 9px;background:var(--canvas-theme-surface-soft,rgba(255,255,255,.07));border-left:2px solid var(--canvas-theme-border,rgba(255,255,255,.16))}.video-edit-plan__message.is-user{justify-self:end;border-left-color:#4f9cf9}.video-edit-plan__message small,.video-edit-plan__operation small{color:var(--canvas-theme-ink-muted,rgba(255,255,255,.58));font-size:10px}.video-edit-plan__review{display:grid;grid-column:2;grid-row:1/5;min-height:0;grid-gap:7px;gap:7px;padding-left:14px;overflow:auto;border-left:1px solid var(--canvas-theme-border,rgba(255,255,255,.12))}.video-edit-plan__attachment-list>span,.video-edit-plan__operation>div,.video-edit-plan__policies>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.video-edit-plan__status{color:#d6d3d1;font-size:10px}.video-edit-plan__status.is-confirmed,.video-edit-plan__status.is-ready_for_confirmation{color:#6ee7b7}.video-edit-plan__status.is-needs_input,.video-edit-plan__status.is-stale{color:#fbbf24}.video-edit-plan__operations{display:grid;grid-gap:5px;gap:5px}.video-edit-plan__operation{display:grid;grid-gap:3px;gap:3px;padding:6px 0;border-bottom:1px solid var(--canvas-theme-border,rgba(255,255,255,.08))}.video-edit-plan__operation-details{display:grid;grid-gap:3px;gap:3px;margin:0}.video-edit-plan__operation-details>div{display:grid;grid-template-columns:minmax(88px,.42fr) minmax(0,1fr);grid-gap:8px;gap:8px}.video-edit-plan__operation-details dt{color:var(--canvas-theme-ink-muted,rgba(255,255,255,.58))}.video-edit-plan__operation-details dd{min-width:0;margin:0;overflow-wrap:anywhere;text-align:right}.video-edit-plan__operation p{margin:0;overflow-wrap:anywhere}.video-edit-plan__operation-error{color:#fca5a5!important}.video-edit-plan__policies{display:grid;grid-gap:4px;gap:4px;margin:0}.video-edit-plan__policies dt{color:var(--canvas-theme-ink-muted,rgba(255,255,255,.58))}.video-edit-plan__policies dd{max-width:66%;margin:0;overflow-wrap:anywhere;text-align:right}.video-edit-plan__confirm,.video-edit-plan__retry{display:inline-flex;width:-moz-fit-content;width:fit-content;min-height:28px;align-items:center;gap:6px;padding:0 9px;color:var(--canvas-theme-ink,rgba(255,255,255,.9));font:inherit;cursor:pointer;background:rgba(16,185,129,.16);border:1px solid rgba(16,185,129,.4);border-radius:6px}.video-edit-plan__retry{grid-column:2;grid-row:5;background:rgba(245,158,11,.14);border-color:rgba(245,158,11,.36)}.video-edit-plan__attachments{display:grid;grid-column:1;grid-row:2;grid-template-columns:minmax(0,1fr) minmax(112px,.65fr) 28px 28px;grid-gap:5px;gap:5px}.video-edit-plan__attachments select,.video-edit-plan__composer textarea{min-width:0;color:inherit;font:inherit;background:var(--canvas-theme-surface-soft,rgba(255,255,255,.06));border:1px solid var(--canvas-theme-border,rgba(255,255,255,.14));border-radius:5px}.video-edit-plan__attachments select{height:28px;padding:0 6px}.video-edit-plan__attachment-list button,.video-edit-plan__attachments button,.video-edit-plan__composer button{display:inline-grid;width:28px;height:28px;place-items:center;padding:0;color:inherit;cursor:pointer;background:var(--canvas-theme-surface-soft,rgba(255,255,255,.08));border:1px solid var(--canvas-theme-border,rgba(255,255,255,.14));border-radius:5px}.video-edit-plan__attachments button:disabled,.video-edit-plan__composer button:disabled{cursor:default;opacity:.45}.video-edit-plan__attachment-list{display:flex;grid-column:1;grid-row:3;gap:5px;overflow-x:auto}.video-edit-plan__attachment-list>span{flex:0 0 auto;min-height:24px;padding-left:7px;background:rgba(79,156,249,.12);border:1px solid rgba(79,156,249,.28);border-radius:5px}.video-edit-plan__attachment-list button{width:22px;height:22px;border:0}.video-edit-plan__composer{display:grid;grid-column:1;grid-row:5;grid-template-columns:minmax(0,1fr) 32px;grid-gap:6px;gap:6px}.video-edit-plan__composer textarea{height:56px;padding:7px 8px;resize:none}.video-edit-plan__composer button{width:32px;height:32px;align-self:end;color:#dbeafe;background:rgba(59,130,246,.18);border-color:rgba(59,130,246,.4)}.video-edit-plan__upload-error{grid-column:1;grid-row:4}@media (max-width:720px){.video-edit-plan{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(120px,.8fr) minmax(160px,1fr) auto auto auto auto auto;overflow:auto}.video-edit-plan__conversation{grid-column:1;grid-row:1}.video-edit-plan__review{grid-column:1;grid-row:2;padding:10px 0 0;border-top:1px solid var(--canvas-theme-border,rgba(255,255,255,.12));border-left:0}.video-edit-plan__retry{grid-column:1;grid-row:3}.video-edit-plan__attachments{grid-column:1;grid-row:4;grid-template-columns:minmax(0,1fr) minmax(96px,.6fr) 28px 28px}.video-edit-plan__attachment-list{grid-column:1;grid-row:5}.video-edit-plan__upload-error{grid-column:1;grid-row:6}.video-edit-plan__composer{grid-column:1;grid-row:7}}.business-script-language-controls{display:inline-flex;align-items:center;gap:6px}.business-script-language-controls label{display:inline-flex;align-items:center;gap:4px;color:var(--prompt-composer-secondary-text,#667085);font-size:11px}.business-script-language-controls select{max-width:116px;padding:4px 6px;color:inherit;background:var(--prompt-composer-control-bg,rgba(0,0,0,.04));border:0;border-radius:6px}.script-localization-review{padding:8px;margin:8px 12px;font-size:12px;background:rgba(112,97,255,.05);border:1px solid rgba(112,97,255,.2);border-radius:8px}.script-localization-review summary,.script-localization-review summary>small,.script-localization-review summary>span{display:flex;align-items:center;gap:8px}.script-localization-review summary{cursor:pointer}.script-localization-degraded,.script-localization-review summary>span[data-status=degraded]{color:#b54708}.script-localization-comparison>section>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:8px;gap:8px}.script-localization-comparison article,.script-localization-degraded li>label{display:grid;grid-gap:4px;gap:4px;padding:6px;background:rgba(255,255,255,.72);border-radius:6px}.script-localization-comparison p{margin:2px 0;white-space:pre-wrap}.script-localization-degraded textarea{min-height:52px;resize:vertical}.script-shot-page{position:fixed;inset:0;z-index:220;display:grid;width:100vw;height:100vh;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;color:rgba(255,255,255,.84);background:rgba(18,18,18,.99);border:0;border-radius:0;box-shadow:none}.script-shot-page.is-assets{grid-template-rows:auto minmax(0,1fr) auto}.script-shot-header{display:grid;grid-template-columns:1fr auto 36px;grid-gap:18px;min-height:86px;padding:14px 18px;background:rgba(12,12,12,.96);border-bottom:1px solid rgba(255,255,255,.12)}.script-shot-header p{color:rgba(255,255,255,.78);font-size:14px}.script-shot-header>button{color:rgba(255,255,255,.48);font-size:32px}.script-panel-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:42px;gap:42px}.script-panel-step{display:grid;min-width:0;grid-template-columns:34px minmax(0,auto);grid-column-gap:10px;column-gap:10px;color:rgba(255,255,255,.48)}.script-panel-progress small,.script-panel-progress strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.script-panel-progress strong{color:rgba(255,255,255,.86);font-size:14px}.script-panel-progress small{grid-column:2;color:rgba(255,255,255,.5);font-size:12px}.script-panel-step.is-complete small,.script-panel-step.is-current small{color:rgba(255,255,255,.72)}.script-character-library{display:flex;min-width:0;align-items:center;gap:12px;padding:10px 18px;background:rgba(18,18,18,.99);border-bottom:1px solid rgba(255,255,255,.1)}.script-character-library strong{flex:0 0 auto;color:rgba(255,255,255,.72);font-size:13px}.script-character-library div{display:flex;min-width:0;flex:1 1 auto;gap:8px;overflow-x:auto}.script-character-library span,.script-mention-token{display:inline-flex;align-items:center;color:#3dd6f4;font-weight:700;white-space:nowrap}.script-character-library span{height:26px;padding:0 10px;background:rgba(61,214,244,.11);border:1px solid rgba(61,214,244,.2);border-radius:6px}.script-character-library small{color:rgba(255,255,255,.4);font-size:12px}.script-mention-token{margin:0 1px}.script-table{min-width:76rem;border-collapse:collapse}.script-table td,.script-table th{padding:12px 10px;overflow:hidden;color:rgba(255,255,255,.76);line-height:1.45;text-overflow:ellipsis;vertical-align:top;border-right:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1)}.script-table th{z-index:1;color:rgba(255,255,255,.5);font-weight:600;background:rgba(31,31,31,.98)}.script-table td:first-child,.script-table th:first-child{width:64px;text-align:center}.script-table td:nth-child(10),.script-table td:nth-child(2),.script-table td:nth-child(4),.script-table th:nth-child(10),.script-table th:nth-child(2),.script-table th:nth-child(4){width:72px}.script-table td:nth-child(3),.script-table td:nth-child(9),.script-table th:nth-child(3),.script-table th:nth-child(9){width:260px}.script-table tbody tr:hover td{background:rgba(255,255,255,.055)}.script-table input,.script-table textarea{width:100%;min-width:0;padding:4px 6px;color:inherit;font:inherit;line-height:inherit;background:transparent;border:1px solid transparent;border-radius:4px;resize:vertical}.script-table input:focus,.script-table textarea:focus{outline:none;background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.24)}.script-panel-footer{padding:14px 18px;background:rgba(18,18,18,.99);border-top:1px solid rgba(255,255,255,.1)}.script-panel-footer button{min-width:132px;height:36px;padding:0 16px;color:rgba(255,255,255,.86);font-size:13px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12);border-radius:6px}.script-panel-footer button:last-child{color:#111111;background:rgba(255,255,255,.9);border-color:transparent}.script-asset-workspace{padding:24px 28px 80px}.script-asset-section{margin:0 0 34px}.script-asset-section h2{margin:0 0 14px;color:rgba(255,255,255,.82);font-size:16px;font-weight:700}.script-asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));grid-gap:14px;gap:14px}.script-asset-add,.script-asset-card{position:relative;min-width:0;color:rgba(255,255,255,.78)}.script-asset-add,.script-asset-image{display:grid;min-height:154px;place-items:center;color:rgba(255,255,255,.34);background:rgba(255,255,255,.018);border:1px dashed rgba(255,255,255,.18);border-radius:8px}.script-asset-image{width:100%;margin-bottom:10px;padding:0}.script-asset-editor-image img,.script-asset-image img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.script-asset-card.is-selected .script-asset-image{border-color:rgba(255,255,255,.42)}.script-asset-corner{position:absolute;top:10px;right:10px;width:22px;height:22px;background:rgba(0,0,0,.72);border-radius:4px;opacity:0}.script-asset-card.is-selected .script-asset-corner{opacity:1}.script-asset-delete{position:absolute;top:8px;right:8px;z-index:4;display:grid;width:24px;height:24px;place-items:center;color:rgba(255,255,255,.88);font-size:20px;line-height:1;background:rgba(0,0,0,.82);border:1px solid rgba(255,255,255,.28);border-radius:999px;opacity:0}.script-asset-card:hover .script-asset-delete,.script-asset-delete:focus-visible{opacity:1}.script-asset-card p,.script-asset-card strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.script-asset-card strong{margin-bottom:6px;color:rgba(255,255,255,.82);font-size:14px}.script-asset-card p{margin:0;color:rgba(255,255,255,.42);font-size:12px}.script-asset-add{align-self:start;min-height:154px;gap:6px;background:rgba(255,255,255,.02)}.script-asset-footer p{gap:10px;color:rgba(255,255,255,.72);font-size:13px}.script-asset-footer p span{width:18px;height:18px;color:#ff9d2e;font-size:12px;font-weight:800;border:1px solid #ff9d2e}.script-prompt-footer{align-items:center}.script-prompt-footer p{display:flex;min-width:0;flex:1 1 auto;gap:10px;align-items:center;margin:0;color:rgba(255,255,255,.72);font-size:13px}.script-prompt-footer p span{display:grid;width:18px;height:18px;flex:0 0 auto;place-items:center;color:#15b373;font-size:12px;font-weight:800;border:1px solid;border-radius:999px}.script-asset-editor{top:86px;right:0;bottom:0;z-index:3;width:min(41vw,620px);min-width:420px;grid-template-rows:auto minmax(0,1fr);background:rgba(31,31,31,.98);border-left:1px solid rgba(255,255,255,.12);box-shadow:-20px 0 48px rgba(0,0,0,.35)}.script-asset-bulk-dialog header,.script-asset-editor header,.script-asset-picker header{min-height:64px;padding:0 20px;border-bottom:1px solid rgba(255,255,255,.1)}.script-asset-bulk-dialog header strong,.script-asset-editor header strong,.script-asset-picker header strong{color:rgba(255,255,255,.9);font-size:18px}.script-asset-bulk-dialog header button,.script-asset-editor header button,.script-asset-picker header button{color:rgba(255,255,255,.72);font-size:32px;line-height:1}.script-asset-editor-body{grid-gap:14px;gap:14px;padding:22px 20px 48px}.script-asset-editor-body label{color:rgba(255,255,255,.82);font-weight:700}.script-asset-editor-image{min-height:334px;color:rgba(255,255,255,.42);background:rgba(255,255,255,.06);border:1px dashed rgba(255,255,255,.18)}.script-asset-editor-image>span:last-child{top:12px;right:12px;width:34px;color:rgba(255,255,255,.86);font-size:18px;font-weight:800;background:rgba(0,0,0,.72);border-radius:5px}.script-asset-editor input,.script-asset-editor textarea{color:rgba(255,255,255,.88);font:inherit;background:rgba(255,255,255,.06)}.script-asset-editor input{height:44px;padding:0 14px}.script-asset-editor textarea{min-height:180px;padding:14px;line-height:1.6}.script-asset-editor textarea.script-asset-editor-textarea-compact{height:96px;min-height:80px}.script-asset-picker-backdrop{z-index:5;background:rgba(0,0,0,.45)}.script-asset-picker{width:min(76vw,980px);max-height:min(82vh,760px);grid-template-rows:auto auto minmax(320px,1fr) auto;background:rgba(31,31,31,.99);border:1px solid rgba(255,255,255,.12);box-shadow:0 30px 90px rgba(0,0,0,.48)}.script-asset-picker nav{gap:28px;padding:22px 20px 12px}.script-asset-picker nav button{color:rgba(255,255,255,.48);font-size:16px;font-weight:700}.script-asset-picker nav button[aria-selected=true]{color:rgba(255,255,255,.9)}.script-asset-picker-empty{margin:0 20px;padding:18px;color:rgba(255,255,255,.88);font:inherit;line-height:1.7;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:12px;display:grid;place-items:center;color:rgba(255,255,255,.42);cursor:pointer}.script-asset-picker-empty input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.script-asset-bulk-dialog{display:grid;width:min(76vw,1000px);max-height:min(78vh,720px);grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;background:rgba(27,27,27,.99);border:1px solid rgba(255,255,255,.12);box-shadow:0 30px 90px rgba(0,0,0,.5)}.script-asset-bulk-list{min-height:0;padding:22px 20px}.script-asset-bulk-list section+section{margin-top:20px}.script-asset-bulk-list h3{margin:0 0 10px;color:rgba(255,255,255,.56);font-size:14px}.script-asset-bulk-row{display:grid;grid-template-columns:24px minmax(0,1fr);grid-gap:10px;gap:10px;padding:14px;background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.1);border-radius:8px}.script-asset-bulk-row+.script-asset-bulk-row{margin-top:8px}.script-asset-bulk-row input[type=checkbox]{width:16px;height:16px;margin-top:2px;accent-color:rgba(255,255,255,.92)}.script-asset-bulk-row>span{display:grid;grid-gap:8px;gap:8px;min-width:0}.script-asset-bulk-row strong{color:rgba(255,255,255,.88);font-size:15px}.script-asset-bulk-row small{width:max-content;padding:2px 7px;color:rgba(255,255,255,.62);font-size:12px;background:rgba(255,255,255,.08);border-radius:5px}.script-asset-bulk-row textarea{min-height:54px;padding:8px 10px;overflow:hidden;color:rgba(255,255,255,.78);font:inherit;line-height:1.5;resize:vertical;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.11);border-radius:5px}.script-final-prompt-status{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 12px;color:rgba(255,255,255,.72);font:inherit;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12)}.script-final-prompt-status:not(:disabled){cursor:pointer}.script-final-prompt-status:not(:disabled):hover{color:rgba(255,255,255,.92);border-color:rgba(255,255,255,.22)}.script-final-prompt-status:disabled{opacity:.72}.script-final-prompt-dialog,.script-final-prompt-viewer{display:grid;width:min(76vw,1000px);max-height:min(78vh,720px);grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;background:rgba(27,27,27,.99);border:1px solid rgba(255,255,255,.12);border-radius:12px;box-shadow:0 30px 90px rgba(0,0,0,.5)}.script-final-prompt-viewer{width:min(72vw,920px);grid-template-rows:auto minmax(0,1fr)}.script-final-prompt-dialog header,.script-final-prompt-viewer header{display:flex;align-items:center;justify-content:space-between;min-height:64px;padding:0 20px;border-bottom:1px solid rgba(255,255,255,.1)}.script-final-prompt-dialog header strong,.script-final-prompt-viewer header strong{color:rgba(255,255,255,.9);font-size:18px}.script-final-prompt-dialog header button,.script-final-prompt-viewer header button{color:rgba(255,255,255,.7);font-size:34px;background:transparent;border:0;cursor:pointer}.script-final-prompt-list{padding:20px}.script-final-prompt-row{display:grid;grid-gap:10px;gap:10px;align-items:start;padding:12px 14px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.1)}.script-final-prompt-result{grid-column:1/-1;min-width:0}.script-final-prompt-result p{margin:6px 0 0;max-height:200px;overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap}.script-final-prompt-row label{display:grid;grid-template-columns:22px 58px minmax(0,1fr);grid-gap:12px;gap:12px;align-items:center;min-width:0;color:rgba(255,255,255,.72)}.script-final-prompt-row input{width:16px;height:16px;accent-color:rgba(255,255,255,.92)}.script-final-prompt-row strong{color:rgba(255,255,255,.86)}.script-final-prompt-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.script-final-prompt-row.is-expanded,.script-final-prompt-row.is-expanded label{align-items:start}.script-final-prompt-row .script-final-prompt-summary.is-expanded{overflow:visible;overflow-wrap:anywhere;text-overflow:clip;white-space:pre-wrap}.script-final-prompt-row button{color:rgba(255,255,255,.68);background:transparent;border:0;cursor:pointer}.script-final-prompt-viewer pre{grid-column:1/-1;max-height:280px;margin:8px 0 0;padding:14px 16px;overflow:auto;color:rgba(255,255,255,.84);font:inherit;line-height:1.65;white-space:pre-wrap;background:rgba(0,0,0,.26);border:1px solid rgba(255,255,255,.08);border-radius:8px}.script-final-prompt-dialog footer{display:flex;align-items:center;gap:24px;min-height:72px;padding:0 20px;color:rgba(255,255,255,.72);font-size:14px;border-top:1px solid rgba(255,255,255,.1)}.script-final-prompt-dialog footer label{gap:8px}.script-final-prompt-dialog footer input{width:16px;height:16px;accent-color:rgba(255,255,255,.92)}.script-final-prompt-dialog footer button{height:40px;margin-left:auto;padding:0 18px;color:#111111;font-weight:700;background:rgba(255,255,255,.9);border:0;border-radius:8px}.script-final-prompt-viewer>div{min-height:0;padding:26px 20px;overflow:auto}.script-final-prompt-viewer h3{display:flex;align-items:center;gap:10px;margin:0 0 12px;color:rgba(255,255,255,.84);font-size:16px}.script-final-prompt-viewer h3 span{padding:2px 8px;color:rgba(52,211,153,.92);font-size:13px;background:rgba(16,185,129,.12);border-radius:999px}.script-shot-page,.script-shot-page.is-assets{position:fixed;inset:0;z-index:220;display:grid;width:100vw;height:100vh;grid-template-rows:64px minmax(0,1fr) 64px;overflow:hidden;color:#141414;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;background:#ffffff;border:0;border-radius:0;box-shadow:none}.script-shot-header{position:relative;z-index:4;display:flex;min-height:64px;align-items:center;justify-content:flex-end;gap:18px;padding:0 24px;background:#ffffff;border:0}.script-panel-progress{position:absolute;top:50%;left:50%;display:flex;width:80vw;max-width:calc(100% - 22rem);height:56px;align-items:center;justify-content:center;gap:6px;transform:translate(-50%,-50%)}.script-panel-step{display:flex;min-width:72px;flex:0 0 auto;align-items:center;gap:8px;padding:4px 8px;color:#171717;text-align:left;background:transparent;border:0;border-radius:8px;cursor:pointer;transition:background-color .12s ease,opacity .12s ease}.script-panel-step:hover{opacity:.8}.script-panel-step:focus-visible{outline:2px solid rgba(23,23,23,.42);outline-offset:1px}.script-panel-connector{width:120px;max-width:120px;height:1px;flex:1 1 120px;background:rgba(0,0,0,.1)}.script-panel-step.is-current{background:rgba(0,0,0,.04)}.script-panel-step-number{display:grid;width:36px;height:36px;flex:0 0 36px;place-items:center}.script-panel-step-number>span{display:grid;width:28px;height:28px;box-sizing:border-box;place-items:center;color:#666666;font-size:13px;font-weight:600;line-height:20px;background:#ffffff;border:2px solid #cfcfcf;border-radius:999px}.script-panel-step.is-complete .script-panel-step-number>span{color:#ffffff;background:#171717;border-color:#171717}.script-panel-step-copy{display:flex;min-width:0;flex-direction:column;gap:4px}.script-panel-step-copy strong{color:#525252;font-size:13px;font-weight:400;line-height:19.5px;white-space:nowrap}.script-panel-step-copy small{color:#919191;font-size:12px;font-weight:400;line-height:16px;white-space:nowrap}.script-panel-step.is-complete .script-panel-step-copy strong,.script-panel-step.is-current .script-panel-step-copy strong{color:#262626}.script-panel-step.is-complete .script-panel-step-copy small,.script-panel-step.is-current .script-panel-step-copy small{color:#525252}.script-shot-header p{max-width:18rem;overflow:hidden;text-overflow:ellipsis;margin:0;color:#363636;font-size:12px;line-height:18px;white-space:nowrap}.script-shot-header>button{display:grid;width:24px;height:24px;place-items:center;padding:0;color:#777777;font-size:22px;line-height:1;background:transparent;border:0}.script-table-card{display:flex;min-height:0;margin:8px 24px 16px;overflow:hidden;background:#ffffff;border:1px solid #f2f3f5;border-radius:8px}.script-table-wrap{min-width:0;min-height:0;flex:1 1 auto;overflow:auto}.script-table{width:100%;min-width:1230px;table-layout:fixed;border-collapse:separate;border-spacing:0}.script-table.has-source-preview{min-width:1398px}.script-table.has-execution-plan{min-width:1326px}.script-table.has-execution-plan.has-source-preview{min-width:1494px}.script-table.has-execution-plan.has-shot-videos{min-width:1438px}.script-table.has-execution-plan.has-source-preview.has-shot-videos{min-width:1606px}.script-table .script-col-number{width:50px}.script-table .script-col-shot-video{width:112px}.script-table .script-col-duration,.script-table .script-col-size{width:56px}.script-table .script-col-description{width:287px}.script-table .script-col-lighting{width:145px}.script-table .script-col-dialogue{width:237px}.script-table .script-col-sound{width:125px}.script-table .script-col-camera{width:126px}.script-table .script-col-prompt{width:100px}.script-table .script-col-source-preview{width:168px}.script-table .script-col-execution-plan{width:96px}.script-table .script-col-actions{width:48px}.script-table td,.script-table th{position:relative;height:61px;padding:0;overflow:visible;color:#141414;font-size:12px;font-weight:400;line-height:16px;text-align:left;vertical-align:middle;border-right:1px solid #f2f3f5;border-bottom:1px solid #f2f3f5}.script-table th{position:-webkit-sticky;position:sticky;top:0;z-index:8;height:49px;padding:14px 8px;color:#525252;font-weight:500;line-height:19px;white-space:nowrap;background:#f7f7f7}.script-table.has-shot-videos th:first-child,.script-table.has-shot-videos th:last-child,.script-table.has-shot-videos th:nth-child(10),.script-table.has-shot-videos th:nth-child(11),.script-table.has-shot-videos th:nth-child(12),.script-table.has-shot-videos th:nth-child(2),.script-table.has-shot-videos th:nth-child(3),.script-table.has-shot-videos th:nth-child(5),.script-table:not(.has-shot-videos) th:first-child,.script-table:not(.has-shot-videos) th:last-child,.script-table:not(.has-shot-videos) th:nth-child(10),.script-table:not(.has-shot-videos) th:nth-child(2),.script-table:not(.has-shot-videos) th:nth-child(4),.script-table:not(.has-shot-videos) th:nth-child(9){text-align:center}.script-shot-page.is-prompts .script-table.has-shot-videos th:nth-child(10),.script-shot-page.is-prompts .script-table:not(.has-shot-videos) th:nth-child(9){background:#e6f7fb}.script-column-help{position:absolute;top:43px;left:36px;z-index:60;width:280px;padding:14px 12px;color:#363636;text-align:left;white-space:normal;background:#ffffff;border:1px solid #e6e6e6;border-radius:4px;box-shadow:0 8px 24px rgba(0,0,0,.12)}.script-column-help:after,.script-column-help:before{position:absolute;left:18px;width:0;height:0;content:"";border-right:7px solid transparent;border-bottom:7px solid #e6e6e6;border-left:7px solid transparent}.script-column-help:before{top:-7px}.script-column-help:after{top:-6px;left:19px;border-right-width:6px;border-bottom:6px solid #ffffff;border-left-width:6px}.script-table th:nth-last-child(-n+2) .script-column-help{right:6px;left:auto}.script-table th:nth-last-child(-n+2) .script-column-help:before{right:18px;left:auto}.script-table th:nth-last-child(-n+2) .script-column-help:after{right:19px;left:auto}.script-column-help b,.script-column-help strong{display:block;color:#222222;font-size:13px;font-weight:600;line-height:20px}.script-column-help b{margin-top:8px;font-size:12px}.script-column-help p{margin:2px 0 0;color:#666666;font-size:12px;font-weight:400;line-height:19px}.script-table tbody tr:has([aria-expanded=true]) td,.script-table tbody tr:hover td{background:#f2f2f2}.script-table tbody tr.has-row-color td{background:color-mix(in srgb,var(--script-row-color) 10%,#ffffff)}.script-cell-trigger{display:-webkit-box;width:100%;height:100%;min-height:60px;padding:8px;overflow:hidden;color:#141414;font:inherit;line-height:16px;text-align:left;text-overflow:ellipsis;overflow-wrap:anywhere;background:transparent;border:0;border-radius:0;cursor:text;-webkit-box-orient:vertical;-webkit-line-clamp:3}.script-cell-trigger-center{align-items:center;justify-content:center;text-align:center;cursor:pointer}.script-cell-trigger-rich{cursor:text}.script-cell-trigger-rich[aria-expanded=true],.script-cell-trigger[aria-expanded=true]{position:relative;z-index:12;outline:2px solid #222222;outline-offset:-1px}.script-table td.script-shot-number-cell{color:#525252;text-align:center}.script-shot-video-cell,.script-source-preview-cell{padding:6px!important;text-align:center!important}.script-shot-video-list{display:grid;grid-gap:6px;gap:6px;justify-items:center}.script-shot-video-preview.prompt-reference-item{position:relative;display:inline-flex;box-sizing:border-box;width:96px;height:54px;padding:0;overflow:visible;background:#111111;border:1px solid #e5e5e5;border-radius:5px}.script-shot-video-preview .prompt-reference-item-body{display:grid;width:100%;height:100%;padding:0;overflow:hidden;place-items:center;background:transparent;border:0;border-radius:5px;cursor:pointer}.script-shot-video-preview .prompt-reference-item-badge{top:3px;right:auto;left:3px;height:15px;min-width:15px;padding:0 4px;color:#ffffff;font-size:9px;background:rgba(0,0,0,.68);border:0}.script-shot-video-thumbnail{display:grid;width:100%;height:100%;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;background:#f0f0f0}.script-source-preview-loading{display:block;box-sizing:border-box;background:#f0f0f0;border:1px solid #e5e5e5;border-radius:5px}.script-shot-video-thumbnail>*{grid-area:1/1}.script-shot-video-thumbnail img,.script-shot-video-thumbnail video{display:block;width:100%;height:100%;object-fit:cover;border-radius:4px}.script-shot-video-fallback{display:grid;color:#d4d4d4;place-items:center}.script-shot-video-fallback svg{width:24px;height:24px}.script-shot-video-play{z-index:1;display:grid;width:22px;height:22px;color:#ffffff;pointer-events:none;background:rgba(0,0,0,.6);border-radius:999px;place-items:center}.script-shot-video-play svg{width:12px;height:12px}.script-shot-video-status{display:inline-flex;min-height:22px;align-items:center;justify-content:center;padding:2px 6px;color:#737373;background:#f5f5f5;border-radius:5px}.script-execution-plan-cell{padding:6px!important;text-align:center!important}.script-execution-plan-actions,.script-source-preview-list{display:grid;grid-gap:6px;gap:6px}.script-execution-plan-actions span{display:inline-flex;min-height:22px;align-items:center;justify-content:center;padding:2px 6px;color:#404040;background:#f5f5f5;border:1px solid #e5e5e5;border-radius:5px}.script-execution-segments{text-align:left}.script-execution-segments summary{color:#404040;font-size:11px;cursor:pointer}.script-execution-segments ol{display:grid;margin:6px 0 0;padding:0;grid-gap:6px;gap:6px;list-style:none}.script-execution-segments li{display:grid;padding:6px;color:#737373;font-size:10px;line-height:14px;background:#f5f5f5;border:1px solid #e5e5e5;border-radius:5px;grid-gap:2px;gap:2px}.script-execution-segments li strong{color:#262626}.script-source-preview{display:grid;grid-gap:3px;gap:3px;justify-items:center}.script-source-preview video{display:block;width:100%;height:100%;object-fit:cover;background:#111111;border-radius:5px}.script-source-preview small{color:#919191;font-size:10px;line-height:13px}.script-row-drag-handle{position:absolute;top:50%;left:2px;display:flex;width:16px;height:16px;align-items:center;justify-content:center;padding:0;color:#b8b8b8;background:transparent;border:0;border-radius:4px;opacity:0;transform:translateY(-50%);transition:opacity .15s ease;cursor:-webkit-grab;cursor:grab}.script-row-drag-handle:focus-visible,.script-table tbody tr:hover .script-row-drag-handle{opacity:1}.script-row-drag-handle:active{cursor:-webkit-grabbing;cursor:grabbing}.script-row-drag-handle:focus-visible{color:#222222;outline:2px solid #222222;outline-offset:-2px}.script-table tbody tr.is-dragging td{background:rgba(59,130,246,.06);box-shadow:inset 0 0 0 1px rgba(59,130,246,.4);opacity:.6}.script-table tbody tr.is-drop-target td{border-top:3px solid #3b82f6;box-shadow:0 -2px 6px rgba(59,130,246,.45)}.script-mention-token{display:inline;margin:0;padding:0 2px;color:#07b8dd;font:inherit;line-height:14px;background:rgba(60,181,204,.1);border:0;border-radius:4px;cursor:pointer}.script-dialogue-line{display:block}.script-dialogue-speaker{padding:0}.script-final-prompt-model-menu,.script-mention-suggestions,.script-shot-page{--canvas-popover-surface:var(--cbi-tooltip-bg,#ffffff);--canvas-popover-border:var(--cbi-tooltip-border,rgba(0,0,0,0.06));--canvas-popover-ink:var(--cbi-tooltip-text,#262626);--canvas-popover-ink-muted:#919191;--canvas-popover-hover:rgba(0,0,0,0.05);--canvas-popover-active:rgba(0,0,0,0.08);--canvas-popover-shadow:var(
    --cbi-tooltip-shadow,0 4px 10px rgba(0,0,0,0.12),0 2px 4px rgba(0,0,0,0.06)
  )}:root[data-cbi-theme=dark] :is(.script-shot-page,.script-final-prompt-model-menu,.script-mention-suggestions){--canvas-popover-hover:rgba(255,255,255,0.1);--canvas-popover-active:rgba(255,255,255,0.15)}.script-cell-popover,.script-row-menu,.script-shot-size-menu{position:absolute;top:calc(100% - 10px);left:10px;z-index:50;width:320px}.script-cell-popover{padding:12px 16px;border-radius:var(--canvas-popover-radius)}.script-duration-popover input,.script-rich-mention-editor,.script-text-popover textarea{width:100%;color:#363636;font:inherit;background:rgba(0,0,0,.04);border:0;border-radius:4px;outline:0}.script-asset-editor input:focus-visible,.script-asset-editor textarea:focus-visible,.script-dialogue-row input:focus-visible,.script-dialogue-row select:focus-visible,.script-duration-popover input:focus-visible,.script-rich-mention-editor:focus-visible,.script-text-popover textarea:focus-visible{outline:1px solid #171717;outline-offset:-1px}.script-duration-popover input{height:38px;padding:0 12px;font-size:14px}.script-duration-popover>small{display:block;margin-top:6px;color:#919191;font-size:10px}.script-cell-popover footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;padding-top:8px;border-top:1px solid rgba(0,0,0,.1)}.script-cell-popover footer>span{color:#919191;font-size:11px;line-height:16px}.script-cell-popover footer>button,.script-dialogue-popover footer>button{height:24px;padding:0 12px;color:#ffffff;font-size:12px;font-weight:400;background:#171717;border:0;border-radius:8px;transition:background-color .15s ease}.script-cell-popover footer>button:hover:not(:disabled),.script-dialogue-popover footer>button:hover:not(:disabled){background:#262626}.script-text-popover{width:320px}.script-text-popover textarea{height:80px;padding:10px 12px;line-height:18px;resize:none}.script-mention-popover{width:480px;font-size:12px}.script-mention-popover footer{padding-top:0;border-top:0}.script-rich-mention-editor-shell{position:relative;box-sizing:border-box;display:flex;width:100%;padding:4px}.script-rich-mention-editor{min-height:58px;max-height:454px;padding:4px 8px;overflow-y:auto;font-size:12px;line-height:1.4;white-space:pre-wrap;word-break:break-word;background:rgba(0,0,0,.05)}.script-rich-mention-editor:empty:before{color:#a8a8a8;content:attr(data-placeholder)}.script-rich-mention-token{display:inline-flex;align-items:center;padding:0 2px;color:#07b8dd;font-size:12px;line-height:1.2;vertical-align:middle;background:rgba(60,181,204,.1);border-radius:4px;cursor:pointer}.script-mention-suggestions{position:fixed;z-index:1200;min-width:240px;max-width:320px;overflow:hidden;border-radius:8px}.script-mention-suggestions-list{display:flex;max-height:200px;flex-direction:column;gap:2px;overflow-y:auto}.script-mention-suggestions button{height:auto;min-height:44px;padding:6px 8px;font-size:14px;border-radius:6px}.script-mention-suggestion-thumb{display:flex;overflow:hidden;width:32px;height:32px;flex:none;align-items:center;justify-content:center;background:var(--canvas-popover-hover);border:.5px solid var(--canvas-popover-border);border-radius:4px}.script-mention-suggestion-thumb img{width:100%;height:100%;object-fit:cover}.script-mention-suggestion-label{min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.script-mention-suggestions small{flex:none;margin-left:auto;color:#919191;font-size:12px}.script-mention-suggestions-empty{display:flex;align-items:center;justify-content:center;margin:0;padding:16px 12px;color:#919191;font-size:14px}.script-shot-size-menu{left:0;display:grid;width:110px;max-height:238px;overflow-y:auto}.script-shot-size-menu button{justify-content:space-between}.script-camera-move-menu.script-cell-popover{left:0;display:grid;width:240px;grid-gap:4px;gap:4px;padding:8px;overflow:hidden}.script-camera-move-search input{height:32px;padding:0 8px;color:var(--canvas-popover-ink);background:var(--canvas-popover-hover);border:0;border-radius:6px}.script-camera-move-list{display:grid;max-height:224px;grid-gap:var(--canvas-popover-row-gap);gap:var(--canvas-popover-row-gap);overflow-y:auto}.script-camera-move-list .canvas-popover-item{justify-content:space-between}.script-camera-move-empty{margin:0;padding:12px 8px;color:var(--canvas-popover-ink-muted);text-align:center}.script-camera-move-manual-entry{padding-top:4px;border-top:1px solid var(--canvas-popover-border)}.script-dialogue-popover{width:372px}.script-dialogue-list{display:grid;grid-gap:6px;gap:6px}.script-dialogue-row{display:grid;grid-template-columns:36px 82px minmax(0,1fr) 22px;grid-gap:8px;gap:8px;align-items:center}.script-dialogue-row>span:first-child{padding:3px 5px;color:#76a6d8;font-size:10px;text-align:center;background:#eef5fc;border-radius:4px}.script-asset-editor-image-empty{display:grid;place-items:center;grid-gap:6px;gap:6px;color:#c6c6c6;font-size:12px;font-weight:400}.script-asset-editor-image-empty b{color:#d4d4d4;font-size:38px;font-weight:200;line-height:32px}.script-dialogue-row input,.script-dialogue-row select{min-width:0;height:28px;padding:0 8px;color:#363636;font-size:11px;background:rgba(0,0,0,.04);border:0;border-radius:4px;outline:0}.script-dialogue-row>button{color:#919191;font-size:16px;background:transparent;border:0}.script-dialogue-popover footer>div{display:flex;gap:10px}.script-dialogue-popover footer>div button{color:#919191;font-size:11px;background:transparent;border:0}.script-final-prompt-status{width:calc(100% - 12px);min-height:34px;margin:0 6px;padding:0 8px;color:#b8b8b8;font-size:11px;white-space:nowrap;background:rgba(0,0,0,.025);border:1px solid #ededed;border-radius:8px}.script-final-prompt-status.has-details{min-height:42px;padding:4px 6px;line-height:1.25;white-space:normal}.script-final-prompt-status:not(:disabled){color:#525252}.script-final-prompt-status:not(:disabled):focus-visible,.script-final-prompt-status:not(:disabled):hover{color:var(--canvas-theme-ink,#1e1f21);background:var(--canvas-theme-surface-soft,rgba(0,0,0,.05));border-color:var(--canvas-theme-border,#d9d9d9);outline:none}.script-final-prompt-status.is-stale{gap:4px;color:#f59e0b;background:transparent;border-color:transparent}.script-final-prompt-status.is-stale:hover{color:#d97706;background:rgba(245,158,11,.06);border-color:rgba(245,158,11,.2)}.script-table td.script-row-actions-cell{text-align:center}.script-row-primary-action{margin-right:6px;padding:4px 8px;color:var(--canvas-theme-accent,#2563eb);white-space:nowrap;background:transparent;border:1px solid;border-radius:6px;font-size:11px}.script-row-primary-action:disabled{cursor:default;opacity:.5}.script-row-actions-button{display:inline-flex;width:20px;height:20px;align-items:center;justify-content:center;padding:0;color:#737373;background:transparent;border:0;border-radius:4px}.script-row-actions-button:hover{color:#262626;background:rgba(0,0,0,.05)}.script-row-menu{top:20px;right:8px;left:auto;width:max-content;min-width:150px;padding:4px 0;border-radius:6px;text-align:left}.script-row-menu>small{display:block;padding:8px 12px 4px;color:var(--canvas-popover-ink-muted);font-size:11px;line-height:1.4}.script-row-menu-colors{display:flex;align-items:center;gap:6px;padding:6px 12px}.script-row-menu-colors button{position:relative;display:flex;width:20px;height:20px;align-items:center;justify-content:center;padding:0;color:#111111;background:transparent;border:0;border-radius:999px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);transition:transform .12s ease}.script-row-menu-colors button.is-selected,.script-row-menu-colors button:hover{transform:scale(1.05)}.script-row-menu-colors button.is-selected{box-shadow:inset 0 0 0 1px rgba(0,0,0,.4)}.script-row-menu-colors button.is-none{overflow:hidden;background:#ffffff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}.script-row-menu-colors button.is-none:before{position:absolute;top:50%;left:-20%;width:140%;height:1.25px;background:#ef4444;content:"";transform:rotate(-45deg)}.script-row-menu-check{position:relative;width:12px;height:12px}.script-row-menu-divider{height:0;margin:4px 0;border:0;border-top:1px solid rgba(0,0,0,.05)}.script-row-delete{display:flex;width:100%;align-items:center;gap:8px;padding:6px 12px;color:#ef4444;font-size:12px;text-align:left;background:transparent;border:0}.script-row-delete:hover{background:var(--canvas-popover-hover)}.script-shot-delete-modal{position:fixed;z-index:1200;inset:0;display:grid;padding:24px;place-items:center;background:var(--cbi-overlay,rgba(0,0,0,.58))}.script-shot-delete-dialog{width:min(300px,calc(100vw - 48px));color:#262626;background:#ffffff;border:1px solid rgba(0,0,0,.1);border-radius:12px;box-shadow:0 24px 64px rgba(0,0,0,.28)}.script-shot-delete-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px}.script-shot-delete-dialog>header h2{margin:0;color:#171717;font-size:14px;font-weight:500;line-height:1.4}.script-shot-delete-dialog>header button{display:flex;width:24px;height:24px;flex:none;align-items:center;justify-content:center;padding:0;color:#737373;font-size:16px;background:transparent;border:0;border-radius:4px}.script-shot-delete-dialog>header button:hover{color:#262626;background:rgba(0,0,0,.05)}.script-shot-delete-body{padding:0 16px 16px}.script-shot-delete-body p{margin:0;color:#404040;font-size:14px;line-height:1.5}.script-shot-delete-body small{display:block;margin-top:4px;color:#737373;font-size:12px;line-height:1.5}.script-shot-delete-dialog>footer{display:flex;justify-content:flex-end;gap:16px;padding:0 16px 16px}.script-shot-delete-dialog>footer button{height:36px;padding:0 18px;color:#000000;font-size:14px;background:#ffffff;border:1px solid #ced4da;border-radius:4px}.script-shot-delete-dialog>footer button:hover{background:#f8f9fa}.script-shot-delete-dialog>footer button.is-danger{color:#ffffff;background:#fa5252;border-color:transparent}.script-shot-delete-dialog>footer button.is-danger:hover{background:#f03e3e}.script-panel-footer{display:flex;height:64px;align-items:center;justify-content:space-between;gap:12px;padding:0 24px;background:#ffffff;border-top:1px solid #ededed}.script-panel-footer button{min-width:0;height:32px;padding:0 20px;color:#525252;font-size:12px;font-weight:500;background:transparent;border:0;border-radius:8px}.script-panel-footer button:first-child{padding:0 12px}.script-panel-footer button:last-child{min-width:150px;color:#ffffff;background:#171717}.script-shot-page.is-assets{grid-template-rows:64px minmax(0,1fr) auto}.script-shot-page.is-assets>.script-panel-footer{height:auto;min-height:64px;flex-wrap:wrap;justify-content:flex-end;padding:12px 24px}.script-asset-workspace{min-height:0;padding:12px 24px 96px;overflow:auto;color:#141414;background:#ffffff}.script-global-style{display:flex;width:min(780px,65vw);align-items:flex-start;gap:4px;margin-bottom:16px}.script-global-style>span{display:inline-flex;height:22px;flex:0 0 auto;align-items:center;padding:0 8px;color:#07b8dd;font-size:12px;font-weight:500;line-height:20px;background:rgba(60,181,204,.1);border:1px solid #3cb5cc;border-radius:4px}.script-global-style p{margin:0;color:#919191;font-size:13px;line-height:20px}.script-asset-section{margin:0 0 24px}.script-asset-section h2{margin:0 0 8px;color:#363636;font-size:13px;font-weight:400;line-height:20px}.script-asset-grid{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}.script-asset-card{position:relative;display:flex;width:277px;min-width:277px;flex-direction:column;gap:6px;color:#141414;background:transparent;border-radius:8px;outline:0 solid transparent;cursor:pointer;transition:outline-color .16s ease,box-shadow .16s ease}.script-asset-card.is-highlighted{outline:2px solid rgba(7,184,221,.72);outline-offset:3px;box-shadow:0 0 0 6px rgba(60,181,204,.08)}.script-asset-card:focus-visible{outline:2px solid #171717;outline-offset:3px}.script-asset-card.is-selected .script-asset-image{border-color:rgba(0,0,0,.28)}.script-asset-image{position:relative;display:grid;width:277px;height:156px;margin:0;place-items:center;overflow:hidden;color:#c6c6c6;font-size:10px;background:rgba(0,0,0,.02);border:1px dashed rgba(0,0,0,.15);border-radius:8px}.script-asset-image img{width:100%;height:100%;object-fit:contain;object-position:center}.script-asset-image.is-comparison{display:block}.script-asset-comparison{display:grid;width:100%;height:100%;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px;padding:6px}.script-asset-comparison figure{position:relative;min-width:0;height:100%;margin:0;overflow:hidden;background:rgba(0,0,0,.04);border-radius:5px}.script-asset-comparison figcaption{position:absolute;z-index:1;top:5px;left:5px;padding:2px 5px;color:#ffffff;font-size:10px;line-height:14px;background:rgba(0,0,0,.62);border-radius:4px}.script-asset-comparison img{width:100%;height:100%;object-fit:cover}.script-asset-comparison figure>span{display:grid;height:100%;place-items:center;padding:20px 8px 8px;color:#919191;font-size:10px;line-height:14px;text-align:center}.script-asset-comparison-identity,.script-asset-comparison-note{position:absolute;z-index:1;right:5px;bottom:5px;max-width:calc(100% - 10px);padding:2px 5px;overflow:hidden;color:#ffffff;font-size:9px;line-height:12px;text-overflow:ellipsis;white-space:nowrap;background:rgba(0,0,0,.68);border-radius:4px}.script-asset-comparison-note{bottom:22px}.script-asset-comparison-note.is-warning{bottom:39px;color:#fef3c7}.script-asset-unified-result{position:absolute;inset:24px 5px 5px;display:grid!important;grid-template-rows:minmax(0,1fr) auto;padding:0!important;overflow:hidden;background:#ffffff;border:1px solid #e5e5e5;border-radius:4px}.script-asset-unified-result img{min-height:0}.script-asset-unified-result small{padding:2px 4px;overflow:hidden;color:#737373;font-size:8px;line-height:11px;text-overflow:ellipsis;white-space:nowrap}.script-asset-image>span{max-width:calc(100% - 24px);line-height:1.5;text-align:center}.script-asset-image>.script-asset-image-status{position:absolute;z-index:2;inset:0;display:grid;width:100%;height:100%;max-width:none;box-sizing:border-box;place-items:center;padding:24px;color:#fff;font-size:12px;font-weight:500;background:rgba(0,0,0,.58)}.script-asset-image>.script-asset-image-status.is-failed{background:rgba(94,22,22,.76)}.script-asset-card>p,.script-asset-card>strong{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.script-asset-card>strong{margin:0;color:#363636;font-size:12px;font-weight:500;line-height:16px}.script-asset-card>p{margin:0;color:#919191;font-size:10px;line-height:13px}.script-asset-menu-button{position:absolute;top:8px;right:8px;z-index:3;display:grid;width:28px;height:24px;place-items:center;padding:0;color:#525252;font-size:10px;line-height:1;letter-spacing:-1px;background:rgba(255,255,255,.92);border:0;border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.1)}.script-asset-card-menu{position:absolute;top:36px;right:8px;z-index:12;display:grid;width:142px}.script-asset-card-menu button:hover:not(:disabled){background:rgba(0,0,0,.04)}.script-asset-card-menu button:disabled{color:#c6c6c6}.script-asset-card-menu button.is-danger{color:#ef6b6b}.script-asset-card .script-asset-retry{position:static;align-self:flex-end;max-width:100%;border:1px solid #f0b7b7;border-radius:6px;padding:3px 7px;background:#fff7f7;color:#b42318;font-size:11px}.script-asset-add{display:flex;width:156px;min-width:156px;height:156px;min-height:156px;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#b8b8b8;font-size:10px;background:rgba(0,0,0,.02);border:1px dashed rgba(0,0,0,.15);border-radius:8px}.script-asset-add span{font-size:28px;font-weight:200;line-height:1}.script-asset-footer{align-items:center}.script-asset-footer p{display:flex;min-width:0;flex:1 1 auto;align-items:center;gap:8px;margin:0;color:#919191;font-size:12px;line-height:18px}.script-asset-footer p span{display:grid;width:16px;height:16px;flex:0 0 auto;place-items:center;color:#e39a35;font-size:10px;font-weight:500;border:1px solid;border-radius:999px}.script-asset-footer-actions{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto}.script-asset-evidence-control{position:relative;display:inline-flex}.script-asset-footer .script-asset-evidence-trigger{min-width:112px;color:#525252;background:#eeeeee;border:0}.script-asset-footer .script-asset-evidence-trigger:not(:disabled):hover{background:#e3e3e3}.script-asset-footer .script-asset-evidence-trigger:disabled{color:#919191;background:#eeeeee}.script-asset-evidence-tooltip{position:absolute;right:0;bottom:40px;width:max-content;max-width:260px}.script-asset-footer-actions>button:not(:last-child){color:#525252;background:#eeeeee}.script-asset-footer-actions>button:not(:last-child):not(:disabled):hover{background:#e3e3e3}.script-asset-footer button:last-child{min-width:136px}.script-prompt-footer p{gap:8px;color:#919191;font-size:12px;line-height:18px}.script-prompt-footer p span{width:16px;height:16px;font-size:10px;font-weight:500}.script-prompt-footer button:last-child{min-width:150px}.script-asset-editor-backdrop{position:absolute;inset:0;z-index:6;background:rgba(0,0,0,.34)}.script-asset-editor{position:absolute;inset:0 0 0 auto;z-index:1;display:grid;width:min(560px,100vw);min-width:0;grid-template-rows:56px minmax(0,1fr);color:#141414;background:#ffffff;border:0;box-shadow:0 1px 3px rgba(0,0,0,.05),0 36px 28px -7px rgba(0,0,0,.05),0 17px 17px -7px rgba(0,0,0,.04)}.script-asset-bulk-dialog header,.script-asset-editor header,.script-asset-picker header{display:flex;min-height:56px;align-items:center;justify-content:space-between;padding:0 16px;color:#141414;background:#ffffff;border-bottom:1px solid #ededed}.script-asset-bulk-dialog header strong,.script-asset-editor header strong,.script-asset-picker header strong{color:#363636;font-size:14px;font-weight:500}.script-asset-bulk-dialog header button,.script-asset-editor header button,.script-asset-picker header button{color:#525252;font-size:24px;background:transparent;border:0}.script-asset-editor-body{display:grid;grid-auto-rows:max-content;grid-gap:8px;gap:8px;min-height:0;padding:16px 16px 48px;overflow:auto}.script-asset-editor-body label{margin-top:0;color:#525252;font-size:14px;font-weight:400;line-height:21px}.script-asset-editor-image{position:relative;display:grid;width:100%;height:344px;min-height:344px;margin-bottom:4px;place-items:center;overflow:hidden;color:#c6c6c6;font-size:12px;background:rgba(0,0,0,.02);border:1px dashed rgba(0,0,0,.15);border-radius:8px}.script-asset-editor-image>span:last-child{position:absolute;top:8px;right:8px;display:grid;width:28px;height:28px;place-items:center;color:#ffffff;font-size:10px;background:rgba(23,23,23,.78);border-radius:4px}.script-asset-editor input,.script-asset-editor textarea{width:100%;color:#171717;font-family:inherit;font-size:13px;background:rgba(0,0,0,.04);border:0;border-radius:8px;outline:0}.script-asset-editor input{height:36px;padding:8px 12px}.script-asset-editor textarea{height:clamp(160px,28vh,240px);min-height:min(160px,28vh);max-height:min(360px,45vh);padding:12px;line-height:20px;resize:vertical}.script-asset-picker-backdrop{position:absolute;inset:0;z-index:8;display:grid;place-items:center;background:rgba(0,0,0,.6)}.script-asset-picker{display:grid;width:min(800px,calc(100vw - 32px));height:min(594px,calc(100vh - 32px));max-height:none;grid-template-rows:61px 56px minmax(0,1fr);overflow:hidden;color:#141414;background:#ffffff;border:1px solid rgba(0,0,0,.1);border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.05),0 36px 28px -7px rgba(0,0,0,.05),0 17px 17px -7px rgba(0,0,0,.04)}.script-asset-picker.is-ai{grid-template-rows:61px 56px minmax(0,1fr) 52px}.script-asset-picker.is-ai>header{border-radius:11px 11px 0 0}.script-asset-picker nav{display:flex;align-items:center;gap:24px;padding:0 16px}.script-asset-picker nav button{color:#919191;font-size:13px;font-weight:400;background:transparent;border:0}.script-asset-picker nav button[aria-selected=true]{color:#363636;font-weight:500}.script-asset-picker-empty,.script-asset-picker-prompt{margin:0 16px;padding:14px;color:#363636;font-family:inherit;font-size:13px;line-height:22px;background:rgba(0,0,0,.025);border:1px solid #ededed;border-radius:12px}.script-asset-picker-prompt{min-height:0;overflow:auto;resize:none;outline:none}.script-asset-picker-prompt:focus-visible{border-color:#919191}.script-asset-picker-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#919191;cursor:default}label.script-asset-picker-empty{cursor:pointer}.script-asset-picker-empty-icon{position:relative;display:block;width:80px;height:64px}.script-asset-picker-empty-icon:after,.script-asset-picker-empty-icon:before{position:absolute;content:""}.script-asset-picker-canvas-grid{display:grid;min-height:300px;max-height:430px;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px;overflow:auto;padding:18px}.script-asset-picker-canvas-grid button{display:grid;align-content:start;grid-gap:7px;gap:7px;border:1px solid #e5e5e5;border-radius:10px;padding:7px;background:#fff;color:#262626;text-align:left}.script-asset-picker-canvas-grid button:focus-visible,.script-asset-picker-canvas-grid button:hover{border-color:#111;outline:none}.script-asset-picker-canvas-grid img{width:100%;aspect-ratio:16/10;border-radius:7px;object-fit:cover}.script-asset-picker-canvas-grid span{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.script-asset-picker-empty-icon:before{right:0;bottom:0;width:68px;height:45px;background:linear-gradient(180deg,#f8faff,#eef2f8);border:1px solid #edf0f5;border-radius:4px 4px 10px 10px;box-shadow:0 5px 12px rgba(0,0,0,.04)}.script-asset-picker-empty-icon:after{top:3px;left:18px;width:43px;height:33px;background:linear-gradient(135deg,#858585 0 65%,#4f4f4f 65%);border-radius:5px 5px 2px 2px;transform:skewY(1deg)}.script-asset-generation-footer{display:flex;min-width:0;height:52px;align-items:center;gap:8px;color:#525252;font-size:12px;background:transparent;border-top:0}.script-asset-picker>.script-asset-generation-footer{padding:8px 16px}.script-asset-generation-actions{display:inline-flex;flex:0 0 auto;align-items:center;gap:8px;margin-left:auto}.script-asset-generation-cost{display:inline-flex;min-width:32px;height:15px;align-items:center;gap:2px;color:#919191;line-height:15px}.script-asset-generation-cost-icon{width:10px;height:14px;flex:0 0 10px;fill:currentcolor}.script-asset-generation-submit{display:inline-flex;height:32px;align-items:center;justify-content:center;margin-left:0;padding:0 12px;color:#ffffff;font-size:13px;font-weight:400;background:#171717;border:0;border-radius:8px}.script-asset-generation-submit:hover:not(:disabled){background:#363636}.script-asset-generation-submit:disabled{color:#b8b8b8;background:#171717}.script-asset-generation-footer .script-asset-batch-config{flex:0 1 auto}.script-asset-bulk-dialog,.script-final-prompt-dialog,.script-final-prompt-viewer{color:#141414;background:#ffffff;border-color:rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.05),0 36px 28px -7px rgba(0,0,0,.05),0 17px 17px -7px rgba(0,0,0,.04)}.script-asset-bulk-dialog{width:min(800px,calc(100vw - 32px));height:min(566px,calc(100vh - 32px));max-height:none;grid-template-rows:60px minmax(0,1fr);font-weight:400;line-height:24.8px;border:1px solid rgba(0,0,0,.1);border-radius:12px}.script-asset-bulk-dialog header{min-height:60px;padding:16px 11px 16px 16px;color:#141414;background:#ffffff;border-bottom:1px solid #ededed}.script-asset-bulk-dialog header strong{color:#363636;font-size:16px;font-weight:500;line-height:16px}.script-asset-bulk-dialog header button{display:grid;width:28px;height:28px;place-items:center;padding:0;color:#495057;font-size:0;line-height:16px;border-radius:4px}.script-asset-bulk-dialog header button:hover{background:#f1f3f5}.script-asset-bulk-dialog header button:focus-visible{outline:2px solid #a5d8ff;outline-offset:1px}.script-asset-bulk-body{display:grid;min-height:0;grid-template-rows:minmax(0,1fr) auto;padding:16px;background:#ffffff}.script-asset-bulk-list{max-height:420px;padding:0;overflow:auto;color:#141414;background:transparent}.script-asset-bulk-list section{margin:0 0 12px}.script-asset-bulk-list section+section{margin-top:0}.script-asset-bulk-list h3{margin:0 0 6px;line-height:17.05px}.script-asset-bulk-row{display:flex;align-items:flex-start;gap:8px;padding:8px 12px;color:#141414;border:1px solid rgba(0,0,0,.1);border-radius:6px}.script-asset-bulk-row+.script-asset-bulk-row{margin-top:4px}.script-asset-bulk-row input[type=checkbox]{width:14px;height:14px;flex:0 0 14px;margin:4px 0 0;accent-color:#141414}.script-asset-bulk-row-content{display:block;min-width:0;flex:1 1 auto}.script-asset-bulk-row-heading{display:flex;align-items:center;gap:6px}.script-asset-bulk-row-actions{width:0;flex:0 0;padding-top:4px}.script-asset-bulk-row strong{font-size:12px;line-height:16px}.script-asset-bulk-row small{display:inline-block;padding:1px 4px;font-size:9px;font-weight:400;line-height:13.95px;vertical-align:top;background:rgba(0,0,0,.05);border-radius:4px}.script-asset-bulk-row textarea{display:inline-block;width:100%;min-height:44px;margin-top:4px;padding:4px 8px;overflow:auto;font-size:11px;font-weight:400;line-height:17.05px;resize:none;border:1px solid rgba(0,0,0,.1);border-radius:4px}.script-asset-bulk-body>.script-asset-generation-footer{margin-top:16px;padding:8px 0}.script-asset-evidence-quote-feedback{margin:8px 0 -8px;color:#919191;font-size:11px;line-height:16px}.script-asset-evidence-quote-feedback[role=alert]{color:#b42318}.script-asset-generation-footer>label{display:flex;flex:0 0 auto;align-items:center;gap:6px;margin-right:0;font-weight:400;font-size:12px;line-height:20.15px}.script-asset-generation-footer>label input{width:14px;height:14px;margin:0;accent-color:#141414}.script-asset-batch-config{display:flex;min-width:0;gap:4px;align-items:center;transform:translateY(2px)}.script-asset-batch-config-item{position:relative;display:inline-flex}.script-asset-batch-config .script-asset-batch-config-chip{display:inline-flex;width:auto;height:32px;align-items:center;gap:4px;margin:0;padding:0 8px;color:#525252;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,sans-serif;font-size:13px;font-weight:400;line-height:20.15px;white-space:nowrap;background:transparent;border:0;border-radius:8px}.script-asset-batch-config .script-asset-batch-config-chip:hover,.script-asset-batch-config .script-asset-batch-config-chip[aria-expanded=true]{color:#171717;background:rgba(0,0,0,.04)}.script-asset-batch-config .script-asset-batch-config-chip:disabled{color:#b8b8b8;background:transparent}.script-asset-batch-config-chip>span{max-width:148px;overflow:hidden;text-overflow:ellipsis}.script-asset-batch-model-icon{width:14px;height:14px;flex:0 0 14px;border-radius:3px}.script-asset-batch-config-menu{position:absolute;bottom:36px;left:0;z-index:20;display:grid;min-width:120px;max-height:300px;overflow:auto}.script-asset-batch-config-item.is-model .script-asset-batch-config-menu{min-width:168px;max-width:260px}.script-asset-batch-config-item.is-quality .script-asset-batch-config-menu{width:132px}.script-asset-batch-config-item.is-aspectRatio .script-asset-batch-config-menu,.script-asset-batch-config-item.is-imageSize .script-asset-batch-config-menu{width:120px}.script-asset-batch-config .script-asset-batch-config-menu button{display:grid;width:100%;height:var(--canvas-popover-item-height);min-height:var(--canvas-popover-item-height);grid-template-columns:14px minmax(0,1fr) 14px;align-items:center;grid-gap:var(--canvas-popover-item-gap);gap:var(--canvas-popover-item-gap);margin:0;padding:0 var(--canvas-popover-item-padding-x);color:var(--canvas-popover-ink);font-size:var(--canvas-popover-item-font-size);font-weight:400;line-height:var(--canvas-popover-item-line-height);text-align:left;background:transparent;border:0;border-radius:var(--canvas-popover-item-radius)}.script-asset-batch-config .script-asset-batch-config-menu button:hover{background:var(--canvas-popover-hover)}.script-asset-batch-config .script-asset-batch-config-menu button[aria-selected=true]{background:var(--canvas-popover-active);font-weight:500}.script-asset-batch-config-menu button>span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.script-asset-batch-menu-check,.script-asset-batch-menu-icon{display:grid;width:14px;height:14px;place-items:center}.script-asset-batch-menu-check{justify-self:end}.script-final-prompt-dialog{width:min(800px,calc(100vw - 32px));max-height:85vh;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;border:1px solid #e5e6ec;border-radius:16px}.script-final-prompt-dialog header,.script-final-prompt-viewer header{min-height:53px;padding:16px 16px 12px;color:#363636;background:#ffffff;border-bottom:1px solid #e5e6ec}.script-final-prompt-dialog header strong,.script-final-prompt-viewer header strong{color:#363636;font-size:14px;font-weight:500;line-height:20px}.script-final-prompt-title{display:flex;min-width:0;flex:1 1 auto;align-items:center;gap:4px}.script-final-prompt-overwrite-help{position:relative;display:inline-flex}.script-final-prompt-dialog header .script-final-prompt-overwrite-help button{width:18px;height:18px;color:#919191;font-size:0}.script-final-prompt-overwrite-help button:focus-visible{outline:2px solid #737373;outline-offset:2px;border-radius:999px}.script-final-prompt-overwrite-help [role=tooltip]{position:absolute;z-index:5;top:calc(100% + 8px);left:0;width:max-content;max-width:min(320px,calc(100vw - 64px));padding:8px 10px;color:#ffffff;font-size:12px;font-weight:400;line-height:18px;background:#363636;border-radius:6px;opacity:0;pointer-events:none;transform:translateY(-2px);transition:opacity .12s ease,transform .12s ease}.script-final-prompt-overwrite-help:focus-within [role=tooltip],.script-final-prompt-overwrite-help:hover [role=tooltip]{opacity:1;transform:translateY(0)}.script-final-prompt-dialog header button,.script-final-prompt-viewer header button{display:grid;width:24px;height:24px;place-items:center;padding:0;color:#525252;font-size:24px;line-height:1}.script-final-prompt-list{min-height:0;margin:16px;padding:0;overflow:auto;color:#363636;background:#ffffff;border:1px solid #e5e6ec;border-radius:8px}.script-final-prompt-row{min-height:41px;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:12px;color:#363636;background:transparent;border:0;border-bottom:1px solid #e5e6ec}.script-final-prompt-row+.script-final-prompt-row{border-top:0}.script-final-prompt-row:last-child{border-bottom:0}.script-final-prompt-row label{grid-template-columns:16px minmax(44px,max-content) minmax(0,1fr);gap:8px;color:#363636}.script-final-prompt-dialog footer input,.script-final-prompt-row input{width:16px;height:16px;margin:0;accent-color:#141414}.script-final-prompt-row strong{color:#363636;font-size:12px;font-weight:500;line-height:16px;white-space:nowrap}.script-final-prompt-row button,.script-final-prompt-row span{color:#919191;font-size:12px;line-height:16px}.script-final-prompt-row button{padding:0}.script-final-prompt-viewer pre{color:#525252;background:#f7f7f7;border-color:#ededed}.script-final-prompt-dialog footer{min-height:65px;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:16px 16px 16px 28px;color:#363636;font-size:12px;line-height:16px;background:#ffffff;border-top:1px solid #e5e6ec}.script-final-prompt-footer-left,.script-final-prompt-footer-right{display:flex;min-width:0;max-width:100%;flex-wrap:wrap;align-items:center;gap:8px}.script-final-prompt-footer-right{justify-content:flex-end;margin-left:auto}.script-final-prompt-modes,.script-final-prompt-selection,.script-final-prompt-submit-group{display:flex;align-items:center;gap:8px}.script-final-prompt-modes,.script-final-prompt-selection{flex:0 0 auto;white-space:nowrap}.script-final-prompt-submit-group{max-width:100%;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end}.script-final-prompt-dialog footer button{flex-shrink:0;white-space:nowrap}.script-final-prompt-dialog footer label:has(select){flex:0 0 auto}.script-final-prompt-dialog footer .script-final-prompt-model-wrap{flex-shrink:0}.script-final-prompt-footer-left .script-final-prompt-model-wrap{min-width:0;max-width:100%}.script-final-prompt-dialog footer label:has(select),.script-final-prompt-viewer-footer label:has(select){min-width:0;max-width:100%}.script-final-prompt-dialog footer select,.script-final-prompt-viewer-footer select{min-width:0;max-width:240px;flex:0 1 auto}.script-final-prompt-dialog footer label{display:flex;align-items:center;gap:6px;color:#363636;white-space:nowrap}.script-final-prompt-dialog footer .script-final-prompt-model,.script-final-prompt-viewer-footer .script-final-prompt-model{display:inline-flex;min-width:0;height:32px;max-width:240px;flex:0 1 auto;align-items:center;justify-content:space-between;gap:4px;margin-left:0;padding:4px 8px;overflow:hidden;color:#363636;font-size:13px;font-weight:400;line-height:20px;background:rgba(0,0,0,.05);border:0;border-radius:8px}.script-final-prompt-dialog footer .script-final-prompt-model:hover,.script-final-prompt-dialog footer .script-final-prompt-model[aria-expanded=true],.script-final-prompt-viewer-footer .script-final-prompt-model:hover,.script-final-prompt-viewer-footer .script-final-prompt-model[aria-expanded=true]{color:#171717;background:rgba(0,0,0,.08)}.script-final-prompt-dialog footer .script-final-prompt-model:disabled,.script-final-prompt-viewer-footer .script-final-prompt-model:disabled{color:#b8b8b8;background:#f5f5f5;cursor:not-allowed}.script-final-prompt-dialog footer label:has(input:disabled),.script-final-prompt-viewer-footer label:has(input:disabled){color:#b8b8b8;cursor:not-allowed}.script-final-prompt-model-wrap{display:inline-flex;min-width:0}:where(.script-final-prompt-model-menu){--canvas-popover-surface:#ffffff;--canvas-popover-border:rgba(0,0,0,0.06);--canvas-popover-ink:#262626;--canvas-popover-ink-muted:#919191;--canvas-popover-hover:rgba(0,0,0,0.05);--canvas-popover-active:rgba(0,0,0,0.08);--canvas-popover-shadow:0 4px 10px rgba(0,0,0,0.12),0 2px 4px rgba(0,0,0,0.06)}.script-final-prompt-model-menu{position:fixed;z-index:300;width:248px;max-width:calc(100vw - 32px);max-height:min(400px,calc(100vh - 16px));overflow-y:auto;overscroll-behavior:contain}.script-final-prompt-model-options{display:flex;flex-direction:column;gap:var(--canvas-popover-row-gap)}.script-final-prompt-model-option{display:flex;width:100%;height:52px;align-items:center;gap:4px;margin:0;padding:8px;color:#141414;text-align:left;background:transparent;border:0;border-radius:12px;cursor:pointer;transition:background .2s ease}.script-final-prompt-model-option:focus-visible,.script-final-prompt-model-option:hover{background:rgba(0,0,0,.05)}.script-final-prompt-model-option[aria-selected=true]{background:rgba(0,0,0,.08)}.script-final-prompt-model-icon,.script-final-prompt-model-option-icon{color:#363636;background:#f7f7f7;border-color:#ededed}.script-final-prompt-model-icon{width:16px;height:16px;flex:0 0 16px;border-radius:4px}.script-final-prompt-model-option-icon{width:34px;height:34px;flex:0 0 34px;border-radius:8px}.script-final-prompt-model-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.script-final-prompt-model-chevron{display:inline-flex;width:14px;height:14px;flex:0 0 14px;color:#919191;transition:transform .15s ease}.script-final-prompt-model[aria-expanded=true] .script-final-prompt-model-chevron{transform:rotate(180deg)}.script-final-prompt-model-option-copy{display:flex;height:36px;min-width:0;flex:1 1 auto;flex-direction:column;justify-content:center;overflow:hidden;padding-right:6px}.script-final-prompt-model-option-copy[data-has-description=true]{justify-content:flex-start;transform:translateY(8px);transition:transform .12s ease}.script-final-prompt-model-option-copy strong,.script-final-prompt-model-option-description{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.script-final-prompt-model-option-copy strong{font-size:14px;font-weight:500;line-height:20px}.script-final-prompt-model-option-description{color:#919191;font-size:12px;font-weight:400;line-height:16px;opacity:0;transition:opacity .12s ease}.script-final-prompt-model-option:focus-visible .script-final-prompt-model-option-copy[data-has-description=true],.script-final-prompt-model-option:hover .script-final-prompt-model-option-copy[data-has-description=true],.script-final-prompt-model-option[aria-selected=true] .script-final-prompt-model-option-copy[data-has-description=true]{transform:translateY(0)}.script-final-prompt-model-option:focus-visible .script-final-prompt-model-option-description,.script-final-prompt-model-option:hover .script-final-prompt-model-option-description,.script-final-prompt-model-option[aria-selected=true] .script-final-prompt-model-option-description{opacity:1}.script-final-prompt-model-option-estimate{display:inline-flex;box-sizing:border-box;min-width:35px;height:20px;flex:0 0 auto;align-items:center;justify-content:center;padding:0 8px;color:#525252;font-size:12px;font-weight:400;line-height:12px;text-align:center;background:transparent;border-radius:999px}.script-final-prompt-model-option[aria-selected=true] .script-final-prompt-model-option-estimate{background:rgba(255,255,255,.72)}@media (hover:none),(pointer:coarse){.script-final-prompt-model-option-copy[data-has-description=true]{transform:translateY(0)}.script-final-prompt-model-option-description{opacity:1}}.script-final-prompt-cost{display:inline-flex;align-items:center;gap:4px;color:#919191;white-space:nowrap}.script-final-prompt-cost-error{white-space:normal;gap:8px}.script-final-prompt-cost-reason{display:block;font-size:inherit}.script-final-prompt-requote{flex:0 0 auto;padding:4px 8px;border:1px solid;border-radius:6px;color:inherit;background:transparent;font:inherit;cursor:pointer}.script-final-prompt-spinner{flex:0 0 auto;animation:script-final-prompt-spin .9s linear infinite}@keyframes script-final-prompt-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.script-final-prompt-spinner{animation:none}}.script-final-prompt-dialog footer .script-final-prompt-confirm,.script-final-prompt-viewer-footer .script-final-prompt-confirm{display:grid;flex:0 0 auto;place-items:center;white-space:nowrap}.script-final-prompt-submit-label,.script-final-prompt-submit-progress{grid-area:1/1}.script-final-prompt-submit-progress{display:inline-flex;align-items:center;gap:6px}.script-final-prompt-confirm[aria-busy=false] .script-final-prompt-submit-progress,.script-final-prompt-confirm[aria-busy=true] .script-final-prompt-submit-label{visibility:hidden}.script-final-prompt-dialog footer .script-final-prompt-confirm{height:32px;margin-left:0;padding:0 14px;color:#ffffff;font-size:12px;font-weight:500;white-space:nowrap;background:#171717;border:0;border-radius:8px}.script-final-prompt-dialog footer .script-final-prompt-confirm:disabled{color:#b8b8b8;background:#ededed}.script-final-prompt-dialog footer .script-final-prompt-confirm[aria-busy=true]:disabled{color:#4f4f4f;background:#e0e0e0}.script-final-prompt-viewer{width:min(800px,calc(100vw - 32px));min-width:0;height:min(600px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;color:#363636;background:#ffffff;border:0;border-radius:16px}.script-final-prompt-viewer>.script-final-prompt-editor-body{display:grid;min-width:0;grid-template-columns:minmax(0,1fr);align-content:start;grid-gap:18px;gap:18px;overscroll-behavior:contain;scrollbar-gutter:stable;color:#363636;background:#ffffff}.script-final-prompt-editor-body>label{display:grid;min-width:0;grid-template-columns:minmax(0,1fr);grid-gap:8px;gap:8px;color:#363636;font-size:13px;font-weight:500}.script-final-prompt-editor-body>label small{margin-left:6px;color:#1f9d63;font-size:11px;font-weight:400}.script-final-prompt-editor-body>label .script-final-prompt-track-status.is-stale{color:#d97706}.script-final-prompt-editor-body>label .script-final-prompt-track-status.is-generating{color:#2563eb}.script-final-prompt-editor-body>label .script-final-prompt-track-status.is-failed{color:#dc2626}.script-final-prompt-editor-body>label .script-final-prompt-track-status.is-pending{color:#8a8a8a}.script-final-prompt-editor-body textarea{width:100%;min-width:0;max-width:100%;height:132px;min-height:132px;resize:vertical;padding:12px 14px;color:#363636;font:inherit;font-weight:400;line-height:1.65;background:#f7f7f7;border:1px solid #ededed;border-radius:8px;outline:0}.script-final-prompt-editor-body textarea:focus{background:#ffffff;border-color:#a3a3a3}.script-final-prompt-mentions{display:flex;flex-wrap:wrap;gap:6px}.script-final-prompt-mentions span{max-width:100%;padding:3px 8px;color:#525252;font-size:11px;overflow-wrap:anywhere;background:#f1f1f2;border-radius:999px}.script-final-prompt-viewer-footer{display:flex;flex-wrap:wrap;min-height:65px;align-items:center;gap:10px;padding:12px 16px;color:#525252;font-size:12px;background:#ffffff;border-top:1px solid #e5e6ec}.script-final-prompt-viewer-footer label{display:flex;align-items:center;gap:5px;white-space:nowrap}.script-final-prompt-viewer-footer input{accent-color:#171717}.script-final-prompt-viewer-footer button{flex:0 0 auto;height:32px;padding:0 12px;white-space:nowrap;color:#363636;background:#ffffff;border:1px solid #dedede;border-radius:8px}.script-final-prompt-viewer-footer button:disabled{color:#b8b8b8;background:#f5f5f5}.script-final-prompt-viewer-footer .script-final-prompt-confirm{margin-left:auto;color:#ffffff;background:#171717;border-color:#171717}.script-final-prompt-save-state{color:#919191;white-space:nowrap}.script-asset-bulk-list h3{color:#919191;font-size:11px;font-weight:500}.script-asset-bulk-row{background:transparent;border-color:rgba(0,0,0,.1)}.script-asset-bulk-row input[type=checkbox],.script-asset-generation-footer>label input{accent-color:#171717}.script-asset-bulk-row strong{color:#363636;font-weight:500}.script-asset-bulk-row small{color:#919191;background:rgba(0,0,0,.04)}.script-asset-bulk-row textarea{color:#86909c;background:transparent;border-color:rgba(0,0,0,.1);outline:0}.script-asset-bulk-row textarea:focus{border-color:#b8b8b8}.script-asset-bulk-body>.script-asset-generation-footer{color:#525252;border-top-color:transparent}@media (max-width:900px){.script-shot-header{gap:10px;padding:0 12px}.script-shot-header p{display:none}.script-panel-progress{position:static;width:100%;max-width:none;height:56px;flex:1 1 auto;justify-content:space-between;gap:4px;transform:none}.script-panel-step{padding:4px}.script-panel-connector{width:auto;min-width:8px;max-width:40px;flex:1 1 24px}.script-panel-step-copy small{display:none}.script-panel-step-copy strong{font-size:12px;line-height:18px}.script-global-style{width:100%}}@media (max-width:520px){.script-panel-step-copy{display:none}.script-panel-step{min-width:44px}}.node-connect-handle.react-flow__handle{position:absolute;top:50%;z-index:7;display:grid;width:6px;height:6px;place-items:center;padding:0;color:rgba(255,255,255,.62);font-size:0;line-height:1;background:transparent;border:0;border-radius:999px;cursor:crosshair;opacity:1;overflow:visible;pointer-events:auto}.node-connect-handle-left.react-flow__handle-left{left:0;right:auto;transform:translateY(-50%)}.node-connect-handle-right.react-flow__handle-right{right:0;left:auto;transform:translateY(-50%)}.node-connect-handle-action.react-flow__handle{cursor:crosshair}.node-connect-handle-action.react-flow__handle:before{position:absolute;top:50%;width:104px;height:96px;background:transparent;content:"";pointer-events:auto;transform:translateY(-50%)}.node-connect-handle-action.node-connect-handle-left:before{right:0}.node-connect-handle-action.node-connect-handle-right:before{left:0}.node-connect-handle-target.react-flow__handle:after{width:6px;height:6px;background:currentColor;border-radius:999px;content:"";grid-area:1/1;opacity:0;transition:opacity .16s ease}.node-connect-handle-target.react-flow__handle.connectingto:after,.node-connect-handle-target.react-flow__handle.valid:after,.react-flow__node:hover .node-connect-handle-target.react-flow__handle:after{opacity:.78}.node-handle-follow{position:absolute;top:50%;display:block;width:104px;height:96px;cursor:crosshair;opacity:0;pointer-events:none;transform:translateY(-50%);transition:opacity .16s ease}.node-handle-follow-left{right:0}.node-handle-follow-right{left:0}.node-handle-plus{--handle-follow-x:0px;--handle-follow-y:0px;--handle-reveal-x:0px;position:absolute;top:50%;display:grid;width:24px;height:24px;place-items:center;padding:0;color:var(--canvas-add-node-plus-ink,#686868);font-size:0;line-height:1;background:var(--canvas-add-node-plus-surface,#ffffff);border:2px solid var(--canvas-add-node-plus-stroke,#8a8a8a);border-radius:999px;box-shadow:0 1px 3px var(--canvas-add-node-plus-shadow,rgba(30,31,33,.18));cursor:crosshair;opacity:0;pointer-events:none;transform:translate(calc(var(--handle-follow-x) + var(--handle-reveal-x)),calc(-50% + var(--handle-follow-y)));transition:color .16s ease,opacity .16s ease,background-color .16s ease,box-shadow .16s ease,transform .4s cubic-bezier(.34,1.56,.64,1)}.audio-node .node-handle-plus{width:20px;height:20px;border-width:1px}.node-handle-plus:before{background:linear-gradient(currentColor,currentColor) 50% /10px 2px no-repeat,linear-gradient(currentColor,currentColor) 50% /2px 10px no-repeat;content:"";grid-area:1/1;width:100%;height:100%}.node-handle-plus-left{--handle-reveal-x:24px;right:30px}.node-handle-plus-right{--handle-reveal-x:-24px;left:30px}.canvas-flow-shell:not([data-block-node-selection-ui=true]) .react-flow__node:hover .node-handle-follow,.canvas-node-selection-state[data-active-selection=true] .node-handle-follow,.node-connect-handle.react-flow__handle.connectingfrom .node-handle-follow,.node-connect-handle.react-flow__handle.connectingto .node-handle-follow,.node-connect-handle.react-flow__handle.valid .node-handle-follow,.node-connect-handle.react-flow__handle:focus-visible .node-handle-follow{opacity:1;pointer-events:auto}.node-connect-handle.react-flow__handle.connectingfrom .node-handle-follow{opacity:0;pointer-events:none}.canvas-flow-shell .react-flow__node .image-node[data-crop-active=true] .node-handle-follow,.image-node[data-crop-active=true] .node-connect-handle.react-flow__handle,.image-node[data-crop-active=true] .node-connect-handle.react-flow__handle:before{pointer-events:none}.canvas-flow-shell:not([data-block-node-selection-ui=true]) .react-flow__node:hover .node-handle-plus,.canvas-node-selection-state[data-active-selection=true] .node-handle-plus,.node-connect-handle.react-flow__handle.connectingto .node-handle-plus,.node-connect-handle.react-flow__handle.valid .node-handle-plus,.node-connect-handle.react-flow__handle:focus-visible .node-handle-plus{--handle-reveal-x:0px;opacity:1}.node-connect-handle.react-flow__handle.connectingfrom .node-handle-plus{opacity:0}.canvas-flow-shell .react-flow__node .image-node[data-crop-active=true] .node-handle-follow,.canvas-flow-shell .react-flow__node .image-node[data-crop-active=true] .node-handle-plus{opacity:0;pointer-events:none}.canvas-flow-shell[data-connecting=true] .node-handle-plus{opacity:0!important;transition:none}.node-connect-handle.react-flow__handle.connectingfrom .node-handle-plus,.node-connect-handle.react-flow__handle.connectingto .node-handle-plus,.node-connect-handle.react-flow__handle.valid .node-handle-plus,.node-connect-handle.react-flow__handle:focus-visible .node-handle-plus,.node-handle-follow:hover .node-handle-plus{color:var(--canvas-add-node-plus-ink-hover,#4f4f4f)}.node-connect-handle.react-flow__handle.connectingfrom .node-handle-plus,.node-connect-handle.react-flow__handle.connectingto .node-handle-plus,.node-connect-handle.react-flow__handle.valid .node-handle-plus,.node-handle-follow:hover .node-handle-plus{background-color:var(--canvas-add-node-plus-surface,#ffffff);box-shadow:0 0 0 6px var(--canvas-add-node-plus-ring,rgba(30,31,33,.08))}.canvas-add-connection-path{stroke:var(--canvas-theme-ink-muted,var(--edge));stroke-opacity:.72;stroke-width:2}.canvas-add-connection-flow{opacity:1}.canvas-add-connection-path-invalid{stroke:rgba(190,190,190,.72);stroke-opacity:.86}@media (prefers-reduced-motion:reduce){.canvas-add-connection-flow{display:none}}.canvas-pending-connection-preview{position:absolute;overflow:visible;width:1px;height:1px;pointer-events:none}.canvas-invalid-connection-label{pointer-events:none}.canvas-invalid-connection-label rect{fill:var(--canvas-theme-danger-soft,rgba(180,35,24,.08));fill:color-mix(in srgb,var(--canvas-theme-danger,#b42318) 10%,transparent);stroke:var(--canvas-theme-danger-border,rgba(180,35,24,.18));stroke-width:1}.canvas-invalid-connection-label text{fill:var(--canvas-theme-danger,#b42318);font-family:inherit;font-size:16px;font-weight:600}.media-upload-status{position:absolute;left:50%;bottom:var(--media-upload-status-bottom,12px);z-index:8;display:flex;max-width:calc(100% - 24px);align-items:center;gap:8px;padding:6px 9px;border:1px solid color-mix(in srgb,var(--node-text) 18%,transparent);border-radius:8px;background:color-mix(in srgb,var(--node-surface) 88%,transparent);color:var(--node-text);font-size:11px;line-height:16px;transform:translateX(-50%);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.media-upload-status.is-failed{border-color:color-mix(in srgb,#ff6b6b 45%,transparent)}.media-upload-status>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-upload-retry{flex:none;color:#8fb8ff;cursor:pointer;font-weight:600}.media-upload-upgrade{border:0;padding:0;background:none;font-family:inherit;font-size:inherit;line-height:inherit}.media-upload-retry input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}.image-camera-trigger-icon{position:relative;display:block;width:16px;height:16px}.image-camera-trigger-icon img{position:absolute;top:-1.25px;left:-1.25px;width:18.5px;height:18.5px}.prompt-composer-toolbar button.image-camera-trigger{width:32px;height:32px;flex:0 0 32px;padding:0}.image-preset-control{position:relative;display:inline-flex;width:32px;height:32px;flex:0 0 32px}.prompt-composer-toolbar button.image-prompt-preset-trigger:disabled,.prompt-composer-toolbar button.image-prompt-preset-trigger[aria-disabled=true]{cursor:not-allowed;opacity:.45}.prompt-composer-toolbar button.image-prompt-preset-trigger:disabled:focus-within,.prompt-composer-toolbar button.image-prompt-preset-trigger:disabled:hover,.prompt-composer-toolbar button.image-prompt-preset-trigger[aria-disabled=true]:focus-visible,.prompt-composer-toolbar button.image-prompt-preset-trigger[aria-disabled=true]:hover{color:inherit;background:transparent;border-color:transparent;box-shadow:none}.prompt-preset-disabled-tooltip{position:absolute;left:50%;bottom:calc(100% + 8px);z-index:14;width:max-content;max-width:min(260px,calc(100vw - 32px));white-space:normal;transform:translate(-50%,4px)}.image-prompt-preset-control:focus-within .prompt-preset-disabled-tooltip,.image-prompt-preset-control:hover .prompt-preset-disabled-tooltip,.image-prompt-preset-control[data-hint-visible=true] .prompt-preset-disabled-tooltip{opacity:1;transform:translate(-50%);visibility:visible}.image-preset-conflict-tooltip{position:absolute;left:50%;bottom:calc(100% + 8px);z-index:14;transform:translate(-50%,4px)}.image-preset-control:focus-within .image-preset-conflict-tooltip,.image-preset-control:hover .image-preset-conflict-tooltip{opacity:1;transform:translate(-50%);visibility:visible}.image-camera-dialog{position:fixed;z-index:1001;display:grid;width:min(640px,calc(100vw - 34px));height:min(345px,calc(100vh - 34px));box-sizing:content-box;grid-template-rows:48px minmax(0,261px) 36px;overflow:hidden;color:var(--canvas-theme-ink,#141414);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Inter,Noto Sans SC,Microsoft YaHei,sans-serif;background:var(--canvas-theme-surface,#fff);border:1px solid var(--canvas-theme-border,rgb(242,243,245));border-radius:8px;box-shadow:0 4px 10px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.2),0 1px 3px rgba(0,0,0,.05),0 20px 25px -5px rgba(0,0,0,.05),0 10px 10px -5px rgba(0,0,0,.04)}.image-camera-dialog-prompt-anchored{position:absolute}.image-camera-dialog button{color:inherit;font:inherit}.image-camera-dialog-header{display:flex;height:48px;box-sizing:border-box;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--canvas-theme-border,rgb(242,243,245))}.image-camera-dialog-header h2{margin:0;font-size:14px;font-weight:500;line-height:20px}.image-camera-close{display:grid;width:24px;height:24px;padding:0;place-items:center;cursor:pointer;background:transparent;border:0;border-radius:8px}.image-camera-close svg{width:14px;height:14px;color:var(--canvas-theme-ink-muted,#525252);fill:currentColor}.image-camera-close:hover{background:var(--canvas-theme-surface-soft,rgba(0,0,0,.04))}.image-camera-dialog-content{display:flex;min-width:0;min-height:0;align-items:flex-start;justify-content:flex-start;gap:4px;padding:20px 24px;overflow-x:auto;overflow-y:hidden}.image-camera-wheel{position:relative;display:grid;width:120px;height:221px;flex:0 0 120px;grid-template-rows:20px 156px 20px 25px;justify-items:center}.image-camera-wheel-arrow{display:grid;width:20px;height:20px;padding:0;place-items:center;cursor:pointer;background:transparent;border:0;border-radius:4px}.image-camera-wheel-arrow svg{width:14px;height:14px;color:var(--canvas-theme-ink-muted,#525252);fill:currentColor}.image-camera-wheel-arrow-up svg{transform:rotate(180deg)}.image-camera-wheel-arrow:disabled{cursor:default;opacity:.4}.image-camera-wheel-viewport{position:relative;width:120px;height:156px;overflow:clip}.image-camera-wheel-track{position:absolute;z-index:3;top:0;left:0;width:120px;transform:translateY(var(--image-camera-wheel-translate));transition:transform .3s cubic-bezier(0,0,.2,1)}.image-camera-wheel-option{display:flex;width:120px;height:96px;flex-direction:column;align-items:center;justify-content:flex-end;padding:0 0 16px;cursor:pointer;background:transparent;border:0}.prompt-composer .image-camera-dialog .image-camera-wheel-option[data-selected=true]{background:transparent}.image-camera-wheel-frame{position:absolute;z-index:2;top:30px;left:16px;width:88px;height:96px;box-sizing:border-box;pointer-events:none;background:var(--canvas-theme-surface-soft,rgba(0,0,0,.04));border:.5px solid var(--canvas-theme-border-strong,rgb(229,230,236));border-radius:12px}.image-camera-wheel-kind{display:block;margin-top:8px;color:var(--canvas-theme-ink-muted,#525252);font-size:11px;font-weight:400;line-height:17.05px;text-align:center}.image-camera-wheel-asset{display:block;width:40px;height:40px;opacity:.5;border-radius:4px;object-fit:cover;transition:.2s cubic-bezier(.4,0,.2,1)}.image-camera-wheel-option[data-selected=true] .image-camera-wheel-asset{width:48px;height:48px;opacity:1}.image-camera-wheel-focal{color:var(--canvas-theme-ink,#141414);font-size:20px;font-weight:500;line-height:28px;opacity:.5;transition:.2s cubic-bezier(.4,0,.2,1)}.image-camera-wheel-option[data-visual=focal]{justify-content:center;padding:16px 0 0}.image-camera-wheel-option[data-selected=true] .image-camera-wheel-focal{color:var(--canvas-theme-ink,#141414);font-size:24px;font-weight:600;line-height:32px;opacity:1}.image-camera-wheel-value{align-self:end;width:120px;max-width:120px;overflow:hidden;color:var(--canvas-theme-ink-muted,#525252);font-size:11px;font-weight:400;line-height:17.05px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.image-camera-wheel-separator{position:relative;width:16px;height:56px;flex:0 0 16px;align-self:center}.image-camera-wheel-separator:before{position:absolute;top:0;left:7.5px;width:1px;height:56px;content:"";background:var(--canvas-theme-border,rgba(0,0,0,.06))}.image-camera-dialog-footer{display:flex;height:36px;box-sizing:border-box;align-items:flex-start;justify-content:flex-end;padding:0 16px 16px}.image-camera-switch{display:inline-flex;height:20px;flex:none;align-items:center;gap:8px;color:var(--canvas-theme-ink-muted,#525252);font-size:13px;font-weight:400;line-height:20.15px;cursor:pointer}.image-camera-switch-control{position:relative;width:38px;height:20px;flex:none;padding:0;cursor:pointer;background:color-mix(in srgb,var(--canvas-theme-ink,#141414) 15%,transparent);border:0;border-radius:1000px;transition:background .15s ease}.image-camera-switch-control>span{position:absolute;top:3px;left:3px;width:14px;height:14px;background:var(--canvas-theme-surface,#fff);border-radius:1000px;transition:transform .15s ease}.image-camera-switch-control[aria-checked=true]{background:var(--canvas-theme-ink,rgb(23,23,23))}.image-camera-switch-control[aria-checked=true]>span{transform:translateX(18px)}.image-camera-close:focus-visible,.image-camera-switch-control:focus-visible,.image-camera-wheel-arrow:focus-visible,.image-camera-wheel-option:focus-visible{outline:2px solid var(--canvas-theme-neutral-focus-border,rgba(255,255,255,.54));outline-offset:2px}@media (max-width:720px){.audio-voice-dialog-backdrop{padding:16px}.audio-voice-dialog{width:calc(100vw - 32px);max-width:calc(100vw - 32px);height:calc(100vh - 32px);max-height:calc(100vh - 32px)}.audio-voice-button{width:96px;font-size:12px}.audio-settings-range{grid-template-columns:minmax(88px,1fr) minmax(100px,176px) 56px;gap:8px}.audio-settings-range output{width:56px}.audio-effect-segmented{grid-template-columns:repeat(5,minmax(72px,1fr));overflow-x:auto}.audio-voice-dialog-controls{flex-wrap:wrap}.audio-voice-clone{margin-left:0}.audio-voice-search{order:2;flex-basis:100%}.audio-voice-row{grid-template-columns:40px minmax(0,1fr) auto}.audio-voice-icon-button,.audio-voice-more,.audio-voice-page-jump,.audio-voice-page-size,.audio-voice-tags{display:none}}.seedance-compliance-backdrop{position:fixed;inset:0;z-index:84;padding:0;background:rgb(0 0 0/70%)}.seedance-compliance-dialog{position:fixed;z-index:86;top:50%;left:50%;display:flex;width:min(1100px,calc(100vw - 32px));height:min(720px,calc(100vh - 32px));overflow:hidden;color:#262626;background:#fff;background-clip:padding-box;border:1px solid rgb(0 0 0/8%);border-radius:20px;box-shadow:0 24px 72px rgb(0 0 0/28%);font-family:inherit;flex-direction:column;transform:translate(-50%,-50%)}.seedance-compliance-dialog button{min-height:0;padding:0;color:#262626;background:transparent;border:0;border-radius:0;cursor:pointer;font:inherit}.seedance-compliance-dialog button:disabled{cursor:not-allowed;opacity:.5}.seedance-compliance-dialog button:focus-visible{outline:2px solid rgb(38 38 38/35%);outline-offset:2px}.seedance-compliance-header{display:flex;height:56px;min-height:56px;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid #ececec}.seedance-compliance-heading{display:flex;align-items:baseline;gap:8px;min-width:0}.seedance-compliance-breadcrumb{color:#a3a3a3;font-size:13px}.seedance-compliance-heading h2{margin:0;overflow:hidden;font-size:16px;font-weight:600;line-height:24px;text-overflow:ellipsis;white-space:nowrap}.seedance-compliance-close{display:grid;width:28px;height:28px;place-items:center;border-radius:8px}.seedance-compliance-close:hover{background:rgb(0 0 0/5%)}.seedance-compliance-tabs-row{display:flex;height:44px;min-height:44px;align-items:center;justify-content:space-between;padding:0 20px}.seedance-compliance-tabs{display:flex;align-items:center;gap:4px}.seedance-compliance-dialog .seedance-compliance-tab{height:30px;padding:0 14px;color:#595959;border-radius:999px;font-size:13px;line-height:30px}.seedance-compliance-dialog .seedance-compliance-tab:hover{background:rgb(0 0 0/4%)}.seedance-compliance-dialog .seedance-compliance-tab-active{color:#fff;background:#141414}.seedance-compliance-dialog .seedance-compliance-tab-active:hover{background:#333}.seedance-compliance-selected-count{color:#737373;font-size:13px}.seedance-compliance-history-note{min-width:0;margin:0;overflow:hidden;color:#737373;font-size:13px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}.seedance-compliance-history-actions{display:flex;align-items:center;gap:10px}.seedance-compliance-dialog .seedance-compliance-history-actions .seedance-compliance-action{height:36px;padding:0 18px}.seedance-compliance-body{display:flex;min-height:0;padding:4px 20px 16px;gap:16px;flex:1 1}.seedance-compliance-actions{display:flex;width:180px;min-width:180px;padding:16px;background:rgb(0 0 0/4%);border-radius:12px;flex-direction:column;gap:10px}.seedance-compliance-dialog .seedance-compliance-action{display:inline-flex;height:40px;align-items:center;justify-content:center;gap:6px;padding:0 12px;color:#262626;background:#fff;border:1px solid #e0e0e0;border-radius:10px;font-size:13px}.seedance-compliance-dialog .seedance-compliance-action:hover:not(:disabled){border-color:#141414}.seedance-compliance-dialog .seedance-compliance-action-primary{color:#fff;background:#141414;border-color:#141414}.seedance-compliance-dialog .seedance-compliance-action-primary:hover:not(:disabled){background:#333}.seedance-compliance-hint{margin:2px 0 0;color:#a3a3a3;font-size:12px;line-height:18px}.seedance-compliance-hint-title{margin:0 0 2px;color:inherit;font-weight:500}.seedance-compliance-hint-list{margin:0;padding:0;list-style:none}.seedance-compliance-hint-list li{word-break:break-word}.seedance-compliance-hint-term{color:inherit}.seedance-compliance-file-input{display:none}.seedance-compliance-grid-wrap{display:flex;min-width:0;min-height:0;overflow-y:auto;flex:1 1;flex-direction:column}.seedance-compliance-grid{display:grid;margin:0;padding:0;grid-gap:12px;gap:12px;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:max-content;list-style:none}.seedance-compliance-card{position:relative;min-width:0;list-style:none}.seedance-compliance-card-actions{position:absolute;top:0;right:0;left:0;display:flex;aspect-ratio:1/1;align-items:flex-end;justify-content:flex-end;gap:6px;padding:8px;opacity:0;pointer-events:none;transition:opacity .12s ease-out}.seedance-compliance-card:focus-within .seedance-compliance-card-actions,.seedance-compliance-card:hover .seedance-compliance-card-actions{opacity:1}.seedance-compliance-dialog .seedance-compliance-card-actions button{display:grid;width:26px;height:26px;place-items:center;color:#fff;background:rgb(0 0 0/55%);border-radius:8px;pointer-events:auto}.seedance-compliance-dialog .seedance-compliance-card-actions button:hover{background:rgb(0 0 0/75%)}@media (prefers-reduced-motion:reduce){.seedance-compliance-card-actions{transition:none}}.seedance-compliance-dialog .seedance-compliance-card-button{display:flex;width:100%;padding:0;overflow:hidden;flex-direction:column;gap:6px}.seedance-compliance-thumb{position:relative;display:grid;width:100%;aspect-ratio:1/1;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;overflow:hidden;color:#a3a3a3;background:rgb(0 0 0/5%);border:1.5px solid transparent;border-radius:10px}.seedance-compliance-thumb img{width:100%;height:100%;object-fit:cover}.seedance-compliance-card-button[data-selected=true] .seedance-compliance-thumb{border-color:#141414}.seedance-compliance-card-button[data-selectable=false]{cursor:default}.seedance-compliance-check{position:absolute;top:6px;right:6px;display:grid;width:22px;height:22px;place-items:center;color:#fff;background:#141414;border-radius:999px;box-shadow:0 1px 4px rgb(0 0 0/25%)}.seedance-compliance-overlay{position:absolute;inset:0;display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;padding:0 12px;color:rgb(255 255 255/90%);text-align:center;background:rgb(0 0 0/45%)}.seedance-compliance-overlay-title{font-size:12px;line-height:16px}.seedance-compliance-overlay-hint{color:rgb(255 255 255/50%);font-size:10px;line-height:13px}.seedance-compliance-card-button[data-upload=true]{cursor:default}.seedance-compliance-spinner{animation:seedance-compliance-spin .9s linear infinite}@keyframes seedance-compliance-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.seedance-compliance-spinner{animation:none}}.seedance-compliance-progress{width:72%;height:3px;overflow:hidden;background:rgb(255 255 255/25%);border-radius:999px}.seedance-compliance-progress-fill{display:block;height:100%;background:#fff;border-radius:inherit;transition:width .2s ease-out}.seedance-compliance-overlay-actions{display:flex;gap:8px}.seedance-compliance-dialog .seedance-compliance-overlay-actions button{padding:2px 8px;color:#fff;font-size:11px;line-height:16px;background:rgb(255 255 255/18%);border-radius:999px}.seedance-compliance-dialog .seedance-compliance-overlay-actions button:hover{background:rgb(255 255 255/30%)}.seedance-compliance-card-name{width:100%;overflow:hidden;color:#595959;font-size:12px;line-height:16px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.seedance-compliance-state{margin:auto;padding:40px 0;color:#8c8c8c;font-size:13px;text-align:center}.seedance-compliance-notice{display:flex;align-items:center;justify-content:center;gap:10px;margin:auto;color:#dc2626;font-size:13px}.seedance-compliance-dialog .seedance-compliance-retry{padding:4px 12px;color:#262626;border:1px solid #e0e0e0;border-radius:8px;font-size:12px}.seedance-compliance-footer{display:flex;height:60px;min-height:60px;align-items:center;justify-content:space-between;padding:0 20px;border-top:1px solid #ececec}.seedance-compliance-pager{display:flex;align-items:center;gap:8px;color:#595959;font-size:13px}.seedance-compliance-dialog .seedance-compliance-pager>button{display:grid;width:28px;height:28px;place-items:center;border:1px solid #e0e0e0;border-radius:8px}.seedance-compliance-dialog .seedance-compliance-pager>button:hover:not(:disabled){border-color:#141414}.seedance-compliance-pager-page{min-width:20px;text-align:center}.seedance-compliance-pager-size{color:#a3a3a3}.seedance-compliance-pager-jump{display:flex;align-items:center;gap:4px;color:#a3a3a3}.seedance-compliance-pager-jump input{width:40px;height:28px;padding:0 6px;color:#262626;text-align:center;background:#fff;border:1px solid #e0e0e0;border-radius:8px;font:inherit;font-size:13px}.seedance-compliance-dialog .seedance-compliance-primary{display:inline-flex;height:36px;align-items:center;justify-content:center;padding:0 24px;color:#fff;background:#141414;border-radius:10px;font-size:14px}.seedance-compliance-dialog .seedance-compliance-primary:hover:not(:disabled){background:#333}.role-library-tabs{display:flex;align-items:center;gap:24px;min-width:0}.seedance-compliance-dialog .role-library-tab{color:#a3a3a3;font-size:15px;line-height:24px}.seedance-compliance-dialog .role-library-tab[data-active=true]{color:#262626;font-weight:600}.public-character-hint{margin:0;overflow:hidden;color:#a3a3a3;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.seedance-compliance-dialog .public-character-back{display:inline-flex;align-items:center;gap:6px;min-width:0;color:#a3a3a3;font-size:13px}.seedance-compliance-dialog .public-character-back:hover{color:#262626}.public-character-back-name{overflow:hidden;color:#262626;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.public-character-body{overflow-y:auto;padding:4px 20px 16px}.public-character-grid{display:grid;width:100%;margin:0;padding:0;grid-gap:16px;gap:16px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));list-style:none}.public-character-card,.public-character-material{min-width:0}.seedance-compliance-dialog .public-character-card-button,.seedance-compliance-dialog .public-character-material-button{display:flex;width:100%;flex-direction:column;gap:8px;text-align:left}.public-character-cover{position:relative;display:block;overflow:hidden;width:100%;aspect-ratio:3/4;background:#f2f2f2;border-radius:12px}.public-character-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}.public-character-cover:after{position:absolute;right:0;bottom:0;left:0;height:48px;background:linear-gradient(0deg,rgb(0 0 0/55%),transparent);content:"";pointer-events:none}.public-character-count{position:absolute;bottom:8px;left:10px;z-index:1;color:#fff;font-size:12px;line-height:18px}.public-character-name{overflow:hidden;color:#262626;font-size:14px;font-weight:500;line-height:20px;text-overflow:ellipsis;white-space:nowrap}.public-character-tags{display:flex;overflow:hidden;flex-wrap:wrap;gap:4px;max-height:22px}.public-character-tag{padding:0 8px;color:#595959;background:#f2f2f2;border-radius:999px;font-size:12px;line-height:22px;white-space:nowrap}.public-character-material-thumb{position:relative;display:block;overflow:hidden;width:100%;aspect-ratio:1/1;background:#f2f2f2;border:2px solid transparent;border-radius:12px}.public-character-material-thumb img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}.seedance-compliance-dialog .public-character-material-button[data-selected=true] .public-character-material-thumb{border-color:#141414}.seedance-compliance-dialog .public-character-material-button[data-blocked=true]{cursor:not-allowed;opacity:.45}.public-character-material-name{overflow:hidden;color:#595959;font-size:13px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.public-character-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;width:100%}.seedance-compliance-preview{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:56px 40px 32px;background:rgb(0 0 0/88%)}.seedance-compliance-dialog .seedance-compliance-preview-close{position:absolute;top:16px;right:16px;display:grid;width:32px;height:32px;place-items:center;color:#fff;background:rgb(255 255 255/12%);border-radius:10px}.seedance-compliance-dialog .seedance-compliance-preview-close:hover{background:rgb(255 255 255/24%)}.seedance-compliance-preview-stage{display:flex;min-height:0;align-items:center;justify-content:center;flex:1 1;max-width:100%}.seedance-compliance-preview-stage :is(img,video){max-width:100%;max-height:100%;object-fit:contain;border-radius:10px}.seedance-compliance-preview-audio{display:flex;flex-direction:column;align-items:center;gap:16px;color:rgb(255 255 255/70%)}.seedance-compliance-preview-name{max-width:100%;margin:0;overflow:hidden;color:rgb(255 255 255/70%);font-size:12px;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.seedance-compliance-confirm-backdrop{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;background:rgb(10 12 18/40%)}.seedance-compliance-confirm{display:flex;width:min(360px,calc(100% - 48px));flex-direction:column;gap:10px;padding:20px;color:#262626;background:#fff;border-radius:14px;box-shadow:0 18px 48px rgb(0 0 0/24%)}.seedance-compliance-confirm h4{margin:0;font-size:15px;font-weight:600;line-height:22px}.seedance-compliance-confirm p{margin:0;color:#737373;font-size:13px;line-height:20px;overflow-wrap:anywhere}.seedance-compliance-confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:6px}.seedance-compliance-dialog .seedance-compliance-confirm-actions button{display:inline-flex;height:34px;align-items:center;justify-content:center;padding:0 16px;color:#262626;background:#fff;border:1px solid #e0e0e0;border-radius:10px;font-size:13px}.seedance-compliance-dialog .seedance-compliance-confirm-actions button:hover:not(:disabled){border-color:#141414}.seedance-compliance-dialog .seedance-compliance-confirm-actions button.seedance-compliance-confirm-danger{color:#fff;background:#dc2626;border-color:#dc2626}.seedance-compliance-dialog .seedance-compliance-confirm-actions button.seedance-compliance-confirm-danger:hover:not(:disabled){background:#b91c1c;border-color:#b91c1c}:root[data-cbi-theme=dark] .character-library-dialog{color:var(--cbi-text);background:var(--cbi-surface-elevated);border-color:var(--cbi-border)}:root[data-cbi-theme=dark] .character-library-dialog button{color:var(--cbi-text)}:root[data-cbi-theme=dark] :is(.character-library-detail,.character-library-filter-scroll section button:not([data-selected=true]),.character-library-dialog .character-library-filter-trigger,.character-library-dialog .character-library-card[data-selected=true],.character-library-missing-cover,.character-library-management-toolbar>button:first-child,.character-library-form-actions>button:first-child,.character-library-management-toolbar label,.character-library-management-list article,.character-library-form input,.character-library-form textarea,.character-library-asset-option){background:var(--cbi-surface-soft)}:root[data-cbi-theme=dark] :is(.character-library-detail-title>span,.character-library-dialog button:hover:not(:disabled),.character-library-dialog button:focus-visible,.character-library-dialog .character-library-preview-add:hover,.character-library-dialog .character-library-preview-add:focus-visible,.character-library-dialog .character-library-catalog-notice button,.character-library-asset-option:has(input:checked)){background:var(--cbi-control-hover)}:root[data-cbi-theme=dark] :is(.character-library-detail-title>.character-library-official-badge,.character-library-card-official-badge,.character-library-preview-slot,.character-library-dialog .character-library-secondary,.character-library-catalog-notice,.character-library-action-error,.character-library-local-notice,.character-library-recent-toggle>span,.character-library-dialog .character-library-carousel-arrow,.character-library-management-toolbar,.character-library-management-list article>button){color:var(--cbi-text);background:var(--cbi-surface);border-color:var(--cbi-border-strong)}:root[data-cbi-theme=dark] :is(.character-library-header,.character-library-browser,.character-library-dialog .character-library-filter-trigger,.character-library-manage-entry,.character-library-management-toolbar>button:first-child,.character-library-form-actions>button:first-child,.character-library-management-toolbar label,.character-library-management-list article,.character-library-form input,.character-library-form textarea,.character-library-assets){border-color:var(--cbi-border)}:root[data-cbi-theme=dark] :is(.character-library-detail-footer p,.character-library-state,.character-library-empty,.character-library-filter-scroll section h4,.character-library-list>p,.character-library-management-list>p,.character-library-management-list article p,.character-library-form,.character-library-form>label,.character-library-form-row label,.character-library-assets legend){color:var(--cbi-text-muted)}:root[data-cbi-theme=dark] .character-library-preview-placeholder{background:var(--cbi-surface-muted)}:root[data-cbi-theme=dark] .character-library-preview-placeholder:after{background:linear-gradient(100deg,transparent 28%,rgba(var(--cbi-text-rgb),.12) 48%,transparent 68%)}:root[data-cbi-theme=dark] :is(.character-library-dialog .character-library-primary,.character-library-filter-scroll section button[data-selected=true]){color:var(--cbi-text-inverse);background:var(--cbi-text)}:root[data-cbi-theme=dark] .character-library-dialog button.character-library-primary:is(:hover,:focus-visible):not(:disabled){color:var(--cbi-text-inverse);background:var(--cbi-text)}:root[data-cbi-theme=dark] .character-library-filter-scroll section button[data-selected=true]:is(:hover,:focus-visible){color:var(--cbi-text-inverse);background:var(--cbi-text)}:root[data-cbi-theme=dark] .character-library-recent-toggle[aria-checked=true]>span{background:var(--cbi-text);box-shadow:inset 0 0 0 3px var(--cbi-surface)}:root[data-cbi-theme=dark] .seedance-compliance-dialog{color:var(--cbi-text);background:var(--cbi-surface-elevated);border-color:var(--cbi-border)}:root[data-cbi-theme=dark] .seedance-compliance-dialog button{color:var(--cbi-text)}:root[data-cbi-theme=dark] :is(.seedance-compliance-header,.seedance-compliance-footer){border-color:var(--cbi-border)}:root[data-cbi-theme=dark] :is(.seedance-compliance-actions,.seedance-compliance-thumb,.seedance-compliance-dialog .seedance-compliance-tab:hover){background:var(--cbi-surface-soft)}:root[data-cbi-theme=dark] :is(.seedance-compliance-dialog .seedance-compliance-action,.seedance-compliance-pager-jump input){color:var(--cbi-text);background:var(--cbi-surface);border-color:var(--cbi-border-strong)}:root[data-cbi-theme=dark] :is(.seedance-compliance-breadcrumb,.seedance-compliance-selected-count,.seedance-compliance-history-note,.seedance-compliance-hint,.seedance-compliance-card-name,.seedance-compliance-state,.seedance-compliance-pager,.seedance-compliance-pager-size,.seedance-compliance-pager-jump){color:var(--cbi-text-muted)}:root[data-cbi-theme=dark] :is(.seedance-compliance-dialog .seedance-compliance-tab-active,.seedance-compliance-dialog .seedance-compliance-action-primary,.seedance-compliance-dialog .seedance-compliance-primary){color:var(--cbi-text-inverse);background:var(--cbi-text);border-color:var(--cbi-text)}:root[data-cbi-theme=dark] :is(.public-character-hint,.seedance-compliance-dialog .role-library-tab,.seedance-compliance-dialog .public-character-back,.public-character-material-name){color:var(--cbi-text-muted)}:root[data-cbi-theme=dark] :is(.public-character-name,.public-character-back-name,.seedance-compliance-dialog .role-library-tab[data-active=true],.seedance-compliance-dialog .public-character-back:hover){color:var(--cbi-text)}:root[data-cbi-theme=dark] :is(.public-character-cover,.public-character-material-thumb){background:var(--cbi-surface-soft)}:root[data-cbi-theme=dark] .public-character-tag{color:var(--cbi-text-muted);background:var(--cbi-surface-soft)}:root[data-cbi-theme=dark] .seedance-compliance-dialog .public-character-material-button[data-selected=true] .public-character-material-thumb{border-color:var(--cbi-text)}:root[data-cbi-theme=dark] :is(.seedance-compliance-dialog .seedance-compliance-card-actions button,.seedance-compliance-dialog .seedance-compliance-preview-close){color:#fff}:root[data-cbi-theme=dark] .seedance-compliance-confirm{color:var(--cbi-text);background:var(--cbi-surface-elevated)}:root[data-cbi-theme=dark] .seedance-compliance-confirm p{color:var(--cbi-text-muted)}:root[data-cbi-theme=dark] .seedance-compliance-dialog .seedance-compliance-confirm-actions button{color:var(--cbi-text);background:var(--cbi-surface);border-color:var(--cbi-border-strong)}:root[data-cbi-theme=dark] .seedance-compliance-dialog .seedance-compliance-confirm-actions button.seedance-compliance-confirm-danger{color:#fff;background:#dc2626;border-color:#dc2626}:root[data-cbi-theme=dark] .script-shot-page{--script-theme-ink:var(--cbi-text);--script-theme-muted:var(--cbi-text-muted);--script-theme-soft:var(--cbi-text-soft);--script-theme-surface:var(--cbi-surface-elevated);--script-theme-surface-soft:var(--cbi-surface-soft);--script-theme-border:var(--cbi-border);color:var(--script-theme-ink);color-scheme:dark;background:var(--cbi-page-bg)}:root[data-cbi-theme=dark] .script-shot-page :where(button,input,textarea,select,strong,label,p,span,small,th,td,h2,h3,b,.script-cell-trigger){color:inherit}.script-shot-page .video-reproduction-asset-workspace :is(.video-reproduction-asset-panel-label,.video-reproduction-asset-status,.video-reproduction-asset-arrow,.video-reproduction-asset-remove,.video-reproduction-asset-placeholder,.video-reproduction-asset-details>p){color:var(--script-theme-muted,#737373)}.script-shot-page .video-reproduction-asset-workspace .video-reproduction-asset-target:not(.is-empty) .video-reproduction-asset-status{color:var(--cbi-success-strong,#15803d)}:root[data-cbi-theme=dark] :is(.script-shot-header,.script-table-card,.script-column-help,.script-panel-footer,.script-asset-workspace,.script-asset-editor,.script-asset-editor header,.script-asset-picker,.script-asset-picker header,.script-asset-generation-footer,.script-asset-bulk-dialog,.script-final-prompt-dialog,.script-final-prompt-viewer){color:var(--cbi-text);background:var(--cbi-surface-elevated);border-color:var(--cbi-border)}:root[data-cbi-theme=dark] :is(.script-table th,.script-panel-step.is-current,.script-panel-step-number>span,.script-duration-popover input,.script-text-popover textarea,.script-dialogue-row select,.script-dialogue-row input,.script-asset-card,.script-asset-add,.script-asset-image,.script-asset-menu-button,.script-asset-editor-image,.script-asset-editor input,.script-asset-editor textarea,.script-asset-picker-prompt,.script-asset-picker-empty,.script-asset-picker-canvas-grid button,.script-asset-bulk-row,.script-final-prompt-list,.script-final-prompt-row,.script-final-prompt-status:not(:disabled):not(.is-stale),.script-final-prompt-dialog footer .script-final-prompt-model,.script-final-prompt-viewer pre,.script-final-prompt-editor-body textarea,.script-final-prompt-mentions span,.script-final-prompt-viewer-footer button,.script-final-prompt-model-option-icon,.script-final-prompt-model-icon){color:var(--cbi-text);background:var(--cbi-surface-soft);border-color:var(--cbi-border)}:root[data-cbi-theme=dark] :is(.script-shot-header p,.script-table th,.script-duration-popover>small,.script-rich-mention-editor:empty:before,.script-mention-suggestions small,.script-row-drag-handle,.script-row-actions-button,.script-row-menu>small,.script-dialogue-row>button,.script-dialogue-popover footer>div button,.script-global-style p,.script-asset-image,.script-asset-editor-image-empty,.script-asset-card>p,.script-asset-footer p,.script-prompt-footer p,.script-asset-editor-body label,.script-asset-picker nav button,.script-asset-generation-cost,.script-asset-bulk-list h3,.script-asset-bulk-row small,.script-final-prompt-row span,.script-final-prompt-row>button,.script-final-prompt-model-option-description,.script-final-prompt-cost,.script-final-prompt-save-state){color:var(--cbi-text-muted)}:root[data-cbi-theme=dark] .script-panel-step-copy strong{color:var(--cbi-text-muted)}:root[data-cbi-theme=dark] .script-panel-step-copy small{color:var(--cbi-text-soft)}:root[data-cbi-theme=dark] .script-asset-footer .script-asset-evidence-trigger,:root[data-cbi-theme=dark] .script-asset-footer-actions>button:not(:last-child){color:var(--cbi-text);background:var(--cbi-surface-muted);border-color:var(--cbi-border)}:root[data-cbi-theme=dark] .script-panel-step:is(.is-complete,.is-current) .script-panel-step-copy strong{color:var(--cbi-text)}:root[data-cbi-theme=dark] .script-panel-step:is(.is-complete,.is-current) .script-panel-step-copy small{color:var(--cbi-text-muted)}:root[data-cbi-theme=dark] .script-panel-step.is-complete .script-panel-step-number>span{color:var(--cbi-text-inverse);background:var(--cbi-text);border-color:var(--cbi-text)}:root[data-cbi-theme=dark] .script-panel-connector{background:var(--cbi-border)}:root[data-cbi-theme=dark] .script-shot-page.is-prompts .script-table th:nth-child(9){background:var(--cbi-info-soft)}:root[data-cbi-theme=dark] .script-table tbody tr.has-row-color td{background:color-mix(in srgb,var(--script-row-color) 16%,var(--cbi-surface-elevated))}:root[data-cbi-theme=dark] .script-dialogue-row>span:first-child{color:var(--cbi-info);background:var(--cbi-info-soft)}:root[data-cbi-theme=dark] .script-cell-popover footer{border-top-color:rgba(255,255,255,.1)}:root[data-cbi-theme=dark] .script-cell-popover footer>span{color:#919191}:root[data-cbi-theme=dark] .script-cell-popover footer>button:hover:not(:disabled),:root[data-cbi-theme=dark] .script-dialogue-popover footer>button:hover:not(:disabled){background:#ffffff}:root[data-cbi-theme=dark] .script-shot-page .script-row-actions-button:hover{color:rgba(255,255,255,.9);background:rgba(255,255,255,.1)}:root[data-cbi-theme=dark] .script-shot-page .script-row-menu-colors button{color:#ffffff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.15)}:root[data-cbi-theme=dark] .script-shot-page .script-row-menu-colors button.is-selected{box-shadow:inset 0 0 0 1px rgba(255,255,255,.6)}:root[data-cbi-theme=dark] .script-shot-page .script-row-menu-colors button.is-none{background:#262626;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}:root[data-cbi-theme=dark] .script-row-menu-divider{border-top-color:rgba(255,255,255,.1)}:root[data-cbi-theme=dark] .script-shot-delete-dialog{color:#ffffff;background:#212121;border-color:#363636}:root[data-cbi-theme=dark] .script-shot-delete-dialog>header h2{color:#f7f7f7}:root[data-cbi-theme=dark] .script-shot-page .script-shot-delete-dialog>header button:hover{color:rgba(255,255,255,.9);background:rgba(255,255,255,.1)}:root[data-cbi-theme=dark] .script-shot-page .script-shot-delete-body p{color:rgba(255,255,255,.8)}:root[data-cbi-theme=dark] .script-shot-page .script-shot-delete-body small{color:rgba(255,255,255,.5)}:root[data-cbi-theme=dark] .script-shot-page .script-shot-delete-dialog>footer button{color:#c1c2c5;background:#25262b;border-color:#373a40}:root[data-cbi-theme=dark] .script-shot-page .script-shot-delete-dialog>footer button:hover{background:#2c2e33}:root[data-cbi-theme=dark] .script-shot-page .script-shot-delete-dialog>footer button.is-danger{color:#ffffff;background:#fa5252;border-color:transparent}:root[data-cbi-theme=dark] .script-shot-page .script-shot-delete-dialog>footer button.is-danger:hover{background:#f03e3e}:root[data-cbi-theme=dark] .script-column-help:before{border-bottom-color:var(--cbi-border)}:root[data-cbi-theme=dark] .script-column-help:after{border-bottom-color:var(--cbi-surface-elevated)}:root[data-cbi-theme=dark] :is(.script-panel-step:focus-visible,.script-cell-trigger[aria-expanded=true],.script-cell-trigger-rich[aria-expanded=true],.script-row-drag-handle:focus-visible,.script-asset-card:focus-visible,.script-duration-popover input:focus-visible,.script-text-popover textarea:focus-visible,.script-rich-mention-editor:focus-visible,.script-dialogue-row select:focus-visible,.script-dialogue-row input:focus-visible,.script-asset-editor input:focus-visible,.script-asset-editor textarea:focus-visible){outline-color:var(--cbi-focus-border)}:root[data-cbi-theme=dark] .script-asset-card.is-selected .script-asset-image{border-color:var(--cbi-border-strong)}:root[data-cbi-theme=dark] .script-final-prompt-row,:root[data-cbi-theme=dark] .script-table :is(th,td),:root[data-cbi-theme=dark] :is(.script-shot-header,.script-table-card,.script-column-help,.script-asset-picker,.script-asset-bulk-dialog,.script-final-prompt-dialog,.script-final-prompt-viewer){border-color:var(--cbi-border)}:root[data-cbi-theme=dark] .script-table tbody tr:has([aria-expanded=true]) td,:root[data-cbi-theme=dark] .script-table tbody tr:hover td,:root[data-cbi-theme=dark] :is(.script-asset-batch-config .script-asset-batch-config-chip:hover,.script-asset-batch-config .script-asset-batch-config-chip[aria-expanded=true],.script-final-prompt-model-option:hover,.script-final-prompt-model-option:focus-visible,.script-final-prompt-model-option[aria-selected=true]){background:var(--cbi-control-hover)}:root[data-cbi-theme=dark] :is(.script-asset-generation-submit:not(:disabled),.script-replication-customization-submit:not(:disabled),.script-final-prompt-dialog footer .script-final-prompt-confirm:not(:disabled),.script-final-prompt-viewer-footer .script-final-prompt-confirm:not(:disabled),.script-panel-footer button:last-child:not(:disabled),.script-cell-popover footer>button:not(:disabled),.script-dialogue-popover footer>button:not(:disabled)){color:var(--cbi-text-inverse);background:var(--cbi-text);border-color:var(--cbi-text)}:root[data-cbi-theme=dark] .script-asset-generation-footer .script-asset-batch-config-chip:not(:disabled){color:#f7f7f7;background:transparent;border-color:transparent}:root[data-cbi-theme=dark] .script-asset-generation-cost{color:#919191}:root[data-cbi-theme=dark] .script-asset-generation-footer .script-asset-batch-config-chip:hover:not(:disabled),:root[data-cbi-theme=dark] .script-asset-generation-footer .script-asset-batch-config-chip[aria-expanded=true]:not(:disabled){background:rgba(255,255,255,.06)}:root[data-cbi-theme=dark] .script-asset-generation-submit:not(:disabled){color:#171717;background:#f7f7f7;border-color:#f7f7f7}:root[data-cbi-theme=dark] .script-asset-generation-submit:hover:not(:disabled){background:#ffffff;border-color:#ffffff}:root[data-cbi-theme=dark] :is(.script-asset-bulk-dialog header,.script-asset-bulk-body,.script-final-prompt-dialog header,.script-final-prompt-dialog footer,.script-final-prompt-viewer header,.script-final-prompt-viewer>.script-final-prompt-editor-body,.script-final-prompt-viewer-footer){color:var(--cbi-text);background:var(--cbi-surface-elevated);border-color:var(--cbi-border)}:root[data-cbi-theme=dark] :where(.script-final-prompt-model-menu){--canvas-popover-surface:#262626;--canvas-popover-border:#363636;--canvas-popover-ink:#ffffff;--canvas-popover-ink-muted:#919191;--canvas-popover-hover:rgba(255,255,255,0.1);--canvas-popover-active:rgba(255,255,255,0.15);--canvas-popover-shadow:0 4px 10px rgba(0,0,0,0.25),0 2px 4px rgba(0,0,0,0.3)}:root[data-cbi-theme=dark] .script-final-prompt-model-menu :where(button,strong,span,small){color:inherit}:root[data-cbi-theme=dark] .script-final-prompt-model-option{color:var(--cbi-text)}:root[data-cbi-theme=dark] .script-final-prompt-model-option-description,:root[data-cbi-theme=dark] .script-final-prompt-model-option-estimate{color:var(--cbi-text-muted)}:root[data-cbi-theme=dark] .script-final-prompt-model-option[aria-selected=true] .script-final-prompt-model-option-estimate{background:var(--cbi-surface-muted)}:root[data-cbi-theme=dark] :is(.script-mention-token,.script-rich-mention-token){color:#5ddcff;background:rgba(60,181,204,.1)}:root[data-cbi-theme=dark] .script-rich-mention-editor{color:var(--cbi-text);background:rgba(255,255,255,.05)}:root[data-cbi-theme=dark] :is(.script-final-prompt-status.is-stale,.script-final-prompt-editor-body>label .script-final-prompt-track-status.is-stale){color:var(--cbi-warning-strong)}:root[data-cbi-theme=dark] .script-final-prompt-status.is-stale:hover{color:var(--cbi-warning-strong);background:var(--cbi-warning-soft);border-color:color-mix(in srgb,var(--cbi-warning-strong) 34%,transparent)}:root[data-cbi-theme=dark] :is(.script-row-delete,.script-asset-card-menu button.is-danger,.script-asset-card .script-asset-retry,.script-final-prompt-editor-body>label .script-final-prompt-track-status.is-failed){color:var(--cbi-danger-strong)}:root[data-cbi-theme=dark] .script-asset-card .script-asset-retry{background:var(--cbi-danger-soft);border-color:color-mix(in srgb,var(--cbi-danger-strong) 34%,transparent)}:root[data-cbi-theme=dark] .script-final-prompt-editor-body>label .script-final-prompt-track-status.is-generating{color:var(--cbi-info)}:root[data-cbi-theme=dark] .script-final-prompt-editor-body>label small:not(.script-final-prompt-track-status){color:var(--cbi-success)}:root[data-cbi-theme=dark] :is(.script-final-prompt-status:disabled,.script-asset-card-menu button:disabled,.script-asset-generation-submit:disabled,.script-replication-customization-submit:disabled,.script-final-prompt-dialog footer .script-final-prompt-model:disabled,.script-final-prompt-viewer-footer .script-final-prompt-model:disabled,.script-final-prompt-dialog footer .script-final-prompt-confirm:disabled,.script-final-prompt-viewer-footer button:disabled,.script-panel-footer button:last-child:disabled){color:var(--cbi-text-soft);background:var(--cbi-surface-muted);border-color:var(--cbi-border)}:root[data-cbi-theme=dark] .script-final-prompt-dialog[role=dialog],:root[data-cbi-theme=dark] .script-final-prompt-dialog[role=dialog]>.script-final-prompt-list,:root[data-cbi-theme=dark] .script-final-prompt-dialog[role=dialog]>.script-final-prompt-list>.script-final-prompt-row,:root[data-cbi-theme=dark] .script-final-prompt-dialog[role=dialog]>footer,:root[data-cbi-theme=dark] .script-final-prompt-dialog[role=dialog]>header{background:#212121;border-color:#363636}:root[data-cbi-theme=dark] .script-final-prompt-dialog{color:#f7f7f7;box-shadow:0 30px 90px rgba(0,0,0,.5)}:root[data-cbi-theme=dark] .script-final-prompt-dialog[role=dialog] .script-final-prompt-row label,:root[data-cbi-theme=dark] .script-final-prompt-dialog[role=dialog] .script-final-prompt-row strong,:root[data-cbi-theme=dark] .script-final-prompt-dialog[role=dialog] header strong{color:#f7f7f7}:root[data-cbi-theme=dark] .script-final-prompt-dialog[role=dialog] .script-final-prompt-cost,:root[data-cbi-theme=dark] .script-final-prompt-dialog[role=dialog] .script-final-prompt-row span,:root[data-cbi-theme=dark] .script-final-prompt-dialog[role=dialog] .script-final-prompt-row>button{color:#919191}:root[data-cbi-theme=dark] .script-final-prompt-dialog[role=dialog]>footer,:root[data-cbi-theme=dark] .script-final-prompt-dialog[role=dialog]>footer label:not(:has(input:disabled)){color:#b8b8b8}:root[data-cbi-theme=dark] .script-final-prompt-dialog header>button{color:#b8b8b8}:root[data-cbi-theme=dark] .script-final-prompt-dialog footer input,:root[data-cbi-theme=dark] .script-final-prompt-row input{accent-color:#f7f7f7}:root[data-cbi-theme=dark] .script-final-prompt-dialog[role=dialog] footer .script-final-prompt-model{color:#b8b8b8;background:transparent}:root[data-cbi-theme=dark] .script-final-prompt-dialog[role=dialog] .script-final-prompt-model-icon{color:#f7f7f7;background:rgba(255,255,255,.05);border-color:#363636}:root[data-cbi-theme=dark] .script-final-prompt-dialog footer .script-final-prompt-model:hover,:root[data-cbi-theme=dark] .script-final-prompt-dialog footer .script-final-prompt-model[aria-expanded=true]{color:#ffffff;background:rgba(255,255,255,.06)}:root[data-cbi-theme=dark] .script-final-prompt-dialog footer .script-final-prompt-confirm:not(:disabled){color:#171717;background:#f7f7f7;border-color:#f7f7f7}:root[data-cbi-theme=dark] .script-final-prompt-dialog footer .script-final-prompt-confirm:hover:not(:disabled){background:#ffffff;border-color:#ffffff}:root[data-cbi-theme=dark] .script-asset-generation-submit:disabled{color:#919191;background:#f7f7f7;border-color:#f7f7f7}.node-compliance-badge{position:relative;display:inline-flex;flex:0 0 auto;align-items:center}.node-compliance-shield{display:block;width:14px;height:14px;flex:0 0 14px;color:#09caf5}.node-compliance-tooltip{position:absolute;left:50%;bottom:calc(100% + 8px);z-index:12;transform:translate(-50%,4px)}.cbi-tooltip-bubble.node-compliance-tooltip{width:max-content;max-width:min(340px,calc(100vw - 32px));white-space:normal}.node-compliance-badge:focus-within .node-compliance-tooltip,.node-compliance-badge:hover .node-compliance-tooltip{opacity:1;transform:translate(-50%);visibility:visible}.node-compliance-status{display:inline-flex;flex:0 0 auto;align-items:center;gap:2px;font-size:12px;line-height:1;white-space:nowrap}.node-compliance-status[data-state=checking]{color:rgba(9,202,245,.8)}.node-compliance-status[data-state=failed]{color:rgba(245,81,79,.8)}.node-compliance-pulse{display:inline-block;width:6px;height:6px;margin-right:2px;flex:0 0 6px;background:#09caf5;border-radius:999px;animation:node-compliance-pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes node-compliance-pulse{50%{opacity:.5}}.reference-compliance-badge{position:absolute;right:2px;bottom:2px;z-index:2;display:grid;box-sizing:border-box;width:12px;height:12px;padding:1px;place-items:center;background:rgba(0,0,0,.6);border-radius:4px;pointer-events:auto}.reference-compliance-alert,.reference-compliance-shield{display:block;width:10px;height:10px;flex:0 0 10px}.reference-compliance-shield{color:#09caf5}.reference-compliance-alert{color:#f5514f}.reference-compliance-spinner{display:block;box-sizing:border-box;width:10px;height:10px;border:1.5px solid rgba(9,202,245,.3);border-top-color:#09caf5;border-radius:999px;animation:reference-compliance-spin .9s linear infinite}@keyframes reference-compliance-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.reference-compliance-spinner{animation:none}}.reference-compliance-tooltip{position:absolute;left:50%;bottom:calc(100% + 6px);z-index:12;transform:translate(-50%,4px)}.cbi-tooltip-bubble.reference-compliance-tooltip{width:max-content;max-width:min(340px,calc(100vw - 32px));white-space:normal}.reference-compliance-badge:focus-within .reference-compliance-tooltip,.reference-compliance-badge:hover .reference-compliance-tooltip{opacity:1;transform:translate(-50%);visibility:visible}.media-reference-thumbnail:focus-within .reference-compliance-badge,.media-reference-thumbnail:hover .reference-compliance-badge{pointer-events:none}.script-execution-controls{display:flex;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:12px;max-height:280px;padding:16px 24px;overflow:auto;border-top:1px solid #ededed}.script-execution-controls>div,.script-execution-controls>p{flex-basis:100%;margin:0}.script-execution-controls>div,.script-execution-controls>label{display:flex;align-items:center;justify-content:space-between;gap:12px}.script-execution-controls button,.script-execution-controls select{min-height:32px;padding:4px 12px;font:inherit;color:inherit;background:transparent;border:1px solid #dedede;border-radius:8px}.script-execution-controls button:disabled{cursor:not-allowed;opacity:.45}.script-execution-controls>.script-execution-edit{flex-basis:100%;align-items:flex-start;flex-direction:column}.script-execution-edit textarea{box-sizing:border-box;width:100%;min-height:64px;padding:8px;font:inherit;resize:vertical;border:1px solid #dedede;border-radius:8px}.script-panel-footer.script-panel-footer-with-notice{height:auto;min-height:64px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.script-panel-footer .script-uncovered-tail-notice{flex:0 0 100%;margin:0;color:var(--canvas-text-secondary,#919191);font-size:12px;line-height:18px}@media (max-width:960px){.script-final-prompt-dialog footer,.script-final-prompt-footer-left,.script-final-prompt-footer-right{flex-wrap:wrap}}.script-legacy-preview{grid-template-rows:auto minmax(0,1fr);text-align:left;padding:16px}.script-legacy-preview textarea{width:100%;height:100%;min-height:0;resize:none;color:inherit;font:inherit;background:transparent;border:0}.node-generation-limit-notice{margin:8px 12px;padding:10px 12px;border:1px solid var(--canvas-theme-border,rgba(128,128,128,.3));border-radius:8px;font-size:12px;line-height:1.5}.node-generation-limit-notice p{margin:0 0 8px}.prompt-composer-submit-error-with-details{white-space:normal;overflow:visible}.prompt-composer-submit-error-with-details textarea{display:block;width:100%;min-height:72px}.script-reference-analysis{flex:0 0 auto;border-bottom:1px solid var(--canvas-border,#e5e7eb);padding:12px 24px;font-size:13px}.script-reference-analysis>summary{cursor:pointer;font-weight:600}.script-reference-analysis-content{max-height:320px;overflow:auto;padding-top:8px;line-height:1.6;overflow-wrap:anywhere}.script-reference-analysis-content p{margin:4px 0 8px}.script-reference-analysis-content dl>div{display:flex;gap:12px}.script-reference-analysis-content dt{min-width:80px;opacity:.7}.script-reference-analysis-content dd{margin:0}.script-reference-analysis-content li>span{margin-left:12px}.script-reference-analysis-table{overflow-x:auto}.script-reference-analysis-table table{border-collapse:collapse;width:100%;text-align:left}.script-reference-analysis-table td,.script-reference-analysis-table th{padding:8px 12px;vertical-align:top;border-bottom:1px solid var(--canvas-border,#e5e7eb)}.script-reference-analysis-table small{display:block;opacity:.7}.replication-node-body{display:flex;flex-direction:column;gap:12px;padding:16px}.replication-node-body p{margin:0;font-size:13px}.replication-node>.node-title{width:calc(100% - 8px)}.replication-node .replication-node__surface{box-sizing:border-box;padding:16px;gap:16px;overflow:auto}.replication-node__status{color:var(--node-text-secondary,#777);line-height:1.6}.replication-confirm{display:flex;flex-direction:column;gap:14px;width:100%;height:100%;min-width:0}.replication-confirm__heading{flex-shrink:0}.replication-confirm__heading h3{margin:0 0 6px;font-size:14px;font-weight:600}.replication-confirm__heading p{color:var(--node-text-secondary,#777);line-height:1.6}.replication-confirm__footer{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:16px;border-top:1px solid var(--node-stroke)}.replication-confirm__credits{font-size:12px;font-weight:500;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.replication-node-body .replication-confirm__submit{display:inline-flex;align-items:center;gap:10px;border:0;padding:10px 14px;color:var(--node-surface);background:var(--node-text);font:inherit;font-size:12px;font-weight:600;border-radius:9px;transition:opacity .12s ease}.replication-node-body .replication-confirm__submit:hover:not(:disabled){opacity:.85}.replication-node-body .replication-confirm__submit:focus-visible{outline:2px solid var(--node-text);outline-offset:3px}.replication-dialog-backdrop{position:fixed;inset:0;z-index:160;display:grid;place-items:center;padding:24px;color:var(--canvas-theme-ink,#1e1f21);background:rgb(16 17 18/58%);font-size:13px}.replication-dialog{display:flex;flex-direction:column;width:min(940px,100%);max-height:calc(100dvh - 48px);background:var(--canvas-theme-surface,#fff);border:1px solid var(--canvas-theme-border,#e6e3e3);border-radius:16px;box-shadow:0 18px 52px rgb(0 0 0/22%);overflow:hidden;outline:none}.replication-dialog__header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;border-bottom:1px solid var(--canvas-theme-border,#e6e3e3)}.replication-dialog__header h2{margin:0;font-size:17px;font-weight:600}.replication-dialog__body{overflow:auto;min-height:0;overscroll-behavior:contain}.replication-dialog__footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 24px;border-top:1px solid var(--canvas-theme-border,#e6e3e3)}.replication-dialog__footer>div{flex-shrink:0}.replication-dialog p{margin:0;line-height:1.65}.replication-dialog h3{margin:0;font-size:13px;font-weight:600}.replication-dialog :is(button,input,textarea,select){font:inherit}.replication-dialog :is(textarea,select),.replication-movie-panel select{box-sizing:border-box;width:100%;min-height:36px;padding:9px 12px;border:1px solid var(--canvas-theme-border,#e6e3e3);border-radius:8px;color:inherit;background:var(--canvas-theme-surface,#fff)}.replication-dialog textarea{resize:vertical;min-height:88px;line-height:1.7}.replication-dialog select:focus,.replication-dialog textarea:focus{outline:2px solid var(--canvas-theme-ink-soft,#bbb);outline-offset:1px}.replication-muted{color:var(--canvas-theme-ink-muted,#77787b);font-size:12px;line-height:1.6}.replication-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:9px 14px;border:1px solid var(--canvas-theme-border,#e6e3e3);border-radius:8px;color:var(--canvas-theme-ink,#1e1f21);background:var(--canvas-theme-surface,#fff);cursor:pointer;font:inherit;font-size:13px;font-weight:500}.replication-button--primary{color:var(--canvas-theme-surface,#fff);background:var(--canvas-theme-ink,#1e1f21);border-color:transparent}.replication-button:hover:not(:disabled){opacity:.8}.replication-button:disabled,.replication-dialog button:disabled{opacity:.45;cursor:default}.replication-icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;padding:0;border:0;border-radius:6px;color:var(--canvas-theme-ink-muted,#77787b);background:transparent;cursor:pointer}.replication-icon-button:hover{color:var(--canvas-theme-ink,#1e1f21);background:var(--canvas-theme-surface-soft,#f5f4f4)}.replication-button:focus-visible,.replication-icon-button:focus-visible{outline:2px solid var(--canvas-theme-ink,#1e1f21);outline-offset:2px}.replication-workspace{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.replication-workspace__reference{display:flex;flex-direction:column;gap:14px;padding:24px;background:var(--canvas-theme-surface-soft,#f5f4f4);border-right:1px solid var(--canvas-theme-border,#e6e3e3);min-width:0}.replication-reference-preview{display:block;width:100%;height:170px;object-fit:contain;border-radius:10px;background:rgb(0 0 0/4%)}.replication-workspace__editor{min-width:0;margin:0;padding:24px;border:0}.replication-field,.replication-material-list,.replication-requirements{display:flex;flex-direction:column;gap:10px}.replication-requirements{gap:22px}.replication-field>label{font-weight:600}.replication-disclosure{border:1px solid var(--canvas-theme-border,#e6e3e3);border-radius:10px;padding:12px}.replication-disclosure>summary{cursor:pointer;font-weight:500}.replication-disclosure[open]>:not(summary){margin-top:12px}.replication-preset-preview{display:flex;flex-direction:column;gap:10px}.replication-preset-preview blockquote{margin:0;padding:12px;white-space:pre-wrap;line-height:1.65;background:var(--canvas-theme-surface-soft,#f5f4f4);border-radius:6px}.replication-add-material{display:flex;align-items:center;gap:8px}.replication-object-list{display:grid;grid-gap:12px;gap:12px}.replication-object-list>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.replication-material-card{border:1px solid var(--canvas-theme-border,#e6e3e3);border-radius:10px;padding:12px}.replication-material{display:flex;align-items:center;gap:6px}.replication-material__thumbnail{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:6px;background:var(--canvas-theme-surface-soft,#f5f4f4);overflow:hidden}.replication-material__thumbnail img{width:100%;height:100%;object-fit:cover}.replication-material__name{min-width:0;flex:1 1}.replication-material__name small,.replication-material__name strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.replication-material__name small{margin-top:5px;color:var(--canvas-theme-ink-muted,#77787b)}.replication-material-target{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;grid-gap:12px;gap:12px;margin-top:10px;font-size:12px}.replication-material-notes{position:static;display:flex;flex-direction:column;gap:10px;margin-top:12px;padding:12px 0 0;border:0;border-top:1px solid var(--canvas-theme-border,#e6e3e3);border-radius:0;box-shadow:none;background:transparent}.replication-ready{display:flex;flex-direction:column;gap:14px;min-width:0;width:100%;height:100%}.replication-ready__preview{position:relative;display:grid;place-items:center;height:100px;min-height:60px;flex:1 1;overflow:hidden;border-radius:9px;background:var(--canvas-theme-surface-soft,#f5f4f4);color:var(--canvas-theme-ink-muted,#77787b)}.replication-ready__preview img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.replication-ready__preview>span{position:absolute;bottom:8px;left:8px;display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border-radius:5px;color:var(--canvas-theme-ink,#1e1f21);background:var(--canvas-theme-surface,#fff);font-size:11px}.replication-ready__copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:6px;font-size:13px}.replication-ready__copy p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--canvas-theme-ink-muted,#77787b);line-height:1.6}.replication-movie-context{display:flex;flex-direction:column;width:100%;min-width:0;gap:10px;padding:4px 4px 8px;font-size:14px;color:var(--prompt-composer-primary-text)}.replication-movie-context p{margin:0}.replication-movie-panel__heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.replication-generation-settings{display:flex;flex-direction:column;gap:18px;padding:24px}.replication-generation-settings details{padding:12px;border:1px solid var(--canvas-theme-border,#e6e3e3);border-radius:10px}.replication-generation-settings summary{cursor:pointer;font-weight:500}.replication-generation-settings details>:not(summary){margin-top:12px}.replication-generation-settings article{padding:12px;border-radius:8px;background:var(--canvas-theme-surface-soft,#f5f4f4)}.replication-generation-settings label{display:flex;align-items:center;gap:10px}.replication-generation-settings button{align-self:flex-start}.replication-dialog [role=alert],.replication-movie-panel [role=alert]{color:var(--canvas-theme-danger,#c74444);font-size:12px}@media (max-width:680px){.replication-dialog-backdrop{padding:12px}.replication-dialog{max-height:calc(100dvh - 24px)}.replication-workspace{grid-template-columns:minmax(0,1fr)}.replication-workspace__reference{border-right:0;border-bottom:1px solid var(--canvas-theme-border,#e6e3e3)}.replication-reference-preview{height:120px}.replication-dialog__footer{flex-wrap:wrap;gap:12px}}.replication-ready__preview video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.replication-script-tabs{display:flex;align-items:center;gap:6px}.replication-script-tabs button{padding:9px 16px;border:0;border-radius:7px;color:var(--canvas-theme-ink-muted,#77787b);background:transparent;cursor:pointer}.replication-script-tabs button[aria-selected=true]{color:var(--canvas-theme-ink,#1e1f21);background:var(--canvas-theme-surface-soft,#f5f4f4);font-weight:600}.replication-script-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid var(--canvas-theme-border,#e6e3e3)}.replication-script-footer>:first-child{margin-right:auto}.replication-script-reference{overflow:auto;min-height:0;flex:1 1;padding:24px}.replication-script-reference .script-reference-analysis-content{max-height:none}.replication-script-node-actions{position:absolute;top:calc(100% + 12px);left:50%;transform:translateX(-50%);white-space:nowrap}.replication-upload-button{align-self:flex-start;cursor:pointer;border:1px dashed var(--canvas-theme-border,#e6e3e3);border-radius:8px;padding:9px 12px;position:relative;font-size:12px}.replication-upload-button input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.replication-upload-button:focus-within{outline:2px solid var(--canvas-theme-ink,#1e1f21)}.replication-generation-settings>button:not(.replication-icon-button),.replication-movie-panel [role=alert] button{padding:8px 12px;border:1px solid var(--canvas-theme-border,#e6e3e3);border-radius:8px;color:inherit;background:var(--canvas-theme-surface,#fff);cursor:pointer}.replication-generation-settings textarea{display:block;width:100%;box-sizing:border-box;margin-top:10px;min-height:96px;padding:12px;border:1px solid var(--canvas-theme-border,#e6e3e3);border-radius:8px;background:var(--canvas-theme-surface,#fff);color:var(--canvas-theme-ink,#1e1f21);font:inherit;line-height:1.6;resize:vertical}.replication-script-summary{padding:8px 24px;text-align:center;font-size:13px}.replication-script-summary p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--canvas-theme-ink-muted,#77787b);line-height:1.6}.replication-reference-only .replication-workspace__reference{border-right:0}.script-material-update{margin:12px 24px;padding:14px 16px;border:1px solid var(--canvas-theme-border,#dedede);border-radius:12px;background:var(--canvas-theme-surface,#fafafa);color:inherit;font-size:13px}.script-material-update p{margin:8px 0;line-height:1.6}.script-material-create,.script-material-shot-links,.script-material-update-actions,.script-material-update-heading{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.script-material-update-heading{justify-content:space-between}.script-material-proposals{max-height:340px;overflow:auto;margin:12px 0}.script-material-proposals article{padding:10px 0;border-top:1px solid var(--canvas-theme-border,#dedede)}.script-material-proposals label{display:flex;align-items:center;gap:8px}.script-material-diff{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px;margin-top:8px}.script-material-diff pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;margin:4px 0}.script-material-notice{font-size:12px;line-height:1.5}.has-material-change>td:first-child{box-shadow:inset 3px 0 #c18a24}@media (max-width:700px){.script-material-diff{grid-template-columns:1fr}.script-material-update{margin:10px}}.replication-asset-help{margin:0 0 20px;line-height:1.6}.replication-asset-help,.replication-reference-link{font-size:13px;color:var(--canvas-theme-ink-muted,#77787b)}.script-shot-header>button.replication-reference-link{width:auto;min-width:88px;height:36px;white-space:nowrap;padding:0 12px;border-radius:8px;font-size:13px}.script-asset-card.is-reference-material{width:560px;min-width:0;max-width:100%;padding:16px;border:1px solid var(--canvas-theme-border,#e6e3e3);box-sizing:border-box;cursor:default}.script-asset-card.is-reference-material>.script-asset-image{width:100%;height:auto;display:block;border:0;overflow:visible;background:none}.replication-material-comparison{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);grid-gap:8px;gap:8px;width:100%}.replication-material-comparison figure{margin:0;min-width:0}.replication-material-comparison figcaption{margin-bottom:10px;font-size:13px;color:var(--canvas-theme-ink,#1e1f21)}.replication-material-media{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;box-sizing:border-box;width:100%;aspect-ratio:16/10;border-radius:8px;overflow:hidden;background:var(--canvas-theme-surface-soft,#f5f4f4)}.replication-material-media img,.replication-material-media video{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center}.replication-material-pick{padding:0;border:1px dashed var(--canvas-theme-border,#d6d4d4);cursor:pointer;color:var(--canvas-theme-ink,#1e1f21);font:inherit;font-size:13px;line-height:1.5}.replication-material-comparison small{display:block;margin-top:6px;font-size:11px;line-height:1.5;color:var(--canvas-theme-muted,#737373)}.replication-material-arrow{align-self:center;text-align:center;font-size:20px;color:var(--canvas-theme-muted,#737373)}.replication-material-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:10px}.replication-material-actions .replication-button{font-family:inherit;font-size:13px;line-height:18px;white-space:nowrap}.script-asset-card.is-reference-material>.script-asset-menu-button{top:8px;right:8px}.script-asset-card.is-reference-material>strong{margin-top:10px;font-size:14px;line-height:20px}.script-asset-card.is-reference-material>p{font-size:12px;line-height:18px}.replication-mode-check{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 18px;margin-left:auto;border:1px solid var(--canvas-theme-stroke,#dedddd);border-radius:5px}.image-prompt-preset-item[aria-checked=true] .replication-mode-check{color:var(--canvas-theme-surface,#fff);background:var(--canvas-theme-ink,#1e1f21);border-color:var(--canvas-theme-ink,#1e1f21)}.replication-mode-badges{display:inline-flex;flex-wrap:wrap;gap:4px 8px;max-width:100%;pointer-events:auto}.replication-mode-badge{display:inline-flex;align-items:center;gap:2px}.replication-mode-badge>button{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:0;border-radius:5px;color:var(--canvas-theme-muted,#737373);background:transparent;cursor:pointer}.replication-mode-badge>button:hover{color:var(--canvas-theme-ink,#1e1f21);background:var(--canvas-theme-surface-soft,#f5f4f4)}.replication-language-option:focus-visible,.replication-mode-badge>button:focus-visible{outline:2px solid var(--canvas-theme-ink,#1e1f21);outline-offset:2px}.replication-language-control .prompt-settings-trigger{gap:6px;padding:6px 8px;border-radius:8px}.replication-language-popover{padding:6px}.replication-language-heading{padding:8px 10px;font-size:12px;color:var(--canvas-theme-muted,#737373)}.replication-language-option{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:36px;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:inherit;text-align:left;font:inherit;font-size:13px;cursor:pointer}.replication-language-option:hover,.replication-language-option[aria-checked=true]{background:var(--canvas-theme-surface-soft,#f5f4f4)}.prompt-composer .prompt-composer-toolbar .replication-language-popover{grid-template-columns:minmax(0,1fr);gap:2px;padding:6px}.replication-language-options{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:2px;gap:2px;min-width:0}.prompt-composer .prompt-composer-toolbar .replication-language-popover .replication-language-option{display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;width:100%;min-width:0;height:36px;padding:8px 10px;color:var(--canvas-popover-ink);font-size:13px;border:0;border-radius:6px;background:transparent}.prompt-composer .prompt-composer-toolbar .replication-language-popover .replication-language-option:hover,.prompt-composer .prompt-composer-toolbar .replication-language-popover .replication-language-option[aria-checked=true]{background:var(--canvas-theme-surface-soft,#f5f4f4)}.video-analysis-dialog{width:min(1040px,100%)}.video-analysis-dialog .replication-dialog__body{padding:20px 24px 0}.video-analysis-dialog .video-analysis-panel{gap:16px;min-height:0;color:var(--canvas-popover-ink)}.video-analysis-dialog .video-analysis-description{margin:0;font-size:13px;line-height:1.6;color:var(--canvas-popover-ink-muted)}.video-analysis-columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);grid-gap:24px;gap:24px;min-height:0}.video-analysis-columns>.video-analysis-shots,.video-analysis-overview{display:grid;align-content:start;grid-gap:16px;gap:16px;max-height:min(54vh,560px);overflow-y:auto;overscroll-behavior:contain;padding:0 8px 4px 0}.video-analysis-dialog .video-analysis-overview h3{margin:0;font-size:14px}.video-analysis-dialog .video-analysis-shots>header{min-height:22px}.video-analysis-dialog .video-analysis-shots>header>span{color:var(--canvas-popover-ink);font-size:14px;font-weight:600}.video-analysis-dialog .video-analysis-shots>header>strong{color:var(--canvas-popover-ink-muted);font-size:12px;font-weight:400}.video-analysis-dialog .video-analysis-panel :is(input,textarea){padding:10px 12px;color:var(--canvas-popover-ink);background:var(--canvas-popover-surface);border:1px solid var(--canvas-popover-border);font-size:13px;line-height:1.6;border-radius:8px}.video-analysis-dialog .video-analysis-panel textarea{min-height:96px}.video-analysis-dialog .video-analysis-panel label>span{font-size:12px;line-height:18px}.video-analysis-dialog .video-analysis-shots details{display:block;padding:14px;border-radius:10px}.video-analysis-dialog .video-analysis-shots details>:not(summary){margin-top:12px}.video-analysis-dialog .video-analysis-shots summary{line-height:22px;font-size:13px}.video-analysis-dialog .video-analysis-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin:0 -24px;padding:16px 24px;border-top:1px solid var(--canvas-popover-border);border-bottom:0}.video-analysis-dialog .video-analysis-actions button{min-height:38px;padding:0 16px;border-radius:8px;font-size:13px}.video-analysis-dialog .video-analysis-action-secondary{order:-1;margin-right:auto}.video-analysis-dialog .video-analysis-empty{padding:16px 0 36px;max-width:480px;margin:auto;gap:16px}@media (max-width:720px){.video-analysis-columns{grid-template-columns:minmax(0,1fr)}.video-analysis-columns>.video-analysis-shots,.video-analysis-overview{max-height:none;overflow:visible}}.image-prompt-preset-multiselect .image-prompt-preset-groups{height:auto;flex-flow:column nowrap}.image-prompt-preset-multiselect .image-prompt-preset-group{width:100%;min-width:0}.prompt-composer-toolbar .image-prompt-preset-multiselect button.image-prompt-preset-item{display:grid;grid-template-columns:30px minmax(0,1fr) 18px;box-sizing:border-box;width:100%;height:auto;min-height:60px;flex:0 0 auto;grid-gap:10px;gap:10px;padding:10px;border-radius:8px;white-space:normal}.image-prompt-preset-multiselect .image-prompt-preset-icon{width:30px;height:30px}.image-prompt-preset-multiselect .image-prompt-preset-copy{height:auto;min-width:0;transform:none;transition:none}.image-prompt-preset-multiselect .image-prompt-preset-item strong{white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:20px}.image-prompt-preset-multiselect .image-prompt-preset-item small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;line-height:17px;opacity:1;transition:none}.image-prompt-preset-multiselect .replication-mode-check{box-sizing:border-box;width:18px;height:18px;margin:0;border-color:var(--prompt-preset-border)}.image-prompt-preset-multiselect .image-prompt-preset-item[aria-checked=true]{background:var(--prompt-preset-hover)}.replication-mode-badge{max-width:100%;min-width:0}.replication-mode-badge .prompt-selected-preset{min-width:0;white-space:normal;overflow-wrap:anywhere}.replication-mode-badge>button{flex:0 0 20px}.script-node-panel .prompt-composer-input-prefix:has(.replication-mode-badges){display:flex;align-items:center;min-height:26px}.script-node-panel .prompt-composer-input-row:has(.replication-mode-badges) .prompt-composer-rich-input{line-height:26px}.script-node-panel .replication-mode-badges{display:flex;align-items:center}.replication-image-picker{padding:12px}.replication-image-picker p{margin:12px 4px 8px;color:var(--text-secondary,#777);font-size:12px}.replication-image-candidates button,.replication-image-upload{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border:0;border-radius:8px;background:transparent;color:inherit;text-align:left;cursor:pointer}.replication-image-candidates button:hover,.replication-image-upload:hover{background:var(--bg-secondary,#f5f5f5)}.replication-image-candidates{max-height:220px;overflow-y:auto}.replication-image-candidates img{width:44px;height:44px;object-fit:cover;border-radius:6px}.replication-image-candidates span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.replication-pending-image{flex:0 0 48px;width:48px}.prompt-composer-tools .replication-pending-image .prompt-reference-item{color:var(--canvas-theme-ink-muted,#777);background:var(--canvas-theme-surface-soft,#f5f5f5);border:1px dashed var(--canvas-theme-border,#ddd)}.replication-script-readapt{border:0;background:transparent;color:var(--text-secondary,#777);padding:6px 12px;font:inherit;font-size:12px;cursor:pointer;border-radius:6px}.replication-script-readapt:hover{color:var(--text-primary,#222);background:var(--bg-secondary,#f5f5f5)}.replication-script-readapt:disabled{opacity:.5;cursor:default}.replication-reference-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;border:0}.replication-video-groups{margin-top:12px;font-size:13px;color:var(--text-secondary,#777)}.replication-video-groups>summary{cursor:pointer;color:var(--text-primary,#202122)}.replication-video-groups__list{margin-top:12px;border:1px solid var(--border-color,#e6e6e6);border-radius:10px;overflow:hidden}.replication-video-groups__list>details+details{border-top:1px solid var(--border-color,#e6e6e6)}.replication-video-groups__list>details{padding:10px 12px}.replication-video-groups__list summary{display:flex;gap:12px;align-items:center;flex-wrap:wrap;cursor:pointer}.replication-video-groups__list summary>span:last-child{margin-left:auto}.replication-video-groups__shot{margin-top:12px}.replication-video-groups__shot p{white-space:pre-wrap;overflow-wrap:anywhere}.replication-step-header .script-panel-progress{position:static;width:auto;max-width:none;height:auto;flex:1 1;justify-content:flex-start;transform:none}.replication-step-header .script-panel-connector{flex:0 1 80px}.replication-step-header .script-panel-step-copy strong{font-size:14px;font-weight:500}.replication-step-header .script-panel-step-number{width:32px;flex-basis:32px}.replication-step-header .script-panel-step.is-current .script-panel-step-number>span{color:var(--canvas-theme-surface,#fff);background:var(--canvas-theme-ink,#1e1f21);border-color:var(--canvas-theme-ink,#1e1f21)}.replication-step-header>button.replication-reference-link{border:1px solid var(--canvas-theme-border,#e6e3e3);color:var(--canvas-theme-ink,#1e1f21);font-size:14px}.replication-step-footer button{min-height:40px;padding:0 18px;font-size:14px;font-weight:500;white-space:nowrap}.replication-step-footer>p{font-size:13px;line-height:1.5}.replication-preparation{width:min(960px,100%);min-height:0;box-sizing:border-box;margin:0 auto;padding:32px 24px;overflow:auto}.replication-preparation h2{margin:0 0 10px;font-size:20px}.replication-preparation p{color:var(--canvas-theme-ink-muted,#77787b);font-size:14px;line-height:1.6}.replication-preparation ul{margin:24px 0;padding:0;list-style:none}.replication-preparation li{display:flex;gap:20px;align-items:center;min-height:64px;padding:8px 0;border-bottom:1px solid var(--canvas-theme-border,#e6e3e3);font-size:14px}.replication-preparation li>strong{min-width:70px;font-weight:500}.replication-preparation li>span:first-of-type{margin-right:auto;color:var(--canvas-theme-ink-muted,#77787b)}@media (max-width:800px){.replication-step-header{gap:8px;padding:0 12px}.replication-step-header .script-panel-step{gap:2px;padding:4px}.replication-step-header .script-panel-step-copy small{display:none}.replication-step-header .script-panel-connector{flex-basis:16px}.replication-step-footer>p{display:none}.replication-step-footer>button:last-child{margin-left:auto}}.replication-movie-sound{display:flex;flex-direction:column;gap:12px}.replication-movie-sound select{width:100%;min-height:36px;padding:6px 10px;border:1px solid var(--canvas-theme-border,#e6e3e3);border-radius:8px;color:var(--canvas-theme-ink,#1e1f21);background:var(--canvas-theme-surface,#fff)}.replication-movie-sound p{line-height:1.5}.replication-video-groups>summary{padding:10px 12px;border-radius:8px;background:var(--canvas-theme-surface-soft,#f5f4f4)}.replication-video-groups>summary:focus-visible{outline:2px solid var(--canvas-theme-ink-muted,#77787b);outline-offset:2px}.target-video-content{display:flex;flex-direction:column;gap:12px;min-width:0}.replication-video-groups h4,.target-video-content h3,.target-video-content h4{margin:0;font-size:14px;font-weight:600}.target-video-content__shot summary{display:flex;flex-direction:column;gap:8px;list-style:none}.target-video-content__shot summary::-webkit-details-marker{display:none}.target-video-content__shot-heading{display:flex;align-items:center;gap:12px}.target-video-content__shot-heading>svg{margin-left:auto;flex-shrink:0}.target-video-content__shot[open] .target-video-content__shot-heading>svg{transform:rotate(180deg)}.target-video-content__summary{font-size:13px;line-height:1.65;font-weight:400;color:var(--canvas-theme-text-secondary,#777)}.target-video-content__body{display:flex;flex-direction:column;gap:10px}.target-video-content__prompt{margin:0;padding:12px;border-radius:8px;background:var(--canvas-theme-surface-soft,#f5f4f4);white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px;line-height:1.7;max-height:360px;overflow:auto}.target-video-content__assets{margin:0;padding:0;display:flex;flex-direction:column;gap:8px;list-style:none}.target-video-content__assets li{display:flex;align-items:center;gap:12px}.target-video-content__assets img{width:64px;height:64px;object-fit:contain;border-radius:8px;background:var(--canvas-theme-surface-soft,#f5f4f4);flex-shrink:0}.target-video-content__assets li>span{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}.target-video-content__assets small{color:var(--canvas-theme-text-secondary,#777);font-size:12px;line-height:1.5}.target-video-content-button{align-self:flex-start}.replication-asset-preview-status{position:absolute;inset:0;display:grid;place-items:center;padding:12px;text-align:center;font-size:12px;color:var(--canvas-theme-muted,#737373)}.target-video-references{display:flex;flex-wrap:wrap;align-items:center;gap:12px;min-width:0}.target-video-content-dialog{width:min(1040px,100%)}.target-video-content-dialog>.replication-dialog__footer,.target-video-content-dialog>.replication-dialog__header{flex:0 0 auto}.target-video-content-dialog>.replication-dialog__body{flex:1 1 auto;min-height:0;overflow-y:auto}.target-video-content-dialog .target-video-prompt-editor.prompt-composer{position:relative;inset:auto;transform:none;width:100%;max-width:100%;z-index:auto}.target-video-content-dialog .target-video-prompt-editor .prompt-composer-toolbar{display:none}.target-video-content-dialog .target-video-prompt-editor .prompt-composer-shell{border-radius:12px;box-shadow:none;border:1px solid var(--canvas-theme-border,#e6e3e3)}.target-video-content-dialog .target-video-prompt-editor .prompt-composer-context{padding-bottom:12px}.target-video-content-dialog .target-video-prompt-editor .prompt-composer-input-row{height:240px;flex:0 0 240px}.target-video-content-dialog .target-video-prompt-editor .prompt-composer-input{min-height:0;height:100%;overflow-y:auto;overscroll-behavior:contain}.target-video-group-prompt{min-width:0;-moz-user-select:text;user-select:text;-webkit-user-select:text}.target-video-group-prompt__heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.target-video-group-prompt textarea.target-video-content__prompt{display:block;width:100%;height:320px;min-height:160px;max-height:50vh;resize:vertical;overflow:auto;overscroll-behavior:contain;-moz-user-select:text;user-select:text;-webkit-user-select:text;cursor:text}.target-video-reference-context{display:flex;flex-direction:column;gap:10px;min-width:0}.target-video-materials{display:flex;flex-wrap:wrap;gap:8px 16px}.target-video-material{display:inline-flex;align-items:center;gap:6px;font-size:12px}.target-video-material .script-mention-token:disabled{opacity:1;cursor:default}.replication-asset-preview-compact{width:100%;height:100%;overflow:hidden}.replication-asset-preview-compact video{width:100%;height:100%;object-fit:cover}.replication-asset-preview-compact .replication-asset-preview-status{font-size:10px}.replication-script-backdrop{position:fixed;inset:0;z-index:220;background:rgba(0,0,0,.4)}.script-shot-page.is-replication-modal{inset:10vh 10vw;width:80vw;height:80vh;border-radius:16px;box-shadow:0 16px 64px rgba(0,0,0,.2)}