flow-mindmap 0.4.7 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/style.css CHANGED
@@ -1,4 +1,4 @@
1
- .zm-node-menu{position:fixed;z-index:40;min-width:168px;padding:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 8px 24px #0f172a24;display:flex;flex-direction:column;gap:2px;font-size:13px;color:#1e293b;-webkit-user-select:none;user-select:none}.zm-node-menu-item{display:flex;align-items:center;gap:8px;padding:6px 10px;border:none;background:transparent;color:inherit;font:inherit;text-align:left;border-radius:4px;cursor:pointer;width:100%;transition:background .1s}.zm-node-menu-item:hover:not(:disabled){background:#f1f5f9}.zm-node-menu-item:active:not(:disabled){background:#e2e8f0}.zm-node-menu-item:disabled{color:#94a3b8;cursor:not-allowed}.zm-node-menu-icon{display:inline-flex;align-items:center;justify-content:center;width:13px;height:13px;font-size:10px;font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-weight:600;color:#64748b;flex-shrink:0}.zm-node-menu-icon-code{font-size:10px;letter-spacing:-1px}.zm-node-menu-icon-table{font-size:12px;font-family:inherit}.zm-canvas-menu{position:fixed;z-index:40;min-width:140px;padding:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-sizing:border-box;box-shadow:0 8px 24px #0f172a24;display:flex;flex-direction:column;gap:2px;font-size:13px;color:#1e293b;-webkit-user-select:none;user-select:none}.zm-canvas-menu-item{display:flex;align-items:center;gap:8px;padding:6px 10px;border:none;background:transparent;color:inherit;font:inherit;text-align:left;border-radius:4px;cursor:pointer;width:100%;box-sizing:border-box;transition:background .1s}.zm-canvas-menu-item:hover:not(:disabled){background:#f1f5f9}.zm-canvas-menu-item:active:not(:disabled){background:#e2e8f0}.zm-canvas-menu-item:disabled{color:#94a3b8;cursor:not-allowed}.zm-canvas-menu-item-has-submenu{position:relative;box-sizing:border-box}.zm-canvas-menu-item-has-submenu.is-open,.zm-canvas-menu-item-has-submenu:hover{background:#f1f5f9}.zm-canvas-menu-caret{margin-left:auto;color:#94a3b8;flex-shrink:0;display:inline-flex;align-items:center}.zm-canvas-submenu{position:fixed;z-index:41;min-width:160px;padding:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-sizing:border-box;box-shadow:0 8px 24px #0f172a24;display:flex;flex-direction:column;gap:2px;font-size:13px;color:#1e293b;-webkit-user-select:none;user-select:none;animation:zm-submenu-in .12s ease-out}@keyframes zm-submenu-in{0%{opacity:0;transform:translate(-4px)}to{opacity:1;transform:translate(0)}}.zm-mindmap{position:relative;width:100%;height:100%;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;-webkit-user-select:none;user-select:none}.zm-canvas{position:absolute;top:0;right:0;bottom:0;left:0;cursor:grab}.zm-canvas:active{cursor:grabbing}.zm-world{position:absolute;left:0;top:0;transform-origin:0 0}.zm-svg-layer{position:absolute;pointer-events:none;overflow:visible}.zm-marquee{position:absolute;border:1px dashed #3b82f6;background:#3b82f614;pointer-events:none;z-index:5}.zm-svg{position:absolute;left:0;top:0;pointer-events:none;overflow:visible;shape-rendering:geometricPrecision}.zm-node{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 .8em;box-sizing:border-box;border-radius:8px;border:1px solid;line-height:1.2;cursor:default;transition:box-shadow .15s;box-shadow:0 1px 2px #0000000f;white-space:nowrap;z-index:1}.zm-node:hover{box-shadow:0 4px 12px #0000001a;z-index:2}.zm-node:not(.is-root):not(.is-editing){cursor:grab}.zm-node.is-root{cursor:default}.zm-node.is-dragging-source{opacity:.4;cursor:grabbing}.zm-node.is-drop-target{outline:2px solid #4caf50;outline-offset:2px;transition:outline-color .1s ease}.zm-drag-ghost{position:absolute;pointer-events:none;z-index:10000;padding:4px 10px;background:#fff;border:1px solid #4caf50;border-radius:4px;box-shadow:0 4px 12px #00000026;font-size:13px;color:#333;white-space:nowrap;max-width:200px;overflow:hidden;text-overflow:ellipsis;will-change:transform,left,top}body.is-dragging{cursor:grabbing!important;-webkit-user-select:none;user-select:none}.zm-node.is-root{font-weight:600}.zm-node.is-selected{outline:2px solid #3b82f6;outline-offset:2px;z-index:3}.zm-node.is-selected-secondary{outline:2px solid #bfdbfe;outline-offset:2px;z-index:2}.zm-text{display:flex;align-items:center;justify-content:center;gap:4px;min-height:1.2em;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zm-text-label{pointer-events:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex-shrink:1}.zm-input{border:none;outline:none;background:transparent;color:inherit;font:inherit;text-align:center;width:100%;min-width:40px}.zm-tooltip{position:absolute;max-width:240px;padding:6px 10px;background:#0f172af0;color:#f8fafc;font-size:12px;line-height:1.4;border-radius:6px;box-shadow:0 4px 14px #0000002e;pointer-events:none;z-index:1000;white-space:normal;word-break:break-word;transform:translate(-50%,-100%);animation:zm-tooltip-in .12s ease-out}.zm-tooltip.is-below{transform:translate(-50%)}.zm-tooltip:after{content:"";position:absolute;left:50%;top:100%;transform:translate(-50%);border:4px solid transparent;border-top-color:#0f172af0}.zm-tooltip.is-below:after{top:auto;bottom:100%;border-top-color:transparent;border-bottom-color:#0f172af0}@keyframes zm-tooltip-in{0%{opacity:0;transform:translate(-50%,calc(-100% + 4px))}to{opacity:1;transform:translate(-50%,-100%)}}.zm-tooltip.is-below{animation-name:zm-tooltip-in-below}@keyframes zm-tooltip-in-below{0%{opacity:0;transform:translate(-50%,-4px)}to{opacity:1;transform:translate(-50%)}}.zm-rich{margin-top:6px;width:max-content;overflow:visible;font-size:.78em;line-height:1.35;text-align:left;background:#0000000a;border-radius:4px;padding:4px 6px;color:inherit}.zm-rich-above{margin:0 0 2px}.zm-rich-no-overflow{max-height:none;overflow:visible}.zm-rich-code{margin:0;padding:6px 8px;font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:.92em;white-space:pre-wrap;word-break:break-word;background:#ffffff8c;border:1px solid currentColor;border-radius:6px;box-shadow:0 1px 2px #0f172a14}.zm-rich-list{margin:0;padding-left:1.2em;list-style:disc}.zm-rich-list li{margin:1px 0}.zm-rich-table{width:100%;border-collapse:separate;border-spacing:0;font-size:.92em;background:#ffffff8c;border:1px solid currentColor;border-radius:6px;overflow:hidden;box-shadow:0 1px 2px #0f172a14}.zm-rich-table td{border-top:1px solid currentColor;border-right:1px solid currentColor;padding:3px 6px;opacity:.9}.zm-rich-table tr:last-child td{border-bottom:none}.zm-rich-table td:last-child{border-right:none}.zm-rich-table-sort{position:relative;background:#fff6;font-weight:600;text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;padding:3px 6px;border-bottom:1px solid currentColor;border-right:1px solid currentColor;pointer-events:auto}.zm-rich-table-sort:last-child{border-right:none}.zm-rich-table-sort:hover{background:#ffffffa6}.zm-rich-table-sort.is-sorted{background:#ffffffb3}.zm-rich-sort-mark{position:absolute;right:4px;top:50%;transform:translateY(-50%);font-size:9px;color:#94a3b8}.zm-rich-table-sort.is-sorted .zm-rich-sort-mark{color:#1d4ed8}.zm-rich-edit{width:100%;min-height:90px;margin:0;padding:4px 6px;font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:.92em;line-height:1.4;color:inherit;background:#fff9;border:1px solid currentColor;border-radius:3px;outline:none;resize:vertical;white-space:pre;box-sizing:border-box}.zm-rich-edit:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626}.zm-rich-paragraph{white-space:pre-wrap;word-break:break-word}.zm-btn{position:absolute;width:18px;height:18px;border-radius:50%;border:none;background:#3b82f6;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .15s,transform .15s;z-index:4}.zm-node:hover .zm-btn,.zm-node.is-selected .zm-btn{opacity:1}.zm-btn:hover{transform:scale(1.15)}.zm-collapse{right:-8px;top:50%;width:14px;height:14px;background:#fff;border:1.5px solid;transform:translateY(-50%);box-shadow:0 1px 3px #0f172a2e}.zm-collapse.is-on-left{right:auto;left:-8px}.zm-collapse:hover{transform:translateY(-50%) scale(1.15);background:#fff}.zm-collapse-badge{position:absolute;top:50%;transform:translateY(-50%);left:calc(100% + 8px);min-width:18px;height:18px;padding:0 5px;border-radius:5px;color:#fff;font-size:11px;font-weight:600;line-height:18px;text-align:center;box-shadow:0 1px 2px #00000026;cursor:pointer;-webkit-user-select:none;user-select:none;z-index:2;transition:filter .1s}.zm-collapse-badge.is-on-left{left:auto;right:calc(100% + 8px)}.zm-collapse-badge:hover{filter:brightness(.9)}.zm-node.has-image{flex-direction:column;padding:8px;gap:6px;white-space:normal}.zm-node-img{display:block;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;object-fit:contain;border-radius:4px}.zm-node-link,.zm-node-note-btn{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;padding:0;border:none;background:transparent;color:currentColor;border-radius:3px;cursor:pointer;flex-shrink:0;text-decoration:none;opacity:.75;transition:opacity .1s,background .1s;pointer-events:auto}.zm-node-link:hover,.zm-node-note-btn:hover{opacity:1;background:#0f172a14}.zm-node-link svg,.zm-node-note-btn svg{display:block}.zm-img-resize-handle{position:absolute;right:-5px;bottom:-5px;width:10px;height:10px;background:#fff;border:1.5px solid #3b82f6;border-radius:2px;cursor:nwse-resize;z-index:4;box-shadow:0 1px 3px #0f172a33}.zm-node.is-resizing{cursor:nwse-resize!important}.zm-img-remove-btn{position:absolute;right:-5px;bottom:14px;width:14px;height:14px;background:#fff;border:1px solid #cbd5e1;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#64748b;padding:0;z-index:4;box-shadow:0 1px 2px #0f172a1f}.zm-img-remove-btn:hover{background:#fee2e2;color:#b91c1c;border-color:#fca5a5}.zm-order-badge{display:inline-block;margin-left:6px;padding:0 5px;font-size:10px;font-weight:600;line-height:16px;color:#475569;background:#e2e8f0;border-radius:3px;font-variant-numeric:tabular-nums;pointer-events:none;-webkit-user-select:none;user-select:none;vertical-align:middle}.zm-canvas-fab{position:absolute;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:#fff;border:1px solid #e2e8f0;border-radius:999px;box-shadow:0 2px 8px #0f172a14;color:#475569;cursor:pointer;z-index:11;opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity .18s ease,transform .18s ease,background .1s,color .1s}.zm-canvas-fab.is-visible{opacity:1;pointer-events:auto;transform:translateY(0)}.zm-canvas-fab:hover{background:#f1f5f9;color:#1e293b;box-shadow:0 4px 12px #0f172a1f}.zm-canvas-fab:active{transform:scale(.94)}.zm-canvas-fab-preview{top:16px;right:16px}.zm-canvas-fab-outline{top:16px;left:16px}.zm-toolbar{position:absolute;bottom:16px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:4px;padding:6px 10px;background:#fff;border:1px solid #e2e8f0;border-radius:999px;box-shadow:0 4px 12px #0000000f;z-index:10;transition:opacity .18s ease,transform .18s ease}.zm-toolbar.is-preview-only{opacity:0;pointer-events:none;transform:translate(-50%) translateY(8px)}.zm-toolbar.is-preview-only.is-hovered{opacity:1;pointer-events:auto;transform:translate(-50%) translateY(0)}.zm-tb-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;border-radius:6px;cursor:pointer;color:#475569}.zm-tb-btn:hover{background:#f1f5f9;color:#1e293b}.zm-tb-btn img{filter:invert(20%) sepia(15%) saturate(500%) hue-rotate(180deg);transition:filter .1s}.zm-tb-btn:hover img{filter:invert(15%) sepia(30%) saturate(800%) hue-rotate(180deg)}.zm-tb-btn.active{background:var(--zm-tb-active, #fff7ed);color:var(--zm-tb-active-fg, #c2410c)}.zm-tb-divider{width:1px;height:18px;background:#e2e8f0;margin:0 4px}.zm-tb-tip{font-size:12px;color:#64748b;min-width:38px;text-align:center}.zm-outline-root{display:flex;flex-direction:column;height:100%}.zm-outline-actions{display:flex;justify-content:flex-end;padding:8px 10px 4px;flex-shrink:0}.zm-outline-action-btn{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;font-size:11px;font-family:inherit;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:5px;cursor:pointer;transition:all .1s}.zm-outline-action-btn:hover{background:#f1f5f9;color:#1e293b;border-color:#cbd5e1}.zm-outline-action-btn.is-success{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.zm-outline{list-style:none;margin:0;padding:4px 0 8px;font-size:13px;overflow:auto;flex:1;min-height:0}.zm-outline-row{display:flex;align-items:center;gap:6px;padding-right:6px;padding-top:4px;padding-bottom:4px;cursor:grab;color:#334155;border-radius:4px;margin:0 6px;-webkit-user-select:none;user-select:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:background .1s;position:relative}.zm-outline-row:active{cursor:grabbing}.zm-outline-row:hover{background:#f1f5f9}.zm-outline-row.is-root{font-weight:600;color:#0f172a}.zm-outline-row.is-selected{background:#eff6ff;color:#1d4ed8}.zm-outline-row.is-selected .zm-outline-toggle,.zm-outline-row.is-selected .zm-outline-dot,.zm-outline-row.is-selected .zm-outline-row-copy,.zm-outline-row.is-selected .zm-outline-row-action{color:#1d4ed8}.zm-outline-row.is-drag-over-before:before,.zm-outline-row.is-drag-over-after:after{content:"";position:absolute;left:6px;right:6px;height:2px;background:#3b82f6;border-radius:1px;pointer-events:none}.zm-outline-row.is-drag-over-before:before{top:0}.zm-outline-row.is-drag-over-after:after{bottom:0}.zm-outline-row.is-drag-over-child{background:#dbeafe!important;outline:2px solid #3b82f6;outline-offset:-2px}.zm-outline-toggle{width:16px;height:16px;border:none;background:transparent;color:#94a3b8;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:3px;flex-shrink:0;padding:0}.zm-outline-toggle:hover{background:#e2e8f0;color:#475569}.zm-outline-dot{width:4px;height:4px;border-radius:50%;background:#cbd5e1;flex-shrink:0;margin:0 6px}.zm-outline-index{font-size:11px;color:#94a3b8;font-variant-numeric:tabular-nums;min-width:22px;flex-shrink:0;-webkit-user-select:none;user-select:none}.zm-outline-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.zm-outline-input{flex:1;font:inherit;font-size:13px;color:inherit;background:#fff;border:1px solid #3b82f6;border-radius:3px;padding:1px 4px;margin:-2px 0;outline:none}.zm-outline-row-action{width:20px;height:20px;border:1px solid transparent;background:transparent;color:#94a3b8;cursor:pointer;border-radius:4px;flex-shrink:0;padding:0;display:inline-flex;align-items:center;justify-content:center;opacity:0;transition:opacity .1s,background .1s,color .1s,border-color .1s}.zm-outline-row:hover .zm-outline-row-action,.zm-outline-row.is-selected .zm-outline-row-action{opacity:1}.zm-outline-row-action:hover{background:#e0e7ff;color:#4338ca;border-color:#c7d2fe}.zm-outline-row-action img{filter:invert(38%) sepia(94%) saturate(2417%) hue-rotate(229deg) brightness(91%) contrast(91%)}.zm-outline-row-copy{width:20px;height:20px;border:none;background:transparent;color:#94a3b8;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:3px;flex-shrink:0;padding:0;opacity:0;transition:opacity .1s,background .1s,color .1s}.zm-outline-row:hover .zm-outline-row-copy,.zm-outline-row.is-selected .zm-outline-row-copy{opacity:1}.zm-outline-row-copy:hover{background:#e2e8f0;color:#475569}.zm-outline-row-copy.is-success{opacity:1;color:#047857;background:#ecfdf5}.zm-drawer{display:flex;flex-direction:column;height:100%;background:#fff;border-right:1px solid #e2e8f0;overflow:hidden;flex-shrink:0}.zm-drawer--canvas{position:absolute;top:0;bottom:0;height:100%;z-index:40;box-shadow:0 8px 24px #0f172a1f}.zm-drawer--left.zm-drawer--canvas{left:0;border-right:1px solid #e2e8f0}.zm-drawer--right.zm-drawer--canvas{right:0;border-right:none;border-left:1px solid #e2e8f0}.zm-drawer-canvas-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a47;z-index:39;cursor:pointer}.zm-drawer-enter-active,.zm-drawer-leave-active{transition:width .22s ease,opacity .15s ease}.zm-drawer-enter-from,.zm-drawer-leave-to{width:0!important;opacity:0;border-right:none}.zm-slide-left-enter-active,.zm-slide-left-leave-active,.zm-slide-right-enter-active,.zm-slide-right-leave-active{transition:transform .22s ease,opacity .18s ease}.zm-slide-left-enter-from,.zm-slide-left-leave-to{transform:translate(-100%);opacity:0}.zm-slide-right-enter-from,.zm-slide-right-leave-to{transform:translate(100%);opacity:0}.zm-fade-enter-active,.zm-fade-leave-active{transition:opacity .18s ease}.zm-fade-enter-from,.zm-fade-leave-to{opacity:0}.zm-drawer--right{border-right:none;border-left:1px solid #e2e8f0}.zm-drawer-header{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #f1f5f9;flex-shrink:0}.zm-drawer-title{margin:0;flex:1;font-size:13px;font-weight:600;color:#1e293b;letter-spacing:.02em}.zm-drawer-close{width:24px;height:24px;border:none;background:transparent;color:#94a3b8;cursor:pointer;border-radius:4px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.zm-drawer-close:hover{background:#f1f5f9;color:#1e293b}.zm-drawer-body{flex:1;overflow:auto;min-height:0}.zm-jtv-root{font-family:SF Mono,Menlo,Consolas,monospace;font-size:12px;line-height:1.6;color:#334155}.zm-jtv-header{display:flex;align-items:center;gap:4px;cursor:pointer;border-radius:3px;padding-right:6px;-webkit-user-select:none;user-select:none}.zm-jtv-header:hover{background:#f1f5f9}.zm-jtv-toggle{display:inline-block;width:12px;text-align:center;font-size:9px;color:#94a3b8;flex-shrink:0}.zm-jtv-toggle.is-leaf{color:#cbd5e1}.zm-jtv-key{color:#1d4ed8;font-weight:500}.zm-jtv-colon{color:#94a3b8;margin-right:4px}.zm-jtv-size{color:#64748b;font-style:italic}.zm-jtv-bracket,.zm-jtv-brace{color:#94a3b8;font-weight:500;margin-left:4px}.zm-jtv-footer{color:#94a3b8;font-weight:500}.zm-jtv-leaf{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding-right:6px;border-radius:3px}.zm-jtv-leaf:hover{background:#f8fafc}.zm-jtv-value{word-break:break-all}.zm-jtv-string{color:#047857}.zm-jtv-number{color:#b45309}.zm-jtv-boolean{color:#7c3aed;font-weight:500}.zm-jtv-null,.zm-jtv-undefined{color:#94a3b8;font-style:italic}.zm-jtv-thumb-wrap{display:inline-flex;align-items:center;gap:4px;margin-left:6px;flex-shrink:0}.zm-jtv-thumb{max-width:48px;max-height:32px;border:1px solid #e2e8f0;border-radius:3px;background:#fff;object-fit:contain}.zm-jtv-thumb-link{font-size:10px;color:#3b82f6;text-decoration:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.zm-jtv-thumb-link:hover{text-decoration:underline}.zm-jtv-leaf mark,.zm-jtv-key mark{background:#fef08a;color:#422006;padding:0 1px;border-radius:2px}.zm-data-panel{display:flex;flex-direction:column;height:100%;background:#fff}.zm-data-header{display:flex;align-items:center;padding:8px 12px 6px;border-bottom:1px solid #f1f5f9;background:#f8fafc;flex-shrink:0}.zm-data-title{display:flex;align-items:baseline;gap:8px;flex:1;min-width:0}.zm-data-title-text{font-size:12px;font-weight:600;color:#1e293b;letter-spacing:.02em}.zm-data-title-meta{font-size:11px;color:#94a3b8;font-variant-numeric:tabular-nums}.zm-data-toolbar{display:flex;align-items:center;gap:4px;padding:6px 10px;border-bottom:1px solid #f1f5f9;background:#fff;flex-shrink:0;flex-wrap:wrap}.zm-data-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;font-size:12px;font-family:inherit;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .1s}.zm-data-btn:hover{background:#f1f5f9;color:#1e293b;border-color:#cbd5e1}.zm-data-btn.is-icon{padding:4px 8px}.zm-data-btn.is-active{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.zm-data-btn.is-success{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.zm-data-btn.is-primary{background:#3b82f6;color:#fff;border-color:#3b82f6}.zm-data-btn.is-primary:hover{background:#2563eb;border-color:#2563eb;color:#fff}.zm-data-btn:disabled{opacity:.4;cursor:not-allowed}.zm-data-btn-label{font-size:11px}.zm-data-toolbar-spacer{flex:1;min-width:4px}.zm-data-search{display:flex;align-items:center;gap:4px;padding:3px 6px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;transition:all .1s;flex:0 1 160px;min-width:0}.zm-data-search:focus-within,.zm-data-search.is-active{background:#fff;border-color:#3b82f6}.zm-data-search svg{color:#94a3b8;flex-shrink:0}.zm-data-search input{flex:1;min-width:0;border:none;outline:none;background:transparent;font:inherit;font-size:11px;color:#1e293b;padding:0}.zm-data-search input::placeholder{color:#94a3b8}.zm-data-search-clear{border:none;background:transparent;color:#94a3b8;cursor:pointer;padding:0 2px;font-size:14px;line-height:1;border-radius:2px}.zm-data-search-clear:hover{background:#e2e8f0;color:#1e293b}.zm-data-paste{padding:8px 10px 10px;border-bottom:1px solid #f1f5f9;background:#f8fafc;flex-shrink:0}.zm-data-tabs{display:flex;gap:4px;margin-bottom:6px}.zm-data-tab{font:inherit;font-size:11px;padding:2px 8px;border:1px solid #e2e8f0;border-radius:4px;background:#fff;color:#475569;cursor:pointer;transition:all .1s}.zm-data-tab:hover{background:#f1f5f9}.zm-data-tab.is-active{background:#1e293b;border-color:#1e293b;color:#fff}.zm-data-paste textarea{width:100%;min-height:60px;max-height:160px;padding:6px 8px;font-family:SF Mono,Menlo,Consolas,monospace;font-size:11px;line-height:1.4;border:1px solid #e2e8f0;border-radius:4px;background:#fff;resize:vertical;box-sizing:border-box}.zm-data-paste textarea:focus{outline:none;border-color:#3b82f6}.zm-data-paste-actions{display:flex;gap:4px;margin-top:6px}.zm-data-error{margin-top:6px;font-size:11px;color:#dc2626}.zm-data-tree{flex:1;overflow:auto;padding:8px 4px 8px 6px;background:#fff}.zm-data-footer{padding:6px 12px;border-top:1px solid #f1f5f9;background:#f8fafc;font-size:10px;color:#94a3b8;line-height:1.5;flex-shrink:0}.zm-data-footer-hint code{font-family:SF Mono,Menlo,Consolas,monospace;font-size:10px;background:#fff;border:1px solid #e2e8f0;padding:0 3px;border-radius:3px;color:#475569;margin:0 1px}.zm-md-panel{display:flex;flex-direction:column;height:100%;background:#f8fafc}.zm-md-toolbar{display:flex;align-items:center;gap:6px;padding:8px 10px;border-bottom:1px solid #f1f5f9;background:#f8fafc;flex-shrink:0}.zm-md-spacer{flex:1}.zm-md-btn{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;font-size:12px;font-family:inherit;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .1s;white-space:nowrap}.zm-md-btn:hover:not(:disabled){background:#f1f5f9;color:#1e293b;border-color:#cbd5e1}.zm-md-btn:disabled{opacity:.4;cursor:not-allowed}.zm-md-btn.is-primary{background:#3b82f6;color:#fff;border-color:#3b82f6}.zm-md-btn.is-primary:hover:not(:disabled){background:#2563eb;border-color:#2563eb;color:#fff}.zm-md-error{padding:6px 10px;font-size:11px;color:#dc2626;background:#fef2f2;border-bottom:1px solid #fee2e2;flex-shrink:0}.zm-md-split{flex:1;display:flex;flex-direction:column;min-height:0}.zm-md-edit,.zm-md-preview{display:flex;flex-direction:column;min-height:0;flex:1}.zm-md-pane-header{display:flex;align-items:center;gap:8px;padding:6px 10px;font-size:11px;font-weight:600;color:#475569;background:#f1f5f9;border-bottom:1px solid #e2e8f0;letter-spacing:.02em;flex-shrink:0}.zm-md-hint{margin-left:auto;font-weight:400;color:#94a3b8;font-size:10px}.zm-md-textarea{flex:1;width:100%;padding:10px 12px;font-family:SF Mono,Menlo,Consolas,monospace;font-size:12px;line-height:1.5;color:#1e293b;border:none;border-bottom:1px solid #e2e8f0;background:#fff;resize:none;outline:none;box-sizing:border-box}.zm-md-textarea:focus{background:#fafbfc}.zm-md-preview-body{flex:1;position:relative;min-height:0;background:#fff;border-bottom:1px solid #e2e8f0}.zm-md-footer{display:flex;justify-content:flex-end;padding:8px 10px;background:#f8fafc;border-top:1px solid #e2e8f0;flex-shrink:0}.zm-settings-panel[data-v-17ef65d1]{display:flex;flex-direction:column;gap:14px;padding:12px 12px 16px}.zm-settings-section[data-v-17ef65d1]{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.zm-settings-section-title[data-v-17ef65d1]{margin:0 0 10px;font-size:12px;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.04em;display:flex;align-items:baseline;gap:6px}.zm-settings-section-sub[data-v-17ef65d1]{font-size:11px;font-weight:500;color:#64748b;text-transform:none;letter-spacing:0;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zm-settings-row[data-v-17ef65d1]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 0;font-size:13px;color:#1e293b}.zm-settings-label[data-v-17ef65d1]{flex:1}.zm-settings-value-tag[data-v-17ef65d1]{font-size:11px;color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:4px;padding:2px 6px;white-space:nowrap}.zm-settings-number[data-v-17ef65d1]{font-size:11px;color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-radius:4px;padding:2px 6px;width:56px;text-align:right;-moz-appearance:textfield}.zm-settings-number[data-v-17ef65d1]::-webkit-outer-spin-button,.zm-settings-number[data-v-17ef65d1]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.zm-settings-number[data-v-17ef65d1]:focus{outline:none;border-color:#818cf8}.zm-settings-hint[data-v-17ef65d1]{margin:4px 0 0;font-size:11px;color:#94a3b8;line-height:1.5}.zm-slider[data-v-17ef65d1]{position:relative;height:20px;display:flex;align-items:center;margin:4px 0 8px}.zm-slider-track[data-v-17ef65d1]{position:absolute;top:8px;right:0;bottom:8px;left:0;background:#e2e8f0;border-radius:999px;pointer-events:none}.zm-slider input[type=range][data-v-17ef65d1]{position:relative;width:100%;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;height:20px;cursor:pointer;z-index:1}.zm-slider input[type=range][data-v-17ef65d1]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid #3b82f6;box-shadow:0 1px 3px #00000026;cursor:pointer}.zm-slider input[type=range][data-v-17ef65d1]::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid #3b82f6;box-shadow:0 1px 3px #00000026;cursor:pointer}.zm-toggle[data-v-17ef65d1]{position:relative;width:36px;height:20px;border:none;background:#cbd5e1;border-radius:999px;padding:0;cursor:pointer;transition:background .15s;flex-shrink:0}.zm-toggle.is-on[data-v-17ef65d1]{background:#3b82f6}.zm-toggle-knob[data-v-17ef65d1]{position:absolute;top:2px;left:2px;width:16px;height:16px;background:#fff;border-radius:50%;box-shadow:0 1px 2px #00000026;transition:transform .15s}.zm-toggle.is-on .zm-toggle-knob[data-v-17ef65d1]{transform:translate(16px)}.zm-swatch-row[data-v-17ef65d1]{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0 8px}.zm-swatch[data-v-17ef65d1]{width:22px;height:22px;border-radius:4px;border:1px solid #e2e8f0;cursor:pointer;padding:0;flex-shrink:0}.zm-swatch.is-reset[data-v-17ef65d1]{background:#fff;color:#94a3b8;font-size:12px;line-height:1}.zm-line-style-group[data-v-17ef65d1]{display:flex;gap:6px}.zm-line-style-btn[data-v-17ef65d1]{display:inline-flex;flex-direction:column;align-items:center;gap:2px;padding:4px 8px;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;color:#94a3b8;transition:all .12s;font-family:inherit;min-width:56px}.zm-line-style-btn[data-v-17ef65d1]:hover{border-color:#cbd5e1;color:#475569}.zm-line-style-btn.is-on[data-v-17ef65d1]{border-color:#3b82f6;background:#eff6ff;color:#3b82f6}.zm-line-style-label[data-v-17ef65d1]{font-size:11px;font-weight:500}.zm-settings-preview[data-v-17ef65d1]{margin-top:8px;background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:6px 6px 4px}.zm-settings-preview svg[data-v-17ef65d1]{display:block}.zm-settings-preview-labels[data-v-17ef65d1]{display:flex;justify-content:space-between;font-size:10px;color:#94a3b8;margin-top:2px;padding:0 2px}.zm-data-paste-actions[data-v-17ef65d1]{display:flex;gap:6px;margin-top:6px}.zm-data-btn[data-v-17ef65d1]{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;font-size:12px;font-family:inherit;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .1s}.zm-data-btn[data-v-17ef65d1]:hover{background:#f1f5f9;color:#1e293b;border-color:#cbd5e1}.zm-data-btn.is-primary[data-v-17ef65d1]{background:#3b82f6;color:#fff;border-color:#3b82f6}.zm-data-btn.is-primary[data-v-17ef65d1]:hover{background:#2563eb;border-color:#2563eb;color:#fff}.zm-settings-reset[data-v-17ef65d1]{width:100%;padding:6px 10px;font-size:12px;font-family:inherit;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .1s}.zm-settings-reset[data-v-17ef65d1]:hover{background:#f1f5f9;color:#1e293b}.zm-palette-picker[data-v-17ef65d1]{margin:6px 0 8px}.zm-palette-picker-title[data-v-17ef65d1]{margin:6px 0;font-size:11px;font-weight:600;color:#475569;letter-spacing:.02em}.zm-palette-grid[data-v-17ef65d1]{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:6px}.zm-palette-card[data-v-17ef65d1]{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:6px 6px 8px;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;font-family:inherit;text-align:left;transition:all .12s;min-width:0}.zm-palette-card[data-v-17ef65d1]:hover{border-color:#cbd5e1;background:#f8fafc}.zm-palette-card.is-active[data-v-17ef65d1]{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f62e;background:#eff6ff}.zm-palette-card-name[data-v-17ef65d1]{font-size:11px;font-weight:500;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.zm-palette-card.is-active .zm-palette-card-name[data-v-17ef65d1]{color:#1d4ed8}.zm-palette-card-swatches[data-v-17ef65d1]{display:flex;gap:1px;height:8px;border-radius:3px;overflow:hidden}.zm-palette-card-swatch[data-v-17ef65d1]{flex:1;height:100%;min-width:0}.zm-palette-customs[data-v-17ef65d1]{margin-top:10px;display:flex;flex-direction:column;gap:8px}.zm-palette-custom[data-v-17ef65d1]{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:8px;display:flex;flex-direction:column;gap:6px}.zm-palette-custom .zm-palette-card[data-v-17ef65d1]{border-style:dashed;background:#f8fafc}.zm-palette-textarea[data-v-17ef65d1]{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;line-height:1.5;color:#0f172a;background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px;padding:4px 6px;resize:vertical;min-height:32px;outline:none;transition:border-color .1s}.zm-palette-textarea[data-v-17ef65d1]:focus{border-color:#3b82f6;background:#fff}.zm-palette-custom-actions[data-v-17ef65d1]{display:flex;gap:6px}.zm-palette-add[data-v-17ef65d1]{margin-top:8px;width:100%;padding:6px 8px;font-size:12px;font-family:inherit;color:#475569;background:#fff;border:1px dashed #cbd5e1;border-radius:6px;cursor:pointer;transition:all .1s}.zm-palette-add[data-v-17ef65d1]:hover{background:#f1f5f9;color:#1e293b;border-color:#94a3b8}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
1
+ .zm-node-menu{position:fixed;z-index:40;min-width:168px;padding:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 8px 24px #0f172a24;display:flex;flex-direction:column;gap:2px;font-size:13px;color:#1e293b;-webkit-user-select:none;user-select:none}.zm-node-menu-item{display:flex;align-items:center;gap:8px;padding:6px 10px;border:none;background:transparent;color:inherit;font:inherit;text-align:left;border-radius:4px;cursor:pointer;width:100%;transition:background .1s}.zm-node-menu-item:hover:not(:disabled){background:#f1f5f9}.zm-node-menu-item:active:not(:disabled){background:#e2e8f0}.zm-node-menu-item:disabled{color:#94a3b8;cursor:not-allowed}.zm-node-menu-icon{display:inline-flex;align-items:center;justify-content:center;width:13px;height:13px;font-size:10px;font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-weight:600;color:#64748b;flex-shrink:0}.zm-node-menu-icon-code{font-size:10px;letter-spacing:-1px}.zm-node-menu-icon-table{font-size:12px;font-family:inherit}.zm-node-menu-divider{height:1px;background:#e2e8f0;margin:2px 4px}.zm-node-menu-arrow{margin-left:auto;font-size:14px;color:#94a3b8;transition:transform .15s}.zm-node-menu-arrow.is-open{transform:rotate(90deg)}.zm-marker-picker{padding:4px 8px 6px;display:flex;flex-direction:column;gap:6px}.zm-marker-group{display:flex;flex-direction:column;gap:3px}.zm-marker-group-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8}.zm-marker-grid{display:flex;flex-wrap:wrap;gap:3px}.zm-marker-cell{width:26px;height:26px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:4px;background:#f8fafc;cursor:pointer;padding:0;transition:all .1s}.zm-marker-cell:hover{background:#e2e8f0;border-color:#cbd5e1}.zm-marker-cell.is-active{background:#eff6ff;border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f633}.zm-marker-cell svg{display:block}.zm-marker-clear{font:inherit;font-size:11px;color:#b91c1c;background:transparent;border:none;cursor:pointer;text-align:center;padding:3px;border-radius:4px}.zm-marker-clear:hover{background:#fee2e2}.zm-canvas-menu{position:fixed;z-index:40;min-width:140px;padding:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-sizing:border-box;box-shadow:0 8px 24px #0f172a24;display:flex;flex-direction:column;gap:2px;font-size:13px;color:#1e293b;-webkit-user-select:none;user-select:none}.zm-canvas-menu-item{display:flex;align-items:center;gap:8px;padding:6px 10px;border:none;background:transparent;color:inherit;font:inherit;text-align:left;border-radius:4px;cursor:pointer;width:100%;box-sizing:border-box;transition:background .1s}.zm-canvas-menu-item:hover:not(:disabled){background:#f1f5f9}.zm-canvas-menu-item:active:not(:disabled){background:#e2e8f0}.zm-canvas-menu-item:disabled{color:#94a3b8;cursor:not-allowed}.zm-canvas-menu-item-has-submenu{position:relative;box-sizing:border-box}.zm-canvas-menu-item-has-submenu.is-open,.zm-canvas-menu-item-has-submenu:hover{background:#f1f5f9}.zm-canvas-menu-caret{margin-left:auto;color:#94a3b8;flex-shrink:0;display:inline-flex;align-items:center}.zm-canvas-menu-divider{height:1px;background:#e2e8f0;margin:2px 4px}.zm-canvas-submenu{position:fixed;z-index:41;min-width:160px;padding:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-sizing:border-box;box-shadow:0 8px 24px #0f172a24;display:flex;flex-direction:column;gap:2px;font-size:13px;color:#1e293b;-webkit-user-select:none;user-select:none;animation:zm-submenu-in .12s ease-out}@keyframes zm-submenu-in{0%{opacity:0;transform:translate(-4px)}to{opacity:1;transform:translate(0)}}.zm-drawer{display:flex;flex-direction:column;height:100%;background:#fff;border-right:1px solid #e2e8f0;overflow:hidden;flex-shrink:0}.zm-drawer--canvas{position:absolute;top:0;bottom:0;height:100%;z-index:40;box-shadow:0 8px 24px #0f172a1f}.zm-drawer--left.zm-drawer--canvas{left:0;border-right:1px solid #e2e8f0}.zm-drawer--right.zm-drawer--canvas{right:0;border-right:none;border-left:1px solid #e2e8f0}.zm-drawer-canvas-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a47;z-index:39;cursor:pointer}.zm-drawer-enter-active,.zm-drawer-leave-active{transition:width .22s ease,opacity .15s ease}.zm-drawer-enter-from,.zm-drawer-leave-to{width:0!important;opacity:0;border-right:none}.zm-slide-left-enter-active,.zm-slide-left-leave-active,.zm-slide-right-enter-active,.zm-slide-right-leave-active{transition:transform .22s ease,opacity .18s ease}.zm-slide-left-enter-from,.zm-slide-left-leave-to{transform:translate(-100%);opacity:0}.zm-slide-right-enter-from,.zm-slide-right-leave-to{transform:translate(100%);opacity:0}.zm-fade-enter-active,.zm-fade-leave-active{transition:opacity .18s ease}.zm-fade-enter-from,.zm-fade-leave-to{opacity:0}.zm-drawer--right{border-right:none;border-left:1px solid #e2e8f0}.zm-drawer-header{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #f1f5f9;flex-shrink:0}.zm-drawer-title{margin:0;flex:1;font-size:13px;font-weight:600;color:#1e293b;letter-spacing:.02em}.zm-drawer-close{width:24px;height:24px;border:none;background:transparent;color:#94a3b8;cursor:pointer;border-radius:4px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.zm-drawer-close:hover{background:#f1f5f9;color:#1e293b}.zm-drawer-body{flex:1;overflow:auto;min-height:0}.zm-outline-root{display:flex;flex-direction:column;height:100%}.zm-outline-search{display:flex;align-items:center;gap:6px;padding:8px 10px 4px;flex-shrink:0}.zm-outline-search-icon{color:#94a3b8;flex-shrink:0}.zm-outline-search-input{flex:1;min-width:0;padding:4px 8px;font:inherit;font-size:12px;color:#1e293b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;outline:none;box-sizing:border-box}.zm-outline-search-input:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 2px #3b82f61f}.zm-outline-search-input::placeholder{color:#94a3b8;font-size:11px}.zm-outline-search-count{font-size:11px;color:#64748b;white-space:nowrap;min-width:36px;text-align:center;flex-shrink:0}.zm-outline-search-empty{color:#ef4444}.zm-outline-search-clear{width:20px;height:20px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;border-radius:4px;cursor:pointer;color:#94a3b8;font-size:16px;line-height:1;flex-shrink:0}.zm-outline-search-clear:hover{background:#f1f5f9;color:#1e293b}.zm-outline-actions{display:flex;justify-content:flex-end;padding:4px 10px;flex-shrink:0}.zm-outline-action-btn{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;font-size:11px;font-family:inherit;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:5px;cursor:pointer;transition:all .1s}.zm-outline-action-btn:hover{background:#f1f5f9;color:#1e293b;border-color:#cbd5e1}.zm-outline-action-btn.is-success{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.zm-outline{list-style:none;margin:0;padding:4px 0 8px;font-size:13px;overflow:auto;flex:1;min-height:0}.zm-outline-row{display:flex;align-items:center;gap:6px;padding-right:6px;padding-top:4px;padding-bottom:4px;cursor:grab;color:#334155;border-radius:4px;margin:0 6px;-webkit-user-select:none;user-select:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:background .1s;position:relative}.zm-outline-row:active{cursor:grabbing}.zm-outline-row:hover{background:#f1f5f9}.zm-outline-row.is-root{font-weight:600;color:#0f172a}.zm-outline-row.is-selected{background:#eff6ff;color:#1d4ed8}.zm-outline-row.is-selected .zm-outline-toggle,.zm-outline-row.is-selected .zm-outline-dot,.zm-outline-row.is-selected .zm-outline-row-copy,.zm-outline-row.is-selected .zm-outline-row-action{color:#1d4ed8}.zm-outline-row.is-search-hit{background:#fffbeb;box-shadow:inset 3px 0 #f59e0b}.zm-outline-row.is-search-current{background:#fef3c7;box-shadow:inset 3px 0 #f97316,inset 0 0 0 1px #f973164d}.zm-outline-row.is-drag-over-before:before,.zm-outline-row.is-drag-over-after:after{content:"";position:absolute;left:6px;right:6px;height:2px;background:#3b82f6;border-radius:1px;pointer-events:none}.zm-outline-row.is-drag-over-before:before{top:0}.zm-outline-row.is-drag-over-after:after{bottom:0}.zm-outline-row.is-drag-over-child{background:#dbeafe!important;outline:2px solid #3b82f6;outline-offset:-2px}.zm-outline-toggle{width:16px;height:16px;border:none;background:transparent;color:#94a3b8;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:3px;flex-shrink:0;padding:0}.zm-outline-toggle:hover{background:#e2e8f0;color:#475569}.zm-outline-dot{width:4px;height:4px;border-radius:50%;background:#cbd5e1;flex-shrink:0;margin:0 6px}.zm-outline-index{font-size:11px;color:#94a3b8;font-variant-numeric:tabular-nums;min-width:22px;flex-shrink:0;-webkit-user-select:none;user-select:none}.zm-outline-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.zm-outline-input{flex:1;font:inherit;font-size:13px;color:inherit;background:#fff;border:1px solid #3b82f6;border-radius:3px;padding:1px 4px;margin:-2px 0;outline:none}.zm-outline-row-action{width:20px;height:20px;border:1px solid transparent;background:transparent;color:#94a3b8;cursor:pointer;border-radius:4px;flex-shrink:0;padding:0;display:inline-flex;align-items:center;justify-content:center;opacity:0;transition:opacity .1s,background .1s,color .1s,border-color .1s}.zm-outline-row:hover .zm-outline-row-action,.zm-outline-row.is-selected .zm-outline-row-action{opacity:1}.zm-outline-row-action:hover{background:#e0e7ff;color:#4338ca;border-color:#c7d2fe}.zm-outline-row-action img{filter:invert(38%) sepia(94%) saturate(2417%) hue-rotate(229deg) brightness(91%) contrast(91%)}.zm-outline-row-copy{width:20px;height:20px;border:none;background:transparent;color:#94a3b8;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:3px;flex-shrink:0;padding:0;opacity:0;transition:opacity .1s,background .1s,color .1s}.zm-outline-row:hover .zm-outline-row-copy,.zm-outline-row.is-selected .zm-outline-row-copy{opacity:1}.zm-outline-row-copy:hover{background:#e2e8f0;color:#475569}.zm-outline-row-copy.is-success{opacity:1;color:#047857;background:#ecfdf5}.zm-jtv-root{font-family:SF Mono,Menlo,Consolas,monospace;font-size:12px;line-height:1.6;color:#334155}.zm-jtv-header{display:flex;align-items:center;gap:4px;cursor:pointer;border-radius:3px;padding-right:6px;-webkit-user-select:none;user-select:none}.zm-jtv-header:hover{background:#f1f5f9}.zm-jtv-toggle{display:inline-block;width:12px;text-align:center;font-size:9px;color:#94a3b8;flex-shrink:0}.zm-jtv-toggle.is-leaf{color:#cbd5e1}.zm-jtv-key{color:#1d4ed8;font-weight:500}.zm-jtv-colon{color:#94a3b8;margin-right:4px}.zm-jtv-size{color:#64748b;font-style:italic}.zm-jtv-bracket,.zm-jtv-brace{color:#94a3b8;font-weight:500;margin-left:4px}.zm-jtv-footer{color:#94a3b8;font-weight:500}.zm-jtv-leaf{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding-right:6px;border-radius:3px}.zm-jtv-leaf:hover{background:#f8fafc}.zm-jtv-value{word-break:break-all}.zm-jtv-string{color:#047857}.zm-jtv-number{color:#b45309}.zm-jtv-boolean{color:#7c3aed;font-weight:500}.zm-jtv-null,.zm-jtv-undefined{color:#94a3b8;font-style:italic}.zm-jtv-thumb-wrap{display:inline-flex;align-items:center;gap:4px;margin-left:6px;flex-shrink:0}.zm-jtv-thumb{max-width:48px;max-height:32px;border:1px solid #e2e8f0;border-radius:3px;background:#fff;object-fit:contain}.zm-jtv-thumb-link{font-size:10px;color:#3b82f6;text-decoration:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.zm-jtv-thumb-link:hover{text-decoration:underline}.zm-jtv-leaf mark,.zm-jtv-key mark{background:#fef08a;color:#422006;padding:0 1px;border-radius:2px}.zm-data-panel{display:flex;flex-direction:column;height:100%;background:#fff}.zm-data-header{display:flex;align-items:center;padding:8px 12px 6px;border-bottom:1px solid #f1f5f9;background:#f8fafc;flex-shrink:0}.zm-data-title{display:flex;align-items:baseline;gap:8px;flex:1;min-width:0}.zm-data-title-text{font-size:12px;font-weight:600;color:#1e293b;letter-spacing:.02em}.zm-data-title-meta{font-size:11px;color:#94a3b8;font-variant-numeric:tabular-nums}.zm-data-toolbar{display:flex;align-items:center;gap:4px;padding:6px 10px;border-bottom:1px solid #f1f5f9;background:#fff;flex-shrink:0;flex-wrap:wrap}.zm-data-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;font-size:12px;font-family:inherit;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .1s}.zm-data-btn:hover{background:#f1f5f9;color:#1e293b;border-color:#cbd5e1}.zm-data-btn.is-icon{padding:4px 8px}.zm-data-btn.is-active{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.zm-data-btn.is-success{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.zm-data-btn.is-primary{background:#3b82f6;color:#fff;border-color:#3b82f6}.zm-data-btn.is-primary:hover{background:#2563eb;border-color:#2563eb;color:#fff}.zm-data-btn:disabled{opacity:.4;cursor:not-allowed}.zm-data-btn-label{font-size:11px}.zm-data-toolbar-spacer{flex:1;min-width:4px}.zm-data-search{display:flex;align-items:center;gap:4px;padding:3px 6px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;transition:all .1s;flex:0 1 160px;min-width:0}.zm-data-search:focus-within,.zm-data-search.is-active{background:#fff;border-color:#3b82f6}.zm-data-search svg{color:#94a3b8;flex-shrink:0}.zm-data-search input{flex:1;min-width:0;border:none;outline:none;background:transparent;font:inherit;font-size:11px;color:#1e293b;padding:0}.zm-data-search input::placeholder{color:#94a3b8}.zm-data-search-clear{border:none;background:transparent;color:#94a3b8;cursor:pointer;padding:0 2px;font-size:14px;line-height:1;border-radius:2px}.zm-data-search-clear:hover{background:#e2e8f0;color:#1e293b}.zm-data-paste{padding:8px 10px 10px;border-bottom:1px solid #f1f5f9;background:#f8fafc;flex-shrink:0}.zm-data-tabs{display:flex;gap:4px;margin-bottom:6px}.zm-data-tab{font:inherit;font-size:11px;padding:2px 8px;border:1px solid #e2e8f0;border-radius:4px;background:#fff;color:#475569;cursor:pointer;transition:all .1s}.zm-data-tab:hover{background:#f1f5f9}.zm-data-tab.is-active{background:#1e293b;border-color:#1e293b;color:#fff}.zm-data-paste textarea{width:100%;min-height:60px;max-height:160px;padding:6px 8px;font-family:SF Mono,Menlo,Consolas,monospace;font-size:11px;line-height:1.4;border:1px solid #e2e8f0;border-radius:4px;background:#fff;resize:vertical;box-sizing:border-box}.zm-data-paste textarea:focus{outline:none;border-color:#3b82f6}.zm-data-paste-actions{display:flex;gap:4px;margin-top:6px}.zm-data-error{margin-top:6px;font-size:11px;color:#dc2626}.zm-data-tree{flex:1;overflow:auto;padding:8px 4px 8px 6px;background:#fff}.zm-data-footer{padding:6px 12px;border-top:1px solid #f1f5f9;background:#f8fafc;font-size:10px;color:#94a3b8;line-height:1.5;flex-shrink:0}.zm-data-footer-hint code{font-family:SF Mono,Menlo,Consolas,monospace;font-size:10px;background:#fff;border:1px solid #e2e8f0;padding:0 3px;border-radius:3px;color:#475569;margin:0 1px}.zm-md-panel{display:flex;flex-direction:column;height:100%;background:#f8fafc}.zm-md-toolbar{display:flex;align-items:center;gap:6px;padding:8px 10px;border-bottom:1px solid #f1f5f9;background:#f8fafc;flex-shrink:0}.zm-md-spacer{flex:1}.zm-md-btn{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;font-size:12px;font-family:inherit;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .1s;white-space:nowrap}.zm-md-btn:hover:not(:disabled){background:#f1f5f9;color:#1e293b;border-color:#cbd5e1}.zm-md-btn:disabled{opacity:.4;cursor:not-allowed}.zm-md-btn.is-primary{background:#3b82f6;color:#fff;border-color:#3b82f6}.zm-md-btn.is-primary:hover:not(:disabled){background:#2563eb;border-color:#2563eb;color:#fff}.zm-md-error{padding:6px 10px;font-size:11px;color:#dc2626;background:#fef2f2;border-bottom:1px solid #fee2e2;flex-shrink:0}.zm-md-split{flex:1;display:flex;flex-direction:column;min-height:0}.zm-md-edit,.zm-md-preview{display:flex;flex-direction:column;min-height:0;flex:1}.zm-md-pane-header{display:flex;align-items:center;gap:8px;padding:6px 10px;font-size:11px;font-weight:600;color:#475569;background:#f1f5f9;border-bottom:1px solid #e2e8f0;letter-spacing:.02em;flex-shrink:0}.zm-md-hint{margin-left:auto;font-weight:400;color:#94a3b8;font-size:10px}.zm-md-textarea{flex:1;width:100%;padding:10px 12px;font-family:SF Mono,Menlo,Consolas,monospace;font-size:12px;line-height:1.5;color:#1e293b;border:none;border-bottom:1px solid #e2e8f0;background:#fff;resize:none;outline:none;box-sizing:border-box}.zm-md-textarea:focus{background:#fafbfc}.zm-md-preview-body{flex:1;position:relative;min-height:0;background:#fff;border-bottom:1px solid #e2e8f0}.zm-md-footer{display:flex;justify-content:flex-end;padding:8px 10px;background:#f8fafc;border-top:1px solid #e2e8f0;flex-shrink:0}.zm-settings-panel[data-v-3fc1672c]{display:flex;flex-direction:column;gap:12px;padding:14px 14px 18px}.zm-settings-section[data-v-3fc1672c]{background:#fff;border:1px solid #eef0f3;border-radius:10px;padding:14px}.zm-settings-section--actions[data-v-3fc1672c]{background:transparent;border:none;padding:0}.zm-settings-section-title[data-v-3fc1672c]{margin:0 0 12px;font-size:13px;font-weight:700;color:#0f172a;letter-spacing:.01em;display:flex;align-items:baseline;gap:6px}.zm-settings-section-sub[data-v-3fc1672c]{font-size:11px;font-weight:500;color:#64748b;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zm-settings-field[data-v-3fc1672c]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0;font-size:13px;color:#1e293b;min-height:28px}.zm-settings-label[data-v-3fc1672c]{flex:1;color:#334155;font-weight:500}.zm-settings-value-tag[data-v-3fc1672c]{font-size:11px;color:#64748b;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;padding:2px 8px;white-space:nowrap;font-family:ui-monospace,monospace}.zm-settings-number[data-v-3fc1672c]{font-size:12px;color:#0f172a;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:4px 8px;width:64px;text-align:right;-moz-appearance:textfield;transition:border-color .12s}.zm-settings-number[data-v-3fc1672c]::-webkit-outer-spin-button,.zm-settings-number[data-v-3fc1672c]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.zm-settings-number[data-v-3fc1672c]:focus{outline:none;border-color:#6366f1;background:#fff}.zm-select[data-v-3fc1672c]{font-size:12px;font-family:inherit;color:#1e293b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:4px 8px;cursor:pointer;outline:none;transition:border-color .12s;min-width:100px}.zm-select[data-v-3fc1672c]:focus,.zm-select[data-v-3fc1672c]:hover{border-color:#6366f1}.zm-select[data-v-3fc1672c]:focus{background:#fff}.zm-settings-hint[data-v-3fc1672c]{margin:6px 0 0;font-size:11px;color:#94a3b8;line-height:1.5}.zm-settings-divider[data-v-3fc1672c]{height:1px;background:#f1f5f9;margin:10px 0}.zm-slider[data-v-3fc1672c]{position:relative;height:22px;display:flex;align-items:center;margin:2px 0 6px}.zm-slider-track[data-v-3fc1672c]{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);height:4px;background:#e2e8f0;border-radius:999px;pointer-events:none}.zm-slider input[type=range][data-v-3fc1672c]{position:relative;width:100%;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;height:22px;cursor:pointer;z-index:1}.zm-slider input[type=range][data-v-3fc1672c]::-webkit-slider-runnable-track{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:4px;background:transparent;border-radius:999px}.zm-slider input[type=range][data-v-3fc1672c]::-moz-range-track{height:4px;background:transparent;border-radius:999px}.zm-slider input[type=range][data-v-3fc1672c]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid #6366f1;box-shadow:0 1px 4px #6366f140;cursor:pointer;margin-top:-6px;transition:border-color .12s,box-shadow .12s}.zm-slider input[type=range][data-v-3fc1672c]::-webkit-slider-thumb:hover{border-color:#4f46e5;box-shadow:0 2px 8px #6366f159}.zm-slider input[type=range][data-v-3fc1672c]::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid #6366f1;box-shadow:0 1px 4px #6366f140;cursor:pointer}.zm-toggle[data-v-3fc1672c]{position:relative;width:38px;height:22px;border:none;background:#cbd5e1;border-radius:999px;padding:0;cursor:pointer;transition:background .15s;flex-shrink:0}.zm-toggle.is-on[data-v-3fc1672c]{background:#6366f1}.zm-toggle-knob[data-v-3fc1672c]{position:absolute;top:2px;left:2px;width:18px;height:18px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0000002e;transition:transform .15s}.zm-toggle.is-on .zm-toggle-knob[data-v-3fc1672c]{transform:translate(16px)}.zm-swatch-row[data-v-3fc1672c]{display:flex;flex-wrap:wrap;gap:5px;margin:4px 0 10px}.zm-swatch-row--compact[data-v-3fc1672c]{gap:4px;margin-bottom:6px}.zm-swatch[data-v-3fc1672c]{width:22px;height:22px;border-radius:5px;border:1.5px solid #e2e8f0;cursor:pointer;padding:0;flex-shrink:0;transition:transform .1s,border-color .12s,box-shadow .12s}.zm-swatch[data-v-3fc1672c]:hover{transform:scale(1.12);border-color:#94a3b8}.zm-swatch.is-active[data-v-3fc1672c]{border-color:#6366f1;box-shadow:0 0 0 2px #6366f133}.zm-swatch.is-reset[data-v-3fc1672c]{background:#fff;color:#94a3b8;font-size:12px;line-height:1;display:flex;align-items:center;justify-content:center}.zm-swatch.is-reset[data-v-3fc1672c]:hover{color:#ef4444;border-color:#fca5a5}.zm-swatch--custom[data-v-3fc1672c]{position:relative;overflow:hidden;background:conic-gradient(from 0deg,#f87171,#fbbf24,#34d399,#22d3ee,#818cf8,#c084fc,#f87171);border:1.5px solid #e2e8f0}.zm-swatch--custom input[type=color][data-v-3fc1672c]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;border:none;padding:0}.zm-color-input-wrap[data-v-3fc1672c]{display:inline-flex;align-items:center;gap:6px;cursor:pointer}.zm-color-input[data-v-3fc1672c]{width:28px;height:22px;border:1.5px solid #e2e8f0;border-radius:5px;cursor:pointer;padding:0;background:none}.zm-color-input-text[data-v-3fc1672c]{font-size:11px;color:#64748b;font-family:ui-monospace,monospace}.zm-line-style-group[data-v-3fc1672c]{display:flex;gap:6px}.zm-line-style-btn[data-v-3fc1672c]{display:inline-flex;flex-direction:column;align-items:center;gap:2px;padding:4px 10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;color:#94a3b8;transition:all .12s;font-family:inherit;min-width:56px}.zm-line-style-btn[data-v-3fc1672c]:hover{border-color:#cbd5e1;color:#475569;background:#fff}.zm-line-style-btn.is-on[data-v-3fc1672c]{border-color:#6366f1;background:#eef2ff;color:#6366f1}.zm-line-style-label[data-v-3fc1672c]{font-size:11px;font-weight:500}.zm-settings-preview[data-v-3fc1672c]{margin-top:10px;background:#f8fafc;border:1px solid #eef0f3;border-radius:8px;padding:8px 8px 6px}.zm-settings-preview svg[data-v-3fc1672c]{display:block}.zm-settings-preview-labels[data-v-3fc1672c]{display:flex;justify-content:space-between;font-size:10px;color:#94a3b8;margin-top:4px;padding:0 2px}.zm-palette-dropdown[data-v-3fc1672c]{margin:8px 0;padding:10px;background:#f8fafc;border-radius:8px;border:1px solid #eef0f3}.zm-palette-preview-bar[data-v-3fc1672c]{display:flex;gap:2px;height:10px;border-radius:4px;overflow:hidden;margin-top:8px}.zm-palette-preview-swatch[data-v-3fc1672c]{flex:1;height:100%;min-width:0}.zm-palette-custom-editor[data-v-3fc1672c]{margin-top:8px}.zm-palette-textarea[data-v-3fc1672c]{width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;line-height:1.5;color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:6px 8px;resize:vertical;min-height:36px;outline:none;box-sizing:border-box;transition:border-color .1s}.zm-palette-textarea[data-v-3fc1672c]:focus{border-color:#6366f1}.zm-palette-custom-actions[data-v-3fc1672c]{display:flex;gap:6px;margin-top:6px}.zm-palette-add[data-v-3fc1672c]{margin-top:8px;width:100%;padding:6px 8px;font-size:12px;font-family:inherit;font-weight:500;color:#6366f1;background:#fff;border:1px dashed #c7d2fe;border-radius:6px;cursor:pointer;transition:all .1s}.zm-palette-add[data-v-3fc1672c]:hover{background:#eef2ff;border-color:#6366f1}.zm-data-btn[data-v-3fc1672c]{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;font-size:12px;font-family:inherit;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .1s}.zm-data-btn[data-v-3fc1672c]:hover{background:#f1f5f9;color:#1e293b;border-color:#cbd5e1}.zm-data-btn.is-primary[data-v-3fc1672c]{background:#6366f1;color:#fff;border-color:#6366f1}.zm-data-btn.is-primary[data-v-3fc1672c]:hover{background:#4f46e5;border-color:#4f46e5;color:#fff}.zm-settings-reset[data-v-3fc1672c]{width:100%;padding:8px 12px;font-size:12px;font-family:inherit;font-weight:500;color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all .1s}.zm-settings-reset[data-v-3fc1672c]:hover{background:#fef2f2;color:#ef4444;border-color:#fecaca}.zm-note-panel{display:flex;flex-direction:column;height:100%;padding:12px 12px 16px;gap:10px;background:#f8fafc}.zm-note-empty{padding:20px 12px;color:#64748b;font-size:13px;line-height:1.6}.zm-note-empty p{margin:0 0 6px}.zm-note-hint{color:#94a3b8;font-size:12px}.zm-note-header{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:4px;flex-shrink:0}.zm-note-title-row{display:flex;align-items:baseline;gap:8px;min-width:0}.zm-note-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8;flex-shrink:0}.zm-note-name{font-size:13px;font-weight:600;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.zm-note-meta{font-size:11px;color:#94a3b8}.zm-note-scroll{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding-right:2px}.zm-note-section{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:8px}.zm-note-section-head{display:flex;align-items:center;gap:8px;min-width:0}.zm-note-section-title{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#64748b;flex:1;min-width:0}.zm-note-section-hint{font-size:10px;color:#94a3b8}.zm-note-section-tag{font-size:10px;font-family:JetBrains Mono,Fira Code,Consolas,monospace;color:#475569;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;padding:1px 6px;line-height:1.4}.zm-note-section-actions{display:flex;justify-content:flex-end}.zm-note-textarea{width:100%;min-height:120px;padding:10px 12px;font:inherit;font-size:13px;line-height:20px;color:#1e293b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;resize:none;outline:none;box-sizing:border-box;font-family:inherit;overflow:hidden}.zm-note-textarea:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61f}.zm-note-textarea:disabled{background:#f8fafc;color:#94a3b8;cursor:not-allowed}.zm-note-textarea::placeholder{color:#94a3b8;white-space:pre-line}.zm-note-split{display:flex;flex-direction:column;gap:6px}.zm-note-preview-toggle{font:inherit;font-size:10px;color:#1d4ed8;background:transparent;border:1px solid #bfdbfe;border-radius:999px;padding:1px 8px;cursor:pointer;transition:all .1s;flex-shrink:0}.zm-note-preview-toggle:hover{background:#eff6ff;border-color:#93c5fd}.zm-note-preview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:8px 12px;max-height:240px;overflow:auto;font-size:13px;line-height:1.6;color:#1e293b}.zm-note-preview-hint{color:#94a3b8;font-size:12px;font-style:italic}.zm-note-preview-body h1,.zm-note-preview-body h2,.zm-note-preview-body h3{margin:8px 0 4px;font-weight:600;color:#0f172a}.zm-note-preview-body h1{font-size:16px}.zm-note-preview-body h2{font-size:14px}.zm-note-preview-body h3{font-size:13px}.zm-note-preview-body h4,.zm-note-preview-body h5,.zm-note-preview-body h6{margin:6px 0 4px;font-size:12px;font-weight:600;color:#334155}.zm-note-preview-body p{margin:0 0 6px}.zm-note-preview-body p:last-child{margin-bottom:0}.zm-note-preview-body ul,.zm-note-preview-body ol{margin:0 0 6px;padding-left:20px}.zm-note-preview-body li{margin:0 0 2px}.zm-note-preview-body blockquote{margin:0 0 6px;padding:4px 10px;border-left:3px solid #cbd5e1;color:#475569;background:#f1f5f9}.zm-note-preview-body code{font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:12px;background:#f1f5f9;padding:1px 4px;border-radius:3px;color:#be185d}.zm-note-preview-body pre{margin:0 0 6px;padding:8px 10px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;overflow:auto}.zm-note-preview-body pre code{background:transparent;padding:0;color:inherit;font-size:12px;line-height:1.55}.zm-note-preview-body a{color:#1d4ed8;text-decoration:underline;text-decoration-color:#bfdbfe}.zm-note-preview-body a:hover{text-decoration-color:#1d4ed8}.zm-note-preview-body table{border-collapse:collapse;margin:0 0 6px;font-size:12px}.zm-note-preview-body th,.zm-note-preview-body td{border:1px solid #e2e8f0;padding:4px 8px;text-align:left}.zm-note-preview-body th{background:#f1f5f9;font-weight:600}.zm-note-preview-body hr{border:none;border-top:1px solid #e2e8f0;margin:8px 0}.zm-note-preview-body img{max-width:100%;max-height:200px;border-radius:4px;display:block}.zm-note-input{width:100%;padding:7px 10px;font:inherit;font-size:12px;line-height:1.5;color:#1e293b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;outline:none;box-sizing:border-box;font-family:inherit}.zm-note-input:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61f}.zm-note-input:disabled{background:#f8fafc;color:#94a3b8;cursor:not-allowed}.zm-note-input-code{font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:11px;min-height:80px;resize:none;white-space:pre;line-height:20px;overflow:hidden}.zm-note-add-row{display:flex;flex-wrap:wrap;gap:6px;padding:2px 2px 0}.zm-note-add-chip{font:inherit;font-size:11px;color:#64748b;background:#fff;border:1px dashed #cbd5e1;border-radius:999px;padding:3px 10px;cursor:pointer;transition:all .1s}.zm-note-add-chip:hover{color:#1d4ed8;border-color:#93c5fd;background:#eff6ff}.zm-note-link-chip{display:inline-block;max-width:100%;padding:6px 10px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;color:#1d4ed8;font-size:12px;text-decoration:none;word-break:break-all;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;transition:background .1s}.zm-note-link-chip:hover{background:#dbeafe}.zm-note-image{display:block;max-width:100%;max-height:240px;object-fit:contain;border-radius:6px;background:#f1f5f9;margin:0 auto}.zm-note-code{margin:0;padding:10px 12px;background:#f1f5f9;color:#24292e;border:1px solid #e2e8f0;border-radius:8px;font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:12px;line-height:1.55;white-space:pre-wrap;word-break:break-word;max-height:320px;overflow:auto;box-shadow:0 1px 3px #0f172a14}.zm-note-code code{font:inherit;color:inherit;background:transparent;padding:0}.zm-note-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;color:#1e293b;table-layout:auto;background:#fffbeb;border:1px solid #fcd34d;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #92400e14}.zm-note-table td{border-top:1px solid #fde68a;border-right:1px solid #fde68a;padding:6px 10px;text-align:left;vertical-align:top;word-break:break-word;background:#fffbeb}.zm-note-table tr:last-child td{border-bottom:none}.zm-note-table td:last-child{border-right:none}.zm-note-table-sort{background:#fef3c7;font-weight:600;padding:6px 10px;border-bottom:1px solid #fcd34d;border-right:1px solid #fde68a;text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative}.zm-note-table-sort:last-child{border-right:none}.zm-note-table-sort:hover{background:#fde68a}.zm-note-table-sort.is-sorted{background:#fde68a;color:#92400e}.zm-note-table-sort-mark{position:absolute;right:6px;top:50%;transform:translateY(-50%);font-size:10px;color:#94a3b8}.zm-note-table-sort.is-sorted .zm-note-table-sort-mark{color:#1d4ed8}.zm-note-action-btn{padding:4px 10px;font-size:12px;font-family:inherit;color:#fff;background:#3b82f6;border:1px solid #3b82f6;border-radius:6px;cursor:pointer;transition:all .1s}.zm-note-action-btn.is-danger{color:#b91c1c;background:#fff;border-color:#fca5a5}.zm-note-action-btn.is-danger:hover{background:#fee2e2;border-color:#f87171}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
2
2
  Theme: GitHub
3
3
  Description: Light theme as seen on github.com
4
4
  Author: github.com
@@ -7,4 +7,4 @@
7
7
 
8
8
  Outdated base version: https://github.com/primer/github-syntax-light
9
9
  Current colors taken from GitHub's CSS
10
- */.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.zm-note-panel{display:flex;flex-direction:column;height:100%;padding:12px 12px 16px;gap:10px;background:#f8fafc}.zm-note-empty{padding:20px 12px;color:#64748b;font-size:13px;line-height:1.6}.zm-note-empty p{margin:0 0 6px}.zm-note-hint{color:#94a3b8;font-size:12px}.zm-note-header{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:4px;flex-shrink:0}.zm-note-title-row{display:flex;align-items:baseline;gap:8px;min-width:0}.zm-note-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8;flex-shrink:0}.zm-note-name{font-size:13px;font-weight:600;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.zm-note-meta{font-size:11px;color:#94a3b8}.zm-note-scroll{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding-right:2px}.zm-note-section{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:8px}.zm-note-section-head{display:flex;align-items:center;gap:8px;min-width:0}.zm-note-section-title{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#64748b;flex:1;min-width:0}.zm-note-section-hint{font-size:10px;color:#94a3b8}.zm-note-section-tag{font-size:10px;font-family:JetBrains Mono,Fira Code,Consolas,monospace;color:#475569;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;padding:1px 6px;line-height:1.4}.zm-note-section-actions{display:flex;justify-content:flex-end}.zm-note-textarea{width:100%;min-height:120px;padding:10px 12px;font:inherit;font-size:13px;line-height:20px;color:#1e293b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;resize:none;outline:none;box-sizing:border-box;font-family:inherit;overflow:hidden}.zm-note-textarea:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61f}.zm-note-textarea:disabled{background:#f8fafc;color:#94a3b8;cursor:not-allowed}.zm-note-textarea::placeholder{color:#94a3b8;white-space:pre-line}.zm-note-split{display:flex;flex-direction:column;gap:6px}.zm-note-preview-toggle{font:inherit;font-size:10px;color:#1d4ed8;background:transparent;border:1px solid #bfdbfe;border-radius:999px;padding:1px 8px;cursor:pointer;transition:all .1s;flex-shrink:0}.zm-note-preview-toggle:hover{background:#eff6ff;border-color:#93c5fd}.zm-note-preview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:8px 12px;max-height:240px;overflow:auto;font-size:13px;line-height:1.6;color:#1e293b}.zm-note-preview-hint{color:#94a3b8;font-size:12px;font-style:italic}.zm-note-preview-body h1,.zm-note-preview-body h2,.zm-note-preview-body h3{margin:8px 0 4px;font-weight:600;color:#0f172a}.zm-note-preview-body h1{font-size:16px}.zm-note-preview-body h2{font-size:14px}.zm-note-preview-body h3{font-size:13px}.zm-note-preview-body h4,.zm-note-preview-body h5,.zm-note-preview-body h6{margin:6px 0 4px;font-size:12px;font-weight:600;color:#334155}.zm-note-preview-body p{margin:0 0 6px}.zm-note-preview-body p:last-child{margin-bottom:0}.zm-note-preview-body ul,.zm-note-preview-body ol{margin:0 0 6px;padding-left:20px}.zm-note-preview-body li{margin:0 0 2px}.zm-note-preview-body blockquote{margin:0 0 6px;padding:4px 10px;border-left:3px solid #cbd5e1;color:#475569;background:#f1f5f9}.zm-note-preview-body code{font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:12px;background:#f1f5f9;padding:1px 4px;border-radius:3px;color:#be185d}.zm-note-preview-body pre{margin:0 0 6px;padding:8px 10px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;overflow:auto}.zm-note-preview-body pre code{background:transparent;padding:0;color:inherit;font-size:12px;line-height:1.55}.zm-note-preview-body a{color:#1d4ed8;text-decoration:underline;text-decoration-color:#bfdbfe}.zm-note-preview-body a:hover{text-decoration-color:#1d4ed8}.zm-note-preview-body table{border-collapse:collapse;margin:0 0 6px;font-size:12px}.zm-note-preview-body th,.zm-note-preview-body td{border:1px solid #e2e8f0;padding:4px 8px;text-align:left}.zm-note-preview-body th{background:#f1f5f9;font-weight:600}.zm-note-preview-body hr{border:none;border-top:1px solid #e2e8f0;margin:8px 0}.zm-note-preview-body img{max-width:100%;max-height:200px;border-radius:4px;display:block}.zm-note-input{width:100%;padding:7px 10px;font:inherit;font-size:12px;line-height:1.5;color:#1e293b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;outline:none;box-sizing:border-box;font-family:inherit}.zm-note-input:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61f}.zm-note-input:disabled{background:#f8fafc;color:#94a3b8;cursor:not-allowed}.zm-note-input-code{font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:11px;min-height:80px;resize:none;white-space:pre;line-height:20px;overflow:hidden}.zm-note-add-row{display:flex;flex-wrap:wrap;gap:6px;padding:2px 2px 0}.zm-note-add-chip{font:inherit;font-size:11px;color:#64748b;background:#fff;border:1px dashed #cbd5e1;border-radius:999px;padding:3px 10px;cursor:pointer;transition:all .1s}.zm-note-add-chip:hover{color:#1d4ed8;border-color:#93c5fd;background:#eff6ff}.zm-note-link-chip{display:inline-block;max-width:100%;padding:6px 10px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;color:#1d4ed8;font-size:12px;text-decoration:none;word-break:break-all;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;transition:background .1s}.zm-note-link-chip:hover{background:#dbeafe}.zm-note-image{display:block;max-width:100%;max-height:240px;object-fit:contain;border-radius:6px;background:#f1f5f9;margin:0 auto}.zm-note-code{margin:0;padding:10px 12px;background:#f1f5f9;color:#24292e;border:1px solid #e2e8f0;border-radius:8px;font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:12px;line-height:1.55;white-space:pre-wrap;word-break:break-word;max-height:320px;overflow:auto;box-shadow:0 1px 3px #0f172a14}.zm-note-code code{font:inherit;color:inherit;background:transparent;padding:0}.zm-note-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;color:#1e293b;table-layout:auto;background:#fffbeb;border:1px solid #fcd34d;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #92400e14}.zm-note-table td{border-top:1px solid #fde68a;border-right:1px solid #fde68a;padding:6px 10px;text-align:left;vertical-align:top;word-break:break-word;background:#fffbeb}.zm-note-table tr:last-child td{border-bottom:none}.zm-note-table td:last-child{border-right:none}.zm-note-table-sort{background:#fef3c7;font-weight:600;padding:6px 10px;border-bottom:1px solid #fcd34d;border-right:1px solid #fde68a;text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative}.zm-note-table-sort:last-child{border-right:none}.zm-note-table-sort:hover{background:#fde68a}.zm-note-table-sort.is-sorted{background:#fde68a;color:#92400e}.zm-note-table-sort-mark{position:absolute;right:6px;top:50%;transform:translateY(-50%);font-size:10px;color:#94a3b8}.zm-note-table-sort.is-sorted .zm-note-table-sort-mark{color:#1d4ed8}.zm-note-action-btn{padding:4px 10px;font-size:12px;font-family:inherit;color:#fff;background:#3b82f6;border:1px solid #3b82f6;border-radius:6px;cursor:pointer;transition:all .1s}.zm-note-action-btn.is-danger{color:#b91c1c;background:#fff;border-color:#fca5a5}.zm-note-action-btn.is-danger:hover{background:#fee2e2;border-color:#f87171}.zm-app{display:flex;width:100%;height:100%;background:#f8fafc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;color:#1e293b;overflow:hidden}.zm-app-main{flex:1;display:flex;flex-direction:column;min-width:0}.zm-app-toolbar{display:flex;align-items:center;gap:6px;padding:6px 10px;background:#fff;border-bottom:1px solid #e2e8f0;flex-shrink:0}.zm-app-icon-btn{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border:1px solid #e2e8f0;background:#fff;border-radius:6px;cursor:pointer;color:#475569}.zm-app-icon-btn:hover{background:#f1f5f9;color:#1e293b}.zm-app-spacer{flex:1}.zm-app-tip{font-size:12px;color:#64748b}.zm-app-icon-btn.is-on{background:#e0e7ff;color:#4338ca}.zm-app-preview-exit{position:absolute;top:12px;right:12px;z-index:10;width:32px;height:32px;border:1px solid #e2e8f0;background:#fff;color:#475569;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px #0f172a14;transition:background .1s,color .1s,transform .1s}.zm-app-preview-exit:hover{background:#f1f5f9;color:#0f172a;transform:scale(1.05)}.zm-app-canvas{flex:1;position:relative;min-height:0}.zm-settings-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a26;z-index:49;pointer-events:none}.zm-settings-popover{position:absolute;top:50px;right:16px;width:320px;max-height:calc(100% - 64px);z-index:50;display:flex;flex-direction:column}.zm-settings-popover>*{pointer-events:auto}.zm-settings-popover .zm-settings-popover-header,.zm-settings-popover .zm-settings-panel{background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 8px 28px #0f172a1f;overflow:auto}.zm-settings-popover .zm-settings-popover-header{display:flex;align-items:center;padding:8px 10px 8px 14px;border-bottom:1px solid #f1f5f9;flex-shrink:0}.zm-settings-popover-title{flex:1;font-size:13px;font-weight:600;color:#1e293b;letter-spacing:.02em}.zm-settings-close{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#94a3b8;border-radius:4px;cursor:pointer}.zm-settings-close:hover{background:#f1f5f9;color:#1e293b}
10
+ */.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.zm-mindmap{position:relative;width:100%;height:100%;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;-webkit-user-select:none;user-select:none}.zm-canvas{position:absolute;top:0;right:0;bottom:0;left:0;cursor:grab}.zm-canvas:active{cursor:grabbing}.zm-world{position:absolute;left:0;top:0;transform-origin:0 0}.zm-svg-layer{position:absolute;pointer-events:none;overflow:visible}.zm-marquee{position:absolute;border:1px dashed #3b82f6;background:#3b82f614;pointer-events:none;z-index:5}.zm-svg{position:absolute;left:0;top:0;pointer-events:none;overflow:visible;shape-rendering:geometricPrecision}.zm-node{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 .8em;box-sizing:border-box;border-radius:8px;border:1px solid;line-height:1.2;cursor:default;transition:box-shadow .15s;box-shadow:0 1px 2px #0000000f;white-space:nowrap;z-index:1}.zm-node:hover{box-shadow:0 4px 12px #0000001a;z-index:2}.zm-node:not(.is-root):not(.is-editing){cursor:grab}.zm-node.is-root{cursor:default}.zm-node.is-dragging-source{opacity:.4;cursor:grabbing}.zm-node.is-drop-target{outline:2px solid #4caf50;outline-offset:2px;transition:outline-color .1s ease}.zm-drag-ghost{position:absolute;pointer-events:none;z-index:10000;padding:4px 10px;background:#fff;border:1px solid #4caf50;border-radius:4px;box-shadow:0 4px 12px #00000026;font-size:13px;color:#333;white-space:nowrap;max-width:200px;overflow:hidden;text-overflow:ellipsis;will-change:transform,left,top}body.is-dragging{cursor:grabbing!important;-webkit-user-select:none;user-select:none}.zm-node.is-root{font-weight:600}.zm-node.is-selected{outline:2px solid #3b82f6;outline-offset:2px;z-index:3}.zm-node.is-selected-secondary{outline:2px solid #bfdbfe;outline-offset:2px;z-index:2}.zm-text{display:flex;align-items:center;justify-content:center;gap:4px;min-height:1.2em;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zm-text-label{pointer-events:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex-shrink:1}.zm-input{border:none;outline:none;background:transparent;color:inherit;font:inherit;text-align:center;width:100%;min-width:40px}.zm-tooltip{position:absolute;max-width:240px;padding:6px 10px;background:#0f172af0;color:#f8fafc;font-size:12px;line-height:1.4;border-radius:6px;box-shadow:0 4px 14px #0000002e;pointer-events:none;z-index:1000;white-space:normal;word-break:break-word;transform:translate(-50%,-100%);animation:zm-tooltip-in .12s ease-out}.zm-tooltip.is-below{transform:translate(-50%)}.zm-tooltip:after{content:"";position:absolute;left:50%;top:100%;transform:translate(-50%);border:4px solid transparent;border-top-color:#0f172af0}.zm-tooltip.is-below:after{top:auto;bottom:100%;border-top-color:transparent;border-bottom-color:#0f172af0}@keyframes zm-tooltip-in{0%{opacity:0;transform:translate(-50%,calc(-100% + 4px))}to{opacity:1;transform:translate(-50%,-100%)}}.zm-tooltip.is-below{animation-name:zm-tooltip-in-below}@keyframes zm-tooltip-in-below{0%{opacity:0;transform:translate(-50%,-4px)}to{opacity:1;transform:translate(-50%)}}.zm-rich{margin-top:6px;width:max-content;overflow:visible;font-size:.78em;line-height:1.35;text-align:left;background:#0000000a;border-radius:4px;padding:4px 6px;color:inherit}.zm-rich-above{margin:0 0 2px}.zm-rich-no-overflow{max-height:none;overflow:visible}.zm-rich-code{margin:0;padding:6px 8px;font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:.92em;white-space:pre-wrap;word-break:break-word;background:#ffffff8c;border:1px solid currentColor;border-radius:6px;box-shadow:0 1px 2px #0f172a14}.zm-rich-list{margin:0;padding-left:1.2em;list-style:disc}.zm-rich-list li{margin:1px 0}.zm-rich-table{width:100%;border-collapse:separate;border-spacing:0;font-size:.92em;background:#ffffff8c;border:1px solid currentColor;border-radius:6px;overflow:hidden;box-shadow:0 1px 2px #0f172a14}.zm-rich-table td{border-top:1px solid currentColor;border-right:1px solid currentColor;padding:3px 6px;opacity:.9}.zm-rich-table tr:last-child td{border-bottom:none}.zm-rich-table td:last-child{border-right:none}.zm-rich-table-sort{position:relative;background:#fff6;font-weight:600;text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;padding:3px 6px;border-bottom:1px solid currentColor;border-right:1px solid currentColor;pointer-events:auto}.zm-rich-table-sort:last-child{border-right:none}.zm-rich-table-sort:hover{background:#ffffffa6}.zm-rich-table-sort.is-sorted{background:#ffffffb3}.zm-rich-sort-mark{position:absolute;right:4px;top:50%;transform:translateY(-50%);font-size:9px;color:#94a3b8}.zm-rich-table-sort.is-sorted .zm-rich-sort-mark{color:#1d4ed8}.zm-rich-edit{width:100%;min-height:90px;margin:0;padding:4px 6px;font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:.92em;line-height:1.4;color:inherit;background:#fff9;border:1px solid currentColor;border-radius:3px;outline:none;resize:vertical;white-space:pre;box-sizing:border-box}.zm-rich-edit:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626}.zm-rich-paragraph{white-space:pre-wrap;word-break:break-word}.zm-btn{position:absolute;width:18px;height:18px;border-radius:50%;border:none;background:#3b82f6;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .15s,transform .15s;z-index:4}.zm-node:hover .zm-btn,.zm-node.is-selected .zm-btn{opacity:1}.zm-btn:hover{transform:scale(1.15)}.zm-collapse{right:-8px;top:50%;width:14px;height:14px;background:#fff;border:1.5px solid;transform:translateY(-50%);box-shadow:0 1px 3px #0f172a2e}.zm-collapse.is-on-left{right:auto;left:-8px}.zm-collapse:hover{transform:translateY(-50%) scale(1.15);background:#fff}.zm-collapse-badge{position:absolute;top:50%;transform:translateY(-50%);left:calc(100% + 8px);min-width:18px;height:18px;padding:0 5px;border-radius:5px;color:#fff;font-size:11px;font-weight:600;line-height:18px;text-align:center;box-shadow:0 1px 2px #00000026;cursor:pointer;-webkit-user-select:none;user-select:none;z-index:2;transition:filter .1s}.zm-collapse-badge.is-on-left{left:auto;right:calc(100% + 8px)}.zm-collapse-badge:hover{filter:brightness(.9)}.zm-node.has-image{flex-direction:column;padding:8px;gap:6px;white-space:normal}.zm-node-img{display:block;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;object-fit:contain;border-radius:4px}.zm-node-link,.zm-node-note-btn{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;padding:0;border:none;background:transparent;color:currentColor;border-radius:3px;cursor:pointer;flex-shrink:0;text-decoration:none;opacity:.75;transition:opacity .1s,background .1s;pointer-events:auto}.zm-node-link:hover,.zm-node-note-btn:hover{opacity:1;background:#0f172a14}.zm-node-link svg,.zm-node-note-btn svg{display:block}.zm-img-resize-handle{position:absolute;right:-5px;bottom:-5px;width:10px;height:10px;background:#fff;border:1.5px solid #3b82f6;border-radius:2px;cursor:nwse-resize;z-index:4;box-shadow:0 1px 3px #0f172a33}.zm-node.is-resizing{cursor:nwse-resize!important}.zm-img-remove-btn{position:absolute;right:-5px;bottom:14px;width:14px;height:14px;background:#fff;border:1px solid #cbd5e1;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#64748b;padding:0;z-index:4;box-shadow:0 1px 2px #0f172a1f}.zm-img-remove-btn:hover{background:#fee2e2;color:#b91c1c;border-color:#fca5a5}.zm-order-badge{display:inline-block;margin-left:6px;padding:0 5px;font-size:10px;font-weight:600;line-height:16px;color:#475569;background:#e2e8f0;border-radius:3px;font-variant-numeric:tabular-nums;pointer-events:none;-webkit-user-select:none;user-select:none;vertical-align:middle}.zm-canvas-fab{position:absolute;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:#fff;border:1px solid #e2e8f0;border-radius:999px;box-shadow:0 2px 8px #0f172a14;color:#475569;cursor:pointer;z-index:11;opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity .18s ease,transform .18s ease,background .1s,color .1s}.zm-canvas-fab.is-visible{opacity:1;pointer-events:auto;transform:translateY(0)}.zm-canvas-fab:hover{background:#f1f5f9;color:#1e293b;box-shadow:0 4px 12px #0f172a1f}.zm-canvas-fab:active{transform:scale(.94)}.zm-canvas-fab-preview{top:16px;right:16px}.zm-canvas-fab-outline{top:16px;left:16px}.zm-toolbar{position:absolute;bottom:16px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:4px;padding:6px 10px;background:#fff;border:1px solid #e2e8f0;border-radius:999px;box-shadow:0 4px 12px #0000000f;z-index:10;transition:opacity .18s ease,transform .18s ease}.zm-toolbar.is-preview-only{opacity:0;pointer-events:none;transform:translate(-50%) translateY(8px)}.zm-toolbar.is-preview-only.is-hovered{opacity:1;pointer-events:auto;transform:translate(-50%) translateY(0)}.zm-tb-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;border-radius:6px;cursor:pointer;color:#475569}.zm-tb-btn:hover{background:#f1f5f9;color:#1e293b}.zm-tb-btn img{filter:invert(20%) sepia(15%) saturate(500%) hue-rotate(180deg);transition:filter .1s}.zm-tb-btn:hover img{filter:invert(15%) sepia(30%) saturate(800%) hue-rotate(180deg)}.zm-tb-btn.active{background:var(--zm-tb-active, #fff7ed);color:var(--zm-tb-active-fg, #c2410c)}.zm-tb-divider{width:1px;height:18px;background:#e2e8f0;margin:0 4px}.zm-tb-tip{font-size:12px;color:#64748b;min-width:38px;text-align:center}.zm-node.is-search-hit{outline:2px solid #f59e0b;outline-offset:2px;z-index:3}.zm-node.is-search-current{outline:3px solid #f97316;outline-offset:3px;z-index:4;box-shadow:0 0 0 4px #f9731626}.zm-node.is-search-dimmed{opacity:.35}.zm-node-markers{display:flex;align-items:center;gap:2px;flex-shrink:0;pointer-events:none}.zm-node-marker{display:inline-flex;width:14px;height:14px;flex-shrink:0}.zm-node-marker svg{display:block;width:14px;height:14px}.zm-node-tags{display:flex;flex-wrap:wrap;gap:3px;justify-content:center;margin-top:3px;max-width:100%;overflow:hidden}.zm-node-tag{display:inline-block;padding:1px 6px;border-radius:999px;font-size:10px;line-height:1.4;font-weight:500;white-space:nowrap;pointer-events:none}.zm-app{display:flex;width:100%;height:100%;background:#f8fafc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;color:#1e293b;overflow:hidden}.zm-app-main{flex:1;display:flex;flex-direction:column;min-width:0}.zm-app-preview-exit{position:absolute;top:12px;right:12px;z-index:10;width:32px;height:32px;border:1px solid #e2e8f0;background:#fff;color:#475569;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px #0f172a14;transition:background .1s,color .1s,transform .1s}.zm-app-preview-exit:hover{background:#f1f5f9;color:#0f172a;transform:scale(1.05)}.zm-app-canvas{flex:1;position:relative;min-height:0}
package/dist/types.d.ts CHANGED
@@ -56,6 +56,19 @@ export interface MindMapNode {
56
56
  * meaningful label.
57
57
  */
58
58
  richContent?: RichContent;
59
+ /**
60
+ * Optional marker icons (priority, progress, flag, star, etc.).
61
+ * Each entry is a marker id like 'priority-1', 'progress-50',
62
+ * 'flag', 'star', 'smile', 'people', 'arrow'. Rendered as
63
+ * small 14px icons before the node text. Order is preserved.
64
+ */
65
+ markers?: string[];
66
+ /**
67
+ * Optional text tags rendered as small colored pills below
68
+ * the node title. Each entry is a short label string; the
69
+ * pill color is derived from a hash of the label text.
70
+ */
71
+ tags?: string[];
59
72
  }
60
73
  /**
61
74
  * A node body that came from a markdown block. `raw` is the
@@ -171,12 +184,16 @@ export interface MindMapSettings {
171
184
  * Default false — useful when verifying the data-tree order
172
185
  * against the visual layout. */
173
186
  showOrderBadge: boolean;
187
+ /** Canvas background colour. Falls back to theme.bgColor when
188
+ * undefined. Set via the settings panel. */
189
+ canvasBg?: string;
174
190
  }
175
191
  export interface NodeStyle {
176
192
  bg?: string;
177
193
  textColor?: string;
178
194
  borderColor?: string;
179
- fontWeight?: 400 | 600;
195
+ fontWeight?: number;
196
+ fontSize?: number;
180
197
  }
181
198
  export interface MindMapExpose {
182
199
  addChild: (parentId: string) => void;
@@ -285,4 +302,40 @@ export interface MindMapExpose {
285
302
  /** Stroke width used for the child end of an edge that ends at
286
303
  * a node of the given depth. */
287
304
  endWidthForDepth: (depth: number) => number;
305
+ /** Add a marker to a node (no-op if already present). Marker
306
+ * ids follow the convention 'priority-1' … 'priority-9',
307
+ * 'progress-0' / 'progress-25' / 'progress-50' / 'progress-75'
308
+ * / 'progress-100', 'flag', 'star', 'smile', 'people',
309
+ * 'arrow-up' / 'arrow-down' / 'arrow-left' / 'arrow-right'. */
310
+ addNodeMarker: (nodeId: string, marker: string) => void;
311
+ /** Remove a specific marker from a node. */
312
+ removeNodeMarker: (nodeId: string, marker: string) => void;
313
+ /** Toggle a marker on/off. Returns true if the marker is now
314
+ * present, false if it was removed. */
315
+ toggleNodeMarker: (nodeId: string, marker: string) => boolean;
316
+ /** Read the markers on a node (empty array when none). */
317
+ getNodeMarkers: (nodeId: string) => string[];
318
+ /** Set the tags on a node. Pass an empty array to clear. */
319
+ setNodeTags: (nodeId: string, tags: string[]) => void;
320
+ /** Read the tags on a node (empty array when none). */
321
+ getNodeTags: (nodeId: string) => string[];
322
+ /** Export the current canvas as a PNG image and trigger a
323
+ * download. `scale` (default 2) controls the pixel density. */
324
+ exportPNG: (scale?: number) => void;
325
+ /** Export the current canvas as an SVG file and trigger a
326
+ * download. */
327
+ exportSVG: () => void;
328
+ /** Search the data tree for nodes whose text or note contains
329
+ * the query (case-insensitive). Returns an array of matching
330
+ * node ids in tree-walk order. Automatically expands any
331
+ * collapsed ancestors so matches are visible. Does NOT
332
+ * modify the data tree. */
333
+ searchNodes: (query: string) => string[];
334
+ /** Read-only snapshot of the current search result node ids.
335
+ * Empty when no search is active. Useful for external UIs
336
+ * (e.g. outline panel) to highlight matches. */
337
+ getSearchResults: () => string[];
338
+ /** The zero-based index of the currently focused search match,
339
+ * or -1 when no match is focused. */
340
+ getSearchIndex: () => number;
288
341
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flow-mindmap",
3
- "version": "0.4.7",
3
+ "version": "0.5.1",
4
4
  "description": "A modern, minimalist mind mapping tool 闂?xmind-style, embeddable as a Vue component.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",