/* One scene moves between the centre and the login column; PHP owns authentication. */
.login-story-animated{position:relative;display:flex;flex-direction:column;justify-content:center;min-width:0;padding:24px}
.access-brand-scene{position:relative;display:grid;justify-items:center;align-content:center;min-height:250px;margin:auto 0;padding:24px 0 30px;color:var(--texto)}
.access-parcel{width:160px;height:140px;overflow:visible;filter:drop-shadow(0 12px 16px #00192335)}
.access-flap{stroke:#167553;stroke-width:.65;stroke-linejoin:miter;filter:drop-shadow(0 2px 1px #00192320)}
.access-brand-name{font:700 29px/1.3 Nunito,sans-serif;letter-spacing:-.04em;color:inherit;margin-top:10px}
.access-brand-line{position:relative;width:140px;height:2px;margin-top:22px;background:var(--line);overflow:hidden;opacity:0;visibility:hidden}
.access-brand-line:after{content:'';display:block;width:100%;height:100%;background:var(--mint);transform-origin:left}
.access-submit-status{display:none;position:absolute;bottom:0;width:100%;margin:0;text-align:center;font-size:14px;color:inherit}
.access-curtain{display:none}
.login-main[data-access-phase] .access-curtain{display:block;position:fixed;inset:0;background:var(--nav);z-index:40;opacity:0;visibility:hidden;pointer-events:none}
.login-main[data-access-phase] .login-form{animation:none}
.login-main[data-access-phase]:not([data-access-phase=ready]) .login-story-animated{z-index:42;overflow:visible}
.login-main:is([data-access-phase=intro],[data-access-phase=sending]) .access-curtain{opacity:1;visibility:visible;pointer-events:auto}
.login-main:is([data-access-phase=intro],[data-access-phase=sending]) .access-brand-scene{transform:translate(var(--access-x,0px),var(--access-y,0px));color:var(--nav-text)}
.login-main:is([data-access-phase=intro],[data-access-phase=sending]) .login-form,
.login-main:is([data-access-phase=intro],[data-access-phase=sending])>.panel-footer{opacity:0;visibility:hidden;pointer-events:none}
.login-main[data-access-phase=sending] .access-submit-status{display:block}
.login-main:is([data-access-phase=intro],[data-access-phase=reveal],[data-access-phase=sending]) .access-brand-line{opacity:1;visibility:visible}
.login-recovery+small{display:block;margin-top:12px}
@media(prefers-reduced-motion:no-preference){
  .access-parcel{animation:access-parcel-arrive .6s cubic-bezier(.2,.8,.2,1) both}
  /* Each flap keeps its two hinge points fixed: closed, upright, then folded out. */
  .access-flap-front-right{animation:access-open-front-right .8s .15s cubic-bezier(.4,0,.2,1) both}
  .access-flap-front-left{animation:access-open-front-left .8s .3s cubic-bezier(.4,0,.2,1) both}
  .access-flap-back-right{animation:access-open-back-right .8s .45s cubic-bezier(.4,0,.2,1) both}
  .access-flap-back-left{animation:access-open-back-left .8s .6s cubic-bezier(.4,0,.2,1) both}
  .access-brand-name{animation:access-name-reveal .7s .75s cubic-bezier(.2,.8,.2,1) both}
  .access-brand-line:after{animation:access-line-reveal .8s .65s ease-out both}
  .access-brand-line{transition:opacity .2s ease,visibility .2s}
  .login-main[data-access-phase] .access-curtain{transition:opacity .6s ease,visibility .6s}
  .login-main[data-access-phase] .access-brand-scene{transition:transform .6s cubic-bezier(.22,.8,.25,1),color .6s ease}
  .login-main[data-access-phase] .login-form,
  .login-main[data-access-phase]>.panel-footer{transition:opacity .3s ease,visibility .3s}
  .login-main[data-access-phase=reveal] .login-form{transition-delay:.3s}
  .login-main[data-access-phase=intro] .access-brand-scene,
  .login-main[data-access-phase=intro] .access-curtain{transition:none}
  /* Indeterminate motion only during the real POST; never represents a percentage. */
  .login-main[data-access-phase=sending] .access-brand-line:after{animation:access-wait 1.1s ease-in-out infinite}
  .login-main[data-access-phase=sending] .access-parcel{animation:access-breathe 1.4s ease-in-out infinite}
}
@keyframes access-parcel-arrive{from{opacity:0;transform:translateY(12px) scale(.94)}to{opacity:1;transform:none}}
@keyframes access-open-front-right{
  0%{d:path('M80 82 120 64 100 55 60 73Z')}
  48%{d:path('M80 82 120 64 120 34 80 52Z')}
  100%{d:path('M80 82 120 64 144 76 104 94Z')}
}
@keyframes access-open-front-left{
  0%{d:path('M40 64 80 82 100 73 60 55Z')}
  48%{d:path('M40 64 80 82 80 52 40 34Z')}
  100%{d:path('M40 64 80 82 56 94 16 76Z')}
}
@keyframes access-open-back-right{
  0%{d:path('M80 46 120 64 100 73 60 55Z')}
  48%{d:path('M80 46 120 64 120 34 80 16Z')}
  100%{d:path('M80 46 120 64 144 45 104 27Z')}
}
@keyframes access-open-back-left{
  0%{d:path('M80 46 40 64 60 73 100 55Z')}
  48%{d:path('M80 46 40 64 40 34 80 16Z')}
  100%{d:path('M80 46 40 64 16 45 56 27Z')}
}
@keyframes access-name-reveal{0%,20%{opacity:0;transform:translateY(-68px) scale(.65)}50%{opacity:1;transform:translateY(-148px) scale(.8)}100%{opacity:1;transform:none}}
@keyframes access-line-reveal{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes access-wait{0%{transform:translateX(-100%) scaleX(.4)}100%{transform:translateX(100%) scaleX(.4)}}
@keyframes access-breathe{50%{transform:translateY(-4px)}}
@media(max-width:850px){.access-brand-scene{min-height:230px}}
@media(max-width:580px){
  .login-story-animated{padding:0}
  .access-brand-scene{min-height:204px;margin:0;padding:14px 0}
  .access-parcel{width:132px;height:116px}
  .access-brand-name{font-size:25px;margin-top:5px}
  .access-brand-line{margin-top:16px}
}
@media(prefers-reduced-motion:reduce){
  .access-parcel,.access-flap,.access-brand-name,.access-brand-line:after,.login-page .login-form{animation:none!important;transform:none!important}
}
