/* Sign in / sign up (client sheet IT-44, IT-46): email + password, sign-up with an email code, lost password. */
.xd .xauth [data-show][hidden], .xd .xauth-step[hidden] { display: none !important; }
.xd .xauth-notices:not(:has(li, p, div:not(:empty))) { display: none; }
.xd .xauth-notices .woocommerce-notices-wrapper > :last-child { margin-bottom: 0; }
.xd .xauth-box .field { display: grid; gap: 6px; margin: 0; }
.xd .xauth-hint { color: var(--ink-3); font-size: 12.5px; line-height: 1.4; }
.xd .xauth-reg .xauth-phone { height: 48px; }
.xd .xauth-reg .xauth-phone input { font-size: 16px; letter-spacing: .02em; }
.xd .xauth-box [aria-invalid="true"] { border-color: var(--red) !important; }
.xd .xauth-phone:has([aria-invalid="true"]) { border-color: var(--red); }
.xd .xauth-switch > span { display: block; }
.xd .xauth-err { line-height: 1.45; }
.xd .xauth-lead b { color: var(--ink); overflow-wrap: anywhere; }
/* WooCommerce disables the sign-up button while the password is too weak. */
.xd .xauth-reg .xauth-btn:disabled:not(.is-busy) { cursor: not-allowed; }

/* Lost / reset password: same card, one column. */
.xd .xauth--solo { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
.xd .xauth--solo .xauth-box .woocommerce-ResetPassword { display: grid; gap: 12px; margin: 0; }
.xd .xauth--solo .woocommerce-password-strength { margin-top: 6px; padding: 6px 10px; border-radius: 6px; font-size: 13px; font-weight: 700; background: var(--bg); color: var(--ink-2); }
.xd .xauth--solo .woocommerce-password-strength.short, .xd .xauth--solo .woocommerce-password-strength.bad { background: var(--red-bg); color: var(--red-ink); }
.xd .xauth--solo .woocommerce-password-strength.good, .xd .xauth--solo .woocommerce-password-strength.strong { background: var(--green-bg); color: var(--green); }
.xd .xauth--solo .woocommerce-password-hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 860px) {
	.xd .xauth--solo { margin: 0 calc(-1 * var(--gutter, 16px)); }
}
.xd .xauth-reg .xauth-phone { height: 50px; }
.xd .xauth-reg .xauth-phone input, .xd .xauth-reg .xauth-phone input:focus { height: 100%; border: 0 !important; border-radius: 0; box-shadow: none !important; background: transparent; padding: 0 14px; }
