@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=block";@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=block";.react-flow{direction:ltr}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;-webkit-animation:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.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:-webkit-grab;cursor:grab}.react-flow__node.dragging{cursor:-webkit-grabbing;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:-webkit-grab;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.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.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:#ffffff80;padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@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}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform: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:#3367d9;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%}.userflow-workspace{--bg: #090b10;--panel: #11151d;--panel-2: #171c26;--panel-3: #202733;--border: #2b3545;--text: #f7f8fb;--muted: #9aa7b8;--subtle: #657286;--accent: #2dd4bf;--accent-2: #60a5fa;--danger: #fb7185;--success: #34d399;--warning: #fbbf24;--font: "Inter", system-ui, sans-serif;--mono: "JetBrains Mono", Consolas, monospace}.userflow-workspace,.userflow-workspace *{box-sizing:border-box}.userflow-workspace{width:100%;height:100%;margin:0;overflow:hidden;color:var(--text);font-family:var(--font)}.userflow-workspace button,.userflow-workspace input,.userflow-workspace textarea,.userflow-workspace select{font:inherit}.userflow-workspace button{border:1px solid var(--border);border-radius:8px;background:linear-gradient(180deg,#263142,#1d2532);color:var(--text);cursor:pointer}.userflow-workspace button:hover{border-color:#3b4b61;background:linear-gradient(180deg,#2c394d,#222c3b)}.app-shell{height:100%;display:grid;grid-template-columns:minmax(360px,31vw) minmax(0,1fr) 300px;background:linear-gradient(180deg,#111722,#080a0f 68%)}.json-panel,.inspector{min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--border);background:linear-gradient(180deg,#111722,#0c1018)}.inspector{border-right:0;border-left:1px solid var(--border);padding-bottom:14px}.panel-header,.stage-header{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border)}.panel-header.compact{min-height:64px}.panel-kicker{display:block;color:var(--accent);font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.userflow-workspace h1,.userflow-workspace h2{margin:3px 0 0;font-size:1rem;line-height:1.2}.panel-actions,.canvas-toolbar{display:flex;align-items:center;gap:8px}.panel-actions button,.canvas-toolbar button,.toolbar-file{height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;font-size:.78rem;font-weight:750;white-space:nowrap}.toolbar-file{border:1px solid var(--border);border-radius:8px;background:linear-gradient(180deg,#263142,#1d2532);color:var(--text);cursor:pointer}.toolbar-file input,.file-upload input{display:none}.json-panel textarea{flex:1;min-height:0;width:100%;padding:16px;border:0;outline:0;resize:none;background:#0b0f16;color:#d9f99d;font-family:var(--mono);font-size:.82rem;line-height:1.55}.json-error{display:flex;align-items:center;gap:8px;padding:10px 14px;border-top:1px solid rgba(251,113,133,.4);background:#7f1d1d7a;color:#fecdd3;font-size:.82rem}.diagram-stage{min-width:0;min-height:0;display:flex;flex-direction:column}.stage-header{background:#0f172ac7}.flow-host{position:relative;flex:1;min-height:0}.design-tools-toggle{position:absolute;top:12px;right:12px;z-index:8;height:34px;padding:0 12px;font-size:.78rem;font-weight:850}.design-tools-panel{position:absolute;top:54px;right:12px;z-index:8;width:236px;max-height:min(660px,calc(100% - 74px));display:grid;gap:4px;overflow:auto;padding:8px;border:1px solid rgba(96,165,250,.3);border-radius:8px;background:#0f172af5;box-shadow:0 18px 48px #0000006b}.design-tools-panel button{height:30px;justify-content:flex-start;border:0;background:transparent;font-size:.75rem;font-weight:760;text-align:left}.design-tools-panel button:hover{background:#60a5fa29}.userflow-workspace .react-flow{background:radial-gradient(circle at top left,rgba(45,212,191,.1),transparent 32%),linear-gradient(180deg,#0d1320,#090b10)}.userflow-workspace .react-flow__pane{cursor:grab}.userflow-workspace .react-flow__pane.dragging{cursor:grabbing}.userflow-workspace .react-flow__edge-path{stroke:#8fb3d9;stroke-width:2}.userflow-workspace .react-flow__edge{pointer-events:visibleStroke}.userflow-workspace .react-flow__edge-interaction{pointer-events:stroke;stroke-width:36}.userflow-workspace .react-flow__edge marker path{fill:#8fb3d9;stroke:#8fb3d9}.userflow-workspace .react-flow__edge-textbg{fill:#0f172a;fill-opacity:.92}.userflow-workspace .react-flow__edge-text{fill:#dbeafe;font-weight:700}.userflow-workspace .react-flow__minimap{border:1px solid rgba(147,197,253,.46);border-radius:8px;background:linear-gradient(180deg,#0f172af5,#182130f0);box-shadow:0 12px 34px #0000005c,inset 0 1px #ffffff0f;overflow:hidden}.userflow-workspace .react-flow__minimap-node{paint-order:stroke}.userflow-workspace .react-flow__node-groupBoundary{pointer-events:none}.minimap-type-legend{position:absolute;right:12px;bottom:170px;z-index:6;max-width:200px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px;pointer-events:auto}.minimap-type-legend.collapsed{max-width:none}.minimap-type-legend button{height:24px;padding:0 8px;border-radius:999px;font-size:.62rem;font-weight:850}.minimap-type-legend span{max-width:94px;display:inline-flex;align-items:center;gap:5px;padding:4px 6px;border:1px solid rgba(148,163,184,.24);border-radius:999px;background:#0f172adb;color:#dbeafe;font-size:.62rem;font-weight:800;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.minimap-type-legend i{width:8px;height:8px;flex:0 0 auto;border-radius:2px}.system-node{position:relative;min-width:160px;min-height:84px;display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:10px;padding:13px;border:1px solid rgba(96,165,250,.48);border-radius:8px;background:linear-gradient(180deg,#1e293bf5,#0f172afa);box-shadow:0 16px 38px #00000052,inset 0 1px #ffffff0d;cursor:move;contain:layout paint;backface-visibility:hidden}.group-boundary-node{position:relative;border:1.5px dashed rgba(45,212,191,.38);border-radius:10px;box-shadow:inset 0 0 0 1px #ffffff08;pointer-events:none}.group-boundary-node.back-layer{opacity:.72}.group-boundary-node.raised{border-width:2px;border-style:solid;box-shadow:inset 0 0 0 1px #ffffff14,0 14px 34px #00000047,0 0 0 1px #93c5fd38}.group-boundary-node.selected{border-style:solid;box-shadow:inset 0 0 0 1px #ffffff0f,0 0 0 2px #60a5fa47}.group-boundary-title{position:absolute;top:10px;left:12px;max-width:calc(100% - 24px);padding:4px 8px;border-radius:6px;background:#090b10d1;color:#d9fbff;font-size:.72rem;font-weight:850;overflow:hidden;text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis;letter-spacing:.04em;cursor:move;pointer-events:auto}.group-layer-badge{position:absolute;right:10px;bottom:10px;min-width:30px;height:22px;display:inline-flex;align-items:center;justify-content:center;padding:0 7px;border:1px solid rgba(191,219,254,.46);border-radius:999px;background:#0f172ae0;color:#bfdbfe;font-size:.66rem;font-weight:900;pointer-events:none}.group-boundary-node.back-layer .group-layer-badge{opacity:.62}.group-boundary-node.raised .group-layer-badge{background:#2563ebeb;color:#eff6ff}.group-boundary-node .react-flow__resize-control{pointer-events:auto}.system-node.selected{border-color:var(--accent);box-shadow:0 0 0 2px #2dd4bf47,0 18px 42px #0000005c}.system-node-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#ffffff0f;color:#bfdbfe}.system-node-icon img{max-width:30px;max-height:30px;object-fit:contain}.system-node-copy{min-width:0;max-width:100%;overflow:hidden}.system-node-label{display:block;max-width:100%;overflow:hidden;color:var(--text);font-size:.94rem;font-weight:800;white-space:nowrap;text-overflow:ellipsis}.system-node-type{display:block;max-width:100%;margin-top:4px;overflow:hidden;color:var(--muted);font-size:.72rem;font-weight:700;text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis}.system-node-tags{grid-column:1 / -1;display:flex;gap:5px;overflow:hidden}.system-node-tags span{min-width:0;padding:3px 7px;border-radius:999px;background:#2dd4bf1f;color:#99f6e4;font-size:.64rem;font-weight:800;white-space:nowrap}.missing-icon{position:absolute;top:8px;right:8px;color:var(--warning)}.system-handle{width:10px;height:10px;border:2px solid #0f172a;background:var(--accent)}.node-resize-line{border-color:var(--accent)!important}.node-resize-handle{width:8px!important;height:8px!important;border:1px solid #042f2e!important;background:var(--accent)!important}.group-resize-line{border-color:var(--accent-2)!important}.group-resize-handle{width:10px!important;height:10px!important;border:1px solid #172554!important;background:var(--accent-2)!important}.inspector{gap:12px}.inspector label{display:flex;flex-direction:column;gap:6px;padding:0 14px}.inspector label span{color:var(--muted);font-size:.72rem;font-weight:800;text-transform:uppercase}.inspector input,.inspector textarea,.inspector select{width:100%;border:1px solid var(--border);border-radius:8px;background:#0b0f16;color:var(--text);outline:0}.inspector input,.inspector select{height:34px;padding:0 10px}.inspector textarea{min-height:86px;padding:9px 10px;resize:vertical}.file-upload{min-height:40px;justify-content:center;border:1px dashed var(--border);border-radius:8px;margin:0 14px;padding:10px!important;cursor:pointer}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 14px}.field-grid label{padding:0}.inspector-checklist{display:grid;gap:7px;padding:0 14px}.inspector-checklist>span{color:var(--muted);font-size:.72rem;font-weight:800;text-transform:uppercase}.inspector-checklist label{min-height:28px;flex-direction:row;align-items:center;gap:8px;padding:0;color:var(--text);font-size:.82rem}.inspector-checklist input{width:15px;height:15px;padding:0}.danger-icon{width:34px;height:34px;padding:0;color:var(--danger)}.inspector-wide-action{height:36px;margin:0 14px;font-size:.78rem;font-weight:800}.userflow-context-menu{position:fixed;z-index:80;min-width:214px;max-height:min(680px,calc(100vh - 28px));overflow:auto;display:grid;gap:4px;padding:6px;border:1px solid var(--border);border-radius:8px;background:#0f172af5;box-shadow:0 18px 42px #0000006b}.userflow-context-menu button{width:100%;height:32px;justify-content:flex-start;border:0;background:transparent;color:var(--text);font-size:.78rem;font-weight:750;text-align:left}.userflow-context-menu button:hover{background:#60a5fa29}.userflow-context-menu button.danger{color:var(--danger)}.context-menu-label{padding:7px 8px 3px;color:var(--muted);font-size:.62rem;font-weight:850;text-transform:uppercase}.context-swatch-row{display:grid;grid-template-columns:repeat(8,20px);gap:5px;padding:4px 8px 6px}.context-swatch-row button{width:20px;height:20px;min-width:0;padding:0;border:1px solid rgba(255,255,255,.48);border-radius:5px}.inline-field{min-height:32px;flex-direction:row!important;align-items:center}.inline-field input{width:15px;height:15px;padding:0}.muted{margin:0;padding:0 14px;color:var(--muted);font-size:.86rem;line-height:1.5}.embed-toggle{height:34px;display:inline-flex;align-items:center;gap:7px;padding:0 8px;color:var(--muted);font-size:.76rem;font-weight:750;white-space:nowrap}.userflow-workspace .toast{position:fixed;left:50%;bottom:20px;z-index:50;display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;color:#fff;font-size:.84rem;font-weight:800;transform:translate(-50%);box-shadow:0 12px 34px #0000006b}.userflow-workspace .toast.success{background:#059669}.userflow-workspace .toast.error{background:#be123c}@media (max-width: 1100px){.app-shell{grid-template-columns:minmax(300px,40vw) minmax(0,1fr)}.inspector{display:none}}@media (max-width: 760px){.app-shell{grid-template-columns:1fr;grid-template-rows:42vh 58vh}.diagram-stage{min-height:0}.canvas-toolbar{overflow-x:auto;max-width:100%}}:root{--bg-app: #0b0c10;--bg-shell: #111217;--bg-panel: #15171d;--bg-panel-elevated: #1d2028;--bg-control: #222631;--bg-control-hover: #2a2f3b;--border-color: #2b303b;--border-strong: #3a414f;--text-primary: #f4f4f5;--text-secondary: #a1a1aa;--text-muted: #71717a;--accent-primary: #2dd4bf;--accent-hover: #14b8a6;--accent-contrast: #042f2e;--accent-secondary: #f59e0b;--accent-soft: rgba(45, 212, 191, .13);--danger: #f87171;--success: #34d399;--warning: #facc15;--json-key: #67e8f9;--json-string: #86efac;--json-number: #fca5a5;--json-boolean: #c4b5fd;--font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono: "JetBrains Mono", "Fira Code", Consolas, monospace}html,body,#root{width:100vw;height:100vh;height:100dvh;margin:0;overflow:hidden;background:linear-gradient(180deg,#111218,#090a0e 58%,#07080b);color:var(--text-primary);font-family:var(--font-sans);box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}button,input,textarea{font:inherit}button{color:inherit}.layout{width:100%;height:100%;min-height:0;display:grid;grid-template-rows:60px minmax(0,1fr);background:linear-gradient(180deg,#101116 0%,var(--bg-app) 42%);position:relative}.layout-header{display:grid;grid-template-columns:minmax(420px,auto) minmax(0,1fr);align-items:center;gap:16px;padding:0 18px;background:linear-gradient(180deg,#16181ffa,#0f1015fa);border-bottom:1px solid var(--border-color);box-shadow:0 14px 34px #00000038;z-index:30}.brand-nav{min-width:0;display:flex;align-items:center;gap:14px}.logo{min-width:0;display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:1.05rem;color:var(--text-primary)}.logo-img{width:30px;height:30px;object-fit:contain;filter:drop-shadow(0 0 10px rgba(45,212,191,.22))}.logo-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.workspace-tabs{min-width:0;display:inline-flex;align-items:center;gap:4px;padding:3px;border:1px solid var(--border-color);border-radius:8px;background:#00000029}.workspace-tab{height:30px;padding:0 10px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--text-secondary);font-size:.76rem;font-weight:800;white-space:nowrap;cursor:pointer}.workspace-tab:hover{background:var(--bg-control);color:var(--text-primary)}.workspace-tab.active{border-color:#2dd4bf59;background:#2dd4bf24;color:#ccfbf1}.header-content{min-width:0;display:flex;justify-content:flex-end}.header-controls{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:12px}.userflow-shell-title{min-width:0;color:var(--text-secondary);font-size:.84rem;font-weight:750;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.root-key-badge{min-width:156px;height:38px;display:inline-flex;align-items:center;gap:8px;padding:0 11px;background:linear-gradient(180deg,#1a1d25 0%,var(--bg-panel) 100%);border:1px solid var(--border-color);border-radius:8px;box-shadow:inset 0 1px #ffffff0a}.root-key-badge span{color:var(--text-muted);font-size:.72rem;font-weight:800;text-transform:uppercase}.root-key-badge input{min-width:0;width:78px;border:0;outline:0;background:transparent;color:var(--text-primary);font-size:.86rem;font-weight:650}.toolbar{min-width:0;display:flex;align-items:center;gap:8px}.btn{height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;border:1px solid var(--border-color);border-radius:8px;background:linear-gradient(180deg,#272c37 0%,var(--bg-control) 100%);color:var(--text-secondary);font-size:.82rem;font-weight:700;cursor:pointer;box-shadow:inset 0 1px #ffffff0a,0 1px #0000004d;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease}.btn:hover{background:linear-gradient(180deg,#303644 0%,var(--bg-control-hover) 100%);color:var(--text-primary);border-color:var(--border-strong);transform:translateY(-1px)}.btn:active{transform:translateY(0)}.btn-primary{background:linear-gradient(180deg,#5eead4 0%,var(--accent-primary) 100%);border-color:var(--accent-primary);color:var(--accent-contrast)}.btn-primary:hover{background:linear-gradient(180deg,#2dd4bf 0%,var(--accent-hover) 100%);border-color:var(--accent-hover);color:var(--accent-contrast)}.btn-danger{background:#f8717114;border-color:#f8717138;color:var(--danger)}.btn-danger:hover{background:#f8717129;border-color:#f8717159}.layout-body{min-height:0;display:grid;grid-template-columns:220px minmax(0,1fr);background:var(--bg-app)}.layout-body-full{grid-template-columns:minmax(0,1fr)}.layout-nav{min-height:0;padding:14px 12px;background:linear-gradient(180deg,#11131a,#0d0e13);border-right:1px solid var(--border-color);box-shadow:inset -1px 0 #ffffff05}.view-switcher{display:flex;flex-direction:column;gap:6px}.view-btn{width:100%;min-height:42px;display:flex;align-items:center;gap:10px;padding:0 11px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--text-secondary);font-size:.86rem;font-weight:750;text-align:left;cursor:pointer;position:relative;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease}.view-btn:hover{background:#ffffff0a;color:var(--text-primary);transform:translate(2px)}.view-btn.active{background:linear-gradient(90deg,#2dd4bf2b,#2dd4bf14);border-color:#2dd4bf59;color:#ccfbf1}.view-btn.active:before{content:"";width:3px;height:22px;border-radius:999px;background:var(--accent-primary);position:absolute;left:6px}.view-btn svg{flex:0 0 auto;color:currentColor}.view-short-label{display:none}.layout-main{min-width:0;min-height:0;overflow:hidden;background:linear-gradient(180deg,#0c0d12 0%,var(--bg-app) 100%)}.app-version{position:absolute;left:12px;bottom:10px;z-index:35;color:var(--text-muted);font-size:.68rem;font-weight:700;letter-spacing:0;pointer-events:none}.app-container{width:100%;height:100%;min-height:0}.mobile-pane-switcher{display:none}.split-pane-region{min-width:0;min-height:0;height:100%;overflow:hidden;background:var(--bg-app)}.resizer{background:var(--border-color)}.resizer:hover{background:var(--accent-primary)!important}.pane{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#0d0f14}.pane-header{flex:0 0 42px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px;background:linear-gradient(180deg,#191c24 0%,var(--bg-panel) 100%);border-bottom:1px solid var(--border-color);color:var(--text-secondary);font-size:.74rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.pane-title{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tab-group{min-width:0;display:flex;align-items:center;gap:4px}.tab-btn{height:30px;padding:0 10px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--text-secondary);font-size:.75rem;font-weight:800;cursor:pointer}.tab-btn:hover{background:var(--bg-control);color:var(--text-primary)}.tab-btn.active{background:linear-gradient(180deg,#2dd4bf33,#2dd4bf1c);border-color:#2dd4bf59;color:#ccfbf1}.editor-container,.viewer-container,.graph-wrapper,.diff-container{flex:1;min-height:0;width:100%;overflow:hidden;position:relative;background:#0d0f14}.editor-wrapper{flex:1;min-height:0;display:flex;position:relative;overflow:hidden}.original-editor{border-bottom:1px solid var(--border-color)}.error-badge{max-width:45%;padding:4px 8px;border-radius:999px;background:#f871711f;color:var(--danger);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.error-message{position:absolute;left:12px;right:12px;bottom:12px;max-height:96px;overflow:auto;padding:9px 11px;border:1px solid rgba(248,113,113,.3);border-radius:8px;background:#450a0aeb;color:#fecaca;font-size:.78rem;z-index:4}.empty-state,.error-display{display:flex;align-items:center;justify-content:center;color:var(--text-muted);text-align:center;background:linear-gradient(180deg,#0f1117,#0b0c10)}.error-display{flex-direction:column;gap:6px;padding:24px}.error-display h3,.error-display p{margin:0}.custom-node{min-width:240px;overflow:hidden;border:1px solid rgba(45,212,191,.55);border-radius:8px;background:linear-gradient(180deg,#232733 0%,var(--bg-panel-elevated) 100%);color:var(--text-primary);box-shadow:0 12px 32px #00000057,inset 0 1px #ffffff0a;font-family:var(--font-mono);font-size:12px}.custom-node.selected,.custom-node.flashed{border-color:var(--danger);box-shadow:0 0 0 2px #f8717159,0 10px 28px #00000047}.node-header{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 11px;background:linear-gradient(90deg,#2dd4bf21,#f59e0b14);border-bottom:1px solid rgba(45,212,191,.18);font-weight:700}.node-title{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.node-content{padding:8px 11px}.node-row{min-height:24px;display:flex;align-items:center;gap:8px;padding:2px 0;position:relative}.node-key{flex:0 0 auto;color:var(--json-key)}.node-value{min-width:0;max-width:150px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--json-string)}.node-value.type-number{color:var(--json-number)}.node-value.type-boolean{color:var(--json-boolean)}.node-row.empty{color:var(--text-muted)}.node-badge,.diff-badge{flex:0 0 auto;padding:2px 6px;border-radius:999px;background:var(--bg-control);color:var(--text-secondary);font-size:.65rem;font-weight:800}.watermark{position:absolute;right:18px;bottom:18px;z-index:10;display:flex;align-items:center;gap:8px;opacity:.42;pointer-events:none}.watermark img{width:auto!important;height:22px!important}.watermark span{color:var(--text-secondary);font-size:.86rem;font-weight:800}.custom-node.diff-added{border-color:var(--success);background:#10b98114}.custom-node.diff-removed{border-color:var(--danger);background:#f8717114;opacity:.76}.custom-node.diff-modified{border-color:var(--warning);background:#facc1514}.badge-added{background:#34d39929;color:var(--success)}.badge-removed{background:#f8717129;color:var(--danger);text-decoration:line-through}.badge-modified{background:#facc1529;color:var(--warning)}.header-added{background:#34d3991a;border-bottom-color:#34d39940}.header-removed{background:#f871711a;border-bottom-color:#f8717140}.header-modified{background:#facc151a;border-bottom-color:#facc1540}.row-added{background:#34d3991a;color:var(--success)!important}.row-removed{background:#f871711a;color:var(--danger)!important;text-decoration:line-through;opacity:.7}.row-modified{background:#facc151a}.row-added .node-key,.row-added .node-value,.row-removed .node-key,.row-removed .node-value{color:inherit}.row-modified .node-value{color:var(--warning)!important;font-weight:700}.split-graph-container{background:var(--bg-app)!important}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:18px;background:#00000094;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.download-dialog{width:min(440px,100%);border:1px solid var(--border-strong);border-radius:8px;background:linear-gradient(180deg,#191c24,#111217);box-shadow:0 24px 80px #0000007a;overflow:hidden}.download-dialog-header{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 14px 0 16px;border-bottom:1px solid var(--border-color);color:var(--text-primary);font-size:.92rem;font-weight:800}.dialog-close-btn{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--text-muted);cursor:pointer}.dialog-close-btn:hover{background:var(--bg-control);color:var(--text-primary)}.download-dialog-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px}.download-option-btn{min-width:0;min-height:76px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border-color);border-radius:8px;background:linear-gradient(180deg,#222631,#171a22);color:var(--text-secondary);font-size:.84rem;font-weight:800;cursor:pointer}.download-option-btn:hover{border-color:var(--border-strong);color:var(--text-primary);background:linear-gradient(180deg,#2a2f3b,#1d2028)}.download-option-btn.primary{border-color:#2dd4bf73;background:linear-gradient(180deg,#2dd4bf38,#2dd4bf17);color:#ccfbf1}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid rgba(45,212,191,.8);outline-offset:2px}.react-flow__background{opacity:.42}.react-flow__attribution{display:none!important}@media (max-width: 900px){.layout{grid-template-rows:auto minmax(0,1fr)}.layout-header{grid-template-columns:1fr;gap:10px;padding:10px}.logo{justify-content:center}.brand-nav{justify-content:center;flex-wrap:wrap}.header-content{justify-content:stretch}.header-controls{width:100%;display:grid;grid-template-columns:minmax(104px,auto) minmax(0,1fr);gap:8px}.root-key-badge{min-width:0;width:100%}.toolbar{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}.toolbar::-webkit-scrollbar{display:none}}@media (max-width: 768px){html,body,#root{width:100vw;max-width:100vw;height:100dvh;overflow:hidden}.layout{width:100vw;max-width:100vw;overflow:hidden}.layout-header{width:100vw;max-width:100vw;padding:8px;gap:8px;overflow:hidden}.logo{gap:8px;font-size:1rem}.brand-nav{width:calc(100vw - 16px);max-width:calc(100vw - 16px);gap:8px;overflow:hidden}.workspace-tabs{max-width:100%;overflow-x:auto;scrollbar-width:none}.workspace-tabs::-webkit-scrollbar{display:none}.workspace-tab{flex:0 0 auto;height:29px;padding:0 9px;font-size:.7rem}.logo-img{width:26px;height:26px}.header-controls{width:calc(100vw - 16px);max-width:calc(100vw - 16px);grid-template-columns:minmax(0,1fr);align-items:center;overflow:hidden}.root-key-badge{height:38px;padding:0 8px;border-radius:8px}.root-key-badge span{font-size:.65rem}.root-key-badge input{width:100%;font-size:.78rem}.toolbar{width:100%;min-width:0;display:grid;gap:6px;overflow:visible}.toolbar-json{grid-template-columns:repeat(6,minmax(0,1fr))}.toolbar-yaml,.toolbar-swagger{grid-template-columns:repeat(4,minmax(0,1fr))}.btn{width:100%;min-width:0;height:38px;padding:0;border-radius:8px}.btn span{display:none}.layout-body{width:100vw;max-width:100vw;min-height:0;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;overflow:hidden}.layout-body-full{grid-template-rows:minmax(0,1fr)}.layout-main{grid-row:1;width:100%;max-width:100vw}.layout-nav{width:100vw;max-width:100vw;grid-row:2;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--border-color);background:linear-gradient(180deg,#181b23fa,#0d0e13fa);box-shadow:0 -12px 28px #00000047}.view-switcher{display:flex;flex-direction:row;gap:6px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}.view-switcher::-webkit-scrollbar{display:none}.view-btn{flex:0 0 82px;width:82px;min-width:82px;max-width:82px;min-height:48px;justify-content:center;flex-direction:column;gap:3px;padding:4px;border-radius:9px;font-size:.68rem;text-align:center;transform:none}.view-btn:hover{transform:none}.view-btn.active:before{width:24px;height:3px;left:50%;top:4px;transform:translate(-50%)}.view-label{display:none}.view-short-label{display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-container{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto minmax(0,1fr)!important;width:100%;min-width:0;max-width:100vw;height:100%;min-height:0;overflow:hidden}.mobile-pane-switcher{width:100vw;max-width:100vw;display:flex;gap:6px;padding:7px 8px;overflow:hidden;background:linear-gradient(180deg,#151821 0%,var(--bg-shell) 100%);border-bottom:1px solid var(--border-color)}.mobile-pane-btn{flex:1 1 auto;min-width:0;min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--border-color);border-radius:8px;background:linear-gradient(180deg,#1b1f29 0%,var(--bg-panel) 100%);color:var(--text-secondary);font-size:.82rem;font-weight:800}.mobile-pane-btn.active{flex:1 1 0;max-width:290px;background:linear-gradient(180deg,#5eead4 0%,var(--accent-primary) 100%);border-color:var(--accent-primary);color:var(--accent-contrast)}.mobile-pane-btn:not(.active){flex:0 0 48px;width:48px}.mobile-pane-btn:not(.active) span{display:none}.split-pane-region{grid-column:1;grid-row:2;width:100%;max-width:100vw;height:100%;min-height:0;display:none}.split-pane-region[data-mobile-active=true]{display:block}.resizer{display:none!important}.pane-header{flex-basis:38px;min-height:38px;padding:0 8px;font-size:.69rem}.tab-group{overflow-x:auto;scrollbar-width:none}.tab-group::-webkit-scrollbar{display:none}.tab-btn{flex:0 0 auto;height:29px;padding:0 9px}.error-badge{max-width:40%}.editor-container,.viewer-container,.graph-wrapper,.diff-container{min-height:0}.error-message{left:8px;right:8px;bottom:8px;max-height:86px;font-size:.72rem}.custom-node{min-width:210px;max-width:250px;font-size:11px}.node-header,.node-content{padding:7px 9px}.node-value{max-width:122px}.watermark{right:12px;bottom:12px}.watermark span{display:none}.split-graph-container{flex-direction:column}.split-graph-container .split-pane{min-height:50%;border-right:0!important;border-bottom:1px solid var(--border-color)}.split-graph-divider{display:none!important}.dialog-backdrop{align-items:flex-end;padding:10px}.download-dialog{width:100%}.download-dialog-options{grid-template-columns:1fr;gap:8px}.download-option-btn{min-height:52px;flex-direction:row}}@media (max-width: 420px){.layout-header{padding:7px}.header-controls{grid-template-columns:minmax(0,1fr);gap:6px}.root-key-badge{padding:0 7px}.root-key-badge input{width:100%}.toolbar{gap:4px}.btn{width:100%;min-width:0;height:36px}.view-btn{flex-basis:78px;width:78px;min-width:78px;max-width:78px;min-height:46px;font-size:.64rem}.mobile-pane-switcher{padding:6px 7px}}
