.phone-setup-progress { display: grid; gap: 5px; margin: 0 0 18px; padding: 14px; border: 1px solid #91afc9; border-radius: 12px; background: #eff6fc; color: #17334a; }
.phone-setup-progress > small:first-child { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.phone-setup-progress > strong { font-size: 1.05rem; }
.phone-setup-progress p { margin: 0; font-size: .9rem; line-height: 1.45; }
.phone-setup-progress ol { display: flex; flex-wrap: wrap; gap: 5px 12px; margin: 6px 0 0; padding: 0; list-style: none; font-size: .75rem; }
.phone-setup-progress li[aria-current="step"] { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.phone-setup-conditional { font-size: .72rem; line-height: 1.4; }
.phone-setup-device { display: flex; flex-wrap: wrap; gap: 8px; }
.phone-setup-device .button { flex: 1 1 105px; min-height: 44px; white-space: normal; padding: 10px; }
.phone-setup-device [aria-pressed="true"] { background: #173f62; color: #fff; border-color: #173f62; }
.phone-setup-instructions ol, .phone-setup-walkthrough ol { margin: 12px 0; padding-left: 20px; }
.phone-setup-instructions li, .phone-setup-walkthrough li { margin-bottom: 10px; line-height: 1.5; }
.phone-setup-tip, .phone-setup-walkthrough { font-size: .85rem; line-height: 1.5; overflow-wrap: anywhere; }
.phone-setup-walkthrough { margin-top: 14px; padding: 12px; border: 1px solid #91afc9; border-radius: 10px; background: #f4f8fc; color: #17334a; }
.phone-setup-walkthrough summary { cursor: pointer; min-height: 24px; padding: 7px 0; font-weight: 700; }
.phone-setup-walkthrough a { color: #164e7e; text-decoration: underline; }
.phone-setup-instructions [hidden], #mfa-qr-code[hidden] { display: none !important; }
#mfa-copy-setup-status { margin: 0; font-size: .85rem; line-height: 1.45; text-align: left; }
#mfa-copy-setup-status:empty { display: none; }
#account-phone-setup-guide { margin: 0 0 18px; }
@media (max-width: 700px) {
  .login-content { padding: 18px 10px; }
  .login-top { margin-bottom: 14px; }
  .login-bottom > .login-form { width: min(100%, 420px); max-width: 100%; box-sizing: border-box; padding: 18px; }
  .mfa-login-card { max-height: none; overflow: visible; }
  .login-form input, .login-form select { font-size: 16px; min-height: 44px; }
  .login-form .button { min-height: 44px; white-space: normal; }
  .mfa-enrollment { padding: 12px; }
  .phone-setup-progress { padding: 12px; }
}

.phone-setup-extra summary { cursor: pointer; padding: 10px 0; min-height: 24px; font-size: .85rem; font-weight: 700; }
#mfa-copy-setup-key, #mfa-copy-setup-key:hover, #mfa-copy-setup-key:focus { background: #173f62; color: #fff; border-color: #173f62; }
