.results-panel{z-index:20;width:400px;max-width:100%;height:100dvh;color:var(--text-color);background:var(--foreground-color);touch-action:pan-y;padding-bottom:env(safe-area-inset-bottom);pointer-events:auto;border-radius:12px 0 0 12px;flex-direction:column;transition:transform .3s,opacity .3s;display:flex;position:absolute;top:0;right:0;transform:translate(0);box-shadow:0 25px 30px #00000014}.results-panel.collapsed{opacity:0;pointer-events:none;transform:translate(100%)}.results-header{align-items:center;gap:20px;margin:0;padding:30px 12px 0;display:flex}.results-header>span{margin-bottom:6px;padding-left:4px;font-size:16px;font-weight:600;height:24px!important}.results-header>button,.results-header>span{height:30px;margin:0;padding:0}.result-item{background:var(--secondary-background-color);cursor:pointer;color:var(--text-color);border-radius:6px;margin:12px;padding:12px;font-size:16px;transition:all .2s}.result-item:hover{background:var(--secondary-color);color:var(--background-color);transform:translate(3px)scale(1.05);box-shadow:0 10px 25px #ff94e373}.results-content{flex:1;margin:12px;padding:12px;overflow-y:auto}.btn-icon,.btn-toggle{cursor:pointer;color:var(--text-color);background:0 0;border:none;justify-content:center;align-items:center;padding:0;transition:all .2s;display:flex}.btn-icon:hover,.btn-toggle:hover{color:var(--secondary-color);transform:scale(1.2)}.btn-icon-download:hover{color:var(--secondary-accent-color)}.danger{align-items:center;gap:6px;display:flex;opacity:1!important;background-color:#0000!important}.danger:hover{color:var(--background-color)!important;background-color:var(--secondary-color)!important}.btn-close-panel{width:0;height:0}@media (max-width:768px){.results-panel{z-index:500;border-radius:0;width:100vw;height:100dvh;position:fixed;top:0;right:0}.btn-close-panel{width:40px;height:40px}.results-header{padding-top:20px}}
.react-flow{direction:ltr}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.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 .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1px;fill:none}.react-flow__edge{pointer-events:visibleStroke;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:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__connectionline{z-index:1001}.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:-webkit-grab;cursor:grab;position:absolute}.react-flow__node.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:-webkit-grab;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background:#1a192b;border:1px solid #fff;border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:-4px;left:50%;transform:translate(-50%)}.react-flow__handle-top{top:-4px;left:50%;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{top:50%;right:-4px;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.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.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{background:#ffffff80;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}.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-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{color:#222;text-align:center;background-color:#fff;border:1px solid #1a192b;border-radius:3px;width:150px;padding:10px;font-size:12px}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.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:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted #0059dccc}.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{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{box-sizing:content-box;cursor:pointer;-webkit-user-select:none;user-select:none;background:#fefefe;border:none;border-bottom:1px solid #eee;justify-content:center;align-items:center;width:16px;height:16px;padding:5px;display:flex}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.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:#3367d9;border:1px solid #fff;border-radius:1px;width:4px;height:4px;transform: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:0 solid #3367d9}.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%}
.menu{z-index:20;background:var(--foreground-color);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:0 16px 16px 0;flex-direction:column;gap:6px;min-width:200px;padding:12px;transition:width .28s cubic-bezier(.22,1,.36,1),padding .28s cubic-bezier(.22,1,.36,1),transform .25s,box-shadow .25s;animation:.35s cubic-bezier(.22,1,.36,1) menuEnter;display:flex;position:absolute;top:15%;left:0;box-shadow:0 25px 30px #00000014}.menu>*{transition:opacity .2s,transform .25s}.menu.collapsed{min-width:unset;align-items:center;width:80px;padding:12px 8px}.menu.collapsed>:not(.menu-toggle){opacity:0;pointer-events:none;transform:translate(-10px)}.menu-title{margin-bottom:6px;padding-left:4px;font-size:16px;font-weight:600}.menu button{text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;width:100%;padding:10px 12px;font-size:14px;transition:transform .2s,background .2s,box-shadow .2s,color .2s}.menu button:hover{background:var(--secondary-color);color:var(--background-color);transform:translate(3px)scale(1.03);box-shadow:0 10px 25px #ff94e373}.menu button:active{transform:scale(.96)}.menu button span{opacity:.7;margin-right:6px}.menu-divider{height:1px}.menu-controls{flex-direction:row;gap:6px;display:flex}.menu-controls>button{text-align:center;justify-content:center;align-items:center;display:flex}.context-menu{background:var(--background-color);min-width:200px;color:var(--text-color);border-radius:8px;padding:6px;font-size:14px;box-shadow:0 25px 30px #00000014}.context-item{cursor:pointer;border-radius:6px;padding:8px 10px;transition:background .15s}.context-item:hover{background:var(--secondary-background-color)}.context-item.danger:hover{background:var(--secondary-background-color);color:#ff6b6b}.context-separator{background:var(--secondary-background-color);height:1px;margin:6px 0}.context-group{flex-direction:column;gap:4px;padding:6px;display:flex}.context-group label{color:var(--text-color);font-size:11px}.menu-toggle{height:45px;transition:background .2s,transform .25s;display:flex;border-radius:10px!important;place-items:center!important;width:45px!important}.menu-toggle:hover{transform:scale(1.08)rotate(2deg)}@keyframes menuEnter{0%{opacity:0;transform:translate(-20px)scale(.96)}to{opacity:1;transform:translate(0)scale(1)}}@media (max-width:768px){.menu{top:unset;min-width:180px;max-width:calc(100vw - 24px);animation:.3s mobileMenuEnter;bottom:100px}.menu.collapsed{width:56px}}@keyframes mobileMenuEnter{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
.locked-flow .react-flow__pane{cursor:default!important}.unlocked-flow .react-flow__pane{cursor:crosshair!important}
.suggestion-floating{z-index:150;background-color:var(--foreground-color);border-radius:12px;width:240px;animation:.2s suggestionFloat;position:absolute;top:0;left:calc(100% + 14px)}.suggestion-card{background:linear-gradient(135deg,#ff99a614,#ff3f6214);border:1px solid #ff3f621f;border-radius:12px;flex-direction:column;gap:12px;padding:14px;display:flex;box-shadow:0 20px 40px #00000014,0 0 0 1px #ffffff0a}.suggestion-header{color:var(--secondary-color);justify-content:space-between;align-items:center;margin-bottom:10px;font-weight:700;display:flex}.suggestion-title{align-items:center;gap:6px;font-weight:600;display:flex}.suggestion-content{color:var(--text-color);flex-direction:column;gap:4px;display:flex}.suggestion-content small{opacity:.75;line-height:1.4}.suggestion-btn{background:var(--secondary-color);height:38px;color:var(--text-color-light);cursor:pointer;border:none;border-radius:10px;justify-content:center;align-items:center;gap:8px;font-weight:600;transition:all .2s;display:flex}.suggestion-btn:hover{transform:translateY(-1px);box-shadow:0 10px 24px #ff3f6238}.suggestion-body{flex-direction:column;gap:6px;display:flex}.suggestion-body small{opacity:.72;line-height:1.4}.suggestion-items{flex-wrap:wrap;gap:6px;display:flex}.suggestion-items span{background:#ff3f6214;border-radius:999px;padding:4px 8px;font-size:12px}.suggestion-close{color:var(--text-color);cursor:pointer;background-color:#0000;border:none;transition:all .18s}.suggestion-close:hover{color:var(--secondary-color);transform:scale(1.15)}@keyframes suggestionFloat{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}@media (max-width:768px){.suggestion-floating{top:unset;left:unset;width:100%;margin-top:12px;position:relative}}
.context-input{background:var(--background-color);border:1px solid var(--secondary-background-color);color:var(--text-color);border-radius:6px;outline:none;padding:6px 8px;font-size:13px}.context-input:focus{border-color:var(--text-color)}
.node{text-align:center;background-color:#fff;border:1px solid #000;border-radius:12px;min-width:50px;min-height:12px;padding:10px;font-size:14px}
