.chat-list{scrollbar-width:thin;scrollbar-color:#00000026 transparent;flex-direction:column;flex:1;gap:.5rem;min-height:0;padding:1rem 1rem .5rem;display:flex;overflow-y:auto}.chat-list::-webkit-scrollbar{width:6px}.chat-list::-webkit-scrollbar-thumb{background:#00000026;border-radius:999px}.chat-list-centered{color:var(--text-muted);text-align:center;justify-content:center;align-items:center;gap:.75rem;padding:2rem 1.5rem}.chat-empty-icon{width:60px;height:60px;color:var(--primary-blue);background:#0369e314;border-radius:20px;justify-content:center;align-items:center;display:flex}.chat-empty-text{max-width:240px;margin:0;font-size:.9rem;line-height:1.5}.chat-list-older{color:var(--text-muted);justify-content:center;align-items:center;gap:.4rem;padding:.4rem 0;font-size:.78rem;display:flex}.chat-msg-row{width:100%;display:flex}.chat-msg-row.own{justify-content:flex-end}.chat-msg-row.other{justify-content:flex-start}.chat-bubble{word-wrap:break-word;overflow-wrap:anywhere;max-width:78%;padding:.6rem .85rem;font-size:.92rem;line-height:1.45;box-shadow:0 2px 8px #0000000f}.chat-bubble.own{background:linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));color:#fff;border-radius:18px 18px 4px}.chat-bubble.other{color:var(--text-main);background:#fff;border:1px solid #0000000a;border-radius:18px 18px 18px 4px}.chat-bubble.failed{background:linear-gradient(135deg,#ef4444,#dc2626)}.chat-bubble-body{white-space:pre-wrap;margin:0}.chat-bubble-meta{opacity:.7;text-align:right;margin-top:.2rem;font-size:.68rem;display:block}.chat-bubble.other .chat-bubble-meta{color:var(--text-muted)}.chat-bubble-flag{font-style:italic}.chat-bubble-retry{color:#fff;opacity:.95;align-items:center;gap:.25rem;margin-left:.4rem;font-size:.68rem;font-weight:700;text-decoration:underline;display:inline-flex}.chat-receipt{color:var(--text-muted);align-self:flex-end;margin-top:-.25rem;font-size:.68rem;font-weight:600}.chat-receipt.seen{color:var(--primary-blue)}.chat-new-divider{color:var(--primary-blue);text-transform:uppercase;letter-spacing:.04em;align-items:center;gap:.6rem;margin:.35rem 0;font-size:.72rem;font-weight:700;display:flex}.chat-new-divider:before,.chat-new-divider:after{content:"";background:#0369e340;flex:1;height:1px}.chat-spin{animation:1s linear infinite chat-spin}@keyframes chat-spin{to{transform:rotate(360deg)}}
.chat-composer{border-top:1px solid var(--border-color);padding:.75rem;padding-bottom:calc(.75rem + env(safe-area-inset-bottom,0px));background:#fff9;align-items:flex-end;gap:.5rem;display:flex}.chat-composer-input{resize:none;border:1px solid var(--border-color);color:var(--text-main);scrollbar-width:none;-ms-overflow-style:none;background:#fff;border-radius:16px;outline:none;flex:1;max-height:120px;padding:.7rem .95rem;font-family:inherit;font-size:.92rem;line-height:1.4;transition:border-color .2s,box-shadow .2s}.chat-composer-input::-webkit-scrollbar{display:none}.chat-composer-input:focus{border-color:var(--primary-blue);box-shadow:0 0 0 3px #0369e31f}.chat-composer-input::placeholder{color:var(--text-muted)}.chat-composer-send{background:linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;transition:all .3s cubic-bezier(.34,1.56,.64,1);display:flex;box-shadow:inset 1px 1px 2px #ffffff4d,0 4px 12px #0369e34d}.chat-composer-send:hover:not(:disabled){transform:translateY(-2px);box-shadow:inset 1px 1px 3px #fff6,0 6px 16px #0369e366}.chat-composer-send:active:not(:disabled){transform:translateY(1px)}.chat-composer-send:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
