.code-block-container{position:relative;border-radius:.5rem;overflow:hidden;border:1px solid var(--border-color);background:var(--bg-primary);margin:1rem 0}.code-block-header{display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;background:var(--bg-secondary);border-bottom:1px solid var(--border-color)}.code-block-lang{display:flex;align-items:center;gap:.5rem;font-size:.75rem;font-weight:500;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em}.code-block-lang-icon{width:.875rem;height:.875rem;color:var(--text-muted)}.code-block-copy{display:flex;align-items:center;gap:.375rem;padding:.25rem .625rem;border-radius:.25rem;font-size:.75rem;font-weight:500;color:var(--text-secondary);background:transparent;border:1px solid var(--border-color);cursor:pointer}.code-block-copy:hover{background:var(--bg-card);color:var(--text-primary)}.code-block-copy.copied{color:#10b981;border-color:#10b981}.code-block-copy-icon{width:.875rem;height:.875rem}.code-block-content{overflow-x:auto;background:var(--bg-primary)}.prism-code{margin:0!important;padding:1rem!important;font-size:.875rem!important;line-height:1.6!important;white-space:pre!important;overflow-x:auto!important;background:var(--bg-primary)!important;color:var(--text-primary)!important;box-shadow:none!important;text-shadow:none!important}.code-block-content *,.prism-code,.prism-code *,.token,.token *{font-family:JetBrains Mono,Fira Code,Consolas,Monaco,Courier New,monospace!important}.markdown-body .katex-display{margin:0!important;padding:0!important;border:none!important;background-color:transparent!important}.markdown-body .katex-display,.markdown-body .katex-display>math{overflow-x:auto!important;overflow-y:hidden!important}.markdown-body .katex{white-space:nowrap!important}.markdown-body .katex-display::-webkit-scrollbar{height:4px!important}.markdown-body .katex-display::-webkit-scrollbar-track{background:var(--bg-secondary)!important}.markdown-body .katex-display::-webkit-scrollbar-thumb{background:var(--border-color)!important;border-radius:2px!important}.markdown-body .katex-display::-webkit-scrollbar-thumb:hover{background:var(--text-muted)!important}.code-block-container *,.code-block-content *,.prism-code *,.token *,[data-theme=dark] .code-block-container,[data-theme=dark] .code-block-container *,[data-theme=dark] .code-block-content,[data-theme=dark] .code-block-content *,[data-theme=dark] .prism-code,[data-theme=dark] .prism-code *,[data-theme=dark] .token,[data-theme=dark] .token *{text-shadow:none!important;box-shadow:none!important;filter:none!important;mix-blend-mode:normal!important}.prism-line-number{display:inline-block;min-width:2.5em;padding-right:1em;color:var(--text-muted)!important;text-align:right;font-family:JetBrains Mono,Fira Code,Consolas,Monaco,Courier New,monospace;font-size:.875rem;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:.5}[data-theme=light] .token.comment{color:#6f42c1!important;font-style:italic}[data-theme=light] .token.cdata,[data-theme=light] .token.doctype,[data-theme=light] .token.prolog{color:#6f42c1!important}[data-theme=light] .token.punctuation{color:#24292f!important}[data-theme=light] .token.boolean,[data-theme=light] .token.constant,[data-theme=light] .token.deleted,[data-theme=light] .token.number,[data-theme=light] .token.property,[data-theme=light] .token.symbol,[data-theme=light] .token.tag{color:#0550ae!important}[data-theme=light] .token.attr-name,[data-theme=light] .token.builtin,[data-theme=light] .token.char,[data-theme=light] .token.inserted,[data-theme=light] .token.selector,[data-theme=light] .token.string{color:#0a3069!important}[data-theme=light] .token.entity,[data-theme=light] .token.operator,[data-theme=light] .token.url{color:#24292f!important}[data-theme=light] .token.atrule,[data-theme=light] .token.attr-value,[data-theme=light] .token.class-name,[data-theme=light] .token.function,[data-theme=light] .token.keyword{color:#cf222e!important}[data-theme=light] .token.important,[data-theme=light] .token.regex,[data-theme=light] .token.variable{color:#953800!important}[data-theme=dark] .token.comment{color:#a78bfa!important;font-style:italic}[data-theme=dark] .token.cdata,[data-theme=dark] .token.doctype,[data-theme=dark] .token.prolog{color:#a78bfa!important}[data-theme=dark] .token.punctuation{color:#d1d5db!important}[data-theme=dark] .token.boolean,[data-theme=dark] .token.constant,[data-theme=dark] .token.deleted,[data-theme=dark] .token.number,[data-theme=dark] .token.property,[data-theme=dark] .token.symbol,[data-theme=dark] .token.tag{color:#3b82f6!important}[data-theme=dark] .token.attr-name,[data-theme=dark] .token.builtin,[data-theme=dark] .token.char,[data-theme=dark] .token.inserted,[data-theme=dark] .token.selector,[data-theme=dark] .token.string{color:#6ee7b7!important}[data-theme=dark] .token.entity,[data-theme=dark] .token.operator,[data-theme=dark] .token.url{color:#d1d5db!important}[data-theme=dark] .token.atrule,[data-theme=dark] .token.attr-value,[data-theme=dark] .token.class-name,[data-theme=dark] .token.function,[data-theme=dark] .token.keyword{color:#f472b6!important}[data-theme=dark] .token.important,[data-theme=dark] .token.regex,[data-theme=dark] .token.variable{color:#fbbf24!important}[data-theme=dark] .token.annotation,[data-theme=dark] .token.decorator,[data-theme=dark] .token.parameter{color:#fca5a5!important}[data-theme=dark] .token.namespace{color:#93c5fd!important}[data-theme=dark] .token.console{color:#fbbf24!important}[data-theme=dark] .token.generic{color:#d1d5db!important}[data-theme=dark] .token:not(.comment):not(.prolog):not(.doctype):not(.cdata):not(.punctuation):not(.property):not(.tag):not(.boolean):not(.number):not(.constant):not(.symbol):not(.deleted):not(.selector):not(.attr-name):not(.string):not(.char):not(.builtin):not(.inserted):not(.operator):not(.entity):not(.url):not(.atrule):not(.attr-value):not(.keyword):not(.function):not(.class-name):not(.regex):not(.important):not(.variable):not(.parameter):not(.decorator):not(.annotation):not(.namespace):not(.console):not(.generic){color:#e5e7eb!important}.inline-code{display:inline-block;padding:.125rem .375rem;font-size:.875rem;font-family:JetBrains Mono,Fira Code,Consolas,Monaco,Courier New,monospace;background:var(--bg-secondary);color:var(--accent-primary);border:1px solid var(--border-color);border-radius:.25rem}.code-block-content::-webkit-scrollbar{height:6px}.code-block-content::-webkit-scrollbar-track{background:var(--bg-secondary)}.code-block-content::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:3px}.code-block-content::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}@media (max-width:640px){.prism-code{font-size:.8125rem!important;padding:.75rem!important}.code-block-header{padding:.375rem .75rem}.code-block-lang{font-size:.6875rem}}