:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#253044;background:#f5f7fb;font-size:14px;font-synthesis:none}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden}
button,input,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.4}
button:focus-visible,input:focus-visible,textarea:focus-visible,.mind-node:focus-visible{outline:3px solid rgba(64,112,241,.37);outline-offset:2px}
.app{height:100dvh;display:flex;flex-direction:column;min-width:670px}
.topbar{height:64px;flex:none;display:flex;align-items:center;gap:17px;padding:0 22px;background:#fff;border-bottom:1px solid #e6eaf2;z-index:20}
.brand{display:flex;align-items:center;gap:10px;border:0;background:transparent;color:#17233b;font-weight:800;font-size:19px;letter-spacing:-.03em;padding:5px 0;white-space:nowrap}
.brand-mark{display:block;width:34px;height:34px;flex:none;filter:drop-shadow(0 5px 6px #405eea24)}
.top-divider{height:22px;width:1px;background:#e5eaf2;flex:none}
.document-heading{display:flex;align-items:center;gap:11px;min-width:100px;flex:1}
#mapTitle{border:1px solid transparent;background:transparent;border-radius:8px;min-width:90px;max-width:380px;width:min(32vw,380px);padding:7px 8px;font-size:15px;font-weight:650;color:#1b2a40;text-overflow:ellipsis}
#mapTitle:hover,#mapTitle:focus{border-color:#dce3f0;background:#f8faff;outline:none}
.save-status{font-size:12px;color:#93a0b3;white-space:nowrap}
.top-actions{display:flex;align-items:center;gap:7px}
.icon-button,.quiet-button,.square-button,.tool-button,.canvas-bottom-tools button,.sidebar-row-actions button{border:1px solid transparent;background:transparent;color:#536079;border-radius:9px}
.icon-button:hover,.quiet-button:hover,.square-button:hover,.tool-button:hover,.canvas-bottom-tools button:hover,.sidebar-row-actions button:hover{background:#eef2fa;color:#284d9c}
.icon-button{width:32px;height:32px;font-size:23px;line-height:1}
.quiet-button{height:34px;padding:0 11px;font-size:13px;font-weight:600}
.primary-button{height:35px;padding:0 14px;border:1px solid #3655df;border-radius:9px;color:white;background:#405eea;font-weight:700;box-shadow:0 3px 8px #405eea21}
.primary-button:hover{background:#3151df}
.chevron{margin-left:8px;font-size:15px}
.menu-wrap{position:relative}
.popover{position:absolute;z-index:100;top:43px;right:0;width:235px;background:#fff;border:1px solid #e2e8f3;border-radius:12px;box-shadow:0 14px 35px #263d681c;padding:6px}
.popover button{display:flex;flex-direction:column;gap:3px;width:100%;padding:10px 11px;text-align:left;border:0;border-radius:8px;background:transparent;color:#29384f}
.popover button:hover{background:#f2f5fc}
.popover small{font-size:11px;color:#8491a6}
.layout{display:flex;flex:1;min-height:0}
.sidebar{width:248px;flex:none;display:flex;flex-direction:column;background:#f9fbfe;border-right:1px solid #e7ebf3;padding:20px 12px 14px;z-index:5}
.sidebar-section-head{display:flex;align-items:center;justify-content:space-between;padding:0 9px 10px;color:#718097;text-transform:none;letter-spacing:.04em;font-size:12px;font-weight:750}
.square-button{width:25px;height:25px;display:grid;place-items:center;font-size:20px;line-height:1}
.map-list{display:flex;flex-direction:column;gap:5px;max-height:28%;overflow:auto}
.map-row{display:flex;align-items:center;gap:9px;width:100%;min-height:38px;border:1px solid transparent;border-radius:9px;text-align:left;padding:7px 11px;background:transparent;color:#45546d}
.map-row:hover{background:#edf2fb}
.map-row.active{background:#e8efff;border-color:#dce6ff;color:#2751bd;font-weight:700}
.map-icon{font-size:15px;flex:none;color:#8095bd}
.map-row.active .map-icon{color:#3b64dc}
.map-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar-row-actions{display:flex;gap:4px;margin-top:7px;padding:0 5px}
.sidebar-row-actions button{font-size:11px;padding:5px 7px;white-space:nowrap}
.sidebar-row-actions #deleteMapButton{color:#a86970}
.sidebar-separator{height:1px;background:#e9edf5;margin:22px 7px 18px}
.outline-head{padding-bottom:12px}
.node-count{background:#eaf0f8;padding:2px 7px;border-radius:20px;font-size:11px;color:#8290a5}
.outline{flex:1;min-height:0;overflow:auto;padding:0 3px 12px}
.outline-item{display:flex;align-items:center;gap:4px;min-height:30px;width:100%;border:0;border-radius:7px;padding:3px 6px 3px var(--indent);background:transparent;text-align:left;color:#65728a;font-size:12px}
.outline-item:hover{background:#eef2f8;color:#29384d}
.outline-item.selected{background:#e8efff;color:#2953b8;font-weight:700}
.outline-item .outline-dot{width:7px;height:7px;border-radius:50%;background:var(--branch);flex:none;margin-right:4px}
.outline-item .outline-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.outline-item .outline-fold{margin-left:auto;flex:none;color:#9da8bb}
.sidebar-footer{display:flex;align-items:center;gap:8px;padding:12px 9px 0;border-top:1px solid #e9edf5;font-size:11px;color:#a0aab8;line-height:1.4}
.status-dot{width:6px;height:6px;flex:none;border-radius:50%;background:#47b89d}
.workspace{position:relative;min-width:0;flex:1;overflow:hidden;background:#f7f9fd}
.viewport{position:absolute;inset:0;overflow:hidden;cursor:grab;touch-action:none}
.viewport.panning{cursor:grabbing}
.canvas-grid{position:absolute;inset:0;background-image:radial-gradient(#c8d2e2 1px,transparent 1px);background-size:20px 20px;opacity:.48;pointer-events:none;transform:translate(var(--grid-x,0px),var(--grid-y,0px))}
.world{position:absolute;left:0;top:0;transform-origin:0 0;will-change:transform}
.connections,.nodes-layer{position:absolute;left:0;top:0;overflow:visible}
.connections{pointer-events:none}
.connection{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.5;opacity:.88}
.mind-node{position:absolute;border:1.5px solid transparent;background:white;border-radius:11px;box-shadow:0 3px 13px #3442600d,0 1px 2px #3442600d;display:flex;align-items:center;justify-content:center;padding:8px 14px;cursor:grab;user-select:none;touch-action:none;transition:box-shadow .16s,border-color .16s,background .16s;outline:none}
.mind-node:hover{box-shadow:0 5px 18px #34426020,0 2px 4px #3442600c}
.mind-node.selected{border-color:#3f64e7;box-shadow:0 0 0 3px #4270f122,0 7px 18px #2645811c;z-index:2}
.mind-node.dragging{opacity:.42}
.mind-node.drop-inside{border-color:#51a985;box-shadow:0 0 0 4px #51a9852b}
.mind-node.drop-before:before,.mind-node.drop-after:after{content:"";position:absolute;left:-13px;right:-13px;height:4px;background:#4c79e6;border-radius:4px}
.mind-node.drop-before:before{top:-10px}.mind-node.drop-after:after{bottom:-10px}
.app[data-layout="orgchart"] .mind-node.drop-before:before,.app[data-layout="orgchart"] .mind-node.drop-after:after{top:-8px;bottom:-8px;width:4px;height:auto;left:-9px;right:auto}
.app[data-layout="orgchart"] .mind-node.drop-after:after{left:auto;right:-9px}
.mind-node.root{border-radius:17px;background:#263d79;color:#fff;padding:14px 22px;box-shadow:0 11px 28px #253c7340;border:1px solid #263d79}
.mind-node.root.selected{border-color:#9cb6ff;box-shadow:0 0 0 4px #7295ef4c,0 12px 30px #253c734a}
.mind-node.root:hover{background:#304a91}
.mind-node .node-text{width:100%;white-space:pre-wrap;overflow-wrap:anywhere;text-align:center;line-height:1.38;font-size:14px;font-weight:650;color:#29374c;pointer-events:none}
.mind-node.root .node-text{font-size:19px;font-weight:750;letter-spacing:-.02em;color:#fff}
.mind-node .node-accent{position:absolute;left:14px;right:14px;bottom:-2px;height:3px;border-radius:5px;background:var(--branch)}
.mind-node .note-dot{position:absolute;right:5px;top:5px;width:5px;height:5px;border-radius:50%;background:#b7c3d5}
.mind-node .fold-badge{position:absolute;top:50%;transform:translateY(-50%);left:calc(100% + 7px);background:#fff;border:1px solid #dfe5ef;border-radius:7px;min-width:22px;height:22px;display:grid;place-items:center;font-size:11px;color:#65748d;box-shadow:0 2px 8px #273f5c14;cursor:pointer}
.mind-node[data-side="left"] .fold-badge{left:auto;right:calc(100% + 7px)}
.mind-node .fold-badge:hover{color:#305cbe;border-color:#aabef6}
.mind-node .node-add{display:none;position:absolute;top:50%;transform:translateY(-50%);left:calc(100% + 7px);border:1px solid #dce6f1;background:#fff;color:#4263c5;border-radius:7px;width:22px;height:22px;line-height:17px;box-shadow:0 3px 8px #273f5c14;font-size:16px;cursor:pointer}
.mind-node[data-side="left"] .node-add{left:auto;right:calc(100% + 7px)}
.mind-node:hover .node-add,.mind-node.selected .node-add{display:block}
.mind-node:has(.fold-badge) .node-add{display:none}
.node-editor{position:absolute;inset:2px;z-index:4;resize:none;border:0;border-radius:8px;padding:5px 8px;text-align:center;background:#fff;color:#23304a;outline:2px solid #4a72e4;line-height:1.35;font-weight:650;overflow:auto}
.mind-node.root .node-editor{color:#fff;background:#304a91;outline-color:#b0c4ff;font-size:18px}
.drag-ghost{position:absolute;z-index:50;pointer-events:none;padding:9px 15px;border:1px solid #b9c9f4;border-radius:10px;background:#fff;box-shadow:0 13px 25px #2f4a762b;color:#2b4278;font-weight:700;white-space:nowrap;max-width:210px;overflow:hidden;text-overflow:ellipsis;opacity:.95}
.canvas-top-tools,.canvas-bottom-tools{position:absolute;z-index:7;display:flex;align-items:center;background:#fffffff2;border:1px solid #e2e8f1;border-radius:12px;box-shadow:0 5px 18px #28426213;backdrop-filter:blur(14px)}
.canvas-top-tools{top:20px;left:50%;transform:translateX(-50%);height:42px;padding:4px;gap:2px;white-space:nowrap}
.tool-button{height:32px;padding:0 10px;font-size:12px;font-weight:700}
.tool-button.accent{color:#315ccf;background:#eef3ff}
.tool-button.accent:hover{background:#e0eaff}
.tool-divider{height:20px;width:1px;flex:none;background:#e5eaf2;margin:0 5px}
.canvas-bottom-tools{bottom:22px;left:50%;transform:translateX(-50%);height:38px;padding:3px;gap:2px;white-space:nowrap}
.canvas-bottom-tools button{height:30px;min-width:31px;padding:0 9px;font-size:12px;font-weight:650}
.canvas-bottom-tools button:nth-child(1),.canvas-bottom-tools button:nth-child(3){font-size:19px;line-height:1}
#zoomLabel{min-width:47px;text-align:center;color:#5d6d86;font-size:12px;font-weight:700}
.canvas-tip{position:absolute;bottom:33px;right:22px;font-size:11px;color:#a4afbf;pointer-events:none}
.empty-hint{position:absolute;top:50%;left:50%;transform:translate(-50%,90px);font-size:12px;color:#a9b3c4;pointer-events:none}
kbd{font:600 11px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#52627b;background:#f2f5fa;border:1px solid #e0e6f0;border-bottom-width:2px;border-radius:5px;padding:3px 6px;white-space:nowrap}
.inspector{width:272px;flex:none;background:#fff;border-left:1px solid #e7ebf2;padding:22px 17px;overflow:auto;z-index:5}
.inspector-heading{display:flex;align-items:center;justify-content:space-between;color:#24334a;font-size:14px;font-weight:750;padding:0 2px 20px}
.inspector-kicker{font-size:9px;letter-spacing:.14em;color:#b4bed0}
.inspector-empty{padding:24px 10px;color:#8997a9;font-size:12px;line-height:1.65;text-align:center;background:#f7f9fc;border-radius:12px}
.field{display:flex;flex-direction:column;gap:8px;margin-bottom:21px}
.field label,.field .field-label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#8290a4;font-weight:750;letter-spacing:.04em}
.field input,.field textarea{width:100%;border:1px solid #dfe5ef;border-radius:9px;color:#2b3850;padding:10px 11px;background:#fff;outline:none;line-height:1.5;font-size:13px;resize:vertical}
.field input:focus,.field textarea:focus{border-color:#7294eb;box-shadow:0 0 0 3px #7595e91c}
.field textarea{min-height:83px}
.field .help-text{font-size:11px;color:#a0abbb;line-height:1.45}
.color-row{display:flex;gap:9px;flex-wrap:wrap}
.swatch{width:25px;height:25px;border-radius:8px;border:2px solid #fff;background:var(--color);box-shadow:0 0 0 1px #d9e1ed;cursor:pointer}
.swatch.selected{box-shadow:0 0 0 2px var(--color),0 0 0 4px #fff;transform:scale(1.02)}
.side-row{display:flex;gap:7px}
.side-row button,.inspector-action{border:1px solid #dde5f0;background:#fff;border-radius:8px;padding:8px 10px;color:#56657c;font-size:12px;font-weight:650}
.side-row button{flex:1}
.side-row button.active{color:#315ad1;background:#eef3ff;border-color:#b9ccfa}
.inspector-actions{display:flex;flex-direction:column;gap:7px;border-top:1px solid #edf0f5;padding-top:16px}
.inspector-action:hover,.side-row button:hover{background:#f3f6fb}
.inspector-action.danger{color:#b75c67}
.inspector-meta{font-size:11px;color:#a1adbb;line-height:1.5;margin:16px 0}
.theme-section{margin:7px 0 23px;padding-top:18px;border-top:1px solid #edf0f5}
.layout-section{margin-top:0;padding-top:0;border-top:0}
.layout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.layout-card{display:flex;flex-direction:column;gap:3px;min-width:0;padding:6px;border:1.5px solid #e2e8f1;border-radius:11px;background:#fff;text-align:left;color:#485971;cursor:pointer}
.layout-card:hover{border-color:#a6baf4;background:#f9fbff}
.layout-card.active{border-color:#4d70e3;box-shadow:0 0 0 2px #4d70e326}
.layout-card strong{font-size:11px;margin:2px 3px 0}
.layout-card small{font-size:10px;color:#a0aabd;margin:0 3px 2px}
.layout-preview{width:100%;height:65px;display:grid;place-items:center;border-radius:7px;background:#f5f7fb;overflow:hidden}
.layout-preview svg{width:100%;height:100%}
.layout-preview svg path{fill:none;stroke:#7b97e4;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.layout-preview svg rect{fill:#fff;stroke:#cbd7ee;stroke-width:1}
.layout-preview svg .layout-root{fill:#405eea;stroke:#405eea}
.layout-switch{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin-top:11px;padding:9px 2px;border:0;background:transparent;text-align:left;color:#3f4d64}
.layout-switch-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.layout-switch-copy strong{font-size:11px;font-weight:750}
.layout-switch-copy small{font-size:10px;color:#9ca8b8;line-height:1.35}
.switch-track{position:relative;flex:none;width:32px;height:19px;border-radius:20px;background:#cbd3e0;transition:background .16s}
.switch-thumb{position:absolute;top:2px;left:2px;width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #2530443d;transition:transform .16s}
.layout-switch[aria-checked="true"] .switch-track{background:#405eea}
.layout-switch[aria-checked="true"] .switch-thumb{transform:translateX(13px)}
.theme-heading{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:11px;color:#8290a4;font-size:11px;font-weight:750;letter-spacing:.04em}
.theme-heading small{color:#aeb8c7;font-size:10px;font-weight:500;letter-spacing:0}
.theme-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.theme-card{display:flex;flex-direction:column;gap:3px;min-width:0;padding:6px;border:1.5px solid #e2e8f1;border-radius:11px;background:#fff;text-align:left;color:#485971}
.theme-card:hover{border-color:#a6baf4;background:#f9fbff}
.theme-card.active{border-color:#4d70e3;box-shadow:0 0 0 2px #4d70e326}
.theme-preview{height:68px;width:100%;display:grid;place-items:center;border-radius:7px;overflow:hidden;background:#f5f7fb}
.theme-preview svg{width:100%;height:100%}
.theme-preview .preview-line{fill:none;stroke:#7b97e4;stroke-width:1.7;stroke-linecap:round}
.theme-preview .preview-root{fill:#263d79}
.theme-preview .preview-node{fill:#fff;stroke:#dee6f1;stroke-width:1}
.theme-preview .preview-mark{fill:none;stroke:#7d95d9;stroke-width:1.6;stroke-linecap:round}
.theme-preview-minimal{background:#fff}
.theme-preview-minimal .preview-root{fill:#293e5e;rx:2}
.theme-preview-minimal .preview-node{fill:#fff;stroke:none}
.theme-preview-minimal .preview-mark{stroke:#5e7fe3;stroke-width:2}
.theme-preview-soft{background:#faf4ec}
.theme-preview-soft .preview-root{fill:#2d716e}
.theme-preview-soft .preview-node{fill:#fffaf2;stroke:#e9dad1}
.theme-preview-soft .preview-line,.theme-preview-soft .preview-mark{stroke:#62b2a6}
.theme-preview-night{background:#192741}
.theme-preview-night .preview-root{fill:#687ef0}
.theme-preview-night .preview-node{fill:#30415f;stroke:#4c6082}
.theme-preview-night .preview-line,.theme-preview-night .preview-mark{stroke:#90a1fa}
.theme-preview-blueprint{background:#13243d}
.theme-preview-blueprint .preview-root{fill:#2460ab;stroke:#84bcf5;rx:1}
.theme-preview-blueprint .preview-node{fill:#193858;stroke:#76a8d4;rx:1}
.theme-preview-blueprint .preview-line,.theme-preview-blueprint .preview-mark{stroke:#90c8ff}
.theme-preview-outline{background:#fbfcfe}
.theme-preview-outline .preview-root{fill:#f5f8ff;stroke:#9eb3d2;rx:1}
.theme-preview-outline .preview-node{fill:#fbfcfe;stroke:#d6e0ed;rx:1}
.theme-preview-outline .preview-line,.theme-preview-outline .preview-mark{stroke:#6480a6}
.theme-preview-bubble{background:#f8f7ff}
.theme-preview-bubble .preview-root{fill:#835fc6;rx:12}
.theme-preview-bubble .preview-node{fill:#f6efff;stroke:#ceb8ef;rx:9}
.theme-preview-bubble .preview-line,.theme-preview-bubble .preview-mark{stroke:#a787d6}
.theme-preview-paper{background:#f7f2e7}
.theme-preview-paper .preview-root{fill:#aa7045;rx:1}
.theme-preview-paper .preview-node{fill:#fffdf3;stroke:#d6bfa0;stroke-dasharray:3 2;rx:1}
.theme-preview-paper .preview-line,.theme-preview-paper .preview-mark{stroke:#b78860}
.theme-name{font-size:11px;font-weight:750;margin:3px 3px 0;color:#3f4d64}
.theme-description{font-size:10px;color:#a0aabd;margin:0 3px 2px}
.connector-section{margin-top:-5px}
.connector-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.connector-card{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;padding:5px 7px 7px;border:1.5px solid #e2e8f1;border-radius:10px;background:#fff;color:#64728a;font-size:10px;font-weight:650;cursor:pointer}
.connector-card:hover{border-color:#a6baf4;background:#f9fbff}
.connector-card.active{border-color:#4d70e3;box-shadow:0 0 0 2px #4d70e326;color:#345bc3}
.connector-card svg{width:100%;height:45px;overflow:visible}
.connector-card svg path{fill:none;stroke:#6684d0;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.connector-card svg circle{fill:#6684d0}
.app[data-theme="minimal"] .workspace{background:#fff}
.app[data-theme="minimal"] .canvas-grid{background-image:radial-gradient(#cbd5e1 1px,transparent 1px);opacity:.3}
.app[data-theme="minimal"] .mind-node:not(.root){background:#ffffffeb;border-color:transparent;border-radius:3px;box-shadow:none}
.app[data-theme="minimal"] .mind-node:not(.root):hover{background:#f8faff}
.app[data-theme="minimal"] .mind-node:not(.root).selected{border-color:#6382e9;box-shadow:0 0 0 3px #6382e927}
.app[data-theme="minimal"] .mind-node.root{background:#293e5e;border-color:#293e5e;border-radius:7px;box-shadow:0 5px 15px #253b602c}
.app[data-theme="minimal"] .mind-node .node-accent{left:7px;right:7px;bottom:0;height:2px}
.app[data-theme="soft"] .workspace{background:#faf7f2}
.app[data-theme="soft"] .canvas-grid{background-image:radial-gradient(#d5c6bc 1px,transparent 1px);opacity:.32}
.app[data-theme="soft"] .mind-node:not(.root){background:#fffcf5;border-color:#eadfd7;border-radius:23px;box-shadow:0 5px 14px #8f6b4f12}
.app[data-theme="soft"] .mind-node:not(.root).selected{border-color:#569c93;box-shadow:0 0 0 3px #569c932d}
.app[data-theme="soft"] .mind-node.root{background:#2d716e;border-color:#2d716e;border-radius:25px;box-shadow:0 9px 24px #2d716e31}
.app[data-theme="soft"] .mind-node.root:hover{background:#35837e}
.app[data-theme="soft"] .mind-node .node-accent{left:20px;right:20px;height:2px}
.app[data-theme="night"] .workspace{background:#192741}
.app[data-theme="night"] .canvas-grid{background-image:radial-gradient(#61718f 1px,transparent 1px);opacity:.3}
.app[data-theme="night"] .mind-node:not(.root){background:#2c3d5b;border-color:#405474;box-shadow:0 4px 16px #101b2b45}
.app[data-theme="night"] .mind-node:not(.root):hover{background:#334666}
.app[data-theme="night"] .mind-node:not(.root).selected{border-color:#9eafff;box-shadow:0 0 0 3px #9eafff42,0 5px 17px #0f1d3540}
.app[data-theme="night"] .mind-node:not(.root) .node-text{color:#f1f5ff}
.app[data-theme="night"] .mind-node.root{background:#687ef0;border-color:#8397ff;box-shadow:0 10px 26px #0917387a}
.app[data-theme="night"] .mind-node.root:hover{background:#758afa}
.app[data-theme="night"] .mind-node .fold-badge,.app[data-theme="night"] .mind-node .node-add{background:#2f4161;border-color:#596c8e;color:#eff4ff}
.app[data-theme="night"] .canvas-tip,.app[data-theme="night"] .empty-hint{color:#b1bfdb}
.app[data-theme="night"] .node-editor{background:#334666;color:#fff}
.app[data-theme="blueprint"] .workspace{background:#13243d}
.app[data-theme="blueprint"] .canvas-grid{background-image:linear-gradient(#5c87b425 1px,transparent 1px),linear-gradient(90deg,#5c87b425 1px,transparent 1px);background-size:24px 24px;opacity:1}
.app[data-theme="blueprint"] .mind-node{border-radius:2px;box-shadow:none}
.app[data-theme="blueprint"] .mind-node:not(.root){background:#193858;border-color:#76a8d4}
.app[data-theme="blueprint"] .mind-node:not(.root) .node-text{color:#e7f5ff}
.app[data-theme="blueprint"] .mind-node.root{background:#2460ab;border-color:#84bcf5;border-radius:2px;box-shadow:0 0 0 4px #89c5ff20}
.app[data-theme="blueprint"] .mind-node .node-accent{display:none}
.app[data-theme="outline"] .workspace{background:#fbfcfe}
.app[data-theme="outline"] .canvas-grid{opacity:.15}
.app[data-theme="outline"] .mind-node{border-radius:2px;box-shadow:none}
.app[data-theme="outline"] .mind-node:not(.root){background:#fbfcfe;border-color:#d6e0ed}
.app[data-theme="outline"] .mind-node.root{background:#f5f8ff;border-color:#9eb3d2;border-radius:3px;box-shadow:none}
.app[data-theme="outline"] .mind-node.root .node-text{color:#304157}
.app[data-theme="outline"] .mind-node .node-accent{display:none}
.app[data-theme="bubble"] .workspace{background:#f8f7ff}
.app[data-theme="bubble"] .canvas-grid{background-image:radial-gradient(#ceb8ef 1px,transparent 1px);opacity:.26}
.app[data-theme="bubble"] .mind-node:not(.root){background:#f6efff;border-color:#ceb8ef;border-radius:100px;box-shadow:0 4px 13px #a58be329}
.app[data-theme="bubble"] .mind-node.root{background:#835fc6;border-color:#a58be3;border-radius:100px;box-shadow:0 8px 22px #835fc640}
.app[data-theme="bubble"] .mind-node .node-accent{display:none}
.app[data-theme="paper"] .workspace{background:#f7f2e7}
.app[data-theme="paper"] .canvas-grid{background-image:none}
.app[data-theme="paper"] .mind-node:not(.root){background:#fffdf3;border:1.5px dashed #d6bfa0;border-radius:2px;box-shadow:3px 4px 0 #c9b89830}
.app[data-theme="paper"] .mind-node.root{background:#aa7045;border:1.5px dashed #8d5c39;border-radius:2px;box-shadow:4px 5px 0 #8d5c3930}
.app[data-theme="paper"] .mind-node .node-accent{display:none}
.context-menu{position:fixed;z-index:180;min-width:218px;max-width:min(280px,calc(100vw - 16px));padding:6px;border:1px solid #dfe6f0;border-radius:12px;background:#fff;box-shadow:0 16px 38px #18315338}
.context-item{width:100%;min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:7px 10px;border:0;border-radius:7px;background:transparent;color:#34435a;text-align:left;font-size:12px;font-weight:650}
.context-item:hover,.context-item:focus-visible{background:#edf3ff;color:#2d56bd;outline:none}
.context-item.danger{color:#b45863}
.context-item.danger:hover,.context-item.danger:focus-visible{background:#fff0f1;color:#aa4353}
.context-item:disabled{color:#b5becd;opacity:1}
.context-shortcut{font-size:10px;color:#a0aabd;font-weight:500;white-space:nowrap}
.context-separator{height:1px;background:#edf0f5;margin:5px 7px}
.dialog-backdrop{position:fixed;inset:0;z-index:150;display:grid;place-items:center;padding:20px;background:#15243e69;backdrop-filter:blur(5px)}
.dialog{width:min(600px,100%);background:#fff;padding:28px;border-radius:18px;box-shadow:0 30px 70px #111e3747}
.dialog-title{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}
.dialog-title h2{font-size:21px;letter-spacing:-.025em;margin:5px 0 0}
.eyebrow{font-size:10px;letter-spacing:.15em;color:#6885d3;font-weight:850}
.shortcut-grid{display:grid;grid-template-columns:1fr auto;column-gap:25px;row-gap:0;border-top:1px solid #edf0f6}
.shortcut-grid span,.shortcut-grid kbd{margin:0;padding:10px 0;border:0;background:none;border-radius:0;border-bottom:1px solid #edf0f6;font-size:12px}
.shortcut-grid kbd{text-align:right;color:#526b9d;font-weight:700}
.dialog-note{font-size:12px;line-height:1.6;color:#8390a4;margin:17px 0}
.dialog-action{display:block;margin-left:auto}
.search-box{position:fixed;top:74px;left:50%;transform:translateX(-50%);z-index:110;display:flex;align-items:center;gap:9px;width:360px;height:45px;padding:0 11px;background:#fff;border:1px solid #dce5f4;border-radius:11px;box-shadow:0 12px 30px #21385e24}
.search-box>span:first-child{font-size:25px;color:#8291aa}
.search-box input{flex:1;min-width:0;border:0;outline:0;color:#24334c}
.search-box #searchCount{font-size:11px;color:#95a3b7;white-space:nowrap}
.search-box button{border:0;background:transparent;color:#91a0b5;font-size:19px}
.mind-node.search-match{box-shadow:0 0 0 3px #f4b952b0,0 6px 16px #bd89351e}
.toast{position:fixed;z-index:200;bottom:72px;left:50%;transform:translateX(-50%) translateY(15px);background:#20324f;color:#fff;border-radius:9px;padding:9px 14px;font-size:12px;box-shadow:0 10px 23px #1d2d4e42;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
[hidden]{display:none!important}
@media(max-width:1150px){.inspector{width:245px}.sidebar{width:215px}.canvas-tip{display:none}}
@media(max-width:900px){.sidebar{width:185px}.inspector{width:215px}.topbar{padding:0 12px;gap:8px}.top-actions{gap:1px}.quiet-button{padding:0 7px}.canvas-top-tools{left:10px;transform:none}}
@media(max-width:760px){.sidebar{display:none}.inspector{display:none}.topbar .brand span{display:none}.document-heading{min-width:0}.save-status{display:none}.top-actions .quiet-button{display:none}.canvas-top-tools{top:10px}.canvas-bottom-tools{bottom:10px}}
@media(prefers-reduced-motion:reduce){.mind-node,.toast{transition:none}}
