.auth-preview { padding-bottom:72px; }
.auth-preview .page-heading { max-width:850px; }
.auth-preview-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:54px; align-items:start; max-width:1100px; }
.auth-preview-story { background:var(--navy,#1f3a5f); color:#fff; padding:38px; border-radius:var(--radius,12px); overflow:hidden; }
.auth-preview-mark { width:64px; height:64px; background:#fff; border-radius:8px; padding:7px; margin-bottom:37px; }
.auth-preview-mark img { display:block; width:100%; height:100%; object-fit:contain; }
.auth-preview-story .eyebrow { color:#c6cad5; margin-bottom:14px; }
.auth-preview-story h2 { font-size:clamp(2rem,3.5vw,3rem); max-width:420px; line-height:1.12; }
html[dir="rtl"] .auth-preview-story h2 { line-height:1.5; }
.auth-preview-story > p { color:#dce3ef; margin-top:21px; max-width:390px; font-size:1rem; line-height:1.8; }
.auth-preview-benefits { display:grid; gap:18px; margin-top:31px; padding-top:26px; border-top:1px solid #ffffff2b; }
.auth-preview-benefits strong { display:block; font-size:1rem; }
.auth-preview-benefits span { display:block; color:#cbd6e6; font-size:.875rem; margin-top:4px; }
.auth-preview-form { max-width:580px; width:100%; }
.auth-preview-form .auth-preview-switch { margin-top:12px; font-size:.9375rem; color:var(--muted,#637185); }
.auth-preview-text-link { font-weight:700; color:var(--navy,#1f3a5f); text-decoration:underline; text-underline-offset:4px; }
.auth-preview-methods { display:flex; flex-wrap:wrap; gap:10px; margin-top:27px; padding-bottom:7px; }
.auth-preview-method { flex:1 1 135px; display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:10px 14px; border:1px solid var(--line,#e1e6ed); border-radius:5px; background:#fff; color:var(--navy,#1f3a5f); font-size:.9375rem; font-weight:700; }
.auth-preview-method[aria-pressed="true"] { background:var(--navy,#1f3a5f); border-color:var(--navy,#1f3a5f); color:#fff; }
.auth-preview-method:hover { border-color:var(--navy,#1f3a5f); }
.auth-preview-form .field { margin-top:20px; }
.auth-preview-form .field input { min-width:0; width:100%; font-size:1rem; }
.auth-preview-submit { margin-top:26px; }
.auth-preview-submit .button { width:100%; }
.auth-preview-note { margin-top:21px; padding:15px 16px; border-radius:6px; background:var(--paper,#f3f5f8); color:var(--muted,#637185); font-size:.8125rem; line-height:1.7; }
.auth-preview-note strong { display:block; color:var(--navy,#1f3a5f); margin-bottom:3px; font-size:.875rem; }
.auth-preview-note span { display:block; }
.auth-preview-account-link { margin-top:19px; font-size:.875rem; }
.auth-preview-error { margin-top:20px; padding:13px 15px; border-inline-start:3px solid #a13c3c; background:#fbf1f1; color:#862e2e; border-radius:4px; font-size:.9375rem; }
@media(max-width:850px) {
  .auth-preview-grid { grid-template-columns:1fr 1.15fr; gap:25px; }
  .auth-preview-story { padding:28px; }
  .auth-preview-form { padding:25px; }
}
@media(max-width:650px) {
  .auth-preview { padding-bottom:46px; }
  .auth-preview-grid { grid-template-columns:minmax(0,1fr); gap:25px; }
  .auth-preview-form { order:1; max-width:none; padding:24px 20px; }
  .auth-preview-story { order:2; padding:27px 24px; }
  .auth-preview-mark { margin-bottom:25px; }
  .auth-preview-benefits { margin-top:23px; }
  .auth-preview-methods { gap:8px; }
  .auth-preview-method { flex-basis:110px; padding-inline:10px; font-size:.875rem; }
}
.account-live-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; align-items:start; }
.account-live-grid .field { margin-top:20px; }
.account-live-grid p { margin-top:18px; overflow-wrap:anywhere; line-height:1.7; }
.recovery-panel { margin-bottom:32px; border:2px solid var(--navy); }
.recovery-panel > p { margin-block:20px; line-height:1.7; max-width:800px; }
.recovery-codes { list-style:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:0; margin:20px 0; }
.recovery-codes li { padding:12px; background:var(--paper); border:1px solid var(--line); border-radius:5px; overflow-wrap:anywhere; }
.recovery-codes code { font-size:.875rem; }
button:disabled { opacity:.6; cursor:wait; }
@media(max-width:700px){.account-live-grid{grid-template-columns:minmax(0,1fr)}.recovery-codes{grid-template-columns:minmax(0,1fr)}}

/* Formal company registration is limited to the direct company sign-up page. */
.company-registration .page-heading{max-width:900px;margin-bottom:30px}
.company-registration .page-heading .eyebrow{color:var(--navy,#1f3a5f);letter-spacing:.1em}
.company-registration .page-heading h1{max-width:850px;font-size:clamp(1.9rem,3.1vw,2.75rem);line-height:1.22;letter-spacing:-.025em}
.company-registration .page-heading>p{max-width:780px;font-size:1rem;line-height:1.8;margin-top:16px}
.company-registration .auth-preview-grid{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:32px;max-width:1160px}
.company-registration-story{padding:30px;border:1px solid #c6cad5;border-top:3px solid #c872f2;border-radius:12px;background:#1f3a5f;color:#fff;min-width:0}
.company-registration-brand{display:flex;align-items:center;gap:15px;padding-bottom:24px;border-bottom:1px solid #c6cad540}
.company-registration-brand>img{width:47px;height:47px;object-fit:contain;background:#fff;padding:6px;border-radius:8px;flex:none}
.company-registration-brand .eyebrow{font-size:.6875rem;letter-spacing:.1em;color:#d7dae4;margin-bottom:7px}
.company-registration-brand h2{font-size:1.25rem;line-height:1.4;margin:0;color:#fff;letter-spacing:0}
.company-registration-benefits{list-style:none;margin:0;padding:0;display:grid}
.company-registration-benefits>li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:13px;padding:22px 0;border-bottom:1px solid #c6cad530}
.company-registration-number{font-size:.6875rem;font-weight:700;line-height:26px;text-align:center;width:28px;height:28px;border:1px solid #c6cad54d;border-radius:7px;color:#ecd9fc;background:#37286566;direction:ltr}
.company-registration-benefits h3{font-size:.9375rem;font-weight:700;line-height:1.5;color:#fff;margin:0 0 7px;letter-spacing:0}
.company-registration-benefits p{font-size:.875rem;line-height:1.75;color:#e0e5ee;margin:0;overflow-wrap:anywhere}
.company-registration-tax-note{font-size:.75rem;line-height:1.8;margin:22px 0 0;color:#d5dbe7;padding-inline-start:13px;border-inline-start:2px solid #c872f2}
.company-registration .auth-preview-form{max-width:none;border-color:#c6cad5;padding:30px}
.company-registration .auth-preview-form>h2{font-size:1.25rem;line-height:1.5;letter-spacing:0}
.company-registration .auth-preview-methods{margin-top:23px}
.company-registration-email-note{padding:12px 14px;border-inline-start:2px solid #c872f2;background:#f4f2f8;line-height:1.8}
.company-registration .auth-preview-submit .button{min-height:48px;background:#1f3a5f;border-color:#1f3a5f;color:#fff}
.company-registration .auth-preview-submit .button:hover{background:#372865;border-color:#372865;color:#fff}
html[dir="rtl"] .company-registration .page-heading h1{line-height:1.65;letter-spacing:0}
html[dir="rtl"] .company-registration .eyebrow{letter-spacing:0}
html[dir="rtl"] .company-registration-benefits h3{font-size:1rem}
html[dir="rtl"] .company-registration-benefits p{line-height:1.95}
@media(max-width:900px){
  .company-registration .auth-preview-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:22px}
  .company-registration-story,.company-registration .auth-preview-form{padding:24px}
}
@media(max-width:740px){
  .company-registration .page-heading{margin-bottom:23px}
  .company-registration .page-heading h1{font-size:1.875rem}
  .company-registration .page-heading>p{font-size:.9375rem;line-height:1.8}
  .company-registration .auth-preview-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .company-registration .auth-preview-form{order:1;padding:24px 20px}
  .company-registration-story{order:2;padding:25px 22px}
  .company-registration-brand{padding-bottom:20px}
  .company-registration-benefits>li{padding:19px 0}
  .company-registration .company-profile-fields{grid-template-columns:minmax(0,1fr)}
}
