.home-chat-stream{flex-direction:column;flex:1;gap:12px;min-height:0;padding-bottom:140px;display:flex;overflow-y:auto}.home-chat-empty{text-align:center;color:var(--ink-3);padding:32px 0;font-size:13px;font-style:italic}.home-bubble{letter-spacing:-.005em;white-space:pre-wrap;word-wrap:break-word;border-radius:18px;padding:11px 14px;font-size:14px;line-height:1.55}.home-bubble-user{background:var(--surface-2);max-width:80%;color:var(--ink);animation:bubble-in .32s var(--ease-out);transform-origin:100% 100%;border-bottom-right-radius:6px;align-self:flex-end}@keyframes bubble-in{0%{opacity:0;transform:translateY(6px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}.home-bubble-assistant{max-width:92%;color:var(--ink);background:0 0;align-self:flex-start;padding:4px 0;line-height:1.6}.home-bubble.is-streaming{opacity:.95}.home-bubble.is-errored{opacity:1}.home-bubble-error{background:var(--surface-3);color:var(--ink-2);border-left:2px solid color-mix(in srgb, currentColor 28%, transparent);border-radius:4px;align-items:center;gap:6px;max-width:100%;margin-top:4px;padding:4px 8px;font-size:12px;line-height:1.4;display:inline-flex}.home-bubble-error :first-child{color:color-mix(in srgb, #c14a4a 75%, var(--ink-3));flex:none}.home-bubble-error-retry{border:1px solid color-mix(in srgb, currentColor 22%, transparent);color:var(--ink-2);cursor:pointer;background:0 0;border-radius:4px;align-items:center;gap:4px;margin-left:4px;padding:2px 8px;font-size:12px;font-weight:500;line-height:1.4;transition:background .12s,color .12s;display:inline-flex}.home-bubble-error-retry:hover{background:var(--surface-2);color:var(--ink)}.home-bubble-error .home-bubble-error-retry svg{color:inherit;flex:none}.home-bubble-user-attachments{flex-wrap:wrap;gap:4px;margin-bottom:6px;display:flex}.home-bubble-text{white-space:normal;word-wrap:break-word}.home-bubble-actions{align-items:center;gap:2px;margin-top:-6px;display:flex}.home-bubble-action--copy{visibility:hidden}.home-bubble-assistant:hover .home-bubble-action--copy,.home-bubble-assistant:focus-within .home-bubble-action--copy{visibility:visible}@media (hover:none){.home-bubble-action--copy{visibility:visible}}.home-bubble-action{width:26px;height:26px;color:var(--ink-3);cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:0;transition:background .12s ease-out,color .12s ease-out;display:inline-flex}.home-bubble-action:hover{background:var(--surface-3);color:var(--ink)}.home-bubble-action:disabled{opacity:.5;cursor:progress}.home-bubble-reverted{color:var(--ink-3);padding:0 6px;font-size:11px}.home-bubble-note{color:var(--ink-2);margin:0;font-size:13px;font-style:italic}.home-bubble-text>:first-child{margin-top:0}.home-bubble-text>:last-child{margin-bottom:0}.home-bubble-text p{margin:0 0 8px}.home-bubble-text h1,.home-bubble-text h2,.home-bubble-text h3,.home-bubble-text h4,.home-bubble-text h5,.home-bubble-text h6{letter-spacing:-.01em;margin:14px 0 6px;font-weight:600;line-height:1.3}.home-bubble-text h1{font-size:18px}.home-bubble-text h2{font-size:16px}.home-bubble-text h3,.home-bubble-text h4,.home-bubble-text h5,.home-bubble-text h6{font-size:14.5px}.home-bubble-text ul,.home-bubble-text ol{margin:0 0 8px;padding-left:22px}.home-bubble-text li{margin:2px 0}.home-bubble-text li>p{margin:0}.home-bubble-text a{color:var(--accent,#4f46e5);text-underline-offset:2px;text-decoration:underline}.home-bubble-text code{background:var(--surface-2);border-radius:4px;padding:1px 5px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88em}.home-bubble-text pre{background:var(--surface-2);border-radius:8px;margin:8px 0;padding:10px 12px;font-size:12.5px;line-height:1.45;overflow-x:auto}.home-bubble-text pre code{font-size:inherit;background:0 0;border-radius:0;padding:0}.home-bubble-text blockquote{border-left:3px solid var(--surface-3);color:var(--ink-2);margin:8px 0;padding:2px 0 2px 12px}.home-bubble-text hr{border:0;border-top:1px solid var(--surface-3);margin:12px 0}.home-bubble-text table{border-collapse:collapse;margin:8px 0;font-size:13px}.home-bubble-text th,.home-bubble-text td{border:1px solid var(--surface-3);text-align:left;padding:4px 8px}.home-bubble-text th{background:var(--surface-2);font-weight:600}.home-bubble-text strong{font-weight:600}.home-bubble-text em{font-style:italic}.home-bubble-assistant{flex-direction:column;gap:10px;display:flex}.home-turn-bubble{word-wrap:break-word}.home-turn-bubble.is-typing .home-bubble-text>:last-child:after{content:"▍";vertical-align:baseline;color:var(--ink-3);margin-left:1px;animation:1.05s step-end infinite home-typing-blink;display:inline-block}@keyframes home-typing-blink{50%{opacity:0}}.home-turn-fold{color:var(--ink-3);cursor:pointer;background:0 0;border:0;border-radius:4px;align-self:flex-start;align-items:center;gap:4px;margin:-2px 0 -2px -6px;padding:2px 4px;transition:background .12s ease-out,color .12s ease-out;display:inline-flex}.home-turn-fold:hover{background:var(--surface-3);color:var(--ink-2)}.home-turn-fold svg:first-child{transition:transform .18s var(--ease,ease)}.home-turn-fold:not(.is-folded) svg:first-child{transform:rotate(90deg)}.home-turn-fold-spin{animation:1.1s linear infinite home-turn-spin}.home-turn-cluster{letter-spacing:-.005em;color:var(--ink-2);max-width:100%;animation:home-turn-cluster-in .18s var(--ease-out,ease-out);align-self:flex-start;align-items:center;gap:8px;font-size:12.5px;display:flex;position:relative}@keyframes home-turn-cluster-in{0%{opacity:0;transform:translateY(-1px)}to{opacity:1;transform:translateY(0)}}.home-turn-cluster+.home-turn-cluster:before,.home-turn-cluster+.home-turn-activity--step:before{content:"";border-left:1px dashed var(--surface-3);height:12px;position:absolute;top:-11px;left:8.5px}.home-turn-cluster-icon{border:1px solid var(--surface-3);width:18px;height:18px;color:var(--ink-3);border-radius:50%;flex:none;place-items:center;display:grid}.home-turn-cluster--done .home-turn-cluster-icon{color:#2f9b5af2}.home-turn-cluster--error .home-turn-cluster-icon{color:#dc5050f2}.home-turn-cluster--error{color:#aa3232e6}.home-turn-cluster-spin{animation:1.1s linear infinite home-turn-spin}@keyframes home-turn-spin{to{transform:rotate(360deg)}}.home-turn-cluster-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.home-turn-cluster-count{color:var(--ink-3);font-variant-numeric:tabular-nums;flex:none;font-size:11.5px}.home-turn-activity{color:var(--ink-3);align-self:flex-start;align-items:center;gap:8px;font-size:12.5px;animation:.18s ease-out .3s backwards home-activity-in;display:flex;position:relative}@keyframes home-activity-in{0%{opacity:0;transform:translateY(-1px)}to{opacity:1;transform:translateY(0)}}.home-turn-activity-icon{border:1px solid var(--surface-3);width:18px;height:18px;color:var(--ink-3);border-radius:50%;flex:none;place-items:center;display:grid}.home-turn-activity-spin{animation:1.1s linear infinite home-turn-spin}
.home-chat-view{flex-direction:column;width:min(720px,100% - 32px);height:100%;margin:0 auto;padding:28px 16px 0;display:flex}.home-chat-head{flex:none;padding:0 32px 16px 0}@media (max-width:767px){.home-chat-head{padding-right:42px}}.home-chat-title{letter-spacing:-.022em;color:var(--ink);cursor:text;animation:home-title-fade-in .42s var(--ease-out,ease-out);margin:0;font-size:22px;font-weight:600}.home-chat-title .inline-rename-wrap{margin:-3px 0 -3px -6px}@keyframes home-title-fade-in{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}.home-agent-actions{flex:none;gap:12px;max-height:min(40vh,320px);padding:12px 20px;display:grid;overflow-y:auto}.home-agent-action{padding:16px}.home-agent-action p{white-space:pre-wrap;margin:0 0 10px}.home-agent-action-note{color:var(--ink-3);font-size:var(--fs-sm)}.home-agent-action-buttons{justify-content:flex-end;gap:8px;display:flex}
@layer components{.ai-disclaimer{color:var(--ink-3);margin:0;font-size:11px;line-height:1.25}}
.chat-card-shared{background:var(--card-bg);border-radius:var(--r-lg);min-width:0;height:100%;min-height:0;box-shadow:var(--card-shadow);flex-direction:column;flex:1;display:flex;position:relative;overflow:hidden}.chat-card-shared-close{z-index:10;width:28px;height:28px;color:var(--ink-3);cursor:pointer;visibility:hidden;transition:background .14s var(--ease), color .14s var(--ease), box-shadow .18s var(--ease);background:0 0;border:0;border-radius:8px;place-items:center;display:grid;position:absolute;top:12px;right:12px}.chat-card-shared:hover .chat-card-shared-close,.chat-card-shared:focus-within .chat-card-shared-close{visibility:visible}@media (hover:none){.chat-card-shared-close{visibility:visible}}.chat-card-shared-close:hover{background:var(--surface-2);color:var(--ink)}@media (max-width:767px){.chat-card-shared-close{background:var(--surface-2);width:38px;height:38px}}.chat-card-shared-stream{flex:1;min-height:0;display:flex;overflow:hidden}.chat-card-shared-stream>*{flex:1;min-width:0}.chat-card-shared-empty{text-align:center;color:var(--ink-3);flex:1;place-items:center;padding:24px;font-size:13px;font-style:italic;display:grid}.chat-card-shared .home-chat-view{width:100%;padding:18px 12px 0}.chat-card-shared .home-chat-title{letter-spacing:-.014em;font-size:15px}.chat-card-shared .home-chat-stream{padding-bottom:16px}
