.chat-user-bubble{background:var(--accent);overflow-wrap:anywhere;border-radius:18px;padding:12px 18px}.chat-user-bubble-shared{background:var(--card);box-shadow:inset 0 0 0 1px var(--border)}.chat-message-actions{min-height:28px;color:var(--muted-foreground)}.chat-message-actions .chat-message-action{border-radius:7px;width:28px;height:28px}.chat-message-action svg{stroke-width:1.6px;width:15px;height:15px}.chat-assistant-message>.chat-message-actions{margin-top:-2px;margin-left:-5px}@media (hover:hover) and (pointer:fine){.chat-assistant-message .chat-message-actions:not([data-latest]){opacity:0;transition:opacity .16s ease-out}.chat-assistant-message:hover .chat-message-actions,.chat-assistant-message .chat-message-actions:focus-within{opacity:1}.chat-assistant-message .chat-message-actions:has([aria-expanded=true],[data-popup-open]){opacity:1}}.chat-followups{border-top:1px solid var(--border);margin-top:12px;padding-top:16px}.chat-followups button{padding-block:3px;font-size:13px;line-height:1.5}.workspace-shell .chat-markdown{font-family:var(--font-sans);letter-spacing:-.006em;color:var(--foreground);font-size:16px;line-height:1.75}.workspace-shell .chat-markdown-user{font-size:15px;line-height:1.65}.workspace-shell .chat-markdown .chat-handle-mention{color:var(--foreground);background:color-mix(in srgb, var(--foreground) 7%, transparent);-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:5px;padding:0 3px;font-weight:500}.chat-assistant-message-signed{padding-left:40px;position:relative}.chat-assistant-author{align-items:baseline;gap:8px;min-height:20px;margin-bottom:-6px;display:flex}.chat-assistant-author-avatar{background:radial-gradient(circle at 72% 78%,#f43f5e 0,#0000 58%),radial-gradient(circle at 24% 70%,#fde047 0,#0000 52%),linear-gradient(135deg,#fbbf24,#fb923c);border-radius:999px;width:32px;height:32px;position:absolute;top:-4px;left:0;overflow:hidden;box-shadow:0 1px 2px #0f172a40}.chat-assistant-author-avatar:after{content:"";border-radius:inherit;background:radial-gradient(42% 30% at 31% 20%,#fff9,#ffffff1f 52%,#0000 70%),radial-gradient(circle at 50% 42%,#0000 55%,#0f172a38 100%);position:absolute;inset:0;box-shadow:inset 0 0 0 1px #ffffff73}.chat-message-time{font-variant-numeric:tabular-nums;color:var(--muted-foreground);white-space:nowrap;flex:none;align-items:center;gap:3px;font-size:11.5px;line-height:1.4;display:inline-flex}.chat-message-receipt{stroke-width:2px;width:14px;height:14px}.chat-message-receipt-read{color:#43805f}.chat-user-bubble-timed{flex-wrap:wrap;justify-content:flex-end;align-items:flex-end;column-gap:10px;display:flex}.chat-user-bubble-timed>:not(.chat-message-time){flex:auto;min-width:0;max-width:100%}.chat-user-bubble-timed>.chat-message-time{margin-bottom:1px}.chat-day-separator{justify-content:center;display:flex}.chat-thread-direct{gap:14px}.chat-thread-direct .chat-message-grouped{margin-top:-9px}.chat-thread-direct .chat-day-separator{margin-block:6px}.chat-thread-direct .chat-assistant-message{margin-block:8px}.chat-user-line{display:contents}.chat-thread-direct .chat-user-line{align-items:center;column-gap:2px;min-width:0;max-width:100%;display:flex}.chat-thread-direct .chat-user-message-own .chat-user-line{flex-direction:row-reverse}@media (hover:hover) and (max-width:639px){.chat-thread-direct .chat-user-line{flex-wrap:wrap}}.chat-thread-direct .chat-message-author{margin-bottom:4px}.chat-thread-direct .chat-user-bubble{flex:0 auto}.chat-thread-direct .chat-user-message .chat-message-actions{flex:none;margin-top:0}@media (hover:none){.chat-thread-direct .chat-user-line{flex-wrap:wrap}.chat-thread-direct .chat-user-message .chat-message-actions{display:none}.chat-thread-direct .chat-user-message-open .chat-message-actions{opacity:1;flex-direction:column;flex-basis:100%;align-items:flex-start;gap:4px;margin-top:6px;display:flex}.chat-thread-direct .chat-user-message-own.chat-user-message-open .chat-message-actions{align-items:flex-end}.chat-thread-direct .chat-user-message .chat-message-action{background:var(--muted);width:210px;height:40px;color:var(--foreground);border-radius:12px;justify-content:flex-start;gap:10px;padding:0 14px;font-size:14px}.chat-thread-direct .chat-user-message .chat-message-action:after{content:attr(aria-label)}.chat-thread-direct .chat-user-message .chat-reaction-trigger{display:none}.chat-thread-direct .chat-assistant-message .chat-message-action{width:36px;height:36px}}.chat-message-row{touch-action:pan-y;transition:transform .28s cubic-bezier(.16,1,.3,1);position:relative}.chat-message-swiping{transition:none}.chat-swipe-reply{background:var(--muted);width:32px;height:32px;color:var(--foreground);opacity:var(--swipe,0);transform:translateY(-50%) scale(calc(.6 + .4 * var(--swipe,0)));pointer-events:none;border-radius:999px;place-items:center;display:grid;position:absolute;top:50%;right:-44px}.chat-swipe-reply svg{width:16px;height:16px}.chat-reply-quote,.chat-reply-banner{border-left:3px solid color-mix(in srgb, var(--foreground) 42%, transparent);background:color-mix(in srgb, var(--foreground) 6%, transparent);text-align:left;border-radius:8px;font-size:13px;line-height:1.4}.chat-reply-quote{cursor:pointer;margin-bottom:6px;padding:5px 10px;transition:background-color .14s;display:block}.chat-reply-quote:hover{background:color-mix(in srgb, var(--foreground) 10%, transparent)}.chat-reply-quote:focus-visible{outline:2px solid var(--ring);outline-offset:1px}.chat-reply-author{font-size:12.5px;font-weight:600;display:block}.chat-reply-text{color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.chat-reply-quote>span{width:0;min-width:100%}.chat-user-bubble-quoted{min-width:min(220px,100%)}.chat-user-bubble>.chat-reply-quote{flex:0 0 100%;width:100%}.chat-thread-direct .chat-assistant-message .chat-message-actions{opacity:0;transition:opacity .14s;position:absolute;top:-8px;right:0}.chat-thread-direct .chat-assistant-message:hover .chat-message-actions,.chat-thread-direct .chat-assistant-message:focus-within .chat-message-actions{opacity:1}@media (hover:none){.chat-thread-direct .chat-assistant-message .chat-message-actions{opacity:1}}.chat-thread-direct .chat-assistant-message .chat-reaction-bar{left:auto;right:-6px}.chat-thread-direct .chat-assistant-message .chat-reaction-pill{transform-origin:100% 100%}.chat-reply-banner{color:var(--foreground);align-items:center;gap:10px;margin:0 4px 6px;padding:7px 8px 7px 12px;display:flex}.chat-reply-banner svg{color:var(--muted-foreground)}.chat-reply-cancel{cursor:pointer;border-radius:8px;flex:none;place-items:center;width:28px;height:28px;display:grid}.chat-reply-cancel:hover{background:color-mix(in srgb, var(--foreground) 8%, transparent)}.chat-reply-cancel:focus-visible{outline:2px solid var(--ring)}@media (prefers-reduced-motion:no-preference){.chat-message-flash .chat-user-bubble,.chat-message-flash.chat-assistant-message{animation:1.4s cubic-bezier(.16,1,.3,1) chat-message-flash}@keyframes chat-message-flash{0%{box-shadow:0 0 0 6px color-mix(in srgb, var(--foreground) 16%, transparent)}to{box-shadow:0 0 0 6px #0000}}}.chat-reactions{flex-wrap:wrap;gap:4px;display:flex}.chat-thread-direct .chat-user-message .chat-reactions{margin-top:4px}.chat-thread-direct .chat-user-message-own .chat-reactions{justify-content:flex-end}.chat-reaction{background:var(--muted);cursor:pointer;border:1px solid #0000;border-radius:999px;align-items:center;gap:5px;height:26px;padding:0 9px;font-size:14px;line-height:1;transition:background-color .14s,border-color .14s;display:inline-flex}.chat-reaction:hover{background:var(--accent)}.chat-reaction:focus-visible{outline:2px solid var(--ring);outline-offset:1px}.chat-reaction-count{font-variant-numeric:tabular-nums;color:var(--muted-foreground);font-size:12px}.chat-reaction-mine{border-color:color-mix(in srgb, var(--foreground) 24%, transparent);background:color-mix(in srgb, var(--foreground) 8%, transparent)}.chat-reaction-anchor{display:inline-flex;position:relative}.chat-reaction-bar{z-index:20;width:max-content;padding-bottom:6px;position:absolute;bottom:100%;left:0}.chat-reaction-anchor>.chat-reaction-bar{left:-6px}.chat-user-bubble>.chat-reaction-bar{max-width:none}.chat-user-message-own .chat-reaction-bar{left:auto;right:0}.chat-reaction-pill{background:var(--card);box-shadow:0 0 0 1px var(--border), 0 10px 28px #26201829;transform-origin:0 100%;border-radius:999px;gap:4px;padding:5px 7px;display:flex}.chat-user-message-own .chat-reaction-pill{transform-origin:100% 100%}.chat-reaction-pill button{cursor:pointer;border-radius:999px;flex:none;place-items:center;width:40px;height:40px;font-size:21px;line-height:1;transition:transform .16s cubic-bezier(.16,1,.3,1),background-color .14s;display:grid}.chat-reaction-pill button:hover{transform:translateY(-2px)scale(1.22)}.chat-reaction-pill button:focus-visible{outline:2px solid var(--ring);outline-offset:1px}.chat-reaction-pill .chat-reaction-mine{background:var(--muted);border:0}@media (prefers-reduced-motion:no-preference){.chat-reaction-pill{animation:.22s cubic-bezier(.16,1,.3,1) chat-reaction-rise}.chat-reaction-pill button{animation:.28s cubic-bezier(.16,1,.3,1) backwards chat-reaction-pop;animation-delay:calc(var(--i,0) * 18ms)}@keyframes chat-reaction-rise{0%{opacity:0;transform:translateY(6px)scale(.7)}}@keyframes chat-reaction-pop{0%{opacity:0;transform:scale(.4)}}}@media (hover:none){.chat-thread-direct .chat-user-bubble{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}}.chat-day-separator span{background:var(--muted);color:var(--muted-foreground);border-radius:999px;padding:3px 12px;font-size:12px;line-height:1.4}.workspace-shell .chat-markdown>:not([hidden])~:not([hidden]){margin-top:1em;margin-bottom:0}.workspace-shell .chat-markdown :where(h1,h2,h3,h4,h5,h6){font-family:var(--font-sans);letter-spacing:-.025em;text-wrap:pretty;margin-top:1.6em;margin-bottom:.55em;font-weight:600;line-height:1.35}.workspace-shell .chat-markdown h1{font-size:25px}.workspace-shell .chat-markdown h2{font-size:21px}.workspace-shell .chat-markdown h3{font-size:18px}.workspace-shell .chat-markdown :where(h4,h5,h6){font-size:16px}.workspace-shell .chat-markdown-user :where(h1,h2,h3,h4,h5,h6){letter-spacing:-.01em;font-size:16px}.workspace-shell .chat-markdown :where(h1,h2,h3,h4,h5,h6)+*{margin-top:.55em}.workspace-shell .chat-markdown>:first-child{margin-top:0}.workspace-shell .chat-markdown>:last-child{margin-bottom:0}.workspace-shell .chat-markdown :where(strong,[data-streamdown=strong]){font-weight:600}.workspace-shell .chat-markdown :where(a,[data-streamdown=link]){color:inherit;-webkit-text-decoration-color:color-mix(in srgb, currentColor 35%, transparent);text-decoration-color:color-mix(in srgb, currentColor 35%, transparent);text-underline-offset:3px;font-weight:500}.workspace-shell .chat-markdown :where(a,[data-streamdown=link]):hover{color:var(--foreground);text-decoration-color:currentColor}.workspace-shell .chat-markdown :where(ul,ol){padding-left:1.4em}.workspace-shell .chat-markdown li{margin-block:.4em;padding-left:.2em}.workspace-shell .chat-markdown li::marker{color:var(--muted-foreground)}.workspace-shell .chat-markdown li>p{display:block}.workspace-shell .chat-markdown li>p+p{margin-top:.5em}.workspace-shell .chat-markdown :where(blockquote,[data-streamdown=blockquote]){border-left:2px solid var(--ring);color:var(--muted-foreground);background:0 0;border-radius:0;padding:2px 0 2px 18px;font-style:normal}.workspace-shell .chat-markdown :where(hr,[data-streamdown=horizontal-rule]){border-color:var(--border);margin-block:24px}.workspace-shell .chat-markdown :where(code,[data-streamdown=inline-code]){background:var(--muted);border:0;border-radius:5px;padding:2px 5px;font-size:.85em}.workspace-shell .chat-markdown :is([data-streamdown=code-block],[data-streamdown=mermaid-block],[data-streamdown=table-wrapper]){border:1px solid var(--border);background:var(--card);box-shadow:none;border-radius:12px}.workspace-shell .chat-markdown [data-streamdown=code-block]{gap:0;padding:0}.workspace-shell .chat-markdown [data-streamdown=code-block-header]{height:36px;color:var(--muted-foreground);background:var(--muted);padding-inline:14px;font-size:11px}.workspace-shell .chat-markdown [data-streamdown=code-block-body]{border-color:var(--border);background:var(--card);border-radius:0;font-size:13px;line-height:1.65}.workspace-shell .chat-markdown pre code{font-size:inherit;white-space:pre;overflow-wrap:normal;word-break:normal;background:0 0;border:0;border-radius:0;padding:0}.workspace-shell .chat-markdown pre code>span{min-height:1lh;display:block}.workspace-shell .chat-markdown :is([data-streamdown=code-block-actions],[data-streamdown=mermaid-block-actions]){border-color:var(--border);background:var(--card)}.workspace-shell .chat-markdown [data-streamdown=table]{font-size:14px;line-height:1.6}.workspace-shell .chat-markdown [data-streamdown=table-header]{background:var(--muted)}.workspace-shell .chat-markdown :is([data-streamdown=table-header-cell],[data-streamdown=table-cell]){border-color:var(--border);padding:10px 14px}.workspace-shell .chat-markdown [data-streamdown=table-header-cell]{color:var(--muted-foreground);font-weight:500}.workspace-shell .chat-markdown-failed{color:#a3463c}@media (max-width:639px){.chat-user-bubble{border-radius:16px;padding:10px 14px}.workspace-shell .chat-markdown{font-size:15px;line-height:1.7}.workspace-shell .chat-markdown h1{font-size:23px}.workspace-shell .chat-markdown h2{font-size:20px}.workspace-shell .chat-markdown-user :where(h1,h2,h3){font-size:16px}}.workspace-shell [data-entering] .chat-user-message{transform-origin:100% 100%;animation:.48s cubic-bezier(.16,1,.3,1) both chat-send-in}@keyframes chat-send-in{0%{opacity:0;transform:translateY(18px)scale(.96)}}.thinking-phrase{animation:.42s cubic-bezier(.16,1,.3,1) both thinking-phrase-in;display:inline-block}@keyframes thinking-phrase-in{0%{opacity:0;filter:blur(2px);transform:translateY(4px)}}@media (prefers-reduced-motion:reduce){.workspace-shell [data-entering] .chat-user-message,.thinking-phrase{animation:none}}
