/* Keep the composer visible as an attachment adds height. */
.bs-chat:has(.bs-chat-preview:not([hidden])) {
  height: auto;
  max-height: none;
}
.bs-chat:has(.bs-chat-preview:not([hidden])) .bs-chat-history {
  flex: 0 1 clamp(110px, 30dvh, 300px);
}
.bs-chat-preview button {
  font: inherit;
}
