/* Testing UI tweaks. Referenced from chainlit_app.py via config.ui.custom_css. */

/* The answer prompt is a few thousand characters; the default textarea shows a couple
   of lines and its resize handle is easy to miss. */
#chat-settings-dialog textarea,
[role="dialog"] textarea {
  min-height: 22rem;
  max-height: 60vh;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  line-height: 1.5;
  resize: vertical;
}

/* Give the settings dialog room for the textarea above. */
#chat-settings-dialog,
[role="dialog"]:has(textarea) {
  max-width: 56rem;
  width: 92vw;
}
