/* Passkey (Touch ID) step on the login card (index.html #login-passkey,
   driven by js/auth.js) and the TV sign-in screen (tv.html #tv-passkey,
   driven by js/tv.js). Reuses the existing login button classes, so this only
   adds the heading and spacing. Colors come from the same tokens as the rest
   of #login, so light and dark both follow. */

#login .login-passkey-title {
  margin: 0 0 var(--ar-space-sm);
  font-size: 18px;
  font-weight: 600;
  color: var(--ar-text-primary);
}
#login .login-passkey-secondary { margin-top: var(--ar-space-sm); }
/* chrome.css stamps "Command Center" before every <p> in the dark login card (the
   sign-in intro). The passkey step has its own title, so it drops that label. */
:root[data-theme="dark"] #login #login-passkey p::before { content: none; }

/* Settings card (index.html #settings-passkeys-card, drawn by renderSettings).
   Sits under the first Settings card with the same width and row styles. */
#settings-passkeys-card { margin-top: 16px; }
#settings-passkeys-card .settings-row-title { overflow-wrap: anywhere; }
#settings-passkeys-card .passkey-settings-error { color: var(--danger); }

#tv-passkey {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.tv-passkey-title { font-size: 1.3em; font-weight: 600; }
#tv-passkey .tv-login-btn { margin-top: 4px; }
#tv-passkey .tv-passkey-secondary { background: transparent; color: var(--ink); }
