/* Scoped card only; flag-off mount stays hidden and leaves legacy layout alone. */
#local-auth[hidden],#local-auth [hidden]{display:none!important}
body.js-local-auth-anonymous #provider-signin{display:none!important}
#local-auth{box-sizing:border-box;width:calc(100% - 32px);max-width:440px;margin:28px auto;padding:28px;background:#fff;border:1px solid #d9dfe3;border-radius:16px;box-shadow:0 1px 2px #2133430d,0 12px 32px -12px #2133432e;color:#1f1f1f;font:16px/1.5 Arial,"Helvetica Neue",Helvetica,sans-serif;text-align:left}
#local-auth *,#local-auth *::before,#local-auth *::after{box-sizing:border-box}
#local-auth h2{font:400 26px/1.2 Georgia,"Times New Roman",serif;letter-spacing:-.01em;margin:0 0 6px;color:#1f1f1f}
#local-auth .la-sub{font-size:15px;color:#52616b;margin:0 0 20px}
#local-auth .la-segment{display:grid;grid-template-columns:1fr 1fr;background:#eef1f3;border-radius:10px;padding:4px;margin:0 0 22px;gap:0}
#local-auth .la-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:52px;margin:0 0 12px;padding:12px 14px;border:1px solid #9aa6ae;border-radius:10px;font:700 16px/1.25 Arial,"Helvetica Neue",Helvetica,sans-serif;text-transform:none;letter-spacing:normal;cursor:pointer;text-decoration:none;color:#1f1f1f;background:#fff;box-shadow:none}
#local-auth .la-primary{background:#ff4800;border-color:#ff4800;color:#1f1f1f}#local-auth .la-primary:hover{background:#ff5d1c}
#local-auth .la-secondary:hover{background:#f6f8f9}
#local-auth .la-segment button{min-height:44px;padding:11px 8px;margin:0;border:0;border-radius:7px;font-size:15px;color:#52616b;background:transparent}
#local-auth .la-segment button[aria-pressed=true]{background:#fff;color:#1f1f1f;box-shadow:0 1px 3px #2133432e}
#local-auth button:disabled{opacity:.55;cursor:not-allowed}
#local-auth form{display:block;margin:0;padding:0}
#local-auth .la-field{margin:0 0 16px}
#local-auth .la-field>label{display:block;font-size:14px;font-weight:700;line-height:1.5;margin:0 0 6px;color:#1f1f1f}
#local-auth .la-control{position:relative}
#local-auth .la-field input{display:block;width:100%;min-width:0;min-height:50px;margin:0;padding:13px 14px;font:16px/1.4 Arial,"Helvetica Neue",Helvetica,sans-serif;color:#1f1f1f;border:1px solid #9aa6ae;border-radius:10px;background:#fff;box-shadow:none}
#local-auth .la-field input.la-password{padding-right:74px}
#local-auth .la-button.la-toggle{position:absolute;right:3px;top:3px;width:auto;min-height:44px;margin:0;padding:0 12px;border:0;border-radius:7px;font-size:13px;color:#124548;background:transparent}
#local-auth .la-invalid input{border-color:#a3260d;background:#fffaf8}
#local-auth .la-field-error{color:#a3260d;font-size:14px;line-height:1.4;margin:6px 0 0}
#local-auth .la-hint{font-size:14px;color:#52616b;margin:7px 0 0}#local-auth .la-hint::before{content:'✓';margin-right:6px;opacity:.4}#local-auth .la-hint.la-met{color:#1d6b4f}#local-auth .la-hint.la-met::before{opacity:1}
#local-auth .la-button.la-link{display:inline-flex;width:auto;min-height:44px;padding:8px 0;margin:0;border:0;border-radius:3px;font-size:14px;color:#124548;background:none;text-decoration:underline;text-underline-offset:3px}
#local-auth .la-forgot{display:flex;justify-content:flex-end;margin:-10px 0 10px}
#local-auth .la-or{display:flex;align-items:center;gap:12px;color:#52616b;font-size:13px;margin:20px 0}#local-auth .la-or::before,#local-auth .la-or::after{content:'';flex:1;height:1px;background:#d9dfe3}
#local-auth .la-fine{font-size:13px;color:#52616b;margin:18px 0 0;text-align:center}#local-auth a{color:#124548}#local-auth .la-fine a{display:inline-block;min-height:44px;padding:12px 0}
#local-auth .la-alert{background:#fdf2ee;border:1px solid #f0c8bc;border-radius:10px;padding:12px 14px;margin:0 0 18px;color:#5c1a0c;font-size:15px;line-height:1.5}
#local-auth .la-alert .la-link{margin-left:4px}
#local-auth .la-code{font:700 18px/1.4 ui-monospace,Consolas,monospace;letter-spacing:.04em;background:#f8f5ee;border:1px dashed #b9ad8f;border-radius:10px;padding:16px;overflow-wrap:anywhere;user-select:all;margin:4px 0 12px}
#local-auth .la-check{display:flex;align-items:center;gap:10px;min-height:44px;font-size:15px;font-weight:400;margin:16px 0}#local-auth .la-check input{width:20px;height:20px;flex:0 0 20px;accent-color:#124548;margin:0}
#local-auth .la-copy-status{font-size:14px;color:#52616b;margin:0}
#local-auth .la-spinner{width:16px;height:16px;border:2px solid #1f1f1f4d;border-top-color:#1f1f1f;border-radius:50%;animation:la-spin .7s linear infinite}@keyframes la-spin{to{transform:rotate(360deg)}}
#local-auth :focus-visible{outline:3px solid #12454870;outline-offset:2px}
@media(max-width:820px){#local-auth{padding:22px 18px;margin:24px auto}}
@media(prefers-reduced-motion:reduce){#local-auth .la-spinner{animation:none}}
/* The existing signup wrapper is already a card. Neutralize only while this
   anonymous card is active; flag-off and signed-in business forms keep it. */
body.js-local-auth-anonymous.provider-signup-flow .request-panel{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0}
body.js-local-auth-anonymous.provider-signup-flow #local-auth{width:100%;margin:0 auto 24px}
@media(max-width:700px){body.js-local-auth-anonymous.provider-signup-flow .request-layout{padding-inline:16px}}
/* Standalone recovery screens can follow a signed-in password change. */
body.js-local-auth-standalone.provider-signup-flow .request-panel{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0}
body.js-local-auth-standalone.provider-signup-flow #local-auth{width:100%;margin:0 auto 24px}
#local-auth.la-account-bar{width:100%;max-width:none;margin:0 0 20px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#local-auth .la-account-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 12px;border-bottom:1px solid #d9dfe3}
#local-auth .la-account-identity{font-size:14px;font-weight:600;margin:0;overflow-wrap:anywhere;min-width:0}
#local-auth .la-account-controls{display:flex;gap:16px;flex-shrink:0}
#local-auth.la-account-bar>h2{margin-top:20px}
#local-auth.la-account-bar>form{padding:20px;border:1px solid #d9dfe3;border-radius:12px;background:#fff;margin-top:16px}
#local-auth .la-alert .la-link{display:inline;min-height:0;line-height:inherit;padding:14px 0;margin:-14px 0 -14px 4px;font-size:inherit;vertical-align:baseline;box-decoration-break:clone}
@media(max-width:820px){
 body.js-local-auth-anonymous.provider-signup-flow .request-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding-inline:16px}
 body.js-local-auth-anonymous.provider-signup-flow .request-intro{display:contents}
 body.js-local-auth-anonymous.provider-signup-flow .request-intro>.eyebrow{order:0;margin-bottom:0}
 body.js-local-auth-anonymous.provider-signup-flow .request-intro>h1{order:1;margin-block:0}
 body.js-local-auth-anonymous.provider-signup-flow .request-intro>.intro-copy{order:2;margin:0}
 body.js-local-auth-anonymous.provider-signup-flow .request-panel{order:3}
 body.js-local-auth-anonymous.provider-signup-flow .provider-pricing-note{order:4;margin:0}
 body.js-local-auth-anonymous.provider-signup-flow .provider-benefits{order:5;margin:0}
}
@media(max-width:480px){#local-auth .la-account-line{align-items:flex-start;flex-direction:column;gap:0}#local-auth.la-account-bar>form{padding:18px}}
