/* Cybertel navigation stability — no visual redesign.
 * Keep browser-native jumps out of SPA route changes. Explicit JavaScript
 * scroll actions with behavior:'smooth' still animate when intentionally used. */
html{
  scroll-behavior:auto!important;
  scroll-padding-top:var(--cyb-stable-nav-offset,154px)!important;
}
/* The old performance optimization used a single, inaccurate 760px phantom
 * height for many unrelated page sections. Resolving the real height on
 * approach caused content above/below the viewport to move unexpectedly.
 * The full section box now participates in normal layout. */
html body.cyb1000 #page-home :is(
  .v20-departments,
  .v20-products-section,
  #ct580Services,
  .cyb627-btu-transition,
  .cyb630-btu-transition,
  .cyb606-approved-btu,
  #ct575Lower
),
html body.cyb1000 #page-catalogue :is(
  .catalogue-shell,
  .v106-security-art,
  .v106-ac-art
){
  content-visibility:visible!important;
  contain-intrinsic-size:none!important;
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important;}
}

/* Account anchors use the real sticky-header offset above. The older
 * 94px per-section margin was being added to that offset a second time. */
html body.cyb1000 #page-account.is-authenticated #cyb1600Account
 :is(#accountSaved,#accountRequests,#accountReviews,#accountProfile,#accountDocuments){
  scroll-margin-top:12px!important;
}
