/* P197: same verified P194 stability rules; stylesheet moved into valid head parsing context. */
/* P194 — Refresh Stability + Static Handler Authority */
/* The page must not re-enter an animated state after DOMContentLoaded. */
html,body{background:#f4f7f6}
html.dark,html[data-theme="dark"],html.dark body,html[data-theme="dark"] body{background:#071216}
body{opacity:1!important;visibility:visible!important}

/* Permanently neutralise legacy entrance effects that create refresh blinking. */
.animate-fade-in,.animate-slide-up,.animate-slide-up-delay,.animate-fade-in-delay,
.logo-reveal,.reveal,.reveal.active,.s16-reveal,.s16-reveal.visible,
body.t16-r2 .genesis-reveal,body.t16-r2 .t16-in-view .genesis-reveal,
body.t16-r2 .genesis-reveal.t16-in-view{
  animation:none!important;transition:none!important;opacity:1!important;
  transform:none!important;filter:none!important;visibility:visible!important
}

/* Theme changes remain deliberate, but loading a page never animates the canvas. */
body.s16-p168{transition:none!important}

/* Fixed global controls use deterministic states with no hover travel. */
.s16-contact-rail,.s16-contact-rail__toggle,
.s16-enterprise-cta,.s16-enterprise-cta__toggle{
  transition:none!important;animation:none!important
}
.s16-contact-rail__toggle:hover,.s16-contact-rail__toggle:active,
.s16-enterprise-cta__toggle:hover,.s16-enterprise-cta__toggle:active{
  transform:var(--s16-handler-transform)!important;
  filter:none!important;box-shadow:0 8px 20px rgba(20,39,37,.16)!important
}
html[dir="ltr"] .s16-contact-rail__toggle{--s16-handler-transform:translate(-100%,-50%)}
html[dir="rtl"] .s16-contact-rail__toggle{--s16-handler-transform:translate(100%,-50%)}
html[dir="ltr"] .s16-enterprise-cta__toggle{--s16-handler-transform:translate(-100%,-50%)}
html[dir="rtl"] .s16-enterprise-cta__toggle,.font-arabic .s16-enterprise-cta__toggle{--s16-handler-transform:translate(100%,-50%)}
.s16-contact-rail__toggle:hover,
.s16-enterprise-cta__toggle:hover{outline:none!important}
.s16-contact-rail__toggle:focus-visible,
.s16-enterprise-cta__toggle:focus-visible{
  outline:3px solid #f4cf61!important;outline-offset:3px!important
}

/* Keep open/close changes immediate so a fast pointer cannot chase moving UI. */
.s16-contact-rail[data-state],.s16-enterprise-cta[data-state]{will-change:auto!important}

/* Reserve the first viewport shell before late assets complete. */
header#header{min-height:88px}
@media(max-width:760px){header#header{min-height:72px}}
main>section:first-child img{content-visibility:auto}
