.node-editor.svelte-5p1uri{position:fixed;right:-400px;top:0;width:400px;height:100vh;background:#fff;box-shadow:-4px 0 16px #0000001a;transition:right .3s ease;z-index:100;display:flex;flex-direction:column}.dark .node-editor.svelte-5p1uri{background:#18181b;box-shadow:-4px 0 16px #00000080}.node-editor.open.svelte-5p1uri{right:0}.node-editor-header.svelte-5p1uri{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e4e4e7}.dark .node-editor-header.svelte-5p1uri{border-bottom-color:#3f3f46}.close-btn.svelte-5p1uri{padding:.5rem;border-radius:.375rem;transition:background-color .2s}.close-btn.svelte-5p1uri:hover{background:#f4f4f5}.dark .close-btn.svelte-5p1uri:hover{background:#27272a}.node-editor-content.svelte-5p1uri{flex:1;padding:1.5rem;overflow-y:auto}.form-group.svelte-5p1uri{margin-bottom:1.5rem}.form-group.svelte-5p1uri label:where(.svelte-5p1uri){display:block;margin-bottom:.5rem;font-weight:500;font-size:.875rem;color:#3f3f46}.dark .form-group.svelte-5p1uri label:where(.svelte-5p1uri){color:#d4d4d8}.input-field.svelte-5p1uri{width:100%;padding:.5rem .75rem;border:1px solid #d4d4d8;border-radius:.375rem;font-size:.875rem;background:#fff;color:#18181b}.dark .input-field.svelte-5p1uri{background:#27272a;border-color:#52525b;color:#fafafa}.input-field.disabled.svelte-5p1uri{background:#f4f4f5;cursor:not-allowed}.dark .input-field.disabled.svelte-5p1uri{background:#3f3f46}.range-input.svelte-5p1uri{width:100%}.color-picker.svelte-5p1uri{display:flex;gap:.5rem;align-items:center}.color-input.svelte-5p1uri{width:3rem;height:2.5rem;border:1px solid #d4d4d8;border-radius:.375rem;cursor:pointer}.dark .color-input.svelte-5p1uri{border-color:#52525b}.image-preview.svelte-5p1uri{margin-bottom:.75rem;padding:.75rem;border:1px solid #e4e4e7;border-radius:.375rem}.dark .image-preview.svelte-5p1uri{border-color:#3f3f46}.preview-img.svelte-5p1uri{width:100%;max-height:150px;object-fit:contain;border-radius:.375rem;margin-bottom:.5rem}.remove-img-btn.svelte-5p1uri{width:100%;padding:.5rem;background:#ef4444;color:#fff;border-radius:.375rem;font-size:.875rem}.remove-img-btn.svelte-5p1uri:hover{background:#dc2626}.btn-secondary.svelte-5p1uri{padding:.5rem 1rem;background:#3b82f6;color:#fff;border-radius:.375rem;font-size:.875rem;white-space:nowrap}.btn-secondary.svelte-5p1uri:hover{background:#2563eb}.node-editor-footer.svelte-5p1uri{display:flex;gap:.75rem;padding:1.5rem;border-top:1px solid #e4e4e7}.dark .node-editor-footer.svelte-5p1uri{border-top-color:#3f3f46}.btn-cancel.svelte-5p1uri{flex:1;padding:.75rem;background:#e4e4e7;color:#18181b;border-radius:.375rem;font-weight:500}.btn-cancel.svelte-5p1uri:hover{background:#d4d4d8}.dark .btn-cancel.svelte-5p1uri{background:#3f3f46;color:#fafafa}.dark .btn-cancel.svelte-5p1uri:hover{background:#52525b}.btn-save.svelte-5p1uri{flex:1;padding:.75rem;background:#3b82f6;color:#fff;border-radius:.375rem;font-weight:500}.btn-save.svelte-5p1uri:hover{background:#2563eb}.overlay.svelte-5p1uri{position:fixed;inset:0;background:#0000004d;z-index:99;animation:svelte-5p1uri-fadeIn .3s ease}@keyframes svelte-5p1uri-fadeIn{0%{opacity:0}to{opacity:1}}.edge-editor.svelte-s638hh{position:fixed;right:-400px;top:0;width:400px;height:100vh;background:#fff;box-shadow:-4px 0 16px #0000001a;transition:right .3s ease;z-index:100;display:flex;flex-direction:column}.dark .edge-editor.svelte-s638hh{background:#18181b;box-shadow:-4px 0 16px #00000080}.edge-editor.open.svelte-s638hh{right:0}.edge-editor-header.svelte-s638hh{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e4e4e7}.dark .edge-editor-header.svelte-s638hh{border-bottom-color:#3f3f46}.close-btn.svelte-s638hh{padding:.5rem;border-radius:.375rem;transition:background-color .2s}.close-btn.svelte-s638hh:hover{background:#f4f4f5}.dark .close-btn.svelte-s638hh:hover{background:#27272a}.edge-editor-content.svelte-s638hh{flex:1;padding:1.5rem;overflow-y:auto}.form-group.svelte-s638hh{margin-bottom:1.5rem}.form-group.svelte-s638hh label:where(.svelte-s638hh){display:block;margin-bottom:.5rem;font-weight:500;font-size:.875rem;color:#3f3f46}.dark .form-group.svelte-s638hh label:where(.svelte-s638hh){color:#d4d4d8}.input-field.svelte-s638hh{width:100%;padding:.5rem .75rem;border:1px solid #d4d4d8;border-radius:.375rem;font-size:.875rem;background:#fff;color:#18181b}.dark .input-field.svelte-s638hh{background:#27272a;border-color:#52525b;color:#fafafa}.input-field.disabled.svelte-s638hh{background:#f4f4f5;cursor:not-allowed}.dark .input-field.disabled.svelte-s638hh{background:#3f3f46}.range-input.svelte-s638hh{width:100%}.arrow-btn.svelte-s638hh{width:100%;padding:.5rem .75rem;border:1px solid #d4d4d8;border-radius:.375rem;background:#fff;color:#18181b;text-align:left;cursor:pointer}.dark .arrow-btn.svelte-s638hh{background:#27272a;border-color:#52525b;color:#fafafa}.arrow-btn.svelte-s638hh:hover{background:#f4f4f5}.dark .arrow-btn.svelte-s638hh:hover{background:#3f3f46}.edge-editor-footer.svelte-s638hh{display:flex;gap:.75rem;padding:1.5rem;border-top:1px solid #e4e4e7}.dark .edge-editor-footer.svelte-s638hh{border-top-color:#3f3f46}.btn-cancel.svelte-s638hh{flex:1;padding:.75rem;background:#e4e4e7;color:#18181b;border-radius:.375rem;font-weight:500}.btn-cancel.svelte-s638hh:hover{background:#d4d4d8}.dark .btn-cancel.svelte-s638hh{background:#3f3f46;color:#fafafa}.btn-save.svelte-s638hh{flex:1;padding:.75rem;background:#3b82f6;color:#fff;border-radius:.375rem;font-weight:500}.btn-save.svelte-s638hh:hover{background:#2563eb}.overlay.svelte-s638hh{position:fixed;inset:0;background:#0000004d;z-index:99;animation:svelte-s638hh-fadeIn .3s ease}@keyframes svelte-s638hh-fadeIn{0%{opacity:0}to{opacity:1}}.modal-overlay.svelte-1vjsb82{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content.svelte-1vjsb82{background:#fff;border-radius:12px;padding:24px;max-width:500px;width:90%;box-shadow:0 10px 40px #0003}.dark .modal-content.svelte-1vjsb82{background:#27272a}.modal-header.svelte-1vjsb82{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-header.svelte-1vjsb82 h3:where(.svelte-1vjsb82){margin:0;font-size:1.25rem;font-weight:600;color:#18181b}.dark .modal-header.svelte-1vjsb82 h3:where(.svelte-1vjsb82){color:#fafafa}.close-button.svelte-1vjsb82{background:none;border:none;cursor:pointer;padding:4px;color:#71717a;border-radius:4px}.close-button.svelte-1vjsb82:hover{background:#f4f4f5;color:#18181b}.dark .close-button.svelte-1vjsb82:hover{background:#3f3f46;color:#fafafa}.node-types.svelte-1vjsb82{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}.node-type-card.svelte-1vjsb82{background:#f4f4f5;border:2px solid transparent;border-radius:8px;padding:20px;cursor:pointer;transition:all .2s;text-align:center}.dark .node-type-card.svelte-1vjsb82{background:#3f3f46}.node-type-card.svelte-1vjsb82:hover{border-color:#3b82f6;background:#eff6ff;transform:translateY(-2px)}.dark .node-type-card.svelte-1vjsb82:hover{border-color:#3b82f6;background:#1e3a8a}.icon-wrapper.svelte-1vjsb82{width:64px;height:64px;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;border-radius:8px}.icon-wrapper.structure.svelte-1vjsb82{background:#dbeafe;color:#1e40af}.dark .icon-wrapper.structure.svelte-1vjsb82{background:#1e3a8a;color:#93c5fd}.icon-wrapper.entity.svelte-1vjsb82{background:#dcfce7;color:#166534}.dark .icon-wrapper.entity.svelte-1vjsb82{background:#14532d;color:#86efac}.node-type-card.svelte-1vjsb82 h4:where(.svelte-1vjsb82){margin:0 0 8px;font-size:1rem;font-weight:600;color:#18181b}.dark .node-type-card.svelte-1vjsb82 h4:where(.svelte-1vjsb82){color:#fafafa}.node-type-card.svelte-1vjsb82 p:where(.svelte-1vjsb82){margin:0;font-size:.875rem;color:#71717a}.dark .node-type-card.svelte-1vjsb82 p:where(.svelte-1vjsb82){color:#a1a1aa}.modal-footer.svelte-1vjsb82{display:flex;justify-content:flex-end}.cancel-button.svelte-1vjsb82{padding:8px 16px;background:#f4f4f5;border:none;border-radius:6px;cursor:pointer;font-weight:500;color:#18181b}.cancel-button.svelte-1vjsb82:hover{background:#e4e4e7}.dark .cancel-button.svelte-1vjsb82{background:#3f3f46;color:#fafafa}.dark .cancel-button.svelte-1vjsb82:hover{background:#52525b}.context-menu.svelte-m7o0s5{position:fixed;z-index:9999;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 10px 25px #00000026;min-width:220px;padding:4px;animation:svelte-m7o0s5-fadeIn .1s ease-out}.dark .context-menu.svelte-m7o0s5{background:#27272a;border-color:#3f3f46;box-shadow:0 10px 25px #00000080}@keyframes svelte-m7o0s5-fadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.menu-header.svelte-m7o0s5{display:flex;align-items:center;gap:8px;padding:8px 12px;font-weight:600;color:#18181b}.dark .menu-header.svelte-m7o0s5{color:#fafafa}.node-label.svelte-m7o0s5{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem}.node-type-badge.svelte-m7o0s5{font-size:.75rem;padding:2px 8px;border-radius:4px;background:#dbeafe;color:#1e40af;font-weight:500}.dark .node-type-badge.svelte-m7o0s5{background:#1e3a8a;color:#93c5fd}.menu-divider.svelte-m7o0s5{height:1px;background:#e5e7eb;margin:4px 0}.dark .menu-divider.svelte-m7o0s5{background:#3f3f46}.menu-item.svelte-m7o0s5{display:flex;align-items:center;gap:12px;width:100%;padding:8px 12px;border:none;background:transparent;border-radius:6px;cursor:pointer;font-size:.875rem;color:#18181b;transition:all .15s ease;text-align:left}.dark .menu-item.svelte-m7o0s5{color:#fafafa}.menu-item.svelte-m7o0s5:hover{background:#f4f4f5}.dark .menu-item.svelte-m7o0s5:hover{background:#3f3f46}.menu-item.danger.svelte-m7o0s5{color:#dc2626}.dark .menu-item.danger.svelte-m7o0s5{color:#ef4444}.menu-item.danger.svelte-m7o0s5:hover{background:#fee2e2}.dark .menu-item.danger.svelte-m7o0s5:hover{background:#7f1d1d}.toolbar.svelte-1hdy8ja{position:absolute;top:0;left:0;right:0;display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:8px 12px;background:#f5f5f5f2;border-bottom:1px solid #ddd;z-index:40}.dark .toolbar.svelte-1hdy8ja{background:#09090bf2;border-bottom-color:#3f3f46}.panel.svelte-1hdy8ja{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.chip.svelte-1hdy8ja{padding:6px 12px;border-radius:8px;border:1px solid #ccc;background:#fff;cursor:pointer;transition:all .2s;font-size:.875rem;display:inline-flex;align-items:center}.chip.svelte-1hdy8ja:hover{background:#f3f4f6}.chip.svelte-1hdy8ja:disabled{opacity:.4;cursor:not-allowed}.dark .chip.svelte-1hdy8ja{background:#27272a;border-color:#52525b;color:#fafafa}.dark .chip.svelte-1hdy8ja:hover{background:#3f3f46}.canvas-wrap.svelte-1hdy8ja{position:absolute;inset:56px 0 0;z-index:1}.notification.svelte-1hdy8ja{position:fixed;top:110px;right:20px;z-index:20;padding:12px 16px;border-radius:8px;box-shadow:0 4px 6px #0000001a;animation:svelte-1hdy8ja-slideIn .3s ease-out}@keyframes svelte-1hdy8ja-slideIn{0%{transform:translate(400px);opacity:0}to{transform:translate(0);opacity:1}}.notification.success.svelte-1hdy8ja{background:#10b981;color:#fff}.notification.error.svelte-1hdy8ja{background:#ef4444;color:#fff}.loading-overlay.svelte-1hdy8ja{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:30}.spinner.svelte-1hdy8ja{width:50px;height:50px;border:4px solid #f3f3f3;border-top:4px solid #3b82f6;border-radius:50%;animation:svelte-1hdy8ja-spin 1s linear infinite}@keyframes svelte-1hdy8ja-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.refresh-message.svelte-1hdy8ja{display:flex;flex-direction:column;align-items:center;background:#000c;padding:32px 48px;border-radius:12px}.progress-bar.svelte-1hdy8ja{width:300px;height:6px;background:#fff3;border-radius:3px;overflow:hidden;margin-top:16px}.progress-bar-fill.svelte-1hdy8ja{height:100%;background:linear-gradient(90deg,#3b82f6,#60a5fa);animation:svelte-1hdy8ja-progress 2s ease-in-out infinite}@keyframes svelte-1hdy8ja-progress{0%{width:0%}50%{width:70%}to{width:100%}}.welcome-modal.svelte-1hdy8ja{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:50}.welcome-content.svelte-1hdy8ja{background:#fff;padding:32px;border-radius:12px;max-width:500px;box-shadow:0 20px 25px -5px #0000001a}.dark .welcome-content.svelte-1hdy8ja{background:#18181b;color:#fafafa}.welcome-content.svelte-1hdy8ja h2:where(.svelte-1hdy8ja){font-size:24px;font-weight:700;margin-bottom:16px}.welcome-content.svelte-1hdy8ja p:where(.svelte-1hdy8ja){margin-bottom:24px;line-height:1.6;color:#52525b}.dark .welcome-content.svelte-1hdy8ja p:where(.svelte-1hdy8ja){color:#a1a1aa}.welcome-actions.svelte-1hdy8ja{display:flex;gap:12px}.welcome-btn.svelte-1hdy8ja{flex:1;padding:10px 20px;border-radius:8px;font-weight:500;cursor:pointer}.welcome-btn-primary.svelte-1hdy8ja{background:#3b82f6;color:#fff;border:none}.welcome-btn-primary.svelte-1hdy8ja:hover{background:#2563eb}
