/* Login screen, ported from the prototype (.login, .logincard); no prototype bar, so the screen fills the viewport */
.login { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 16px; padding-block: 32px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); background: var(--bg); }
.logincard { width: min(380px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.logincard .lg { width: 64px; height: 64px; justify-self: center; }
.logincard .lg svg { width: 100%; height: 100%; }
.logincard h1 { font-size: 20px; text-align: center; }
.logincard .sub { color: var(--muted); margin: 0; text-align: center; }
.logincard .btn { justify-content: center; height: 40px; }
.logincard .login-error { margin: 0; padding: 8px 10px; border-radius: var(--r); background: var(--warn-soft); color: var(--warn); font-size: 13px; }
.login .footnote { margin: 0; text-align: center; font-size: 12px; color: var(--muted); max-width: 70ch; }
