.s2f-auth-layout {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:64px;
  width:100%; max-width:1040px; margin:28px auto 48px; align-items:start;
  font-family:var(--wd-text-font, "Cabin", Arial, sans-serif);
}
.s2f-auth-brand { padding:36px 38px 38px; border-top:4px solid var(--wd-primary-color,#a1a88f); background:#f6f7f2; }
.s2f-auth-brand .s2f-auth-kicker { margin:0 0 18px; color:var(--wd-alternative-color,#808472); font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:1.5px; }
.s2f-auth-brand h1 { margin:0 0 20px; color:var(--wd-title-color,#242424); font-family:var(--wd-title-font,inherit); font-size:34px; font-weight:var(--wd-title-font-weight,600); line-height:1.15; letter-spacing:-.4px; }
.s2f-auth-brand > p:not(.s2f-auth-kicker) { margin:0; color:var(--wd-text-color,#767676); font-size:16px; line-height:1.7; }
.s2f-auth-benefits { display:grid; gap:19px; margin:30px 0 0; padding:26px 0 0; border-top:1px solid #dde1d4; list-style:none; }
.s2f-auth-benefits li { display:flex; align-items:center; gap:13px; margin:0; color:#5e6654; font-size:15px; line-height:1.45; }
.s2f-auth-benefits svg { flex:0 0 24px; width:24px; height:24px; color:var(--wd-alternative-color,#808472); }
.s2f-passwordless { width:100%; max-width:520px; margin:24px auto!important; padding:0!important; border:0!important; background:transparent!important; color:var(--wd-text-color,#767676); font-family:var(--wd-text-font, "Cabin", Arial, sans-serif); }
.s2f-auth-layout > .s2f-passwordless { max-width:none; margin:0!important; }
.s2f-passwordless [hidden] { display:none!important; }
.s2f-auth-card { padding:6px 0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.s2f-passwordless h2 { margin:0 0 14px!important; color:var(--wd-title-color,#242424); font-family:var(--wd-title-font,inherit); font-size:26px; font-weight:var(--wd-title-font-weight,600); line-height:1.25; letter-spacing:0; }
.s2f-auth-intro { margin:0 0 28px; color:var(--wd-text-color,#767676); font-size:16px; line-height:1.65; }
.s2f-passwordless label { display:block; margin:18px 0 9px; color:var(--wd-title-color,#242424); font-size:14px; font-weight:600; }
.s2f-passwordless input[type=email], .s2f-passwordless input[type=password], .s2f-passwordless input.s2f-auth-code { width:100%; height:50px; padding:0 15px; border:var(--wd-form-brd-width,2px) solid var(--wd-form-brd-color,#e5e5e5); border-radius:var(--wd-form-brd-radius,5px); background:var(--wd-form-bg,#fff); box-shadow:none; color:var(--wd-title-color,#242424); font-family:inherit; font-size:16px; transition:border-color .15s,box-shadow .15s; }
.s2f-passwordless input::placeholder { color:#92958c; opacity:1; }
.s2f-passwordless input:focus { outline:none; border-color:var(--wd-primary-color,#a1a88f); box-shadow:0 0 0 3px #a1a88f1c; }
.s2f-passwordless input[readonly] { background:#f7f8f4; color:#626a59; }
.s2f-passwordless input.s2f-auth-code { text-align:center; font-size:26px; font-weight:600; letter-spacing:.3em; padding-left:calc(15px + .3em); }
.s2f-auth-hint { margin:12px 0 0; color:var(--wd-text-color,#767676); font-size:13px; line-height:1.6; }
.s2f-passwordless .s2f-auth-submit { width:100%; min-height:48px; margin:22px 0 0; padding:12px 20px; border:0; border-radius:var(--btn-accented-brd-radius,0); background:var(--btn-bgcolor,#a1a88f); color:var(--btn-color,#fff); font-family:var(--btn-font-family,inherit); font-size:14px; font-weight:600; line-height:1.5; text-transform:var(--btn-transform,uppercase); letter-spacing:.3px; box-shadow:none; }
.s2f-passwordless .s2f-auth-submit:hover { background:var(--btn-bgcolor-hover,#808472); color:var(--btn-color-hover,#fff); }
.s2f-passwordless .s2f-auth-submit:focus-visible, .s2f-auth-actions button:focus-visible { outline:2px solid var(--wd-alternative-color,#808472); outline-offset:3px; }
.s2f-passwordless .s2f-auth-submit:disabled { cursor:wait; opacity:.7; }
.s2f-passwordless .s2f-auth-actions { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 20px; margin-top:12px; }
.s2f-passwordless .s2f-auth-actions button { display:inline-flex; align-items:center; width:auto; min-width:0; min-height:36px; margin:0; padding:6px 0!important; border:0!important; border-radius:0; background:transparent!important; background-image:none!important; color:#626a59!important; font-family:inherit; font-size:13px; font-weight:400; line-height:1.5; box-shadow:none!important; text-transform:none; letter-spacing:0; opacity:1; }
.s2f-passwordless .s2f-auth-actions button:hover, .s2f-passwordless .s2f-auth-actions button:focus-visible { background:transparent!important; color:var(--wd-title-color,#242424)!important; text-decoration:underline; }
.s2f-passwordless .s2f-auth-actions button:disabled { background:transparent!important; color:#737b68!important; opacity:1!important; text-decoration:none; cursor:default; }
.s2f-passwordless .s2f-auth-actions button::before, .s2f-passwordless .s2f-auth-actions button::after { display:none; }
.s2f-auth-error { margin:16px 0 0; padding:12px 14px; border:1px solid #ead9db; border-radius:var(--wd-form-brd-radius,5px); background:#faf3f3; color:#8b4242; font-size:14px; line-height:1.6; }
.s2f-auth-privacy { margin:18px 0 0; color:var(--wd-text-color,#767676); font-size:13px; line-height:1.6; }
.s2f-auth-extra .woocommerce-privacy-policy-text { margin:14px 0 0; }
.s2f-auth-extra .woocommerce-privacy-policy-text p, .s2f-auth-extra .woocommerce-privacy-policy-text { color:var(--wd-text-color,#767676); font-size:12px; line-height:1.6; }
.s2f-auth-extra .woocommerce-privacy-policy-text p { margin:0; }
.s2f-auth-extra .woocommerce-privacy-policy-text a { color:var(--wd-alternative-color,#808472); text-decoration:underline; }
.s2f-auth-extra:empty { display:none; }
@media(max-width:900px) { .s2f-auth-layout { gap:32px; } .s2f-auth-brand { padding:30px 26px; } .s2f-auth-brand h1 { font-size:29px; } }
@media(max-width:640px) { .s2f-auth-layout { grid-template-columns:1fr; gap:28px; margin:12px auto 28px; } .s2f-auth-brand { padding:24px; } .s2f-auth-brand h1 { font-size:28px; } .s2f-auth-brand h1 br { display:none; } .s2f-auth-brand .s2f-auth-kicker { margin-bottom:12px; } .s2f-auth-benefits { display:none; } .s2f-passwordless { margin:16px auto!important; } .s2f-auth-card { padding:0; } .s2f-passwordless h2 { font-size:24px; } }
