/* HyperDAF Commerce Step 50 — unified centered authentication surfaces. */
.hdc-account-login-form{--hdc-auth-field-height:34px;--hdc-auth-show-width:36px;--hdc-auth-show-height:22px;--hdc-auth-button-radius:6px;display:grid;gap:8px;margin-top:8px;padding:10px;border:1px solid var(--hdc-flat-border,#E5E7EB);border-radius:10px;background:var(--hdc-flat-surface,#fff)}
.hdc-account-login-form .hdc-auth-field{gap:4px}.hdc-account-login-form .hdc-auth-field>span:first-child{font-size:.62rem}.hdc-account-login-form .hdc-auth-field input{display:block;width:100%;min-width:0;height:var(--hdc-auth-field-height)!important;min-height:var(--hdc-auth-field-height)!important;max-height:var(--hdc-auth-field-height)!important;box-sizing:border-box;margin:0;padding:0 9px;font-size:.68rem}.hdc-account-login-form .hdc-auth-password{width:100%;height:var(--hdc-auth-field-height);min-height:var(--hdc-auth-field-height);max-height:var(--hdc-auth-field-height)}.hdc-account-login-form .hdc-auth-password input{width:100%;height:100%!important;min-height:100%!important;max-height:100%!important;padding-inline-end:calc(var(--hdc-auth-show-width) + 10px)}.hdc-account-login-form .hdc-auth-password__toggle{inset-inline-end:5px;padding:0 4px;font-size:.58rem}.hdc-account-login-form__options{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.61rem}.hdc-account-login-form__options>a,.hdc-account-login-form__register a{color:var(--hdc-primary,#05658A);font-weight:700;text-decoration:none}.hdc-account-login-form__options>a:hover,.hdc-account-login-form__register a:hover{text-decoration:underline;text-underline-offset:2px}.hdc-account-login-form .hdc-account-widget__signin{width:100%;border-color:var(--hdc-primary,#05658A);background:var(--hdc-primary,#05658A);color:#fff}.hdc-account-login-form .hdc-account-widget__signin:hover{border-color:var(--hdc-primary-hover,#034E6F);background:var(--hdc-primary-hover,#034E6F);color:#fff}.hdc-account-login-form__register{margin:0;text-align:center;color:var(--hdc-muted-text,#667085);font-size:.61rem;line-height:1.35}.hdc-account-widget__help--signed-out{grid-template-columns:minmax(0,1fr)}.hdc-account-widget__help--signed-out .hdc-account-widget__help-button{width:100%}

body.hdc-auth-page{--hdc-auth-page-max:1180px;--hdc-auth-card-width:384px;--hdc-auth-field-height:40px;--hdc-auth-radius:12px;--hdc-auth-heading-size:24px;--hdc-auth-card-padding-x:13px;--hdc-auth-card-padding-y:11px;--hdc-auth-row-gap:5px;--hdc-auth-column-gap:7px;--hdc-auth-label-size:10px;--hdc-auth-input-size:12px;--hdc-auth-field-radius:8px;--hdc-auth-show-width:34px;--hdc-auth-show-height:22px;--hdc-auth-primary-height:30px;--hdc-auth-button-radius:8px;--hdc-auth-meta-size:9px;--hdc-auth-back-height:36px;--hdc-auth-back-offset:14px;--hdc-auth-bg:#F3F4F6;--hdc-auth-card-bg:#fff;--hdc-auth-accent:#05658A;--hdc-auth-accent-hover:#034E6F;margin:0!important;min-width:280px;min-height:100vh;min-height:100dvh;background:var(--hdc-auth-bg)!important;color:#111827;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.4;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.hdc-auth-page *,body.hdc-auth-page *::before,body.hdc-auth-page *::after{box-sizing:border-box;box-shadow:none!important;text-shadow:none!important;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.hdc-auth-page #wpadminbar{display:none!important}
.hdc-auth-shell{display:grid;width:min(calc(100% - 20px),var(--hdc-auth-page-max));min-height:100vh;min-height:100dvh;margin:0 auto;padding:12px 0;place-items:center}
.hdc-auth-back{position:fixed;z-index:10;top:max(var(--hdc-auth-back-offset),env(safe-area-inset-top));inset-inline-start:max(var(--hdc-auth-back-offset),env(safe-area-inset-left));display:inline-flex;height:var(--hdc-auth-back-height);min-height:var(--hdc-auth-back-height);align-items:center;gap:7px;padding:0 11px;border:1px solid #D9DEE7;border-radius:999px;background:var(--hdc-auth-global-primary,#F97316);color:var(--hdc-auth-global-on-primary,#fff);font-size:13px;font-weight:700;text-decoration:none}.hdc-auth-back:hover,.hdc-auth-back:focus-visible{border-color:var(--hdc-auth-global-primary-hover,#EA580C);background:var(--hdc-auth-global-primary-hover,#EA580C);color:var(--hdc-auth-global-on-primary,#fff);outline:0}.hdc-auth-back span[aria-hidden]{font-size:16px;line-height:1}
.hdc-auth-card,.hdc-auth-page--login .hdc-auth-card,.hdc-auth-page--signup .hdc-auth-card,.hdc-auth-page--forgot .hdc-auth-card{width:min(100%,var(--hdc-auth-card-width));margin-inline:auto;padding:var(--hdc-auth-card-padding-y) var(--hdc-auth-card-padding-x);border:1px solid #DEE3EA;border-radius:var(--hdc-auth-radius);background:var(--hdc-auth-card-bg)}
.hdc-auth-brand{display:inline-flex;align-items:center;gap:7px;margin-bottom:5px;color:#0F172A;text-decoration:none}.hdc-auth-brand__logo,.hdc-auth-brand__fallback{display:grid;width:28px;height:28px;flex:0 0 28px;place-items:center;overflow:hidden;border-radius:8px;object-fit:cover}.hdc-auth-brand__fallback{background:var(--hdc-auth-accent);color:#fff;font-size:18px;font-weight:700}.hdc-auth-brand__name{max-width:300px;overflow:hidden;font-size:16px;font-weight:700;line-height:1.1;letter-spacing:-.025em;text-overflow:ellipsis;white-space:nowrap}
.hdc-auth-card__head{margin-bottom:5px}.hdc-auth-eyebrow{display:block;margin-bottom:1px;color:var(--hdc-auth-accent);font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.hdc-auth-card__head h1{margin:0;color:#0F172A;font-size:var(--hdc-auth-heading-size);font-weight:700;line-height:1.1;letter-spacing:-.03em}.hdc-auth-card__head p{max-width:56ch;margin:3px 0 0;color:#667085;font-size:11px;line-height:1.35}
.hdc-auth-form{display:grid;gap:var(--hdc-auth-row-gap)}.hdc-auth-grid{display:grid;grid-template-columns:1fr;gap:var(--hdc-auth-row-gap)}.hdc-auth-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:var(--hdc-auth-row-gap) var(--hdc-auth-column-gap);width:100%}.hdc-auth-pair--single{grid-template-columns:1fr}.hdc-auth-field{display:grid;width:100%;min-width:0;gap:2px;color:#344054;font-size:var(--hdc-auth-label-size);font-weight:700;line-height:1.2}.hdc-auth-field--full{width:100%}.hdc-auth-field>small{min-height:10px;color:#7B8494;font-size:calc(var(--hdc-auth-meta-size) - 1px);font-weight:400;line-height:1.15}.hdc-auth-field__spacer{visibility:hidden}body.hdc-auth-page .hdc-auth-field input,body.hdc-auth-page .hdc-auth-field select{display:block;width:100%;min-width:0;height:var(--hdc-auth-field-height)!important;min-height:var(--hdc-auth-field-height)!important;max-height:var(--hdc-auth-field-height)!important;box-sizing:border-box!important;margin:0;padding:0 8px;border:1px solid #D0D5DD;border-radius:var(--hdc-auth-field-radius);background:#fff;color:#101828;font:inherit;font-size:var(--hdc-auth-input-size);font-weight:400;line-height:normal;outline:0;box-shadow:none;appearance:auto}body.hdc-auth-page .hdc-auth-field input:focus,body.hdc-auth-page .hdc-auth-field select:focus{border-color:var(--hdc-auth-accent);outline:2px solid color-mix(in srgb,var(--hdc-auth-accent) 24%,transparent);outline-offset:1px}body.hdc-auth-page .hdc-auth-field input::placeholder{color:#98A2B3}
.hdc-auth-password{position:relative;display:block;width:100%;min-width:0;height:var(--hdc-auth-field-height);min-height:var(--hdc-auth-field-height);max-height:var(--hdc-auth-field-height)}.hdc-auth-password input{height:100%;padding-inline-end:calc(var(--hdc-auth-show-width) + 10px)}.hdc-auth-password__toggle{position:absolute;top:50%;inset-inline-end:4px;width:var(--hdc-auth-show-width);min-width:var(--hdc-auth-show-width);height:var(--hdc-auth-show-height);min-height:var(--hdc-auth-show-height);padding:0 4px;border:1px solid var(--hdc-auth-global-primary,#F97316);border-radius:var(--hdc-auth-button-radius);background:var(--hdc-auth-global-primary,#F97316);color:var(--hdc-auth-global-on-primary,#fff);font-size:9px;font-weight:700;line-height:1;transform:translateY(-50%);cursor:pointer}.hdc-auth-password__toggle:hover,.hdc-auth-password__toggle:focus-visible{border-color:var(--hdc-auth-global-primary-hover,#EA580C);background:var(--hdc-auth-global-primary-hover,#EA580C);color:var(--hdc-auth-global-on-primary,#fff);outline:0}
.hdc-auth-form__meta{display:flex;min-height:20px;align-items:center;justify-content:space-between;gap:8px;font-size:var(--hdc-auth-meta-size)}.hdc-auth-form__meta>a,.hdc-auth-switch>a,.hdc-auth-terms a{color:var(--hdc-auth-accent);font-weight:700;text-decoration:none}.hdc-auth-form__meta>a:hover,.hdc-auth-switch>a:hover,.hdc-auth-terms a:hover{text-decoration:underline;text-underline-offset:2px}.hdc-auth-check,.hdc-auth-terms{display:flex;align-items:flex-start;gap:7px;color:#475467;font-size:var(--hdc-auth-meta-size);font-weight:400;line-height:1.25;cursor:pointer}.hdc-auth-check input,.hdc-auth-terms input{width:14px;height:14px;flex:0 0 14px;margin:0;accent-color:var(--hdc-auth-accent)}.hdc-auth-terms{padding:5px 6px;border:1px solid #E4E7EC;border-radius:8px;background:#FAFBFC}
.hdc-auth-submit{display:inline-flex;width:100%;height:var(--hdc-auth-primary-height);min-height:var(--hdc-auth-primary-height);align-items:center;justify-content:center;padding:0 10px;border:1px solid var(--hdc-auth-global-primary,#F97316);border-radius:var(--hdc-auth-button-radius);background:var(--hdc-auth-global-primary,#F97316);color:var(--hdc-auth-global-on-primary,#fff);font-size:11px;font-weight:700;line-height:1.15;text-decoration:none;cursor:pointer}.hdc-auth-submit:hover,.hdc-auth-submit:focus-visible{border-color:var(--hdc-auth-global-primary-hover,#EA580C);background:var(--hdc-auth-global-primary-hover,#EA580C);color:var(--hdc-auth-global-on-primary,#fff);outline:0}.hdc-auth-submit--link{margin-top:2px}.hdc-auth-switch{margin:6px 0 0;color:#667085;font-size:var(--hdc-auth-meta-size);text-align:center}
body.hdc-auth-page .woocommerce-error,body.hdc-auth-page .woocommerce-message,body.hdc-auth-page .woocommerce-info{display:block;margin:0 0 8px!important;padding:7px 9px!important;border:1px solid #E4E7EC!important;border-radius:8px!important;background:#F9FAFB!important;color:#344054!important;font-size:10px!important;line-height:1.3!important;list-style:none!important;box-shadow:none!important}body.hdc-auth-page .woocommerce-error{border-color:#FECACA!important;background:#FEF2F2!important;color:#991B1B!important}body.hdc-auth-page .woocommerce-message{border-color:#BBF7D0!important;background:#F0FDF4!important;color:#166534!important}body.hdc-auth-page .woocommerce-error::before,body.hdc-auth-page .woocommerce-message::before,body.hdc-auth-page .woocommerce-info::before{display:none!important}
/* Step 53 invariant: all standalone authentication pages keep the same compact desktop form composition on every viewport. Responsive sizing may shrink the card to the viewport, but no alternate mobile/tablet form design or one-column Sign Up rewrite is introduced. */

/* Step 54: Sign Up keeps the exact fixed composition but reduces vertical density by roughly 20%. */
.hdc-auth-page--signup .hdc-auth-card{padding-block:var(--hdc-auth-card-padding-y)}
.hdc-auth-page--signup .hdc-auth-brand{margin-bottom:4px}
.hdc-auth-page--signup .hdc-auth-card__head{margin-bottom:4px}
.hdc-auth-page--signup .hdc-auth-form{gap:var(--hdc-auth-row-gap)}
.hdc-auth-page--signup .hdc-auth-grid{gap:var(--hdc-auth-row-gap)}
.hdc-auth-page--signup .hdc-auth-field>small{font-size:8px;line-height:1.1}
.hdc-auth-page--signup .hdc-auth-terms{padding-block:4px}
.hdc-auth-page--signup .hdc-auth-switch{margin-top:4px}

/* Step 55: explicit left/right Sign Up pairs, equal-height controls and deterministic button placement. */
.hdc-auth-pair>.hdc-auth-field{align-self:start;width:100%;min-width:0}.hdc-auth-pair--password>.hdc-auth-field{grid-template-rows:auto var(--hdc-auth-field-height) auto}.hdc-auth-field input[type="date"]{padding-inline-end:6px}.hdc-auth-field select{padding-inline-end:24px}.hdc-auth-form__meta .hdc-auth-check{align-items:center}.hdc-auth-form__meta>a{margin-inline-start:auto;white-space:nowrap}.hdc-auth-submit,.hdc-auth-password__toggle,.hdc-auth-back{line-height:1}.hdc-auth-password__toggle{display:inline-flex;align-items:center;justify-content:center}.hdc-auth-page--forgot .hdc-auth-submit,.hdc-auth-page--login .hdc-auth-submit,.hdc-auth-page--signup .hdc-auth-submit{margin:0}.hdc-auth-terms{align-items:flex-start}.hdc-auth-terms input{margin-top:1px}

/* Step 55 auth refinement: every Sign Up row uses deterministic 50/50 left-right columns when two fields are present. Login/Forgot remain full-width. Approved 384px card width and 40px standalone control height remain unchanged; compact typography is normalized for readability and vertical alignment. */
.hdc-auth-page--signup .hdc-auth-pair>*{min-width:0}.hdc-auth-page--signup .hdc-auth-pair input,.hdc-auth-page--signup .hdc-auth-pair select,.hdc-auth-page--signup .hdc-auth-pair .hdc-auth-password{width:100%}.hdc-auth-page--login .hdc-auth-field,.hdc-auth-page--forgot .hdc-auth-field{width:100%}

@media (max-width:520px){.hdc-auth-shell{width:min(calc(100% - 12px),var(--hdc-auth-page-max))}.hdc-auth-back{top:max(8px,env(safe-area-inset-top));inset-inline-start:max(8px,env(safe-area-inset-left))}}
@media (max-width:340px){.hdc-auth-back span:last-child{display:none}.hdc-auth-back{width:34px;justify-content:center;padding:0}}
@media (prefers-reduced-motion:reduce){.hdc-auth-page *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
html[dir="rtl"] .hdc-auth-back span[aria-hidden="true"]{transform:scaleX(-1)}
