:root{--app-footer-height: 48px;--workspace-padding: 16px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#242135;background:#f7f7fa;font-synthesis:none;--page: #f7f7fa;--surface: #ffffff;--surface-soft: #faf9fc;--text: #242135;--muted: #767184;--border: #e7e4ed;--accent: #e92c67;--accent-soft: #fff0f5;--dot: #dfdce7;--shadow: 0 8px 32px #2411370a;--syntax-keyword: #8d3fb0;--syntax-string: #248563;--syntax-operator: #d83068;--syntax-property: #296bb1;--editor-active-line: #fce1eb;--editor-cursor-fill: #e92c6740;--scrollbar-track: #f4eff5;--scrollbar-thumb: #bca7bc;--diagram-contrast-line: #4a4059;color-scheme:light}html[data-theme=dark]{--page: #16151d;--surface: #211f2b;--surface-soft: #25232f;--text: #ece9f3;--muted: #aaa4ba;--border: #393543;--accent: #ff6899;--accent-soft: #3d2435;--dot: #393442;--shadow: 0 8px 32px #00000025;--syntax-keyword: #d2a4ff;--syntax-string: #9bd8b4;--syntax-operator: #ff8db2;--syntax-property: #93c8ff;--editor-active-line: #493047;--editor-cursor-fill: #ff689955;--scrollbar-track: #211f2b;--scrollbar-thumb: #75617d;--diagram-contrast-line: #ddd4eb;color-scheme:dark}*{box-sizing:border-box}body{margin:0;color:var(--text);background:var(--page)}button,input,select,textarea{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button,select,input{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}button{touch-action:manipulation}a{color:inherit;text-decoration:none}[hidden]{display:none!important}::selection{background:#ff367038}button svg,a svg{flex-shrink:0}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}@media(max-width:900px){:root{--app-footer-height: 88px}}app-code-editor .cm-editor{height:100%;background:var(--surface);color:var(--text);font-size:13px}app-code-editor .cm-editor .cm-scroller{overflow:auto;font-family:Cascadia Mono,Consolas,Liberation Mono,monospace;font-variant-ligatures:none;font-feature-settings:"liga" 0,"calt" 0,"dlig" 0;line-height:1.85}app-code-editor .cm-editor .cm-content,app-code-editor .cm-editor .cm-line,app-code-editor .cm-editor .cm-line span{font-variant-ligatures:none;font-feature-settings:"liga" 0,"calt" 0,"dlig" 0}app-code-editor .cm-editor .cm-content{padding:22px 0;caret-color:var(--accent)}app-code-editor .cm-editor .cm-line{padding:0 20px 0 12px}app-code-editor .cm-editor .cm-gutters{background:var(--surface);color:var(--muted);border:0;padding:0 0 0 8px}app-code-editor .cm-editor .cm-gutterElement{min-width:30px}app-code-editor .cm-editor .cm-activeLine{background:var(--editor-active-line);box-shadow:inset 3px 0 var(--accent)}app-code-editor .cm-editor .cm-activeLineGutter{background:var(--editor-active-line);color:var(--accent);font-weight:700}app-code-editor .cm-editor .cm-cursor{width:1ch;margin-left:0;border:1px solid var(--accent);border-radius:1px;background:var(--editor-cursor-fill);box-sizing:border-box}app-code-editor .cm-editor .cm-scroller{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track)}app-code-editor .cm-editor .cm-scroller::-webkit-scrollbar{width:10px;height:10px}app-code-editor .cm-editor .cm-scroller::-webkit-scrollbar-track,app-code-editor .cm-editor .cm-scroller::-webkit-scrollbar-corner{background:var(--scrollbar-track)}app-code-editor .cm-editor .cm-scroller::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border:2px solid var(--scrollbar-track);border-radius:10px}app-code-editor .cm-editor .cm-scroller::-webkit-scrollbar-thumb:hover{background:var(--accent)}@supports selector(::-webkit-scrollbar){app-code-editor .cm-editor .cm-scroller{scrollbar-width:auto;scrollbar-color:auto}}app-code-editor .cm-editor.cm-focused{outline:none}app-code-editor .cm-editor.cm-focused .cm-selectionBackground,app-code-editor .cm-editor .cm-selectionBackground{background:#ff36702b!important}app-code-editor .cm-editor .cm-foldGutter{width:12px}app-code-editor .cm-editor .cm-panels{background:var(--surface-soft);color:var(--text)}app-code-editor .cm-editor .tok-keyword{color:var(--syntax-keyword)}app-code-editor .cm-editor .tok-string{color:var(--syntax-string)}app-code-editor .cm-editor .tok-comment{color:#9692a5;font-style:italic}app-code-editor .cm-editor .tok-operator{color:var(--syntax-operator)}app-code-editor .cm-editor .tok-literal{color:#ce6d30}app-code-editor .cm-editor .tok-propertyName{color:var(--syntax-property)}app-code-editor .cm-editor .tok-bool{color:#b57bdb}app-code-editor .cm-editor .tok-number{color:#d48745}app-code-editor .cm-editor .cm-selectionMatch,app-code-editor .cm-editor .cm-hoverMatch{background:#e92c6724;outline:1px solid rgba(233,44,103,.3333333333);border-radius:2px}app-code-editor .cm-editor .cm-selectionMatch-main{background:#e92c6738;outline-color:var(--accent)}app-diagram-preview .diagram svg{max-width:none;display:block}.mermaid-render-host{position:fixed;inset:0;overflow:hidden;visibility:hidden;pointer-events:none;contain:layout paint}html[data-theme=dark] app-diagram-preview svg[data-render-theme=light] .flowchart-link,html[data-theme=light] app-diagram-preview svg[data-render-theme=dark] .flowchart-link{stroke:var(--diagram-contrast-line)!important}html[data-theme=dark] app-diagram-preview svg[data-render-theme=light] marker path,html[data-theme=light] app-diagram-preview svg[data-render-theme=dark] marker path{fill:var(--diagram-contrast-line)!important;stroke:var(--diagram-contrast-line)!important}html .tst-viewport{--tst-bg: var(--surface);--tst-fg: var(--text);--tst-radius: 22px;--tst-success: #269b76;--tst-error: #ed4765;--tst-warning: #c78629;--tst-info: #6189df;margin:0;padding:0;border:0;width:auto;height:auto;max-width:none;max-height:none;overflow:visible;background:transparent}html .tst-viewport[data-position^=top] .tst-slot{top:calc(64px + env(safe-area-inset-top,0px))}html .tst-viewport .tst-title,html .tst-viewport .tst-desc{white-space:pre-wrap}html .tst-viewport .tst-copy{max-height:min(320px,100dvh - 160px);overflow:auto}html:has(app-language-switcher .language-menu) .tst-viewport[data-position^=top] .tst-slot{top:calc(280px + env(safe-area-inset-top,0px))}html:has(#main-menu) .tst-viewport[data-position^=top] .tst-slot{top:min(460px,100dvh - 120px)}
