.chat-markdown{--chat-code-font:ui-monospace, SFMono-Regular, Menlo, Consolas, "D2Coding", "Liberation Mono", monospace;--chat-code-bg:#14171c;--chat-code-text:#e6edf3;--chat-hl-keyword:#ff7b72;--chat-hl-title:#d2a8ff;--chat-hl-constant:#79c0ff;--chat-hl-string:#a5d6ff;--chat-hl-builtin:#ffa657;--chat-hl-comment:#8b949e;--chat-hl-tag:#7ee787;--chat-hl-addition:#aff5b4;--chat-hl-addition-bg:#2ea0432e;--chat-hl-deletion:#ffdcd7;--chat-hl-deletion-bg:#f851492e;overflow-wrap:anywhere}html[data-theme=light] .chat-markdown{--chat-code-bg:#f6f8fa;--chat-code-text:#1f2328;--chat-hl-keyword:#cf222e;--chat-hl-title:#8250df;--chat-hl-constant:#0550ae;--chat-hl-string:#0a3069;--chat-hl-builtin:#953800;--chat-hl-comment:#59636e;--chat-hl-tag:#116329;--chat-hl-addition:#116329;--chat-hl-addition-bg:#dafbe1;--chat-hl-deletion:#82071e;--chat-hl-deletion-bg:#ffebe9}.chat-markdown>*+*{margin-top:4px}.chat-markdown>p+p{margin-top:22px}.chat-markdown>:first-child{margin-top:0}.chat-markdown :is(p,li,td,th,h3,h4,h5,h6){white-space:pre-wrap}.chat-markdown :is(h3,h4,h5,h6){margin-top:8px;font-weight:700;line-height:1.4}.chat-markdown h3{font-size:1.25em}.chat-markdown h4{font-size:1.125em}.chat-markdown :is(h5,h6){font-size:1em}.chat-markdown strong{font-weight:700}.chat-markdown em{font-synthesis:style;font-style:italic}.chat-markdown del{text-decoration-thickness:1px}.chat-markdown a.chat-link{color:var(--color-action-text);text-underline-offset:2px;text-decoration:underline}.chat-markdown :is(ul,ol){padding-left:1.5em}.chat-markdown ul{list-style:outside}.chat-markdown ol{list-style:decimal}.chat-markdown :is(ul,ol) :is(ul,ol){margin-top:2px}.chat-markdown ul ul{list-style:circle}.chat-markdown li+li{margin-top:2px}.chat-markdown li::marker{color:var(--color-text-tertiary)}.chat-markdown .contains-task-list{padding-left:.25em;list-style:none}.chat-markdown .task-list-item input{vertical-align:-.1em;accent-color:var(--color-action);margin:0 .45em 0 0}.chat-markdown blockquote{border-left:3px solid var(--color-border-glow);color:var(--color-text-secondary);padding-left:10px}.chat-markdown blockquote>*+*{margin-top:4px}.chat-markdown hr{border:0;border-top:1px solid var(--color-border-primary);margin:8px 0}.chat-markdown :not(pre)>code{border:1px solid var(--color-border-secondary);background:var(--color-bg-tertiary);font-family:var(--chat-code-font);border-radius:4px;padding:.1em .35em;font-size:.86em}.chat-code{border:1px solid var(--color-border-primary);background:var(--chat-code-bg);border-radius:8px;max-width:100%;margin:0;overflow:hidden}.chat-code-header{border-bottom:1px solid var(--color-border-primary);color:var(--color-text-tertiary);justify-content:space-between;align-items:center;gap:8px;padding:3px 4px 3px 12px;font-size:12px;line-height:20px;display:flex}.chat-code-language{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.chat-code-copy{color:var(--color-text-secondary);border-radius:6px;flex-shrink:0;align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.chat-code-copy:hover{background:var(--color-bg-hover);color:var(--color-text-primary)}.chat-code pre{max-height:28rem;color:var(--chat-code-text);font-family:var(--chat-code-font);white-space:pre;overflow-wrap:normal;tab-size:4;margin:0;padding:10px 12px;font-size:13px;line-height:1.6;overflow:auto}.chat-md-table{max-width:100%;overflow-x:auto}.chat-md-table table{border-collapse:collapse;font-size:14px;line-height:20px}.chat-md-table :is(th,td){border:1px solid var(--color-border-primary);text-align:left;vertical-align:top;min-width:4em;padding:4px 10px}.chat-md-table th{background:var(--color-bg-secondary);font-weight:700}.chat-code-copy:focus-visible,.chat-code pre:focus-visible,.chat-md-table:focus-visible{outline:2px solid var(--color-action);outline-offset:-2px}.chat-code :is(.hljs-keyword,.hljs-doctag,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_){color:var(--chat-hl-keyword)}.chat-code :is(.hljs-title,.hljs-title.class_,.hljs-title.function_){color:var(--chat-hl-title)}.chat-code :is(.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id){color:var(--chat-hl-constant)}.chat-code :is(.hljs-regexp,.hljs-string,.hljs-meta .hljs-string){color:var(--chat-hl-string)}.chat-code :is(.hljs-built_in,.hljs-symbol,.hljs-bullet){color:var(--chat-hl-builtin)}.chat-code :is(.hljs-comment,.hljs-code,.hljs-formula){color:var(--chat-hl-comment)}.chat-code :is(.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo){color:var(--chat-hl-tag)}.chat-code .hljs-section{color:var(--chat-hl-constant);font-weight:700}.chat-code .hljs-emphasis{font-style:italic}.chat-code .hljs-strong{font-weight:700}.chat-code .hljs-addition{background:var(--chat-hl-addition-bg);color:var(--chat-hl-addition)}.chat-code .hljs-deletion{background:var(--chat-hl-deletion-bg);color:var(--chat-hl-deletion)}
