.identity-auth .auth-panel label{font-size:13px!important;display:grid;gap:7px!important;color:var(--ui-text,#d8e5f3)}.identity-auth .auth-panel label::before{display:none!important}.identity-auth .auth-panel input{padding-left:12px!important}.identity-auth .registration-name-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.identity-auth .registration-name-row label{min-width:0}.identity-auth .registration-name-row input{width:100%;min-width:0}.identity-auth .auth-panel .form-note{line-height:1.45;margin:0;font-size:12px}.identity-auth .auth-panel[data-panel=register]{height:auto;min-height:0}.identity-auth form[action='/register']{gap:12px}.identity-auth form[action='/register'] input{font-size:16px}.identity-auth .auth-panel input::placeholder{color:var(--ui-muted,#a9bbce);opacity:1}@media(max-width:420px){.identity-auth .registration-name-row{grid-template-columns:1fr}.identity-auth form[action='/register']{gap:10px}}

/* Keep registration confirmation outside the scrolling fields, including short screens. */
.identity-auth:has([data-panel="register"].active) .auth-card{display:flex;flex-direction:column;height:min(760px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);min-height:0;overflow:hidden;padding:20px 28px}
.identity-auth .auth-panel[data-panel="register"].active{flex:1;min-height:0;overflow:hidden;gap:12px}
.identity-auth .auth-panel[data-panel="register"]>.auth-back-login{flex-shrink:0;min-height:44px}
.identity-auth form[action="/register"]{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;margin:0}
.identity-auth .registration-fields{display:grid;gap:12px;min-height:0;overflow-y:auto;padding:3px 6px 6px 2px;scrollbar-gutter:stable;overscroll-behavior:contain}
.identity-auth .registration-submit{flex:0 0 auto;min-height:48px;margin:0;position:relative}
.identity-auth:has([data-panel="register"].active) .flash{flex-shrink:0}
@media(max-width:600px),(max-height:500px){.identity-auth:has([data-panel="register"].active) .auth-card{padding:10px 14px}.identity-auth .registration-fields{gap:9px}}

#login-user-options{max-height:180px;overflow-y:auto;border:1px solid var(--ui-border,#445164);border-radius:10px;background:var(--ui-surface,#102030);display:grid;gap:0}
#login-user-options[hidden]{display:none}
#login-user-options button{display:grid;text-align:left;gap:3px;min-height:52px;padding:9px 12px;border:0;border-bottom:1px solid var(--ui-border,#334456);border-radius:0;color:var(--ui-text,#eef5ff);background:transparent}
#login-user-options button small{color:var(--ui-muted,#aabdd0)}#login-user-options button:hover,#login-user-options [aria-selected="true"]{background:var(--ui-surface,#34413b);color:var(--ui-warning-text,#ffe244)}
[data-login-search-status]:empty{display:none}[data-login-search-status]{font-size:12px;color:var(--ui-text,#b8cee0)}
.identity-auth:has(#login-user-options:not([hidden])) .auth-card{height:auto;max-height:calc(100dvh - 24px);min-height:0;overflow-y:auto}

@keyframes login-browser-autofill{from{opacity:1}to{opacity:1}}
[data-empty-login-field]:-webkit-autofill{animation-name:login-browser-autofill;animation-duration:.01s}

/* The company wordmark contains white lettering: preserve contrast on every screen. */
.identity-wordmark .eh-logo{background:#1b2e40;border-radius:10px;padding:8px 14px;box-sizing:border-box;}
/* Center the mobile welcome as one content group, also when the viewport shrinks. */
@media(max-width:760px){
 .identity-auth:not(.mobile-fallback-open) .mobile-professional-entry{justify-content:center;overflow-y:auto;}
 .identity-auth:not(.mobile-fallback-open) .mobile-https-status{margin-top:14px;flex-shrink:0;}
 .identity-auth .mobile-professional-entry>button{flex-shrink:0;}
 html[data-appearance=beta105] .identity-wordmark .eh-logo{background:#1b2e40;border-radius:8px;padding:4px 10px;box-sizing:border-box;}
}
@media(max-width:760px) and (max-height:450px){
 .identity-auth:not(.mobile-fallback-open) .mobile-professional-entry{justify-content:flex-start;}
 .identity-auth .mobile-security-emblem{width:44px;height:44px;min-height:44px;margin:4px auto;font-size:22px;}
 .identity-auth:not(.mobile-fallback-open) .mobile-https-status{margin-top:4px;padding:4px;}
}
