@media (min-width: 1101px) {
  .portal:has(.docs-embedded),
  .portal:has(.docs-embedded) > .ant-layout,
  .portal-content:has(.docs-embedded),
  .docs-embedded,
  .docs-embedded .docs-layout {
    overflow: visible !important;
  }

  .docs-layout aside {
    position: sticky !important;
    top: 92px !important;
    align-self: start !important;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    z-index: 5;
  }

  .docs-embedded .docs-layout aside {
    top: 12px !important;
    max-height: calc(100vh - 24px);
  }
}

.docs-menu-return {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #1f49a8;
  border-radius: 7px;
  background: #1f49a8;
  color: #fff;
  font: 600 13px/1 "Public Sans", "Segoe UI", sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(31, 73, 168, .22);
}

.docs-menu-return:hover { background: #173d91; }

@media (max-width: 1100px) {
  .docs-menu-return { right: 14px; bottom: 14px; }
}
