.mindmap-scope{--ink:#202436;--muted:#7b8394;--line:#dfe3ec;--surface:#fff;--canvas:#f6f7fb;--accent:#635bdf;--accent-soft:#eeecff;--danger:#c94c61;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:var(--ink);height:100%;background:var(--canvas);overflow:hidden}.mindmap-scope button,.mindmap-scope input,.mindmap-scope select{font:inherit}.mindmap-scope button{cursor:pointer;border:0;background:none;color:inherit}.mindmap-scope svg{display:block}.mindmap-scope .phone-shell{height:100%;min-height:100vh;display:flex;flex-direction:column;background:var(--canvas)}.mindmap-scope .topbar{height:64px;flex:0 0 64px;display:flex;align-items:center;gap:12px;padding:0 18px;background:#fffffff2;border-bottom:1px solid var(--line);z-index:3}.mindmap-scope .topbar h1{font-size:18px;margin:0;flex:1}.mindmap-scope .topbar .brand{font-weight:800;color:var(--accent)}.mindmap-scope .topbar button,.mindmap-scope .icon-button{padding:8px 12px;border-radius:12px;background:var(--accent-soft);color:var(--accent);font-weight:700}.mindmap-scope .topbar button:hover,.mindmap-scope .icon-button:hover{filter:brightness(.97)}.mindmap-scope .main-scroll{flex:1;overflow:auto;padding:24px 18px 42px}.mindmap-scope .home-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.mindmap-scope .home-hero h2{font-size:30px;margin:0 0 5px}.mindmap-scope .home-hero p{margin:0;color:var(--muted)}.mindmap-scope .primary-button{background:var(--accent);color:#fff;padding:11px 16px;border-radius:13px;font-weight:800;box-shadow:0 8px 22px #635bdf33}.mindmap-scope .secondary-button{background:#fff;border:1px solid var(--line);padding:10px 14px;border-radius:12px}.mindmap-scope .map-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}.mindmap-scope .map-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:0 8px 24px #212b4b0f;min-height:180px;display:flex;flex-direction:column}.mindmap-scope .map-card h3{margin:10px 0 4px;font-size:18px}.mindmap-scope .map-card small,.mindmap-scope .map-card p{color:var(--muted)}.mindmap-scope .map-card-actions{display:flex;gap:8px;margin-top:auto}.mindmap-scope .map-card-actions button{flex:1;padding:9px;border-radius:10px;background:var(--accent-soft);color:var(--accent);font-weight:700}.mindmap-scope .mini-preview{height:90px;border-radius:12px;border:1px solid var(--line);background:#fafbff;display:grid;place-items:center;overflow:hidden}.mindmap-scope .mini-preview svg{width:100%;height:100%}.mindmap-scope .editor-shell{height:100%;display:flex;flex-direction:column}.mindmap-scope .editor-toolbar{flex:0 0 auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;background:#fff;border-bottom:1px solid var(--line);z-index:2}.mindmap-scope .editor-toolbar .toolbar-group{display:flex;gap:5px;align-items:center}.mindmap-scope .editor-toolbar button,.mindmap-scope .editor-toolbar select{min-height:34px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:5px 9px}.mindmap-scope .editor-toolbar button.active{background:var(--accent-soft);color:var(--accent);border-color:#c9c5ff}.mindmap-scope .editor-canvas{position:relative;flex:1;overflow:hidden;background:var(--canvas);touch-action:none}.mindmap-scope .editor-world{position:absolute;left:50%;top:50%;transform-origin:0 0}.mindmap-scope .editor-svg{position:absolute;top:0;right:0;bottom:0;left:0;overflow:visible;pointer-events:none}.mindmap-scope .editor-svg path,.mindmap-scope .editor-svg line{pointer-events:stroke}.mindmap-scope .map-node{position:absolute;min-width:88px;max-width:300px;padding:9px 12px;border:2px solid #8790a5;border-radius:12px;background:#fff;box-shadow:0 5px 15px #1e28461a;user-select:none}.mindmap-scope .map-node.selected{outline:3px solid rgba(99,91,223,.28);border-color:var(--accent)}.mindmap-scope .map-node.collapsed:after{content:"…";position:absolute;right:-9px;bottom:-9px;width:20px;height:20px;border-radius:50%;background:var(--accent);color:#fff;text-align:center}.mindmap-scope .map-node .node-text{white-space:pre-wrap;overflow-wrap:anywhere}.mindmap-scope .map-node .node-toolbar{display:flex;gap:4px;margin-top:6px}.mindmap-scope .map-node .node-toolbar button{font-size:12px;padding:2px 5px;border-radius:6px;background:var(--accent-soft);color:var(--accent)}.mindmap-scope .canvas-tools{position:absolute;right:14px;bottom:14px;display:flex;flex-direction:column;gap:6px}.mindmap-scope .canvas-tools button{width:38px;height:38px;border-radius:12px;background:#fff;border:1px solid var(--line);box-shadow:0 5px 15px #141e3c1a;font-size:18px}.mindmap-scope .save-state{margin-left:auto;color:var(--muted);font-size:13px}.mindmap-scope .save-state.saved{color:#26936c}.mindmap-scope .modal-backdrop,.mindmap-scope .sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#191f3061;display:grid;place-items:center;z-index:20;padding:18px}.mindmap-scope .modal,.mindmap-scope .sheet{width:min(520px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:20px;padding:22px;box-shadow:0 20px 60px #0f14323d}.mindmap-scope .modal h2,.mindmap-scope .sheet h2{margin:0 0 10px}.mindmap-scope .modal p,.mindmap-scope .sheet p{color:var(--muted);line-height:1.6}.mindmap-scope .modal-actions,.mindmap-scope .sheet-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.mindmap-scope .form-row{display:grid;gap:6px;margin:12px 0}.mindmap-scope .form-row input,.mindmap-scope .form-row textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:9px}.mindmap-scope .template-grid,.mindmap-scope .palette-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mindmap-scope .template-grid button,.mindmap-scope .palette-grid button{border:1px solid var(--line);border-radius:10px;padding:10px;background:#fff}.mindmap-scope .toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%);background:#202436;color:#fff;padding:10px 16px;border-radius:999px;z-index:40;font-size:14px}@media(max-width:620px){.mindmap-scope .main-scroll{padding:18px 14px 30px}.mindmap-scope .home-hero h2{font-size:25px}.mindmap-scope .map-list{grid-template-columns:1fr}.mindmap-scope .topbar{padding:0 12px}.mindmap-scope .topbar h1{font-size:16px}.mindmap-scope .editor-toolbar{padding:8px;gap:5px}.mindmap-scope .editor-toolbar button,.mindmap-scope .editor-toolbar select{padding:4px 7px}.mindmap-scope .modal,.mindmap-scope .sheet{padding:18px}}.mindmap-scope .topbar{display:flex;align-items:center;gap:12px;padding:14px 16px}.mindmap-scope .lock-brand{display:flex;align-items:center;gap:8px;font-weight:800;white-space:nowrap}.mindmap-scope .brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:11px;background:linear-gradient(145deg,#6878ff,#414ed0);color:#fff}.mindmap-scope .topbar-title{min-width:0;display:flex;flex-direction:column;gap:2px;flex:1}.mindmap-scope .topbar-title strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mindmap-scope .topbar-title span{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mindmap-scope .topbar-link{padding:7px 8px!important;background:transparent!important;color:var(--accent)!important;font-size:12px;font-weight:800}.mindmap-scope .home-content,.mindmap-scope .more-content{flex:1;overflow:auto;padding:22px 16px 92px}.mindmap-scope .home-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.mindmap-scope .home-heading h1{margin:0;font-size:28px}.mindmap-scope .home-heading p{margin:5px 0 0;color:var(--muted);font-size:12px}.mindmap-scope .new-button{display:flex;align-items:center;gap:5px;padding:10px 13px;border-radius:12px;background:var(--accent);color:#fff;font-weight:800}.mindmap-scope .new-button b{font-size:18px;font-weight:400}.mindmap-scope .map-card{position:relative;min-height:130px;padding:0;overflow:hidden}.mindmap-scope .map-card-open{display:flex;align-items:center;gap:12px;width:100%;padding:12px 45px 12px 12px;text-align:left}.mindmap-scope .map-card-main{min-width:0;display:flex;flex-direction:column;gap:5px}.mindmap-scope .map-card-main strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mindmap-scope .map-card-main span{font-size:11px;color:var(--muted)}.mindmap-scope .map-card-arrow{margin-left:auto;color:#b6bdcc;font-size:25px}.mindmap-scope .map-menu{position:absolute;right:10px;top:10px;width:30px;height:30px;border-radius:9px;color:var(--muted);font-size:21px}.mindmap-scope .map-menu:hover{background:var(--accent-soft);color:var(--accent)}.mindmap-scope .empty-state{text-align:center;padding:60px 20px;color:var(--muted)}.mindmap-scope .empty-state h2{margin:12px 0 5px;color:var(--ink)}.mindmap-scope .empty-state p{font-size:12px}.mindmap-scope .empty-glyph{font-size:38px;color:var(--accent)}.mindmap-scope .bottom-nav{position:absolute;left:0;right:0;bottom:0;display:flex;padding:8px 12px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffffff5;z-index:5}.mindmap-scope .nav-button{flex:1;min-height:42px;border-radius:10px;color:var(--muted);font-size:11px;line-height:1.25}.mindmap-scope .nav-button.active{color:var(--accent);background:var(--accent-soft);font-weight:800}.mindmap-scope .lock-screen{min-height:100%;display:grid;place-items:center;padding:26px 20px}.mindmap-scope .lock-card{width:min(100%,360px);padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff}.mindmap-scope .lock-card h1{margin:0 0 8px;font-size:25px}.mindmap-scope .lock-card>p{color:var(--muted);font-size:13px;line-height:1.55}.mindmap-scope .field-label{display:block;margin:12px 0 6px;color:var(--muted);font-size:12px}.mindmap-scope .text-input{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#fff}.mindmap-scope .input-wrap{display:flex;gap:6px}.mindmap-scope .input-wrap .text-input{flex:1}.mindmap-scope .reveal-button{width:40px;border:1px solid var(--line);border-radius:10px}.mindmap-scope .lock-error{min-height:20px;color:var(--danger)!important;font-size:12px}.mindmap-scope .lock-foot{max-width:360px;color:var(--muted);font-size:11px;text-align:center;line-height:1.5}.mindmap-scope .primary-button{border:0}.mindmap-scope .canvas-wrap{position:relative;flex:1;min-height:0;overflow:hidden;background:var(--editor-canvas,var(--canvas));touch-action:none}.mindmap-scope .world{position:absolute;transform-origin:0 0}.mindmap-scope .edges{position:absolute;overflow:visible;pointer-events:none}.mindmap-scope .edges path{fill:none;stroke:var(--branch-color,#6b78f0);stroke-linecap:round;stroke-linejoin:round}.mindmap-scope .edges path[data-connector]{pointer-events:stroke}.mindmap-scope .map-node{position:absolute;display:flex;align-items:center;justify-content:center;min-width:88px;min-height:42px;padding:8px 12px;border:2px solid var(--node-border,#8790a5);border-radius:var(--node-radius,12px);background:var(--node-fill,#fff);color:var(--node-text,var(--ink));box-shadow:0 5px 15px #1e28461a;font-size:14px;line-height:1.35;text-align:center;user-select:none}.mindmap-scope .map-node.root{font-size:16px;font-weight:800;background:var(--root-fill,var(--node-fill,#fff));color:var(--root-text,var(--node-text))}.mindmap-scope .map-node.free-topic{border-style:dashed}.mindmap-scope .map-node.dragging,.mindmap-scope .map-node.node-dragging{opacity:.65}.mindmap-scope .node-editor{width:100%;border:0;outline:0;background:transparent;color:inherit;text-align:center}.mindmap-scope .node-toggle{position:absolute;right:-12px;bottom:-12px;width:23px;height:23px;border:2px solid #fff;border-radius:50%;background:var(--accent);color:#fff;line-height:18px}.mindmap-scope .free-topic-star{position:absolute;left:-15px;top:-14px;color:var(--accent);font-size:22px}.mindmap-scope .node-meta-row{position:absolute;left:50%;top:100%;display:flex;gap:4px;transform:translate(-50%);padding-top:4px}.mindmap-scope .node-meta-label{padding:2px 5px;border-radius:5px;background:#fff;color:var(--muted);font-size:10px;white-space:nowrap}.mindmap-scope .editor-topbar{flex:0 0 auto}.mindmap-scope .editor-actions{display:flex;align-items:center;gap:4px}.mindmap-scope .canvas-tools{position:absolute;right:10px;bottom:10px;display:flex;align-items:center;gap:7px;padding:8px 9px;border:1px solid var(--line);border-radius:14px;background:#fffffff0;box-shadow:0 6px 18px #1e28461a}.mindmap-scope .tool-group{display:flex;align-items:center;gap:4px}.mindmap-scope .tool-button{min-width:32px;min-height:34px;padding:5px 7px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--muted);font-size:12px}.mindmap-scope .tool-button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.mindmap-scope .tool-button:disabled{opacity:.4;cursor:not-allowed}.mindmap-scope #zoom-label{min-width:32px;color:var(--muted);font-size:11px;text-align:center}.mindmap-scope .selection-bar{display:flex;align-items:center;gap:7px;min-height:56px;padding:8px 12px;border-top:1px solid var(--line);background:#fff;overflow-x:auto}.mindmap-scope .selection-label{min-width:75px;max-width:120px;overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px}.mindmap-scope .selection-action{min-height:35px;padding:0 9px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:11px;white-space:nowrap}.mindmap-scope .style-sheet-backdrop,.mindmap-scope .square-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;align-items:flex-end;justify-content:center;padding:12px;background:#191f3061}.mindmap-scope .style-sheet,.mindmap-scope .square-sheet{width:min(100%,480px);max-height:88vh;overflow:auto;padding:16px;border-radius:22px 22px 14px 14px;background:#fff;box-shadow:0 18px 50px #141e3c38}.mindmap-scope .style-sheet-head,.mindmap-scope .square-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.mindmap-scope .style-sheet-head h2,.mindmap-scope .square-sheet-head h2{margin:0;font-size:20px}.mindmap-scope .sheet-handle{width:42px;height:4px;margin:0 auto 10px;border-radius:999px;background:#dce1ec}.mindmap-scope .style-tabs,.mindmap-scope .palette-tabs,.mindmap-scope .segmented-control{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:12px 0;padding:4px;border-radius:12px;background:#f1f3f8}.mindmap-scope .style-tab,.mindmap-scope .segment{min-height:34px;border-radius:9px;color:var(--muted);font-size:11px;font-weight:800}.mindmap-scope .style-tab.active,.mindmap-scope .segment.active{color:var(--ink);background:#fff}.mindmap-scope .style-scroll{max-height:62vh;overflow:auto}.mindmap-scope .style-grid,.mindmap-scope .shape-grid,.mindmap-scope .speech-style-grid,.mindmap-scope .edge-style-grid,.mindmap-scope .square-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mindmap-scope .style-card,.mindmap-scope .shape-option,.mindmap-scope .speech-style-card,.mindmap-scope .edge-style-card,.mindmap-scope .square-action{padding:10px;border:1px solid var(--line);border-radius:12px;background:#fbfcff;text-align:left}.mindmap-scope .style-card.selected,.mindmap-scope .shape-option.selected,.mindmap-scope .speech-style-card.selected,.mindmap-scope .edge-style-card.selected{border-color:var(--accent);background:var(--accent-soft)}.mindmap-scope .style-section-title{margin:12px 0 7px;color:var(--muted);font-size:11px;font-weight:800}.mindmap-scope .swatch-grid,.mindmap-scope .square-color-grid,.mindmap-scope .square-marker-grid{display:flex;flex-wrap:wrap;gap:8px}.mindmap-scope .color-swatch,.mindmap-scope .fill-swatch,.mindmap-scope .square-color-swatch{width:30px;height:30px;border:3px solid #fff;border-radius:50%;background:var(--swatch,#eee);box-shadow:0 0 0 1px #d6dce8}.mindmap-scope .square-action-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:10px}.mindmap-scope .square-action{min-height:76px;display:grid;place-items:center;text-align:center}.mindmap-scope .square-action-icon{font-size:22px}.mindmap-scope .more-list,.mindmap-scope .trash-list{display:grid;gap:8px}.mindmap-scope .security-card,.mindmap-scope .more-entry,.mindmap-scope .trash-card{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid var(--line);border-radius:14px;background:#fff}.mindmap-scope .security-card{justify-content:space-between;margin-bottom:14px}.mindmap-scope .security-card h2{margin:4px 0;font-size:16px}.mindmap-scope .security-card p{margin:0;color:var(--muted);font-size:11px}.mindmap-scope .security-badge{padding:4px 7px;border-radius:8px;background:#e8f8f1;color:#26936c;font-size:11px;font-weight:800}.mindmap-scope .more-entry{width:100%;text-align:left}.mindmap-scope .more-entry-icon{width:28px;text-align:center;color:var(--accent);font-size:20px}.mindmap-scope .more-entry span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1}.mindmap-scope .more-entry small,.mindmap-scope .trash-card-main span{color:var(--muted);font-size:11px}.mindmap-scope .more-entry>b{color:#b7becc;font-size:20px}.mindmap-scope .trash-card{justify-content:space-between}.mindmap-scope .trash-card-main{display:flex;flex-direction:column;gap:4px}.mindmap-scope .trash-card-actions{display:flex;gap:5px}.mindmap-scope .trash-card-actions button{padding:7px 8px;border-radius:9px;background:var(--accent-soft);color:var(--accent);font-size:11px}.mindmap-scope .trash-card-actions .danger{color:var(--danger);background:#fff0f2}.mindmap-scope .square-image-preview{max-width:100%;max-height:240px;object-fit:contain;border-radius:10px}.mindmap-scope .square-sheet-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.mindmap-scope .square-sheet-help,.mindmap-scope .line-color-help,.mindmap-scope .style-help{color:var(--muted);font-size:11px;line-height:1.5}.mindmap-scope .line-color-grid{display:grid;grid-template-columns:18px repeat(10,1fr);gap:3px}.mindmap-scope .line-color-cell{min-height:27px;border-radius:6px;background:var(--swatch,#eee)}.mindmap-scope .mini-preview{position:relative;display:block;background:#f5f7ff}.mindmap-scope .mini-preview i{position:absolute;display:block;height:3px;border-radius:4px;background:#8794ee}.mindmap-scope .mini-root{left:42%;top:42%;width:34px;height:20px!important;border-radius:6px!important;background:#5665f2!important}.mindmap-scope .mini-branch{left:58%;width:30%;transform-origin:left center}.mindmap-scope .mini-branch.one{top:28%;transform:rotate(-18deg);background:#e95b83}.mindmap-scope .mini-branch.two{top:50%;background:#2a9df4}.mindmap-scope .mini-branch.three{top:72%;transform:rotate(18deg);background:#42bfa9}.mindmap-scope,.mindmap-scope .phone-shell{height:100%;min-height:0}.mindmap-scope .editor-shell{flex:1 1 auto;height:auto;min-height:0}.mindmap-scope .canvas-wrap{flex:1 1 0%;min-height:0;position:relative;overflow:hidden}.mindmap-scope .home-topbar{height:88px;flex-basis:88px;padding:16px 20px;background:#fff}.mindmap-scope .home-topbar .lock-brand{font-size:16px;color:#2b3043}.mindmap-scope .home-topbar .brand-mark{width:38px;height:38px;border-radius:13px;font-size:18px}.mindmap-scope .home-topbar .topbar-title{position:absolute;left:50%;transform:translate(-50%);width:min(52%,260px);text-align:center;align-items:center}.mindmap-scope .home-topbar .topbar-title strong{font-size:17px;letter-spacing:.01em}.mindmap-scope .home-topbar .topbar-title span{font-size:11px}.mindmap-scope .home-topbar .topbar-link{margin-left:auto;font-size:12px}.mindmap-scope .home-topbar .icon-button{width:38px;height:38px;padding:0;border-radius:13px;display:grid;place-items:center;font-size:18px}.mindmap-scope .mindmap-home-shell{padding:28px 20px 104px;background:#f7f8fc}.mindmap-scope .mindmap-home-shell .home-heading{margin-bottom:22px}.mindmap-scope .mindmap-home-shell .home-heading h1{font-size:31px;letter-spacing:-.02em}.mindmap-scope .mindmap-home-shell .home-heading p{font-size:13px;margin-top:7px}.mindmap-scope .mindmap-home-shell .new-button{padding:12px 16px;border-radius:14px;box-shadow:0 8px 18px #635bdf2e}.mindmap-scope .mindmap-empty-card{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:34px 22px;border:1.5px dashed #cfd5e3;border-radius:24px;background:#ffffff94;box-shadow:inset 0 1px #ffffffd9}.mindmap-scope .mindmap-empty-card .empty-glyph{width:64px;height:64px;display:grid;place-items:center;border-radius:20px;background:#eeecff;font-size:34px}.mindmap-scope .mindmap-empty-card h2{font-size:20px;margin:18px 0 7px}.mindmap-scope .mindmap-empty-card p{max-width:230px;margin:0 0 18px;font-size:13px;line-height:1.55}.mindmap-scope .mindmap-empty-card .secondary-button{padding:11px 18px;border-radius:12px;color:var(--accent);font-weight:800;background:#fff}.mindmap-scope .mindmap-map-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mindmap-scope .mindmap-map-grid .map-card{min-height:76px;padding:6px;border-radius:14px;background:#fff;box-shadow:0 5px 14px #212b4b0d}.mindmap-scope .mindmap-map-grid .map-card-open{min-height:64px;grid-template-columns:minmax(0,1fr) auto;gap:5px;padding:6px 34px 6px 7px}.mindmap-scope .mindmap-map-grid .mini-preview{display:none}.mindmap-scope .mindmap-map-grid .map-card-main{gap:4px}.mindmap-scope .mindmap-map-grid .map-card-main strong{font-size:14px}.mindmap-scope .mindmap-map-grid .map-card-main span{overflow:hidden;margin-top:0;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.mindmap-scope .mindmap-map-grid .map-card-arrow{font-size:18px}.mindmap-scope .mindmap-map-grid .map-menu{top:4px;right:4px;width:28px;height:28px;font-size:18px}@media(max-width:620px){.mindmap-scope .mindmap-home-shell .mindmap-map-grid{grid-template-columns:1fr}}@media(max-width:620px){.mindmap-scope .home-topbar{padding:14px}.mindmap-scope .home-topbar .topbar-title{width:44%}.mindmap-scope .mindmap-home-shell{padding:22px 16px 104px}.mindmap-scope .mindmap-home-shell .home-heading h1{font-size:28px}.mindmap-scope .mindmap-empty-card{min-height:330px}}.mindmap-scope{--ink: #1d2433;--muted: #7f899b;--line: #dfe4ee;--surface: #ffffff;--canvas: #fbfcfe;--accent: #5665f2;--accent-deep: #4350d7;--accent-soft: #eef0ff;--danger: #d95265;--shadow: 0 18px 50px rgba(39, 50, 85, .12);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:var(--ink);background:#e9edf5;font-synthesis:none}.mindmap-scope *{box-sizing:border-box}.mindmap-scope{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(145deg,#eef1f8,#e5eaf4)}.mindmap-scope button,.mindmap-scope input{font:inherit}.mindmap-scope button{border:0;cursor:pointer}.mindmap-scope #app{min-height:100vh}.mindmap-scope .phone-shell{width:min(100%,480px);min-height:100vh;margin:0 auto;background:var(--surface);box-shadow:var(--shadow);overflow:hidden}.mindmap-scope .lock-screen{min-height:100vh;padding:30px 26px 32px;display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(circle at 90% 0%,#e7eaff 0,transparent 42%),#f8f9fd}.mindmap-scope .lock-brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:15px;font-weight:800;letter-spacing:.04em}.mindmap-scope .brand-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:13px;color:#fff;background:linear-gradient(145deg,#6878ff,#414ed0);box-shadow:0 8px 18px #5160e74d}.mindmap-scope .lock-card{padding:27px 2px 10px}.mindmap-scope .eyebrow{margin:0 0 10px;color:var(--accent);font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.mindmap-scope .lock-card h1{margin:0;max-width:350px;font-size:clamp(29px,8vw,42px);line-height:1.12;letter-spacing:-.04em}.mindmap-scope .lock-card p{margin:16px 0 28px;color:var(--muted);font-size:15px;line-height:1.65}.mindmap-scope .field-label{display:block;margin:18px 0 8px;color:var(--muted);font-size:13px;font-weight:700}.mindmap-scope .input-wrap{position:relative}.mindmap-scope .text-input{width:100%;height:54px;padding:0 48px 0 16px;border:1px solid var(--line);border-radius:16px;outline:none;color:var(--ink);background:#fff;transition:border-color .18s,box-shadow .18s}.mindmap-scope .text-input:focus{border-color:var(--accent);box-shadow:0 0 0 4px #5665f21f}.mindmap-scope .reveal-button{position:absolute;top:50%;right:12px;width:34px;height:34px;transform:translateY(-50%);color:var(--muted);background:transparent}.mindmap-scope .primary-button{width:100%;min-height:54px;margin-top:24px;border-radius:16px;color:#fff;font-weight:800;background:var(--accent);box-shadow:0 10px 22px #5665f23d;transition:transform .18s,background .18s}.mindmap-scope .primary-button:active{transform:translateY(1px);background:var(--accent-deep)}.mindmap-scope .secondary-button{min-height:46px;padding:0 17px;border:1px solid var(--line);border-radius:14px;color:var(--ink);background:#fff;font-weight:750}.mindmap-scope .text-button{padding:8px 0;color:var(--accent);background:transparent;font-weight:750}.mindmap-scope .lock-error{min-height:21px;margin:10px 0 0;color:var(--danger);font-size:13px;font-weight:700}.mindmap-scope .lock-foot{color:var(--muted);font-size:12px;line-height:1.6}.mindmap-scope .topbar{min-height:76px;display:flex;align-items:center;justify-content:space-between;padding:14px 20px 10px;background:#ffffffeb;border-bottom:1px solid #edf0f6}.mindmap-scope .topbar-title{min-width:0;text-align:center}.mindmap-scope .topbar-title strong{display:block;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px}.mindmap-scope .topbar-title span{display:block;margin-top:3px;color:var(--muted);font-size:11px}.mindmap-scope .editor-actions{display:flex;align-items:center;gap:2px}.mindmap-scope .broom-button,.mindmap-scope .recenter-button{font-size:20px}.mindmap-scope .icon-button{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:var(--ink);background:transparent;font-size:21px}.mindmap-scope .icon-button:active{background:var(--accent-soft)}.mindmap-scope .icon-button[disabled]{color:#c4c9d4;cursor:default}.mindmap-scope .home-content{padding:24px 20px 110px}.mindmap-scope .home-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:22px}.mindmap-scope .home-heading h1{margin:0;font-size:31px;letter-spacing:-.05em}.mindmap-scope .home-heading p{margin:7px 0 0;color:var(--muted);font-size:13px}.mindmap-scope .new-button{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 15px;border-radius:14px;color:#fff;background:var(--accent);font-size:13px;font-weight:800;box-shadow:0 8px 18px #5665f238}.mindmap-scope .new-button b{font-size:20px;line-height:1}.mindmap-scope .empty-state{padding:58px 20px;border:1px dashed #cfd5e2;border-radius:24px;color:var(--muted);text-align:center;background:#fafbfe}.mindmap-scope .empty-glyph{width:60px;height:60px;display:grid;place-items:center;margin:0 auto 17px;border-radius:20px;color:var(--accent);background:var(--accent-soft);font-size:26px}.mindmap-scope .empty-state h2{margin:0;color:var(--ink);font-size:18px}.mindmap-scope .empty-state p{margin:9px 0 22px;font-size:13px;line-height:1.6}.mindmap-scope .map-list{display:grid;gap:14px}.mindmap-scope .map-card{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center;padding:12px;border:1px solid #e5e8f0;border-radius:20px;background:#fff;box-shadow:0 7px 20px #232e4b0d;transition:border-color .18s}.mindmap-scope .map-card:focus-within,.mindmap-scope .map-card:has(.map-card-open:active){border-color:#bac1ff}.mindmap-scope .map-card-open{min-width:0;display:grid;grid-template-columns:102px minmax(0,1fr) auto;gap:14px;align-items:center;padding:0;border-radius:13px;text-align:left;background:transparent}.mindmap-scope .map-card-open:active{transform:scale(.99)}.mindmap-scope .map-menu{width:40px;height:40px;border-radius:12px;color:var(--muted);background:transparent;font-size:20px;letter-spacing:2px}.mindmap-scope .map-menu:active,.mindmap-scope .map-menu:focus-visible{color:var(--accent);background:var(--accent-soft)}.mindmap-scope .mini-preview{height:76px;position:relative;overflow:hidden;border-radius:14px;background:#f4f5ff}.mindmap-scope .mini-preview .mini-root,.mindmap-scope .mini-preview .mini-branch{position:absolute;height:7px;border-radius:6px;background:#5d6bf0}.mindmap-scope .mini-preview .mini-root{width:30px;left:34px;top:36px;background:#252e54}.mindmap-scope .mini-preview .mini-branch{width:35px;left:60px}.mindmap-scope .mini-preview .one{top:22px;background:#7884fa}.mindmap-scope .mini-preview .two{top:35px;background:#a1a9ff}.mindmap-scope .mini-preview .three{top:48px;background:#c1c7ff}.mindmap-scope .map-card-main{min-width:0}.mindmap-scope .map-card-main strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.mindmap-scope .map-card-main span{display:block;margin-top:6px;color:var(--muted);font-size:12px}.mindmap-scope .map-card-arrow{color:#b3bac8;font-size:22px}.mindmap-scope .more-content{padding:24px 20px 110px}.mindmap-scope .security-card{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px;padding:17px;border:1px solid #dfe4ff;border-radius:20px;background:linear-gradient(145deg,#f5f6ff,#fff)}.mindmap-scope .security-card .eyebrow{margin-bottom:5px;font-size:10px}.mindmap-scope .security-card h2{margin:0;font-size:18px}.mindmap-scope .security-card p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.mindmap-scope .security-badge{flex:0 0 auto;padding:6px 8px;border-radius:9px;color:#3b8f6e;background:#e8f8f0;font-size:11px;font-weight:800}.mindmap-scope .more-list{display:grid;gap:10px}.mindmap-scope .more-entry{width:100%;min-height:70px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:11px;padding:10px 13px;border:1px solid #e5e8f0;border-radius:17px;color:var(--ink);background:#fff;text-align:left;box-shadow:0 6px 16px #232e4b0a}.mindmap-scope .more-entry:active{border-color:#bcc4ff;background:#fbfbff}.mindmap-scope .more-entry-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;color:var(--accent);background:var(--accent-soft);font-size:20px}.mindmap-scope .more-entry strong,.mindmap-scope .more-entry small{display:block}.mindmap-scope .more-entry strong{font-size:14px}.mindmap-scope .more-entry small{margin-top:4px;color:var(--muted);font-size:11px}.mindmap-scope .more-entry>b{color:#b3bac8;font-size:22px;font-weight:400}.mindmap-scope .trash-list{display:grid;gap:12px}.mindmap-scope .trash-card{padding:15px;border:1px solid #e5e8f0;border-radius:18px;background:#fff;box-shadow:0 6px 16px #232e4b0a}.mindmap-scope .trash-card-main strong,.mindmap-scope .trash-card-main span{display:block}.mindmap-scope .trash-card-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.mindmap-scope .trash-card-main span{margin-top:6px;color:var(--muted);font-size:11px}.mindmap-scope .trash-card-actions{display:flex;gap:8px;margin-top:13px}.mindmap-scope .trash-card-actions .secondary-button{min-height:38px;padding:0 12px;font-size:12px}.mindmap-scope .secondary-button.danger{color:var(--danger);border-color:#f0cbd1;background:#fff8f9}.mindmap-scope .lock-recovery-actions{display:grid;gap:4px;margin-top:9px}.mindmap-scope .text-area-input{min-height:84px;height:auto;padding:13px 16px;resize:vertical;line-height:1.5}.mindmap-scope .modal-inline-error{min-height:18px;margin:9px 0 0!important;color:var(--danger)!important;font-size:12px!important;font-weight:700}.mindmap-scope .checkbox-field{display:flex;align-items:flex-start;gap:8px;margin-top:15px;color:var(--muted);font-size:12px;line-height:1.5}.mindmap-scope .checkbox-field input{width:18px;height:18px;flex:0 0 auto;accent-color:var(--accent)}.mindmap-scope .recovery-word-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:5px 0 0;padding:0;list-style:none}.mindmap-scope .recovery-word-grid li{min-height:35px;display:flex;align-items:center;gap:5px;padding:0 6px;border:1px solid #e3e7f0;border-radius:9px;background:#fafbff}.mindmap-scope .recovery-word-grid li b{color:#a2aabd;font-size:10px}.mindmap-scope .recovery-word-grid li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:750}.mindmap-scope .recovery-segment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 8px;margin:6px 0 0;padding:0;list-style:none}.mindmap-scope .recovery-segment{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:3px;color:var(--muted);font-size:11px;font-weight:800}.mindmap-scope .recovery-segment-input{width:100%;min-width:0;height:37px;padding:0 3px;border:0;border-bottom:2px solid #cdd3e3;border-radius:0;outline:none;color:var(--ink);background:transparent;text-align:center;font-size:12px;font-weight:800}.mindmap-scope .recovery-segment-input:focus{border-color:var(--accent);box-shadow:0 2px #5665f229}.mindmap-scope .recovery-segment-display{margin-top:8px}.mindmap-scope .recovery-segment-display li{min-width:0;min-height:38px;display:flex;align-items:center;gap:6px;padding:0 7px;border:1px solid #e3e7f0;border-radius:9px;background:#fafbff}.mindmap-scope .recovery-segment-index{flex:0 0 auto;color:#a2aabd;font-size:10px;font-weight:800}.mindmap-scope .recovery-segment-display code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;font-weight:800}.mindmap-scope .import-credential-mode{display:flex;gap:15px;margin-top:14px;color:var(--ink);font-size:13px;font-weight:750}.mindmap-scope .import-credential-mode label{display:inline-flex;align-items:center;gap:6px}.mindmap-scope .import-credential-mode input{width:17px;height:17px;accent-color:var(--accent)}.mindmap-scope .bottom-nav{position:fixed;bottom:0;z-index:5;width:min(100%,480px);display:grid;grid-template-columns:1fr 1fr;padding:9px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid #e9ecf3;background:#fffffff0;backdrop-filter:blur(16px)}.mindmap-scope .nav-button{min-height:46px;border-radius:15px;color:var(--muted);background:transparent;font-size:12px;font-weight:800}.mindmap-scope .nav-button.active{color:var(--accent);background:var(--accent-soft)}.mindmap-scope .editor-shell{min-height:100vh;position:relative;display:flex;flex-direction:column;background:var(--canvas)}.mindmap-scope .canvas-wrap{position:relative;flex:1;min-height:0;overflow:hidden;touch-action:none;background-color:var(--editor-canvas, var(--canvas));background-image:none;background-size:auto}.mindmap-scope .structure-decoration-orbit{fill:none;stroke:#aeb8ca;stroke-width:1.5;stroke-dasharray:5 10;opacity:.58;vector-effect:non-scaling-stroke}.mindmap-scope .structure-decoration-petal{stroke:none;fill-opacity:.045}.mindmap-scope .structure-decoration-fishbone{stroke-width:5;stroke-linecap:round;opacity:.22;vector-effect:non-scaling-stroke}.mindmap-scope .structure-decoration-metro{stroke-width:6;stroke-linecap:round;opacity:.15;vector-effect:non-scaling-stroke}.mindmap-scope .structure-decoration-star-fan{fill:currentColor;fill-opacity:.025;stroke-width:2;stroke-linejoin:round;opacity:.5;vector-effect:non-scaling-stroke}.mindmap-scope .edges path{fill:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;transition:opacity .18s,stroke-width .18s}.mindmap-scope .map-node{position:absolute;min-width:116px;max-width:190px;min-height:46px;display:flex;align-items:center;justify-content:center;padding:10px 14px;border:2px solid var(--node-border, #6b78f0);border-radius:15px;color:var(--node-text, var(--ink));background:var(--node-fill, white);box-shadow:0 9px 18px #37426f1f;text-align:center;font-family:var(--font-family, inherit);font-size:15px;font-weight:750;white-space:pre-wrap;overflow:visible;overflow-wrap:anywhere;user-select:none;cursor:pointer;touch-action:none;-webkit-touch-callout:none;transform:translate(-50%,-50%)}.mindmap-scope .node-drag-touch-lines path{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;opacity:.88}.mindmap-scope .node-drop-preview-edges path{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;opacity:.72}.mindmap-scope .node-drop-label{position:absolute;max-width:230px;padding:6px 9px;border:1px solid rgba(86,101,242,.2);border-radius:999px;color:var(--accent-strong);background:#fffffff0;box-shadow:0 5px 14px #37426f24;font-size:11px;font-weight:800;line-height:1.25;text-align:center;white-space:nowrap;transform:translate(-50%,-100%)}.mindmap-scope .free-topic-star{display:inline-block;margin-right:4px;color:var(--accent);font-size:.82em;font-weight:900;line-height:1;transform:translateY(-.2em)}.mindmap-scope .map-node.root{min-width:148px;min-height:58px;border-color:var(--node-border, #2b355f);color:var(--root-text, white);background:var(--root-fill, #2b355f);box-shadow:0 12px 22px #2b355f38}.mindmap-scope .irregular-node-surface path[data-irregular-sector-fill]{stroke-linejoin:round;vector-effect:non-scaling-stroke}.mindmap-scope .irregular-node-surface.selected path:not([data-irregular-sector-fill]){vector-effect:non-scaling-stroke}.mindmap-scope .map-node.irregular-mosaic-topic{padding:8px 18px;border:0;border-radius:0;color:var(--node-text, var(--ink));background:transparent;box-shadow:none}.mindmap-scope .map-node.irregular-mosaic-topic.root{color:var(--node-text, var(--ink));background:transparent;box-shadow:none}.mindmap-scope .map-node.irregular-table-topic{padding:12px 16px;border:0;border-radius:0;color:var(--node-text, var(--ink));background:transparent;box-shadow:none}.mindmap-scope .map-node.irregular-table-topic.root{color:var(--node-text, var(--ink));background:transparent;box-shadow:none}.mindmap-scope .map-node.irregular-sunburst-topic{padding:6px;border:0;border-radius:0;color:var(--node-text, var(--ink));background:transparent;box-shadow:none}.mindmap-scope .map-node.irregular-sunburst-topic.root{color:var(--root-text, white);background:transparent;box-shadow:none}.mindmap-scope .shape-option{min-height:128px;gap:5px}.mindmap-scope .shape-option small{color:var(--muted);font-size:10px;line-height:1.2}.mindmap-scope .shape-option.shape-rect i{border-radius:2px}.mindmap-scope .shape-option.shape-pill i{border-radius:999px}.mindmap-scope .shape-option.shape-diamond i{border-radius:3px;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}.mindmap-scope .shape-option.shape-parallelogram i{border-radius:4px;clip-path:polygon(10% 0,100% 0,90% 100%,0 100%)}.mindmap-scope .shape-option.shape-trapezoid i{border-radius:4px;clip-path:polygon(12% 0,88% 0,100% 100%,0 100%)}.mindmap-scope .shape-option.shape-octagon i{border-radius:4px;clip-path:polygon(14% 0,86% 0,100% 24%,100% 76%,86% 100%,14% 100%,0 76%,0 24%)}.mindmap-scope .theme-midnight .topbar,.mindmap-scope .theme-midnight .selection-bar,.mindmap-scope .theme-midnight .canvas-tools{border-color:#30465e;background:#16263af0}.mindmap-scope .theme-midnight .selection-label,.mindmap-scope .theme-midnight #zoom-label{color:#b9c8da}.mindmap-scope .theme-midnight .tool-button{color:#f5f8fc;background:#29425b}.mindmap-scope .theme-midnight .tool-button:disabled{color:#6e8297;background:#20364c}.mindmap-scope .node-text{display:inline;color:var(--node-text-override, inherit);background:var(--node-text-bg, transparent);border-radius:4px;font-size:var(--node-font-size, inherit);font-weight:var(--node-weight, inherit);text-decoration-line:var(--node-decoration, none);text-decoration-thickness:2px;text-underline-offset:2px;padding:2px 3px}.mindmap-scope .map-node.vertical-text-node{padding:10px 9px;white-space:normal;overflow-wrap:normal}.mindmap-scope .vertical-node-text{display:inline-block;writing-mode:vertical-rl;text-orientation:upright;white-space:pre;line-height:1.2}.mindmap-scope .node-editor{width:100%;min-height:24px;border:0;outline:0;resize:none;color:var(--node-text-override, inherit);background:var(--node-text-bg, transparent);text-align:center;font:inherit;font-size:var(--node-font-size, inherit);font-weight:var(--node-weight, inherit);text-decoration-line:var(--node-decoration, none);text-decoration-thickness:2px;text-underline-offset:2px}.mindmap-scope .node-meta-label[style*=--node-meta-color]>span{color:var(--node-meta-color);text-shadow:0 0 0 #fff}.mindmap-scope .theme-midnight .node-meta-row{border-color:#425575;background:#1a263af0}.mindmap-scope .theme-midnight .node-meta-label{color:#dbe5f3;border-color:#465d7a;background:#29425b}.mindmap-scope .canvas-tools{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;min-width:0;padding:10px 15px;border-top:1px solid #e8ebf3;background:#fffffff5}.mindmap-scope .tool-button.square-toggle{min-width:44px;padding:0 8px;font-size:19px;line-height:1}.mindmap-scope .square-cancel-mode{width:auto;min-width:50px;padding:0 8px;color:var(--accent);font-size:12px;font-weight:800}.mindmap-scope .topbar-link{min-height:36px;padding:0 8px;color:var(--accent);background:transparent;font-size:12px;font-weight:800;white-space:nowrap}.mindmap-scope .square-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:35;display:flex;align-items:end;justify-content:center;padding:14px;background:#141b2f6b;backdrop-filter:blur(4px)}.mindmap-scope .square-sheet-close{width:34px;height:34px;border-radius:10px;color:var(--muted);background:#f1f3f8;font-size:22px;line-height:1}.mindmap-scope .square-sheet-help{margin:0 0 13px;color:var(--muted);font-size:12px;line-height:1.55}.mindmap-scope .square-field-label{display:block;margin:0 0 7px;color:var(--muted);font-size:12px;font-weight:800}.mindmap-scope .square-textarea,.mindmap-scope .square-text-input{width:100%;box-sizing:border-box;border:1px solid #dfe4ef;border-radius:13px;outline:0;color:var(--ink);background:#fbfcff;font:inherit;font-size:14px}.mindmap-scope .square-textarea{min-height:155px;padding:11px;resize:vertical;line-height:1.55}.mindmap-scope .square-text-input{min-height:44px;padding:0 12px}.mindmap-scope .square-textarea:focus,.mindmap-scope .square-text-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #5665f21f}.mindmap-scope .square-sheet-actions{display:flex;justify-content:end;gap:8px;margin-top:13px}.mindmap-scope .square-sheet-actions .primary-button,.mindmap-scope .square-sheet-actions .secondary-button{width:auto;min-width:94px;margin:0;padding:0 14px}.mindmap-scope .square-color-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;padding:2px 0 14px}.mindmap-scope .square-color-swatch{width:100%;aspect-ratio:1;border:3px solid white;border-radius:12px;background:var(--square-color);box-shadow:0 0 0 1px #d8deea}.mindmap-scope .square-color-swatch.selected{box-shadow:0 0 0 3px var(--accent),0 0 0 6px #fff}.mindmap-scope .square-color-swatch:active{transform:scale(.91)}.mindmap-scope .square-clear-button{min-height:40px;padding:0 12px;border:1px solid #dfe4ef;border-radius:11px;color:var(--muted);background:#fbfcff;font-size:12px;font-weight:800}.mindmap-scope .square-marker-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding-bottom:14px}.mindmap-scope .square-marker{min-height:43px;display:grid;place-items:center;border:1px solid #e0e5f0;border-radius:11px;color:var(--ink);background:#fbfcff;font-size:18px;font-weight:850}.mindmap-scope .square-marker[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 2px #5665f21f}.mindmap-scope .square-marker:active{transform:scale(.93)}.mindmap-scope .square-source-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.mindmap-scope .square-source-button,.mindmap-scope .square-file-button{min-height:72px;display:grid;place-items:center;border:1px solid #e0e5f0;border-radius:15px;color:var(--ink);background:#fbfcff;font-size:14px;font-weight:800}.mindmap-scope .square-source-button input,.mindmap-scope .square-file-button input{display:none}.mindmap-scope .square-file-button{min-height:48px}.mindmap-scope .square-record-button{width:100%;min-height:46px;margin-top:10px;border-radius:13px;color:#fff;background:var(--accent);font-size:13px;font-weight:800}.mindmap-scope .square-record-status{margin:8px 0 0;color:var(--muted);font-size:12px;text-align:center}.mindmap-scope .formula-preview{min-height:52px;display:grid;place-items:center;margin-top:10px;padding:10px;border-radius:12px;color:#46506f;background:#f5f7fc;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px;white-space:pre-wrap;word-break:break-word}.mindmap-scope .square-image-preview{display:block;width:100%;max-height:min(52vh,430px);object-fit:contain;border-radius:14px;background:#f5f7fc}.mindmap-scope .square-media-info,.mindmap-scope .square-url-value{margin:9px 0 0;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.mindmap-scope .square-media-empty{display:grid;min-height:90px;place-items:center;padding:12px;border-radius:14px;color:var(--muted);background:#f5f7fc;font-size:13px;text-align:center}.mindmap-scope .square-audio-player,.mindmap-scope .square-video-player{width:100%;margin:8px 0 2px}.mindmap-scope .square-video-player{max-height:min(52vh,430px);border-radius:14px;background:#111827}.mindmap-scope .square-download-button,.mindmap-scope .square-open-url{display:flex;min-height:44px;align-items:center;justify-content:center;margin-top:8px;border-radius:12px;color:#fff;background:var(--accent);font-size:13px;font-weight:800;text-decoration:none}.mindmap-scope .square-formula-value{max-height:45vh;overflow:auto;margin:0;padding:13px;border-radius:13px;color:#46506f;background:#f5f7fc;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px;white-space:pre-wrap;word-break:break-word}.mindmap-scope .square-sheet-actions .secondary-button.danger{color:var(--danger);border-color:#f0cbd1;background:#fff8f9}.mindmap-scope .node-marker{position:absolute;top:-11px;left:-11px;min-width:21px;height:21px;display:grid;place-items:center;padding:0 3px;border:2px solid white;border-radius:50%;color:#fff;background:var(--accent);box-shadow:0 3px 8px #37426f2e;font-size:11px;font-weight:900}.mindmap-scope .node-badge{position:absolute;right:5px;bottom:3px;color:var(--muted);font-size:10px}.mindmap-scope .map-node.root .node-badge{color:#ffffffc7}.mindmap-scope .relation-path{pointer-events:none;fill:none;stroke-linecap:round;stroke-linejoin:round}.mindmap-scope .relation-overlay{z-index:6}.mindmap-scope .line-control:before{content:"";width:var(--control-size, 12px);height:var(--control-size, 12px);box-sizing:border-box;display:block}.mindmap-scope .edge-color-control:before{border:max(1px,calc(var(--control-size, 12px) * .18)) solid white;border-radius:max(2px,calc(var(--control-size, 12px) * .18));background:#f7f8ff;box-shadow:0 0 0 1px #aeb9de,0 2px 5px #37426f33}.mindmap-scope .line-control:active,.mindmap-scope .line-control:focus-visible{transform:translate(-50%,-50%) scale(.94)}.mindmap-scope .edge-color-control:active:before,.mindmap-scope .edge-color-control:focus-visible:before{border-color:var(--accent);box-shadow:0 0 0 2px #5665f233}.mindmap-scope .relation-handle:before{border-radius:50%;background:#fff;box-shadow:0 0 0 max(1px,calc(var(--control-size, 12px) * .18)) var(--accent),0 2px 5px #37426f33}.mindmap-scope .relation-handle:active:before,.mindmap-scope .relation-handle:focus-visible:before{background:var(--accent)}.mindmap-scope .relation-delete-control:before{content:"×";display:grid;place-items:center;border-radius:50%;color:#d34f67;background:#fff7f8;box-shadow:0 0 0 max(1px,calc(var(--control-size, 12px) * .18)) #d34f67,0 2px 5px #37426f33;font-size:max(7px,calc(var(--control-size, 12px) * .72));line-height:1;text-align:center}.mindmap-scope .relation-delete-control:active:before,.mindmap-scope .relation-delete-control:focus-visible:before{color:#b93850;background:#fff0f2}.mindmap-scope .line-color-scope-button,.mindmap-scope .line-color-original{min-height:38px;padding:5px 7px;border:1px solid #dce2ee;border-radius:10px;color:var(--muted);background:#f7f8fb;font-size:11px;font-weight:800;line-height:1.25}.mindmap-scope .line-color-grid{display:grid;gap:4px;padding:4px 0 2px}.mindmap-scope .line-color-cell{position:relative;width:100%;min-height:31px;display:grid;place-items:center;padding:3px;border:0;border-radius:7px;background:transparent}.mindmap-scope .line-color-cell:before{content:"";width:22px;height:22px;display:block;border:2px solid white;border-radius:6px;background:var(--line-swatch);box-shadow:0 0 0 1px #d6dce8}.mindmap-scope .aa-panel{flex:0 0 auto;padding:9px 10px 10px;border-top:1px solid #e8ebf3;background:#fffffffa}.mindmap-scope .aa-format-one-row::-webkit-scrollbar{display:none}.mindmap-scope .aa-button:active{transform:scale(.92)}.mindmap-scope .aa-size{font-size:16px}.mindmap-scope .aa-current{min-height:31px;display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.mindmap-scope .aa-original-button{min-width:47px;height:31px;padding:0 8px;border:1px solid #dce2ee;border-radius:9px;color:var(--muted);background:#f7f8fb;font-size:11px;font-weight:800;white-space:nowrap}.mindmap-scope .aa-original-button:active{transform:scale(.92)}.mindmap-scope .aa-current{color:var(--ink);font-weight:800}.mindmap-scope .aa-current-swatch{width:20px;height:20px;display:inline-grid;place-items:center;border:2px solid white;border-radius:6px;background:var(--aa-swatch);box-shadow:0 0 0 1px #d4dbe8}.mindmap-scope .aa-current-none{color:#9ca3af;background:#f1f3f7;font-size:10px}.mindmap-scope .aa-recent{min-width:0;display:flex;align-items:center;gap:5px;margin:0;overflow:hidden;color:var(--muted);font-size:10px;white-space:nowrap}.mindmap-scope .aa-recent-label{min-height:27px;display:inline-flex;align-items:center;padding:0 7px;border:1px solid #dce2ee;border-radius:8px;background:#fbfcff}.mindmap-scope .aa-recent-list{min-width:0;display:flex;align-items:center;gap:3px;overflow-x:auto;scrollbar-width:none}.mindmap-scope .aa-recent-list::-webkit-scrollbar{display:none}.mindmap-scope .aa-recent-cell{width:27px!important;height:27px!important;min-height:27px!important;padding:3px!important}.mindmap-scope .aa-recent-cell:before{width:19px;height:19px}.mindmap-scope .aa-recent-empty{color:#a7afbd}.mindmap-scope .aa-grid-corner{width:19px;height:1px}.mindmap-scope .aa-color-cell:before{content:"";width:22px;height:22px;display:block;border:2px solid white;border-radius:6px;background:var(--aa-swatch);box-shadow:0 0 0 1px #d6dce8}.mindmap-scope .aa-color-cell:active{transform:scale(.92)}.mindmap-scope .theme-midnight .aa-panel{border-color:#30465e;background:#16263afa}.mindmap-scope .theme-midnight .aa-button{color:#f5f8fc;background:#29425b}.mindmap-scope .theme-midnight .aa-button.active{color:#dbe1ff;background:#3b4f78}.mindmap-scope .theme-midnight .aa-size-label,.mindmap-scope .theme-midnight .aa-color-summary,.mindmap-scope .theme-midnight .aa-recent,.mindmap-scope .theme-midnight .aa-grid-column,.mindmap-scope .theme-midnight .aa-grid-row-label,.mindmap-scope .theme-midnight .aa-mode-button{color:#b9c8da}.mindmap-scope .theme-midnight .aa-mode-button.active{color:#182237;background:#e7ecf5}.mindmap-scope .style-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;align-items:end;justify-content:center;padding:14px;background:#1a203461;backdrop-filter:blur(3px)}.mindmap-scope .style-sheet{width:min(100%,480px);max-height:min(88vh,790px);display:flex;flex-direction:column;padding:13px 15px max(15px,env(safe-area-inset-bottom));border-radius:25px 25px 18px 18px;background:#fff;box-shadow:var(--shadow)}.mindmap-scope .sheet-handle{width:42px;height:4px;margin:0 auto 11px;border-radius:999px;background:#dce1ec}.mindmap-scope .style-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.mindmap-scope .style-sheet-head .eyebrow{margin-bottom:4px}.mindmap-scope .style-sheet-head h2{margin:0;font-size:21px;letter-spacing:-.04em}.mindmap-scope .style-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:14px 0 13px;padding:4px;border-radius:13px;background:#f1f3f8}.mindmap-scope .style-tab{min-height:38px;padding:0 3px;border-radius:10px;color:var(--muted);background:transparent;font-size:12px;font-weight:800}.mindmap-scope .style-tab.active{color:var(--ink);background:#fff;box-shadow:0 3px 8px #28304e17}.mindmap-scope .style-content{min-height:0;display:flex;flex:1;flex-direction:column}.mindmap-scope .style-scroll{min-height:0;flex:1;overflow-y:auto;padding:2px 1px 5px}.mindmap-scope .style-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:2px 0 5px}.mindmap-scope .style-card{min-width:0;display:flex;flex-direction:column;align-items:stretch;padding:9px;border:1px solid #e2e6f0;border-radius:16px;color:var(--ink);background:#fbfcff;text-align:left}.mindmap-scope .style-card.selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 3px #5665f21f}.mindmap-scope .style-card:active{transform:scale(.985)}.mindmap-scope .style-card strong{margin-top:6px;font-size:13px}.mindmap-scope .style-card>span:not(.theme-swatch){margin-top:3px;color:var(--muted);font-size:11px;line-height:1.35}.mindmap-scope .style-preview{width:100%;height:76px;border-radius:11px;background:#f4f6fb}.mindmap-scope .theme-card{min-height:132px}.mindmap-scope .theme-swatch{height:74px;display:block;position:relative;overflow:hidden;border-radius:11px;background:var(--swatch-canvas)}.mindmap-scope .theme-swatch:before{content:"";position:absolute;left:16%;right:16%;top:47%;height:4px;border-radius:3px;background:var(--swatch-line);box-shadow:28px -14px 0 -1px var(--swatch-line),54px 14px 0 -1px var(--swatch-line)}.mindmap-scope .theme-swatch:after{content:"";position:absolute;left:43%;top:28%;width:25px;height:25px;border-radius:8px;background:var(--swatch-root);box-shadow:0 2px 7px #00000026}.mindmap-scope .style-section-title{margin:14px 7px 7px;color:var(--muted);font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.mindmap-scope .style-section-title:first-child{margin-top:4px}.mindmap-scope .style-row{width:100%;min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #edf0f6;color:var(--ink);background:transparent;text-align:left}.mindmap-scope .style-row:active{background:#f7f8fe}.mindmap-scope .style-row-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.mindmap-scope .style-row-copy strong{font-size:14px}.mindmap-scope .style-row-copy small{color:var(--muted);font-size:11px;line-height:1.35}.mindmap-scope .style-row-value{flex:0 0 auto;color:var(--muted);font-size:12px}.mindmap-scope .style-row-value b{margin-left:4px;color:#b7becc;font-size:18px;font-weight:400;vertical-align:-1px}.mindmap-scope .style-switch-row{cursor:pointer}.mindmap-scope .style-switch{width:42px;height:25px;position:relative;flex:0 0 auto;border-radius:999px;background:#dfe4ed;transition:background .18s}.mindmap-scope .style-switch i{width:19px;height:19px;position:absolute;top:3px;left:3px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #242c4a38;transition:transform .18s}.mindmap-scope .style-switch.on{background:var(--accent)}.mindmap-scope .style-switch.on i{transform:translate(17px)}.mindmap-scope .nested-back{min-height:36px;align-self:flex-start;padding:0 2px;color:var(--accent);background:transparent;font-size:13px;font-weight:800}.mindmap-scope .nested-title{margin:5px 2px 15px;font-size:22px;letter-spacing:-.04em}.mindmap-scope .palette-tabs,.mindmap-scope .segmented-control{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:0 0 12px;padding:4px;border-radius:13px;background:#f1f3f8}.mindmap-scope .segment{min-height:36px;border-radius:10px;color:var(--muted);background:transparent;font-size:12px;font-weight:800}.mindmap-scope .segment.active{color:var(--ink);background:#fff;box-shadow:0 3px 8px #28304e17}.mindmap-scope .palette-card{min-height:132px}.mindmap-scope .palette-preview{height:74px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;border-radius:11px;background:var(--palette-canvas)}.mindmap-scope .palette-preview:before{content:"";width:43px;height:22px;border-radius:7px;background:#28325c;box-shadow:-23px 0 0 -7px #28325c}.mindmap-scope .palette-preview i{width:52px;height:4px;position:absolute;left:46%;border-radius:4px;transform-origin:left center}.mindmap-scope .palette-preview i:nth-child(1){top:28%;background:var(--palette-a);transform:rotate(-20deg)}.mindmap-scope .palette-preview i:nth-child(2){top:42%;background:var(--palette-b)}.mindmap-scope .palette-preview i:nth-child(3){top:56%;background:var(--palette-c)}.mindmap-scope .palette-preview i:nth-child(4){top:70%;background:var(--palette-d);transform:rotate(18deg)}.mindmap-scope .style-help{margin:0 3px 14px;color:var(--muted);font-size:12px;line-height:1.55}.mindmap-scope .swatch-grid{display:flex;flex-wrap:wrap;gap:10px;padding:4px 2px 14px}.mindmap-scope .color-swatch,.mindmap-scope .fill-swatch{width:34px;height:34px;border:3px solid white;border-radius:50%;background:var(--swatch);box-shadow:0 0 0 1px #dce2ee}.mindmap-scope .color-swatch:active,.mindmap-scope .fill-swatch:active{transform:scale(.92)}.mindmap-scope .color-input-row,.mindmap-scope .style-row-inline{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 3px;color:var(--ink);font-size:13px;font-weight:750}.mindmap-scope .color-input-row input{width:54px;height:34px;padding:0;border:0;border-radius:9px;overflow:hidden;background:transparent}.mindmap-scope .width-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.mindmap-scope .width-card{min-height:78px;display:grid;place-items:center;gap:7px;padding:7px 3px;border:1px solid #e2e6f0;border-radius:13px;color:var(--ink);background:#fbfcff}.mindmap-scope .width-card.selected{border-color:var(--accent);background:var(--accent-soft)}.mindmap-scope .width-card span{width:38px;height:var(--line-width);border-radius:99px;background:var(--accent)}.mindmap-scope .width-card strong{font-size:11px}.mindmap-scope .range-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin-top:17px;padding:0 3px;color:var(--muted);font-size:12px}.mindmap-scope .range-row input{width:100%;accent-color:var(--accent)}.mindmap-scope .range-row output{min-width:35px;color:var(--ink);text-align:right}.mindmap-scope .fill-basic{display:grid;grid-template-columns:repeat(6,1fr);gap:13px;padding:7px 5px 15px}.mindmap-scope .fill-swatch{width:37px;height:37px}.mindmap-scope .fill-swatch.selected{box-shadow:0 0 0 3px var(--accent-soft),0 0 0 5px var(--accent)}.mindmap-scope .fill-advanced{display:grid;gap:13px;padding:7px 3px 15px}.mindmap-scope .fill-advanced input{width:100%;height:40px;border:0;border-radius:10px}.mindmap-scope .color-gradient{height:156px;border-radius:14px;background:linear-gradient(135deg,#fff 0%,transparent 48%),linear-gradient(0deg,#111 0%,transparent 70%),linear-gradient(90deg,#ef476f,#f9c74f,#43aa8b,#5775e8)}.mindmap-scope .style-row-inline{border-top:1px solid #edf0f6}.mindmap-scope .style-row-inline input{width:20px;height:20px;accent-color:var(--accent)}.mindmap-scope .font-list{display:grid;gap:8px}.mindmap-scope .font-option{min-height:62px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 8px;padding:9px 12px;border:1px solid #e2e6f0;border-radius:14px;color:var(--ink);background:#fbfcff;text-align:left}.mindmap-scope .font-option span{font-size:16px}.mindmap-scope .font-option small{color:var(--muted);font-family:inherit;font-size:11px}.mindmap-scope .font-option b{grid-row:1 / span 2;grid-column:2;color:var(--accent);font-size:19px}.mindmap-scope .font-option.selected{border-color:var(--accent);background:var(--accent-soft)}.mindmap-scope .shape-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.mindmap-scope .shape-option{min-height:112px;display:grid;place-items:center;gap:8px;padding:12px;border:1px solid #e2e6f0;border-radius:16px;color:var(--ink);background:#fbfcff}.mindmap-scope .shape-option i{width:64px;height:37px;border:3px solid var(--accent);border-radius:12px;background:#eef0ff}.mindmap-scope .shape-option.shape-circle i{border-radius:50%}.mindmap-scope .shape-option.shape-hex i{border-radius:7px;clip-path:polygon(14% 0,86% 0,100% 25%,100% 75%,86% 100%,14% 100%,0 75%,0 25%)}.mindmap-scope .shape-option.shape-table i{border-radius:4px;box-shadow:inset 0 -9px #5665f21f}.mindmap-scope .shape-option.selected{border-color:var(--accent);background:var(--accent-soft)}.mindmap-scope .speech-preview{min-height:190px;display:grid;place-items:center;align-content:center;gap:10px;margin-bottom:13px;border-radius:18px;color:#fff;background:#20263a;text-align:center}.mindmap-scope .speech-preview.speech-light{color:#20263a;background:#f4f6fb}.mindmap-scope .speech-preview.speech-colorful{background:linear-gradient(135deg,#5665f2,#c653a7)}.mindmap-scope .speech-preview strong{font-size:21px}.mindmap-scope .speech-preview i{width:75px;height:4px;display:block;border-radius:3px;background:#f08aa6}.mindmap-scope .speech-preview i:nth-of-type(2){background:#83baf3}.mindmap-scope .speech-preview i:nth-of-type(3){background:#eac46d}.mindmap-scope .speech-style-grid,.mindmap-scope .aspect-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.mindmap-scope .speech-style-card,.mindmap-scope .aspect-card{min-height:92px;display:grid;place-items:center;gap:5px;border:1px solid #e2e6f0;border-radius:15px;color:var(--ink);background:#fbfcff}.mindmap-scope .speech-style-card span{font-size:13px;font-weight:800}.mindmap-scope .speech-style-card strong{font-size:12px}.mindmap-scope .speech-style-card.speech-dark{color:#fff;background:#20263a}.mindmap-scope .speech-style-card.speech-light{background:#f4f6fb}.mindmap-scope .speech-style-card.speech-colorful{color:#fff;background:linear-gradient(135deg,#5665f2,#c653a7)}.mindmap-scope .speech-style-card.selected,.mindmap-scope .aspect-card.selected{border-color:var(--accent);box-shadow:0 0 0 3px #5665f21f}.mindmap-scope .aspect-card{grid-template-columns:1fr auto;padding:13px;text-align:left}.mindmap-scope .aspect-card i{width:45px;height:32px;display:block;border:2px solid var(--accent);border-radius:4px}.mindmap-scope .aspect-card:nth-child(3) i{width:28px;height:45px}.mindmap-scope .aspect-card:nth-child(4) i{width:24px;height:37px}.mindmap-scope .edge-style-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.mindmap-scope .edge-style-card{min-height:86px;display:grid;place-items:center;gap:10px;padding:8px;border:1px solid #e2e6f0;border-radius:14px;color:var(--ink);background:#fbfcff}.mindmap-scope .edge-style-card.selected{border-color:var(--accent);background:var(--accent-soft)}.mindmap-scope .edge-style-card span{width:66px;height:4px;border-radius:9px;background:var(--accent)}.mindmap-scope .edge-style-card:nth-child(2) span{background:repeating-linear-gradient(90deg,var(--accent) 0 11px,transparent 11px 18px)}.mindmap-scope .edge-style-card:nth-child(3) span{background:repeating-linear-gradient(90deg,var(--accent) 0 3px,transparent 3px 10px)}.mindmap-scope .edge-style-card strong{font-size:12px}.mindmap-scope .template-picker{max-height:53vh;overflow-y:auto;margin-top:5px}.mindmap-scope .template-group+.template-group{margin-top:14px}.mindmap-scope .template-group-title{margin:0 0 7px;color:var(--muted);font-size:12px;font-weight:800}.mindmap-scope .template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mindmap-scope .template-choice{min-width:0;padding:7px;border:1px solid #e3e7f0;border-radius:13px;color:var(--ink);background:#fbfcff;text-align:left}.mindmap-scope .template-choice.selected{border-color:var(--accent);background:var(--accent-soft)}.mindmap-scope .template-choice .style-preview{height:54px}.mindmap-scope .template-choice strong{display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.mindmap-scope .template-choice span{display:block;margin-top:2px;overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px}.mindmap-scope .modal--new-map{max-height:calc(100vh - 24px);display:flex;flex-direction:column;padding:15px}.mindmap-scope .modal--new-map>p{flex:0 0 auto;margin:5px 0 7px}.mindmap-scope .modal--new-map>.field-label{flex:0 0 auto;margin:7px 0 4px}.mindmap-scope .modal--new-map>.text-input{flex:0 0 auto;min-height:42px}.mindmap-scope .modal--new-map .template-picker{min-height:0;max-height:53vh;flex:1 1 auto;margin-top:8px}.mindmap-scope .template-category-tabs{position:sticky;top:0;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-bottom:9px;padding:4px;border:1px solid #e2e7f1;border-radius:15px;background:#f2f4fa}.mindmap-scope .template-category-tabs [role=tab]{min-width:44px;min-height:50px;border:0;border-radius:11px;color:var(--muted);background:transparent;font:inherit;font-size:14px;font-weight:800}.mindmap-scope .template-category-tabs [role=tab][aria-selected=true]{color:var(--ink);background:#fff;box-shadow:0 1px 4px #1f29401f}.mindmap-scope .template-panel[hidden]{display:none!important}.mindmap-scope .template-scenes{margin-top:14px}.mindmap-scope .template-scenes .template-group-title{margin-bottom:7px}.mindmap-scope .selection-bar{display:flex;align-items:center;gap:8px;min-height:58px;padding:9px 15px;border-top:1px solid #e8ebf3;background:#fff;overflow-x:auto}.mindmap-scope .square-selection-action{min-width:42px;padding:0 8px;color:var(--ink);font-size:18px;line-height:1}.mindmap-scope .square-selection-action.active{color:var(--accent);background:var(--accent-soft)}.mindmap-scope .selection-label{min-width:92px;overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px}.mindmap-scope .selection-action{min-height:38px;padding:0 11px;border:1px solid #e4e7f0;border-radius:12px;color:var(--ink);background:#fff;font-size:12px;font-weight:750;white-space:nowrap}.mindmap-scope .selection-action.danger{color:var(--danger)}.mindmap-scope .modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:end center;padding:18px;background:#1a203461;backdrop-filter:blur(3px)}.mindmap-scope .modal{width:min(100%,440px);padding:20px;border-radius:23px;background:#fff;box-shadow:var(--shadow)}.mindmap-scope .modal h2{margin:0;font-size:20px;letter-spacing:-.03em}.mindmap-scope .modal p{margin:8px 0 17px;color:var(--muted);font-size:13px;line-height:1.6}.mindmap-scope .modal-actions{display:flex;justify-content:end;gap:8px;margin-top:18px}.mindmap-scope .modal-actions .primary-button{width:auto;min-width:110px;margin-top:0;padding:0 17px}.mindmap-scope .modal-actions .secondary-button{min-width:80px}.mindmap-scope .modal-action{width:100%;min-height:44px;margin-bottom:8px;padding:0 14px;border:1px solid #dfe4ee;border-radius:13px;color:var(--ink);background:#fbfcff;font-size:13px;font-weight:800;text-align:left}.mindmap-scope .modal-action:active{background:#f1f3ff;border-color:#bcc4ff}.mindmap-scope .modal-danger{width:100%;min-height:44px;padding:0 14px;border:1px solid #f0cbd1;border-radius:13px;color:var(--danger);background:#fff8f9;font-size:13px;font-weight:800;text-align:left}.mindmap-scope .modal-danger:active{background:#fff0f2}.mindmap-scope .toast{position:fixed;z-index:40;left:50%;bottom:85px;max-width:calc(100% - 40px);padding:10px 15px;border-radius:12px;transform:translate(-50%,14px);color:#fff;background:#252e45;box-shadow:var(--shadow);font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.mindmap-scope .toast.visible{transform:translate(-50%);opacity:1}@media(min-width:481px){.mindmap-scope .phone-shell{min-height:min(900px,100vh);margin:20px auto;border-radius:28px}.mindmap-scope .lock-screen{min-height:min(900px,100vh);border-radius:28px}.mindmap-scope .bottom-nav{bottom:20px;border-radius:0 0 28px 28px}}@media(max-width:480px){.mindmap-scope .selection-bar{gap:6px;padding-left:12px;padding-right:12px}.mindmap-scope .selection-label{min-width:78px;font-size:11px}.mindmap-scope .selection-action{padding-left:8px;padding-right:8px;font-size:11px}.mindmap-scope .square-selection-action{min-width:40px;padding-left:0;padding-right:0}.mindmap-scope .canvas-tools{gap:4px;padding:8px 10px;overflow:hidden}.mindmap-scope .canvas-tools .tool-group{min-width:0;gap:4px}.mindmap-scope .canvas-tools .tool-group+.tool-group{margin-left:0}.mindmap-scope .canvas-tools .history-group{margin-right:auto}.mindmap-scope .canvas-tools .tool-button{width:34px;min-width:34px;height:40px;padding-left:3px;padding-right:3px;font-size:12px}.mindmap-scope .canvas-tools .tool-button.aa-toggle{width:40px;min-width:40px;padding-left:0;padding-right:0;font-size:15px}.mindmap-scope .canvas-tools #zoom-label{min-width:29px;font-size:11px;text-align:center}.mindmap-scope .canvas-tools .tool-group-actions{margin-left:auto}.mindmap-scope .canvas-tools #center-map{width:42px;min-width:42px;padding-left:1px;padding-right:1px;line-height:1.1;white-space:normal}.mindmap-scope .canvas-tools #save-map{width:44px;min-width:44px;padding-left:2px;padding-right:2px}}@media(max-width:360px){.mindmap-scope .aa-format-row{gap:3px}.mindmap-scope .aa-button{width:32px}.mindmap-scope .aa-color-head{gap:3px}.mindmap-scope .aa-mode-button{padding:0 5px;font-size:9px}.mindmap-scope .aa-color-summary{gap:4px;font-size:9px}.mindmap-scope .aa-color-cell{min-height:27px;padding:2px}.mindmap-scope .aa-color-cell:before{width:18px;height:18px}.mindmap-scope .aa-grid-head,.mindmap-scope .aa-grid-row{gap:2px}.mindmap-scope .aa-grid-head,.mindmap-scope .aa-grid-row{grid-template-columns:16px repeat(10,minmax(0,1fr))}.mindmap-scope .aa-grid-corner{width:16px}}@media(min-width:600px){.mindmap-scope{width:100%;flex:1 1 auto;min-width:0}.mindmap-scope .phone-shell{width:100%;margin:0;border-radius:0;box-shadow:none}.mindmap-scope .bottom-nav{width:100%;bottom:0;border-radius:0}}.mindmap-scope .fill-scope-option{min-width:0;min-height:57px;display:grid;grid-template-columns:29px minmax(0,1fr);align-items:center;gap:8px;padding:8px 9px;border:1px solid #e2e6f0;border-radius:13px;color:var(--ink);background:#fbfcff;text-align:left}.mindmap-scope .fill-scope-swatch,.mindmap-scope .fill-status-swatch{width:27px;height:27px;display:block;border:2px solid white;border-radius:8px;background:var(--fill-scope-color, var(--fill-swatch));box-shadow:0 0 0 1px #d6dce8}.mindmap-scope .fill-scope-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.mindmap-scope .fill-scope-copy small{overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px}.mindmap-scope .fill-saturation-tab{min-height:34px;border-radius:9px;color:var(--muted);background:transparent;font-size:11px;font-weight:800}.mindmap-scope .fill-grid-cell{position:relative;width:100%;min-width:0;min-height:29px;display:grid;place-items:center;padding:3px;border:0;border-radius:7px;background:transparent}.mindmap-scope .fill-grid-cell:before{content:"";width:22px;height:22px;display:block;border:2px solid white;border-radius:6px;background:var(--fill-swatch);box-shadow:0 0 0 1px #d6dce8}.mindmap-scope .editor-shell{position:relative;display:flex;flex:1 1 auto;flex-direction:column;height:auto;min-height:0;padding-top:calc(76px + env(safe-area-inset-top,0px));background:var(--canvas)}.mindmap-scope .editor-topbar{background:#fbfcfef0}.mindmap-scope .save-state{display:block;margin-top:3px;color:var(--muted);font-size:11px}.mindmap-scope .save-state.saving{color:var(--accent)}.mindmap-scope .save-state.saved{color:#3c9b78}.mindmap-scope .save-state.error{color:var(--danger)}.mindmap-scope .canvas-wrap{position:relative;flex:1 1 0%;min-height:0;overflow:hidden;touch-action:none;background-color:var(--editor-canvas,var(--canvas));background-image:none;background-size:auto}.mindmap-scope .world{position:absolute;left:50%;top:50%;width:1px;height:1px;transform-origin:0 0}.mindmap-scope .edges{position:absolute;left:0;top:0;overflow:visible;pointer-events:none}.mindmap-scope .edges path{fill:none;stroke:var(--edge-stroke,var(--branch-color,#6b78f0));stroke-width:4;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;transition:opacity .18s,stroke-width .18s}.mindmap-scope .edges path.taper{filter:drop-shadow(0 1px 1px rgba(40,50,85,.12))}.mindmap-scope .map-node{position:absolute;min-width:116px;max-width:190px;min-height:46px;display:flex;align-items:center;justify-content:center;padding:10px 14px;border:2px solid var(--node-border,#6b78f0);border-radius:15px;color:var(--node-text,var(--ink));background:var(--node-fill,#fff);box-shadow:0 9px 18px #37426f1f;text-align:center;font-family:var(--font-family,inherit);font-size:15px;font-weight:750;white-space:pre-wrap;overflow:visible;overflow-wrap:anywhere;user-select:none;cursor:pointer;touch-action:none;-webkit-touch-callout:none;transform:translate(-50%,-50%)}.mindmap-scope .map-node.node-dragging{z-index:18;cursor:grabbing;opacity:.82;filter:saturate(1.08);box-shadow:0 0 0 5px #5665f233,0 16px 30px #37426f3d}.mindmap-scope .map-node[data-node-drop-target=true]{z-index:17;box-shadow:0 0 0 6px #5665f238,0 12px 24px #37426f33}.mindmap-scope .node-drag-preview{position:absolute;top:0;right:0;bottom:0;left:0;z-index:24;pointer-events:none}.mindmap-scope .node-drag-touch-lines{position:absolute;left:0;top:0;width:1px;height:1px;overflow:visible;pointer-events:none}.mindmap-scope .node-drag-touch-lines path,.mindmap-scope .node-drop-preview-edges path{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;opacity:.88}.mindmap-scope .node-drop-preview-edges{position:absolute;left:0;top:0;width:1px;height:1px;overflow:visible;pointer-events:none}.mindmap-scope .node-drop-slot{position:absolute;width:198px;height:5px;border-radius:999px;background:var(--accent);box-shadow:0 0 0 4px #5665f226,0 3px 10px #5665f247;transform:translate(-50%,-50%);animation:node-drop-pulse 1s ease-in-out infinite}.mindmap-scope .node-drop-slot[data-axis=x]{width:5px;height:94px}.mindmap-scope .node-drop-ghost{position:absolute;display:grid;place-items:center;padding:10px 14px;border:2px dashed var(--accent);border-radius:15px;color:var(--accent);background:#ffffffb8;font-size:14px;font-weight:800;text-align:center;white-space:pre-wrap;overflow:hidden;opacity:.72;transform:translate(-50%,-50%)}.mindmap-scope .node-drop-label{position:absolute;max-width:230px;padding:6px 9px;border:1px solid rgba(86,101,242,.2);border-radius:999px;color:var(--accent);background:#fffffff0;box-shadow:0 5px 14px #37426f24;font-size:11px;font-weight:800;line-height:1.25;text-align:center;white-space:nowrap;transform:translate(-50%,-100%)}@keyframes node-drop-pulse{0%,to{opacity:.72}50%{opacity:1}}.mindmap-scope .map-node.free-topic{touch-action:none;cursor:grab}.mindmap-scope .map-node.free-topic.dragging{cursor:grabbing;box-shadow:0 0 0 5px #5665f22e,0 12px 24px #37426f33}.mindmap-scope .free-topic-star{position:static;display:inline-block;flex:0 0 auto;margin-right:4px;color:var(--accent);font-size:.82em;font-weight:900;line-height:1;transform:translateY(-.2em)}.mindmap-scope .map-node.root{min-width:148px;min-height:58px;border-color:var(--node-border,#2b355f);color:var(--root-text,#fff);background:var(--root-fill,#2b355f);box-shadow:0 12px 22px #2b355f38}.mindmap-scope .irregular-node-surfaces{position:absolute;left:0;top:0;pointer-events:none}.mindmap-scope .irregular-node-surface{position:absolute;overflow:visible;pointer-events:auto;cursor:pointer}.mindmap-scope .irregular-node-surface:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.mindmap-scope .edges.structure-decorations [data-irregular-region],.mindmap-scope .edges.structure-decorations [data-irregular-table-cell]{pointer-events:visiblePainted;cursor:pointer}.mindmap-scope .map-node.irregular-mosaic-topic,.mindmap-scope .map-node.irregular-table-topic{padding:10px 16px;border:0;border-radius:0;color:var(--node-text,var(--ink));background:transparent;box-shadow:none}.mindmap-scope .map-node.irregular-mosaic-topic.root,.mindmap-scope .map-node.irregular-table-topic.root{color:var(--node-text,var(--ink));background:transparent;box-shadow:none}.mindmap-scope .map-node.irregular-sunburst-topic{padding:6px;border:0;border-radius:0;color:var(--node-text,var(--ink));background:transparent;box-shadow:none}.mindmap-scope .map-node.irregular-sunburst-topic.root{color:var(--root-text,#fff);background:transparent;box-shadow:none}.mindmap-scope .map-node.irregular-sunburst-topic.sunburst-label-hidden{visibility:hidden;pointer-events:none}.mindmap-scope .map-node.selected{z-index:1}.mindmap-scope .node-selection-halo{position:absolute;z-index:0;display:block;overflow:visible;pointer-events:none}.mindmap-scope .map-node.shape-circle{border-radius:50%}.mindmap-scope .map-node.shape-hex{border-radius:8px;clip-path:polygon(12% 0,88% 0,100% 22%,100% 78%,88% 100%,12% 100%,0 78%,0 22%)}.mindmap-scope .map-node.shape-table{border-radius:5px;box-shadow:0 3px 8px #37426f14}.mindmap-scope .map-node.shape-rect{border-radius:3px}.mindmap-scope .map-node.shape-pill{border-radius:999px}.mindmap-scope .map-node.shape-diamond{padding-right:26px;padding-left:26px;border-radius:5px;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}.mindmap-scope .map-node.shape-parallelogram{padding-right:21px;padding-left:21px;border-radius:6px;clip-path:polygon(10% 0,100% 0,90% 100%,0 100%)}.mindmap-scope .map-node.shape-trapezoid{padding-right:21px;padding-left:21px;border-radius:6px;clip-path:polygon(12% 0,88% 0,100% 100%,0 100%)}.mindmap-scope .map-node.shape-octagon{border-radius:6px;clip-path:polygon(14% 0,86% 0,100% 24%,100% 76%,86% 100%,14% 100%,0 76%,0 24%)}.mindmap-scope .node-toggle{position:absolute;top:-11px;right:-11px;width:26px;height:26px;display:grid;place-items:center;border:2px solid #dfe4ff;border-radius:50%;color:var(--accent);background:#fff;box-shadow:0 4px 10px #37426f29;font-size:16px;font-weight:900;line-height:1}.mindmap-scope .node-toggle:active{transform:scale(.92)}.mindmap-scope .map-node.root .node-toggle{border-color:#6d79c7;color:#fff;background:#3b477e}.mindmap-scope .node-text{display:inline;color:var(--node-text-override,inherit);background:var(--node-text-bg,transparent);border-radius:4px;font-size:var(--node-font-size,inherit);font-weight:var(--node-weight,inherit);text-decoration-line:var(--node-decoration,none);text-decoration-thickness:2px;text-underline-offset:2px;padding:2px 3px}.mindmap-scope .node-editor{width:100%;min-height:24px;border:0;outline:0;resize:none;color:var(--node-text-override,inherit);background:var(--node-text-bg,transparent);text-align:center;font:inherit;font-size:var(--node-font-size,inherit);font-weight:var(--node-weight,inherit);text-decoration-line:var(--node-decoration,none);text-decoration-thickness:2px;text-underline-offset:2px}.mindmap-scope .node-meta-row{position:absolute;top:calc(100% + 5px);left:50%;z-index:3;display:flex;align-items:center;justify-content:center;gap:4px;max-width:min(320px,80vw);padding:3px 5px;border:1px solid rgba(211,218,234,.92);border-radius:999px;background:#fffffff0;box-shadow:0 4px 10px #37426f21;transform:translate(-50%);white-space:nowrap}.mindmap-scope .node-meta-label{width:25px;height:25px;display:grid;place-items:center;flex:0 0 auto;padding:0;border:1px solid #dfe4ef;border-radius:8px;color:#6d7892;background:#f7f8fc;font-size:13px;font-weight:850;line-height:1;touch-action:manipulation}.mindmap-scope .node-meta-label>span{display:block;max-width:21px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mindmap-scope .node-meta-label:active,.mindmap-scope .node-meta-label:focus-visible{color:var(--accent);border-color:var(--accent);background:var(--accent-soft);transform:scale(.92)}.mindmap-scope .canvas-tools{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;min-width:0;position:relative;top:auto;right:auto;bottom:auto;left:auto;flex:0 0 auto;padding:10px 15px;border:0;border-top:1px solid #e8ebf3;border-radius:0;background:#fffffff5;box-shadow:none;z-index:9}.mindmap-scope .tool-group{display:flex;align-items:center;gap:8px}.mindmap-scope .tool-group+.tool-group{margin-left:auto}.mindmap-scope .tool-button{min-width:42px;height:42px;padding:0 12px;border-radius:13px;color:var(--ink);background:#f5f6fa;font-size:13px;font-weight:800}.mindmap-scope .tool-button.primary{color:#fff;background:var(--accent)}.mindmap-scope .tool-button:active{transform:scale(.96)}.mindmap-scope .tool-button:disabled{color:#c4c9d4;background:#f7f8fb;cursor:default;opacity:.68;transform:none}.mindmap-scope .tool-button.aa-toggle{min-width:46px;padding:0 8px;letter-spacing:-.08em;font-size:16px}.mindmap-scope .tool-button.active{color:var(--accent);background:var(--accent-soft)}.mindmap-scope .square-menu-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:12;display:flex;align-items:flex-end;justify-content:center;padding:0 12px 78px;background:#13192d38;backdrop-filter:blur(2px)}.mindmap-scope .square-menu{width:min(100%,420px);max-height:min(58vh,470px);overflow-y:auto;padding:13px 12px 14px;border:1px solid rgba(255,255,255,.14);border-radius:24px;color:#f7f8ff;background:#1a2039f7;box-shadow:0 18px 45px #13193747}.mindmap-scope .square-menu-title{margin:0 4px 10px;color:#aeb9dc;font-size:11px;font-weight:800;letter-spacing:.08em}.mindmap-scope .square-action-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.mindmap-scope .square-action{min-height:67px;display:grid;place-items:center;align-content:center;gap:5px;padding:6px 2px;border-radius:13px;color:#eef1ff;background:#ffffff14;font-size:11px;font-weight:750}.mindmap-scope .square-action-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;color:#d8deff;background:#7080cd3d;font-size:18px;font-weight:850}.mindmap-scope .square-action:active,.mindmap-scope .square-action:focus-visible{color:#fff;background:#6978f457;transform:scale(.96)}.mindmap-scope .square-action:active .square-action-icon,.mindmap-scope .square-action:focus-visible .square-action-icon{color:#fff;background:var(--accent)}.mindmap-scope .square-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:35;display:flex;align-items:flex-end;justify-content:center;padding:14px;background:#141b2f6b;backdrop-filter:blur(4px)}.mindmap-scope .square-sheet{width:min(100%,460px);max-height:min(86vh,730px);display:flex;flex-direction:column;padding:14px 16px max(16px,env(safe-area-inset-bottom));border-radius:25px 25px 18px 18px;color:var(--ink);background:#fff;box-shadow:var(--shadow)}.mindmap-scope .square-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.mindmap-scope .square-sheet-head h2{margin:0;font-size:21px;letter-spacing:-.04em}.mindmap-scope .square-sheet-content{min-height:0;overflow-y:auto;padding-top:13px}.mindmap-scope .square-sheet-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:13px}.mindmap-scope .line-control-layer{position:absolute;z-index:8;left:0;top:0;width:0;height:0;pointer-events:none}.mindmap-scope .line-control{position:absolute;width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;color:transparent;background:transparent;box-shadow:none;transform:translate(-50%,-50%);pointer-events:auto;font-size:0;font-weight:900;line-height:1;touch-action:none}.mindmap-scope .line-control:before{content:"";width:var(--control-size,12px);height:var(--control-size,12px);box-sizing:border-box;display:block}.mindmap-scope .edge-color-control:before{border:max(1px,calc(var(--control-size,12px)*.18)) solid #fff;border-radius:max(2px,calc(var(--control-size,12px)*.18));background:#f7f8ff;box-shadow:0 0 0 1px #aeb9de,0 2px 5px #37426f33}.mindmap-scope .relation-handle:before{border-radius:50%;background:#fff;box-shadow:0 0 0 max(1px,calc(var(--control-size,12px)*.18)) var(--accent),0 2px 5px #37426f33}.mindmap-scope .relation-delete-control:before{content:"×";display:grid;place-items:center;border-radius:50%;color:#d34f67;background:#fff7f8;box-shadow:0 0 0 max(1px,calc(var(--control-size,12px)*.18)) #d34f67,0 2px 5px #37426f33;font-size:max(7px,calc(var(--control-size,12px)*.72));line-height:1;text-align:center}.mindmap-scope .aa-panel{flex:0 0 auto;padding:9px 10px 10px;border-top:1px solid #e8ebf3;background:#fffffffa;z-index:10}.mindmap-scope .aa-format-one-row{width:100%;overflow-x:auto;scrollbar-width:none}.mindmap-scope .aa-format-row{display:flex;align-items:center;gap:5px;min-width:max-content}.mindmap-scope .aa-button{width:35px;height:32px;flex:0 0 auto;display:grid;place-items:center;padding:0;border-radius:9px;color:var(--ink);background:#f5f6fa;font-size:15px;font-weight:850}.mindmap-scope .aa-button.active{color:var(--accent);background:var(--accent-soft)}.mindmap-scope .aa-button sup{margin-left:1px;font-size:9px}.mindmap-scope .aa-size-label{min-width:36px;color:var(--muted);font-size:11px;text-align:center;white-space:nowrap}.mindmap-scope .aa-color-head{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;margin-top:8px}.mindmap-scope .aa-color-summary{min-width:max-content;display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px}.mindmap-scope .aa-color-mode{display:inline-grid;grid-template-columns:1fr 1fr;gap:3px;margin:0;padding:3px;border-radius:9px;background:#f1f3f8}.mindmap-scope .aa-mode-button{min-height:27px;padding:0 8px;border-radius:7px;color:var(--muted);background:transparent;font-size:10px;font-weight:800;white-space:nowrap}.mindmap-scope .aa-mode-button.active{color:var(--ink);background:#fff;box-shadow:0 2px 5px #28304e17}.mindmap-scope .aa-color-grid{display:grid;gap:3px;padding:6px 0 1px}.mindmap-scope .aa-grid-head,.mindmap-scope .aa-grid-row{display:grid;grid-template-columns:19px repeat(10,minmax(0,1fr));align-items:center;gap:3px}.mindmap-scope .aa-grid-column,.mindmap-scope .aa-grid-row-label{color:var(--muted);font-size:9px;font-weight:800;text-align:center}.mindmap-scope .aa-color-cell{position:relative;width:100%;min-width:0;min-height:30px;display:grid;place-items:center;padding:3px;border:0;border-radius:7px;background:transparent}.mindmap-scope .aa-color-cell:before{content:"";width:22px;height:22px;display:block;border:2px solid #fff;border-radius:6px;background:var(--aa-swatch);box-shadow:0 0 0 1px #d6dce8}.mindmap-scope .aa-color-cell.selected{background:var(--accent-soft)}.mindmap-scope .aa-color-cell.selected:before{box-shadow:0 0 0 2px var(--accent),0 0 0 4px #fff}@media(max-width:480px){.mindmap-scope .canvas-tools{gap:4px;padding:8px 10px;overflow:hidden}.mindmap-scope .canvas-tools .tool-group{min-width:0;gap:4px}.mindmap-scope .canvas-tools .tool-group+.tool-group{margin-left:0}.mindmap-scope .canvas-tools .history-group{margin-right:auto}.mindmap-scope .canvas-tools .tool-button{width:34px;min-width:34px;height:40px;padding-left:3px;padding-right:3px;font-size:12px}.mindmap-scope .canvas-tools .tool-button.aa-toggle{width:40px;min-width:40px;padding-left:0;padding-right:0;font-size:15px}.mindmap-scope .canvas-tools #zoom-label{min-width:29px;font-size:11px;text-align:center}.mindmap-scope .canvas-tools #center-map{width:42px;min-width:42px;padding-left:1px;padding-right:1px;line-height:1.1;white-space:normal}.mindmap-scope .square-action-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.mindmap-scope .square-menu{max-height:52vh;padding-bottom:10px}}.mindmap-scope .line-color-scope{display:grid;grid-template-columns:1fr 1.45fr 1.9fr;gap:6px;margin-bottom:12px}.mindmap-scope .line-color-scope-button,.mindmap-scope .line-color-original{min-width:0;min-height:38px;padding:5px 7px;border:1px solid #dce2ee;border-radius:10px;color:var(--muted);background:#f7f8fb;font-size:10px;font-weight:800;line-height:1.25;white-space:normal;overflow-wrap:anywhere}.mindmap-scope .line-color-scope-button.active,.mindmap-scope .line-color-original:active{color:var(--ink);border-color:var(--accent);background:var(--accent-soft)}.mindmap-scope .line-color-scope-button:disabled{color:#b6bdca;background:#f1f3f7;opacity:.7}.mindmap-scope .line-color-original{color:var(--muted);background:#fff}.mindmap-scope .line-color-grid{display:grid;grid-template-columns:1fr;gap:4px;padding:4px 0 2px}.mindmap-scope .aa-size-scope{display:flex;align-items:center;gap:6px;margin:7px 0 2px;color:var(--muted);font-size:10px;white-space:nowrap}.mindmap-scope .aa-size-scope>span{margin-right:2px;font-weight:750}.mindmap-scope .aa-size-scope button{min-height:28px;padding:3px 9px;border:1px solid #dce2ee;border-radius:9px;color:var(--muted);background:#f7f8fb;font-size:10px;font-weight:800;touch-action:manipulation}.mindmap-scope .aa-size-scope button.active{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.mindmap-scope .line-color-grid-head,.mindmap-scope .line-color-grid-row{display:grid;grid-template-columns:18px repeat(10,minmax(0,1fr));align-items:center;gap:3px}.mindmap-scope .line-color-grid-head>span,.mindmap-scope .line-color-row-label{color:var(--muted);font-size:9px;font-weight:800;text-align:center}.mindmap-scope .line-color-cell{position:relative;width:100%;min-height:31px;display:grid;place-items:center;padding:3px;border:0;border-radius:7px;background:transparent;touch-action:manipulation}.mindmap-scope .line-color-cell:before{content:"";width:22px;height:22px;display:block;border:2px solid #fff;border-radius:6px;background:var(--line-swatch,#eee);box-shadow:0 0 0 1px #d6dce8}.mindmap-scope .line-color-cell.selected{background:var(--accent-soft)}.mindmap-scope .line-color-cell.selected:before{box-shadow:0 0 0 2px var(--accent),0 0 0 4px #fff}.mindmap-scope .line-color-cell:active{transform:scale(.92)}.mindmap-scope .line-color-help{margin:10px 2px 0;color:var(--muted);font-size:11px;line-height:1.45}.mindmap-scope .fill-scope-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 12px}.mindmap-scope .fill-scope-option{min-width:0;min-height:57px;display:grid;grid-template-columns:29px minmax(0,1fr);align-items:center;gap:8px;padding:8px 9px;border:1px solid #e2e6f0;border-radius:13px;color:var(--ink);background:#fbfcff;text-align:left;touch-action:manipulation}.mindmap-scope .fill-scope-option.active{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 2px #5665f21a}.mindmap-scope .fill-scope-swatch,.mindmap-scope .fill-status-swatch{width:27px;height:27px;display:block;border:2px solid #fff;border-radius:8px;background:var(--fill-scope-color,var(--fill-swatch,#eee));box-shadow:0 0 0 1px #d6dce8}.mindmap-scope .fill-scope-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.mindmap-scope .fill-scope-copy strong,.mindmap-scope .fill-scope-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mindmap-scope .fill-scope-copy strong{font-size:12px}.mindmap-scope .fill-scope-copy small{color:var(--muted);font-size:10px}.mindmap-scope .fill-saturation-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0 0 8px;padding:4px;border-radius:12px;background:#f1f3f8}.mindmap-scope .fill-saturation-tab{min-height:34px;border-radius:9px;color:var(--muted);background:transparent;font-size:11px;font-weight:800;touch-action:manipulation}.mindmap-scope .fill-saturation-tab.active{color:var(--ink);background:#fff;box-shadow:0 3px 8px #28304e17}.mindmap-scope .fill-selection-status{min-height:34px;display:flex;align-items:center;gap:7px;margin:0 2px 4px;color:var(--muted);font-size:11px}.mindmap-scope .fill-status-swatch{width:21px;height:21px;border-radius:6px}.mindmap-scope .fill-selection-status b{margin-left:auto;color:var(--ink);font-size:11px}.mindmap-scope .fill-grid{display:grid;gap:3px;padding:3px 0 8px}.mindmap-scope .fill-grid-head,.mindmap-scope .fill-grid-row{display:grid;grid-template-columns:18px repeat(10,minmax(0,1fr));align-items:center;gap:3px}.mindmap-scope .fill-grid-head{margin-bottom:1px;color:var(--muted);font-size:9px;font-weight:800;text-align:center}.mindmap-scope .fill-grid-row-label{color:var(--muted);font-size:10px;font-weight:850;text-align:center}.mindmap-scope .fill-grid-cell{position:relative;width:100%;min-width:0;min-height:29px;display:grid;place-items:center;padding:3px;border:0;border-radius:7px;background:transparent;touch-action:manipulation}.mindmap-scope .fill-grid-cell:before{content:"";width:22px;height:22px;display:block;border:2px solid #fff;border-radius:6px;background:var(--fill-swatch,#eee);box-shadow:0 0 0 1px #d6dce8}.mindmap-scope .fill-grid-cell.selected{background:var(--accent-soft)}.mindmap-scope .fill-grid-cell.selected:before{box-shadow:0 0 0 2px var(--accent),0 0 0 4px #fff}.mindmap-scope .fill-grid-cell:active{transform:scale(.92)}.mindmap-scope .square-color-swatch{background:var(--square-color,#eee)}.mindmap-scope .editor-topbar{position:fixed;top:0;left:0;right:0;z-index:40;box-sizing:border-box;width:100%;height:auto;pointer-events:auto;min-height:calc(76px + env(safe-area-inset-top,0px));padding-top:calc(env(safe-area-inset-top,0px) + 14px)}.mindmap-scope .editor-toolbar-actions{position:relative;z-index:21;display:flex;align-items:center;justify-self:end;gap:7px;pointer-events:auto}.mindmap-scope .editor-history-actions{display:flex;align-items:center;gap:3px}.mindmap-scope .editor-history-actions .history-action{width:42px;min-width:42px;height:44px;border:1px solid #e2e6f0;border-radius:12px;color:var(--ink);background:#fff;font-size:23px;line-height:1}.mindmap-scope .editor-history-actions .history-action:disabled{color:#c4c9d4;background:#f7f8fb;opacity:.68}.mindmap-scope .editor-history-actions .history-save{width:auto;min-width:58px;height:42px;padding:0 12px;border-radius:12px;color:#fff;background:var(--accent);font-size:13px;font-weight:800;white-space:nowrap}.mindmap-scope .editor-title-button{max-width:min(230px,100%);min-width:0;display:flex;align-items:center;justify-content:center;gap:5px;margin:0 auto;padding:6px 8px;border:0;border-radius:10px;color:var(--ink);background:transparent;font-size:17px;font-weight:800;touch-action:manipulation}.mindmap-scope .editor-title-button>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mindmap-scope .editor-title-edit{flex:0 0 auto;color:var(--muted);font-size:13px}.mindmap-scope .editor-actions{position:relative;z-index:21;display:flex;align-items:center;gap:2px;pointer-events:auto}.mindmap-scope .editor-actions .icon-button{position:relative;z-index:22;width:48px;min-width:48px;height:48px;display:grid;place-items:center;padding:0;pointer-events:auto;touch-action:manipulation}.mindmap-scope .broom-button,.mindmap-scope .recenter-button{font-size:21px}.mindmap-scope .line-control{width:44px;height:44px;z-index:16;touch-action:manipulation}.mindmap-scope .square-menu-layer{overflow:hidden;touch-action:none}.mindmap-scope .square-menu{flex:0 1 auto;min-height:0;max-height:min(64vh,520px);overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-y;scroll-padding-bottom:18px}.mindmap-scope .square-action{touch-action:manipulation}@media(max-width:480px){.mindmap-scope .square-menu{max-height:calc(100% - 96px)}.mindmap-scope .square-action{min-height:60px}.mindmap-scope .square-menu-layer{padding-bottom:72px}}@media(max-width:360px){.mindmap-scope .aa-format-row{gap:3px}.mindmap-scope .aa-button{width:32px}.mindmap-scope .aa-color-head{gap:3px}.mindmap-scope .aa-mode-button{padding:0 5px;font-size:9px}.mindmap-scope .aa-color-summary{gap:4px;font-size:9px}.mindmap-scope .aa-color-cell{min-height:27px;padding:2px}.mindmap-scope .aa-color-cell:before{width:18px;height:18px}.mindmap-scope .aa-grid-head,.mindmap-scope .aa-grid-row{grid-template-columns:16px repeat(10,minmax(0,1fr));gap:2px}.mindmap-scope .aa-grid-corner{width:16px}.mindmap-scope .line-color-grid-head,.mindmap-scope .line-color-grid-row,.mindmap-scope .fill-grid-head,.mindmap-scope .fill-grid-row{grid-template-columns:16px repeat(10,minmax(0,1fr));gap:2px}.mindmap-scope .line-color-cell:before,.mindmap-scope .fill-grid-cell:before{width:18px;height:18px}}.mindmap-scope .style-sheet-backdrop{padding:0;touch-action:pan-y;overscroll-behavior:none}.mindmap-scope .style-sheet{height:min(88vh,790px);max-height:min(88vh,790px);overflow:hidden;overscroll-behavior:none}.mindmap-scope .style-content{min-height:0;overflow:hidden}.mindmap-scope .style-scroll{min-height:0;max-height:none;flex:1 1 auto;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}.mindmap-scope .nested-back{position:sticky;top:0;z-index:1;background:#fff}.mindmap-scope .modal-backdrop,.mindmap-scope .sheet-backdrop,.mindmap-scope .square-sheet-backdrop,.mindmap-scope .style-sheet-backdrop{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}.mindmap-scope .modal-backdrop>.modal,.mindmap-scope .sheet-backdrop>.sheet,.mindmap-scope .square-sheet-backdrop>.square-sheet{max-height:100%}.mindmap-scope .style-sheet-backdrop>.style-sheet{height:min(100%,790px);max-height:100%}.mindmap-scope .modal--free-topic{width:min(360px,100%);padding:16px}.mindmap-scope .modal--free-topic h2{font-size:19px}.mindmap-scope .modal--free-topic>p{margin:6px 0 12px;font-size:12px;line-height:1.45}.mindmap-scope .modal--free-topic .field-label{margin:8px 0 5px}.mindmap-scope .modal--free-topic .text-input{min-height:38px;padding:7px 10px}.mindmap-scope .modal--free-topic .modal-inline-error{min-height:0;margin:0!important}.mindmap-scope .modal--free-topic .modal-actions{margin-top:12px}.mindmap-scope .modal--free-topic .modal-actions button{min-height:40px;padding-top:8px;padding-bottom:8px}.mindmap-scope .aa-panel-toolbar{display:flex;align-items:center;gap:8px;min-width:0}.mindmap-scope .aa-panel-toolbar .aa-format-one-row{width:auto;min-width:0;flex:1 1 auto}.mindmap-scope .aa-panel-dismiss{width:36px;min-width:36px;height:32px;flex:0 0 36px;display:grid;place-items:center;padding:0;border:1px solid #dce2ee;border-radius:9px;color:var(--muted);background:#f7f8fb;font-size:19px;font-weight:700;line-height:1;touch-action:manipulation}@media(max-width:600px){.mindmap-scope .editor-shell{padding-top:calc(122px + env(safe-area-inset-top,0px))}.mindmap-scope .editor-topbar{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-areas:"start title" "actions actions";align-items:center;gap:2px 5px;min-height:calc(122px + env(safe-area-inset-top,0px));padding:calc(env(safe-area-inset-top,0px) + 8px) 10px 7px}.mindmap-scope .editor-topbar>#back-home,.mindmap-scope .editor-topbar>#square-cancel-mode{grid-area:start;width:42px;min-width:42px;height:42px}.mindmap-scope .editor-topbar>.topbar-title{grid-area:title;justify-self:stretch;min-width:0}.mindmap-scope .editor-toolbar-actions{grid-area:actions;justify-self:stretch;justify-content:space-between;gap:4px}.mindmap-scope .editor-history-actions{gap:3px}.mindmap-scope .editor-history-actions .history-action{width:38px;min-width:38px;height:40px}.mindmap-scope .editor-history-actions .history-save{min-width:54px;height:40px;padding:0 9px}.mindmap-scope .editor-actions{gap:0}.mindmap-scope .editor-actions .icon-button{width:40px;min-width:40px;height:42px}.mindmap-scope .editor-actions .topbar-link{padding:0 6px;font-size:11px;white-space:nowrap}.mindmap-scope .topbar-title strong,.mindmap-scope .editor-title-button{max-width:100%;font-size:15px}}@media(max-width:480px){.mindmap-scope .canvas-tools{justify-content:flex-start;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-x}.mindmap-scope .canvas-tools .tool-group{flex:0 0 auto;min-width:max-content}.mindmap-scope .canvas-tools .tool-button{flex:0 0 auto;white-space:nowrap}.mindmap-scope .canvas-tools #style-map{width:48px;min-width:48px;padding:0 4px;white-space:nowrap}.mindmap-scope .canvas-tools #center-map{width:64px;min-width:64px;padding:0 5px;line-height:1.1;white-space:nowrap}}.mindmap-scope .canvas-tools{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-x}.mindmap-scope .canvas-tools .tool-group{flex:0 0 auto;min-width:max-content}.mindmap-scope .canvas-tools .tool-button{box-sizing:border-box;flex:0 0 auto;white-space:nowrap}.mindmap-scope .canvas-tools #style-map{min-width:64px;white-space:nowrap}.mindmap-scope .canvas-tools #center-map{min-width:84px;line-height:normal;white-space:nowrap}.mindmap-scope .aa-color-mode{width:max-content;min-width:0;display:grid;grid-template-columns:repeat(4,max-content);gap:3px;margin:0;padding:3px;border-radius:9px;background:#f1f3f8}.mindmap-scope .aa-mode-button{min-width:0;min-height:27px;padding:0 5px;font-size:9px;touch-action:manipulation}.mindmap-scope .aa-color-head{grid-template-columns:auto minmax(0,1fr) auto;gap:6px;margin-top:5px}.mindmap-scope .aa-size-scope{margin-bottom:2px}@media(max-width:600px){.mindmap-scope .aa-color-head{grid-template-columns:minmax(0,1fr) auto}.mindmap-scope .aa-color-mode{width:100%;grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr))}.mindmap-scope .aa-mode-button{padding:0 3px;font-size:9px}}.mindmap-scope .structure-decoration-planetary-orbit,.mindmap-scope .structure-decoration-dial-track{fill:none;stroke-width:1.6;opacity:.22;vector-effect:non-scaling-stroke;pointer-events:none}.mindmap-scope .structure-decoration-flower-petal{stroke:none;opacity:.14;pointer-events:none}.mindmap-scope .structure-decoration-dial-tick{stroke-width:1.6;opacity:.62;vector-effect:non-scaling-stroke;pointer-events:none}.mindmap-scope .structure-decoration-dial-tick.major{stroke-width:2.4;opacity:.86}.mindmap-scope .map-node.irregular-orbit-topic{border-radius:50%}.mindmap-scope .map-node.irregular-treemap-topic,.mindmap-scope .map-node.irregular-dial-topic{padding:6px 10px;border:0;border-radius:0;background:transparent;box-shadow:none}.mindmap-scope .map-node.irregular-treemap-topic.root,.mindmap-scope .map-node.irregular-dial-topic.root{color:var(--root-text,#fff);background:transparent;box-shadow:none}.mindmap-scope .map-node.irregular-dial-topic{z-index:1}.mindmap-scope .edges.structure-decorations [data-irregular-region],.mindmap-scope .edges.structure-decorations [data-irregular-shape-surface]{pointer-events:visiblePainted;cursor:pointer}.mindmap-scope .structure-decoration-voronoi-region,.mindmap-scope .structure-decoration-puzzle-piece{vector-effect:non-scaling-stroke}.mindmap-scope .structure-decoration-bubble-cluster{fill-opacity:.055;stroke-opacity:.2;stroke-width:1.5;vector-effect:non-scaling-stroke;pointer-events:none}.mindmap-scope .structure-decoration-puzzle-piece{stroke-width:2}.mindmap-scope .map-node.irregular-bubbles-topic{box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:12px;border-radius:50%;text-align:center;line-height:1.15;overflow:hidden;overflow-wrap:anywhere}.mindmap-scope .map-node.irregular-bubbles-topic.root{color:var(--root-text,#fff)}.mindmap-scope .map-node.irregular-puzzle-topic{padding:8px 18px;border:0;border-radius:0;background:transparent;box-shadow:none}.mindmap-scope .map-node.irregular-puzzle-topic.root{color:var(--root-text,#fff);background:transparent;box-shadow:none}.mindmap-scope .structure-decoration-timeline-lane,.mindmap-scope .structure-decoration-room{fill-opacity:.045;stroke-opacity:.42;stroke-width:1.5;stroke-dasharray:5 5;vector-effect:non-scaling-stroke;pointer-events:none}.mindmap-scope .structure-decoration-metro-station{stroke-width:2.5;vector-effect:non-scaling-stroke;pointer-events:none}.mindmap-scope .structure-decoration-terrace-step{fill-opacity:.42;stroke:none;pointer-events:none}.mindmap-scope .structure-decoration-origami-facet{fill-opacity:.085;stroke-opacity:.38;stroke-width:1.2;vector-effect:non-scaling-stroke;pointer-events:none}.mindmap-scope .structure-decoration-origami-crease{stroke-opacity:.46;stroke-width:1.25;stroke-dasharray:4 4;vector-effect:non-scaling-stroke;pointer-events:none}.mindmap-scope .map-node.irregular-nested-card{box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:0;overflow:visible;border-radius:15px;text-align:left;white-space:normal}.mindmap-scope .map-node.irregular-nested-card.root{color:var(--root-text,#fff);background:var(--root-fill,#2b355f)}.mindmap-scope .nested-card-header{box-sizing:border-box;display:flex;flex:0 0 auto;align-items:center;justify-content:flex-start;width:100%;padding:7px 13px;border-bottom:1px solid color-mix(in srgb,var(--node-border,#6b78f0) 24%,transparent);border-radius:13px 13px 0 0;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.mindmap-scope .map-node.irregular-nested-card.root>.nested-card-header{color:var(--root-text,#fff);background:color-mix(in srgb,var(--root-fill,#2b355f) 92%,white)}.mindmap-scope .map-node.irregular-nested-card:not(.root)>.nested-card-header{color:var(--node-text,inherit);background:color-mix(in srgb,var(--branch-color,#6b78f0) 8%,var(--node-fill,#fff))}.standalone-app{color-scheme:light;--bg: #f5f6fa;--surface: #fff;--surface-2: #eef0f5;--text: #252833;--muted: #858a98;--faint: #aeb2bd;--border: #e1e3e9;--primary: #6a5bea;--primary-soft: #eeebff;--danger: #d9363e;--shadow: 0 14px 35px rgba(54, 58, 83, .08);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-height:100dvh;background:#dfe2eb}button,input,select{font:inherit}button{border:0;color:inherit;cursor:pointer}.standalone-app{position:relative;width:min(100%,430px);min-height:100dvh;margin:0 auto;overflow-x:hidden;overflow-y:visible;background:var(--bg)}.standalone-security-gate{min-height:100dvh;display:grid;place-items:center;padding:24px 18px}.standalone-security-card{width:min(100%,360px);padding:28px 22px 24px;border:1px solid var(--border);border-radius:24px;background:var(--surface);box-shadow:var(--shadow)}.standalone-security-card .standalone-security-icon{display:block;margin-bottom:10px;font-size:32px;text-align:center}.standalone-security-card h1{margin:0;font-size:22px;text-align:center}.standalone-security-card>p{margin:8px 0 18px;color:var(--muted);font-size:13px;line-height:1.55;text-align:center}.standalone-security-card label{display:block;margin-top:12px;color:var(--muted);font-size:12px}.standalone-security-card input{display:block;width:100%;min-height:42px;margin-top:6px;padding:0 12px;border:1px solid var(--border);border-radius:11px;outline:0;background:var(--bg);color:var(--text)}.standalone-security-card input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.standalone-security-card .primary{width:100%;min-height:43px;margin-top:18px;border-radius:12px;background:var(--primary);color:#fff;font-weight:700}.standalone-security-card small{display:block;margin-top:12px;color:var(--faint);font-size:11px;line-height:1.5;text-align:center}.standalone-recovery-gate-card>p{text-align:left}.standalone-security-warning{padding:9px 10px;border-radius:10px;background:#fff6df;color:#85651d!important;font-size:12px!important}.standalone-security-actions{display:flex;gap:8px;margin-top:14px}.standalone-security-actions button{flex:1;min-height:42px;padding:8px 10px;border:1px solid var(--border);border-radius:11px;background:var(--surface);color:var(--primary);font-weight:700}.standalone-security-actions .primary{width:auto;margin-top:0}.standalone-security-actions button:disabled{opacity:.6;cursor:wait}.standalone-recovery-link{display:block;margin:12px auto 0;border:0;background:transparent;color:var(--primary);font-size:13px;font-weight:700}.standalone-migration-notice{margin:12px 0;padding:9px 10px;border-radius:10px;background:#fff8e7;color:#9b6a13;font-size:11px;line-height:1.5}.standalone-security-error{color:var(--danger)!important;font-size:12px!important;font-weight:700}.standalone-header,.standalone-sub-header{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:12px;padding:calc(env(safe-area-inset-top,0px) + 22px) 18px 16px;border-bottom:1px solid var(--border);background:#f5f6faeb;backdrop-filter:blur(18px)}.standalone-header>div,.standalone-sub-header>div{min-width:0;flex:1}.standalone-header>.standalone-header-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}.standalone-header>div>span{color:var(--primary);font-size:11px;font-weight:700;letter-spacing:.09em}.standalone-header h1{margin:4px 0 2px;font-size:27px;line-height:1.1;letter-spacing:-.04em}.standalone-header p,.standalone-sub-header small{display:block;margin:0;color:var(--muted);font-size:12px}.standalone-pair-entry{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-height:46px;padding:0 11px;border:1px solid #c7c0ff;border-radius:16px;background:var(--surface);color:var(--primary);font-size:13px;font-weight:700;white-space:nowrap}.standalone-add{flex:0 0 auto;width:46px;height:46px;border-radius:16px;background:linear-gradient(135deg,#6656e9,#8b61ed);color:#fff;font-size:30px;font-weight:300;line-height:1;box-shadow:var(--shadow)}.standalone-pair-entry:active{background:var(--primary-soft)}.standalone-mindmap-entry{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-height:46px;padding:0 10px;border:1px solid #c7c0ff;border-radius:16px;background:var(--surface);color:var(--primary);font-size:13px;font-weight:700;white-space:nowrap}.standalone-mindmap-entry:active{background:var(--primary-soft)}html,body,#root,.standalone-app,.standalone-mindmap-workspace,.mindmap-scope,.phone-shell{height:100%;min-height:0}.standalone-mindmap-app{min-height:100vh;height:100%;overflow:hidden}.standalone-mindmap-workspace{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}.standalone-mindmap-workspace>div,.standalone-mindmap-workspace .mindmap-host{display:flex;flex:1 1 auto;width:100%;height:100%;min-height:0}.standalone-list-main{padding:20px 16px 32px}.standalone-list-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.standalone-list-title-actions{display:flex;align-items:center;gap:6px}.standalone-list-title h2{margin:0;font-size:19px}.standalone-list-title small{color:var(--muted);font-size:12px}.standalone-list-title>button{padding:9px 12px;border-radius:10px;background:var(--primary-soft);color:var(--primary);font-size:12px;font-weight:700}.standalone-list-title-actions button{padding:9px 11px;border-radius:10px;background:var(--primary-soft);color:var(--primary);font-size:12px;font-weight:700}.standalone-list-title-actions .standalone-lock-button{background:var(--surface-2);color:var(--muted)}.standalone-empty,.standalone-note-card,.standalone-safe-tip{width:100%;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:0 7px 22px #363a530d}.standalone-empty{display:flex;align-items:center;gap:13px;padding:20px 16px;text-align:left}.standalone-empty b{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:var(--primary-soft);color:var(--primary);font-size:25px;font-weight:400}.standalone-empty span{min-width:0}.standalone-empty strong,.standalone-empty small{display:block}.standalone-empty small{margin-top:3px;color:var(--muted);font-size:12px}.standalone-empty i{margin-left:auto;color:var(--primary);font-size:27px;font-style:normal}.standalone-notes-list{display:grid;gap:9px}.standalone-note-card{position:relative;display:flex;overflow:visible}.standalone-note-card.is-pinned{border-color:#c7c0ff}.standalone-note-main{flex:1 1 auto;width:0;min-width:0;max-width:100%;overflow:hidden;padding:15px 54px 15px 16px;background:transparent;text-align:left}.standalone-note-main strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.standalone-note-main p{overflow:hidden;margin:5px 0 7px;color:var(--muted);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.standalone-note-main time{color:var(--faint);font-size:11px}.standalone-note-actions{position:relative;flex:0 0 48px}.standalone-more{width:40px;height:40px;margin:11px 7px 0 0;border-radius:12px;background:transparent;color:var(--muted);font-size:16px;letter-spacing:2px}.standalone-more:active,.standalone-sub-header>button:active{background:var(--surface-2)}.standalone-note-menu,.standalone-sync-menu{position:absolute;z-index:20;display:grid;min-width:146px;padding:6px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow)}.standalone-note-menu{top:48px;right:7px}.standalone-note-menu button,.standalone-sync-menu button{padding:10px 11px;border-radius:9px;background:transparent;text-align:left;font-size:13px;white-space:nowrap}.standalone-note-menu button:hover,.standalone-sync-menu button:hover{background:var(--surface-2)}.standalone-note-menu .danger,.standalone-reader-actions .danger,.standalone-confirm .danger{color:var(--danger)}.standalone-note-menu .standalone-sync-menu{top:42px;right:117px}.standalone-safe-tip{display:flex;gap:10px;margin-top:15px;padding:14px;background:#fafaff;box-shadow:none}.standalone-safe-tip>span{font-size:17px}.standalone-safe-tip>div{min-width:0}.standalone-safe-tip strong{font-size:13px}.standalone-safe-tip p{margin:3px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.standalone-recovery-section{margin-top:15px;padding:16px;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:0 7px 22px #363a530d}#standalone-recovery-anchor{outline:none;scroll-margin-top:92px}.standalone-recovery-heading,.standalone-recovery-slots-heading,.standalone-recovery-slot{display:flex;align-items:center;justify-content:space-between;gap:10px}.standalone-recovery-heading h2{margin:0;font-size:16px}.standalone-recovery-heading small{display:block;margin-top:4px;color:var(--muted);font-size:11px}.standalone-recovery-state{flex:0 0 auto;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:700}.standalone-recovery-state.is-ready{color:#238356;background:#e2f8ec}.standalone-recovery-state.is-pending{color:#8a6c20;background:#fff4cf}.standalone-recovery-empty{margin-top:13px}.standalone-recovery-empty strong{font-size:13px}.standalone-recovery-empty p,.standalone-recovery-slots>p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.standalone-recovery-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.standalone-recovery-actions button,.standalone-recovery-slot button{min-height:34px;padding:7px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--primary);font-size:12px;font-weight:700}.standalone-recovery-actions button:disabled,.standalone-recovery-slot button:disabled{cursor:not-allowed;color:var(--faint);background:var(--surface-2)}.standalone-recovery-note{display:block;margin-top:9px;color:var(--faint);font-size:11px;line-height:1.5}.standalone-recovery-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:13px}.standalone-recovery-summary>div{min-width:0;padding:8px;border-radius:10px;background:var(--surface-2)}.standalone-recovery-summary span,.standalone-recovery-summary strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.standalone-recovery-summary span{color:var(--muted);font-size:10px}.standalone-recovery-summary strong{margin-top:4px;font-size:11px}.standalone-recovery-warning{margin-top:9px;padding:9px 10px;border:1px solid rgba(217,119,6,.28);border-radius:10px;background:#d9770614}.standalone-recovery-warning strong{display:block;color:#b45309;font-size:12px}.standalone-recovery-warning p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.5}.standalone-recovery-slots{margin-top:14px}.standalone-recovery-slots-heading{color:var(--text);font-size:12px}.standalone-recovery-slots-heading span{color:var(--muted);font-size:11px}.standalone-recovery-slot{margin-top:7px;padding:9px 10px;border-radius:10px;background:var(--surface-2);font-size:12px}.standalone-recovery-slot span{min-width:0}.standalone-recovery-slot small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.standalone-sub-header{padding:calc(env(safe-area-inset-top,0px) + 14px) 11px 12px}.standalone-editor-header{gap:8px;padding-top:calc(env(safe-area-inset-top,0px) + 6px);padding-bottom:4px}.standalone-editor-header .standalone-title-row{display:flex;align-items:center;min-width:0;flex:1 1 auto}.standalone-sub-header>button{flex:0 0 auto;min-width:40px;min-height:40px;border-radius:12px;background:transparent}.standalone-sub-header>button:first-child{font-size:31px;font-weight:300;line-height:1}.standalone-sub-header>button.primary{padding:0 13px;border-radius:11px;background:var(--primary);color:#fff;font-size:13px;font-weight:700}.standalone-sub-header>button.text{color:var(--primary);font-size:14px;font-weight:700}.standalone-editor-main,.standalone-reader-main{padding:12px 16px 32px}.standalone-editor-page{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;overflow:hidden}.standalone-editor-page .standalone-editor-header{position:relative;top:auto;flex:0 0 auto}.standalone-editor-main{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow:hidden;padding-top:4px;padding-bottom:0}.standalone-title-input{display:block;width:100%;min-height:34px;padding:4px 0;border:0;border-bottom:0;outline:0;background:transparent;color:var(--text);direction:ltr;unicode-bidi:plaintext;text-align:left;font-size:17px;font-weight:700;line-height:1.45;overflow-wrap:anywhere}.standalone-title-input:empty:before{color:var(--faint);content:attr(data-placeholder);font-size:15px;font-weight:500;pointer-events:none}.standalone-toolbar{display:grid;gap:3px;padding:4px 0 3px;overflow:visible}.standalone-format-row{display:flex;align-items:center;min-width:0;gap:5px;overflow-x:auto;scrollbar-width:none}.standalone-format-row::-webkit-scrollbar{display:none}.standalone-format-row>select{flex:0 0 84px;padding-right:5px;padding-left:7px}.standalone-action-row{display:flex;flex-wrap:nowrap;align-items:center;gap:7px;overflow-x:auto;scrollbar-width:none}.standalone-action-row::-webkit-scrollbar{display:none}.standalone-toolbar::-webkit-scrollbar,.standalone-emoji-row::-webkit-scrollbar{display:none}.standalone-toolbar button,.standalone-toolbar select{flex:0 0 auto;min-height:34px;padding:6px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font-size:12px}.standalone-editor-main>.standalone-toolbar,.standalone-editor-main>.standalone-emoji-row,.standalone-editor-main>.standalone-emoji-panel{flex:0 0 auto}.standalone-action-row .standalone-save-action{margin-left:auto;border-color:var(--primary);background:var(--primary);color:#fff;font-weight:700}.standalone-toolbar .bold{width:34px;padding:0;font-size:16px;font-weight:800}.standalone-toolbar .copy{color:var(--primary)}.standalone-colors{display:flex;gap:4px;flex:0 0 auto}.standalone-colors button{display:grid;width:27px;min-height:34px;padding:0;place-items:center}.standalone-colors i{width:13px;height:13px;border:2px solid var(--surface);border-radius:50%;box-shadow:0 0 0 1px #c9cbd3}.standalone-emoji-row{display:flex;align-items:center;gap:4px;padding:1px 0 6px;overflow-x:auto;scrollbar-width:none}.standalone-emoji-row button{flex:0 0 auto;width:28px;height:31px;border:1px solid transparent;border-radius:10px;background:var(--surface-2);font-size:18px}.standalone-emoji-row .emoji-more{width:32px;margin-left:0;padding:0 2px;color:var(--primary);font-size:15px;letter-spacing:1px;font-weight:700}.standalone-emoji-panel{margin:-2px 0 14px;padding:12px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:0 7px 22px #363a530f}.standalone-emoji-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.standalone-emoji-panel-head strong{font-size:13px}.standalone-emoji-panel-head>div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.standalone-emoji-panel-head button{padding:6px 8px;border-radius:8px;background:var(--primary-soft);color:var(--primary);font-size:11px;font-weight:700}.standalone-emoji-favorites{display:block;margin-top:10px}.standalone-emoji-favorites>span{display:block;margin-bottom:6px;color:var(--muted);font-size:11px}.standalone-common-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));min-width:0;flex:1 1 auto;gap:4px}.standalone-emoji-favorites button,.standalone-emoji-grid button{border:1px solid transparent}.standalone-emoji-favorites button{min-width:0;width:100%;height:28px;border-radius:8px;background:var(--surface-2);font-size:17px}.standalone-emoji-available{margin-top:11px}.standalone-emoji-available>span{color:var(--muted);font-size:11px}.standalone-emoji-row button.is-drag-enabled,.standalone-emoji-favorites button.is-drag-enabled,.standalone-emoji-grid button.is-drag-enabled{cursor:grab;touch-action:none}.standalone-emoji-row button.is-dragging,.standalone-emoji-favorites button.is-dragging,.standalone-emoji-grid button.is-dragging{border-color:#e53935;outline:2px solid #e53935;outline-offset:1px;opacity:.72}.standalone-emoji-row button.is-selected,.standalone-emoji-favorites button.is-selected,.standalone-emoji-grid button.is-selected{border-color:#e53935;outline:2px solid #e53935;outline-offset:1px;box-shadow:0 0 0 3px #e5393524}.standalone-emoji-row button.is-empty,.standalone-emoji-favorites button.is-empty{border:1px dashed #c5c8d2;background:transparent;color:transparent}.standalone-emoji-row button.is-empty:after,.standalone-emoji-favorites button.is-empty:after{color:var(--faint);content:"+";font-size:12px}.standalone-emoji-favorites button.is-drop-target,.standalone-emoji-row button.is-drop-target,.standalone-emoji-grid button.is-drop-target{outline:2px solid var(--primary);outline-offset:1px}.standalone-emoji-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;margin-top:11px}.standalone-emoji-grid button{position:relative;min-width:0;min-height:33px;border-radius:8px;background:var(--surface-2);font-size:18px}.standalone-emoji-grid button.is-favorite{background:var(--primary-soft)}.standalone-emoji-grid button small{position:absolute;right:2px;bottom:0;color:var(--primary);font-size:9px;line-height:1}.standalone-emoji-panel>p{margin:9px 0 0;color:var(--muted);font-size:10px;line-height:1.45}.standalone-editor-body,.standalone-reader-body{min-height:54vh;outline:0;color:var(--text);font-size:16px;line-height:1.75;overflow-wrap:anywhere;word-break:break-word}.standalone-editor-body{flex:1 1 0%;min-height:0;height:auto;overflow-x:hidden;overflow-y:auto;padding:4px 0 calc(32px + env(safe-area-inset-bottom,0px));-webkit-overflow-scrolling:touch;overscroll-behavior:contain;scroll-padding-top:8px;scroll-padding-bottom:140px}.standalone-editor-body:empty:before{color:var(--faint);content:attr(data-placeholder);pointer-events:none}.standalone-editor-body a,.standalone-reader-body a{color:var(--primary);text-decoration:underline;text-underline-offset:2px}.note-inline-image{display:inline-grid;width:1.7em;height:1.7em;margin:0 .12em;vertical-align:-.42em;place-items:center;overflow:hidden;border:1px solid #aaa3f4;border-radius:6px;background:var(--primary-soft);cursor:zoom-in}.note-inline-image img{width:100%;height:100%;object-fit:cover}.standalone-editor-hint{margin:21px 0 0;color:var(--faint);font-size:11px;line-height:1.5}.standalone-reader-main h1{margin:0 0 18px;font-size:25px;line-height:1.25}.standalone-reader-body{min-height:58vh}.standalone-reader-actions{position:sticky;bottom:0;z-index:5;display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:10px 12px calc(env(safe-area-inset-bottom,0px) + 12px);border-top:1px solid var(--border);background:#f5f6faf0;backdrop-filter:blur(18px)}.standalone-reader-actions button{min-height:38px;border-radius:10px;background:transparent;color:var(--muted);font-size:12px;font-weight:700}.standalone-reader-actions button:active{background:var(--surface-2)}.standalone-reader-sync{position:sticky;bottom:74px;z-index:6;display:flex;justify-content:flex-end;padding:0 14px 10px}.standalone-reader-sync .standalone-sync-menu{position:static}.standalone-image-preview,.standalone-confirm-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:22px;background:#070910de}.standalone-image-preview{touch-action:pan-y}.standalone-image-preview img{max-width:100%;max-height:90dvh;border-radius:10px;object-fit:contain}.standalone-image-preview .preview-nav{position:absolute;top:50%;width:42px;height:58px;margin-top:-29px;border-radius:14px;background:#ffffff29;color:#fff;font-size:38px;line-height:1}.standalone-image-preview .preview-nav:disabled{opacity:.25}.standalone-image-preview .preview-prev{left:10px}.standalone-image-preview .preview-next{right:10px}.standalone-image-preview .preview-counter{position:absolute;bottom:20px;left:50%;transform:translate(-50%);padding:5px 10px;border-radius:999px;background:#0000007a;color:#fff;font-size:12px}.standalone-confirm{width:min(100%,330px);padding:22px;border-radius:20px;background:var(--surface);box-shadow:var(--shadow)}.standalone-confirm h2{margin:0;font-size:18px}.standalone-confirm p{margin:7px 0 17px;color:var(--muted);font-size:13px}.standalone-confirm>div{display:flex;justify-content:flex-end;gap:9px}.standalone-confirm>div button{min-height:38px;padding:0 14px;border-radius:10px;background:var(--surface-2);font-size:13px}.standalone-confirm>div button.danger{background:var(--danger);color:#fff}.standalone-pairing-dialog{width:min(100%,390px);max-height:min(88dvh,680px);overflow:auto}.standalone-pairing-dialog label{display:block;margin:10px 0 16px;color:var(--muted);font-size:12px}.standalone-pairing-dialog label input{display:block;width:100%;min-height:42px;margin-top:6px;padding:0 11px;border:1px solid var(--border);border-radius:10px;outline:0;background:var(--bg);color:var(--text)}.standalone-pairing-dialog label input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.standalone-pairing-dialog .standalone-pairing-payload{display:block;width:100%;min-height:112px;margin:10px 0 14px;padding:9px;border:1px solid var(--border);border-radius:10px;resize:vertical;background:var(--bg);color:var(--muted);font:10px/1.35 ui-monospace,SFMono-Regular,Consolas,monospace}.standalone-pairing-qr{display:grid;justify-items:center;gap:7px;margin:12px auto 14px;padding:10px;width:fit-content;border:1px solid var(--border);border-radius:14px;background:#fff}.standalone-pairing-qr img{display:block;width:320px;height:auto;max-width:100%;image-rendering:pixelated}.standalone-pairing-manual{margin:0 0 14px;color:var(--primary);font-size:12px}.standalone-pairing-manual summary{cursor:pointer}.standalone-pairing-manual .standalone-pairing-payload{margin-bottom:0}.standalone-pairing-code{display:grid;gap:4px;margin:12px 0 16px;padding:12px;border-radius:12px;background:var(--primary-soft);text-align:center}.standalone-pairing-code small,.standalone-pairing-code span{color:var(--muted);font-size:11px}.standalone-pairing-code strong{color:var(--primary);font:700 29px/1.1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.16em}.standalone-recovery-key-display{display:block;max-height:180px;overflow:auto;margin:11px 0 16px;padding:10px;border-radius:10px;background:var(--bg);color:var(--text);font:11px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace;word-break:break-all}.standalone-recovery-key-qr{display:grid;justify-items:center;gap:7px;margin:10px auto 12px;padding:10px;width:fit-content;max-width:100%;border:1px solid var(--border);border-radius:14px;background:#fff;text-align:center}.standalone-recovery-key-qr canvas{display:block;width:260px;height:260px;max-width:100%;image-rendering:pixelated}.standalone-recovery-key-qr small{max-width:260px;color:var(--muted);font-size:10px;line-height:1.45}.standalone-recovery-key-input-actions{display:flex;justify-content:flex-end;margin-top:6px}.standalone-recovery-key-input-actions button{min-height:34px;padding:7px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--primary);font-size:12px;font-weight:700}.standalone-recovery-key-input-actions button:disabled{opacity:.6;cursor:wait}.standalone-recovery-key-qr-scanner{display:grid;gap:8px;margin-top:8px;padding:10px;border:1px solid var(--border);border-radius:14px;background:#20212d;color:#fff}.standalone-recovery-key-qr-scanner video{display:block;width:100%;min-height:180px;max-height:280px;border-radius:10px;background:#0f1017;object-fit:cover}.standalone-recovery-key-qr-scanner p{margin:0;color:#e5e5ef;font-size:11px;line-height:1.45;text-align:center}.standalone-recovery-key-qr-scanner-actions{display:flex;justify-content:center;align-items:center;gap:8px}.standalone-recovery-key-qr-scanner button,.standalone-recovery-key-qr-capture{border:0;border-radius:10px;padding:8px 10px;color:#fff;background:#48495a;cursor:pointer;font:inherit;font-size:11px}.standalone-recovery-key-qr-capture input,.standalone-recovery-key-qr-library input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.standalone-toast{position:fixed;right:18px;bottom:22px;left:18px;z-index:90;padding:11px 14px;border-radius:12px;background:#20232ded;color:#fff;font-size:12px;text-align:center;pointer-events:none}@media(min-width:431px){.standalone-app{min-height:100vh;box-shadow:0 0 35px #363a531f}}@media(min-width:600px){.standalone-app{width:100%;margin:0;box-shadow:none}}
