/* The screens outside the app (UI-T5, UI-T6): sign in, the reset and
   set-a-password steps, signed out, and "not on a wash yet". A full page of
   their own in the Three Point Strategy Group look: off-white ground, Archivo,
   a navy square-cornered main button. app.js puts class "auth-screen" on the
   body while one of them is shown; that hides the app's header here, in both
   shells, without touching its markup. Both themes, like tokens.css. */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;700&display=swap");

:root{
  --au-ground:var(--brand-ground); --au-surface:#FFFFFF; --au-panel:var(--brand-panel);
  --au-ink:#102C46; --au-ink-2:#526575; --au-line:#D9E1E8; --au-accent:#075B96; --au-accent-deep:#174567;
  --au-btn:#102C46; --au-btn-ink:#FFFFFF; --au-btn-hover:#174567;
  --au-bad:#B3261E; --au-bad-bg:#FBEAE8; --au-good:#1F7A4D; --au-good-bg:#E5F3EB;
  --au-font:"Archivo",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --au-surface:#122437; --au-ink:#E6EDF3; --au-ink-2:#A9B8C6; --au-line:#24405C; --au-accent:#4A9BD8; --au-accent-deep:#7DB8E6;
  --au-btn:#4A9BD8; --au-btn-ink:#0B1B2B; --au-btn-hover:#7DB8E6;
  --au-bad:#F2A49C; --au-bad-bg:#3A1A18; --au-good:#8FD3AE; --au-good-bg:#12301F;
}}
:root[data-theme="dark"]{
  --au-surface:#122437; --au-ink:#E6EDF3; --au-ink-2:#A9B8C6; --au-line:#24405C; --au-accent:#4A9BD8; --au-accent-deep:#7DB8E6;
  --au-btn:#4A9BD8; --au-btn-ink:#0B1B2B; --au-btn-hover:#7DB8E6;
  --au-bad:#F2A49C; --au-bad-bg:#3A1A18; --au-good:#8FD3AE; --au-good-bg:#12301F;
}

/* The app's header, the connection line, the closed side drawers (their
   shadow shows at the right edge of a phone) and the page width step aside. */
body.auth-screen{background:var(--au-ground)}
body.auth-screen header.top,body.auth-screen #state,body.auth-screen .drawer,body.auth-screen .scrim{display:none}
body.auth-screen .wrap{max-width:none;padding:0}

.auth{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:32px 16px;background:var(--au-ground);color:var(--au-ink);font-family:var(--au-font);font-size:14px;line-height:1.5}
.auth[hidden]{display:none}
.auth-in{width:100%;max-width:400px}

.auth-brand{text-align:center;margin-bottom:24px}
.auth-logo{display:block;width:112px;height:auto;margin:0 auto 16px;border-radius:2px}
/* UI-T13: the wordmark is the page's one <h1>; it keeps the look it had as a <div>. */
.auth-wm{margin:0;font-family:inherit;font-weight:700;font-size:32px;letter-spacing:.18em;line-height:1;margin-right:-.18em;text-wrap:initial}
.auth-by{margin-top:8px;font-size:12px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--au-ink-2)}
.auth-line{margin:16px auto 0;max-width:340px;font-size:14px;color:var(--au-ink-2)}
.auth-brand::after{content:"";display:block;width:48px;margin:20px auto 0;border-top:2px dotted var(--brand-gold)}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .auth-logo{background:#FFFFFF;padding:6px}}
:root[data-theme="dark"] .auth-logo{background:#FFFFFF;padding:6px}

.auth-card{background:var(--au-surface);border:1px solid var(--au-line);border-radius:4px;padding:24px}
.auth-card h2{font-family:var(--au-font);font-size:20px;font-weight:700;letter-spacing:0;margin:0 0 4px;color:var(--au-ink)}
.auth-text{margin:8px 0 0;color:var(--au-ink-2);overflow-wrap:anywhere}
.auth-notice{margin:0 0 12px;padding:8px 12px;background:var(--au-panel);border-radius:2px;font-size:13px;color:var(--au-ink-2)}

.auth-field{display:flex;flex-direction:column;gap:4px;margin-top:16px}
.auth-field label{font-size:13px;font-weight:500;color:var(--au-ink)}
.auth-field input{width:100%;font:inherit;font-size:16px;color:var(--au-ink);background:var(--au-surface);border:1px solid var(--au-line);border-radius:2px;padding:10px 12px}
.auth-field input:focus-visible{outline:2px solid var(--au-accent);outline-offset:1px;border-color:var(--au-accent)}
.auth-hint{font-size:12px;color:var(--au-ink-2)}

.auth-btn{display:block;width:100%;margin-top:20px;padding:12px 16px;font:inherit;font-size:14px;font-weight:500;border-radius:0;cursor:pointer;border:1px solid var(--au-line);background:var(--au-surface);color:var(--au-ink)}
.auth-btn.primary{background:var(--au-btn);border-color:var(--au-btn);color:var(--au-btn-ink)}
.auth-btn.primary:hover{background:var(--au-btn-hover);border-color:var(--au-btn-hover)}
.auth-btn:disabled{opacity:.6;cursor:default}
.auth-btn:focus-visible{outline:2px solid var(--au-accent);outline-offset:2px}

.auth-msg{margin-top:12px;padding:8px 12px;border-left:3px solid var(--au-ink-2);font-size:13px;color:var(--au-ink-2)}
.auth-msg[hidden]{display:none}
.auth-msg.bad{border-color:var(--au-bad);background:var(--au-bad-bg);color:var(--au-bad)}
.auth-msg.good{border-color:var(--au-good);background:var(--au-good-bg);color:var(--au-good)}

.auth-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;margin-top:16px;font-size:13px}
.auth-link{background:none;border:0;padding:4px 0;font:inherit;font-size:13px;color:var(--au-accent);cursor:pointer;text-align:left;text-decoration:underline;text-underline-offset:2px}
.auth-link:hover{color:var(--au-accent-deep)}
.auth-link:focus-visible{outline:2px solid var(--au-accent);outline-offset:2px}
.auth-note{margin-top:12px;font-size:13px;color:var(--au-ink-2)}
/* SEC-T9: the "I am a person" box (web/lib/human-check.js) above the button, only with a site key. */
.auth-human{margin-top:16px}
.auth-human .humanNote{margin:6px 0 0;font-size:12px;color:var(--au-ink-2)}
.auth-foot{margin-top:20px;padding-top:12px;border-top:1px solid var(--au-line);font-size:12px}
.auth-foot a{color:var(--au-ink-2)}
.auth-foot a:hover{color:var(--au-accent)}
