.mermaid-app.svelte-cb9x9p{--m-text: #2c425b;--m-muted: #6e8096;--m-line: rgb(108 137 173 / 21%);--m-panel: rgb(255 255 255 / 42%);--m-inner: rgb(255 255 255 / 28%);--m-button: rgb(255 255 255 / 62%);--m-blue: #2a73cc;--m-accent-bg: #e9f2ff;--m-canvas: rgb(248 251 255 / 64%);--m-dot: #8ca8c433;--m-hover: #598bc112;width:100%;max-width:1520px;margin:0 auto;padding:27px 40px 40px;color:var(--m-text)}.mermaid-app.editor-dark.svelte-cb9x9p{--m-text: #d5dfec;--m-muted: #96a5b8;--m-line: rgb(137 163 195 / 19%);--m-panel: rgb(31 36 44 / 66%);--m-inner: rgb(38 45 56 / 25%);--m-button: rgb(64 77 95 / 27%);--m-blue: #91bdff;--m-accent-bg: #283c58;--m-canvas: rgb(23 29 37 / 68%);--m-dot: #7e98bc24;--m-hover: #99b7e611;color-scheme:dark}button.svelte-cb9x9p,select.svelte-cb9x9p,a.svelte-cb9x9p,input.svelte-cb9x9p{-webkit-tap-highlight-color:transparent}button.svelte-cb9x9p,select.svelte-cb9x9p,.file-open.svelte-cb9x9p{cursor:pointer}button.svelte-cb9x9p{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;transition:background .14s,border-color .14s}button.svelte-cb9x9p:disabled{cursor:default;opacity:.4}button.svelte-cb9x9p:not(:disabled):hover,.file-open.svelte-cb9x9p:hover{background:var(--m-hover)}button.svelte-cb9x9p:focus-visible,a.svelte-cb9x9p:focus-visible,select.svelte-cb9x9p:focus-visible,input.svelte-cb9x9p:focus-visible{outline:2px solid var(--m-blue);outline-offset:4px}.back-link.svelte-cb9x9p{display:inline-flex;align-items:center;gap:3px;margin-bottom:22px;color:var(--m-muted);font-size:12px;text-decoration:none}.heading-row.svelte-cb9x9p,.title-group.svelte-cb9x9p,.heading-actions.svelte-cb9x9p,.workspace-toolbar.svelte-cb9x9p,.workspace-actions.svelte-cb9x9p,.examples-control.svelte-cb9x9p,.appearance-control.svelte-cb9x9p,.panel-heading.svelte-cb9x9p,.panel-actions.svelte-cb9x9p,.source-footer.svelte-cb9x9p,.auto-format-control.svelte-cb9x9p,.preview-footer.svelte-cb9x9p,.workspace-footer.svelte-cb9x9p,.below-workspace.svelte-cb9x9p{display:flex;align-items:center}.heading-row.svelte-cb9x9p{justify-content:space-between;gap:20px;margin-bottom:28px}.title-group.svelte-cb9x9p{gap:15px}.app-mark.svelte-cb9x9p{display:grid;place-items:center;width:47px;height:49px;color:var(--m-blue);border:1px solid var(--m-line);border-radius:13px;background:var(--m-panel);box-shadow:inset 0 1px #ffffff16}h1.svelte-cb9x9p{margin:0;font-size:28px;font-weight:650;line-height:1.3;letter-spacing:-.9px}.title-group.svelte-cb9x9p p:where(.svelte-cb9x9p){margin:5px 0 0;font-size:13px;color:var(--m-muted)}.heading-actions.svelte-cb9x9p{gap:20px}.help-button.svelte-cb9x9p{color:var(--m-muted);font-size:12px;padding:8px;border-radius:7px}.export-button.svelte-cb9x9p{border:1px solid #729dd855;border-radius:9px;padding:10px 15px;background:var(--m-accent-bg);color:var(--m-blue);font-size:12px;font-weight:600;box-shadow:inset 0 1px #ffffff0d}.export-button.svelte-cb9x9p:not(:disabled):hover{border-color:var(--m-blue);background:var(--m-accent-bg)}.export-control.svelte-cb9x9p{position:relative;z-index:20}.export-options.svelte-cb9x9p{position:absolute;top:calc(100% + 9px);right:0;width:292px;padding:5px;border:1px solid var(--m-line);border-radius:11px;background:#f7faff;box-shadow:0 14px 40px -12px #17305040}.editor-dark.svelte-cb9x9p .export-options:where(.svelte-cb9x9p){background:#252d38;box-shadow:0 14px 40px -12px #0009}.export-options.svelte-cb9x9p button:where(.svelte-cb9x9p){justify-content:flex-start;gap:11px;width:100%;padding:12px 10px;border-radius:7px;text-align:left}.export-file-type.svelte-cb9x9p{display:grid;place-items:center;width:35px;height:39px;border:1px solid var(--m-line);border-radius:6px;color:var(--m-blue);font-size:10px;font-weight:600}.export-options.svelte-cb9x9p strong:where(.svelte-cb9x9p){display:block;font-size:12px;font-weight:600}.export-options.svelte-cb9x9p small:where(.svelte-cb9x9p){display:block;margin-top:4px;color:var(--m-muted);font-size:10px}.workspace.svelte-cb9x9p{overflow:hidden;border:1px solid var(--m-line);border-radius:15px;background:var(--m-panel);box-shadow:0 12px 44px -24px #17305028,inset 0 1px #ffffff13;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.workspace.svelte-cb9x9p:fullscreen{border-radius:0;padding:16px;background:var(--m-canvas);display:flex;flex-direction:column}.workspace.svelte-cb9x9p:fullscreen .editor-split:where(.svelte-cb9x9p){flex:1;height:auto}.workspace-toolbar.svelte-cb9x9p{min-height:65px;justify-content:space-between;padding:12px 20px;gap:16px}.examples-control.svelte-cb9x9p{gap:10px;min-width:0}.small-label.svelte-cb9x9p,.appearance-control.svelte-cb9x9p>span:where(.svelte-cb9x9p){font-size:11px;color:var(--m-muted)}select.svelte-cb9x9p{max-width:180px;min-height:32px;padding:5px 29px 5px 10px;border:1px solid var(--m-line);border-radius:6px;background-color:var(--m-inner);color:var(--m-text);font-size:11px}option.svelte-cb9x9p{color:#293d55;background:#f4f7fc}.editor-dark.svelte-cb9x9p option:where(.svelte-cb9x9p){color:#d5dfec;background:#252e3c}.text-button.svelte-cb9x9p{color:var(--m-muted);font-size:11px;padding:5px 6px;border-radius:4px}.workspace-actions.svelte-cb9x9p{gap:16px}.appearance-control.svelte-cb9x9p{gap:8px}.appearance-control.svelte-cb9x9p select:where(.svelte-cb9x9p){border-color:transparent;background-color:transparent;max-width:103px}.toolbar-divider.svelte-cb9x9p{display:inline-block;height:17px;width:1px;flex-shrink:0;background:var(--m-line)}.icon-button.svelte-cb9x9p{width:29px;height:29px;padding:5px;color:var(--m-muted);border-radius:5px}.editor-split.svelte-cb9x9p{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.35fr);height:clamp(490px,calc(100dvh - 330px),780px);min-height:490px;margin:0 12px;border:1px solid var(--m-line);border-radius:10px;overflow:hidden}.source-panel.svelte-cb9x9p,.preview-panel.svelte-cb9x9p{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--m-inner)}.source-panel.svelte-cb9x9p{border-right:1px solid var(--m-line)}.panel-heading.svelte-cb9x9p{height:47px;flex-shrink:0;justify-content:space-between;gap:10px;border-bottom:1px solid var(--m-line);padding:0 17px}h2.svelte-cb9x9p{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:550}h2.svelte-cb9x9p>svg{color:var(--m-muted)}.file-type.svelte-cb9x9p{color:var(--m-muted);margin-left:2px;font-family:ui-monospace,monospace;font-weight:400;font-size:10px}.panel-actions.svelte-cb9x9p{gap:4px}.file-open.svelte-cb9x9p{position:relative;display:inline-flex;align-items:center;justify-content:center;overflow:hidden}.file-open.svelte-cb9x9p input:where(.svelte-cb9x9p){position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.file-open.svelte-cb9x9p:focus-within{outline:2px solid var(--m-blue);outline-offset:2px}.format-button.svelte-cb9x9p{color:var(--m-muted);padding:5px 0 5px 9px;font-size:11px;border-radius:4px}.code-surface.svelte-cb9x9p{flex:1;min-height:0;overflow:hidden}.source-footer.svelte-cb9x9p{flex-shrink:0;min-height:43px;padding:0 17px;border-top:1px solid var(--m-line);justify-content:space-between;gap:10px;font-size:10px;color:var(--m-muted)}.auto-format-control.svelte-cb9x9p{gap:7px;font-size:11px;cursor:pointer}.auto-format-control.svelte-cb9x9p input:where(.svelte-cb9x9p){width:13px;height:13px;padding:0;border:1px solid var(--m-line);border-radius:3px;color:#6a9bd8;accent-color:#6a9bd8;background-color:var(--m-button)}.auto-format-control.svelte-cb9x9p input:where(.svelte-cb9x9p):checked{background-color:#568acc}.delay-label.svelte-cb9x9p{color:var(--m-muted);font-size:10px;padding:2px 5px;border:1px solid var(--m-line);border-radius:4px}.line-count.svelte-cb9x9p{white-space:nowrap;font-size:10px}.preview-state.svelte-cb9x9p{display:flex;align-items:center;gap:6px;color:var(--m-muted);font-size:10px}.status-dot.svelte-cb9x9p{width:5px;height:5px;border-radius:50%;background:#61a998}.has-error.svelte-cb9x9p .status-dot:where(.svelte-cb9x9p){background:#dc9b5e}.canvas-wrap.svelte-cb9x9p{flex:1;min-height:0;position:relative;background-color:var(--m-canvas)}.diagram-canvas.svelte-cb9x9p{display:flex;align-items:center;justify-content:center;height:100%;overflow:hidden;touch-action:none;cursor:grab;background-image:radial-gradient(circle,var(--m-dot) .8px,transparent .9px);background-size:20px 20px}.diagram-canvas.dragging.svelte-cb9x9p{cursor:grabbing}.diagram-art.svelte-cb9x9p{width:100%;height:100%;padding:32px 40px 65px;display:flex;justify-content:center;align-items:center;pointer-events:none;transform-origin:center}.diagram-art.svelte-cb9x9p svg{display:block;width:100%;height:100%;max-width:100%!important;overflow:visible}.canvas-tools.svelte-cb9x9p{position:absolute;bottom:17px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:2px;background:var(--m-panel);border:1px solid var(--m-line);border-radius:8px;padding:3px 5px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.zoom-value.svelte-cb9x9p{min-width:42px;text-align:center;font-size:10px;color:var(--m-muted);font-variant-numeric:tabular-nums}.canvas-tools.svelte-cb9x9p .toolbar-divider:where(.svelte-cb9x9p){margin:0 5px}.preview-footer.svelte-cb9x9p{min-height:43px;flex-shrink:0;justify-content:space-between;gap:8px;padding:0 17px;border-top:1px solid var(--m-line);font-size:10px;color:var(--m-muted)}.footer-dot.svelte-cb9x9p{margin:0 5px;opacity:.6}.workspace-footer.svelte-cb9x9p{min-height:45px;padding:8px 20px;justify-content:space-between;gap:12px;font-size:10px;color:var(--m-muted)}.save-state.svelte-cb9x9p{display:flex;align-items:center;gap:5px}.save-state.svelte-cb9x9p>svg{color:#6da69c}.format-status.svelte-cb9x9p{margin-left:auto;margin-right:20px}.below-workspace.svelte-cb9x9p{justify-content:space-between;margin-top:17px;gap:10px;font-size:10px;color:var(--m-muted)}.below-workspace.svelte-cb9x9p>span:where(.svelte-cb9x9p){display:inline-flex;align-items:center;gap:6px}.below-workspace.svelte-cb9x9p a:where(.svelte-cb9x9p){text-decoration:none}.empty-preview.svelte-cb9x9p{max-width:300px;margin:30px;text-align:center;color:var(--m-muted);cursor:default}.empty-preview.svelte-cb9x9p>svg{margin:0 auto 20px;opacity:.6}.empty-preview.svelte-cb9x9p strong:where(.svelte-cb9x9p){display:block;color:var(--m-text);font-size:15px;font-weight:500}.empty-preview.svelte-cb9x9p p:where(.svelte-cb9x9p){font-size:12px;line-height:1.7;margin-top:8px}.syntax-error.svelte-cb9x9p{position:absolute;inset:auto 12px 65px;max-height:45%;overflow:auto;padding:12px 15px;border:1px solid #c99b5d66;border-radius:8px;background:var(--m-panel);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);font-size:11px}.syntax-error.svelte-cb9x9p strong:where(.svelte-cb9x9p){font-size:11px;font-weight:550;color:var(--m-text)}.syntax-error.svelte-cb9x9p pre:where(.svelte-cb9x9p){margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--m-muted);font-size:10px}.notice.svelte-cb9x9p{position:fixed;bottom:26px;left:50%;transform:translate(-50%);z-index:60;max-width:calc(100vw - 32px);padding:12px 19px;border:1px solid var(--m-line);border-radius:9px;background:var(--m-panel);color:var(--m-text);-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);font-size:12px;box-shadow:0 5px 25px #0001;opacity:0;pointer-events:none}.notice.visible.svelte-cb9x9p{opacity:1}.render-host.svelte-cb9x9p{position:fixed;top:-100000px;left:-100000px;pointer-events:none}.help-panel.svelte-cb9x9p{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:15px 30px;margin-bottom:20px;padding:21px 48px 21px 23px;background:var(--m-panel);border:1px solid var(--m-line);border-radius:12px;font-size:12px}.help-panel.svelte-cb9x9p strong:where(.svelte-cb9x9p){font-weight:600}.help-panel.svelte-cb9x9p p:where(.svelte-cb9x9p){margin-top:6px;color:var(--m-muted);line-height:1.8}.help-panel.svelte-cb9x9p a:where(.svelte-cb9x9p){color:var(--m-blue);font-size:11px}.help-panel.svelte-cb9x9p>button:where(.svelte-cb9x9p){position:absolute;right:10px;top:10px}.help-panel.svelte-cb9x9p kbd:where(.svelte-cb9x9p),.help-panel.svelte-cb9x9p code:where(.svelte-cb9x9p){font-size:11px}.mobile-tabs.svelte-cb9x9p{display:none}@media(min-width:1600px){.mermaid-app.svelte-cb9x9p{padding-top:36px}.heading-row.svelte-cb9x9p{margin-bottom:32px}}@media(max-width:1000px){.mermaid-app.svelte-cb9x9p{padding:24px}.editor-split.svelte-cb9x9p{grid-template-columns:1fr 1.1fr}.small-label.svelte-cb9x9p{display:none}.workspace-toolbar.svelte-cb9x9p{padding:12px 16px}.diagram-art.svelte-cb9x9p{padding:24px 22px 60px}.file-open.svelte-cb9x9p,.delay-label.svelte-cb9x9p{display:none}}@media(max-width:700px){.mermaid-app.svelte-cb9x9p{padding:17px 14px 28px}.back-link.svelte-cb9x9p{margin-bottom:18px}.heading-row.svelte-cb9x9p{align-items:center;gap:10px;margin-bottom:23px}.title-group.svelte-cb9x9p{gap:10px}.app-mark.svelte-cb9x9p{width:35px;height:39px;border-radius:9px}.app-mark.svelte-cb9x9p>svg{width:21px}h1.svelte-cb9x9p{font-size:22px;letter-spacing:-.7px}.title-group.svelte-cb9x9p p:where(.svelte-cb9x9p){font-size:11px;max-width:155px;line-height:1.6;margin-top:3px}.heading-actions.svelte-cb9x9p{gap:2px}.help-button.svelte-cb9x9p{padding:8px}.help-button.svelte-cb9x9p span:where(.svelte-cb9x9p){display:none}.export-button.svelte-cb9x9p{padding:9px;font-size:10px;gap:5px}.workspace.svelte-cb9x9p{border-radius:12px}.workspace-toolbar.svelte-cb9x9p{min-height:60px;padding:10px;gap:8px;align-items:flex-start}.examples-control.svelte-cb9x9p{gap:2px;flex-wrap:wrap}select.svelte-cb9x9p{font-size:11px;max-width:155px;min-height:30px}.examples-control.svelte-cb9x9p .text-button:where(.svelte-cb9x9p){font-size:10px;padding-left:6px}.workspace-actions.svelte-cb9x9p,.appearance-control.svelte-cb9x9p{gap:0}.appearance-control.svelte-cb9x9p>span:where(.svelte-cb9x9p),.fullscreen-button.svelte-cb9x9p,.workspace-actions.svelte-cb9x9p .toolbar-divider:where(.svelte-cb9x9p){display:none}.appearance-control.svelte-cb9x9p select:where(.svelte-cb9x9p){max-width:84px;padding-left:6px}.editor-split.svelte-cb9x9p{display:block;min-height:430px;height:55dvh;margin:0 8px}.source-panel.svelte-cb9x9p,.preview-panel.svelte-cb9x9p{height:100%;border:none}.mobile-hidden.svelte-cb9x9p{display:none}.mobile-tabs.svelte-cb9x9p{display:flex;gap:6px;padding:0 9px 9px}.mobile-tabs.svelte-cb9x9p button:where(.svelte-cb9x9p){padding:8px 15px;font-size:11px;border-radius:6px;color:var(--m-muted);border:1px solid transparent}.mobile-tabs.svelte-cb9x9p button[aria-selected=true]:where(.svelte-cb9x9p){color:var(--m-blue);background:var(--m-accent-bg);border-color:var(--m-line)}.panel-heading.svelte-cb9x9p{height:44px;padding:0 12px}.file-open.svelte-cb9x9p{display:inline-flex}.delay-label.svelte-cb9x9p{display:inline}.source-footer.svelte-cb9x9p{padding:0 12px}.workspace-footer.svelte-cb9x9p{padding:8px 12px;gap:5px;flex-wrap:wrap;font-size:9px}.workspace-footer.svelte-cb9x9p .text-button:where(.svelte-cb9x9p){font-size:10px;margin-left:auto}.format-status.svelte-cb9x9p{order:3;margin:0;width:100%;padding-top:3px;font-size:9px}.below-workspace.svelte-cb9x9p{font-size:9px;align-items:flex-start}.below-workspace.svelte-cb9x9p span:where(.svelte-cb9x9p){max-width:210px;line-height:1.6}.below-workspace.svelte-cb9x9p a:where(.svelte-cb9x9p){text-align:right;line-height:1.6}.help-panel.svelte-cb9x9p{grid-template-columns:1fr;padding:20px 35px 20px 20px;gap:16px}}@media(prefers-reduced-motion:reduce){button.svelte-cb9x9p{transition:none}}@media(prefers-reduced-transparency:reduce){.workspace.svelte-cb9x9p{-webkit-backdrop-filter:none;backdrop-filter:none;background:#f2f6fb}.editor-dark.svelte-cb9x9p .workspace:where(.svelte-cb9x9p){background:#202630}}
