:root{--bg: #f7f7f8;--surface: #ffffff;--surface-container: #f4f5f7;--surface-hover: #eef0f3;--on-surface: #1b1d21;--on-surface-variant: #6a7280;--primary: #1f2328;--on-primary: #ffffff;--tertiary: #3e63dd;--tertiary-soft: #edf1fd;--error: #d92d20;--error-soft: #fef3f2;--success: #1b7f3b;--success-soft: #ecfdf3;--warning: #b54708;--outline: #e4e7ec;--outline-strong: #d0d5dd;--code-bg: #f6f7f9;--bubble-user: #eef1f5;--shadow-sm: 0 1px 2px rgba(16, 24, 40, .04);--shadow-md: 0 8px 24px rgba(16, 24, 40, .08);--radius-xs: 6px;--radius-sm: 10px;--radius-md: 14px;--radius-lg: 20px;--radius-xl: 28px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;--font-mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;--chat-font-size: 16px;--chat-line-height: 1.65;--reading-width: 760px;--sidebar-width: 280px;--motion-duration: .18s;--motion-easing: cubic-bezier(.2, 0, 0, 1);color-scheme:light}[data-theme=dark]{--bg: #0b0c0e;--surface: #111214;--surface-container: #181a1e;--surface-hover: #1f2227;--on-surface: #ecedef;--on-surface-variant: #9ba3ae;--primary: #f2f3f5;--on-primary: #0b0c0e;--tertiary: #8ab4f8;--tertiary-soft: #1c2740;--error: #ff6b6b;--error-soft: #2a1618;--success: #5bd77e;--success-soft: #12251a;--warning: #f5b26b;--outline: #24272c;--outline-strong: #32363d;--code-bg: #17191d;--bubble-user: #1d2025;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);--shadow-md: 0 8px 24px rgba(0, 0, 0, .45);color-scheme:dark}*{box-sizing:border-box}html,body,#app{height:100%}body{margin:0;background:var(--bg);color:var(--on-surface);font-family:var(--font-sans);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}a{color:var(--tertiary);text-decoration:none}a:hover{text-decoration:underline}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}::selection{background:var(--tertiary-soft)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--outline-strong);border-radius:8px;border:2px solid var(--bg)}::-webkit-scrollbar-track{background:transparent}html[data-motion=reduced] *,html[data-motion=reduced] *:before,html[data-motion=reduced] *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}html[data-motion=liquid]{--motion-duration: .32s}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}.touch-target{min-width:44px;min-height:44px}.muted{color:var(--on-surface-variant)}.small{font-size:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.fade-enter-active,.fade-leave-active{transition:opacity var(--motion-duration) var(--motion-easing)}.fade-enter-from,.fade-leave-to{opacity:0}:focus-visible{outline:2px solid var(--tertiary);outline-offset:2px}:root{--el-color-primary: #3e63dd;--el-color-primary-light-3: #6b85e6;--el-color-primary-light-5: #90a4ec;--el-color-primary-light-7: #b6c3f3;--el-color-primary-light-8: #cbd4f6;--el-color-primary-light-9: #edf1fd;--el-color-primary-dark-2: #2f50c4;--el-color-danger: #d92d20;--el-color-success: #1b7f3b;--el-border-radius-base: 8px;--el-border-color: #e4e7ec;--el-bg-color: #ffffff;--el-text-color-primary: #1b1d21;--el-text-color-regular: #4b5563;--el-font-size-base: 14px}html.dark{--el-color-primary: #8ab4f8;--el-color-primary-light-3: #6a8cc4;--el-color-primary-light-5: #4f6892;--el-color-primary-light-7: #344560;--el-color-primary-light-8: #283548;--el-color-primary-light-9: #1c2740;--el-bg-color: #111214;--el-bg-color-overlay: #181a1e;--el-fill-color-blank: #111214;--el-border-color: #24272c;--el-border-color-light: #24272c;--el-text-color-primary: #ecedef;--el-text-color-regular: #c2c8d0;--el-text-color-secondary: #9ba3ae;--el-mask-color: rgba(0, 0, 0, .7)}.el-button{font-weight:500}.el-button--primary{--el-button-bg-color: var(--tertiary);--el-button-border-color: var(--tertiary)}.el-card,.el-dialog{border-radius:var(--radius-md)}.el-dialog{background:var(--surface)}.el-input__wrapper,.el-textarea__inner,.el-select__wrapper,.el-message{border-radius:var(--radius-sm)}.md-body{font-size:var(--chat-font-size);line-height:var(--chat-line-height);color:var(--on-surface);word-break:break-word}.md-body>*:first-child{margin-top:0}.md-body>*:last-child{margin-bottom:0}.md-body p{margin:0 0 .9em}.md-body h1,.md-body h2,.md-body h3,.md-body h4{margin:1.4em 0 .6em;line-height:1.35;font-weight:650}.md-body h1{font-size:1.5em}.md-body h2{font-size:1.28em}.md-body h3{font-size:1.12em}.md-body ul,.md-body ol{margin:.4em 0 1em;padding-left:1.5em}.md-body li{margin:.25em 0}.md-body li>p{margin:.2em 0}.md-body .task-checkbox{margin-right:6px;vertical-align:middle;accent-color:var(--tertiary)}.md-body blockquote{margin:1em 0;padding:4px 14px;border-left:3px solid var(--outline-strong);color:var(--on-surface-variant);background:var(--surface-container);border-radius:0 var(--radius-xs) var(--radius-xs) 0}.md-body hr{border:none;border-top:1px solid var(--outline);margin:1.5em 0}.md-body a{color:var(--tertiary);text-decoration:underline;text-underline-offset:2px}.md-body code{font-family:var(--font-mono);font-size:.86em;background:var(--code-bg);border:1px solid var(--outline);border-radius:5px;padding:.12em .34em}.md-body pre{margin:0}.md-body pre code{border:none;background:none;padding:0;font-size:13px;line-height:1.6}.code-block{margin:1em 0;border:1px solid var(--outline);border-radius:var(--radius-sm);overflow:hidden;background:var(--code-bg)}.code-head{display:flex;align-items:center;justify-content:space-between;padding:4px 10px;font-size:12px;color:var(--on-surface-variant);background:var(--surface-container);border-bottom:1px solid var(--outline)}.code-copy{border:1px solid var(--outline);background:var(--surface);color:var(--on-surface-variant);border-radius:6px;padding:2px 10px;min-height:28px;font-size:12px;transition:background var(--motion-duration) var(--motion-easing)}.code-copy:hover{background:var(--surface-hover)}.code-block pre{padding:12px 14px;overflow-x:auto;max-height:480px}.md-body table{border-collapse:collapse;margin:1em 0;display:block;overflow-x:auto;max-width:100%;font-size:.92em}.md-body th,.md-body td{border:1px solid var(--outline);padding:6px 12px;text-align:left;white-space:nowrap}.md-body th{background:var(--surface-container);font-weight:600}.md-body img.md-image{max-width:100%;border-radius:var(--radius-sm)}.math-block{margin:1em 0;padding:10px 14px;overflow-x:auto;background:var(--surface-container);border-radius:var(--radius-sm)}.math-fallback{font-family:var(--font-mono);color:var(--error)}.mermaid-block{margin:1em 0;padding:12px;border:1px solid var(--outline);border-radius:var(--radius-sm);background:var(--surface);overflow-x:auto;text-align:center}.mermaid-block svg{max-width:100%;height:auto}.mermaid-hint{color:var(--on-surface-variant);font-size:12px;padding:20px 0}.mermaid-error{text-align:left;border-color:var(--error);background:var(--error-soft)}.mermaid-error-title{color:var(--error);font-weight:600;margin-bottom:8px;font-size:13px}.mermaid-error pre{overflow-x:auto;font-family:var(--font-mono);font-size:12px;margin:0}.hljs{color:var(--on-surface);background:transparent}.hljs-comment,.hljs-quote{color:var(--on-surface-variant);font-style:italic}.hljs-keyword,.hljs-selector-tag,.hljs-literal,.hljs-doctag{color:#a626a4}.hljs-string,.hljs-regexp,.hljs-attribute,.hljs-template-variable{color:#0a7a3f}.hljs-number,.hljs-symbol,.hljs-bullet{color:#b05a00}.hljs-title,.hljs-section,.hljs-function .hljs-title{color:#1a56c4}.hljs-type,.hljs-class .hljs-title{color:#b05a00}.hljs-built_in,.hljs-builtin-name{color:#0a7a3f}.hljs-meta{color:#6a7280}.hljs-variable,.hljs-params{color:var(--on-surface)}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}[data-theme=dark] .hljs-keyword,[data-theme=dark] .hljs-selector-tag,[data-theme=dark] .hljs-literal,[data-theme=dark] .hljs-doctag{color:#d8a0ff}[data-theme=dark] .hljs-string,[data-theme=dark] .hljs-regexp,[data-theme=dark] .hljs-attribute{color:#8ce99a}[data-theme=dark] .hljs-number,[data-theme=dark] .hljs-symbol,[data-theme=dark] .hljs-bullet{color:#ffc078}[data-theme=dark] .hljs-title,[data-theme=dark] .hljs-section{color:#8ab4f8}[data-theme=dark] .hljs-type,[data-theme=dark] .hljs-class .hljs-title{color:#ffc078}[data-theme=dark] .hljs-built_in{color:#8ce99a}.katex-display{margin:.4em 0;overflow-x:auto;overflow-y:hidden}.katex{font-size:1.05em}html.dark{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--el-color-primary:#409eff;--el-color-primary-light-3:#3375b9;--el-color-primary-light-5:#2a598a;--el-color-primary-light-7:#213d5b;--el-color-primary-light-8:#1d3043;--el-color-primary-light-9:#18222b;--el-color-primary-dark-2:#66b1ff;--el-color-success:#67c23a;--el-color-success-light-3:#4e8e2f;--el-color-success-light-5:#3e6b27;--el-color-success-light-7:#2d481f;--el-color-success-light-8:#25371c;--el-color-success-light-9:#1c2518;--el-color-success-dark-2:#85ce61;--el-color-warning:#e6a23c;--el-color-warning-light-3:#a77730;--el-color-warning-light-5:#7d5b28;--el-color-warning-light-7:#533f20;--el-color-warning-light-8:#3e301c;--el-color-warning-light-9:#292218;--el-color-warning-dark-2:#ebb563;--el-color-danger:#f56c6c;--el-color-danger-light-3:#b25252;--el-color-danger-light-5:#854040;--el-color-danger-light-7:#582e2e;--el-color-danger-light-8:#412626;--el-color-danger-light-9:#2a1d1d;--el-color-danger-dark-2:#f78989;--el-color-error:#f56c6c;--el-color-error-light-3:#b25252;--el-color-error-light-5:#854040;--el-color-error-light-7:#582e2e;--el-color-error-light-8:#412626;--el-color-error-light-9:#2a1d1d;--el-color-error-dark-2:#f78989;--el-color-info:#909399;--el-color-info-light-3:#6b6d71;--el-color-info-light-5:#525457;--el-color-info-light-7:#393a3c;--el-color-info-light-8:#2d2d2f;--el-color-info-light-9:#202121;--el-color-info-dark-2:#a6a9ad;--el-box-shadow:0px 12px 32px 4px #0000005c, 0px 8px 20px #000000b8;--el-box-shadow-light:0px 0px 12px #000000b8;--el-box-shadow-lighter:0px 0px 6px #000000b8;--el-box-shadow-dark:0px 16px 48px 16px #000000b8, 0px 12px 32px #000, 0px 8px 16px -8px #000;--el-bg-color-page:#0a0a0a;--el-bg-color:#141414;--el-bg-color-overlay:#1d1e1f;--el-text-color-primary:#e5eaf3;--el-text-color-regular:#cfd3dc;--el-text-color-secondary:#a3a6ad;--el-text-color-placeholder:#8d9095;--el-text-color-disabled:#6c6e72;--el-border-color-darker:#636466;--el-border-color-dark:#58585b;--el-border-color:#4c4d4f;--el-border-color-light:#414243;--el-border-color-lighter:#363637;--el-border-color-extra-light:#2b2b2c;--el-fill-color-darker:#424243;--el-fill-color-dark:#39393a;--el-fill-color:#303030;--el-fill-color-light:#262727;--el-fill-color-lighter:#1d1d1d;--el-fill-color-extra-light:#191919;--el-fill-color-blank:#141414;--el-mask-color:#000c;--el-mask-color-extra-light:#0000004d}html.dark .el-button{--el-button-disabled-text-color:#ffffff80}html.dark .el-card{--el-card-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-card-bg-color)}html.dark .el-empty{--el-empty-fill-color-0:var(--el-color-black);--el-empty-fill-color-1:#4b4b52;--el-empty-fill-color-2:#36383d;--el-empty-fill-color-3:#1e1e20;--el-empty-fill-color-4:#262629;--el-empty-fill-color-5:#202124;--el-empty-fill-color-6:#212224;--el-empty-fill-color-7:#1b1c1f;--el-empty-fill-color-8:#1c1d1f;--el-empty-fill-color-9:#18181a}
