/* Keep the support workspace readable and operable on narrow screens. */
.support-center > header > div {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.25;
}

.support-center > header > div > small {
  display: block;
  line-height: 1.25;
}

.support-center > header > div > h1 {
  position: static;
  display: block;
  min-width: 0;
  margin: 0;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
  transform: none;
}

@media (max-width: 720px) {
  body:has(.support-center:not([hidden])) :is(#nv-support-launch, #nv-support) {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .support-center .sc-ai-pane {
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .support-center .sc-ai-grid {
    flex: none;
    min-height: 440px;
    grid-template-rows: minmax(170px, auto) minmax(260px, auto);
  }

  .support-center .sc-ai-list,
  .support-center .sc-ai-detail {
    min-height: 0;
  }

  .support-center .sc-ai-foot {
    margin-bottom: 8px;
  }
}
