.react-flow{direction:ltr;--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: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--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: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--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: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--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 rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.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: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--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: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--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: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--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 rgba(0, 0, 0, .08);--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{position:absolute;width:100%;height:100%;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{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.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;-moz-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:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.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:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;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%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;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{position:absolute;z-index:5;margin:15px}.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{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.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{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.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{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;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))}.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{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.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-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.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))}:root{--background: hsl(220 20% 97%);--foreground: hsl(222.2 84% 4.9%);--card: hsl(0 0% 100%);--primary: hsl(248.14 99.16% 53.33%);--primary-foreground: hsl(210 20% 98%);--secondary: hsl(220 14.3% 95.9%);--secondary-foreground: hsl(220.9 39.3% 11%);--muted: hsl(220 14.3% 95.9%);--muted-foreground: hsl(220 8.9% 46.1%);--border: hsl(220 13% 91%);--input: hsl(220 13% 91%);--ring: hsl(243 75% 59%);--radius: 8px;color:var(--foreground);background:var(--background);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;min-width:320px;background:var(--background);overflow:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.app-shell{display:flex;height:100%;min-height:0;flex-direction:column;gap:20px;overflow:hidden;padding:20px;background:var(--background)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--border);padding-bottom:16px}.topbar h1,.preview-panel h2,.chat-panel h2{margin:0;color:var(--foreground);letter-spacing:0}.topbar h1{font-size:28px;line-height:1.15}.eyebrow{margin:0 0 6px;color:var(--muted-foreground);font-size:12px;font-weight:700;letter-spacing:0;text-transform:uppercase}.topbar-actions{display:flex;flex:1;min-width:0;align-items:center;justify-content:flex-end;gap:10px}.agent-picker{flex:1 1 520px;width:clamp(420px,44vw,680px);min-width:420px;max-width:680px;height:36px;border:1px solid var(--border);border-radius:var(--radius);background:var(--card);color:var(--foreground);padding:0 10px}.agent-sync-state{color:var(--muted-foreground);font-size:12px;font-weight:700;white-space:nowrap}.agent-sync-panel{display:flex;min-height:100%;align-items:center;justify-content:center;flex-direction:column;gap:12px;text-align:center}.agent-sync-panel h1,.agent-sync-panel p{margin:0}.agent-sync-panel p{color:var(--muted-foreground);font-weight:600}.account-menu-wrapper{position:relative;display:inline-flex;min-inline-size:0;border:0;margin:0;padding:0}.account-trigger{border-radius:999px}.account-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:10;display:flex;width:240px;flex-direction:column;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);background:var(--card);box-shadow:0 12px 18px -6px #0f172a29,0 4px 8px -4px #0f172a1f}.account-popover-user{display:flex;flex-direction:column;gap:4px;border-bottom:1px solid var(--border);padding:12px}.account-popover-user strong{color:var(--foreground);font-size:13px;line-height:1.25}.account-popover-user span{overflow:hidden;color:var(--muted-foreground);font-size:12px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.account-logout-button{display:inline-flex;min-height:40px;align-items:center;gap:8px;border:0;background:transparent;padding:0 12px;color:var(--foreground);font-size:13px;font-weight:600;text-align:left}.account-logout-button:hover{background:var(--secondary)}.primary-button,.secondary-button,.icon-button,.segmented-control button{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:6px;transition:background-color .12s ease,border-color .12s ease,color .12s ease}.primary-button{background:var(--primary);padding:0 14px;color:var(--primary-foreground);font-size:14px;font-weight:600}.primary-button:hover:not(:disabled){background:#2201f4}.primary-button:disabled,.primary-button.is-disabled{background:var(--secondary);color:var(--muted-foreground);opacity:.72}.secondary-button{border-color:var(--border);background:var(--card);padding:0 12px;color:var(--foreground);font-size:14px;font-weight:600}.secondary-button:hover:not(:disabled){background:var(--secondary)}.icon-button{width:36px;background:var(--card);border-color:var(--border);color:var(--foreground)}.icon-button:hover{background:var(--accent, var(--secondary))}.workspace-grid{display:grid;min-height:0;flex:1;grid-template-columns:minmax(320px,.9fr) minmax(460px,1.6fr);gap:18px;overflow:hidden}.chat-panel,.preview-panel{display:flex;min-width:0;min-height:0;flex-direction:column;border:1px solid var(--border);border-radius:var(--radius);background:var(--card)}.chat-panel{min-height:0}.panel-heading,.preview-toolbar{display:flex;align-items:flex-start;gap:16px;border-bottom:1px solid var(--border);padding:16px}.panel-heading{justify-content:space-between}.preview-toolbar{align-items:center;justify-content:space-between}.panel-heading span{color:var(--muted-foreground);font-size:13px;white-space:nowrap}.message-list{display:flex;min-height:0;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:16px}.chat-placeholder{margin:auto;color:var(--muted-foreground);font-size:14px;font-weight:600}.message-stack{display:flex;max-width:92%;flex-direction:column;gap:6px}.message-stack.user{align-self:flex-end;align-items:flex-end}.message-stack.assistant{align-self:flex-start;align-items:flex-start}.message-bubble{max-width:100%;border:1px solid var(--border);border-radius:var(--radius);padding:12px}.message-bubble.user{align-self:flex-end;border-color:#cec8f9;background:#f3f1fd}.message-bubble.assistant{align-self:flex-start;background:var(--muted)}.message-bubble p{margin:0;line-height:1.65}.typing-dots:after{display:inline-block;width:1.5em;animation:typing-dots 1.2s steps(4,end) infinite;content:""}.stream-cursor{display:inline-block;width:2px;height:1em;margin-left:2px;animation:stream-cursor .8s steps(2,start) infinite;background:var(--primary);vertical-align:-.12em}.message-meta{display:flex;flex-wrap:wrap;gap:8px;max-width:100%;color:var(--muted-foreground);font-size:12px;font-weight:700}.message-stack.user .message-meta{justify-content:flex-end}.message-meta-chip{display:inline-flex;min-width:0;max-width:220px;align-items:center;gap:5px;overflow:hidden;border:1px solid hsl(220 13% 88%);border-radius:999px;background:#ffffffb8;padding:4px 7px;line-height:1}.message-meta-chip svg{flex:0 0 auto}.message-meta-chip span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.message-actions .primary-button,.message-actions .secondary-button{min-height:32px;font-size:13px}.login-form input{width:100%;border:1px solid var(--input);border-radius:6px;background:var(--card);color:var(--foreground);outline:none}.login-form input{min-height:42px;padding:0 12px}.login-form input:focus{border-color:var(--ring);box-shadow:0 0 0 3px #5048e529}.composer{position:relative;display:flex;flex-direction:column;gap:10px;border-top:1px solid var(--border);padding:14px}.codex-composer{background:var(--card)}.composer-context-panel{position:absolute;bottom:68px;left:22px;z-index:5;display:flex;width:min(292px,calc(100% - 44px));max-height:278px;flex-direction:column;gap:0;overflow:hidden;border:1px solid var(--border);border-radius:10px;margin:0;background:var(--card);padding:0;box-shadow:0 20px 30px -12px #0f172a38,0 8px 12px -8px #0f172a29}.composer-context-close-button{position:absolute;top:7px;right:7px;z-index:2;width:28px;min-height:28px;border:0;background:transparent;color:var(--muted-foreground)}.context-picker-tabs{display:flex;min-height:44px;align-items:stretch;border-bottom:1px solid var(--border);padding:0 42px 0 10px}.context-picker-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;padding:0 11px;color:var(--muted-foreground);font-size:14px;font-weight:600}.context-picker-tabs button.is-active{border-bottom-color:var(--foreground);color:var(--foreground)}.context-picker-list{display:flex;min-height:0;max-height:232px;flex-direction:column;overflow:auto;padding:8px}.context-picker-item{display:flex;width:100%;min-width:0;min-height:34px;align-items:center;gap:8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--foreground);padding:5px 7px;text-align:left}.context-picker-item:hover,.context-picker-item.is-selected{background:var(--secondary)}.context-picker-item.is-selected{border-color:#cec8f9}.context-picker-item svg{flex:0 0 auto;color:var(--primary)}.context-picker-item span{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px;overflow:hidden;font-size:14px;font-weight:600;line-height:1.2}.context-picker-item small{overflow:hidden;color:var(--muted-foreground);font-size:11px;font-weight:500;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.context-picker-call-log span{font-family:ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace}.file-input{display:none}.composer-context-chips{display:flex;min-width:0;flex-wrap:wrap;gap:6px;align-items:center;border:0;margin:0;padding:0}.composer-box>.composer-context-chips{padding:10px 12px 0}.composer-box{display:flex;min-height:148px;flex-direction:column;overflow:hidden;border:1px solid var(--input);border-radius:14px;background:var(--card);box-shadow:0 1px 2px #0f172a0d}.composer-box:focus-within{border-color:var(--ring);box-shadow:0 0 0 3px #5048e529}.composer-box textarea{width:100%;min-height:92px;flex:1;resize:none;border:0;background:transparent;padding:13px 14px 8px;color:var(--foreground);line-height:1.55;outline:none}.composer-box textarea::placeholder{color:var(--muted-foreground)}.composer-toolbar{display:flex;min-height:48px;align-items:center;gap:8px;border-top:1px solid hsl(220 13% 91% / .72);padding:7px}.composer-add-button{width:34px;min-height:34px;flex:0 0 auto;border-radius:999px}.composer-attach-button{width:34px;min-height:34px;flex:0 0 auto;border:0;border-radius:999px;background:transparent;color:var(--muted-foreground)}.composer-attach-button:hover{background:var(--secondary);color:var(--foreground)}.context-chip{display:inline-flex;min-width:0;max-width:172px;align-items:center;gap:5px;overflow:hidden;border:1px solid var(--border);border-radius:999px;background:var(--secondary);padding:5px 8px;color:var(--secondary-foreground);font-size:12px;font-weight:600;line-height:1;text-overflow:ellipsis;white-space:nowrap}.context-chip svg{flex:0 0 auto}.context-chip span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.context-chip-remove{display:inline-flex;width:18px;height:18px;flex:0 0 auto;align-items:center;justify-content:center;border:0;border-radius:999px;background:transparent;color:var(--muted-foreground);padding:0}.context-chip-remove:hover{background:#e2e4e9;color:var(--foreground)}.composer-send-button{width:34px;min-height:34px;padding:0;margin-left:auto;border-radius:999px}.preview-panel{overflow:hidden}.segmented-control{display:inline-flex;overflow:hidden;margin:0;border:1px solid var(--border);border-radius:6px;background:var(--secondary);padding:0}.segmented-control button{min-width:112px;border-radius:0;background:transparent;color:var(--secondary-foreground);font-weight:600}.segmented-control button.is-active{background:var(--primary);color:var(--primary-foreground)}.preview-meta{display:inline-flex;min-width:0;align-items:center;gap:10px;color:var(--muted-foreground);font-size:12px;font-weight:700}.warning-chip{display:inline-flex;align-items:center;gap:4px;border-radius:999px;color:var(--muted-foreground);cursor:help}.warning-chip.has-warning{color:#7c4a03}.callflow-mark{width:18px;height:18px;flex:0 0 auto}.callflow-mark-line{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:2}.callflow-mark-node{fill:var(--background);stroke:currentColor;stroke-width:2}.callflow-mark-node-primary{fill:currentColor}.json-preview-shell{position:relative;display:flex;min-height:0;flex:1;flex-direction:column;overflow:hidden}.json-actions{position:absolute;top:28px;right:54px;z-index:2;display:flex;gap:8px}.json-icon-button{width:34px;min-height:34px;background:#ffffffeb;box-shadow:0 8px 18px #0f172a29}.json-preview{margin:16px;min-height:0;flex:1;overflow:auto;border:1px solid var(--border);border-radius:var(--radius);background:#020817;padding:16px;color:#d1fae5;font-size:12px;line-height:1.55}.json-preview-placeholder{margin:16px;display:flex;min-height:0;flex:1;align-items:center;justify-content:center;border:1px dashed var(--border);border-radius:var(--radius);color:var(--muted-foreground);font-size:13px;font-weight:700}.flow-editor-shell{display:grid;min-height:0;flex:1;grid-template-columns:minmax(0,1fr) 280px;overflow:hidden}.flow-editor-canvas{min-width:0;min-height:0;background:#f8fafc}.flow-editor-node-shell{position:relative;width:184px}.flow-editor-handle{width:9px;height:9px;border:2px solid #94a3b8;background:#fff}.flow-editor-node{display:flex;width:100%;min-height:86px;flex-direction:column;justify-content:center;gap:7px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:12px 14px;text-align:left;box-shadow:0 1px 2px #0f172a0f,0 6px 18px #0f172a14}.flow-editor-node.is-selected{border-color:var(--primary);box-shadow:0 0 0 3px #3617fe2e,0 8px 20px #0f172a1f}.flow-editor-node-start{border-color:#86efac}.flow-editor-node-phase,.flow-editor-node-scheduling{border-color:#c4b5fd}.flow-editor-node-end{border-color:#cbd5e1}.flow-editor-node span{color:#64748b;font-size:11px;font-weight:800;line-height:1;text-transform:uppercase}.flow-editor-node strong{overflow:hidden;color:#0f172a;font-size:15px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.flow-editor-node small{display:block;overflow:hidden;color:#64748b;font-size:11px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.flow-editor-properties{display:flex;min-width:0;flex-direction:column;gap:14px;overflow:auto;border-left:1px solid var(--border);background:var(--card);padding:14px}.flow-editor-property-header{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px}.flow-editor-property-header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manual-edit-chip{flex:0 0 auto;border-radius:999px;background:#ecfeff;padding:3px 8px;color:#0e7490;font-size:11px;font-weight:800}.flow-editor-fieldset{display:flex;flex-direction:column;gap:10px}.flow-editor-fieldset label{display:flex;min-width:0;flex-direction:column;gap:6px;color:var(--muted-foreground);font-size:12px;font-weight:700}.flow-editor-fieldset input,.flow-editor-fieldset textarea{width:100%;border:1px solid var(--border);border-radius:6px;background:var(--background);padding:8px 10px;color:var(--foreground);font:inherit;font-size:13px;line-height:1.4}.flow-editor-fieldset textarea{resize:vertical}.flow-editor-help{margin:0;color:var(--muted-foreground);font-size:13px;line-height:1.5}.flow-editor-inspector{display:flex;min-width:0;flex-direction:column;gap:8px}.flow-editor-inspector strong{color:var(--foreground);font-size:12px;line-height:1.25}.flow-editor-inspector pre{margin:0;max-height:none;overflow:auto;border:1px solid var(--border);border-radius:6px;background:#020817;padding:10px;color:#d1fae5;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,ui-monospace,monospace;font-size:11px;line-height:1.5;white-space:pre}.login-shell{display:grid;min-height:100%;place-items:center;padding:20px;background:linear-gradient(135deg,#eff6ff,#eef2ff 48%,#f3e8ff)}.login-panel{width:min(420px,100%);border:0;border-radius:var(--radius);background:#fffc;box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:0}.login-header{padding:24px 24px 12px;text-align:center}.login-header h1{margin:0;color:#111827;font-size:24px;font-weight:800;line-height:1.2;letter-spacing:0}.login-header p{margin:8px 0 0;color:#4b5563;font-size:14px;line-height:1.5}.login-form{display:flex;flex-direction:column;gap:0;padding:12px 24px 24px}.login-field{display:flex;flex-direction:column;gap:8px}.login-field label{color:var(--foreground);font-size:13px;font-weight:700}.password-field{position:relative}.password-field input{padding-right:42px}.password-toggle{position:absolute;top:50%;right:12px;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:#6b7280;transform:translateY(-50%)}.password-toggle:hover{color:#374151}.login-field-reserve{min-height:20px}.login-submit,.login-google-button{width:100%}.login-separator{position:relative;margin:24px 0;border-top:1px solid var(--border);text-align:center}.login-separator span{position:absolute;top:0;left:50%;background:#fff;padding:0 8px;color:#6b7280;font-size:12px;transform:translate(-50%,-50%)}.login-google-button{margin-bottom:0}.google-mark{width:16px;height:16px;flex:0 0 auto}.modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;background:#0208176b;padding:12px}.modal-panel{display:flex;width:min(760px,100%);max-height:min(760px,calc(100vh - 40px));min-height:0;flex-direction:column;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);background:var(--card)}.json-preview-dialog{width:min(1280px,calc(100vw - 24px));height:min(900px,calc(100vh - 24px));max-height:calc(100vh - 24px)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border);padding:16px}.modal-header h2{margin:0;color:var(--foreground);letter-spacing:0}.modal-header h2{font-size:18px;line-height:1.3}.json-preview-expanded{margin-top:16px}@keyframes typing-dots{0%{content:""}25%{content:"."}50%{content:".."}75%,to{content:"..."}}@keyframes stream-cursor{0%,45%{opacity:1}46%,to{opacity:0}}@media(max-width:1120px){.topbar{align-items:stretch;flex-direction:column}.topbar-actions{flex-wrap:wrap}.agent-picker{flex:1 1 100%;width:100%;min-width:0;max-width:none}}@media(max-width:980px){body{overflow:auto}.app-shell{height:auto;min-height:100%;overflow:visible;padding:14px}.preview-toolbar{align-items:stretch;flex-direction:column;justify-content:stretch}.workspace-grid{grid-template-columns:1fr;overflow:visible}.chat-panel{min-height:560px}.preview-panel{height:min(720px,calc(100vh - 28px));min-height:560px}.flow-editor-shell{grid-template-columns:1fr;grid-template-rows:minmax(360px,1fr) auto}.flow-editor-properties{max-height:280px;border-top:1px solid var(--border);border-left:0}.segmented-control{width:100%}.segmented-control button{flex:1}}
