.handoff-intro{display:none}
.provider-handoff .handoff-intro{display:block;text-align:center;padding:12px 0}
.provider-handoff .handoff-intro h1{font-size:26px;margin:16px 0 8px}
.provider-handoff .handoff-intro p{margin:0;color:#5f7d7f}
.provider-handoff .login-layout{display:block;max-width:520px;margin:40px auto;padding:0 20px}
.provider-handoff .face-card{padding:30px 22px}
.provider-handoff :is(#modeLabel,#pageTitle,#pageLead,#cameraShell,#qrCard,#empregLoginLink,.system-pill){display:none!important}
.provider-handoff:not(.handoff-failed) :is(#startFace,#showFallback,#passwordPanel){display:none!important}
.provider-handoff:not(.handoff-active) #statusMessage{display:none}
.provider-handoff .status-message{font-size:16px;margin:12px 0;text-align:center}
.provider-handoff .handoff-spinner{width:36px;height:36px;margin:auto;border:3px solid #d9eeea;border-top-color:#16876f;border-radius:50%;animation:handoff-spin .9s linear infinite}
.provider-handoff.handoff-failed .handoff-spinner{display:none}
@keyframes handoff-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.provider-handoff .handoff-spinner{animation:none}}

/* Recovery states show the real error, with consistent touch-sized actions. */
.provider-handoff.handoff-failed .handoff-intro p{display:none}
.login-page .text-button:not([hidden]){display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;line-height:1.5}
.login-page .header-actions a.attendance-entry{display:inline-flex;align-items:center;justify-content:center;min-height:44px}
.login-page :is(.status-message,.form-error,.qr-status){overflow-wrap:anywhere;line-height:1.55}
.login-page :is(button,a,input):focus-visible{outline:3px solid #16876f;outline-offset:3px}
.login-page .brand-header :is(button,a):focus-visible{outline-color:#fff}
.login-page.desktop-qr-login .login-layout{grid-template-columns:minmax(0,540px)}
.login-page .qr-frame{width:min(250px,100%);height:auto;aspect-ratio:1}
.login-page .qr-frame img{max-width:88%;height:auto;aspect-ratio:1}
.login-page #refreshQr{min-height:44px}
