.thr{background:var(--surface-card);border:var(--border-w) solid var(--border-1);border-radius:var(--radius-lg);flex-direction:column;min-width:0;max-height:calc(100vh - 32px);display:flex;position:sticky;top:16px}.thr-state{padding:16px}.thr-head{border-bottom:var(--border-w) solid var(--border-1);padding:12px 16px}.thr-head__title{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.thr-head__line{color:var(--text-2);margin:2px 0 0;font-size:13px}.thr-head__line strong{color:var(--text-1)}.thr-mono{font-family:var(--font-mono,ui-monospace, monospace);color:var(--text-2);font-size:13px}.thr-list{flex-direction:column;flex:auto;gap:12px;min-height:160px;margin:0;padding:12px 16px;list-style:none;display:flex;overflow-y:auto}.thr-empty{font-size:13px}.thr-event{align-items:center;gap:8px;font-size:13px;display:flex}.thr-event__icon{border-radius:var(--radius-pill);background:var(--surface-subtle);width:24px;height:24px;color:var(--text-2);flex:none;justify-content:center;align-items:center;display:inline-flex}.thr-event--warn,.thr-event--warn .thr-time{color:var(--warning-text)}.thr-event--warn .thr-event__icon{background:var(--warning-soft);color:var(--warning-text)}.thr-time{color:var(--text-3);font-weight:400}.thr-msg{flex-direction:column;align-items:flex-start;gap:4px;max-width:85%;display:flex}.thr-msg--out{align-self:flex-end;align-items:flex-end}.thr-msg__label,.thr-copied{color:var(--text-3);font-size:12px}.thr-copied{align-items:center;gap:4px;display:inline-flex}.thr-bubble{border-radius:var(--radius-md);background:var(--surface-subtle);color:var(--text-1);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:8px 12px}.thr-msg--out .thr-bubble{background:var(--surface-inverse);color:var(--stone-0,#fff)}.thr-waiting{color:var(--text-2);align-items:center;gap:8px;font-size:13px;display:flex}.thr-composer{border-top:var(--border-w) solid var(--border-1);flex-direction:column;gap:8px;padding:12px 16px;display:flex}.thr-input{box-sizing:border-box;resize:vertical;width:100%;font:inherit;color:var(--text-1);background:var(--surface-card);border:var(--border-w) solid var(--border-2);border-radius:var(--radius-md);padding:8px 10px}.thr-input:focus-visible{outline:2px solid var(--walnut-500);outline-offset:1px}.thr-composer__row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.thr-composer__actions{gap:8px;display:flex}.thr-layout{grid-template-columns:minmax(0,1fr) minmax(320px,420px);align-items:start;gap:16px;display:grid}@media (width<=900px){.thr-layout{grid-template-columns:1fr}}
