.mfa-challenge { display: grid; gap: 16px; min-width: 0; }
.auth-card .mfa-title, .security-dialog .mfa-title { margin: 0; font-size: 1.35rem; line-height: 1.3; letter-spacing: 0; }
.mfa-label { margin: 0 0 8px; font-weight: 700; color: var(--theme-strong, #115e59); }
.mfa-hint { color: var(--text-muted, #526077); font-size: .9rem; line-height: 1.55; margin: 8px 0 14px; }
.mfa-auto { font-size: .8rem; margin-bottom: 0; }
.mfa-code-slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.mfa-code-slots input { box-sizing: border-box; width: 100%; min-width: 0; height: 60px; padding: 0; margin: 0; border: 1px solid #ccd8e0; border-radius: 8px; background: #fff; color: var(--text, #1c3340); text-align: center; font: 600 1.65rem/1 system-ui, sans-serif; caret-color: var(--theme, #0f766e); }
.mfa-code-slots input:focus { outline: 2px solid var(--theme, #0f766e); outline-offset: 2px; border-color: var(--theme, #0f766e); }
.mfa-code-slots input:disabled { opacity: .65; }
.mfa-passkey, .security-page .mfa-passkey { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 52px; padding: 12px 16px; margin: 0; border: 1px solid var(--theme, #0f766e); border-radius: 8px; background: var(--theme, #0f766e); color: white; font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1.4; cursor: pointer; }
.mfa-passkey svg { width: 26px; height: 26px; flex-shrink: 0; }
.mfa-passkey:disabled { opacity: .6; cursor: default; }
.mfa-passkey[aria-busy="true"] { cursor: progress; }
.mfa-passkey[aria-busy="true"] svg { display: none; }
.mfa-passkey[aria-busy="true"]::before { content: ""; box-sizing: border-box; width: 26px; height: 26px; flex-shrink: 0; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: mfa-passkey-spin .8s linear infinite; }
@keyframes mfa-passkey-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mfa-passkey[aria-busy="true"]::before { animation: none; } }
.mfa-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.mfa-links button { margin: 0; padding: 6px 0; border: 0; background: transparent; color: var(--theme-strong, #115e59); font: inherit; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mfa-feedback, .mfa-error { margin: 0; font-size: .9rem; line-height: 1.5; }
.mfa-feedback:empty, .mfa-error:empty { display: none; }
.mfa-error { color: #b42318; }
.mfa-challenge [hidden], .mfa-challenge[hidden] { display: none !important; }
.security-passkey-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0; }
.security-passkey-row small { display: block; color: var(--text-muted, #526077); overflow-wrap: anywhere; }
@media (max-width: 400px) { .mfa-code-slots { gap: 7px; } .mfa-code-slots input { height: 50px; font-size: 1.4rem; } }
