/* GANReach V3: native document scrollbar; public and branded auth only. */
html:has(> body.grv3-public),html:has(> body.grv3-login){height:auto!important;min-height:100%;overflow-x:clip!important;overflow-y:auto!important;scrollbar-gutter:stable;scroll-padding-block:110px 64px;}
html > body.grv3-public,html > body.grv3-login{box-sizing:border-box;margin:0!important;width:auto!important;max-width:none!important;height:auto!important;min-height:100vh;min-height:100dvh;max-height:none!important;overflow:visible!important;}
html > body.grv3-public{display:flex!important;flex-direction:column;}
html > body.grv3-login{display:block!important;}
html > body.grv3-login > .ga-page{box-sizing:border-box;display:flex!important;flex-direction:column;position:static!important;width:auto!important;max-width:none!important;height:auto!important;min-height:100vh;min-height:100dvh;max-height:none!important;overflow:visible!important;}
html > body.grv3-public > main.container{box-sizing:border-box;flex:1 0 auto!important;width:100%!important;max-width:1240px!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 auto!important;padding:0 24px;overflow:visible!important;}
html > body.grv3-login > .ga-page > main.ga-main{box-sizing:border-box;flex:1 0 auto!important;width:calc(100% - 40px)!important;max-width:1160px!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 auto!important;padding:24px 0!important;overflow:visible!important;align-items:start;align-content:start;}
html > body.grv3-public > .bar,html > body.grv3-login > .ga-page > .ga-header{position:sticky!important;top:0!important;bottom:auto!important;flex:0 0 auto!important;z-index:100;max-height:none!important;overflow:visible!important;}
html > body.grv3-public > .foot,html > body.grv3-login > .ga-page > .ga-footer{position:sticky!important;bottom:0!important;top:auto!important;flex:0 0 auto!important;z-index:100;box-sizing:border-box;width:100%!important;max-width:none!important;max-height:none!important;margin:0!important;overflow:visible!important;}
html > body.grv3-public > .foot{padding:9px max(16px,calc((100% - 1192px)/2));background:#fff;align-items:center;}
html > body.grv3-login > .ga-page > .ga-footer{padding-block:9px;}
html[data-grv3-entry-theme=dark] > body.grv3-public > .foot{background:#101f32;color:#becde0;}
/* Explicit scoped contrast for legacy auth style overrides. */
html[data-grv3-entry-theme=dark] > body.grv3-login .ga-card h2,html[data-grv3-entry-theme=dark] > body.grv3-login .ga-card .ga-field,html[data-grv3-entry-theme=dark] > body.grv3-login .ga-card .ga-field > span,html[data-grv3-entry-theme=dark] > body.grv3-login .ga-card .ga-field > label{color:#edf3fa!important;}
html[data-grv3-entry-theme=dark] > body.grv3-login .ga-card :is(.ga-card-sub,.ga-divider,.ga-note,.ga-form-note){color:#becde0!important;}
@media(max-width:640px){html > body.grv3-public > .bar .logo{width:175px;}html > body.grv3-public > .bar nav{gap:8px;font-size:12px;}html > body.grv3-public > .foot{font-size:11px;gap:6px;padding-block:7px;}html > body.grv3-login > .ga-page > main.ga-main{width:calc(100% - 32px)!important;padding:12px 0!important;}html > body.grv3-login > .ga-page > .ga-footer{font-size:11px;gap:5px;}}
@media(max-width:420px){html > body.grv3-public > main.container{padding-inline:14px;}}
/* Keep controls accessible when an on-screen keyboard severely reduces height. */
@media(max-height:340px){html:has(> body.grv3-public),html:has(> body.grv3-login){scroll-padding-block:0;}html > body.grv3-public > .bar,html > body.grv3-public > .foot,html > body.grv3-login > .ga-page > .ga-header,html > body.grv3-login > .ga-page > .ga-footer{position:static!important;}}
