.chat-thread_root__qJrDb{display:flex;height:100%;min-height:0;flex-direction:column;color:var(--foreground);font-family:var(--font-body);font-size:var(--text-sm);letter-spacing:var(--tracking-body);line-height:var(--leading-body)}.chat-thread_viewport__BP8qx{position:relative;display:flex;min-height:0;flex:1;flex-direction:column}.chat-thread_scroller__P1ogt{min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.chat-thread_track__oly8k{overflow:clip}.chat-thread_content__Rnv9F{padding:12px 16px 14px;will-change:transform}.chat-thread_list__c5Aig{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}.chat-thread_day__H6CVP{display:flex;align-items:center;gap:12px;padding:20px 4px 4px;color:var(--text-muted);font-size:var(--text-xs);font-weight:500}.chat-thread_day__H6CVP:after,.chat-thread_day__H6CVP:before{height:1px;flex:1;background:var(--border-subtle);content:""}.chat-thread_day__H6CVP:first-child{padding-top:4px}.chat-thread_day__H6CVP>span:empty:before{content:"\00a0"}.chat-thread_row__kspLf{position:relative;display:flex;align-items:flex-end;gap:8px;margin-top:2px}.chat-thread_row__kspLf[data-first]{margin-top:14px}.chat-thread_day__H6CVP+.chat-thread_row__kspLf{margin-top:10px}.chat-thread_row__kspLf[data-mine]{justify-content:flex-end}.chat-thread_gutter__FgkLj{width:28px;flex:none;align-self:flex-end}.chat-thread_stack__aKQT_{display:flex;min-width:0;max-width:min(78%,34rem);flex-direction:column;align-items:flex-start;gap:4px}.chat-thread_row__kspLf[data-mine] .chat-thread_stack__aKQT_{align-items:flex-end}.chat-thread_meta__Nv9rM{display:flex;align-items:baseline;gap:6px;margin:0 0 2px;padding:0 12px;color:var(--text-muted);font-size:var(--text-xs);font-variant-numeric:tabular-nums}.chat-thread_author__mfX00{color:var(--text-secondary);font-weight:500}.chat-thread_line__62Gms{position:relative;display:flex;max-width:100%;align-items:center;gap:6px}.chat-thread_face__CBOTq{position:absolute;bottom:0;left:-36px;display:flex}.chat-thread_row__kspLf[data-mine] .chat-thread_line__62Gms{flex-direction:row-reverse}.chat-thread_parts__8k_3Y{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:4px}.chat-thread_row__kspLf[data-mine] .chat-thread_parts__8k_3Y{align-items:flex-end}.chat-thread_bubble__i9WfS{--r:18px;--tight:6px;max-width:100%;padding:8px 13px 9px;border-radius:var(--r);background:var(--surface-muted);color:var(--foreground);font-size:var(--text-sm);overflow-wrap:anywhere;white-space:pre-wrap}.chat-thread_row__kspLf:not([data-mine]):not([data-first]) .chat-thread_bubble__i9WfS{border-top-left-radius:var(--tight)}.chat-thread_row__kspLf:not([data-mine]):not([data-last]) .chat-thread_bubble__i9WfS{border-bottom-left-radius:var(--tight)}.chat-thread_row__kspLf[data-mine] .chat-thread_bubble__i9WfS{background:var(--accent);color:var(--accent-foreground)}:root[data-theme=dark] .chat-thread_row__kspLf:not([data-mine]) .chat-thread_bubble__i9WfS{background:var(--surface-raised)}.chat-thread_row__kspLf[data-mine]:not([data-first]) .chat-thread_bubble__i9WfS{border-top-right-radius:var(--tight)}.chat-thread_row__kspLf[data-mine]:not([data-last]) .chat-thread_bubble__i9WfS{border-bottom-right-radius:var(--tight)}.chat-thread_row__kspLf[data-failed] .chat-thread_bubble__i9WfS{opacity:.6}.chat-thread_gallery__MDKnC{display:grid;width:min(240px,100%);gap:3px;grid-template-columns:1fr}.chat-thread_gallery__MDKnC[data-count="2"],.chat-thread_gallery__MDKnC[data-count="3"],.chat-thread_gallery__MDKnC[data-count="4"]{grid-template-columns:1fr 1fr}.chat-thread_gallery__MDKnC[data-count="3"]>:first-child{grid-column:span 2;aspect-ratio:2/1}.chat-thread_image__K7Yke{position:relative;display:block;overflow:hidden;aspect-ratio:1;border-radius:16px;background:var(--surface-muted)}.chat-thread_gallery__MDKnC[data-count="1"] .chat-thread_image__K7Yke{aspect-ratio:4/3}.chat-thread_gallery__MDKnC:not([data-count="1"]) .chat-thread_image__K7Yke{border-radius:6px}.chat-thread_gallery__MDKnC:not([data-count="1"]){overflow:hidden;border-radius:16px}.chat-thread_image__K7Yke img{display:block;width:100%;height:100%;object-fit:cover}.chat-thread_more__Pa2hp{position:absolute;inset:0;display:grid;place-items:center;background:oklch(0 0 0/.45);color:#fff;font-size:var(--text-lg);font-weight:500}.chat-thread_file__Z_QGz{display:flex;max-width:100%;align-items:center;gap:10px;padding:9px 14px 9px 11px;border:1px solid var(--border);border-radius:16px;background:var(--surface);color:var(--foreground);text-decoration:none;transition:background-color var(--duration-fast) var(--ease-standard)}.chat-thread_file__Z_QGz>svg{flex:none;color:var(--text-secondary)}.chat-thread_fileText__z7Cxh{display:grid;min-width:0}.chat-thread_fileName__tmCfW{overflow:hidden;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.chat-thread_fileSize__XAO9N{color:var(--text-muted);font-size:var(--text-xs);font-variant-numeric:tabular-nums}@media (hover:hover) and (pointer:fine){.chat-thread_file__Z_QGz:hover{background:var(--surface-muted)}}.chat-thread_pickerWrap__jwAoE{position:static;flex:none}.chat-thread_reactButton___O1ic{display:grid;width:28px;height:28px;place-items:center;padding:0;border:0;border-radius:var(--radius-pill);background:transparent;color:var(--text-muted);cursor:pointer;opacity:0;-webkit-tap-highlight-color:transparent;transition:opacity var(--duration-fast) var(--ease-standard),background-color var(--duration-fast) var(--ease-standard),color var(--duration-fast) var(--ease-standard)}.chat-thread_pickerWrap__jwAoE[data-open] .chat-thread_reactButton___O1ic,.chat-thread_row__kspLf:focus-within .chat-thread_reactButton___O1ic,.chat-thread_row__kspLf:hover .chat-thread_reactButton___O1ic{opacity:1}.chat-thread_pickerWrap__jwAoE[data-open] .chat-thread_reactButton___O1ic{background:var(--surface-muted);color:var(--foreground)}@media (hover:hover) and (pointer:fine){.chat-thread_reactButton___O1ic:hover{background:var(--surface-muted);color:var(--foreground)}}@media (hover:none){.chat-thread_reactButton___O1ic{opacity:.7}}.chat-thread_picker__J8H_Z{position:absolute;z-index:5;bottom:calc(100% + 6px);right:-4px;display:flex;gap:2px;padding:4px;border:1px solid var(--border);border-radius:var(--radius-pill);background:var(--surface-raised);box-shadow:var(--shadow-floating);transform-origin:calc(100% - 18px) 100%}.chat-thread_picker__J8H_Z[data-mine]{right:auto;left:-4px;transform-origin:18px 100%}.chat-thread_pickerWrap__jwAoE[data-below] .chat-thread_picker__J8H_Z{top:calc(100% + 6px);bottom:auto;transform-origin:calc(100% - 18px) 0}.chat-thread_pickerWrap__jwAoE[data-below] .chat-thread_picker__J8H_Z[data-mine]{transform-origin:18px 0}.chat-thread_emoji__ywJDP{display:grid;width:34px;height:34px;place-items:center;padding:0;border:0;border-radius:var(--radius-pill);background:transparent;cursor:pointer;font-size:19px;line-height:1;-webkit-tap-highlight-color:transparent;transition:background-color var(--duration-fast) var(--ease-standard),transform var(--duration-instant) var(--ease-standard)}.chat-thread_emoji__ywJDP:focus-visible{background:var(--surface-muted)}.chat-thread_emoji__ywJDP:active{transform:scale(.9)}@media (hover:hover) and (pointer:fine){.chat-thread_emoji__ywJDP:hover{background:var(--surface-muted);transform:scale(1.12)}}.chat-thread_reactionClip__lmrbB{overflow:hidden;margin:-2px -4px;padding:2px 4px 2px 8px}.chat-thread_row__kspLf[data-mine] .chat-thread_reactionClip__lmrbB{padding:2px 8px 2px 4px}.chat-thread_reactions__wNX_P{display:flex;flex-wrap:wrap;gap:4px;margin:0;padding:0;list-style:none}.chat-thread_row__kspLf[data-mine] .chat-thread_reactions__wNX_P{justify-content:flex-end}.chat-thread_reaction__AJz7K{display:inline-flex;height:26px;align-items:center;gap:5px;padding:0 9px 0 7px;border:1px solid var(--border-subtle);border-radius:var(--radius-pill);background:var(--surface);color:var(--text-secondary);cursor:pointer;font:inherit;font-size:var(--text-xs);font-weight:500;line-height:1;font-variant-numeric:tabular-nums;-webkit-tap-highlight-color:transparent;transition:background-color var(--duration-fast) var(--ease-standard),border-color var(--duration-fast) var(--ease-standard),color var(--duration-fast) var(--ease-standard),transform var(--duration-instant) var(--ease-standard)}.chat-thread_reaction__AJz7K>span:first-child{font-size:14px}.chat-thread_reaction__AJz7K[aria-pressed=true]{border-color:color-mix(in oklch,var(--accent) 28%,transparent);background:color-mix(in oklch,var(--accent) 8%,var(--surface));color:var(--foreground)}@media (hover:hover) and (pointer:fine){.chat-thread_reaction__AJz7K:hover{border-color:var(--border-strong)}}.chat-thread_reaction__AJz7K:active{transform:scale(.95)}.chat-thread_countRoll__ASbQJ{display:inline-grid;overflow:hidden;font-variant-numeric:tabular-nums}.chat-thread_countRoll__ASbQJ>span{grid-area:1/1}.chat-thread_receipts__8Sc2H{display:flex;min-height:16px;align-items:center;gap:6px;padding:1px 6px 0;color:var(--text-muted);font-size:var(--text-xs)}.chat-thread_readers__XfImR{display:inline-flex}.chat-thread_reader__pPmEw{display:inline-flex;border-radius:50%;box-shadow:0 0 0 2px var(--surface)}.chat-thread_reader__pPmEw+.chat-thread_reader__pPmEw{margin-left:-4px}.chat-thread_status__vDjvl[data-status=failed]{display:inline-flex;align-items:center;gap:8px;color:var(--danger)}.chat-thread_retry__bcgxP{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border:0;border-radius:var(--radius-pill);background:color-mix(in oklch,var(--danger) 12%,transparent);color:var(--danger);cursor:pointer;font:inherit;font-weight:500}.chat-thread_avatar__ts4Js{display:inline-grid;flex:none;overflow:hidden;place-items:center;border-radius:50%;background:var(--surface-muted);color:var(--text-secondary);font-weight:500}.chat-thread_avatar__ts4Js img{width:100%;height:100%;object-fit:cover}.chat-thread_typing__QyAEC{display:grid;height:36px;box-sizing:border-box;place-items:center;padding:0 14px}.chat-thread_dots__J1p16{display:inline-flex;gap:4px}.chat-thread_dots__J1p16 i{width:6px;height:6px;border-radius:50%;background:var(--text-muted);animation:chat-thread_breathe__1ZF_b 1.2s var(--ease-in-out) infinite}.chat-thread_dots__J1p16 i:nth-child(2){animation-delay:.16s}.chat-thread_dots__J1p16 i:nth-child(3){animation-delay:.32s}@keyframes chat-thread_breathe__1ZF_b{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@media (prefers-reduced-motion:reduce){.chat-thread_dots__J1p16 i{animation:none;opacity:.6}}.chat-thread_pill__TXNkc{position:absolute;z-index:6;bottom:12px;left:50%;translate:-50% 0;display:inline-flex;height:32px;align-items:center;gap:6px;padding:0 14px 0 11px;border:1px solid var(--border);border-radius:var(--radius-pill);background:var(--surface-raised);box-shadow:var(--shadow-floating);color:var(--foreground);cursor:pointer;font:inherit;font-size:var(--text-xs);font-weight:500;white-space:nowrap;-webkit-tap-highlight-color:transparent}.chat-thread_pill__TXNkc>span{display:inline-flex;gap:.3em}.chat-thread_pill__TXNkc:active{scale:.97}.chat-thread_composer__FK_NO{display:grid;padding:10px 12px 12px;border-top:1px solid var(--border-subtle);transition:background-color var(--duration-fast) var(--ease-standard)}.chat-thread_composer__FK_NO[data-dragging]{background:var(--accent-subtle)}.chat-thread_trayClip__QTtOM{overflow:hidden}.chat-thread_tray__00U4R{display:flex;gap:8px;margin:0;padding:8px 8px 10px 4px;overflow-x:auto;list-style:none;scrollbar-width:none}.chat-thread_pending__JJFmJ{position:relative;flex:none}.chat-thread_pendingImage__euojP{display:block;width:56px;height:56px;border-radius:12px;object-fit:cover}.chat-thread_pendingFile__7hc8j{display:grid;width:168px;height:56px;box-sizing:border-box;align-content:center;column-gap:8px;padding:0 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);grid-template-columns:auto minmax(0,1fr)}.chat-thread_pendingFile__7hc8j>svg{grid-row:span 2;align-self:center;color:var(--text-secondary)}.chat-thread_pendingName__oYUkR{overflow:hidden;font-size:var(--text-xs);font-weight:500;text-overflow:ellipsis;white-space:nowrap}.chat-thread_pendingSize__VVQi4{color:var(--text-muted);font-size:11px;font-variant-numeric:tabular-nums}.chat-thread_remove__JoUrd{position:absolute;top:-6px;right:-6px;display:grid;width:20px;height:20px;place-items:center;padding:0;border:2px solid var(--surface);border-radius:50%;background:var(--foreground);color:var(--background);cursor:pointer}.chat-thread_inputRow___RbkY{display:flex;align-items:flex-end;gap:6px}.chat-thread_attach__mQfB2{display:grid;width:40px;height:40px;flex:none;place-items:center;margin-bottom:1px;padding:0;border:0;border-radius:var(--radius-pill);background:transparent;color:var(--text-secondary);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color var(--duration-fast) var(--ease-standard),color var(--duration-fast) var(--ease-standard),transform var(--duration-instant) var(--ease-standard)}.chat-thread_attach__mQfB2:active{transform:scale(.94)}@media (hover:hover) and (pointer:fine){.chat-thread_attach__mQfB2:hover{background:var(--surface-muted);color:var(--foreground)}}.chat-thread_box__iCA41{position:relative;display:flex;min-width:0;flex:1;align-items:flex-end;border:1px solid var(--border);border-radius:21px;background:var(--surface);transition:border-color var(--duration-fast) var(--ease-standard),background-color var(--duration-fast) var(--ease-standard)}.chat-thread_box__iCA41:focus-within{border-color:var(--border-strong)}.chat-thread_composer__FK_NO[data-dragging] .chat-thread_box__iCA41{border-color:var(--accent);border-style:dashed}.chat-thread_field__L5YGY{position:relative;min-width:0;flex:1;overflow:hidden;border-radius:20px}.chat-thread_mirror__aXQtT,.chat-thread_textarea__Q4zXJ{box-sizing:border-box;width:100%;margin:0;padding:9px 6px 9px 16px;border:0;font:inherit;font-size:var(--text-base);letter-spacing:var(--tracking-body);line-height:22px;overflow-wrap:break-word;white-space:pre-wrap;word-break:break-word}.chat-thread_mirror__aXQtT{position:absolute;top:0;left:0;visibility:hidden;pointer-events:none}.chat-thread_textarea__Q4zXJ{position:absolute;inset:0;height:100%;display:block;resize:none;overflow-y:auto;background:transparent;color:var(--foreground);outline:none;scrollbar-width:none}.chat-thread_textarea__Q4zXJ::placeholder{color:var(--text-muted)}.chat-thread_send__0T8t1{position:relative;display:grid;width:32px;height:32px;flex:none;place-items:center;margin:0 4px 4px 0;overflow:hidden;padding:0;border:0;border-radius:50%;background:var(--surface-muted);cursor:default;-webkit-tap-highlight-color:transparent;transition:background-color var(--duration-standard) var(--ease-standard),color var(--duration-standard) var(--ease-standard),transform var(--duration-instant) var(--ease-standard);background:transparent;color:var(--text-muted)}.chat-thread_send__0T8t1[data-ready]{background:var(--accent);color:var(--accent-foreground);cursor:pointer}.chat-thread_send__0T8t1[data-ready]:active{transform:scale(.92)}.chat-thread_sendIcon__OFTnQ{display:grid;grid-area:1/1;place-items:center}.chat-thread_srOnly__V0_o0{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media (max-width:420px){.chat-thread_content__Rnv9F{padding-inline:12px}.chat-thread_stack__aKQT_{max-width:84%}}.chat-thread_demo__418hz{width:min(100%,560px);margin-inline:auto;font-family:var(--font-body);letter-spacing:var(--tracking-body);line-height:var(--leading-body)}.chat-thread_card__4xJ6r{display:flex;height:min(436px,80vh);flex-direction:column;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-surface);background:var(--surface);box-shadow:var(--shadow-resting)}.chat-thread_header__tGzZa{display:flex;align-items:center;gap:12px;padding:12px 14px 12px 18px;border-bottom:1px solid var(--border-subtle)}.chat-thread_faces___ufEQ{display:inline-flex;flex:none}.chat-thread_faces___ufEQ img{border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px var(--surface)}.chat-thread_faces___ufEQ img+img{margin-left:-8px}.chat-thread_heading__GUDzo{display:grid;min-width:0;flex:1}.chat-thread_title__Q8Nll{font-size:var(--text-sm);font-weight:500}.chat-thread_subtitle__juWWd,.chat-thread_title__Q8Nll{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-thread_subtitle__juWWd{color:var(--text-muted);font-size:var(--text-xs)}.chat-thread_toggle__a5_a6{display:inline-flex;height:32px;flex:none;align-items:center;gap:6px;padding:0 12px;border:1px solid var(--border);border-radius:var(--radius-pill);background:var(--surface);color:var(--text-secondary);cursor:pointer;font:inherit;font-size:var(--text-xs);font-weight:500;-webkit-tap-highlight-color:transparent;transition:background-color var(--duration-fast) var(--ease-standard),color var(--duration-fast) var(--ease-standard),border-color var(--duration-fast) var(--ease-standard)}.chat-thread_toggle__a5_a6[aria-pressed=true]{border-color:color-mix(in oklch,var(--danger) 35%,transparent);background:color-mix(in oklch,var(--danger) 10%,transparent);color:var(--danger)}@media (hover:hover) and (pointer:fine){.chat-thread_toggle__a5_a6:hover{color:var(--foreground)}.chat-thread_toggle__a5_a6[aria-pressed=true]:hover{color:var(--danger)}}.chat-thread_thread__Srr05{min-height:0;flex:1}@media (max-width:400px){.chat-thread_header__tGzZa{padding-left:14px}.chat-thread_toggle__a5_a6 span{display:none}.chat-thread_toggle__a5_a6{width:32px;justify-content:center;padding:0}}