  :root { color-scheme: light dark;
    --bg:#f2f2f7; --card:#ffffff; --ink:#0a0a0a; --sub:#6b6e76; --red:#A6102C; --red-deep:#7E0A1E; --line:#e6e6e6; --field:#e9e9ee; --attention:#c2410c; --good:#1a8f3c; }
  @media (prefers-color-scheme: dark) { :root {
    --bg:#000000; --card:#1c1c1e; --ink:#ececee; --sub:#9a9da6; --red:#B81733; --line:#2a2a2f; --field:#2c2c2e; --attention:#e0a24a; --good:#4cbf72; } }
  * { box-sizing: border-box; }
  html, body { height: 100%; }
  body { margin:0; background:var(--bg); color:var(--ink);
    font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased; }
  .stage { min-height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center;
    padding: max(32px, env(safe-area-inset-top)) 20px max(32px, env(safe-area-inset-bottom)); }
  /* The crossed cleavers, as the pay site and the apps carry them: the
     mark above the wordmark, wordmark set the pay site's way. */
  .mark { width:auto; height:104px; display:block; margin:0 auto 14px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.25)); }
  .wordmark { color:var(--red); font-weight:900; letter-spacing:1.5px; font-size:13px; text-align:center; margin:0; }
  .tag { color:var(--sub); text-align:center; margin:6px 0 30px; font-size:15px; }
  .card { width:100%; max-width:400px; background:var(--card); border:1px solid var(--line); border-radius:22px;
    padding:24px 22px 22px; box-shadow: 0 14px 40px rgba(0,0,0,.10); }
  .card h1 { font-size:22px; font-weight:800; letter-spacing:-.3px; margin:0 0 6px; }
  .card .lead { color:var(--sub); font-size:15px; margin:0 0 16px; }
  label { display:block; font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--sub); margin:14px 0 6px; }
  label:first-of-type { margin-top: 0; }
  input[type=text], input[type=password], input[type=email] { width:100%; font:inherit; font-size:17px; color:var(--ink);
    background:var(--field); border:1px solid transparent; border-radius:14px; padding:13px 14px; outline:none; }
  input:focus { border-color: var(--red); background: var(--card); }
  .row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; font-size:14px; color:var(--sub); }
  .row label { display:flex; align-items:center; gap:8px; margin:0; text-transform:none; letter-spacing:0; font-weight:500; font-size:14px; }
  .btn { display:block; width:100%; margin-top:18px; font:inherit; font-size:17px; font-weight:800; color:#fff;
    background:var(--red); border:0; border-radius:14px; padding:15px 20px; cursor:pointer; text-align:center; text-decoration:none; }
  .btn:active { background: var(--red-deep); }
  .btn[disabled] { opacity:.6; cursor:default; }
  .note { display:none; margin:0 0 14px; padding:12px 14px; border-radius:14px; font-size:15px; line-height:1.45; }
  .note.on { display:block; }
  .note.err { background: rgba(194,65,12,.10); color: var(--attention); border:1px solid rgba(194,65,12,.25); }
  .note.ok { background: rgba(26,143,60,.10); color: var(--good); border:1px solid rgba(26,143,60,.25); }
  .hint { color:var(--sub); font-size:13px; margin:6px 0 0; }
  .foot { margin-top:22px; text-align:center; font-size:14px; color:var(--sub); }
  .foot a { color:var(--red); text-decoration:none; font-weight:600; }
  .foot p { margin: 4px 0; }
  .legal { margin-top:34px; font-size:12px; color:var(--sub); text-align:center; opacity:.8; }
