/* 7.9.62 — every landing-shell page: DOCUMENT scrolls. Sidebar pinned. Header stays. */

html:has(.landing-shell),
html:has(body.bu-landing-page),
html:has(body.bu-product-page),
html:has(body.bu-author-page),
html:has(body.bu-public-inner) {
  height: auto !important;
  max-height: none !important;
  overflow-x: clip !important;
  overflow-y: auto !important;
}
html body:has(.landing-shell),
html body.bu-landing-page,
html body.bu-product-page,
html body.bu-author-page,
html body.bu-public-inner {
  height: auto !important;
  max-height: none !important;
  min-height: 100% !important;
  overflow: visible !important;
  position: static !important;
  transform: none !important;
  filter: none !important;
  contain: none !important;
}
html body:has(.landing-shell).bu-has-pre,
html body.bu-landing-page.bu-has-pre,
html body.bu-product-page.bu-has-pre {
  overflow: visible !important;
}

/* Block layout — NEVER grid+fixed together (that was the 232px gap + fly). */
html body .landing-shell,
html body.bu-landing-page .landing-shell,
html body.bu-product-page .landing-shell,
html body.bu-author-page .landing-shell,
html body.bu-public-inner .landing-shell {
  display: block !important;
  grid-template-columns: none !important;
  height: auto !important;
  max-height: none !important;
  min-height: 100dvh !important;
  overflow: visible !important;
  transform: none !important;
  filter: none !important;
  contain: none !important;
  position: static !important;
}

html body .landing-shell-main,
html body.bu-landing-page .landing-shell-main,
html body.bu-product-page .landing-shell-main,
html body.bu-author-page .landing-shell-main,
html body.bu-public-inner .landing-shell-main,
html body .landing-shell-main main,
html body.bu-product-page main.bu-pro,
html body.bu-product-page main.bu-blog {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  transform: none !important;
  filter: none !important;
  contain: none !important;
  position: relative !important;
}

html body.bu-landing-page .bu-neon-head,
html body.bu-product-page .bu-neon-head,
html body.bu-author-page .bu-neon-head,
html body .landing-shell-main .bu-neon-head {
  position: fixed !important;
  top: 0 !important;
  transform: none !important;
  filter: none !important;
  will-change: auto !important;
  z-index: 90 !important;
}

@media (min-width: 1100px) {
  html body aside.landing-sidebar,
  html body aside.bu-neon-side.landing-sidebar,
  html body aside.bu-board-sidebar.landing-sidebar,
  html body.bu-landing-page aside.bu-neon-side.landing-sidebar.bu-board-sidebar,
  html body.bu-product-page aside.bu-neon-side.landing-sidebar.bu-board-sidebar,
  html body.bu-author-page aside.landing-sidebar,
  html body.bu-public-inner aside.landing-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    inset: 0 auto 0 0 !important;
    width: 232px !important;
    max-width: 232px !important;
    min-width: 232px !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    transform: none !important;
    filter: none !important;
    contain: none !important;
    z-index: 80 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-self: auto !important;
  }
  html body .landing-shell-main,
  html body.bu-landing-page .landing-shell-main,
  html body.bu-product-page .landing-shell-main,
  html body.bu-author-page .landing-shell-main,
  html body.bu-public-inner .landing-shell-main {
    margin-left: 232px !important;
    width: auto !important;
    max-width: none !important;
    padding-left: 0 !important;
    min-width: 0 !important;
  }
  html body.bu-landing-page .bu-neon-head,
  html body.bu-product-page .bu-neon-head,
  html body.bu-author-page .bu-neon-head,
  html body .landing-shell-main .bu-neon-head {
    left: 232px !important;
    width: auto !important;
    right: 0 !important;
  }
  html body .landing-shell-main,
  html body.bu-landing-page .landing-shell-main,
  html body.bu-product-page .landing-shell-main {
    padding-top: 58px !important;
  }
}

@media (max-width: 1099px) {
  html body aside.landing-sidebar,
  html body.bu-landing-page aside.landing-sidebar,
  html body.bu-product-page aside.landing-sidebar {
    display: none !important;
  }
  html body .landing-shell-main,
  html body.bu-landing-page .landing-shell-main,
  html body.bu-product-page .landing-shell-main {
    margin-left: 0 !important;
  }
}
