/* V3 sign-in behavior, Metona's flat indigo instrument surface. */
.threshold-form {
  --elvn-field-height: 44px; --elvn-font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --elvn-text: var(--ink); --elvn-text-muted: var(--muted); --elvn-text-xs: 12px;
  --elvn-accent: var(--indigo); --elvn-accent-rgb: 225,191,125;
  --elvn-radius-control: 0; --elvn-duration-fast: 160ms; --elvn-ease-standard: ease-out;
}
.signin-choices { display: grid; gap: 16px; }
.threshold-form .hold, .threshold-form .mail-button { background: var(--field); box-shadow: none; border: 1px solid var(--rule-strong); border-radius: 0; }
.threshold-form .hold-done { border-color: var(--indigo); }
.threshold-form .mail-button, .threshold-form .g-button { width: 100%; }
.threshold-form .or-email::before, .threshold-form .or-email::after { border-color: var(--rule-strong); }
.threshold-form .scan { left: 0; right: 0; box-shadow: none; }
.threshold-form .hold-help { line-height: 1.5; }
.threshold-form #authNote:empty { display: none; }
.threshold-form #authSwitch { min-height: 44px; }

.threshold-form #authForm input { border-radius:4px; min-height:48px; background:var(--field); color:var(--ink); border:1px solid var(--rule-strong); padding:0 12px; }
.threshold-form #authGoogleNote { color:var(--muted); }

#authView { grid-template-columns:1fr; place-items:center; padding:40px 20px; }
#authView .threshold-form { width:100%; padding:20px 0; }
.signin-brand { display:grid; justify-items:center; align-self:start; gap:16px; margin-bottom:48px; }
.signin-brand .wordmark { margin:0; font-size:28px; letter-spacing:.24em; }
.signin-brand img { width:44px; height:auto; }

@media(prefers-color-scheme:light) { .signin-brand img { filter:brightness(0); } }
