.bcw-chat-page {
  display: grid;
  min-height: 100dvh;
  margin: 0;
  place-items: center;
  background: #f5f1f0;
}
.bcw.bcw-standalone {
  position: static;
  width: min(calc(100% - 36px), 550px);
  max-width: none;
  justify-items: stretch;
  margin: auto;
}
.bcw.bcw-standalone .bcw-panel {
  width: 100%;
  height: min(calc(100dvh - 36px), 690px);
  border-radius: 17px;
}
.bcw-standalone .bcw-title, .bcw-standalone .bcw-stage { margin: 0; }
.bcw-standalone .bcw-avatar > span { grid-area: 1 / 1; }
.bcw-standalone .bcw-avatar img { grid-area: 1 / 1; }
.bcw.bcw-standalone--preview { width: 100%; }
.bcw.bcw-standalone--preview .bcw-panel { height: min(420px, 70vh); }
@media (max-width: 600px) {
  .bcw.bcw-standalone { width: 100%; }
  .bcw.bcw-standalone .bcw-panel { height: 100dvh; border-radius: 0; border: 0; }
  .bcw.bcw-standalone:not(.bcw-standalone--preview) .bcw-form {
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }
  .bcw.bcw-standalone--preview .bcw-panel { height: min(420px, 70vh); border-radius: 12px; }
}
