/* Account recognition inside the existing responsive sign-in dialog. */
.auth-profile-card{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:16px;padding:20px;border:1px solid #d8e8df;border-radius:18px;background:#f5faf7;margin:0 0 8px}
.auth-profile-avatar{position:relative;display:grid;place-items:center;width:64px;height:64px;flex:none;isolation:isolate;overflow:hidden;border-radius:50%;background:#e1efe7;color:#087f5b;box-shadow:0 0 0 4px #fff;font-size:23px;font-weight:750;line-height:1}
.auth-profile-avatar img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.auth-profile-copy{min-width:0}
.auth-profile-copy>span{display:block;color:#5d7567;font-size:11px;line-height:1.4;margin-bottom:4px}
.auth-profile-copy>strong{display:block;color:#19372a;font-size:20px;line-height:1.25;letter-spacing:-.35px;overflow-wrap:anywhere}
.auth-profile-copy>small{display:block;color:#536d5f;font-size:13px;line-height:1.5;margin-top:6px;overflow-wrap:anywhere}
.auth-profile-switch{display:flex;align-items:center;flex-wrap:wrap;gap:0 5px;margin:0 0 18px;color:#65766c;font-size:13px}
.auth-profile-switch>button{min-height:44px;padding:8px 2px;color:#087f5b;font-weight:650;text-decoration:underline;text-underline-offset:3px}
.auth-profile-switch>button:hover{color:#055b40}
.auth-profile-switch>button:focus-visible{outline:3px solid #9bd5bd;outline-offset:3px;border-radius:5px}
.auth-lookup{display:flex;align-items:center;gap:14px;padding:24px 0;color:#536d5f;font-size:14px}
.auth-lookup-spinner{width:22px;height:22px;flex:none;border:2px solid #d5e7dc;border-top-color:#087f5b;border-radius:50%;animation:auth-profile-spin .8s linear infinite}
@keyframes auth-profile-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){
 .auth-profile-card{padding:16px;gap:14px;grid-template-columns:56px minmax(0,1fr);border-radius:16px}
 .auth-profile-avatar{width:56px;height:56px;font-size:21px}
 .auth-profile-copy>strong{font-size:19px}
 .auth-profile-copy>small{font-size:12px}
 .auth-profile-switch{margin-bottom:14px}
 .auth-sheet:not(.auth-entry) .password-wrap>input{font-size:16px;min-height:52px}
}
@media(prefers-reduced-motion:reduce){.auth-lookup-spinner{animation:none;border-top-color:#087f5b}}
