.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))}
.rf-pro-example{all:initial;isolation:isolate;color:#000;text-align:start;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff;width:100%;height:100%;min-height:0;font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;font-size:16px;font-weight:400;line-height:normal;display:block;position:relative;overflow:hidden}:where(.rf-pro-example) :where(div,button,input,select,textarea,label,span,p,h1,h2,h3,h4,ul,li,form,a,code,pre){all:revert}.rf-pro-example[data-example=collaborative] .min-h-screen{min-height:100%}.rf-pro-example[data-example=collaborative] .h-screen{height:100%}.rf-pro-loading{color:#666;place-items:center;height:100%;font-size:14px;display:grid}@media (prefers-color-scheme:dark){.rf-pro-example{color:#f8f8f8;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#101012}}.rf-pro-controls{z-index:5;width:280px;max-width:calc(100% - 20px);position:absolute;top:10px;right:10px}
.rf-pro-example .react-flow{--xy-theme-selected:#f57dbd;--xy-theme-hover:#c5c5c5;--xy-theme-edge-hover:black;--xy-theme-color-focus:#e8e8e8;--xy-node-border-default:1px solid #ededed;--xy-node-boxshadow-default:0px 3.54px 4.55px 0px #00000005, 0px 3.54px 4.55px 0px #0000000d, 0px .51px 1.01px 0px #0000001a;--xy-node-border-radius-default:8px;--xy-handle-background-color-default:#fff;--xy-handle-border-color-default:#aaa;--xy-edge-label-color-default:#505050}.rf-pro-example .react-flow.dark{--xy-background-color:#101012;--xy-node-background-color-default:#1a1b1e;--xy-node-border-default:1px solid #303238;--xy-handle-background-color-default:#141519;--xy-handle-border-color-default:#5a5d66;--xy-edge-label-color-default:#e6e7ea;--xy-theme-hover:#7a7d86;--xy-theme-edge-hover:#f3f4f6;--xy-theme-panel-bg:#141519;--xy-theme-panel-text:#f3f4f6;--xy-theme-resize-handle-bg:#141519;--xy-theme-focus-border:#5f6470;--xy-theme-muted-bg:#24262c;--xy-theme-subtle-border:#3f434c;--xy-node-boxshadow-default:0px 6px 18px 0px #00000059, 0px 2px 6px 0px #0000004d, 0px 1px 2px 0px #00000059;--xy-theme-color-focus:#4b4e57;--color-background:#1a1b1e;--color-hover-bg:#24262c;--color-disabled:#8b9099}.rf-pro-example .react-flow__node{box-shadow:var(--xy-node-boxshadow-default);border-radius:var(--xy-node-border-radius-default);background-color:var(--xy-node-background-color-default);text-align:center;border:var(--xy-node-border-default);color:var(--xy-node-color,var(--xy-node-color-default));flex-direction:column;justify-content:center;align-items:center;padding:10px;font-size:12px;display:flex}.rf-pro-example .react-flow__node.selectable:focus{box-shadow:0px 0px 0px 4px var(--xy-theme-color-focus);border-color:#d9d9d9}.rf-pro-example .react-flow__node.selectable:focus:active{box-shadow:var(--xy-node-boxshadow-default)}.rf-pro-example .react-flow__node.selectable:hover,.rf-pro-example .react-flow__node.draggable:hover{border-color:var(--xy-theme-hover)}.rf-pro-example .react-flow__node.selectable.selected{border-color:var(--xy-theme-selected);box-shadow:var(--xy-node-boxshadow-default)}.rf-pro-example .react-flow__node-group{background-color:#cfb6ff66;border-color:#9e86ed}.rf-pro-example .react-flow__edge.selectable:hover .react-flow__edge-path,.rf-pro-example .react-flow__edge.selectable.selected .react-flow__edge-path{stroke:var(--xy-theme-edge-hover)}.rf-pro-example .react-flow__handle{background-color:var(--xy-handle-background-color-default)}.rf-pro-example .react-flow__handle.connectionindicator:hover{pointer-events:all;border-color:var(--xy-theme-edge-hover);background-color:#fff}.rf-pro-example .react-flow__handle.connectionindicator:focus,.rf-pro-example .react-flow__handle.connectingfrom,.rf-pro-example .react-flow__handle.connectingto{border-color:var(--xy-theme-edge-hover)}.rf-pro-example .react-flow__node-resizer{border:none;border-radius:0}.rf-pro-example .react-flow__resize-control.handle{background-color:#fff;border-color:#9e86ed;border-radius:0;width:5px;height:5px}.rf-pro-example{--color-primary:#ff0073;--color-background:#fefefe;--color-hover-bg:#f6f6f6;--color-disabled:#76797e}.rf-pro-example .xy-theme__button{border:1px solid var(--color-primary);background-color:var(--color-background);height:2.5rem;color:var(--color-primary);box-shadow:var(--xy-node-boxshadow-default);border-radius:100px;justify-content:center;align-items:center;padding:0 1rem;transition:background-color .2s,border-color .2s;display:inline-flex}.rf-pro-example .xy-theme__button:hover{background-color:var(--xy-controls-button-background-color-hover-default)}.rf-pro-example .xy-theme__button:active{background-color:var(--color-hover-bg)}.rf-pro-example .xy-theme__button:disabled{color:var(--color-disabled);opacity:.8;cursor:not-allowed;border:1px solid var(--color-disabled)}.rf-pro-example .xy-theme__button>span{margin-right:.2rem}.rf-pro-example .xy-theme__button+.xy-theme__button{margin-left:.3rem}.rf-pro-example .xy-theme__input{border:1px solid var(--color-primary);background-color:var(--color-background);color:inherit;border-radius:7px;padding:.5rem .75rem;font-size:1rem;transition:background-color .2s,border-color .2s}.rf-pro-example .xy-theme__input:focus{border-color:var(--color-primary);outline:none;box-shadow:0 0 0 2px #ff00734d}.rf-pro-example .xy-theme__checkbox{appearance:none;border:2px solid var(--color-primary);background-color:var(--color-background);cursor:pointer;vertical-align:middle;border-radius:7px;width:1.25rem;height:1.25rem;margin-right:.5rem;transition:background-color .2s,border-color .2s;display:inline-block}.rf-pro-example .xy-theme__checkbox:checked{background-color:var(--color-primary);border-color:var(--color-primary)}.rf-pro-example .xy-theme__checkbox:focus{outline:none;box-shadow:0 0 0 2px #ff00734d}.rf-pro-example .xy-theme__select{border:1px solid var(--color-primary);background-color:var(--color-background);color:inherit;box-shadow:var(--xy-node-boxshadow-default);border-radius:50px;margin-right:.5rem;padding:.5rem .75rem;font-size:1rem;transition:background-color .2s,border-color .2s}.rf-pro-example .xy-theme__select:focus{border-color:var(--color-primary);outline:none;box-shadow:0 0 0 2px #ff00734d}.rf-pro-example .xy-theme__label{margin-top:10px;margin-bottom:3px;display:inline-block}
.rf-pro-example[data-example=node-position-animation]{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}.rf-pro-example[data-example=node-position-animation],.rf-pro-example[data-example=node-position-animation],.rf-pro-example[data-example=node-position-animation]{height:100%;margin:0}.rf-pro-example[data-example=node-position-animation] .react-flow__handle{visibility:hidden}@media (prefers-color-scheme:dark){.rf-pro-example[data-example=node-position-animation],.rf-pro-example[data-example=node-position-animation]{background-color:#101012}}
.rf-pro-example[data-example=shapes]{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}.rf-pro-example[data-example=shapes],.rf-pro-example[data-example=shapes],.rf-pro-example[data-example=shapes]{height:100%;margin:0}.rf-pro-example[data-example=shapes] .react-flow{--background:#e2e8f0;--panel-background:#f8fafc;--panel-shadow:0 0 4px 0 #0003;--text:#0a0a0a}.rf-pro-example[data-example=shapes] .react-flow svg{display:block}.rf-pro-example[data-example=shapes] .react-flow__node{box-shadow:none;background:0 0;border:none}.rf-pro-example[data-example=shapes] .react-flow__node.selectable{box-shadow:none}.rf-pro-example[data-example=shapes] .panel-shapes{background-color:#f8fafc;border-radius:8px;padding:8px;box-shadow:0 0 4px #0003}.rf-pro-example[data-example=shapes] .react-flow__node-toolbar{gap:8px;display:flex}.rf-pro-example[data-example=shapes] .react-flow__handle{opacity:0;z-index:10}.rf-pro-example[data-example=shapes] .react-flow__node.selected .react-flow__handle{opacity:1}.rf-pro-example[data-example=shapes] .sidebar-label{-webkit-user-select:none;user-select:none;margin-bottom:4px;font-size:12px}.rf-pro-example[data-example=shapes] .sidebar-items{grid-template-columns:repeat(4,1fr);gap:2px;display:grid}.rf-pro-example[data-example=shapes] .sidebar-item{opacity:.5;cursor:pointer;border-radius:3px;padding:5px;position:relative;overflow:hidden}.rf-pro-example[data-example=shapes] .sidebar-item>svg{stroke:#222}.rf-pro-example[data-example=shapes] .sidebar-item:hover{opacity:1;background-color:var(--background)}.rf-pro-example[data-example=shapes] .sidebar-item-drag-image{position:absolute;top:-100000px;left:-1000000px;transform:translate(0)}.rf-pro-example[data-example=shapes] .color-swatch{width:28px;height:28px;box-shadow:none;border:1px solid var(--panel-background);cursor:pointer;border-radius:50%;outline:none}.rf-pro-example[data-example=shapes] .color-swatch.active{outline:2px solid var(--text)}.rf-pro-example[data-example=shapes] .node-label{text-align:center;box-shadow:none;color:var(--text);background:0 0;border:none;outline:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.rf-pro-example[data-example=shapes] .node-label::placeholder{color:var(--text);opacity:.5}@media (prefers-color-scheme:dark){.rf-pro-example[data-example=shapes],.rf-pro-example[data-example=shapes]{background-color:#101012}}
.rf-pro-example[data-example=edge-routing]{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif}.rf-pro-example[data-example=edge-routing],.rf-pro-example[data-example=edge-routing],.rf-pro-example[data-example=edge-routing]{height:100%;margin:0}.rf-pro-example[data-example=edge-routing] .react-flow__node-example .handles{justify-content:space-around;display:flex;position:absolute}.rf-pro-example[data-example=edge-routing] .react-flow__node-example .handles[data-side=top],.rf-pro-example[data-example=edge-routing] .react-flow__node-example .handles[data-side=bottom]{left:0;right:0}.rf-pro-example[data-example=edge-routing] .react-flow__node-example .handles[data-side=left],.rf-pro-example[data-example=edge-routing] .react-flow__node-example .handles[data-side=right]{flex-direction:column;top:0;bottom:0}.rf-pro-example[data-example=edge-routing] .react-flow__node-example .handles[data-side=top]{top:0;transform:translateY(-50%)}.rf-pro-example[data-example=edge-routing] .react-flow__node-example .handles[data-side=bottom]{bottom:0;transform:translateY(50%)}.rf-pro-example[data-example=edge-routing] .react-flow__node-example .handles[data-side=right]{right:0;transform:translate(50%)}.rf-pro-example[data-example=edge-routing] .react-flow__node-example .handles[data-side=left]{left:0;transform:translate(-50%)}.rf-pro-example[data-example=edge-routing] .react-flow__node-example .react-flow__handle{position:relative;top:auto;bottom:auto;left:auto;transform:none}.rf-pro-example[data-example=edge-routing] .react-flow__node-example .react-flow__handle.source{border-color:var(--color-primary)}.rf-pro-example[data-example=edge-routing] .react-flow{--xy-theme-selected:#f57dbd;--xy-theme-hover:#c5c5c5;--xy-theme-edge-hover:black;--xy-theme-color-focus:#e8e8e8;--xy-node-border-default:1px solid #ededed;--xy-node-boxshadow-default:0px 3.54px 4.55px 0px #00000005, 0px 3.54px 4.55px 0px #0000000d, 0px .51px 1.01px 0px #0000001a;--xy-node-border-radius-default:8px;--xy-handle-background-color-default:#fff;--xy-handle-border-color-default:#aaa;--xy-edge-label-color-default:#505050}.rf-pro-example[data-example=edge-routing] .react-flow.dark{--xy-node-boxshadow-default:0px 3.54px 4.55px 0px #ffffff0d, 0px 3.54px 4.55px 0px #ffffff21, 0px .51px 1.01px 0px #fff3;--xy-theme-color-focus:#535353}.rf-pro-example[data-example=edge-routing] .react-flow__node{box-shadow:var(--xy-node-boxshadow-default);border-radius:var(--xy-node-border-radius-default);background-color:var(--xy-node-background-color-default);text-align:center;border:var(--xy-node-border-default);color:var(--xy-node-color,var(--xy-node-color-default));flex-direction:column;justify-content:center;align-items:center;padding:10px;font-size:12px;display:flex}.rf-pro-example[data-example=edge-routing] .react-flow__node.selectable:focus{box-shadow:0px 0px 0px 4px var(--xy-theme-color-focus);border-color:#d9d9d9}.rf-pro-example[data-example=edge-routing] .react-flow__node.selectable:focus:active{box-shadow:var(--xy-node-boxshadow-default)}.rf-pro-example[data-example=edge-routing] .react-flow__node.selectable:hover,.rf-pro-example[data-example=edge-routing] .react-flow__node.draggable:hover{border-color:var(--xy-theme-hover)}.rf-pro-example[data-example=edge-routing] .react-flow__node.selectable.selected{border-color:var(--xy-theme-selected);box-shadow:var(--xy-node-boxshadow-default)}.rf-pro-example[data-example=edge-routing] .react-flow__node-group{background-color:#cfb6ff66;border-color:#9e86ed}.rf-pro-example[data-example=edge-routing] .react-flow__edge.selectable:hover .react-flow__edge-path,.rf-pro-example[data-example=edge-routing] .react-flow__edge.selectable.selected .react-flow__edge-path{stroke:var(--xy-theme-edge-hover)}.rf-pro-example[data-example=edge-routing] .react-flow__handle{background-color:var(--xy-handle-background-color-default)}.rf-pro-example[data-example=edge-routing] .react-flow__handle.connectionindicator:hover{pointer-events:all;border-color:var(--xy-theme-edge-hover);background-color:#fff}.rf-pro-example[data-example=edge-routing] .react-flow__handle.connectionindicator:focus,.rf-pro-example[data-example=edge-routing] .react-flow__handle.connectingfrom,.rf-pro-example[data-example=edge-routing] .react-flow__handle.connectingto{border-color:var(--xy-theme-edge-hover)}.rf-pro-example[data-example=edge-routing] .react-flow__node-resizer{border:none;border-radius:0}.rf-pro-example[data-example=edge-routing] .react-flow__resize-control.handle{background-color:#fff;border-color:#9e86ed;border-radius:0;width:5px;height:5px}.rf-pro-example[data-example=edge-routing]{--color-primary:#ff0073;--color-background:#fefefe;--color-hover-bg:#f6f6f6;--color-disabled:#76797e}.rf-pro-example[data-example=edge-routing] .xy-theme__button{border:1px solid var(--color-primary);background-color:var(--color-background);height:2.5rem;color:var(--color-primary);box-shadow:var(--xy-node-boxshadow-default);border-radius:100px;justify-content:center;align-items:center;padding:0 1rem;transition:background-color .2s,border-color .2s;display:inline-flex}.rf-pro-example[data-example=edge-routing] .xy-theme__button:hover{background-color:var(--xy-controls-button-background-color-hover-default)}.rf-pro-example[data-example=edge-routing] .xy-theme__button:active{background-color:var(--color-hover-bg)}.rf-pro-example[data-example=edge-routing] .xy-theme__button:disabled{color:var(--color-disabled);opacity:.8;cursor:not-allowed;border:1px solid var(--color-disabled)}.rf-pro-example[data-example=edge-routing] .xy-theme__button>span{margin-right:.2rem}.rf-pro-example[data-example=edge-routing] .xy-theme__button+.xy-theme__button{margin-left:.3rem}.rf-pro-example[data-example=edge-routing] .xy-theme__input{border:1px solid var(--color-primary);background-color:var(--color-background);color:inherit;border-radius:7px;padding:.5rem .75rem;font-size:1rem;transition:background-color .2s,border-color .2s}.rf-pro-example[data-example=edge-routing] .xy-theme__input:focus{border-color:var(--color-primary);outline:none;box-shadow:0 0 0 2px #ff00734d}.rf-pro-example[data-example=edge-routing] .xy-theme__checkbox{appearance:none;border:2px solid var(--color-primary);background-color:var(--color-background);cursor:pointer;vertical-align:middle;border-radius:7px;width:1.25rem;height:1.25rem;margin-right:.5rem;transition:background-color .2s,border-color .2s;display:inline-block}.rf-pro-example[data-example=edge-routing] .xy-theme__checkbox:checked{background-color:var(--color-primary);border-color:var(--color-primary)}.rf-pro-example[data-example=edge-routing] .xy-theme__checkbox:focus{outline:none;box-shadow:0 0 0 2px #ff00734d}.rf-pro-example[data-example=edge-routing] .xy-theme__select{border:1px solid var(--color-primary);background-color:var(--color-background);color:inherit;box-shadow:var(--xy-node-boxshadow-default);border-radius:50px;margin-right:.5rem;padding:.5rem .75rem;font-size:1rem;transition:background-color .2s,border-color .2s}.rf-pro-example[data-example=edge-routing] .xy-theme__select:focus{border-color:var(--color-primary);outline:none;box-shadow:0 0 0 2px #ff00734d}.rf-pro-example[data-example=edge-routing] .xy-theme__label{margin-top:10px;margin-bottom:3px;display:inline-block}
.rf-pro-example[data-example=editable-edge]{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}.rf-pro-example[data-example=editable-edge],.rf-pro-example[data-example=editable-edge],.rf-pro-example[data-example=editable-edge]{height:100%;margin:0}.rf-pro-example[data-example=editable-edge] .react-flow__node{width:50px;height:50px}@media (prefers-color-scheme:dark){.rf-pro-example[data-example=editable-edge],.rf-pro-example[data-example=editable-edge]{background-color:#101012}}
.rf-pro-example[data-example=helper-lines]{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}.rf-pro-example[data-example=helper-lines],.rf-pro-example[data-example=helper-lines],.rf-pro-example[data-example=helper-lines]{height:100%;margin:0}.rf-pro-example[data-example=helper-lines] .react-flow__node{color:#fff;font-weight:700}.rf-pro-example[data-example=helper-lines] .react-flow__canvas{z-index:10;pointer-events:none;width:100%;height:100%;position:absolute}@media (prefers-color-scheme:dark){.rf-pro-example[data-example=helper-lines],.rf-pro-example[data-example=helper-lines]{background-color:#101012}}
