/* Entrance-only photograph: end the fade at the content edge, not behind the
   opaque compact footer or at a fixed viewport edge. No app/footer restyling. */
body.hr-demo .login-shell::before,
body[data-realm="customer"]:has(#access:not([hidden]))::before{content:none}
body.hr-demo .login-layout,
body[data-realm="customer"] #access:not([hidden]){position:relative;isolation:isolate}
body.hr-demo .login-layout::before,
body[data-realm="customer"] #access:not([hidden])::before{
  content:"";position:absolute;inset-block:0;left:50%;width:100vw;
  transform:translateX(-50%);z-index:-1;pointer-events:none;
  background-image:
    linear-gradient(180deg,#e8ebe1 0%,#e8ebe100 18%,#e8ebe100 calc(100% - 240px),#e8ebe1b3 calc(100% - 120px),#e8ebe1 100%),
    linear-gradient(90deg,#e8ebe1 0%,#e8ebe1f5 34%,#e8ebe1ba 63%,#e8ebe18c 100%),
    url('/app/hr-ui/media/workplace.png');
  background-position:center,right center,right center;
  background-size:cover;background-repeat:no-repeat;
}
@media(max-width:850px){
  body.hr-demo .login-layout::before,
  body[data-realm="customer"] #access:not([hidden])::before{
    background-image:linear-gradient(180deg,#e8ebe1 0px,#e8ebe1de 80px,#e8ebe1ed 285px,#e8ebe1 490px),url('/app/hr-ui/media/workplace.png');
    background-size:100% 100%,auto 680px;
    background-position:center,right top;
  }
}
