/* Reuse the approved material; never fade a glass surface from opaque white. */
.mfa-mark { display: inline-grid; place-items: center; width: 45px; height: 45px; flex: 0 0 auto; margin-bottom: 16px; border: 1px solid #b9e2d9; border-radius: 16px; background: #e2f6efbd; color: #227b74; }
.mfa-code-input { font-size: 26px !important; letter-spacing: 9px; font-variant-numeric: tabular-nums; text-align: center; padding-left: 23px !important; }
.mfa-code-input::placeholder { color: #93aaa5; }
.mfa-recovery-input { font-family: ui-monospace, Consolas, monospace !important; letter-spacing: 1px; }
.mfa-gate-footer { margin-top: 19px; padding-top: 12px; border-top: 1px solid #d4e9e1; }
.mfa-text-button, .mfa-back { border-color: transparent; background: transparent; font-size: 13px; font-weight: 500; padding-inline: 7px; }
.mfa-text-button { margin-top: 10px; }
.mfa-steps { margin: 0 0 18px; padding-left: 22px; color: #4e726b; font-size: 13px; line-height: 1.7; }
.mfa-steps li + li { margin-top: 6px; }
.mfa-qr { display: grid; place-items: center; width: fit-content; max-width: 100%; padding: 10px; margin: 20px auto; background: #fff; border: 1px solid #cde6dc; border-radius: 22px; }
.mfa-qr img { width: min(208px, 100%); height: auto; display: block; }
.mfa-manual { margin-bottom: 22px; }
.mfa-secret { display: block; padding: 16px; margin: 12px 0; border: 1px solid #c1e0d5; border-radius: 15px; background: #edf9f3bd; color: #285c54; overflow-wrap: anywhere; font-size: 15px; line-height: 1.6; user-select: all; }
.mfa-form-note { margin-bottom: 20px !important; }
.mfa-recovery-codes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin: 20px 0; }
.mfa-recovery-codes code { text-align: center; padding: 12px 6px; border: 1px solid #cbe4da; border-radius: 13px; color: #285f58; background: #f2faf6c4; font-size: 13px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; user-select: all; }
.mfa-check { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0; color: #486f66; font-size: 13px; line-height: 1.6; cursor: pointer; }
.mfa-check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #348e83; }
.mfa-security-panel { max-width: 820px; padding: 28px; }
.mfa-security-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 22px; }
.mfa-security-heading .mfa-mark { margin: 0; }
.mfa-security-heading > div { flex: 1; min-width: 180px; }
.mfa-security-heading h2 { font-size: 20px; font-weight: 600; letter-spacing: -.4px; }
.mfa-security-heading p { color: #658277; font-size: 12px; margin-top: 5px; }
.mfa-security-detail { display: flex; justify-content: space-between; gap: 16px; padding: 17px 0; border-top: 1px solid #d2e7dd; color: #476e62; font-size: 14px; }
.mfa-security-detail > span { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mfa-security-action { margin: 16px 0 2px; }
.mfa-recovery-actions { display: grid; gap: 12px; margin-top: 20px; }
.mfa-store-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 6px 0 9px; }
.mfa-store-links .auth-link { min-height: 44px; }
.mfa-help-note { margin-top: 11px !important; }
.mfa-security-panel .auth-subtle, .mfa-dialog .auth-subtle, .mfa-remember .auth-subtle { text-wrap: pretty; }
.mfa-security-panel .auth-pin-options summary, .mfa-dialog .auth-pin-options summary { min-height: 44px; }
.mfa-dialog[open] { animation: none !important; opacity: 1 !important; }
.mfa-remember { margin: 6px 0 20px; }
.mfa-remember > .mfa-check { margin: 13px 0; }
.mfa-browser-modes { padding: 0; border: 0; margin: 0 0 15px; min-width: 0; }
.mfa-browser-modes legend { margin-bottom: 9px; color: #57786d; font-size: 12px; }
.mfa-browser-pills { display: flex; gap: 9px; }
.mfa-browser-pills label { position: relative; flex: 1; min-width: 0; cursor: pointer; }
.mfa-browser-pills input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.mfa-browser-pills label > span { display: flex; justify-content: center; align-items: center; gap: 7px; min-height: 44px; padding: 10px 12px; border: 1px solid #c6e2d8; border-radius: 15px; background: #f5fcf8a6; color: #55776c; font-size: 13px; transition: border-color 160ms, background-color 160ms; }
.mfa-browser-pills small { font-size: 11px; white-space: nowrap; }
.mfa-browser-pills input:checked + span { background: #dcf3ebde; color: #246e63; border-color: #8ecfc1; box-shadow: inset 0 1px #fff; }
.mfa-browser-pills input:focus-visible + span { outline: 2px solid #087f83; outline-offset: 3px; }
.mfa-browser-name { margin-top: 20px; }
.mfa-browser-section { margin-top: 24px; padding-top: 24px; border-top: 1px solid #d2e7dd; }
.mfa-browser-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.mfa-browser-heading h3 { font-size: 18px; letter-spacing: -.3px; }
.mfa-browser-heading p { margin-top: 5px; }
.mfa-browser-list { display: grid; gap: 11px; padding: 0; margin: 0; list-style: none; }
.mfa-browser-row { display: grid; grid-template-columns: 40px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 15px; border: 1px solid #d0e7de; border-radius: 20px; background: #ffffff8c; }
.mfa-browser-row > .auth-avatar { width: 40px; height: 40px; border-radius: 14px; }
.mfa-browser-row > .auth-button { min-height: 40px; }
.mfa-browser-copy { min-width: 0; }
.mfa-browser-copy strong { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.mfa-browser-copy > span, .mfa-browser-copy small { display: block; margin-top: 5px; font-size: 12px; line-height: 1.55; color: #607e72; font-variant-numeric: tabular-nums; }
.mfa-browser-footer { display: flex; justify-content: flex-end; margin: 5px 0 10px; }
.mfa-session-note { margin-bottom: 14px !important; }
.mfa-trust-hint { max-width: 62ch; }
.mfa-browser-empty { margin-bottom: 15px !important; }
@media (max-width: 520px) { .mfa-browser-heading { align-items: flex-start; flex-direction: column; gap: 12px; } .mfa-browser-pills label > span { flex-direction: column; gap: 3px; } .mfa-browser-row { grid-template-columns: 36px minmax(0,1fr); align-items: start; gap: 10px; padding: 13px; } .mfa-browser-row > .auth-avatar { width: 36px; height: 36px; border-radius: 13px; } .mfa-browser-row > .auth-button { grid-column: 2; justify-self: end; } }
@media (max-width: 520px) { .mfa-security-panel { padding: 21px; } .mfa-recovery-codes { gap: 7px; } .mfa-recovery-codes code { font-size: 12px; } .mfa-security-detail { flex-wrap: wrap; gap: 7px 16px; } }
@media (prefers-reduced-motion: reduce) { .mfa-dialog *, .mfa-security-panel *, .mfa-remember * { transition: none !important; animation: none !important; } }
