.react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 .5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#555;--xy-background-pattern-lines-color-default:#333;--xy-background-pattern-cross-color-default:#333;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 .5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px)translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px)translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));padding:10px;font-size:12px}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(--xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default)));color:var(--xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default)))}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)))}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}
:root{--ink:#17201e;--muted:#66716d;--subtle:#8d9793;--line:#dfe5e2;--line-strong:#cbd4d0;--paper:#fff;--canvas:#f5f8f6;--soft:#eef3f0;--green:#087a54;--green-bright:#19b47b;--green-soft:#e7f8f0;--blue:#4169e1;--blue-soft:#edf1ff;--purple:#7256bd;--purple-soft:#f2edff;--red:#c44343;--red-soft:#fff0ef;--code:#101815;--shadow-sm:0 1px 2px #141e1a0d, 0 4px 12px #141e1a0a;--shadow-lg:0 24px 70px #111e192b, 0 2px 8px #111e1912}*{box-sizing:border-box}html,body{min-height:100%}body{background:var(--canvas);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px}button,textarea{font:inherit}button,a,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.studio-shell{flex-direction:column;height:100dvh;min-height:680px;display:flex;overflow:hidden}.studio-header{z-index:20;color:#edf5f1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0f1614f7;border-bottom:1px solid #293531;flex:0 0 54px;grid-template-columns:auto 1fr auto;align-items:center;height:54px;padding:0 18px;display:grid;position:relative}.brand-lockup{align-items:center;gap:10px;display:flex}.brand-lockup strong{letter-spacing:-.02em;font-size:14px;font-weight:720}.logo-mark{background:#dff9ed;border-radius:8px;flex:none;width:28px;height:28px;position:relative;box-shadow:inset 0 0 0 1px #ffffff40,0 5px 18px #00000038}.logo-dot{z-index:2;background:#dff9ed;border:1.5px solid #102019;border-radius:50%;width:5px;height:5px;position:absolute}.logo-dot-a{top:6px;left:6px}.logo-dot-b{top:6px;right:6px}.logo-dot-c{bottom:6px;left:12px}.logo-line{z-index:1;transform-origin:50%;background:#27b982;width:11px;height:1px;position:absolute;top:9px}.logo-line-a{left:7px;transform:rotate(56deg)}.logo-line-b{right:7px;transform:rotate(-56deg)}.document-path{color:#7e8b86;justify-content:center;align-items:center;gap:7px;min-width:0;font-family:SFMono-Regular,Consolas,monospace;font-size:10.5px;display:flex}.document-path b{color:#46514d;font-weight:500}.document-path strong{color:#c3cec9;font-weight:590}.header-actions{justify-content:flex-end;align-items:center;gap:14px;display:flex}.header-actions>a,.parser-status{align-items:center;gap:6px;font-size:10px;font-weight:620;display:inline-flex}.parser-status{color:#83dbb6}.parser-status.invalid{color:#efaaa3}.header-actions>a{color:#9aa7a1;padding:7px 8px;text-decoration:none;transition:all .14s}.header-actions>a:hover{color:#eef5f2;background:#202b27;border-radius:6px}.studio-workspace{flex:1;grid-template-columns:minmax(370px,410px) minmax(640px,1fr);min-height:0;display:grid;overflow:hidden}.studio-workspace.graph-expanded{grid-template-columns:minmax(0,1fr)}.studio-workspace.graph-expanded .model-pane{display:none}.model-pane{background:var(--code);border-right:1px solid #28332f;flex-direction:column;min-width:0;min-height:0;display:flex}.pane-heading{border-bottom:1px solid var(--line);background:var(--paper);flex:0 0 72px;justify-content:space-between;align-items:center;min-height:72px;padding:13px 16px;display:flex}.pane-heading>div>span,.graph-toolbar>div:first-child>div>span{color:var(--subtle);letter-spacing:.12em;text-transform:uppercase;font-size:9px;font-weight:760;display:block}.pane-heading h1,.graph-toolbar h2{letter-spacing:-.02em;margin:3px 0 0;font-size:14px;font-weight:690}.live-label{color:var(--green);letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:6px;font-family:SFMono-Regular,Consolas,monospace;font-size:9px;font-weight:700;display:inline-flex}.pane-heading{z-index:12;position:relative}.pane-heading-actions{align-items:center;gap:9px;display:flex}.sample-picker{position:relative}.sample-picker-trigger{border:1px solid var(--line);min-width:132px;height:38px;color:var(--ink);cursor:pointer;text-align:left;background:#fff;border-radius:9px;grid-template-columns:27px minmax(0,1fr) 14px;align-items:center;gap:7px;padding:0 8px 0 6px;transition:border-color .14s,box-shadow .14s,background .14s;display:grid;box-shadow:0 1px 2px #141e1a0a}.sample-picker-trigger:hover,.sample-picker-trigger.open{background:#fbfcfb;border-color:#b6c3bd;box-shadow:0 4px 16px #141e1a12}.sample-picker-icon{background:var(--green-soft);width:27px;height:27px;color:var(--green);border-radius:7px;justify-content:center;align-items:center;display:inline-flex}.sample-picker-copy{flex-direction:column;gap:1px;min-width:0;display:flex}.sample-picker-copy small{color:var(--subtle);letter-spacing:.09em;text-transform:uppercase;font-size:7.5px;font-weight:760}.sample-picker-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:680;overflow:hidden}.sample-picker-chevron{color:#84908b;transition:transform .14s}.sample-picker-trigger.open .sample-picker-chevron{transform:rotate(180deg)}.sample-picker-menu{z-index:40;border:1px solid var(--line-strong);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffffa;border-radius:13px;width:310px;max-height:min(520px,100vh - 152px);animation:.16s cubic-bezier(.2,.8,.2,1) both sample-menu-in;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden;box-shadow:0 22px 64px #101f182e,0 2px 8px #101f1812}.sample-menu-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:59px;padding:10px 12px;display:flex}.sample-menu-heading>div{flex-direction:column;gap:2px;display:flex}.sample-menu-heading>div span{color:var(--green);letter-spacing:.09em;text-transform:uppercase;font-size:8px;font-weight:760}.sample-menu-heading>div strong{letter-spacing:-.015em;font-size:13px;font-weight:710}.sample-menu-heading>span{background:var(--green-soft);color:var(--green);border:1px solid #cce8dc;border-radius:999px;padding:4px 6px;font-size:8px;font-weight:680}.sample-menu-list{scrollbar-color:#cbd4d0 transparent;scrollbar-width:thin;max-height:min(402px,100vh - 255px);padding:6px;overflow-y:auto}.sample-menu-list>button{cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:49px;padding:6px 7px;display:grid}.sample-menu-list>button:hover{background:#f4f7f5}.sample-menu-list>button.selected{background:#eff9f4;border-color:#c9e8da}.sample-menu-marker{color:#7e8b86;background:#eef2f0;border-radius:6px;justify-content:center;align-items:center;width:23px;height:23px;font-family:SFMono-Regular,Consolas,monospace;font-size:8px;display:inline-flex}.sample-menu-list>button.selected .sample-menu-marker{color:var(--green);background:#d9f2e7}.sample-menu-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.sample-menu-copy strong{font-size:10px;font-weight:680}.sample-menu-copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8.5px;overflow:hidden}.sample-menu-list>button>code{color:var(--subtle);white-space:nowrap;font-family:SFMono-Regular,Consolas,monospace;font-size:8px}.sample-picker-menu>a{border-top:1px solid var(--line);color:#65726c;justify-content:center;align-items:center;gap:5px;height:39px;font-size:8.5px;font-weight:620;text-decoration:none;display:flex}.sample-picker-menu>a:hover{color:var(--green);background:#f7f9f8}@keyframes sample-menu-in{0%{opacity:0;transform:translateY(-5px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}.live-label i,.live-state i{background:var(--green-bright);border-radius:50%;width:5px;height:5px;box-shadow:0 0 0 3px #19b47b1c}.live-editor{background:var(--code);flex-direction:column;flex:1;min-height:0;display:flex}.code-toolbar{color:#cad5d0;border-bottom:1px solid #2a3531;flex:none;justify-content:space-between;align-items:center;height:43px;padding:0 12px;font-family:SFMono-Regular,Consolas,monospace;font-size:10px;display:flex}.editor-file,.editor-actions,.window-dots,.live-state,.editor-actions button{align-items:center;display:inline-flex}.editor-file{gap:9px}.window-dots{gap:4px}.window-dots i{background:#46524e;border-radius:50%;width:6px;height:6px}.window-dots i:first-child{background:#e06c63}.window-dots i:nth-child(2){background:#d9aa55}.window-dots i:last-child{background:#46bd85}.editor-actions{gap:7px}.live-state{color:#8be0bb;letter-spacing:.07em;text-transform:uppercase;background:#1f996b17;border:1px solid #2d443a;border-radius:999px;gap:5px;padding:4px 7px;font-size:8.5px;font-weight:760}.live-state.invalid{color:#efaaa3;background:#c4434317;border-color:#60413c}.live-state.invalid i{box-shadow:none;background:#e87970}.editor-actions button{color:#a9b6b0;cursor:pointer;background:#222c29;border:0;border-radius:5px;gap:4px;padding:5px 7px;font-size:9px}.editor-actions button:hover{color:#eef5f2;background:#2b3733}.local-trust-note{color:#b9c8c2;background:linear-gradient(90deg,#19b47b1a,#19b47b08);border-bottom:1px solid #263b33;flex:0 0 38px;align-items:center;gap:9px;min-height:38px;padding:0 12px;display:flex}.local-trust-icon{color:#6edbb1;background:#1f996b1a;border:1px solid #315044;border-radius:7px;flex:none;justify-content:center;align-items:center;width:23px;height:23px;display:inline-flex}.local-trust-note>span:last-child{align-items:baseline;gap:7px;min-width:0;display:flex}.local-trust-note strong{color:#9de3c4;white-space:nowrap;font-size:9px;font-weight:720}.local-trust-note small{color:#82918b;text-overflow:ellipsis;white-space:nowrap;font-size:8.5px;overflow:hidden}.editor-surface{background:radial-gradient(circle at 92% 5%, #48d79e0f, transparent 34%), var(--code);flex:1;min-height:0;position:relative;overflow:hidden}.editor-highlight{color:#cbd7d2;pointer-events:none;tab-size:2;width:max-content;min-width:100%;margin:0;padding:12px 0 24px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:24px;position:absolute;top:0;left:0}.editor-row{grid-template-columns:42px max-content;min-width:100%;height:24px;padding-right:18px;display:grid}.editor-row.highlighted{background:linear-gradient(90deg,#4ad59e26,#4ad59e08);box-shadow:inset 2px 0 #4ad69e}.editor-row.diagnostic{background:linear-gradient(90deg,#e879701c,#0000);box-shadow:inset 2px 0 #e87970}.editor-line-number{color:#53615c;text-align:center;-webkit-user-select:none;user-select:none;font-size:9.5px}.editor-row code{color:#cbd7d2;font:inherit;white-space:pre}.syntax-keyword{color:#8eafff}.syntax-punctuation{color:#6edbb1}.editor-surface textarea{resize:none;caret-color:#f5fff9;color:#0000;-webkit-text-fill-color:transparent;scrollbar-color:#3d4a45 transparent;scrollbar-width:thin;tab-size:2;white-space:pre;background:0 0;border:0;outline:none;width:100%;height:100%;padding:12px 18px 24px 42px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:24px;position:absolute;inset:0;overflow:auto}.editor-surface textarea::selection{background:#698be34d}.editor-footer{color:#73817b;border-top:1px solid #2a3431;flex:none;justify-content:space-between;align-items:center;gap:10px;min-height:30px;padding:0 12px;font-family:SFMono-Regular,Consolas,monospace;font-size:8.5px;display:flex}.editor-footer span:last-child{color:#8a9892;text-overflow:ellipsis;white-space:nowrap;max-width:58%;overflow:hidden}.graph-pane{background:var(--canvas);flex-direction:column;min-width:0;min-height:0;display:flex}.graph-toolbar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffeb;flex:0 0 72px;grid-template-columns:1fr auto 1fr;align-items:center;min-height:72px;padding:0 18px;display:grid}.graph-toolbar>div:first-child{align-items:center;gap:10px;display:flex}.graph-title-icon{background:var(--green-soft);width:34px;height:34px;color:var(--green);border:1px solid #c6ead9;border-radius:9px;justify-content:center;align-items:center;display:inline-flex}.graph-stats{align-items:center;gap:14px;display:flex}.graph-stats span{color:var(--muted);font-size:10px}.graph-stats strong{color:var(--ink);font-family:SFMono-Regular,Consolas,monospace;font-size:11px}.graph-legend{justify-content:flex-end;align-items:center;gap:11px;display:flex}.graph-toolbar-actions{justify-content:flex-end;align-items:center;gap:13px;display:flex}.graph-legend span{color:var(--muted);align-items:center;gap:5px;font-size:9px;display:inline-flex}.graph-legend i{border-radius:99px;width:13px;height:2px}.graph-legend i.direct{background:var(--blue)}.graph-legend i.computed{background:var(--purple)}.graph-legend i.inherited{background:var(--green)}.expand-graph-button{border:1px solid var(--line-strong);color:#4f5c57;cursor:pointer;background:#fff;border-radius:8px;align-items:center;gap:6px;height:30px;padding:0 9px;font-size:9.5px;font-weight:660;transition:border-color .14s,background .14s,color .14s;display:inline-flex;box-shadow:0 1px 2px #141e1a0a}.expand-graph-button:hover{background:var(--soft);color:var(--ink);border-color:#aebbb5}.graph-canvas{background:radial-gradient(circle at 48% 18%, #30bb8414, transparent 34%), var(--canvas);flex:1;min-height:0;position:relative;overflow:hidden}.graph-canvas>.react-flow{width:100%}.graph-canvas.has-inspector>.react-flow{width:calc(100% - 334px)!important}.react-flow{background:0 0}.react-flow__pane{cursor:grab}.react-flow__pane:active{cursor:grabbing}.react-flow__node-fgaType{width:260px;box-shadow:none;cursor:default;background:0 0;border:0;border-radius:12px;transition:opacity .18s,filter .18s}.react-flow__node-fgaType.fga-node-dimmed{opacity:.13;filter:grayscale(.7)}.fga-type-node{border:1px solid var(--line-strong);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border-radius:12px;width:260px;transition:border-color .15s,box-shadow .15s;overflow:hidden;box-shadow:0 12px 36px #182a2214,inset 0 1px #fff}.react-flow__node-fgaType:hover .fga-type-node,.react-flow__node-fgaType.dragging .fga-type-node{border-color:#aebcb5;box-shadow:0 18px 48px #182a2221,inset 0 1px #fff}.react-flow__node-fgaType.dragging{z-index:12!important}.fga-type-node.principal{border-color:#b7ded0}.fga-type-header{border-bottom:1px solid var(--line);cursor:grab;-webkit-user-select:none;user-select:none;background:linear-gradient(110deg,#f9fbfa,#f2f7f4);align-items:center;gap:10px;height:58px;padding:0 13px;display:flex;position:relative}.fga-type-header:active{cursor:grabbing}.node-drag-mark{color:#a2ada8;opacity:0;flex:none;transition:opacity .12s,transform .12s;transform:translate(-3px)}.fga-type-header:hover .node-drag-mark,.react-flow__node-fgaType.dragging .node-drag-mark{opacity:1;transform:translate(0)}.fga-type-node.principal .fga-type-header{background:linear-gradient(110deg,#f0faf5,#e7f7ef);border-bottom:0}.fga-type-icon{color:#42524c;background:#e5ece8;border-radius:8px;flex:none;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.principal .fga-type-icon{color:var(--green);background:#fff}.fga-type-name{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.fga-type-header small{color:var(--subtle);letter-spacing:.09em;text-transform:uppercase;font-family:SFMono-Regular,Consolas,monospace;font-size:8px;font-weight:700}.fga-type-header strong{text-overflow:ellipsis;white-space:nowrap;font-family:SFMono-Regular,Consolas,monospace;font-size:13px;font-weight:680;overflow:hidden}.fga-type-header>code{color:var(--subtle);font-family:SFMono-Regular,Consolas,monospace;font-size:8px}.principal-badge{color:var(--green);letter-spacing:.03em;white-space:nowrap;background:#ffffffb8;border:1px solid #c6e8da;border-radius:999px;padding:3px 6px;font-size:7.5px;font-weight:720}.node-collapse{color:#7c8984;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;flex:none;justify-content:center;align-items:center;width:25px;height:25px;padding:0;display:inline-flex}.node-collapse:hover{border-color:var(--line);color:var(--ink);background:#fff}.fga-relation-list{padding:5px}.collapsed-summary{border:0;border-top:1px solid var(--line);width:100%;height:34px;color:var(--muted);cursor:pointer;background:#fbfcfb;justify-content:space-between;align-items:center;padding:0 13px 0 47px;font-family:SFMono-Regular,Consolas,monospace;font-size:9px;display:flex}.collapsed-summary span{color:var(--green);font-family:Inter,ui-sans-serif,sans-serif;font-size:8.5px;font-weight:700}.fga-relation-row{cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:7px;align-items:center;gap:9px;width:100%;height:40px;padding:0 8px;transition:all .12s;display:flex;position:relative}.fga-relation-row:hover{background:#f4f7f5}.fga-relation-row.selected{background:#f2f5ff;border-color:#a7b8ed;box-shadow:0 0 0 2px #4169e112}.relation-glyph{border-radius:6px;flex:none;justify-content:center;align-items:center;width:23px;height:23px;display:inline-flex}.permission .relation-glyph{background:var(--purple-soft);color:var(--purple)}.relation .relation-glyph{background:var(--blue-soft);color:var(--blue)}.relation-copy{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.relation-copy strong{text-overflow:ellipsis;white-space:nowrap;font-family:SFMono-Regular,Consolas,monospace;font-size:10.5px;font-weight:640;overflow:hidden}.relation-copy small{color:var(--subtle);text-transform:capitalize;font-size:8px}.wildcard-mark{color:#96701c;background:#fff5dc;border-radius:5px;justify-content:center;align-items:center;width:18px;height:18px;display:inline-flex}.react-flow__handle{opacity:0;background:#91a09a;border:1.5px solid #fff;width:7px;height:7px;transition:opacity .12s,background .12s}.fga-type-node:hover .react-flow__handle,.react-flow__node.selected .react-flow__handle{opacity:1}.fga-relation-row.permission .react-flow__handle{background:var(--purple)}.fga-relation-row.relation .react-flow__handle{background:var(--blue)}.react-flow__edge-path{filter:drop-shadow(0 1px #fffc)}.react-flow__edge.negative .react-flow__edge-path{stroke-dasharray:4 3}.react-flow__edge-text{paint-order:stroke;stroke:#f9fbfa;stroke-width:3px;stroke-linejoin:round;font-family:SFMono-Regular,Consolas,monospace}.graph-control-dock{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffe8;border:1px solid #bec9c4e0;border-radius:10px;align-items:center;gap:7px;min-height:40px;padding:5px;display:flex;box-shadow:0 8px 30px #15281f1a,inset 0 1px #fff}.graph-control-group{align-items:center;gap:2px;display:flex}.graph-control-group button{color:#56645e;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:5px;min-width:28px;height:28px;padding:0 7px;font-size:9px;font-weight:660;display:inline-flex}.graph-control-group button:hover:not(:disabled){color:var(--ink);background:#eef3f0}.graph-control-group button.active{background:var(--green-soft);color:var(--green)}.graph-control-group button:disabled{cursor:not-allowed;opacity:.32}.zoom-value{color:#75817c;text-align:center;width:38px;font-family:SFMono-Regular,Consolas,monospace;font-size:8.5px}.control-divider{background:var(--line);width:1px;height:22px}.drag-help{color:#85908c;white-space:nowrap;align-items:center;gap:5px;padding:0 5px 0 3px;font-size:8.5px;display:inline-flex}.react-flow__minimap{border:1px solid var(--line-strong);box-shadow:var(--shadow-sm);border-radius:9px;overflow:hidden;background:#ffffffe6!important}.react-flow__attribution{border-radius:4px 0 0;font-size:7px;background:#ffffffa6!important}.relation-inspector{z-index:20;border:1px solid var(--line-strong);width:320px;box-shadow:var(--shadow-lg);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff7;border-radius:14px;flex-direction:column;animation:.22s cubic-bezier(.2,.8,.2,1) both inspector-in;display:flex;position:absolute;top:14px;bottom:14px;right:14px}.relation-inspector>header{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;min-height:70px;padding:12px 14px;display:flex}.relation-inspector>header>div{flex-direction:column;gap:4px;min-width:0;display:flex}.relation-inspector>header span,.inspector-section>span{color:var(--subtle);letter-spacing:.1em;text-transform:uppercase;font-size:8.5px;font-weight:760}.relation-inspector>header strong{text-overflow:ellipsis;white-space:nowrap;font-family:SFMono-Regular,Consolas,monospace;font-size:12px;overflow:hidden}.relation-inspector>header button{border:1px solid var(--line);background:var(--paper);width:28px;height:28px;color:var(--muted);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;display:inline-flex}.relation-inspector-body{min-height:0;padding:16px;overflow-y:auto}.relation-kind{text-transform:capitalize;border-radius:6px;align-items:center;gap:5px;padding:5px 7px;font-size:9px;font-weight:680;display:inline-flex}.relation-kind.permission{background:var(--purple-soft);color:var(--purple)}.relation-kind.relation{background:var(--blue-soft);color:var(--blue)}.inspector-expression{background:var(--code);color:#dfe7e4;border:1px solid #303a36;border-radius:9px;margin-top:14px;overflow:hidden}.inspector-expression>div{color:#81908a;letter-spacing:.08em;border-bottom:1px solid #303a36;justify-content:space-between;align-items:center;height:34px;padding:0 10px;font-size:8.5px;font-weight:720;display:flex}.inspector-expression button{color:#aebbb6;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;font-size:9px;display:inline-flex}.inspector-expression>code{overflow-wrap:anywhere;padding:12px;font-family:SFMono-Regular,Consolas,monospace;font-size:10px;line-height:1.6;display:block}.inspector-expression em{color:#8eafff;font-style:normal}.inspector-section{border-top:1px solid var(--line);margin-top:16px;padding-top:14px}.subject-chips{flex-wrap:wrap;gap:6px;margin-top:9px;display:flex}.subject-chips code{border:1px solid var(--line);color:#44534d;background:#f7f9f8;border-radius:5px;padding:5px 6px;font-family:SFMono-Regular,Consolas,monospace;font-size:9px}.expression-tree{margin-top:10px}.expression-group{border:1px solid var(--line);background:#fbfcfb;border-radius:9px;padding:8px}.expression-group+.expression-group,.expression-leaf+.expression-group,.expression-group+.expression-leaf,.expression-leaf+.expression-leaf{margin-top:6px}.expression-group-label{justify-content:space-between;align-items:center;margin-bottom:7px;display:flex}.expression-group-label span,.expression-scope>span{color:#66736d;letter-spacing:.08em;text-transform:uppercase;font-size:8px;font-weight:730}.expression-group-label code{background:var(--purple-soft);color:var(--purple);border-radius:4px;padding:3px 5px;font-family:SFMono-Regular,Consolas,monospace;font-size:8px;font-weight:760}.expression-group.intersection>.expression-group-label code{color:var(--green);background:#e8f6f0}.expression-group.difference>.expression-group-label code{background:var(--red-soft);color:var(--red)}.expression-children{border-left:1px solid #d8e0dc;padding-left:7px}.expression-scope{border-radius:7px;padding:6px}.expression-scope+.expression-scope{margin-top:6px}.expression-scope.include{background:#f3f8f5}.expression-scope.exclude{background:#fff5f4}.expression-scope.exclude>span{color:var(--red)}.expression-scope>.expression-group,.expression-scope>.expression-leaf{margin-top:5px}.expression-leaf{background:#fff;border:1px solid #e7ebe9;border-radius:7px;grid-template-columns:6px minmax(0,1fr) auto;align-items:center;gap:7px;min-height:36px;padding:6px 7px;display:grid}.expression-leaf>i{border-radius:50%;width:5px;height:5px}.expression-leaf.direct>i{background:var(--blue)}.expression-leaf.computed>i{background:var(--purple)}.expression-leaf.inherited>i{background:var(--green)}.expression-leaf>div{flex-direction:column;gap:3px;min-width:0;display:flex}.expression-leaf code{color:#33423c;text-overflow:ellipsis;white-space:nowrap;font-family:SFMono-Regular,Consolas,monospace;font-size:9px;overflow:hidden}.expression-leaf>span{color:var(--subtle);white-space:nowrap;font-size:8px}.dependency-list{flex-direction:column;gap:5px;margin-top:9px;display:flex}.dependency-row{background:#f6f8f7;border-radius:6px;grid-template-columns:6px 1fr auto;align-items:center;gap:7px;min-height:34px;padding:5px 7px;display:grid}.dependency-row i{border-radius:50%;width:5px;height:5px}.dependency-row.direct i{background:var(--blue)}.dependency-row.computed i{background:var(--purple)}.dependency-row.inherited i{background:var(--green)}.dependency-row.negative i{background:var(--red)}.dependency-row code{text-overflow:ellipsis;white-space:nowrap;font-family:SFMono-Regular,Consolas,monospace;font-size:9px;overflow:hidden}.dependency-row span{color:var(--muted);font-size:8.5px}.inspector-section p{color:var(--muted);margin:8px 0 0;font-size:10px;line-height:1.5}.model-error-toast{z-index:15;max-width:min(520px,100% - 32px);color:var(--red);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fff7f6f5;border:1px solid #efc8c3;border-radius:9px;align-items:flex-start;gap:10px;padding:10px 12px;display:flex;position:absolute;top:14px;left:50%;transform:translate(-50%);box-shadow:0 10px 34px #61221e1a}.model-error-toast>div{flex-direction:column;gap:3px;display:flex}.model-error-toast strong{color:#8e312f;font-size:10px}.model-error-toast span{color:#a65753;font-family:SFMono-Regular,Consolas,monospace;font-size:8.5px}@keyframes inspector-in{0%{opacity:0;transform:translate(10px)scale(.985)}to{opacity:1;transform:translate(0)scale(1)}}@media (max-width:1120px){.studio-workspace{grid-template-columns:360px minmax(600px,1fr)}.graph-legend{display:none}.graph-toolbar{grid-template-columns:1fr auto}.drag-help{display:none}}@media (max-width:820px){.studio-shell{height:auto;min-height:100vh;overflow:auto}.studio-header{grid-template-columns:1fr auto;position:sticky;top:0}.document-path,.parser-status{display:none}.studio-workspace{display:block;overflow:visible}.model-pane{border-right:0;height:430px}.graph-pane{height:680px}.graph-canvas.has-inspector>.react-flow{width:100%!important}.relation-inspector{width:min(320px,100% - 20px);top:10px;bottom:10px;right:10px}.graph-control-dock{max-width:calc(100vw - 30px)}.graph-control-group.labeled button span,.expand-graph-button span{display:none}.sample-picker-trigger{min-width:118px}.sample-picker-menu{width:min(310px,100vw - 28px);right:-35px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
