.recovery-page{min-height:100dvh;background:#f6f7fc}.recovery-page .ca-header{display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #dce3f2}.recovery-page .ca-header .brand{display:flex;align-items:center;line-height:1}.recovery-page .ca-header .brand img{display:block;width:145px;height:auto}.recovery-page .ca-header>a:last-child{font-size:14px}.recovery-main{width:100%;padding:32px 20px 64px;box-sizing:border-box}.recovery-card{width:100%;max-width:540px;margin:0 auto;box-sizing:border-box;padding:32px}.recovery-card h1{margin:0 0 12px;font-size:32px;line-height:1.2;letter-spacing:-.035em}.recovery-card>p.muted{margin:0;color:#637590;line-height:1.6}.recovery-card .recovery-progress{margin:28px 0 24px;gap:8px;font-size:13px;font-weight:600}.recovery-progress li{min-width:0;line-height:1.4}.recovery-card .recovery-step h2{font-size:20px;line-height:1.3;margin:0 0 12px}.recovery-card .recovery-step>p{color:#637590;line-height:1.6;margin:0 0 20px}.recovery-card .field{display:grid;gap:8px;margin:20px 0 0}.recovery-card .field:first-child{margin-top:0}.recovery-card .field label{color:#192450;font-size:14px;font-weight:700;line-height:1.5}.recovery-card .field input{width:100%;min-width:0;min-height:52px;box-sizing:border-box;font:inherit;font-size:16px;color:#192450;border:1px solid #dce3f2;border-radius:12px;background:#fff;padding:12px 14px}.recovery-card .password-field input{padding-right:88px}.recovery-card .field input[aria-invalid=true]{border-color:#aa293b}.recovery-card .field-error{color:#aa293b;font-size:13px;line-height:1.5;margin:0}.recovery-card .helper{font-size:13px;line-height:1.5;color:#637590}.recovery-card .recovery-actions{gap:10px;margin-top:20px}.recovery-card .recovery-actions .ca-button{width:auto;min-height:44px;font-size:14px}.recovery-card .recovery-submit{margin-top:24px}.recovery-card .recovery-submit .ca-button{margin:0}.recovery-card .recovery-back{margin:24px 0 0;padding-top:20px;border-top:1px solid #dce3f2;font-size:14px}.recovery-card .recovery-success{margin-top:24px}.recovery-card #newPasswordHint.is-met{color:#168553}.recovery-card #newPasswordHint.is-missing{color:#b4233d}@media(max-width:650px){.recovery-page .ca-header{padding:16px 20px}.recovery-main{padding:24px 16px 48px}.recovery-card{padding:24px 20px}.recovery-card h1{font-size:27px}.recovery-card .recovery-progress{font-size:12px}.recovery-card .recovery-actions .ca-button{padding:10px 14px}}

.recovery-card #confirmPasswordHint.is-met{color:#168553}

/* A compact, readable sequence shares the form's existing colors and spacing. */
.recovery-page .ca-header{justify-content:flex-start}.recovery-card .recovery-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:28px 0 28px;padding:0;list-style:none}.recovery-card .recovery-progress li{display:flex;align-items:center;gap:7px;min-width:0;padding:0;border:0;color:#637590;font-size:13px;line-height:1.3;white-space:nowrap}.recovery-card .recovery-progress li span{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:#eef1f8;color:#637590;font-size:12px;font-weight:700}.recovery-card .recovery-progress li[aria-current=step]{color:#192450}.recovery-card .recovery-progress li[aria-current=step] span{background:#315bdf;color:#fff}.recovery-card .recovery-progress li.complete span{background:#e5f4ed;color:#176c4e}.recovery-card .recovery-back{border:0;padding:0;margin:22px 0 0}.recovery-card .recovery-back a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}.recovery-card .recovery-back a:hover{text-decoration:underline}@media(max-width:360px){.recovery-card .recovery-progress li{gap:4px;font-size:11px}.recovery-card .recovery-progress li span{width:22px;height:22px}}

/* Progress follows the space-registration layout and colors. */
.recovery-main{max-width:860px;margin:0 auto;display:grid;grid-template-columns:200px minmax(0,540px);justify-content:center;align-items:start;gap:36px;padding-top:42px}.recovery-main .recovery-progress{display:grid;grid-template-columns:1fr;align-content:start;gap:12px;list-style:none;margin:0;padding:0;color:#71819a;font-size:14px;font-weight:400}.recovery-main .recovery-progress li{display:flex;align-items:center;gap:12px;min-width:0;padding:10px;border:0;line-height:1.4;white-space:nowrap}.recovery-main .recovery-progress .num{display:grid;place-items:center;flex:none;width:32px;height:32px;box-sizing:border-box;border:1px solid #d4def2;border-radius:50%;background:transparent;color:inherit;font-size:14px;font-weight:700}.recovery-main .recovery-progress li[aria-current=step]{color:#244bc6;font-weight:700}.recovery-main .recovery-progress li[aria-current=step] .num{background:#315bdf;color:#fff;border-color:#315bdf}.recovery-main .recovery-progress li.complete .num{background:#e3f6eb;color:#168553;border-color:#e3f6eb}.recovery-main .recovery-card{margin:0}.recovery-main .step-label{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:nowrap}
@media(max-width:760px){.recovery-main{display:block;max-width:572px;margin:0 auto;padding:24px 16px 48px}.recovery-main .recovery-progress{display:flex;gap:8px;overflow-x:auto;margin:0 0 20px;padding:0 0 4px;scrollbar-width:thin}.recovery-main .recovery-progress li{gap:8px;padding:4px;font-size:13px}.recovery-main .recovery-progress .step-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.recovery-main .recovery-progress li[aria-current=step] .step-label{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.recovery-main .recovery-card{margin:0 auto}}
@media(max-width:350px){.recovery-main .recovery-progress{gap:3px}.recovery-main .recovery-progress li{font-size:11px}.recovery-main .recovery-progress .num{width:29px;height:29px}}

/* The completed flow has one clear destination and no unfinished steps. */
.recovery-main.is-complete{display:flex;justify-content:center}
.recovery-main.is-complete .recovery-progress,.recovery-main.is-complete .recovery-card>h1,.recovery-main.is-complete .recovery-card>p.muted,.recovery-main.is-complete .recovery-back{display:none}
.recovery-card .recovery-success{margin:0;padding:8px 0 0;background:transparent;color:var(--ca-ink)}
.recovery-success-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:#e4f8ef;margin-bottom:24px}
.recovery-success-icon img{filter:invert(37%) sepia(25%) saturate(1034%) hue-rotate(103deg) brightness(90%)}
.recovery-card .recovery-success h1{font-size:28px;line-height:1.2;letter-spacing:-.03em;margin:0 0 12px;outline:none}
.recovery-success p{font-size:16px;line-height:1.6;color:var(--ca-muted);margin:0}
.ca-page .recovery-card .recovery-success-action{display:flex;width:100%;box-sizing:border-box;min-height:52px;margin:28px 0 0;text-decoration:none}
.recovery-success-action img{filter:brightness(0) invert(1)}
@media(max-width:650px){.recovery-card .recovery-success h1{font-size:25px}.recovery-success-icon{margin-bottom:20px}}

/* The three mobile steps keep their positions as the active label changes. */
@media(max-width:760px){
 .recovery-main .recovery-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;overflow:visible;margin:0 0 24px;padding:0;list-style:none}
 .recovery-main .recovery-progress li{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:0;border:0;white-space:normal;text-align:center;font-size:12px;line-height:1.3;color:#596b83}
 .recovery-main .recovery-progress li::before{content:"";position:absolute;top:15px;right:50%;width:100%;height:2px;background:#d4def2;z-index:0}
 .recovery-main .recovery-progress li:first-child::before{display:none}
 .recovery-main .recovery-progress li.complete::before,.recovery-main .recovery-progress li[aria-current=step]::before{background:#315bdf}
 .recovery-main .recovery-progress .num{position:relative;z-index:1;width:32px;height:32px;background:#fff}
 .recovery-main .recovery-progress .step-label,.recovery-main .recovery-progress li[aria-current=step] .step-label{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;white-space:normal}
 .recovery-main .recovery-progress li[aria-current=step]{color:#244bc6}
 .recovery-main .recovery-progress li.complete .num{background:#e3f6eb}
}

/* Match the space-registration step markers while keeping the labels visible. */
.recovery-main .recovery-progress .num{border-color:#cfdaef;background:#f4f7ff;color:#8190aa;transition:background-color .28s cubic-bezier(.2,0,0,1),border-color .28s cubic-bezier(.2,0,0,1),color .28s cubic-bezier(.2,0,0,1),box-shadow .28s cubic-bezier(.2,0,0,1)}
.recovery-main .recovery-progress li[aria-current=step] .num{background:#315bdf;border-color:#315bdf;color:#fff;box-shadow:0 0 0 5px #315bdf10}
.recovery-main .recovery-progress li.complete .num{background:#e8efff;border-color:#d4dfff;color:#315bdf}
.recovery-step-check{display:block;width:18px;height:18px}
@media(max-width:760px){.recovery-main .recovery-progress li::before{background:#d9e3f3}.recovery-main .recovery-progress li.complete::before,.recovery-main .recovery-progress li[aria-current=step]::before{background:#315bdf}}
@media(prefers-reduced-motion:reduce){.recovery-main .recovery-progress .num{transition:none}}
