:root{color:#1d2430;background:#f6f7f9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}.visually-hidden{width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);position:absolute;white-space:nowrap}button,input,select,textarea{font:inherit}.app-shell{min-height:100vh;display:grid;grid-template-rows:auto 1fr auto}.toolbar{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 20px;border-bottom:1px solid #d9dee7;background:#fff}.toolbar h1,.toolbar p{margin:0}.toolbar h1{font-size:20px;line-height:1.2}.eyebrow{color:#596579;font-size:12px;line-height:1.4;text-transform:uppercase}.toolbar button{min-width:88px;border:1px solid #bcc6d4;border-radius:6px;background:#fff;color:#1d2430;padding:8px 12px}.toolbar button:disabled{cursor:not-allowed;opacity:.55}.workspace{min-height:0;display:grid;grid-template-columns:minmax(260px,var(--editor-column, 30%)) 10px minmax(320px,1fr) var(--properties-column, minmax(240px, 28%))}.editor-pane,.properties-pane{min-width:0;padding:16px;background:#fff;border-right:1px solid #d9dee7}.properties-pane{border-right:0;border-left:1px solid #d9dee7}.pane-resizer{width:10px;min-width:10px;background:#eef1f5;border:0;border-right:1px solid #d9dee7;cursor:col-resize;touch-action:none;position:relative}.pane-resizer:after{content:"";position:absolute;top:50%;left:50%;width:2px;height:42px;border-radius:999px;background:#9aa7b8;transform:translate(-50%,-50%)}.pane-resizer:hover,.pane-resizer:focus-visible{background:#e4e9f0;outline:none}.pane-resizer:focus-visible:after{background:#315fbd}.pane-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.pane-header h2{margin:0;font-size:14px}.pane-header span{color:#596579;font-size:12px}.icon-button{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #bcc6d4;border-radius:6px;background:#fff;color:#465368;padding:0}.icon-button:hover,.icon-button:focus-visible{border-color:#8fa0b6;color:#1d2430;outline:none}textarea,pre{width:100%;overflow:auto;margin:0;padding:14px;border:1px solid #d9dee7;border-radius:6px;background:#111827;color:#e8eef9;font-size:13px;line-height:1.55}textarea{min-height:calc(100vh - 140px);display:block;resize:vertical}pre{max-height:340px;white-space:pre-wrap}.canvas-pane{min-width:0;overflow:auto;display:block;padding:44px;background:radial-gradient(circle at 50% 40%,rgba(154,132,222,.1),transparent 46%),#f8f9fb}.diagram-stage{position:relative;margin:0 auto;min-width:max-content;border:0;border-radius:10px;background:transparent}.diagram-edges{position:absolute;inset:0;z-index:2;overflow:visible;pointer-events:none}.diagram-edge path{fill:none;stroke:var(--edge-color, #5c41c3);stroke-width:2.4;stroke-linejoin:round}.diagram-edge marker path{fill:var(--edge-color, #45556d)}.diagram-edge.dashed path{stroke-dasharray:8 7}.diagram-edge.dotted path{stroke-dasharray:2 7;stroke-linecap:round}.diagram-edge text{paint-order:stroke;stroke:#f8f9fbeb;stroke-width:6px;fill:var(--edge-color, #26156f);font-size:12px;font-weight:700}.diagram-group{position:absolute;z-index:1;border:2px solid var(--group-border-color, #9d86d8);border-radius:10px;background:var(--group-background, rgba(250, 247, 255, .7));box-shadow:inset 0 0 48px var(--group-glow, rgba(124, 58, 237, .04))}.diagram-group-title{position:absolute;top:18px;left:20px;right:20px;height:24px;display:flex;align-items:center;justify-content:center;color:var(--group-title-color, #2a1b73);font-size:16px;font-weight:700;line-height:1.2}.diagram-group.solid{border-style:solid}.diagram-group.dashed{border-style:dashed}.diagram-group.dotted{border-style:dotted}.diagram-group.none{border-color:transparent;background:transparent;box-shadow:none}.diagram-group.none>.diagram-group-title{display:none}.diagram-node{position:absolute;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:2px solid #2563eb;border-radius:8px;background:#eff6ffd1;color:#153d8a;padding:14px 12px;text-align:center;font-weight:700;line-height:1.2;box-shadow:0 10px 22px #1f29370a,inset 0 0 28px #ffffff8c}.diagram-node.green{border-color:#168247;background:#edfdf4d6;color:#064e2c}.diagram-node.gray{border-color:#7c8aa0;background:#eef1f5;color:#2f3a4a}.diagram-node.blue{border-color:#1464d9;background:#eff6ffd6;color:#123b82}.diagram-node.cyan{border-color:#0891b2;background:#cffafe;color:#164e63}.diagram-node.purple{border-color:#6f48c9;background:#faf7ffd6;color:#2b1a73}.diagram-node.yellow{border-color:#ca8a04;background:#fef9c3;color:#713f12}.diagram-node.red{border-color:#dc2626;background:#fee2e2;color:#7f1d1d}.diagram-node.orange{border-color:#ea580c;background:#ffedd5;color:#7c2d12}.diagram-node.rectangle,.diagram-node.rounded{border-radius:8px}.diagram-node.circle{border-radius:999px}.diagram-node.cylinder{border-radius:999px/30%}.node-icon{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;color:currentColor}.node-icon-fallback{border:1px solid currentColor;border-radius:999px;font-size:11px;line-height:1}.node-label{max-width:100%;overflow-wrap:anywhere}.diagram-group.color-gray{--group-border-color: #7c8aa0;--group-background: rgba(238, 241, 245, .86)}.diagram-group.color-blue{--group-border-color: #1464d9;--group-background: rgba(239, 246, 255, .72);--group-title-color: #123b82;--group-glow: rgba(37, 99, 235, .05)}.diagram-group.color-green{--group-border-color: #168247;--group-background: rgba(240, 253, 244, .72);--group-title-color: #07542f;--group-glow: rgba(34, 197, 94, .05)}.diagram-group.color-cyan{--group-border-color: #0891b2;--group-background: rgba(207, 250, 254, .74)}.diagram-group.color-purple{--group-border-color: #9a7bd6;--group-background: rgba(250, 247, 255, .72);--group-title-color: #2b1a73;--group-glow: rgba(124, 58, 237, .06)}.diagram-group.color-yellow{--group-border-color: #ca8a04;--group-background: rgba(254, 249, 195, .74)}.diagram-group.color-red{--group-border-color: #dc2626;--group-background: rgba(254, 226, 226, .74)}.diagram-group.color-orange{--group-border-color: #ea580c;--group-background: rgba(255, 237, 213, .74)}.diagram-edge.color-gray{--edge-color: #7c8aa0}.diagram-edge.color-blue{--edge-color: #4276d8}.diagram-edge.color-green{--edge-color: #1b9469}.diagram-edge.color-cyan{--edge-color: #0891b2}.diagram-edge.color-purple{--edge-color: #7c3aed}.diagram-edge.color-yellow{--edge-color: #ca8a04}.diagram-edge.color-red{--edge-color: #dc2626}.diagram-edge.color-orange{--edge-color: #ea580c}.properties-pane{display:flex;flex-direction:column;gap:14px;overflow:hidden}.properties-pane.is-collapsed{align-items:center;padding:16px 8px}.properties-pane.is-collapsed .pane-header{width:32px;flex-direction:column}.properties-pane.is-collapsed h2{width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);position:absolute;white-space:nowrap}.properties-content{min-height:0;display:flex;flex-direction:column;gap:14px}label{display:grid;gap:6px;color:#465368;font-size:13px;font-weight:700}input,select{min-width:0;width:100%;border:1px solid #bcc6d4;border-radius:6px;padding:8px 10px;background:#fff;color:#1d2430}.diagnostics{display:grid;gap:8px;margin-top:8px;padding-top:14px;border-top:1px solid #d9dee7}.diagnostics p,.diagnostics ul{margin:0;color:#465368;font-size:13px}.diagnostics ul{padding-left:18px}.diagnostics strong{color:#9b1c1c}.formatted-output{min-height:0;display:grid;gap:8px;padding-top:14px;border-top:1px solid #d9dee7}.formatted-output p{margin:0;color:#465368;font-size:13px}.app-footer{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 20px;border-top:1px solid #d9dee7;background:#fff;color:#596579;font-size:12px;line-height:1.4}.app-footer a{color:#315fbd;text-decoration:none}.app-footer a:hover{text-decoration:underline}@media(max-width:980px){.workspace{grid-template-columns:1fr}.pane-resizer{display:none}.editor-pane,.properties-pane{border:0;border-bottom:1px solid #d9dee7}.canvas-pane{min-height:360px;padding:20px}textarea{min-height:360px}.diagram-stage{margin:0}}
