.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))}
.strategy-library,.strategy-editor{--strategy-base:#090f1b;--strategy-node:#141f32;--strategy-inset:#0b1424;--strategy-frost:#17253c;--strategy-rim:#314968;--strategy-edge:#233650;--strategy-shine:#659bd15c;--strategy-shadow:#030710b5;--strategy-ink:#edf5ff;--strategy-dim:#9eb0c7;--strategy-accent:#82c3ff;--strategy-grid:#263750;--strategy-map-node:#46668b;--strategy-map-mask:#070d18b8;--strategy-positive:#76d9b8;--strategy-negative:#ecae85;--share-0:#71b8fe;--share-1:#9f9cf6;--share-2:#74e0c5;--share-3:#f4be84;color:var(--strategy-ink)}html[data-theme=light] :is(.strategy-library,.strategy-editor){--strategy-base:#eaf2fb;--strategy-node:#f8fbff;--strategy-inset:#edf4fc;--strategy-frost:#f5faff;--strategy-rim:#b9cde6;--strategy-edge:#cbdced;--strategy-shine:#fff;--strategy-shadow:#486d9d35;--strategy-ink:#142842;--strategy-dim:#506984;--strategy-accent:#06559d;--strategy-grid:#b0c5dd;--strategy-map-node:#7e9dbf;--strategy-map-mask:#eaf2fbac;--strategy-positive:#14724f;--strategy-negative:#88502b}.strategy-library{min-height:0}.strategy-library-inner{max-width:1240px;margin:auto;padding:36px clamp(18px,4vw,60px) 70px}.strategy-library-heading{justify-content:space-between;align-items:flex-end;gap:15px;margin:4px 0 26px;display:flex}.strategy-library h1{letter-spacing:-.07em;margin:0 0 9px;font-size:clamp(2.3rem,5vw,4rem);font-weight:560;line-height:1}.strategy-library p,.strategy-library small{color:var(--strategy-dim)}.strategy-library h2{letter-spacing:-.045em;font-size:1.46rem;font-weight:570}.strategy-library h3{letter-spacing:-.025em;font-weight:590}.strategy-library .button,.strategy-back,.strategy-text{align-items:center;gap:7px;display:inline-flex}.strategy-back{width:fit-content;color:var(--strategy-accent);margin-bottom:17px;font-size:.84rem}.strategy-builder{border:1px solid var(--strategy-rim);background:var(--strategy-frost);box-shadow:inset 0 2px 0 var(--strategy-shine),0 12px 35px var(--strategy-shadow);isolation:isolate;border-radius:21px;grid-template-columns:minmax(0,1.1fr) minmax(235px,.8fr);align-items:center;gap:clamp(12px,4vw,60px);padding:clamp(19px,4vw,39px);display:grid;position:relative}.strategy-builder-copy{min-width:0}.strategy-builder h2{margin:8px 0 5px}.strategy-builder-icon,.strategy-node-icon{color:var(--strategy-accent);border:1px solid var(--strategy-rim);background:var(--strategy-inset);box-shadow:inset 0 1px 0 var(--strategy-shine);border-radius:9px;flex:none;place-items:center;width:34px;height:34px;display:grid}.strategy-builder-icon{border-radius:12px;width:43px;height:43px}.strategy-prompt{align-items:flex-end;gap:9px;margin:18px 0 13px;display:flex}.strategy-prompt textarea,.strategy-filters input,.strategy-filters select,.strategy-panel input,.strategy-panel select,.strategy-panel textarea,.strategy-private-form :is(input,textarea){width:100%;min-width:0;color:var(--strategy-ink);background:var(--strategy-inset);border:1px solid var(--strategy-edge);font:inherit;border-radius:8px;padding:9px}.strategy-prompt textarea{resize:vertical;min-height:70px}.strategy-prompt .button{flex:none}.strategy-suggestions{flex-wrap:wrap;gap:7px;display:flex}.strategy-suggestions button{text-align:left;color:var(--strategy-dim);border:1px solid var(--strategy-edge);border-radius:7px;padding:5px 8px;font-size:.73rem}.strategy-suggestions button:hover,.strategy-card:hover,.strategy-template:hover{border-color:var(--strategy-accent)}.strategy-builder-visual{grid-template-columns:minmax(0,1fr);align-self:stretch;align-items:center;min-width:0;padding:30px 5px;display:grid}.strategy-builder-visual .strategy-preview{border:1px solid var(--strategy-edge);width:100%;height:auto;min-height:168px;box-shadow:inset 0 5px 24px var(--strategy-shadow);background:var(--strategy-base);border-radius:14px}.strategy-preview{width:100%;max-width:100%;color:var(--strategy-accent);display:block}.strategy-preview-edge,.strategy-preview-pulse{fill:none;stroke:var(--strategy-rim);stroke-width:1.2px}.strategy-preview-pulse{stroke:var(--strategy-accent);stroke-width:2.5px}.strategy-preview-node{fill:var(--strategy-frost);stroke:var(--strategy-accent);stroke-width:1px}.strategy-preview-node.branch{stroke:var(--strategy-positive)}.strategy-preview-mark{fill:var(--strategy-accent);opacity:.75}.strategy-section{margin-top:35px}.strategy-section-heading{justify-content:space-between;align-items:center;gap:11px;margin-bottom:12px;display:flex}.strategy-filters{align-items:center;gap:8px;display:flex}.strategy-filters label{border:1px solid var(--strategy-edge);color:var(--strategy-dim);border-radius:8px;align-items:center;gap:7px;padding-left:8px;display:flex}.strategy-filters input{border:0;font-size:.82rem}.strategy-filters select{width:auto;font-size:.82rem}.strategy-card-grid,.strategy-template-grid{grid-template-columns:repeat(auto-fit,minmax(min(252px,100%),1fr));gap:13px;display:grid}.strategy-card{border:1px solid var(--strategy-rim);background:var(--strategy-frost);min-width:0;max-width:450px;box-shadow:inset 0 1px 0 var(--strategy-shine),0 8px 21px var(--strategy-shadow);border-radius:13px;transition:transform .2s,border-color .2s;position:relative;overflow:visible}.strategy-card:hover{transform:translateY(-2px)}.strategy-card .strategy-preview{background:var(--strategy-base);border-bottom:1px solid var(--strategy-edge);border-radius:13px 13px 0 0}.strategy-card-copy{padding:13px 15px}.strategy-card-copy h3{padding-right:30px}.strategy-card-copy p{margin:5px 0 12px;font-size:.83rem}.strategy-card-copy div{color:var(--strategy-dim);flex-wrap:wrap;gap:6px 12px;font-size:.73rem;display:flex}.strategy-card-menu{z-index:2;position:absolute;top:132px;right:10px}.strategy-card-menu summary,.strategy-node-menu summary{cursor:pointer;width:30px;height:29px;color:var(--strategy-dim);border-radius:6px;place-items:center;list-style:none;display:grid}.strategy-card-menu summary::-webkit-details-marker{display:none}.strategy-node-menu summary::-webkit-details-marker{display:none}.strategy-card-menu div,.strategy-node-menu div,.strategy-context{border:1px solid var(--strategy-rim);background:var(--strategy-frost);min-width:145px;box-shadow:0 8px 21px var(--strategy-shadow),inset 0 1px 0 var(--strategy-shine);z-index:14;border-radius:8px;padding:5px;position:absolute;right:0}.strategy-card-menu button,.strategy-node-menu button,.strategy-context button{text-align:left;border-radius:5px;width:100%;padding:7px 8px;font-size:.83rem;display:block}.strategy-card-menu button:hover,.strategy-node-menu button:hover,.strategy-context button:hover{background:var(--strategy-inset);color:var(--strategy-accent)}.strategy-template{text-align:left;border:1px solid var(--strategy-edge);background:var(--strategy-inset);border-radius:10px;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;min-height:64px;padding:11px 12px;display:grid}.strategy-template>svg{color:var(--strategy-accent)}.strategy-template :is(strong,small){display:block}.strategy-template small{margin-top:3px;font-size:.75rem}.strategy-empty,.strategy-access{color:var(--strategy-dim);padding:21px 0}.strategy-empty>svg{color:var(--strategy-accent);margin-bottom:9px}.strategy-empty>div{flex-wrap:wrap;gap:10px;margin-top:10px;display:flex}.strategy-access .button{margin-top:13px}.strategy-editor{isolation:isolate;background:var(--strategy-base);border-top:1px solid var(--strategy-edge);width:100%;min-width:0;min-height:0;margin-top:7px;position:relative;overflow:hidden}.strategy-load{color:var(--muted);place-items:center;display:grid}.strategy-canvas{touch-action:none;position:absolute;inset:0}.strategy-editor .react-flow{--xy-background-color:var(--strategy-base);--xy-background-pattern-dots-color:var(--strategy-grid)}.strategy-editor .react-flow__attribution{background:var(--strategy-base);color:var(--strategy-dim);font-size:9px}.strategy-toolbar{z-index:5;pointer-events:none;justify-content:space-between;align-items:flex-start;gap:7px;display:flex;position:absolute;top:13px;left:13px;right:13px}.strategy-toolbar-group,.strategy-navigation,.strategy-ai-form,.strategy-proposal,.strategy-panel{border:1px solid var(--strategy-rim);background:var(--strategy-frost);box-shadow:inset 0 1px 0 var(--strategy-shine),0 8px 24px var(--strategy-shadow);pointer-events:auto;border-radius:10px;align-items:center;gap:4px;padding:4px;display:flex}.strategy-toolbar-group{min-width:0}.strategy-tool,.strategy-icon{min-width:29px;min-height:30px;color:var(--strategy-dim);border-radius:6px;flex:none;justify-content:center;align-items:center;gap:5px;padding:4px 6px;font-size:.75rem;display:inline-flex}.strategy-tool:hover,.strategy-icon:hover,.strategy-edge-insert:hover{background:var(--strategy-inset);color:var(--strategy-accent)}.strategy-tool:disabled,.strategy-icon:disabled{opacity:.4;cursor:default}.strategy-file label{min-width:0}.strategy-file input{background:var(--strategy-inset);border:1px solid var(--strategy-edge);border-radius:6px;width:clamp(93px,11vw,180px);min-height:30px;padding:4px 7px;font-size:.84rem;font-weight:600}.strategy-save{color:var(--strategy-dim);white-space:nowrap;align-items:center;gap:5px;padding:7px 5px;font-size:.69rem;display:flex}.strategy-save i{background:var(--strategy-accent);width:5px;height:5px;box-shadow:0 0 6px var(--strategy-accent);border-radius:50%}.strategy-save.save-error i{background:var(--strategy-negative);box-shadow:none}.strategy-test-button{min-height:30px;color:var(--strategy-base);background:var(--strategy-accent);white-space:nowrap;border-radius:6px;align-items:center;gap:5px;padding:5px 8px;font-size:.75rem;font-weight:650;display:inline-flex}.strategy-test-button:hover{filter:brightness(1.12)}.strategy-navigation{z-index:5;position:absolute;bottom:13px;left:13px}.strategy-navigation output{color:var(--strategy-dim);font-variant-numeric:tabular-nums;text-align:center;min-width:34px;padding:0 2px;font-size:.71rem}.strategy-editor .strategy-minimap{border:1px solid var(--strategy-rim);background:var(--strategy-frost);box-shadow:0 7px 21px var(--strategy-shadow);border-radius:10px;margin:0 13px 24px 0}.strategy-ai-dock{z-index:6;width:min(490px,100% - 420px);position:absolute;bottom:13px;left:50%;transform:translate(-50%)}.strategy-ai-form{gap:8px;width:100%;min-height:44px;padding:4px 7px}.strategy-ai-form>svg{color:var(--strategy-accent);flex:none}.strategy-ai-form input{outline-offset:1px;min-width:0;color:var(--strategy-ink);border:0;flex:1;font-size:.85rem}.strategy-ai-form .strategy-icon{color:var(--strategy-accent)}.strategy-proposal{margin-bottom:7px;padding:10px;font-size:.83rem;display:grid}.strategy-proposal div{gap:7px;display:flex}.strategy-proposal small{color:var(--strategy-dim)}.strategy-editor-notice{z-index:6;align-items:center;max-width:min(460px,100% - 27px);position:absolute;top:62px;left:14px}.strategy-editor-notice button{margin-left:auto}.strategy-node{border:1px solid var(--strategy-rim);background:var(--strategy-node);width:302px;min-height:83px;box-shadow:inset 0 1px 0 var(--strategy-shine),inset 0 0 0 3px color-mix(in srgb,var(--strategy-frost) 55%,transparent),0 10px 22px var(--strategy-shadow);color:var(--strategy-ink);border-radius:13px;padding:7px;transition:border-color .16s,box-shadow .16s;position:relative}.strategy-node.is-selected,.strategy-node.is-testing{border-color:var(--strategy-accent);box-shadow:inset 0 1px 0 var(--strategy-shine),0 0 0 2px color-mix(in srgb,var(--strategy-accent) 28%,transparent),0 10px 25px var(--strategy-shadow)}.strategy-node-header{border:1px solid var(--strategy-edge);background:var(--strategy-inset);cursor:grab;border-radius:8px;align-items:center;gap:7px;min-height:45px;padding:5px;display:flex}.strategy-node-header strong{letter-spacing:-.025em;overflow-wrap:anywhere;flex:1;min-width:0;font-size:.94rem}.strategy-node-header .strategy-icon{min-width:25px}.strategy-node-menu{position:relative}.strategy-node-icon.type-trigger{color:var(--share-1)}.strategy-node-icon.type-market,.strategy-node-icon.type-allocation{color:var(--strategy-positive)}.strategy-node-icon.type-logic{color:var(--strategy-negative)}.strategy-node-body{overflow-wrap:anywhere;padding:9px 5px 2px}.strategy-node-field{grid-template-columns:87px minmax(0,1fr);align-items:center;gap:5px;padding:4px 0;font-size:.75rem;display:grid}.strategy-node-field>span:first-child{color:var(--strategy-dim)}.strategy-node-field strong{font-size:.77rem;font-weight:600}.strategy-node :is(input:not([type=checkbox]),select,textarea){width:100%;color:var(--strategy-ink);background:var(--strategy-inset);border:1px solid var(--strategy-edge);border-radius:5px;min-width:0;min-height:28px;padding:5px 6px;font-size:.74rem}.strategy-node :is(input,textarea,select):focus-visible,.strategy-toolbar :is(button,input):focus-visible,.strategy-panel :is(button,input,textarea,select):focus-visible{outline:2px solid var(--strategy-accent);outline-offset:1px}.strategy-node textarea{resize:vertical}.strategy-node input[type=checkbox]{accent-color:var(--strategy-accent);justify-self:start}.strategy-node-note,.strategy-node-warning{color:var(--strategy-dim);padding:4px 0;font-size:.72rem}.strategy-node>p.strategy-node-note{padding:7px 4px 2px}.strategy-node-warning{color:var(--strategy-negative)}.strategy-node-test{border:1px solid var(--strategy-rim);background:var(--strategy-frost);width:100%;color:var(--strategy-accent);border-radius:6px;justify-content:center;align-items:center;gap:6px;margin-top:8px;padding:6px 5px;font-size:.74rem;font-weight:590;display:flex}.strategy-node-test:hover{border-color:var(--strategy-accent);background:var(--strategy-inset)}.strategy-node-result{border-left:2px solid var(--strategy-accent);white-space:pre-wrap;max-height:164px;margin-top:7px;padding:4px 5px;font-size:.73rem;overflow:auto}.strategy-node-result.state-passed{border-color:var(--strategy-positive)}.strategy-node-result.state-requires_input,.strategy-node-result.state-failed{border-color:var(--strategy-negative)}.strategy-node-result p{color:var(--strategy-dim);margin-top:3px}.strategy-node-result a{color:var(--strategy-accent);text-decoration:underline;display:block}.strategy-node-ports{justify-content:space-between;align-items:flex-end;margin-top:3px;display:flex}.strategy-port{color:var(--strategy-dim);align-items:center;min-height:14px;padding:1px 4px;font-size:.65rem;display:flex;position:relative}.strategy-outs{text-align:right;margin-left:auto}.strategy-outs .strategy-port{justify-content:flex-end}.strategy-port .react-flow__handle{border:2px solid var(--strategy-rim);background:var(--strategy-base);width:10px;height:10px}.strategy-ins .strategy-port .react-flow__handle{left:-8px}.strategy-outs .strategy-port .react-flow__handle{right:-8px}.strategy-port.port-in,.strategy-port.port-next{min-height:13px;padding:0;position:absolute;top:22px}.strategy-port.port-in{left:7px}.strategy-port.port-next{right:7px}.strategy-port:is(.port-in,.port-next) span{display:none}.strategy-port.port-true{color:var(--strategy-positive)}.strategy-port.port-false{color:var(--strategy-negative)}.strategy-port.port-true .react-flow__handle{border-color:var(--strategy-positive)}.strategy-port.port-false .react-flow__handle{border-color:var(--strategy-negative)}.strategy-wire{fill:none;stroke:var(--strategy-accent);stroke-width:1.3px;opacity:.8}.strategy-wire.data-wire{stroke-dasharray:4 4;stroke:var(--strategy-dim);opacity:.58}.strategy-wire.wire-true{stroke:var(--strategy-positive)}.strategy-wire.wire-false{stroke:var(--strategy-negative)}.strategy-wire.selected{stroke-width:2.6px;opacity:1}.strategy-wire-pulse{fill:none;stroke:var(--strategy-accent);stroke-width:3px;stroke-dasharray:.12 .88;stroke-dashoffset:1px;pointer-events:none;animation:.75s linear infinite strategy-pulse}@keyframes strategy-pulse{to{stroke-dashoffset:0}}.strategy-edge-label{pointer-events:all;color:var(--strategy-dim);align-items:center;gap:3px;font-size:.68rem;display:flex;position:absolute}.strategy-edge-label span,.strategy-edge-insert{border:1px solid var(--strategy-rim);background:var(--strategy-inset);border-radius:20px;padding:2px 5px}.strategy-edge-label.edge-true span{color:var(--strategy-positive)}.strategy-edge-label.edge-false span{color:var(--strategy-negative)}.strategy-edge-insert{width:20px;height:20px;color:var(--strategy-accent);place-items:center;padding:0;display:grid}.strategy-secret,.strategy-asset-flow,.strategy-text{align-items:center;gap:7px;display:flex}.strategy-asset-flow{color:var(--strategy-accent);justify-content:space-between;padding:6px 0;font-size:.69rem}.strategy-asset-flow span{background:var(--strategy-rim);flex:1;height:1px}.strategy-text{color:var(--strategy-accent);text-align:left;padding:5px 0;font-size:.76rem}.strategy-share{background:var(--strategy-inset);border-radius:8px;height:6px;margin:6px 0 8px;display:flex;overflow:hidden}.strategy-share span{min-width:0;height:100%}.strategy-branch-row{grid-template-columns:1fr 60px 45px 28px;align-items:center;gap:4px;margin-bottom:5px;display:grid}.strategy-branch-row>span{color:var(--strategy-dim);padding-left:4px;font-size:.72rem}.strategy-panel{z-index:8;overscroll-behavior:contain;width:min(336px,100% - 26px);padding:11px;display:block;position:absolute;top:60px;bottom:71px;right:13px;overflow:auto}.strategy-panel header{justify-content:space-between;align-items:center;gap:7px;margin-bottom:8px;display:flex}.strategy-panel h2{letter-spacing:-.03em;font-size:1.04rem;font-weight:650}.strategy-panel h3{color:var(--strategy-dim);padding:9px 0 4px;font-size:.76rem;font-weight:600}.strategy-panel p{color:var(--strategy-dim);margin-bottom:7px;font-size:.81rem}.strategy-panel :is(input,select,textarea),.strategy-private-form :is(input,textarea){font-size:.8rem}.strategy-picker-item,.strategy-panel-list button{text-align:left;border-radius:6px;width:100%;padding:7px 3px}.strategy-picker-item{grid-template-columns:auto 1fr auto;align-items:center;gap:7px;display:grid}.strategy-picker-item strong,.strategy-panel-list strong{color:var(--strategy-ink);display:block}.strategy-picker-item small,.strategy-panel-list small{color:var(--strategy-dim);display:block}.strategy-picker-item,.strategy-panel-list button{color:var(--strategy-dim);font-size:.79rem}.strategy-picker-item:hover,.strategy-panel-list button:hover{background:var(--strategy-inset)}.strategy-panel-list{margin:7px 0;padding:0;list-style:none}.strategy-assets div{border-bottom:1px solid var(--strategy-edge);justify-content:space-between;gap:10px;padding:8px 1px;font-size:.8rem;display:flex}.strategy-assets dt{color:var(--strategy-dim)}.strategy-panel .strategy-good,.strategy-panel .strategy-test-summary{color:var(--strategy-positive)}.strategy-good{align-items:center;gap:6px;display:flex}.strategy-saved-run{border-top:1px solid var(--strategy-edge);padding:7px 2px;font-size:.76rem}.strategy-saved-run summary{cursor:pointer}.strategy-saved-run small{color:var(--strategy-dim);display:block}.strategy-context{position:fixed;right:auto}.strategy-detail-field,.strategy-private-form,.strategy-private-form label{gap:7px;display:grid}.strategy-private-form{margin:9px 0}.strategy-version-nodes{margin:8px 0;padding-left:16px;list-style:outside}@media (max-width:1250px){.strategy-run-tools .strategy-tool span{display:none}}@media (max-width:960px){.strategy-editor .strategy-minimap{width:140px;height:95px;bottom:57px}.strategy-ai-dock{width:min(500px,100% - 215px);left:auto;right:13px;transform:none}.strategy-toolbar{flex-wrap:wrap}.strategy-toolbar-group{flex:none}.strategy-editor-notice,.strategy-panel{top:101px}}@media (max-width:720px){.strategy-builder{grid-template-columns:minmax(0,1fr)}.strategy-builder-visual{display:none}.strategy-prompt{display:grid}.strategy-prompt .button{justify-self:start}.strategy-section-heading{flex-wrap:wrap}.strategy-toolbar{justify-content:flex-start;gap:4px;top:6px;left:6px;right:6px}.strategy-toolbar-group{gap:1px;padding:2px}.strategy-test-button{min-height:28px}.strategy-toolbar .strategy-tool{min-width:27px;min-height:28px}.strategy-editor .strategy-minimap,.strategy-navigation [aria-label$=minimap]{display:none}.strategy-ai-dock{width:calc(100% - 12px);bottom:6px;right:6px}.strategy-navigation{bottom:57px;left:6px}.strategy-editor-notice{top:103px}.strategy-panel{width:auto;max-height:55%;inset:auto 6px 56px}}@media (prefers-reduced-motion:reduce){.strategy-wire-pulse{animation:none}.strategy-node,.strategy-card{transition:none}}
