:root{--page-bg:#020617;--surface:#0b1220;--surface-alt:#162033;--text:#f8fafc;--text-muted:#d1d5db;--border:#475569;--accent:#67e8f9;--success:#4ade80;--danger:#f87171;--radius:10px;--space-xs:.25rem;--space-sm:.5rem;--space-md:.75rem;--space-lg:1rem;--space-xl:1.25rem;--toolbar-height:72px;font-family:Segoe UI,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--page-bg);color:var(--text)}button,input,select{border:1px solid var(--border);background:var(--surface-alt);color:var(--text);padding:var(--space-sm) var(--space-md);border-radius:8px}button{cursor:pointer;font-weight:600}button:hover{border-color:var(--accent)}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.app-shell{grid-template-rows:var(--toolbar-height) 1fr 32px;height:100%;display:grid}.toolbar{justify-content:space-between;align-items:center;gap:var(--space-lg);padding:0 var(--space-xl);border-bottom:1px solid var(--border);background:var(--surface);display:flex}.toolbar__identity h1{margin:0;font-size:1.125rem}.toolbar__identity p{color:var(--text-muted);margin:0;font-size:.8rem}.toolbar__controls{align-items:center;gap:var(--space-sm);flex-wrap:wrap;display:flex}.toolbar__controls>button:nth-child(2),.toolbar__controls>button:nth-child(3){background:#0f2138;border-color:#3b82f6}.workspace{grid-template-columns:280px 1fr;min-height:0;display:grid}.diagram-list{border-right:1px solid var(--border);padding:var(--space-lg);background:#020817;overflow:auto}.diagram-list h2{margin:0 0 var(--space-md);font-size:1rem}.diagram-list ul{gap:var(--space-md);margin:0;padding:0;list-style:none;display:grid}.diagram-row{align-items:center;gap:var(--space-xs);border:1px solid var(--border);background:linear-gradient(#101b30,#0c1528);border-radius:12px;grid-template-columns:1fr auto;padding:6px;display:grid}.diagram-row.active{border-color:var(--accent);box-shadow:0 0 0 1px #67e8f933}.diagram-row__main{align-items:center;gap:var(--space-sm);text-align:left;background:0 0;border:none;grid-template-columns:24px 1fr auto;width:100%;padding:6px 8px;display:grid}.diagram-row__icon{color:#7dd3fc;background:#11314d;border-radius:999px;place-items:center;width:24px;height:24px;font-size:.72rem;font-weight:700;display:inline-grid}.diagram-row__name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.diagram-row__badge{letter-spacing:.03em;text-transform:uppercase;color:#bfdbfe;border:1px solid #3b82f6;border-radius:999px;padding:2px 8px;font-size:.68rem}.diagram-row__actions{align-items:center;gap:4px;display:flex}.icon-button{border-radius:8px;place-items:center;width:28px;height:28px;padding:0;font-size:.9rem;display:inline-grid}.icon-button--danger{color:#fca5a5}.diagram-row input{width:100%;min-width:0;padding:4px 8px;font-size:.85rem}.canvas{background:#0b1323;min-height:0;overflow:auto}.canvas__empty{height:100%;color:var(--text-muted);place-items:center;display:grid}.status-bar{border-top:1px solid var(--border);padding:var(--space-xs) var(--space-lg);color:#86efac;background:var(--surface);font-size:.8rem}.uml-node{color:#0f172a;background:#f8fafc;border:1px solid #334155;border-radius:10px;min-width:220px;overflow:hidden}.uml-shape{color:#0f172a;background:#f8fafc;border:1px solid #334155;place-items:center;min-width:80px;min-height:56px;display:grid;position:relative}.uml-node-frame{cursor:grab;place-items:center;min-width:132px;min-height:84px;display:grid;position:relative}.uml-node-frame--compact{min-width:58px;min-height:58px}.uml-node-frame--diamond{min-width:120px;min-height:120px}.uml-node-frame--wide{min-width:190px;min-height:98px}.uml-node-frame--tall{min-width:140px;min-height:200px}.uml-node-frame--sequence{box-sizing:border-box;width:100%;min-width:0;height:100%;min-height:0}.uml-shape--start{background:#0f172a;border-radius:999px;width:58px;min-width:58px;height:58px;min-height:58px}.uml-shape--end{background:#fff;border:2px solid #0f172a;border-radius:999px;width:58px;min-width:58px;height:58px;min-height:58px}.uml-shape__end-inner{background:#0f172a;border-radius:999px;width:26px;height:26px}.uml-shape__circle-label{white-space:nowrap;color:#fff;pointer-events:none;font-size:.55rem;font-weight:800;position:absolute;bottom:6px;left:50%;transform:translate(-50%)}.uml-shape--end .uml-shape__circle-label{color:#0f172a}.uml-shape--diamond{width:85px;min-width:85px;height:85px;min-height:85px;transform:rotate(45deg)}.uml-shape__diamond-label{text-align:center;padding:0 6px;font-size:.72rem;transform:rotate(-45deg)}.uml-shape--bar{background:#0f172a;width:120px;min-width:120px;height:12px;min-height:12px}.uml-shape--task{background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;align-content:start;width:190px;min-width:190px;height:72px;min-height:72px;padding:10px 12px;display:grid}.uml-shape__task-title{text-align:center;margin-top:-2px;font-weight:900}.uml-shape__task-details{color:#475569;margin-top:4px;font-size:.8rem}.uml-shape--data{background:#f8fafc;border:2px solid #94a3b8;border-radius:10px;align-content:start;width:190px;min-width:190px;height:72px;min-height:72px;padding:10px 12px;display:grid}.uml-shape--ellipse{text-align:center;border-radius:999px;width:180px;min-width:180px;min-height:70px;padding:10px 16px;font-weight:700}.uml-shape--actor{color:#f8fafc;background:0 0;border:none;gap:2px;min-width:120px}.uml-shape--actor .actor-head{border:2px solid #f8fafc;border-radius:999px;width:18px;height:18px}.uml-shape--actor .actor-body{background:#f8fafc;width:2px;height:24px}.uml-shape--actor .actor-arms{background:#f8fafc;width:30px;height:2px;margin-top:-16px}.uml-shape--actor .actor-legs{background:#f8fafc;width:22px;height:2px;margin-top:8px;transform:rotate(45deg)}.uml-shape--actor span{margin-top:4px;font-size:.75rem}.uml-shape--boundary{text-align:left;background:#f8fafc;border:2px dashed #334155;border-radius:8px;place-items:start;width:220px;min-width:220px;min-height:90px;padding:10px}.uml-shape--lifeline{color:#f8fafc;background:0 0;border:none;width:140px;min-width:140px;min-height:180px}.uml-shape__lifeline-head{color:#0f172a;background:#f8fafc;border:1px solid #94a3b8;border-radius:6px;padding:6px 8px;font-size:.75rem;font-weight:700}.uml-shape__lifeline-line{border-left:1px dashed #94a3b8;width:1px;height:120px}.uml-shape--activation{background:#e2e8f0;border:1px solid #334155;width:24px;min-width:24px;min-height:120px}.editor-layout{grid-template-columns:1fr 220px 260px;height:100%;display:grid}.editor-layout__canvas{min-height:0}.element-toolbar{border-left:1px solid var(--border);background:var(--surface);padding:var(--space-md);align-content:start;gap:var(--space-sm);display:grid}.editor-side-stack{border-left:1px solid var(--border);padding:var(--space-md);align-content:start;gap:var(--space-md);background:#071022;display:grid}.element-toolbar h3{margin:0}.element-toolbar p{color:var(--text-muted);margin:0;font-size:.8rem}.element-toolbar__hint{color:#e2e8f0;border:1px solid var(--border);padding:var(--space-sm);background:#111b2d;border-radius:8px;margin:0;font-size:.82rem;line-height:1.4}.element-toolbar__hint--drag{background:#0f2138}.element-toolbar__list{gap:var(--space-sm);display:grid}.connector-toolbar h3,.diagnostics-panel h3{margin:0 0 var(--space-sm)}.connector-toolbar__list{gap:6px;display:grid}.connector-toolbar__list button.active{border-color:var(--accent);background:#123047}.edge-label-editor{gap:var(--space-xs);grid-template-columns:1fr;display:grid}.edge-label-editor__hint{color:var(--text-muted);margin:0;font-size:.85rem}.edge-label-editor__delete{color:#fecaca;cursor:pointer;background:#450a0a;border:1px solid #7f1d1d;border-radius:8px;padding:8px 10px;font-weight:600}.edge-label-editor__delete:hover{color:#fff;background:#7f1d1d}.diagnostics-panel{border:1px solid var(--border);padding:var(--space-sm);background:#0b172b;border-radius:8px}.node-inspector{border:1px solid var(--border);padding:var(--space-sm);gap:var(--space-xs);background:#0b172b;border-radius:8px;display:grid}.node-inspector h3{margin:0 0 var(--space-xs)}.node-inspector p{color:var(--text-muted);margin:0;font-size:.85rem}.node-inspector textarea{resize:vertical}.node-inspector__actions{gap:var(--space-xs);grid-template-columns:1fr 1fr;display:grid}.node-inspector .danger{color:#fca5a5}.diagnostics-panel p{color:#86efac;margin:0}.diagnostics-panel ul{gap:6px;margin:0;padding-left:1rem;display:grid}.react-flow__handle{background:var(--accent);cursor:pointer;z-index:50;border:2px solid #082f49;width:16px;height:16px;transition:transform .12s,box-shadow .12s,border-color .12s,background-color .12s}.react-flow__handle.connectionindicator{cursor:pointer!important}.uml-handle--target{left:0;transform:translate(-50%,-50%)}.uml-handle--source{right:0;transform:translate(50%,-50%)}.uml-handle--compact.uml-handle--target{left:0}.uml-handle--compact.uml-handle--source{right:0}.uml-handle--wide.uml-handle--target{left:0}.uml-handle--wide.uml-handle--source{right:0}.uml-handle--narrow.uml-handle--target{left:0}.uml-handle--narrow.uml-handle--source{right:0}.react-flow__handle.uml-handle--actor-arms.uml-handle--target{inset:38% auto auto 45px}.react-flow__handle.uml-handle--actor-arms.uml-handle--source{inset:38% 45px auto auto}.react-flow__handle.uml-handle--actor-arms.uml-handle--target:hover{transform:translate(-50%,-50%)scale(1.12)}.react-flow__handle.uml-handle--actor-arms.uml-handle--source:hover{transform:translate(50%,-50%)scale(1.12)}.react-flow__handle:before{content:"";pointer-events:all;background:0 0;border-radius:999px;width:34px;height:34px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.react-flow__handle.uml-handle--target:hover{background:#ecfeff;border-color:#67e8f9;transform:translate(-50%,-50%)scale(1.12);box-shadow:0 0 0 3px #67e8f973,0 0 0 1px #0f172a59}.react-flow__handle.uml-handle--source:hover{background:#ecfeff;border-color:#67e8f9;transform:translate(50%,-50%)scale(1.12);box-shadow:0 0 0 3px #67e8f973,0 0 0 1px #0f172a59}.react-flow__handle:not(.uml-handle--target):not(.uml-handle--source):hover{transform:scale(1.12);box-shadow:0 0 0 3px #67e8f973,0 0 0 1px #0f172a59}.react-flow__minimap{border:1px solid var(--border);background:#0b1220!important}.react-flow__controls{border:1px solid var(--border);box-shadow:none!important}.react-flow__controls-button{color:var(--text)!important;border-bottom:1px solid var(--border)!important;background:#111b2d!important}.uml-node__typebar{background:#e2e8f0;border-bottom:1px solid #cbd5e1;justify-content:flex-end;padding:6px 8px 4px;display:flex}.uml-node__typechip{letter-spacing:.04em;text-transform:uppercase;color:#0f172a;background:#fff;border:1px solid #94a3b8;border-radius:999px;padding:2px 8px;font-size:.65rem;font-weight:700}.uml-node__compartment{padding:8px 10px}.uml-node__name{text-align:center;border-bottom:1px solid #cbd5e1;font-weight:700}.uml-node__members{gap:4px;font-size:.8rem;display:grid}.uml-node__member{border-bottom:1px dashed #cbd5e1;padding-bottom:3px}.uml-node__member:last-child{border-bottom:none}.uml-node__empty{color:#64748b;font-style:italic}.uml-node--interface .uml-node__typebar,.uml-node--interface .uml-node__typechip{background:#dbeafe}.uml-node--abstract .uml-node__name{font-style:italic}.uml-node--enum .uml-node__members{text-transform:uppercase}.uml-node--note{background:#fef9c3;border-style:dashed}.uml-node--database{border-radius:18px}.uml-node--queue .uml-node__name:before{content:"|| ";color:#334155}.uml-node--artifact .uml-node__typechip:before{content:"📄 "}.uml-node--node .uml-node__typechip:before{content:"🖥 "}.uml-node--component .uml-node__typechip:before{content:"▦ "}.uml-node--data{border-style:double}.editor-help{border:1px solid var(--border);padding:var(--space-sm);background:#0b172b;border-radius:8px}.editor-help h3{margin:0 0 var(--space-xs)}.editor-help p{color:var(--text-muted);margin:0;font-size:.78rem}.tutorial-overlay{z-index:9999;background:#020617b3;place-items:center;display:grid;position:fixed;inset:0}.tutorial-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:min(520px,90vw);padding:var(--space-xl)}.tutorial-card h3{margin-top:0}.tutorial-card ol{line-height:1.6}.dashboard{padding:var(--space-xl)}.dashboard__top h2{margin:0}.dashboard__top p{margin:var(--space-sm) 0 var(--space-xl);color:var(--text-muted)}.dashboard__tabs{gap:var(--space-sm);border:1px solid var(--border);background:#0b172b;border-radius:999px;padding:4px;display:inline-flex}.dashboard__tabs button{background:0 0;border:none;border-radius:999px;padding:6px 14px}.dashboard__tabs button.active{color:#dbeafe;background:#123047}.dashboard__grid{gap:var(--space-lg);grid-template-columns:repeat(2,minmax(320px,1fr));display:grid}.dashboard-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:var(--space-lg);gap:var(--space-md);display:grid}.dashboard-card h3{margin:0}.dashboard-card__template-list{gap:var(--space-sm);max-height:320px;display:grid;overflow:auto}.dashboard-card select{width:100%}.dashboard-sample{border:1px solid var(--border);background:#0f1f36;border-radius:8px;gap:3px;padding:10px;display:grid}.dashboard-sample span{color:var(--text-muted);font-size:.8rem}.dashboard-history{gap:var(--space-sm);margin:0;padding:0;list-style:none;display:grid}.dashboard-history button{text-align:left;gap:var(--space-xs);width:100%;display:grid}@media (width<=1080px){.dashboard__grid,.editor-layout{grid-template-columns:1fr}.element-toolbar,.editor-side-stack{border-left:none;border-top:1px solid var(--border)}}.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:#777;--xy-background-pattern-lines-color-default:#777;--xy-background-pattern-cross-color-default:#777;--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}.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))}
