/* Stable, narrow-screen-friendly account layout with EnterHome red/black branding. */
.eh-auth,.eh-auth *,.eh-auth *::before,.eh-auth *::after{box-sizing:border-box}
.eh-auth{width:min(100% - 2rem,36rem);max-width:36rem;margin:clamp(1rem,4vh,2.5rem) auto;padding:clamp(1rem,4vw,2rem);overflow:visible;color:#19212b;background:#fff;border:1px solid #dfe3e8;border-radius:14px}
.eh-auth>*,.eh-auth form,.eh-auth .field,.eh-auth .eh-auth-providers{min-width:0;max-width:100%;float:none;position:static}
.eh-auth h1{font-size:clamp(1.65rem,6vw,2.3rem);line-height:1.16;overflow-wrap:anywhere}
.eh-auth .eh-auth-providers{display:grid;grid-template-columns:minmax(0,1fr);gap:.75rem;width:100%;margin:1.25rem 0}
.eh-auth .eh-auth-providers form,.eh-auth>form{display:block;width:100%;margin:0;padding:0}
.eh-auth .eh-auth-providers form p{margin:0}
.eh-auth .eh-auth-providers button,.eh-auth button.eh-auth-submit{appearance:none;display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin:.25rem 0;padding:.7rem 1rem;white-space:normal;overflow-wrap:anywhere;border:1px solid #aeb5bd;border-radius:8px;background:#fff;color:#19212b;line-height:1.35}
.eh-auth button.eh-auth-submit{border-color:#ad1739;background:#ad1739;color:#fff;font-weight:700}
.eh-auth .field{display:block;width:100%;margin:1rem 0}
.eh-auth .field label{display:block;margin-bottom:.35rem;font-weight:650}
.eh-auth .field input{display:block;width:100%;min-width:0;max-width:100%;min-height:48px;padding:.7rem .8rem;border:1px solid #aeb5bd;border-radius:8px;background:#fff;color:#19212b;font:inherit}
.eh-auth .eh-auth-agreements,.eh-auth .eh-auth-check{width:100%;max-width:100%;min-width:0}
.eh-auth .eh-auth-check{display:grid;grid-template-columns:1.25rem minmax(0,1fr);align-items:start;gap:.65rem;margin:.9rem 0;line-height:1.45}
.eh-auth .eh-auth-check input{width:1.1rem;height:1.1rem;margin:.15rem 0;accent-color:#ad1739}
.eh-auth a{color:#9e1532;text-underline-offset:.15em}
.eh-auth-error{width:100%;max-width:100%;padding:1rem}
@media(max-width:520px){.eh-auth{width:calc(100% - 1.25rem);margin:1rem auto;padding:1rem;border-radius:10px}.eh-auth .eh-auth-check{grid-template-columns:1.2rem minmax(0,1fr)}.eh-auth .eh-auth-check label{overflow-wrap:anywhere}}
