.cmap-open-btn{margin-left:auto;padding:4px 12px;border-radius:999px;border:1px solid #c4b5fd;background:#f5f3ff;color:#5b21b6;font:600 12px/1 -apple-system,sans-serif;cursor:pointer;transition:background .12s,transform .08s}.cmap-open-btn:hover{background:#ede9fe;transform:translateY(-1px)}.cmap-open-btn:active{background:#ddd6fe}.inv-cmap-editor-host{background:#faf5ff!important}.cmap-editor{display:flex;flex-direction:column;gap:10px;padding:8px}.cmap-toolbar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px 10px;background:#fff;border:1px solid #e9d5ff;border-radius:10px}.cmap-toolbar-title{font:700 13px/1 -apple-system,sans-serif;color:#5b21b6;margin-right:8px}.cmap-toolbar-spacer{flex:1 1 auto}.cmap-btn{padding:5px 10px;border-radius:8px;border:1px solid #c4b5fd;background:#fff;color:#5b21b6;font:600 12px/1 -apple-system,sans-serif;cursor:pointer;transition:background .12s,border-color .12s}.cmap-btn:hover{background:#f5f3ff;border-color:#a78bfa}.cmap-btn:active{background:#ede9fe}.cmap-btn-danger{border-color:#fca5a5;color:#b91c1c}.cmap-btn-danger:hover{background:#fef2f2}.cmap-btn-ghost{border-color:#d1d5db;color:#4b5563;background:transparent}.cmap-btn-ghost:hover{background:#f9fafb}.cmap-status{font:600 11px/1 -apple-system,sans-serif;color:#6b7280;padding:4px 8px;border-radius:6px;background:#f3f4f6}.cmap-status[data-cmap-status-kind="saving"]{background:#fef3c7;color:#92400e}.cmap-status[data-cmap-status-kind="saved"]{background:#d1fae5;color:#065f46}.cmap-status[data-cmap-status-kind="conflict"]{background:#fee2e2;color:#991b1b}.cmap-status[data-cmap-status-kind="offline"]{background:#ede9fe;color:#5b21b6}.cmap-status[data-cmap-status-kind="loaded"]{background:#dbeafe;color:#1e40af}.cmap-canvas-wrap{background:#fff;border:1px solid #e9d5ff;border-radius:10px;overflow:hidden;position:relative}.cmap-canvas{display:block;width:100%;height:500px;background:linear-gradient(0deg,transparent 24%,rgba(124,58,237,.04) 25%,rgba(124,58,237,.04) 26%,transparent 27%,transparent 74%,rgba(124,58,237,.04) 75%,rgba(124,58,237,.04) 76%,transparent 77%),linear-gradient(90deg,transparent 24%,rgba(124,58,237,.04) 25%,rgba(124,58,237,.04) 26%,transparent 27%,transparent 74%,rgba(124,58,237,.04) 75%,rgba(124,58,237,.04) 76%,transparent 77%);background-size:40px 40px;cursor:default;outline:none}.cmap-editor.is-add-node-mode .cmap-canvas{cursor:copy}.cmap-editor.is-edge-mode .cmap-canvas{cursor:crosshair}.cmap-editor:fullscreen{background:#faf5ff;padding:14px;height:100%;box-sizing:border-box}.cmap-editor:fullscreen .cmap-canvas-wrap{flex:1 1 auto;min-height:0}.cmap-editor:fullscreen .cmap-canvas{height:100%}:is([data-theme="dark"],[data-theme="telos"]) .cmap-editor:fullscreen{background:#0b1220}.cmap-node{cursor:grab}.cmap-node:active{cursor:grabbing}.cmap-node-rect{fill:#fff;stroke:#c4b5fd;stroke-width:1.5;filter:drop-shadow(0 2px 4px rgba(124,58,237,.15));transition:stroke .12s,fill .12s}.cmap-node:hover .cmap-node-rect{stroke:#a78bfa}.cmap-node.is-selected .cmap-node-rect{stroke:#7c3aed;stroke-width:3;fill:#f5f3ff}.cmap-node.is-pending .cmap-node-rect{stroke:#ec4899;stroke-width:3;stroke-dasharray:6 4;fill:#fdf2f8}.cmap-node-text{font:600 13px/1.2 -apple-system,sans-serif;fill:#1e293b;user-select:none;pointer-events:none}.cmap-edge line{cursor:pointer;transition:stroke-width .12s,stroke .12s}.cmap-edge:hover line{stroke-width:3}.cmap-edge.is-selected line{stroke:#ec4899;stroke-width:3}.cmap-edge-label{font:500 11px/1 -apple-system,sans-serif;fill:#6b21a8;user-select:none;pointer-events:none}.cmap-help{font:400 11px/1.5 -apple-system,sans-serif;color:#6b7280;padding:6px 10px;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.cmap-help kbd{display:inline-block;padding:1px 5px;font-family:'SF Mono',Menlo,monospace;font-size:.85em;background:#fff;border:1px solid #d1d5db;border-radius:4px;box-shadow:0 1px 0 rgba(0,0,0,.04)}:is([data-theme="dark"],[data-theme="telos"]) .inv-cmap-editor-host{background:transparent!important}:is([data-theme="dark"],[data-theme="telos"]) .cmap-canvas-wrap{background:#0b1220;border-color:#334155}:is([data-theme="dark"],[data-theme="telos"]) .cmap-canvas{background:linear-gradient(0deg,transparent 24%,rgba(148,163,184,.08) 25%,rgba(148,163,184,.08) 26%,transparent 27%,transparent 74%,rgba(148,163,184,.08) 75%,rgba(148,163,184,.08) 76%,transparent 77%),linear-gradient(90deg,transparent 24%,rgba(148,163,184,.08) 25%,rgba(148,163,184,.08) 26%,transparent 27%,transparent 74%,rgba(148,163,184,.08) 75%,rgba(148,163,184,.08) 76%,transparent 77%);background-size:40px 40px}:is([data-theme="dark"],[data-theme="telos"]) .cmap-editor .cmap-toolbar{background:#111a2e;border-color:#334155}:is([data-theme="dark"],[data-theme="telos"]) .cmap-editor .cmap-toolbar-title{color:#c4b5fd!important}:is([data-theme="dark"],[data-theme="telos"]) .cmap-editor .cmap-btn{background:#1e293b!important;color:#e2e8f0!important;border-color:#475569!important}:is([data-theme="dark"],[data-theme="telos"]) .cmap-editor .cmap-btn:hover{background:#27344b!important;border-color:#a78bfa!important}:is([data-theme="dark"],[data-theme="telos"]) .cmap-editor .cmap-btn-danger{color:#fca5a5!important;border-color:#7f1d1d!important}:is([data-theme="dark"],[data-theme="telos"]) .cmap-editor .cmap-btn-ghost{color:#cbd5e1!important;border-color:#475569!important;background:transparent!important}:is([data-theme="dark"],[data-theme="telos"]) .cmap-editor .cmap-status{background:#1e293b;color:#cbd5e1!important}:is([data-theme="dark"],[data-theme="telos"]) .cmap-editor .cmap-status[data-cmap-status-kind="saving"]{background:#422006;color:#fbbf24!important}:is([data-theme="dark"],[data-theme="telos"]) .cmap-editor .cmap-status[data-cmap-status-kind="saved"]{background:#052e2b;color:#5eead4!important}:is([data-theme="dark"],[data-theme="telos"]) .cmap-editor .cmap-status[data-cmap-status-kind="conflict"]{background:#3a1212;color:#fca5a5!important}:is([data-theme="dark"],[data-theme="telos"]) .cmap-editor .cmap-status[data-cmap-status-kind="offline"]{background:#241640;color:#c4b5fd!important}:is([data-theme="dark"],[data-theme="telos"]) .cmap-editor .cmap-status[data-cmap-status-kind="loaded"]{background:#0e1f3a;color:#93c5fd!important}:is([data-theme="dark"],[data-theme="telos"]) .cmap-canvas .cmap-node-rect{fill:#1e293b;stroke:#7c3aed;filter:drop-shadow(0 2px 4px rgba(0,0,0,.5))}:is([data-theme="dark"],[data-theme="telos"]) .cmap-canvas .cmap-node:hover .cmap-node-rect{stroke:#a78bfa}:is([data-theme="dark"],[data-theme="telos"]) .cmap-canvas .cmap-node.is-selected .cmap-node-rect{stroke:#c4b5fd;fill:#2a2150}:is([data-theme="dark"],[data-theme="telos"]) .cmap-canvas .cmap-node.is-pending .cmap-node-rect{stroke:#f472b6;fill:#3a1230}:is([data-theme="dark"],[data-theme="telos"]) .cmap-canvas .cmap-node-text{fill:#e2e8f0}:is([data-theme="dark"],[data-theme="telos"]) .cmap-canvas .cmap-edge-label{fill:#c4b5fd}:is([data-theme="dark"],[data-theme="telos"]) .cmap-editor .cmap-help{background:#111a2e;color:#cbd5e1!important;border-color:#334155}:is([data-theme="dark"],[data-theme="telos"]) .cmap-editor .cmap-help kbd{background:#1e293b;color:#e2e8f0!important;border-color:#475569}@media (max-width:720px){.cmap-canvas{height:380px}.cmap-toolbar{gap:4px;padding:6px 8px}.cmap-btn{padding:4px 8px;font-size:11px}.cmap-toolbar-title{font-size:16px}}.cmap-edge-label{paint-order:stroke;stroke:#f8fafc;stroke-width:4px;stroke-linejoin:round}:is([data-theme="dark"],[data-theme="telos"]) .cmap-canvas .cmap-edge-label{stroke:#10162a}.cmap-node.is-root .cmap-node-rect{stroke-width:3}.cmap-node.is-root .cmap-node-text{font-weight:800;font-size:15px}.cmap-toggle{cursor:pointer}.cmap-toggle circle{fill:#f5f3ff;stroke:#7c3aed;stroke-width:1.5}.cmap-toggle text{fill:#6b21a8;font-weight:700;user-select:none}:is([data-theme="dark"],[data-theme="telos"]) .cmap-canvas .cmap-toggle circle{fill:#2a2150;stroke:#a78bfa}:is([data-theme="dark"],[data-theme="telos"]) .cmap-canvas .cmap-toggle text{fill:#e2e8f0}.cmap-canvas{cursor:grab}.cmap-canvas:active{cursor:grabbing}.cmap-node.cmap-d0 .cmap-node-rect{stroke:#6d28d9;stroke-width:3.2;fill:#ede9fe}.cmap-node.cmap-d0 .cmap-node-text{font-weight:800}.cmap-node.cmap-d1 .cmap-node-rect{stroke:#8b5cf6;stroke-width:2.2;fill:#f7f4ff}.cmap-node.cmap-d2 .cmap-node-rect{stroke:#c4b5fd;stroke-width:1.4;fill:#ffffff}:is([data-theme="dark"],[data-theme="telos"]) .cmap-node.cmap-d0 .cmap-node-rect{fill:#3b2a6b;stroke:#a78bfa}:is([data-theme="dark"],[data-theme="telos"]) .cmap-node.cmap-d1 .cmap-node-rect{fill:#241d3d;stroke:#8b5cf6}:is([data-theme="dark"],[data-theme="telos"]) .cmap-node.cmap-d2 .cmap-node-rect{fill:#181528;stroke:#5b4b8a}.cmap-edge-label,.cmap-canvas text{cursor:default}.cmap-node,.cmap-node *{cursor:grab}.cmap-editor.cmap-fs{position:fixed!important;inset:0!important;z-index:100000;background:var(--paper,#fff);display:flex;flex-direction:column;margin:0!important;border-radius:0!important}.cmap-editor.cmap-fs .cmap-canvas-wrap{flex:1;min-height:0}.cmap-editor.cmap-fs .cmap-canvas{height:100%}