/* Standalone recovery layout: illustration dimensions never set the page height. */
.recovery-page *{box-sizing:border-box}
.recovery-page{margin:0;min-height:100svh;color:#172149;background:radial-gradient(ellipse at 12% 18%,#e6ddfc,transparent 55%),radial-gradient(ellipse at 90% 85%,#e0f3fb,transparent 50%),#f8f6fc}
.recovery-page .shell{width:min(1120px,calc(100% - 48px));min-height:100svh;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(32px,5vw,72px);padding:28px 0}
.recovery-page .intro{min-width:0;padding:12px}
.recovery-page .brand{display:inline-flex;align-items:center;gap:10px;color:#172149;text-decoration:none;font-weight:900}
.recovery-page .brand-logo{width:42px;height:42px}
.recovery-page h1{font-size:clamp(26px,2.2vw,34px);line-height:1.5;margin:22px 0 10px}
.recovery-page .intro p{font-size:14px;line-height:2;color:#65718b;margin:0}
.recovery-page .safe{margin-top:18px;padding:12px 16px;border:1px solid #fff;background:#ffffff80;border-radius:16px;font-size:12px;line-height:2;color:#53607b}
.recovery-page .recovery-illustration{display:block;width:min(100%,360px,42svh);height:auto;max-height:none;object-fit:contain;border-radius:24px;margin:18px auto 0}
.recovery-page .shell .card{min-width:0;background:#ffffffd9;border:1px solid #fff;border-radius:25px;padding:32px;box-shadow:0 20px 55px #3422440e;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.recovery-page .steps{display:flex;align-items:center;gap:8px;margin-bottom:24px}
.recovery-page .step{height:6px;flex:1;border-radius:20px;background:#e8ebf3}
.recovery-page .step.active{background:linear-gradient(90deg,#755ce8,#39bfd9)}
.recovery-page h2{margin:0 0 8px;font-size:25px;line-height:1.6}
.recovery-page .lead{color:#65718b;font-size:13px;line-height:2;margin:0 0 20px}
.recovery-page .account{padding:12px 16px;border-radius:14px;background:#f0edff;color:#5842c2;font-weight:800;margin:18px 0;direction:ltr;text-align:left;overflow-wrap:anywhere}
.recovery-page .flash{font-size:12px;padding:12px 14px;border-radius:11px;margin:0 0 14px;line-height:1.8;overflow-wrap:anywhere}
.recovery-page .flash.error{background:#ffe9ec;color:#b8213b}
.recovery-page .flash.success{background:#e8f8ef;color:#20794e}
.recovery-page .flash.info{background:#e8f6fb;color:#267e94}
.recovery-page label{display:block;font-size:12px;font-weight:800;margin:16px 0}
.recovery-page input{display:block;width:100%;min-height:48px;margin-top:7px;padding:12px 14px;border:1px solid #dce3ef;border-radius:12px;font-size:16px;background:#fff;color:#172149;outline:none}
.recovery-page input:focus{border-color:#6c55e8;box-shadow:0 0 0 3px #6c55e816}
.recovery-page .hint{display:block;color:#65718b;font-size:11px;line-height:1.8;margin-top:6px}
.recovery-page .submit{width:100%;min-height:49px;border:0;border-radius:12px;color:#fff;font-size:13px;font-weight:800;cursor:pointer;margin-top:8px}
.recovery-page .back{display:block;text-align:center;margin-top:18px;color:#6651d5;font-size:12px;text-decoration:none;font-weight:800;padding:8px}
.recovery-page .back:focus-visible,.recovery-page .brand:focus-visible,.recovery-page .submit:focus-visible{outline:3px solid #957fee;outline-offset:4px}
@media(max-width:960px){
  .recovery-page .shell{display:flex;flex-direction:column;justify-content:center;gap:12px;width:min(480px,calc(100% - 28px));padding:24px 0}
  .recovery-page .intro{width:100%;padding:0 4px 8px}
  .recovery-page h1{font-size:24px;margin:16px 0 0}
  .recovery-page .intro p,.recovery-page .safe,.recovery-page .recovery-illustration{display:none}
  .recovery-page .shell .card{width:100%;padding:24px 22px;border-radius:22px}
  .recovery-page h2{font-size:22px}
}
@media(max-width:360px){.recovery-page h1{font-size:21px}.recovery-page h2{font-size:20px}.recovery-page .shell .card{padding:22px 18px}}
@media(max-height:760px) and (min-width:961px){
  .recovery-page .shell{padding:20px 0}
  .recovery-page .recovery-illustration{width:min(100%,270px)}
  .recovery-page .shell .card{padding:24px}
  .recovery-page .steps{margin-bottom:18px}
  .recovery-page .lead{margin-bottom:14px}
  .recovery-page label{margin:12px 0}
  .recovery-page .account{margin:12px 0;padding:10px 14px}
  .recovery-page .back{margin-top:12px}
}
