:root{--handle-default-border:var(--foreground,#000);--handle-hover-bg:color-mix(in srgb, var(--success,#188c5e) 10%, transparent);--handle-hover-border:var(--success,#188c5e);--handle-hover-glow:color-mix(in srgb, var(--success,#188c5e) 40%, transparent);--connection-line:var(--success,#188c5e);--connection-preview-fill:color-mix(in srgb, var(--success,#188c5e) 10%, transparent);--connection-preview-stroke:var(--success,#188c5e);--node-border:var(--border,#eff0f2);--node-bg:var(--card,#fff);--node-valid-target:var(--success,#188c5e);--node-valid-glow:color-mix(in srgb, var(--success,#188c5e) 40%, transparent);--edge-default:#b1b1b7;--edge-hover:var(--destructive,#dc3545);--edge-hover-dark:color-mix(in srgb, var(--destructive,#dc3545) 85%, black);--edge-ghost:var(--info,#1890ff);--node-referencing:var(--rdx-cyan-10,#0797b9);--edge-referencing:var(--rdx-cyan-10,#0797b9);--selection-frame-pad:12px;--selection-frame-radius:var(--radius-input,25px);--selection-frame-border:1px dashed var(--selected-node,#6852d3);--selection-frame-bg:color-mix(in srgb, var(--selected-node,#6852d3) 6%, transparent)}.react-flow__selection{--xy-selection-border:var(--selection-frame-border);--xy-selection-background-color:var(--selection-frame-bg);border-radius:var(--selection-frame-radius)}.react-flow__nodesselection .react-flow__nodesselection-rect{--xy-selection-border:none;--xy-selection-background-color:transparent;pointer-events:none}.react-flow__nodesselection-rect:before{content:"";inset:calc(-1 * var(--selection-frame-pad));border:var(--selection-frame-border);border-radius:calc(var(--selection-frame-radius) + var(--selection-frame-pad));background:var(--selection-frame-bg);pointer-events:none;position:absolute}.react-flow__handle{border:2px solid var(--handle-default-border);cursor:pointer;background:0 0;border-radius:50%;width:12px;min-width:12px;height:12px;min-height:12px;transition:all .2s}.react-flow__handle-right{right:-10px}.react-flow__handle-left{pointer-events:none;left:-10px}.react-flow__handle.interactive-handle:hover,.node-wrapper:hover .react-flow__handle.interactive-handle{background:var(--handle-hover-bg);border-color:var(--handle-hover-border);width:16px;min-width:16px;height:16px;min-height:16px}@keyframes loop-dash{0%{stroke-dashoffset:10px}to{stroke-dashoffset:0}}.loop-border-rect{stroke:#b1b1b7;stroke-dasharray:5 5;fill:none;stroke-width:1px;animation:.5s linear infinite loop-dash}.react-flow__node-loopGroupNode:hover .loop-border-rect{stroke:#40a9ff}.loop-border-svg[data-selected=true] .loop-border-rect{stroke:#1890ff}.loop-border-svg[data-status=running] .loop-border-rect{stroke:var(--success,#188c5e)}.loop-border-svg[data-status=error] .loop-border-rect{stroke:#ce2c31}.react-flow__node-loopGroupNode{transition:width .22s ease-out,height .22s ease-out}.react-flow__node-loopGroupNode.loop-group-resizing{transition:none}.react-flow__node.loop-child-shift:not(.dragging){transition:transform .18s ease-out}.react-flow__node-loopGroupNode,.react-flow__node-loopGroupNode:focus,.react-flow__node-loopGroupNode:focus-visible,.react-flow__node-loopGroupNode.selected,.react-flow__node-loopGroupNode.dragging{box-shadow:none!important;outline:none!important}.tiptap.ProseMirror.builder-prompt-editor,.tiptap.ProseMirror.builder-prompt-editor p{font-size:14px}.node-wrapper .react-flow__resize-control.bottom.right.handle{z-index:999;top:calc(100% - 12px)!important;left:calc(100% - 12px)!important}.node-wrapper .react-flow__resize-control.line,.node-wrapper .react-flow__resize-control.top,.node-wrapper .react-flow__resize-control.left,.node-wrapper .react-flow__resize-control.bottom.left{display:none!important}.tiptap.builder-prompt-editor p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:var(--muted-foreground,#9ca3af);float:none;pointer-events:none;height:auto}.ref-input-compact p.is-editor-empty:first-child{position:relative}.ref-input-compact p.is-editor-empty:first-child:before{float:none;white-space:nowrap;text-overflow:ellipsis;height:auto;position:absolute;top:0;left:0;right:0;overflow:hidden}.ref-input-compact [contenteditable=false],.ref-input-compact .react-renderer,.ref-input-compact .react-renderer>span{white-space:nowrap!important}.ref-input-multiline p.is-editor-empty:first-child{position:relative}.ref-input-multiline p.is-editor-empty:first-child:before{float:none;white-space:normal;height:auto;position:absolute;top:0;left:0;right:0}.ref-input-multiline .mention-chip-box,.reference-chip-rows .mention-chip-box{margin-block:2px}.react-flow__panel.bottom.center{z-index:5}[data-interaction-mode=hand] .react-flow__pane{cursor:grab!important}[data-interaction-mode=hand] .react-flow__pane:active{cursor:grabbing!important}[data-interaction-mode=hand] .react-flow__node{cursor:grab}[data-interaction-mode=hand] .react-flow__node:active{cursor:grabbing}[data-interaction-mode=hand] .react-flow__handle{cursor:grab!important}[data-interaction-mode=hand] .react-flow__handle:active{cursor:grabbing!important}[data-interaction-mode=pointer] .react-flow__node{cursor:grab}[data-interaction-mode=pointer] .react-flow__node:active{cursor:grabbing}[data-interaction-mode=pointer] .react-flow__handle-left{pointer-events:auto;cursor:default!important}[data-interaction-mode=pointer] .react-flow__handle-right{cursor:grab!important}[data-interaction-mode=pointer] .react-flow__handle-right:active{cursor:grabbing!important}.react-flow__node [data-streamdown=code-block]{content-visibility:visible!important}[data-radix-popper-content-wrapper]:has(>[data-slot=popover-content][data-state=closed]){pointer-events:none}.mention-chip-selected .mention-chip-box{outline:2px solid rgb(var(--editor-selection-rgb,99 102 241) / .7);outline-offset:1px}.reference-list-chip:focus .mention-chip-box{border-color:var(--destructive);box-shadow:inset 0 0 0 1px var(--destructive)}.customHandle{opacity:0;pointer-events:all;background:0 0;border:none;border-radius:0;width:100%;height:100%;position:absolute;top:0;left:0}.group-frame{border-color:var(--group-color);transition:border-color .15s ease-out}.group-frame[data-selected]{box-shadow:0 0 0 4px color-mix(in srgb, var(--group-color) 22%, transparent)}.group-frame[data-status=running]{border-color:var(--success);animation:1.2s ease-in-out infinite group-frame-pulse}.group-frame[data-status=error]{border-color:var(--destructive)}@keyframes group-frame-pulse{0%,to{box-shadow:0 0 0 0 color-mix(in srgb, var(--success) 35%, transparent)}50%{box-shadow:0 0 0 6px color-mix(in srgb, var(--success) 0%, transparent)}}@media (prefers-reduced-motion:reduce){.group-frame[data-status=running]{animation:none}}.react-flow__node-groupNode,.react-flow__node-groupNode:focus,.react-flow__node-groupNode:focus-visible,.react-flow__node-groupNode.selected,.react-flow__node-groupNode.dragging{box-shadow:none!important;outline:none!important}.node-flash-outline{outline:2px solid var(--node-referencing);outline-offset:3px;animation:.5s ease-in-out 3 node-flash-outline}@keyframes node-flash-outline{0%,to{outline-color:var(--node-referencing)}50%{outline-color:#0000}}@media (prefers-reduced-motion:reduce){.node-flash-outline{animation:none}}
