/* Keep the installed parent's section header and its content offset in step. */
@supports (-webkit-touch-callout: none) and (opacity: sign(1px)) {
  @media (max-width: 767px) {
    html.standalone-pwa[data-theme="modern"] body.authed.parent-help-enabled:has(#main > .page.active):not(:has(#page-child.active, #page-dashboard.active)) {
      --parent-section-top: calc(max(var(--safe-top), 10px) + 24px);
    }

    html.standalone-pwa[data-theme="modern"] body.authed.parent-help-enabled:has(#main > .page.active):not(:has(#page-child.active, #page-dashboard.active)) #mobile-header {
      padding-top: var(--parent-section-top) !important;
      height: calc(56px + var(--parent-section-top)) !important;
    }

    html.standalone-pwa[data-theme="modern"] body.authed.parent-help-enabled:has(#main > .page.active):not(:has(#page-child.active, #page-dashboard.active)) #main {
      padding-top: calc(72px + var(--parent-section-top)) !important;
    }
  }
}
