/* 3 Up 3 Done — styles for the sign-in screen and the thin account/sync bars.
   Uses the same color tokens as app.css. */
.auth-screen{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px 16px;background:var(--ground);}
.auth-card{width:100%;max-width:400px;background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:28px 24px 24px;}
.auth-title{font-family:var(--font-display);font-weight:600;font-size:1.45rem;line-height:1.25;margin:0 0 10px;text-wrap:balance;}
.auth-tagline{font-size:15px;color:var(--ink);margin:0 0 16px;line-height:1.45;}
.auth-sub{font-size:14px;color:var(--ink-soft);margin:0 0 18px;}
.auth-form{display:flex;flex-direction:column;gap:10px;}
.auth-form .flabel{font-size:11.5px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--ink-soft);font-family:var(--font-mono);}
.auth-form input{width:100%;border:1px solid var(--line-strong);background:var(--ground);color:var(--ink);border-radius:10px;padding:12px 14px;font-size:16px;font-family:var(--font-body);}
.auth-form input#authCode{font-family:var(--font-mono);font-size:16px;}
.auth-hint{font-size:13px;background:var(--surface-sunken);border-radius:10px;padding:10px 12px;}
.auth-form .btn-primary{width:100%;padding:13px 16px;font-size:15px;}
.auth-form .btn-primary[disabled]{opacity:.6;cursor:default;}
.auth-msg{margin:2px 0 0;font-size:13px;color:var(--ink-soft);}
.auth-msg.err{color:var(--urgent);}
.auth-links{display:flex;justify-content:space-between;gap:12px;margin-top:14px;flex-wrap:wrap;}

.account-bar{max-width:1080px;margin:0 auto;padding:10px 20px 0;display:flex;justify-content:flex-end;align-items:center;gap:12px;font-size:12px;color:var(--ink-faint);padding-top:max(10px, env(safe-area-inset-top));}
.account-bar #accountEmail{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;}
.account-bar .link-btn{font-size:12px;padding:2px 0;}
#appRoot #app{padding-top:10px;}

.sync-banner{position:sticky;top:0;z-index:30;max-width:1080px;margin:8px auto 0;background:var(--due-today-bg);border:1px solid var(--due-today-border);color:var(--ink);border-radius:10px;padding:9px 14px;font-size:13px;text-align:center;}
@media (max-width:1120px){ .sync-banner{margin-left:16px;margin-right:16px;} }

/* App name at the top of the main page - larger and in the accent color so
   it reads as the app's name, above the date and greeting. */
.brand-mark{font-family:var(--font-display);font-weight:700;font-size:clamp(1.6rem,1.2rem + 1.8vw,2.4rem);line-height:1.05;letter-spacing:-.015em;color:var(--accent-strong);margin:0 0 8px;}
.brand-mark .brand-num{color:var(--urgent);}
