#chat-stop:focus-visible { outline:2px solid #246044; outline-offset:2px; }
#chat-progress:not([hidden]) { display:flex; align-items:center; flex-wrap:wrap; gap:.55rem; margin:.6rem 0; scroll-margin-block:5rem 12rem; font-size:.92rem; color:#385441; }
#chat-elapsed { font-variant-numeric:tabular-nums; white-space:nowrap; }
.chat-sent-at { display:block; margin-top:.35rem; color:#405a48; font-size:.8rem; }
#chat-stop { min-height:44px; padding:0 .8rem; font:inherit; cursor:pointer; border:1px solid var(--line,#bfd2c5); border-radius:.7rem; background:var(--glass-card,#fff); color:inherit; }
.chat-progress-dots { display:inline-flex; align-items:center; gap:3px; padding-inline:2px; }
.chat-progress-dots i { width:5px; height:5px; background:currentColor; border-radius:50%; animation:chat-progress-pulse 1.1s ease-in-out infinite alternate; }
.chat-progress-dots i:nth-child(2) { animation-delay:.18s; }
.chat-progress-dots i:nth-child(3) { animation-delay:.36s; }
#chat-consent[open]:has(#chat-preview-message:disabled) #chat-preview-error:not(:empty)::after { content:" ···"; display:inline-block; animation:chat-progress-pulse 1.1s ease-in-out infinite alternate; }
@keyframes chat-progress-pulse { from { opacity:.35; transform:translateY(1px); } to { opacity:1; transform:translateY(-2px); } }
@media (prefers-reduced-motion:reduce) {
  .chat-progress-dots i,#chat-consent[open]:has(#chat-preview-message:disabled) #chat-preview-error:not(:empty)::after { animation:none; }
}
