/* GO-004: the email link, on the sign-in card (.email-login) and on the page the link opens (.el-card). */
#page-login .login-or { margin: 18px 0 14px; }
.email-login { display: grid; gap: 10px; margin: 0 0 22px; text-align: left; }
.email-login label { font: 500 13px var(--font-sans); color: var(--text-mid); }
.email-login input { width: 100%; height: 48px; box-sizing: border-box; padding: 0 16px; border: 1px solid var(--border-hi); border-radius: 14px; background: var(--surface-2); color: var(--text); font: 400 16px var(--font-sans); }
.email-login input::placeholder { color: var(--text-dim); }
.email-login input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.email-login-btn { min-height: 48px; border: 0; border-radius: 999px; background: var(--surface-2); color: var(--text); font: 600 15px var(--font-sans); cursor: pointer; }
.email-login-btn:hover { background: var(--surface-3); }
.email-login-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.email-login-btn:disabled { opacity: .6; cursor: default; }
.email-login-msg { margin: 0; font: 400 13px/1.5 var(--font-sans); color: var(--text-mid); overflow-wrap: anywhere; }
.email-login-msg:empty { display: none; }
.email-login-msg.is-ok { color: var(--green-ink, var(--green)); }
.email-login-msg.is-bad { color: var(--red-ink, var(--red)); }
/* one filled button on the card: Google, the quickest way in */
#page-login a.google-btn { background: var(--accent-fill); color: var(--on-accent); }
#page-login a.google-btn:hover { background: var(--accent-fill-hi); }
#page-login a.google-btn .google-icon { box-sizing: content-box; padding: 5px; border-radius: 50%; background: #fff; }

/* the confirm page (its own tokens: the app's stylesheets aren't loaded there) */
body:has(> .el-card) { --bg: #0d0c12; --surface: #16151d; --surface-2: #1e1c27; --text: #eeedf4; --text-mid: #cfcddb; --accent: #b8aaff; --accent-fill: #b8aaff; --on-accent: #120d2b; --yellow: #f5c04a;
  --font-sans: 'Geist', system-ui, sans-serif; color-scheme: dark; margin: 0; min-height: 100vh; box-sizing: border-box; padding: 24px 16px; display: grid; place-items: center; background: var(--bg); color: var(--text); font: 400 15px/1.55 var(--font-sans); }
[data-theme="light"] body:has(> .el-card) { --bg: #f1f0f5; --surface: #fff; --surface-2: #f6f5f9; --text: #14121f; --text-mid: #3e3b4d; --accent: #5b4bd6; --accent-fill: #5b4bd6; --on-accent: #fff; --yellow: #8a5a00; color-scheme: light; }
.el-card { width: min(420px, 100%); box-sizing: border-box; padding: 30px 28px 28px; border-radius: 28px; background: var(--surface); box-shadow: 0 18px 48px rgba(10, 8, 20, .28); }
.el-brand { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px; color: var(--text); font: 600 13px/1 var(--font-sans); letter-spacing: .1em; text-decoration: none; }
.el-brand img { width: 24px; height: 24px; }
.el-brand b { color: var(--accent); font-weight: 600; }
.el-card h1 { margin: 0 0 8px; font: 600 25px/1.2 var(--font-sans); letter-spacing: -.02em; }
.el-card p { margin: 0 0 14px; color: var(--text-mid); overflow-wrap: anywhere; }
.el-card p b { color: var(--text); font-weight: 600; }
.el-warn { display: block; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); color: var(--yellow); font-size: 13.5px; }
.el-acts { display: grid; gap: 10px; margin-top: 20px; }
.el-acts[hidden] { display: none; }
.el-acts button, .el-acts a { display: grid; place-items: center; min-height: 48px; border: 0; border-radius: 999px; background: var(--surface-2); color: var(--text); font: 600 15px var(--font-sans); text-decoration: none; cursor: pointer; }
.el-acts button, .el-acts a.is-go { background: var(--accent-fill); color: var(--on-accent); }
.el-acts button:disabled { opacity: .6; }
.el-acts button:focus-visible, .el-acts a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#page-login .login-divider span { text-transform: none; }
#page-login .login-tag { text-wrap: balance; }
