.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-border-default:1px solid #bbb;--xy-node-border-selected-default:1px solid #555;--xy-handle-background-color-default:#333;--xy-selection-background-color-default:#9696b41a;--xy-selection-border-default:1px dotted #9b9b9bcc;--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}.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));min-width:5px;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{flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{justify-content:center;align-items:center;width:26px;height:26px;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border:var(--xy-node-border,var(--xy-node-border-default));color:var(--xy-node-color,var(--xy-node-color-default))}.react-flow__node-input.selected,.react-flow__node-input:focus,.react-flow__node-input:focus-visible,.react-flow__node-default.selected,.react-flow__node-default:focus,.react-flow__node-default:focus-visible,.react-flow__node-output.selected,.react-flow__node-output:focus,.react-flow__node-output:focus-visible,.react-flow__node-group.selected,.react-flow__node-group:focus,.react-flow__node-group:focus-visible{border:var(--xy-node-border-selected,var(--xy-node-border-selected-default));outline:none}.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__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%}.flow-canvas{background:var(--canvas);--xy-edge-stroke:var(--border-strong)}.flow-canvas .react-flow__pane{cursor:default}.flow-canvas .react-flow__pane.dragging{cursor:grabbing}.flow-canvas .react-flow__node{border-radius:12px;outline:none}.flow-canvas .react-flow__node:focus-visible>[data-flow-node],.flow-canvas .react-flow__node:focus-visible>[data-flow-note]{box-shadow:0 0 0 2px var(--ring)}.flow-canvas .flow-edge{stroke:var(--border-strong);stroke-width:1.5px;fill:none;transition:stroke .1s}.flow-canvas .flow-edge-error{stroke:#e5484d;stroke-dasharray:5 4}.flow-canvas .flow-edge-active,.flow-canvas .react-flow__edge:focus-visible .flow-edge{stroke:var(--action);stroke-width:2px}.flow-canvas .react-flow__edge{outline:none}.flow-canvas .react-flow__connection-path{stroke:var(--action);stroke-width:1.5px;fill:none}.flow-canvas .flow-handle{z-index:1;background:var(--background);border:1.5px solid var(--muted-foreground);border-radius:9999px;width:10px;min-width:0;height:10px;min-height:0;transition:border-color .1s,background-color .1s,box-shadow .1s}.flow-canvas .flow-handle:before{content:"";border-radius:9999px;position:absolute;inset:-8px}.flow-canvas .flow-handle.react-flow__handle-left{left:-5px;transform:translateY(-50%)}.flow-canvas .flow-handle.react-flow__handle-right{left:auto;right:-5px;transform:translateY(-50%)}.flow-canvas .flow-handle.connectionindicator:hover,.flow-canvas .flow-handle.connectingfrom,.flow-canvas .flow-handle.connectingto{border-color:var(--action);background:var(--action-subtle);box-shadow:0 0 0 4px color-mix(in srgb, var(--action) 16%, transparent)}.flow-canvas .flow-handle.valid{border-color:var(--action);background:var(--action)}.flow-canvas .flow-handle.connectingto:not(.valid){background:var(--background);border-color:#e5484d;box-shadow:0 0 0 4px #e5484d29}.flow-canvas .flow-handle-error{border-color:#e5484d}.flow-canvas .flow-stem{white-space:nowrap;align-items:center;display:flex;position:absolute;top:50%;left:100%;transform:translateY(-50%)}.flow-canvas .flow-stem-line{background:var(--border-strong);flex-shrink:0;width:12px;height:1.5px}.flow-canvas .flow-handle.connectionindicator:hover .flow-stem-line{background:var(--action)}.flow-canvas .flow-port-label-text,.flow-canvas .flow-port-label{text-overflow:ellipsis;white-space:nowrap;max-width:96px;font-size:var(--text-ui-sm);color:var(--muted-foreground);padding:0 4px;line-height:16px;overflow:hidden}.flow-canvas .flow-port-label{background:var(--canvas);border-radius:4px;position:absolute;top:50%;transform:translateY(-50%)}.flow-canvas .flow-port-label-out{left:calc(100% + 4px)}.flow-canvas .flow-port-label-in{right:calc(100% + 4px)}.flow-canvas .flow-handle-sub{border-radius:2px}.flow-canvas .flow-handle-sub.react-flow__handle-bottom{top:auto;bottom:-5px;transform:translate(-50%)}.flow-canvas .flow-handle-sub.react-flow__handle-top{top:-5px;left:50%;transform:translate(-50%)}.flow-canvas .flow-sub-port{pointer-events:auto;flex-direction:column;align-items:center;gap:4px;display:flex;position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%)}.flow-canvas .flow-edge-sub{stroke-dasharray:4 4}.flow-canvas .react-flow__edgeupdater{fill:#0000;stroke:none}.flow-canvas .react-flow__selection,.flow-canvas .react-flow__nodesselection-rect{background:color-mix(in srgb, var(--action) 8%, transparent);border:1px solid color-mix(in srgb, var(--action) 50%, transparent);border-radius:6px}.flow-canvas .react-flow__resize-control.line.flow-resize-line{border-color:var(--action)}.flow-canvas .react-flow__resize-control.handle.flow-resize-handle{background:var(--background);border:1.5px solid var(--action);border-radius:2px;width:8px;height:8px}.flow-canvas .react-flow__attribution{background:0 0;padding:0 6px 2px;font-size:10px;line-height:14px}.flow-canvas .react-flow__attribution a{color:var(--muted-foreground);text-decoration:none}.flow-canvas .react-flow__minimap.flow-minimap{border:1px solid var(--border);box-shadow:var(--shadow-card);border-radius:8px;margin:12px 12px 28px;overflow:hidden}.chat-md{overflow-wrap:anywhere;--tok-comment:#6a737d;--tok-keyword:#cf222e;--tok-string:#0a3069;--tok-function:#8250df;--tok-number:#0550ae;--tok-tag:#116329;--tok-attr:#953800;--tok-punct:#57606a;font-size:13px;line-height:1.6}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .chat-md{--tok-comment:#8b949e;--tok-keyword:#ff7b72;--tok-string:#a5d6ff;--tok-function:#d2a8ff;--tok-number:#79c0ff;--tok-tag:#7ee787;--tok-attr:#ffa657;--tok-punct:#8b949e}}:root:is([data-theme=dark],[data-theme=darkplus]) .chat-md{--tok-comment:#8b949e;--tok-keyword:#ff7b72;--tok-string:#a5d6ff;--tok-function:#d2a8ff;--tok-number:#79c0ff;--tok-tag:#7ee787;--tok-attr:#ffa657;--tok-punct:#8b949e}.chat-md>:first-child{margin-top:0}.chat-md>:last-child{margin-bottom:0}.chat-md :is(p,ul,ol,pre,table,blockquote){margin:.6em 0}.chat-md :is(h1,h2,h3,h4,h5,h6){margin:1.1em 0 .4em;font-weight:600;line-height:1.35}.chat-md :is(h1,h2){font-size:14px}.chat-md :is(h3,h4,h5,h6){font-size:13px}.chat-md :is(ul,ol){padding-left:1.4em}.chat-md ul{list-style:outside}.chat-md ol{list-style:decimal}.chat-md li+li{margin-top:.2em}.chat-md li>:is(ul,ol){margin:.2em 0}.chat-md strong{font-weight:600}.chat-md a{color:var(--action-fg);text-decoration:underline;-webkit-text-decoration-color:color-mix(in srgb, var(--action-fg) 40%, transparent);text-decoration-color:color-mix(in srgb, var(--action-fg) 40%, transparent);text-underline-offset:2px;cursor:pointer}.chat-md a:hover{text-decoration-color:currentColor}.chat-md code{font-family:var(--font-mono);background:var(--secondary);border-radius:4px;padding:.1em .35em;font-size:12px}.chat-md pre{font-family:var(--font-mono);background:var(--canvas);border:1px solid var(--border);border-radius:8px;padding:8px 10px;font-size:12px;line-height:1.55;overflow-x:auto}.chat-md pre code{font-size:inherit;background:0 0;padding:0}.chat-md blockquote{border-left:2px solid var(--border-strong);color:var(--muted-foreground);padding-left:.9em}.chat-md hr{border:0;border-top:1px solid var(--border);margin:1.2em 0}.chat-md input[type=checkbox]{margin-right:.4em}.chat-md img{border-radius:8px;max-width:min(100%,30rem);max-height:30rem}.chat-img-failed{border:1px dashed var(--border-strong);color:var(--muted-foreground);border-radius:6px;padding:4px 8px;font-size:12px;display:inline-flex}.chat-md kbd{font-family:var(--font-sans);border:1px solid var(--border-strong);border-radius:4px;padding:0 .35em;font-size:12px}.chat-md details{border:1px solid var(--border);border-radius:8px;margin:.6em 0;padding:.35em .8em}.chat-md details>summary{cursor:pointer;font-weight:500}.chat-md .chat-code{border:1px solid var(--border);background:var(--canvas);border-radius:8px;margin:.6em 0;overflow:hidden}.chat-md .chat-code pre{background:0 0;border:0;border-radius:0;margin:0}.chat-md .chat-code[data-wrap="1"] pre{white-space:pre-wrap;overflow-wrap:anywhere}.chat-code-head{border-bottom:1px solid var(--border);color:var(--muted-foreground);font-size:12px;font-family:var(--font-mono);justify-content:space-between;align-items:center;gap:8px;padding:2px 4px 2px 10px;display:flex}.chat-code-title{align-items:center;gap:6px;min-width:0;display:flex}.chat-code-title>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-code-actions{gap:1px;display:flex}.chat-code-actions button{width:24px;height:24px;color:var(--muted-foreground);border-radius:6px;outline:none;justify-content:center;align-items:center;display:flex}.chat-code-actions button:hover,.chat-table-foot button:hover{background:var(--secondary);color:var(--foreground)}.chat-code-actions button:focus-visible,.chat-table-foot button:focus-visible{box-shadow:0 0 0 1px var(--ring)}.chat-code-actions button[aria-pressed=true]{color:var(--foreground)}.chat-md button.chat-done{color:var(--action-fg)}.chat-md .chat-table{border:1px solid var(--border);border-radius:8px;margin:.6em 0;overflow:hidden}.chat-table-scroll{overflow-x:auto}.chat-md .chat-table table{border-collapse:collapse;width:max-content;min-width:100%;margin:0;font-size:12px}.chat-md .chat-table :is(th,td){border-bottom:1px solid var(--border);white-space:normal;overflow-wrap:anywhere;text-align:left;vertical-align:top;min-width:4rem;max-width:18rem;padding:4px 10px}.chat-md .chat-table th{background:var(--canvas);font-weight:600}.chat-md .chat-table tr:last-child td{border-bottom:0}.chat-table-foot{border-top:1px solid var(--border);background:var(--canvas);justify-content:flex-end;align-items:center;gap:8px;padding:2px 4px;display:flex}.chat-table-copy{flex-wrap:wrap;justify-content:flex-end;gap:1px;min-width:0;display:flex}.chat-table-foot button{white-space:nowrap;color:var(--muted-foreground);border-radius:6px;outline:none;align-items:center;gap:4px;padding:2px 6px;font-size:12px;display:flex}.chat-md blockquote.chat-alert{color:inherit;background:var(--canvas);border-left-width:3px;border-radius:0 8px 8px 0;padding:.4em .9em}.chat-alert-title{align-items:center;gap:6px;margin-bottom:.2em;font-size:12px;font-weight:600;display:flex}.chat-alert-note{border-left-color:var(--chart-1)}.chat-alert-note .chat-alert-title{color:var(--chart-1)}.chat-alert-tip{border-left-color:var(--chart-positive)}.chat-alert-tip .chat-alert-title{color:var(--chart-positive)}.chat-alert-important{border-left-color:var(--chart-violet)}.chat-alert-important .chat-alert-title{color:var(--chart-violet)}.chat-alert-warning{border-left-color:var(--warning)}.chat-alert-warning .chat-alert-title{color:var(--warning)}.chat-alert-caution{border-left-color:var(--chart-negative)}.chat-alert-caution .chat-alert-title{color:var(--chart-negative)}.chat-md.chat-md-user :is(p,ul,ol,pre,table,blockquote){margin:.35em 0}.chat-md.chat-md-user .chat-code{background:var(--background)}.chat-md.chat-md-muted{color:var(--muted-foreground)}.chat-md .token:is(.comment,.prolog,.doctype,.cdata){color:var(--tok-comment);font-style:italic}.chat-md .token:is(.keyword,.selector,.important,.atrule){color:var(--tok-keyword)}.chat-md .token:is(.string,.char,.attr-value,.regex,.inserted){color:var(--tok-string)}.chat-md .token:is(.function,.class-name){color:var(--tok-function)}.chat-md .token:is(.number,.boolean,.constant,.symbol){color:var(--tok-number)}.chat-md .token:is(.tag,.property,.deleted){color:var(--tok-tag)}.chat-md .token:is(.attr-name,.builtin,.variable){color:var(--tok-attr)}.chat-md .token:is(.punctuation,.operator){color:var(--tok-punct)}.chat-input::placeholder{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat-input-mirror mark.chat-token{color:#0000;background:var(--action-subtle);box-shadow:0 0 0 1px color-mix(in srgb, var(--action) 28%, transparent);border-radius:4px}
