/* Native-passkey account and login controls, using the existing theme. */
.omni-passkeys { min-width: 0; color: var(--brand-text); }
.omni-passkey-login { margin-block: 18px; }
.omni-passkey-login .omni-passkey-action { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; min-height: 46px; padding: 12px 16px; text-align: center; text-decoration: none; line-height: 1.4; }
.omni-passkey-login .omni-passkey-hint { margin: 8px 0 0; font-size: .85rem; line-height: 1.45; text-align: center; }
.omni-passkey-login .omni-passkey-status, .omni-passkey-login .omni-passkey-error { min-height: 0; margin: 10px 0 0; }
.omni-passkey-login .omni-passkey-status:empty, .omni-passkey-login .omni-passkey-error:empty { display: none; }
.omni-passkey-divider { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; color: var(--brand-muted); font-size: .8rem; line-height: 1.4; text-align: center; }
.omni-passkey-divider::before, .omni-passkey-divider::after { content: ''; flex: 1; border-top: 1px solid var(--brand-control-line); }
.omni-passkey-note { color: var(--brand-muted); line-height: 1.6; overflow-wrap: anywhere; }
.omni-passkey-status, .omni-passkey-error { min-height: 1.5em; margin: 8px 0; line-height: 1.5; overflow-wrap: anywhere; }
.omni-passkey-error { color: var(--brand-error); }
.omni-passkey-form { display: grid; gap: 16px; margin-top: 24px; max-width: 560px; }
.omni-passkeys label { display: grid; gap: 8px; min-width: 0; font-weight: 650; }
.omni-passkeys input { box-sizing: border-box; min-width: 0; width: 100%; min-height: 48px; padding: 12px; border: 1px solid var(--brand-control-line); border-radius: 10px; background: var(--brand-input); color: var(--brand-text); font: inherit; font-size: 16px; line-height: 1.5; }
.omni-passkeys button { height: auto; min-height: 44px; padding: 12px 16px; line-height: 1.4; white-space: normal; }
.omni-passkey-list { display: grid; margin-top: 18px; max-width: 800px; }
.omni-passkey-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--brand-line); }
.omni-passkey-row > div { min-width: 0; overflow-wrap: anywhere; }
.omni-passkey-row .omni-passkey-note { margin: 6px 0 0; }
.omni-passkey-row > button { flex-shrink: 0; }
.omni-passkey-reset { border-top: 1px solid var(--brand-line); padding-top: 24px; }
.omni-passkey-reset h4 { margin: 0; }
.omni-passkey-local { display: inline-block; min-height: 44px; padding-block: 12px; color: var(--brand-gold); }
.omni-passkeys[hidden], .omni-passkeys [hidden] { display: none !important; }
.omni-passkeys :is(button, input, a):focus-visible { outline: 3px solid var(--brand-gold); outline-offset: 3px; }
@media (max-width: 480px) { .omni-passkey-row { align-items: stretch; flex-direction: column; } .omni-passkey-row > button { align-self: flex-start; } }

/* Password recovery stays in its dedicated auth card; account controls keep their layout. */
.omni-passkey-recovery { display: grid; gap: 14px; margin-top: 18px; }
.omni-passkey-recovery > .omni-passkey-note { margin: 0; font-size: .9rem; line-height: 1.5; }
.omni-passkey-recovery .omni-passkey-action { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; min-height: 46px; text-align: center; text-decoration: none; }
.omni-passkey-recovery .omni-passkey-form { gap: 14px; margin-top: 0; }
.omni-passkey-recovery .omni-passkey-form .omni-passkey-note { margin: 0; font-size: .82rem; line-height: 1.45; }
.omni-passkey-recovery .omni-passkey-status, .omni-passkey-recovery .omni-passkey-error { min-height: 0; margin: 0; }
.omni-passkey-recovery .omni-passkey-status:empty, .omni-passkey-recovery .omni-passkey-error:empty { display: none; }
.omni-passkey-recovery .omni-passkey-success { color: var(--brand-text); font-size: 1.15rem; font-weight: 750; }
