.react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 .5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#555;--xy-background-pattern-lines-color-default:#333;--xy-background-pattern-cross-color-default:#333;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 .5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px)translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px)translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));padding:10px;font-size:12px}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(--xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default)));color:var(--xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default)))}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)))}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}.uc-scope ::-webkit-scrollbar{width:8px;height:8px}.uc-scope ::-webkit-scrollbar-thumb{background:#94a3b838;border-radius:99px}.uc-scope ::-webkit-scrollbar-thumb:hover{background:#94a3b861}.uc-scope ::-webkit-scrollbar-track{background:0 0}.uc-scope{color:var(--text);min-height:0}.uc-scope *,.uc-scope :before,.uc-scope :after{box-sizing:border-box}.uc-scope,.coach-mark,.lightbox{color-scheme:normal;--bg:var(--background);--line:var(--border);--line-strong:var(--border);--text:var(--foreground);--faint:var(--muted);--ok:var(--accent-bright);--warn:#fbbf24;--err:#f87171;--radius:14px;--shadow:0 18px 40px -20px var(--card-glow), 0 2px 8px -4px var(--foreground)}@supports (color:color-mix(in lab, red, red)){.uc-scope,.coach-mark,.lightbox{--shadow:0 18px 40px -20px var(--card-glow), 0 2px 8px -4px color-mix(in srgb, var(--foreground) 12%, transparent)}}.uc-scope,.coach-mark,.lightbox{--k:var(--accent);font-family:var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif;font-feature-settings:"cv02", "cv03", "cv11", "tnum";-webkit-font-smoothing:antialiased}.kind-input{--k:var(--violet)}.kind-image{--k:var(--accent-bright)}.kind-video{--k:var(--violet-bright)}.kind-frames{--k:var(--accent)}.kind-vision{--k:var(--violet-bright)}.kind-viewer{--k:var(--accent-bright)}.kind-edit{--k:var(--muted)}.uc-demo,.uc-demo .canvas-wrap{flex:1;min-height:0}.top{border-bottom:1px solid var(--line);background:linear-gradient(180deg, var(--surface-2), var(--background));flex:none;align-items:center;gap:12px;height:54px;padding:0 18px;display:flex}.mark{color:#06080c;letter-spacing:-.03em;background:linear-gradient(140deg,#16a34a,#7c3aed);border-radius:9px;place-items:center;width:28px;height:28px;font-size:11px;font-weight:800;display:grid}.top h1{letter-spacing:-.01em;margin:0;font-size:14px;font-weight:650}.top .sub{color:var(--faint);letter-spacing:.14em;text-transform:uppercase;margin:0;font-size:11px}.top .spacer{flex:1}.demo-pick{color:var(--faint);align-items:center;gap:8px;font-size:11px;display:flex}.demo-pick span{letter-spacing:.14em;text-transform:uppercase}.demo-pick select{background:var(--surface);color:var(--text);border:1px solid var(--line);font:inherit;cursor:pointer;border-radius:999px;padding:6px 12px;font-size:12px}.demo-pick select:hover:not(:disabled){border-color:var(--line-strong)}.demo-pick select:disabled{opacity:.45;cursor:default}.top-reset{appearance:none;border:1px solid var(--line);background:var(--surface);color:var(--text);font:inherit;cursor:pointer;border-radius:999px;padding:6px 14px;font-size:12px;font-weight:550;transition:background .15s,border-color .15s}.top-reset:hover:not(:disabled){background:var(--surface-2);border-color:var(--line-strong)}.top-reset:disabled{opacity:.45;cursor:default}.top .live{color:var(--muted);border:1px solid var(--line);background:var(--sunken);border-radius:999px;align-items:center;gap:7px;padding:5px 11px;font-size:11px;display:flex}.top .live:before{content:"";background:var(--ok);border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 3px #4ade8026}.canvas-wrap{flex:1;min-height:0;display:flex}.canvas-wrap .react-flow{background:radial-gradient(120% 90% at 30% -10%, var(--surface-2) 0%, var(--bg) 60%);flex:1}.rail{border-right:1px solid var(--line);background:linear-gradient(180deg, var(--surface), var(--background));flex-direction:column;flex:none;gap:6px;width:208px;padding:16px 12px;display:flex;overflow-y:auto}.rail-label{color:var(--faint);letter-spacing:.16em;text-transform:uppercase;padding:12px 6px 4px;font-size:10px;font-weight:600}.rail-label:first-child{padding-top:0}.rail button{text-align:left;background:var(--surface);width:100%;color:var(--text);border:1px solid var(--line);font:inherit;cursor:pointer;border-radius:10px;align-items:center;gap:9px;padding:9px 11px;font-size:12px;font-weight:500;transition:background .15s,border-color .15s,transform .1s;display:flex}.rail button:before{content:"";background:var(--k);width:7px;height:7px;box-shadow:0 0 8px -1px var(--k);border-radius:50%;flex:none}.rail button:after{content:"+";color:var(--faint);margin-left:auto;font-size:14px;line-height:1}.rail button:hover{background:var(--surface-2);border-color:var(--line-strong)}.rail button:active{transform:translateY(1px)}.react-flow__node{font-size:12px;overflow:visible}.react-flow__attribution{display:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{width:auto;color:inherit;font-size:inherit;text-align:left;background:0 0;border:0;border-radius:0;padding:0}.react-flow__node:focus,.react-flow__node:focus-visible{outline:none}.react-flow__background-pattern{color:#94a3b829}.react-flow__edge-path{stroke:var(--line-strong);stroke-width:1.6px}.react-flow__edge.animated .react-flow__edge-path{stroke:#22c55ed9}.react-flow__edge.selected .react-flow__edge-path{stroke:var(--accent);stroke-width:2.4px}.react-flow__connectionline .react-flow__connection-path{stroke:var(--accent);stroke-width:2px}.react-flow__handle{border:2px solid #0a0d13;width:11px;height:11px;transition:transform .12s,box-shadow .12s}.react-flow__handle:hover{transform:scale(1.35)}.react-flow__handle.connectingto{box-shadow:0 0 0 5px #22c55e40}.react-flow__controls{border:1px solid var(--line);box-shadow:var(--shadow);border-radius:10px;overflow:hidden}.react-flow__controls-button{background:var(--surface);border-bottom:1px solid var(--line);fill:var(--muted);width:28px;height:28px}.react-flow__controls-button:hover{background:var(--surface-2);fill:var(--text)}.react-flow__minimap{border:1px solid var(--line);box-shadow:var(--shadow);border-radius:10px;overflow:hidden}.react-flow__minimap-mask{fill:#07090db8}.react-flow__minimap-node{opacity:.5}.react-flow__resize-control.line{border-color:#0000}.react-flow__resize-control.handle{border:1.5px solid var(--bg);background:var(--k);opacity:0;border-radius:3px;width:9px;height:9px;transition:opacity .15s}.react-flow__node:hover .react-flow__resize-control.handle,.react-flow__node.selected .react-flow__resize-control.handle{opacity:1}.uc-scope .block{background:linear-gradient(180deg, var(--surface), var(--background));border:1px solid var(--line);border-radius:var(--radius);height:100%;box-shadow:var(--shadow);flex-direction:column;font-size:12px;transition:border-color .15s,box-shadow .15s;display:flex;overflow:hidden}.uc-scope .block:before{content:"";background:linear-gradient(90deg, var(--k), transparent 70%);opacity:.75;flex:none;height:2px}.react-flow__node:hover .block{border-color:var(--line-strong)}.react-flow__node.selected .block{border-color:var(--k);box-shadow:var(--shadow), 0 0 0 1px var(--k)}.uc-scope .block header{cursor:grab;flex:none;align-items:center;gap:8px;padding:11px 13px 9px;display:flex}.uc-scope .block header .dot{background:var(--k);width:7px;height:7px;box-shadow:0 0 8px -1px var(--k);border-radius:50%}.uc-scope .block header strong{letter-spacing:-.005em;font-size:12px;font-weight:600}.uc-scope .block header .pill{margin-left:auto}.uc-scope .block header .editor-icon{appearance:none;border:1px solid var(--line);background:var(--surface-2);color:var(--muted);font:inherit;cursor:pointer;border-radius:999px;padding:3px 8px;font-size:10px}.uc-scope .block header .editor-icon:hover{color:var(--text);border-color:var(--line-strong)}.body{flex-direction:column;flex:1;gap:10px;min-height:0;padding:3px 13px 12px;display:flex;overflow-y:auto}.uc-scope .block footer{flex:none;padding:0 13px 12px}.empty{color:var(--faint);text-align:center;margin:auto;padding:20px 14px;font-size:11px;line-height:1.5}.stage,.error{flex:none;margin:0 13px 8px;font-size:11px}.stage{color:var(--muted)}.error{color:var(--err);background:#f8717117;border:1px solid #f8717140;border-radius:8px;padding:6px 8px}.field{flex-direction:column;gap:5px;display:flex}.field.row{flex-direction:row;justify-content:space-between;align-items:center}.field>span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:600}.field input,.field select,.field textarea{background:var(--sunken);color:var(--text);border:1px solid var(--line);font:inherit;border-radius:8px;width:100%;padding:7px 9px;font-size:12px;transition:border-color .15s,box-shadow .15s}.field textarea{resize:vertical;line-height:1.5}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--k);box-shadow:0 0 0 3px var(--k);outline:none}@supports (color:color-mix(in lab, red, red)){.field input:focus,.field select:focus,.field textarea:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--k) 18%, transparent)}}.field input::placeholder,.field textarea::placeholder{color:var(--faint)}.field.row input[type=checkbox]{width:15px;height:15px;accent-color:var(--k);cursor:pointer}.field input[type=file]{color:var(--faint);cursor:pointer;padding:5px 8px;font-size:11px}.field input[type=file]::file-selector-button{background:var(--surface-2);color:var(--text);border:1px solid var(--line);font:inherit;cursor:pointer;border-radius:6px;margin-right:9px;padding:4px 10px;font-size:11px}.model-field{position:relative}.model-label-row{align-items:center;gap:6px;display:flex}.model-info-btn{appearance:none;border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:help;border-radius:999px;width:18px;height:18px;padding:0;font-size:11px;line-height:1}.model-info-btn:hover,.model-info-btn:focus{border-color:var(--k);color:var(--text)}.cost-estimate{color:var(--ok);font-size:11px;font-weight:550}.model-tooltip{z-index:30;border:1px solid var(--line-strong);background:var(--surface-2);box-shadow:var(--shadow);border-radius:10px;padding:10px 12px;font-size:11px;line-height:1.45;position:absolute;top:calc(100% + 4px);left:0;right:0}.model-tooltip dl{gap:8px;margin:0;display:grid}.model-tooltip dt{color:var(--faint);letter-spacing:.08em;text-transform:uppercase;font-size:9px;font-weight:700}.model-tooltip dd{color:var(--text);margin:2px 0 0}.model-doc-link{appearance:none;color:var(--k);font:inherit;cursor:pointer;background:0 0;border:none;padding:0;font-size:11px;font-weight:600;text-decoration:underline}.field input[type=file]::file-selector-button:hover{border-color:var(--line-strong)}.file-name{color:var(--k);word-break:break-all;font-size:10px}.input-text{color:var(--text);white-space:pre-wrap;margin:0;font-size:11px}.run{border:1px solid var(--k);width:100%}@supports (color:color-mix(in lab, red, red)){.run{border:1px solid color-mix(in srgb, var(--k) 45%, transparent)}}.run{background:linear-gradient(180deg, var(--k), var(--k));border-radius:9px;padding:9px 12px}@supports (color:color-mix(in lab, red, red)){.run{background:linear-gradient(180deg, color-mix(in srgb, var(--k) 22%, transparent), color-mix(in srgb, var(--k) 10%, transparent))}}.run{color:var(--k);font:inherit;letter-spacing:.02em;cursor:pointer;font-size:12px;font-weight:600;transition:filter .15s,transform .1s}.run:hover:not(:disabled){filter:brightness(1.25)}.run:active:not(:disabled){transform:translateY(1px)}.run:disabled{opacity:.6;cursor:wait}.pill{letter-spacing:.05em;border:1px solid var(--line);background:var(--sunken);color:var(--muted);border-radius:999px;padding:3px 9px;font-size:10px;font-weight:600}.pill.ok{color:var(--ok);border-color:#34d39959}.pill.err{color:var(--err);border-color:#f8717159}.pill.run{color:var(--warn);border-color:#fbbf2459}.media{border:1px solid var(--line);background:var(--sunken);border-radius:10px;flex-direction:column;min-height:0;display:flex;overflow:hidden}.media-bar{border-bottom:1px solid var(--line);color:var(--muted);flex:none;align-items:center;gap:6px;padding:5px 7px;font-size:11px;display:flex}.media-time{color:var(--k);font-variant-numeric:tabular-nums;margin-right:auto}.media-bar button{background:var(--surface-2);color:var(--muted);border:1px solid var(--line);font:inherit;cursor:pointer;border-radius:6px;padding:3px 9px;font-size:10px;transition:color .15s,border-color .15s}.media-bar button:hover{color:var(--text);border-color:var(--line-strong)}.media-row{flex:1;gap:6px;min-height:0;padding:6px;display:flex;overflow-x:auto}.thumb{border:1px solid var(--line);background:var(--surface);cursor:zoom-in;border-radius:7px;flex:none;width:84px;height:60px;padding:0;transition:border-color .15s,transform .12s;overflow:hidden}.thumb:hover{border-color:var(--k);transform:translateY(-1px)}.thumb img,.thumb video{object-fit:cover;width:100%;height:100%;display:block}.mask-thumb,.mask-img,.lightbox-body .mask-img{background:repeating-conic-gradient(#2a3344 0% 25%,#12161e 0% 50%) 50%/14px 14px}.thumb.mask-thumb img{object-fit:contain;image-rendering:pixelated}.model-thumb{pointer-events:none;--poster-color:transparent;background:radial-gradient(70% 70% at 50% 35%,#1b2231,#0b0e14);width:100%;height:100%;min-height:84px;display:block}.thumb:has(.model-thumb){aspect-ratio:1;width:84px;height:84px}.model-full{--poster-color:transparent;pointer-events:none;background:0 0;width:100%;height:100%}.model-stage{cursor:grab;touch-action:none;width:100%;height:100%;position:relative}.model-stage:active{cursor:grabbing}.model-spin{border:1px solid var(--line-strong);width:34px;height:34px;color:var(--text);cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0a0d13c7;border-radius:999px;font-size:11px;line-height:1;position:absolute;bottom:18px;right:18px}.model-spin:hover{border-color:var(--text)}.model-loading{color:var(--faint);margin:auto;font-size:10px}.lightbox-hint{text-align:center;color:var(--faint);margin:0 0 14px;font-size:11px}.uc-scope .block.viewer .body{padding-top:0}.uc-scope .block.viewer .media{flex:1}.uc-scope .block.viewer .thumb{aspect-ratio:4/3;cursor:zoom-in;width:auto;min-width:72px;height:100%}.uc-scope .block.viewer .media-row:has(>:only-child) .thumb{aspect-ratio:auto;width:100%}.uc-scope .block.viewer .thumb img,.uc-scope .block.viewer .thumb video{object-fit:contain}.uc-scope .block.viewer .thumb:has(.model-thumb){aspect-ratio:1;width:min(100%,240px);height:auto;min-height:140px}.uc-scope .block.viewer .media-row:has(>:only-child) .thumb:has(.model-thumb){aspect-ratio:1;width:min(100%,240px);height:auto;min-height:140px}.lightbox{z-index:10000;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#05070be6;flex-direction:column;display:flex;position:fixed;inset:0}.lightbox-bar{align-items:center;gap:10px;padding:12px 16px;font-size:12px;display:flex}.lightbox-bar span{color:var(--muted);margin-right:auto}.lightbox-bar button{background:var(--surface);color:var(--text);border:1px solid var(--line);font:inherit;cursor:pointer;border-radius:8px;padding:6px 12px;font-size:12px}.lightbox-bar button:hover{border-color:var(--line-strong)}.lightbox-body{flex:1;justify-content:center;align-items:center;min-height:0;padding:14px;display:flex}.lightbox-body img,.lightbox-body video{object-fit:contain;border-radius:10px;max-width:100%;max-height:100%}.lightbox-body:has(.model-full){padding:0 14px}.metrics{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:10px}.metrics th{color:var(--faint);letter-spacing:.08em;text-transform:uppercase;font-weight:600}.metrics th,.metrics td{border-bottom:1px solid var(--line);text-align:left;padding:4px 5px}.metrics tr:last-child td{border-bottom:0}.viewer-text{max-height:220px;color:var(--text);font-size:11px}.boot{color:var(--muted);margin:auto;padding:24px;font-size:13px}.editor-tools{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex}.kind-edit .body{overflow:hidden}.editor-stage{flex:1;min-height:160px}.editor-panels{border-top:1px solid var(--line);flex-direction:column;flex:none;max-height:48%;display:flex;overflow-y:auto}.editor-section+.editor-section{border-top:1px solid var(--line)}.editor-section-h{appearance:none;width:100%;color:var(--muted);font:inherit;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;background:0 0;border:0;justify-content:space-between;padding:8px 2px;font-size:10px;font-weight:650;display:flex}.editor-section-h:hover{color:var(--text)}.editor-section-b{flex-direction:column;gap:8px;padding:0 0 10px;display:flex}.editor-mode{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.editor-mode button,.editor-section-b .run.secondary{appearance:none;border:1px solid var(--line);background:var(--surface);color:var(--text);font:inherit;cursor:pointer;border-radius:8px;padding:4px 8px;font-size:10px}.editor-mode button.active{border-color:var(--k);color:var(--k)}.brush-size{color:var(--muted);align-items:center;gap:6px;font-size:10px;display:flex}.mask-canvas-wrap{width:100%;height:100%;min-height:160px}.mask-stage{border:1px solid var(--line);background:var(--sunken);border-radius:8px;width:100%;height:100%;position:relative;overflow:hidden}.mask-photo,.mask-overlay-img,.mask-brush,.mask-select{object-fit:contain;width:100%;height:100%;display:block}.mask-photo{z-index:0;position:relative}.mask-overlay-img{z-index:1;pointer-events:none;opacity:.55;position:absolute;inset:0}.mask-select{z-index:2;pointer-events:none;position:absolute;inset:0}.mask-brush{z-index:3;cursor:grab;position:absolute;inset:0}.mask-brush.nopan{cursor:crosshair}.editor-result{flex-direction:column;gap:6px;display:flex}.object-list{max-height:140px;margin:0;padding:0;font-size:10px;list-style:none;overflow:auto}.object-list li{border-radius:6px;padding:0 4px}.object-list li.on{background:#f871712e}.object-list li label{cursor:pointer;align-items:center;gap:6px;padding:3px 0;display:flex}.editor-actions{flex-wrap:wrap;gap:8px;display:flex}.editor-section-b .run{align-self:flex-start}.editor-fs{z-index:10001;background:#07090d;flex-direction:column;gap:8px;padding:12px 16px 16px;display:flex;position:fixed;inset:0}.editor-fs-bar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.editor-fs-bar strong{font-size:13px}.editor-fs-bar .editor-icon{appearance:none;border:1px solid var(--line);background:var(--surface);color:var(--text);font:inherit;cursor:pointer;border-radius:999px;margin-left:auto;padding:6px 12px;font-size:12px}.editor-fs-stage{flex:1;min-height:0}.context-menu{z-index:10000;background:var(--surface);border:1px solid var(--line-strong);min-width:180px;box-shadow:var(--shadow);border-radius:10px;padding:6px;position:fixed}.context-search{box-sizing:border-box;border:1px solid var(--line);background:var(--sunken);width:100%;color:var(--text);font:inherit;border-radius:8px;margin-bottom:6px;padding:6px 8px;font-size:12px}.context-menu ul{margin:0;padding:0;list-style:none}.context-menu button{text-align:left;appearance:none;width:100%;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:7px 8px;font-size:12px}.context-menu button:hover{background:var(--surface-2)}.canvas-wrap[data-drag-type] .react-flow__handle{opacity:.35;transition:opacity .12s,box-shadow .12s}.canvas-wrap[data-drag-type=text] .react-flow__handle[id*=prompt],.canvas-wrap[data-drag-type=text] .react-flow__handle[id*=query],.canvas-wrap[data-drag-type=text] .react-flow__handle[id*=text],.canvas-wrap[data-drag-type=image] .react-flow__handle[id*=image],.canvas-wrap[data-drag-type=image] .react-flow__handle[id*=frame_],.canvas-wrap[data-drag-type=video] .react-flow__handle[id*=video],.canvas-wrap[data-drag-type=json] .react-flow__handle[id*=metrics],.canvas-wrap[data-drag-type=json] .react-flow__handle[id*=objects],.canvas-wrap[data-drag-type=mask] .react-flow__handle[id*=mask]{opacity:1;box-shadow:0 0 0 3px #22c55e59}.auto-preview{cursor:pointer;gap:6px}.auto-preview input{accent-color:var(--accent)}.coach-mark{z-index:10050;opacity:0;pointer-events:none;will-change:left, top, opacity, transform;transition:left .7s cubic-bezier(.22,1,.36,1),top .7s cubic-bezier(.22,1,.36,1),opacity .55s cubic-bezier(.22,1,.36,1),transform .55s cubic-bezier(.22,1,.36,1);position:fixed;transform:translate(-50%,calc(-100% - 18px))scale(.97)}.coach-mark.is-shown{opacity:1;transform:translate(-50%,calc(-100% - 22px))scale(1)}.coach-mark.placement-below{transform:translate(-50%,8px)scale(.97)}.coach-mark.placement-below.is-shown{transform:translate(-50%,12px)scale(1)}.coach-mark.placement-below .coach-arrow{border:none;border-top:1px solid #22c55e4d;border-left:1px solid #22c55e4d;top:-7px;bottom:auto}.coach-card{background:linear-gradient(165deg, var(--surface) 0%, var(--surface-2) 100%);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid #22c55e4d;border-radius:16px;min-width:240px;max-width:360px;padding:16px 18px 18px;animation:.55s cubic-bezier(.22,1,.36,1) coach-card-in;box-shadow:0 22px 48px -18px #000000b3,0 8px 20px -10px #22c55e2e,inset 0 1px #a78bfa1f}.coach-step{color:var(--accent-bright);letter-spacing:.06em;text-transform:uppercase;background:#14532d59;border-radius:999px;margin-bottom:10px;padding:4px 10px;font-size:12px;font-weight:700;display:inline-block}.coach-card p{color:var(--foreground);letter-spacing:-.015em;margin:0;font-size:18px;font-weight:650;line-height:1.4}.coach-arrow{background:var(--surface-2);border-bottom:1px solid #22c55e4d;border-right:1px solid #22c55e4d;width:14px;height:14px;margin-left:-7px;position:absolute;bottom:-7px;left:50%;transform:rotate(45deg);box-shadow:2px 2px 6px #00000040}.react-flow__node.coach-focus{filter:drop-shadow(0 0 0 1px #22c55e8c) drop-shadow(0 0 22px #22c55e47);transition:filter .65s cubic-bezier(.22,1,.36,1);z-index:8!important}[data-demo-subject].coach-focus-dom{border-radius:999px;transition:box-shadow .55s cubic-bezier(.22,1,.36,1);position:relative;box-shadow:0 0 0 2px #22c55e8c,0 0 0 6px #22c55e29,0 10px 28px #22c55e33}.demo-pick:has([data-demo-subject].coach-focus-dom){border-radius:999px;transition:box-shadow .55s cubic-bezier(.22,1,.36,1);position:relative;box-shadow:0 0 0 2px #22c55e8c,0 0 0 6px #22c55e29,0 10px 28px #22c55e33}[data-demo-subject].coach-focus-dom{outline:none}@keyframes coach-card-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
