/* Use the browser viewport outside text entry. A cached visualViewport height
   can remain keyboard-sized after returning to the inbox on mobile browsers. */
@media (max-width: 800px) {
  .dashboard.chat-workspace { height: 100dvh; }
  .dashboard.chat-workspace:has(input:focus, textarea:focus, [contenteditable="true"]:focus) {
    height: min(100dvh, var(--chat-visible-height, 100dvh));
  }
}
