/* KAPTen RME identity v4 — centered clinical access, no split-screen template */
#loginGate.auth-screen{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:0!important;background:radial-gradient(ellipse 60% 45% at 10% 0%,#d6f3e9 0%,transparent 100%),radial-gradient(ellipse 50% 40% at 100% 100%,#dcecf8 0%,transparent 100%),#f3f8f8!important;min-height:100dvh!important;padding:35px 22px!important;overflow-y:auto!important}
#loginGate .auth-story{display:contents!important}
#loginGate .auth-brand{width:min(100%,460px)!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;margin:0 auto 23px!important;position:relative!important}
#loginGate .auth-brand-mark{width:52px!important;height:52px!important;display:grid!important;place-items:center!important;border-radius:16px!important;background:#e1f3f0!important;color:#e44562!important}
#loginGate .auth-brand-mark svg{width:35px!important;height:35px!important}
#loginGate .auth-brand strong{color:#153b49!important;font-size:25px!important;font-weight:800!important}
#loginGate .auth-brand strong span{color:#087d78!important;font-weight:650!important}
#loginGate .auth-brand small{color:#65828a!important;font-size:11px!important}
#loginGate .auth-story-content,#loginGate .auth-story-footer{display:none!important}
#loginGate .auth-entry{display:contents!important}
#loginGate .auth-entry-top{width:min(100%,460px)!important;max-width:460px!important;display:flex!important;justify-content:space-between!important;align-items:center!important;margin:0 auto 10px!important;padding:0!important}
#loginGate .auth-form-wrap{order:2!important;width:min(100%,460px)!important;max-width:460px!important;margin:0 auto!important;padding:35px!important;border:1px solid #dce8e8!important;border-radius:24px!important;background:#fff!important;box-shadow:0 22px 65px #183e4914!important}
#loginGate .auth-form-heading h2{font-size:29px!important;letter-spacing:-1px!important}
#loginGate .auth-form-heading .auth-eyebrow{font-size:10px!important;color:#07877e!important}
#loginGate .auth-form-heading p{font-size:13px!important}
#loginGate .auth-field input{background:#f8fbfb!important}
#loginGate .auth-entry-footer{order:3!important;width:min(100%,460px)!important;max-width:460px!important;margin:18px auto 0!important;padding:0 6px!important}
#loginGate .auth-staging-badge{background:#fdf2d9!important;color:#976a18!important}
@media(max-width:900px){#loginGate.auth-screen{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;padding:24px 16px!important}#loginGate .auth-story{display:contents!important}#loginGate .auth-brand{margin:0 auto 18px!important}#loginGate .auth-entry{display:contents!important}#loginGate .auth-entry-top{margin:0 auto 9px!important}#loginGate .auth-form-wrap{width:min(100%,460px)!important;padding:25px 22px!important;margin:0 auto!important}#loginGate .auth-entry-footer{margin:17px auto 0!important}}
@media(max-width:420px){#loginGate.auth-screen{padding:18px 12px!important}#loginGate .auth-form-wrap{padding:21px 18px!important;border-radius:20px!important}#loginGate .auth-brand strong{font-size:22px!important}#loginGate .auth-form-heading h2{font-size:24px!important}}
/* Critical: HTML hidden attribute must win over all theme display overrides. */
#loginGate[hidden],#appShell[hidden],#sessionLoading[hidden]{display:none!important;visibility:hidden!important}
#loginGate.auth-screen:not([hidden]){position:fixed!important;inset:0!important;z-index:10000!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;isolation:isolate!important}
