/*
 * Below 1024px the AI Assistant opens full-screen, and "Open by Default" (a site-wide dashboard setting) opens it on
 * every page load, hiding the page and the banner. Keep it hidden from first paint until scripts/assistant-mobile.js
 * has closed it and set .dv-assistant-ready. If that script never runs, the 4s animation shows the Assistant anyway.
 */
@media (max-width: 1023px) {
  html:not(.dv-assistant-ready) .dai-agent-chat {
    visibility: hidden;
    animation: dv-assistant-reveal 0s 4s forwards;
  }
}

@keyframes dv-assistant-reveal {
  to {
    visibility: visible;
  }
}
