.auth-wrap {align-items:start;max-width:1056px;margin:16px auto 48px;grid-template-columns:minmax(0,560px) minmax(240px,1fr);gap:48px}
.auth-panel {padding:32px}
.auth-tabs {display:flex;gap:8px;margin-bottom:28px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.auth-tabs a {padding:10px 16px;color:var(--muted);font-weight:600;text-decoration:none;border-radius:8px}
.auth-tabs a[aria-current] {background:var(--blue-light);color:var(--blue)}
.auth-panel h1 {font-size:1.75rem;margin:0 0 12px}
.auth-form {display:flex;flex-direction:column;gap:12px;margin-top:24px}
.auth-form label {margin:8px 0 0}
.auth-form input:not([type=checkbox]),.auth-form select {min-height:48px;font-size:1rem}
.auth-form .small {margin:0 0 8px}
.password-control {position:relative;display:flex;align-items:center}
.password-control input {width:100%;padding-right:84px}
.password-control button {position:absolute;right:4px;min-height:40px;padding:8px 12px;border:0;background:transparent;color:var(--blue);font-size:.875rem}
.auth-forgot {align-self:flex-end;font-size:.875rem;margin:0 0 8px}
.google-signin {display:flex;align-items:center;justify-content:center;min-height:48px;font-weight:600}
.auth-phone {margin-top:24px}
.auth-test-preview {padding:16px;margin-top:24px;background:var(--blue-light);border-radius:8px}
.auth-test-preview p {font-size:.875rem}
.auth-address {overflow-wrap:anywhere}
.auth-back {display:inline-block;margin-top:24px}
.auth-support .panel {box-shadow:none}
@media(max-width:760px),(max-width:1023px) and (max-height:500px) {
 .auth-wrap {display:flex;flex-direction:column;gap:24px;margin:0 0 24px}
 .auth-panel,.auth-support {width:100%;min-width:0}
 .auth-panel {padding:24px 20px}
 .auth-panel h1 {font-size:1.5rem}
 .auth-support .panel {padding:20px}
 .auth-tabs {margin-bottom:20px;padding-bottom:12px}
 .auth-panel > .muted {font-size:.9375rem;line-height:1.6}
 .auth-form {margin-top:16px;gap:8px}
 .auth-form label {margin-top:4px}
 .auth-form .small {font-size:.8125rem;line-height:1.5}
 .auth-tabs a {min-height:44px;display:flex;align-items:center}
}

/* Keep the OTP settings heading visible beneath the sticky site header. */
#engagelab-otp { scroll-margin-top: 120px; }
#engagelab-test { scroll-margin-top: 120px; }


/* Direct Google access, with one email or WhatsApp panel at a time. */
.auth-purpose {margin:20px 0}
.auth-purpose label {display:block;margin-bottom:8px}
.auth-purpose select {min-height:48px;font-size:1rem}
.auth-google {margin:24px 0 0}
.auth-method-tabs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;background:var(--canvas);border:1px solid var(--line);border-radius:10px;margin:20px 0}
.auth-method-tabs a {display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;border-radius:7px;font-size:.875rem;font-weight:600;color:var(--muted);text-decoration:none}
.auth-method-tabs a[aria-selected=true] {background:var(--surface,#fff);color:var(--blue);box-shadow:0 1px 3px rgba(17,35,59,.1)}
.auth-method-tabs a:focus-visible {outline:2px solid var(--blue);outline-offset:2px}
.auth-method[hidden] {display:none}
.auth-method {min-width:0}
.auth-method h2 {font-size:1.125rem;margin:0 0 12px}
.auth-method .auth-form {margin-top:0}
.auth-method > .small {line-height:1.6}
.auth-method .check {align-items:flex-start}
.auth-method .check input {flex-shrink:0;margin-top:4px}
.auth-method .check span {line-height:1.6}

.auth-change-number {margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.auth-change-number .small {margin:0 0 12px}
.auth-change-number button {min-height:44px}

.auth-code-destination {display:flex;flex-direction:column;gap:4px;margin:0 0 16px;padding:12px 16px;background:var(--canvas);border-radius:7px}
.auth-code-destination span {font-size:.8125rem;color:var(--muted)}
.auth-code-destination strong {font-size:1rem;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;direction:ltr;text-align:left}

.auth-resend {margin-top:16px}
.auth-resend button {min-height:44px}
.auth-resend .small {margin:8px 0 0;line-height:1.6}

#login-methods {scroll-margin-top:112px}
.login-method-row {padding:20px 0;border-top:1px solid var(--line)}
.login-method-row h3 {display:flex;align-items:center;gap:12px;margin:0 0 12px;font-size:1rem}
.login-method-row form {max-width:560px}
.login-binding-confirm {max-width:560px;margin:0 auto}
