/* Opt-in staging theme for authentication and onboarding only.
   Forms and POST routes remain unchanged, no registrations created. */
.pdu-auth-preview{
 --auth-bg:#F4F5FA;--auth-panel:#17191E;--auth-text:#17191E;
 --auth-muted:#59647B;--auth-border:#E3E6EF;--auth-accent:#F73760;
 --auth-radius:13px;--auth-radius-sm:10px
}
.pdu-auth-preview .auth-brand-panel{
 background:linear-gradient(148deg,#17191E 0%,#202946 62%,#4F578D 100%)
}
.pdu-auth-preview .auth-brand-copy h1,
.pdu-auth-preview .auth-card h2{
 font-family:Montserrat,Inter,Arial,sans-serif;letter-spacing:-.035em
}
.pdu-auth-preview .auth-brand-copy h1{font-weight:800}
.pdu-auth-preview .auth-card{border-radius:13px;box-shadow:0 15px 45px rgba(23,25,30,.06)}
.pdu-auth-preview .auth-card-kicker{color:#4F578D}
.pdu-auth-preview .auth-field input{
 border-color:#E3E6EF;border-radius:10px;min-height:48px
}
.pdu-auth-preview .auth-checkbox input{accent-color:#4F578D}
.pdu-auth-preview .auth-submit{
 background:#F73760;color:#FFFFFF;font-size:19px;font-weight:700;
 min-height:55px;line-height:1.3;border-radius:10px
}
.pdu-auth-preview .auth-submit:hover{background:#F73760;opacity:1;
 box-shadow:0 7px 17px rgba(23,25,30,.12);transform:translateY(-1px)}
.pdu-auth-preview :is(a,button,input):focus-visible{outline:3px solid #4F578D;outline-offset:3px}
/* Onboarding extends layouts.app, not the public auth layout. */
.pdu-onboarding-preview{background:#F4F5FA;color:#17191E}
.pdu-onboarding-preview .page{max-width:1240px}
.pdu-onboarding-preview .card{background:#FFFFFF;border-color:#E3E6EF;
 box-shadow:none;border-radius:13px}
.pdu-onboarding-preview h1,.pdu-onboarding-preview h2{
 font-family:Montserrat,Inter,Arial,sans-serif;color:#17191E
}
.pdu-onboarding-preview .intro{color:#59647B;line-height:1.65}
.pdu-onboarding-preview :is(.primary-button,.btn-primary,.button-primary){
 background:#F73760;color:#FFFFFF;border-color:#F73760;
 font-size:19px;font-weight:700;min-height:54px;border-radius:10px
}
.pdu-onboarding-preview :is(a,input,button,select,textarea):focus-visible{
 outline:3px solid #4F578D;outline-offset:3px
}
.pdu-onboarding-banner{display:flex;align-items:center;justify-content:space-between;
 gap:12px;padding:15px 22px;background:#FFFFFF;border-bottom:2px solid #4F578D;
 color:#4F578D;font:800 12px/1.4 Inter,Arial,sans-serif}
.pdu-onboarding-banner a{color:#4F578D;text-decoration:underline}
@media(max-width:740px){
 .pdu-onboarding-banner{flex-direction:column;align-items:flex-start}
 .pdu-auth-preview .auth-card{box-shadow:none}
}
@media(prefers-reduced-motion:reduce){
 .pdu-auth-preview *,.pdu-onboarding-preview *{transition:none!important;animation:none!important}
}

/* Onboarding remains optional for billing: account and invoices accessible before first project. */
.pxia-onboarding-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.pxia-onboarding-topbar .onboarding-brand{margin-bottom:0}
.pxia-onboarding-account-links{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.pxia-onboarding-account-links a{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border:1px solid #e3e5ee;border-radius:9px;background:#fff;color:#4F578D;font-size:12px;font-weight:750;line-height:1.4;text-decoration:none;min-height:39px}
.pxia-onboarding-account-links a:hover,.pxia-onboarding-account-links a:focus-visible{border-color:#4F578D;color:#31395f;text-decoration:underline;text-underline-offset:3px}
.pxia-onboarding-account-hint{font-size:12px;line-height:1.55;margin:4px 0 14px;color:#526177}
.pxia-onboarding-account-hint a{font-weight:750;text-decoration:underline;text-underline-offset:3px;color:#4F578D}
@media(max-width:560px){.pxia-onboarding-topbar{align-items:stretch}.pxia-onboarding-account-links{width:100%;justify-content:stretch}.pxia-onboarding-account-links a{flex:1 1 135px;padding:10px 9px}}

.pxia-onboarding-account-links form{margin:0;display:flex;align-items:center}
.pxia-onboarding-account-links button{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:9px 12px;border:1px solid transparent;border-radius:9px;background:transparent;color:#5c6370;font-family:inherit;font-size:12px;font-weight:650;cursor:pointer}
.pxia-onboarding-account-links button:hover,.pxia-onboarding-account-links button:focus-visible{color:#252b36;background:#f2f4f7;text-decoration:underline;text-underline-offset:3px}
