/* Size the preview from its container, including the disclosure and mobile dock. */
.system-demo {
  min-height: 0;
}
.system-demo .dd-conversation[data-design="glass"] {
  flex: 1 1 0;
  height: auto;
  min-height: 0;
}
@media (max-width: 1179px) {
  /* The application desktop status row is only 25px; the mobile dock needs
     its own intrinsic row in chat-only mode as well as the workspace panels. */
  .system-demo .dd-conversation[data-design="glass"].is-mobile-workspace {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
  }
  .system-demo .dd-conversation > .dd-mobile-navigation {
    grid-area: 2 / 1;
    min-width: 0;
    min-height: min-content;
  }
  .system-demo .dd-conversation:not(.has-panel) > .dd-chat {
    grid-area: 1 / 1;
    height: auto;
    min-height: 0;
  }
}
