.message-markdown{min-width:0;overflow-wrap:anywhere;font-size:var(--text-body);line-height:var(--leading-relaxed)}.message-markdown :where(p,ul,ol,blockquote,pre,table,h1,h2,h3,h4,h5,h6){margin-top:0}.message-markdown :where(p,ul,ol,blockquote,pre,table){margin-bottom:10px}.message-markdown :where(p,ul,ol,blockquote,pre,table,h1,h2,h3,h4,h5,h6):last-child{margin-bottom:0}.message-markdown :where(h1,h2,h3,h4,h5,h6){margin-bottom:8px;color:inherit;line-height:var(--leading-snug)}.message-markdown h1{font-size:1.25rem}.message-markdown h2{font-size:1.12rem}.message-markdown :where(h3,h4,h5,h6){font-size:1rem}.message-markdown :where(ul,ol){padding-left:22px}.message-markdown li{margin:4px 0}.message-markdown blockquote{padding-left:12px;border-left:3px solid var(--border-strong);color:var(--text-secondary)}.message-markdown pre{max-width:100%;overflow-x:auto;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--code-bg);color:var(--code-text);font-family:var(--font-mono);font-size:var(--text-sm);line-height:var(--leading-relaxed)}.message-markdown code{padding:2px 5px;border-radius:6px;background:color-mix(in srgb,var(--code-bg) 86%,var(--card));color:var(--code-text);font-family:var(--font-mono);font-size:.92em}.message-markdown pre code{padding:0;border-radius:0;background:transparent;color:inherit;font-size:inherit}.message-markdown [data-streamdown=code-block]{position:relative;max-width:100%;margin:12px 0;overflow:hidden;border:1px solid var(--border);border-radius:10px;background:var(--code-bg)}.message-markdown [data-streamdown=code-block-header]{display:flex;min-height:34px;align-items:center;padding:0 12px;color:var(--text-secondary);font-family:var(--font-mono);font-size:var(--text-xs)}.message-markdown [data-streamdown=code-block-header] span{text-transform:lowercase}.message-markdown [data-streamdown=code-block-actions]{position:absolute;top:5px;right:8px;display:flex;gap:3px;padding:2px;border:1px solid var(--border);border-radius:7px;background:color-mix(in srgb,var(--card) 78%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.message-markdown [data-streamdown=code-block-actions] button{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;padding:0;border:0;border-radius:5px;background:transparent;color:var(--text-secondary);cursor:pointer}.message-markdown [data-streamdown=code-block-actions] button:hover{background:color-mix(in srgb,var(--card-alt) 78%,transparent);color:var(--text-primary)}.message-markdown [data-streamdown=code-block-actions] svg{width:14px;height:14px}.message-markdown [data-streamdown=code-block-body]{overflow-x:auto;border-top:1px solid var(--border)}.message-markdown [data-streamdown=code-block-body] pre{margin:0;padding:12px;border:0;border-radius:0;background:transparent}.message-markdown [data-streamdown=code-block-body] code{display:block;min-width:max-content}.message-markdown [data-streamdown=code-block-body] code>span{display:block}.message-markdown a{color:var(--accent);cursor:pointer;text-decoration-color:color-mix(in srgb,var(--accent) 45%,transparent);text-underline-offset:2px}.message-markdown table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.message-markdown :where(th,td){padding:6px 8px;border:1px solid var(--border);text-align:left;vertical-align:top}.message-markdown th{background:color-mix(in srgb,var(--card-alt) 68%,var(--card));color:var(--text-secondary);font-weight:700}
