/* Scoped to the customer support route; hall/account layouts are unchanged. */
body:has(.support-content) .app {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
}
body:has(.support-content) {
  overflow: hidden;
}
.app .support-content {
  position: fixed;
  inset: 72px 0 calc(100px + env(safe-area-inset-bottom));
  width: auto;
  max-width: 1000px;
  min-height: 0;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  overflow: hidden;
}
.app .support-content .support-chat-page {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  overflow: hidden;
}
.app .support-content .support-chat-header {
  flex: 0 0 auto;
  max-height: 30%;
  overflow: auto;
}
.app .support-content .support-chat-history {
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}
.app .support-content .support-chat-history > * {
  flex-shrink: 0;
}
.app .support-content .support-composer {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  margin: 0;
  z-index: 1;
}
.app .support-content .support-composer textarea {
  max-height: min(130px, 20dvh);
  resize: none;
  overflow-y: auto;
}
.app .support-content .support-chat-error {
  flex: 0 0 auto;
  max-height: 12%;
  overflow: auto;
}
@media (max-width: 760px) {
  .app .support-content {
    top: 64px;
    bottom: calc(96px + env(safe-area-inset-bottom));
    padding-inline: max(8px, env(safe-area-inset-left));
  }
}
