.mermaidFlow_container__9lPET{max-width:1600px;margin:0 auto;padding:2rem 1rem}.mermaidFlow_header__myNzY{text-align:center;margin-bottom:2rem}.mermaidFlow_header__myNzY h1{font-size:2rem;font-weight:700;color:#1e3a5f;margin-bottom:.5rem}.mermaidFlow_header__myNzY p{color:#64748b;font-size:1rem}.mermaidFlow_templateBar__2Bjfn{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.mermaidFlow_templateBar__2Bjfn button{padding:.4rem .9rem;border:2px solid #e2e8f0;background:#fff;border-radius:9999px;font-size:.8rem;font-weight:500;cursor:pointer;transition:all .2s ease}.mermaidFlow_templateBar__2Bjfn button:hover{border-color:#3b82f6;background:#eff6ff}.mermaidFlow_activeTemplate__oibRk{background:#eff6ff!important;border-color:#2563eb!important;color:#1e3a5f;font-weight:700!important}.mermaidFlow_themeBar__CfYk4{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:1rem}.mermaidFlow_themeBar__CfYk4 span{font-size:.85rem;font-weight:600;color:#475569;margin-right:.25rem}.mermaidFlow_themeBar__CfYk4 button{padding:.3rem .8rem;border:2px solid #e2e8f0;background:#fff;border-radius:9999px;font-size:.8rem;font-weight:500;cursor:pointer;transition:all .2s ease}.mermaidFlow_themeBar__CfYk4 button:hover{border-color:#3b82f6;background:#eff6ff}.mermaidFlow_activeTheme__iZLQA{background:#2563eb!important;border-color:#2563eb!important;color:#fff;font-weight:700!important}.mermaidFlow_toast__lvIpt{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:100;display:flex;align-items:center;gap:.75rem;padding:1rem 1.75rem;background:#fff;color:#1e293b;font-size:.95rem;font-weight:600;border-radius:16px;box-shadow:0 10px 15px -3px rgba(0,0,0,.08),0 4px 6px -2px rgba(0,0,0,.04);border:1px solid #e2e8f0;animation:mermaidFlow_toastIn__qp_DF .3s ease;pointer-events:none}.mermaidFlow_toastIcon__YnKlb{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9999px;color:#fff;flex-shrink:0}.mermaidFlow_toastIcon__YnKlb svg{width:16px;height:16px}.mermaidFlow_success__SQRCu .mermaidFlow_toastIcon__YnKlb{background:#10b981}.mermaidFlow_warning__Nro2J .mermaidFlow_toastIcon__YnKlb{background:#f59e0b}.mermaidFlow_error__DNPi7 .mermaidFlow_toastIcon__YnKlb{background:#ef4444}@keyframes mermaidFlow_toastIn__qp_DF{0%{opacity:0;transform:translate(-50%,-50%) scale(.85)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}.mermaidFlow_toolbar__vAowC{display:flex;justify-content:flex-end;margin-bottom:1.5rem}.mermaidFlow_actions__ZqR2c{display:flex;flex-wrap:wrap;gap:.5rem;align-items:flex-start}.mermaidFlow_actions__ZqR2c button{padding:.5rem 1rem;border:2px solid #e2e8f0;background:#fff;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.mermaidFlow_actions__ZqR2c button:hover{border-color:#3b82f6;background:#eff6ff}.mermaidFlow_actions__ZqR2c .mermaidFlow_primaryBtn__7oBo5{background:#2563eb;border-color:#2563eb;color:#fff}.mermaidFlow_actions__ZqR2c .mermaidFlow_primaryBtn__7oBo5:hover{background:#3b82f6;border-color:#3b82f6}.mermaidFlow_actions__ZqR2c .mermaidFlow_clearBtn__SC3vl{color:#ef4444;border-color:#ef4444}.mermaidFlow_actions__ZqR2c .mermaidFlow_clearBtn__SC3vl:hover{background:#fef2f2}.mermaidFlow_exportMenu__d_9Ks{position:relative}.mermaidFlow_exportMenuList__eC6sl{position:absolute;top:calc(100% + .4rem);right:0;z-index:10;display:flex;flex-direction:column;gap:.25rem;padding:.5rem;background:#fff;border:2px solid #e2e8f0;border-radius:8px;box-shadow:0 10px 15px -3px rgba(0,0,0,.08),0 4px 6px -2px rgba(0,0,0,.04);min-width:160px}.mermaidFlow_exportMenuList__eC6sl button{width:100%;text-align:left;border:none;background:rgba(0,0,0,0);padding:.5rem .75rem;border-radius:8px}.mermaidFlow_exportMenuList__eC6sl button:hover{background:#eff6ff;border-color:rgba(0,0,0,0)}.mermaidFlow_editorWrapper__QL7YK{display:grid;grid-template-columns:2fr 3fr;grid-gap:1.5rem;gap:1.5rem;margin-bottom:2rem}.mermaidFlow_editorPanel__PychN{display:flex;flex-direction:column;gap:.5rem;min-width:0}.mermaidFlow_editorPanel__PychN label{font-weight:600;color:#1e293b}.mermaidFlow_editorPanel__PychN textarea{height:600px;padding:1rem;border:2px solid #e2e8f0;border-radius:8px;font-family:Fira Code,Courier New,monospace;font-size:.875rem;line-height:1.5;resize:vertical;transition:border-color .2s ease}.mermaidFlow_editorPanel__PychN textarea:focus{outline:none;border-color:#3b82f6}.mermaidFlow_codeEditor__RkL8u{height:600px;border:2px solid #e2e8f0;border-radius:8px;overflow:auto;transition:border-color .2s ease}.mermaidFlow_codeEditor__RkL8u:focus-within{border-color:#3b82f6}.mermaidFlow_codeEditor__RkL8u .cm-editor{height:100%}.mermaidFlow_codeEditor__RkL8u .cm-gutters{background:#f8fafc;color:#94a3b8}.mermaidFlow_codeEditor__RkL8u .cm-activeLine{background:#f0f7ff}.mermaidFlow_codeEditor__RkL8u .cm-activeLineGutter{background:#eff6ff;color:#475569}.mermaidFlow_codeEditorDark__H61gj{background:#1e293b;border-color:#1e3a5f}.mermaidFlow_codeEditorDark__H61gj .cm-content{color:#e2e8f0;caret-color:#e2e8f0}.mermaidFlow_codeEditorDark__H61gj .cm-gutters{background:#0f172a;border-right:1px solid #334155;color:#64748b}.mermaidFlow_codeEditorDark__H61gj .cm-activeLine{background:rgba(96,165,250,.08)}.mermaidFlow_codeEditorDark__H61gj .cm-activeLineGutter{background:rgba(96,165,250,.15);color:#cbd5e1}.mermaidFlow_codeEditorDark__H61gj .cm-placeholder{color:#64748b}.mermaidFlow_codeEditorDark__H61gj .cm-selectionBackground{background:rgba(96,165,250,.25)!important}.mermaidFlow_errorBanner__kGaB4{padding:.75rem 1rem;background:#fef2f2;border-left:4px solid #ef4444;border-radius:8px;color:#ef4444;font-size:.85rem;margin-bottom:.5rem}.mermaidFlow_preview__Gmn_Q{height:600px;padding:1rem;border:2px solid #e2e8f0;border-radius:8px;overflow:auto;background:#fff;color:#64748b;touch-action:pan-x pan-y;display:flex}.mermaidFlow_preview__Gmn_Q>div{margin:auto}.mermaidFlow_preview__Gmn_Q::-webkit-scrollbar{width:10px;height:10px}.mermaidFlow_preview__Gmn_Q::-webkit-scrollbar-track{background:#f1f5f9;border-radius:9999px}.mermaidFlow_preview__Gmn_Q::-webkit-scrollbar-thumb{background:#94a3b8;border-radius:9999px}.mermaidFlow_preview__Gmn_Q::-webkit-scrollbar-thumb:hover{background:#64748b}.mermaidFlow_preview__Gmn_Q svg{display:block}.mermaidFlow_preview__Gmn_Q line[class*=branch]{stroke-width:2px!important}.mermaidFlow_preview__Gmn_Q circle[class*=commit]{r:6px;stroke-width:2px!important}.mermaidFlow_previewDark__duyV4{background:#1e293b;border-color:#1e3a5f}.mermaidFlow_previewHead__viobS{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem}.mermaidFlow_previewHead__viobS label{font-weight:600;color:#1e293b}.mermaidFlow_previewControls__QEaLj{display:flex;align-items:center;gap:.75rem}.mermaidFlow_directionToggle__85Ds8,.mermaidFlow_zoomControls__NYuRy{display:flex;align-items:center;gap:.25rem}.mermaidFlow_directionToggle__85Ds8 button,.mermaidFlow_zoomControls__NYuRy button{min-width:28px;height:28px;padding:0 .5rem;border:1px solid #e2e8f0;background:#fff;border-radius:8px;font-size:.85rem;line-height:1;cursor:pointer;transition:all .2s ease}.mermaidFlow_directionToggle__85Ds8 button:hover,.mermaidFlow_zoomControls__NYuRy button:hover{border-color:#3b82f6;background:#eff6ff}.mermaidFlow_directionToggle__85Ds8 span,.mermaidFlow_zoomControls__NYuRy span{min-width:3.2em;text-align:center;font-size:.8rem;color:#475569;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.mermaidFlow_editorModeToggle__QLEvF{display:flex;align-items:center;gap:.25rem}.mermaidFlow_editorModeToggle__QLEvF button{min-width:28px;height:28px;padding:0 .6rem;border:1px solid #e2e8f0;background:#fff;border-radius:8px;font-size:.78rem;line-height:1;cursor:pointer;transition:all .2s ease}.mermaidFlow_editorModeToggle__QLEvF button:hover{border-color:#3b82f6;background:#eff6ff}.mermaidFlow_activeDirection__LHTEg,.mermaidFlow_activeEditorMode__XOWBv{background:#eff6ff!important;border-color:#2563eb!important;color:#1e3a5f;font-weight:700}.mermaidFlow_info__ddVPA{margin-top:2rem;padding:1.5rem;background:#f8fafc;border-radius:12px;border-left:4px solid #2563eb}.mermaidFlow_info__ddVPA h3{color:#1e293b;margin-bottom:.5rem}.mermaidFlow_info__ddVPA p{color:#64748b;line-height:1.6}@media(max-width:768px){.mermaidFlow_editorWrapper__QL7YK{grid-template-columns:1fr}.mermaidFlow_codeEditor__RkL8u,.mermaidFlow_editorPanel__PychN textarea,.mermaidFlow_preview__Gmn_Q{height:380px}}