/* The approved account entry is one centered, readable window. */
.auth-layout.auth-restored { display: grid; grid-template-columns: minmax(0, 520px); align-items: center; justify-content: center; width: 100%; min-height: 100dvh; margin: 0 auto; padding: 40px 24px; }
.auth-restored .auth-panel { width: 100%; max-width: 520px; min-width: 0; padding: 36px; border: 1px solid var(--line-strong, #ffffff32); border-radius: 24px; background: var(--surface, #181b1e); }
.auth-restored .auth-heading h1 { margin: 0 0 13px; color: #fff; font-size: 33px; font-weight: 800; line-height: 1.25; letter-spacing: -.75px; }
.auth-restored .auth-heading p { margin: 0 0 28px; color: var(--muted, #bdcadc); font-size: 17px; font-weight: 500; line-height: 1.65; overflow-wrap: anywhere; }
.auth-restored .button { min-height: 54px; padding: 15px 19px; border-radius: 12px; font-size: 17px; font-weight: 750; line-height: 1.35; }
.auth-restored .telegram-button { justify-content: flex-start; gap: 10px; white-space: normal; text-align: left; }
.auth-restored .telegram-button svg { flex: 0 0 24px; }
.auth-restored .capability-note { margin: 13px 0 0; font-size: 14px; line-height: 1.5; }
.auth-restored .auth-divider { gap: 17px; margin: 25px 0; font-size: 15px; font-weight: 500; }
.auth-restored .flow-stack { gap: 23px; }
.auth-restored .field { gap: 10px; min-width: 0; }
.auth-restored .field > span, .auth-restored .auth-label-row label { color: #f1f5fc; font-size: 16px; font-weight: 650; line-height: 1.45; }
.auth-restored .field input { width: 100%; min-width: 0; min-height: 56px; padding: 15px 16px; border-radius: 12px; font-size: 18px; line-height: 1.4; }
.auth-restored .field small { color: var(--muted, #b4c3d7); font-size: 15px; line-height: 1.55; }
.auth-restored .auth-label-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 14px; }
.auth-restored .auth-label-row a { color: var(--muted, #c3d0e2); font-size: 15px; font-weight: 550; }
.auth-restored .auth-label-row a:hover { color: #fff; }
.auth-restored .auth-password-wrap { position: relative; min-width: 0; }
.auth-restored .auth-password-wrap input { padding-right: 102px; }
.auth-restored .auth-password-toggle { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; min-height: 42px; padding: 8px 10px; border: 0; border-radius: 8px; color: #d0dbea; background: transparent; font-size: 14px; font-weight: 650; cursor: pointer; }
.auth-restored .auth-password-toggle:hover { color: #fff; background: #ffffff08; }
.auth-restored .auth-password-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.auth-restored .field input.otp-input { min-height: 66px; padding-left: 20px; font-size: 30px; font-weight: 650; letter-spacing: .32em; font-variant-numeric: tabular-nums; }
.auth-restored .auth-progress { display: flex; align-items: center; gap: 22px; margin-bottom: 27px; color: var(--muted, #a7b8ce); font-size: 16px; font-weight: 550; }
.auth-restored .auth-progress span { display: inline-flex; align-items: center; gap: 9px; }
.auth-restored .auth-progress b { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #ffffff3b; border-radius: 50%; font-size: 14px; }
.auth-restored .auth-progress .is-current { color: #fff; font-weight: 750; }
.auth-restored .auth-progress .is-current b { color: #15180c; border-color: #ffd43b; background: #ffd43b; }
.auth-restored .checkbox-field { grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 12px; font-size: 15px; line-height: 1.75; }
.auth-restored .checkbox-field input { width: 21px; height: 21px; margin-top: 3px; }
.auth-restored .auth-links { display: block; margin-top: 27px; padding-top: 24px; border-top: 1px solid #ffffff25; color: var(--muted, #b7c5d8); font-size: 16px; font-weight: 500; line-height: 1.75; text-align: center; }
.auth-restored .auth-links p { margin: 0; }
.auth-restored .auth-links a { color: #fff; font-weight: 700; }
.auth-restored .auth-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media(max-width: 600px) {
  .auth-layout.auth-restored { padding: 24px 16px; }
  .auth-restored .auth-panel { padding: 28px 23px; border-radius: 21px; }
  .auth-restored .auth-heading h1 { font-size: 29px; }
  .auth-restored .auth-heading p { font-size: 16px; }
  .auth-restored .auth-progress { gap: 16px; font-size: 15px; }
}
