/* MIIND brand theme for the small public pages: the admin sign-in, the creator onboarding
   password page and the staging passphrase page. The tokens are Bloom's, the design the operator
   chose for miind.bot on 2026-09-13, so these pages read as the same site. Change the live design
   and change these tokens with it: the pages carry no colour of their own. */
:root{
  --ink:#2b2333;--ink2:#5d5266;--muted:#8f8497;--line:#ece4ea;--card:#fffdfb;--bg:#fbf6f3;
  --rose:#ff7aa2;--violet:#b78bff;--peach:#ffb98a;--mint:#7fd9c6;
  --accent:linear-gradient(135deg,var(--rose) 0%,var(--violet) 100%);
  --ring:rgba(183,139,255,.35);--r:20px;
  --serif:'Fraunces',Georgia,serif;--sans:'Manrope',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
*{box-sizing:border-box}
body.brand{margin:0;min-height:100svh;display:flex;align-items:center;justify-content:center;padding:24px;font-family:var(--sans);color:var(--ink);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased}
.brand .bg{position:fixed;inset:0;z-index:-1;pointer-events:none;background:
  radial-gradient(60% 50% at 8% 6%,#ffd9e3 0%,rgba(255,217,227,0) 65%),
  radial-gradient(55% 50% at 95% 10%,#e6dcff 0%,rgba(230,220,255,0) 65%),
  radial-gradient(60% 55% at 80% 95%,#ffe2cf 0%,rgba(255,226,207,0) 65%),
  radial-gradient(45% 45% at 10% 90%,#d9f3ee 0%,rgba(217,243,238,0) 65%),var(--bg)}
.gate{width:100%;max-width:400px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:30px 28px;box-shadow:0 30px 60px -40px rgba(43,35,51,.25)}
.gate .who{display:flex;align-items:center;gap:12px;margin-bottom:22px}
.gate .mark{width:38px;height:38px;border-radius:11px;background:var(--accent);color:#fff;display:grid;place-items:center;font-weight:800;font-size:17px;box-shadow:0 8px 18px -8px rgba(183,139,255,.7)}
.gate .name{font-weight:800;letter-spacing:.14em;font-size:13px}
.gate .kicker{font-weight:800;font-size:11.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--rose);margin:0 0 8px}
.gate h1{font-family:var(--serif);font-weight:500;font-size:28px;line-height:1.15;letter-spacing:-.01em;margin:0 0 8px}
.gate h1 em{font-style:italic;background:var(--accent);-webkit-background-clip:text;background-clip:text;color:transparent}
.gate p.lead{margin:0 0 18px;color:var(--ink2);font-size:14.5px}
.gate label{display:block;font-size:12.5px;font-weight:700;margin:14px 0 6px;color:var(--ink2)}
.gate input{width:100%;font:inherit;font-size:16px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px 15px;outline:none;transition:border-color .2s,box-shadow .2s}
.gate input:focus{border-color:var(--violet);box-shadow:0 0 0 4px var(--ring)}
.gate input:disabled{opacity:.5}
.gate .btn{display:inline-flex;align-items:center;justify-content:center;width:100%;margin-top:18px;padding:14px 22px;border-radius:999px;font-weight:800;font-size:15px;border:0;cursor:pointer;font-family:var(--sans);background:var(--accent);color:#fff;box-shadow:0 14px 30px -12px rgba(255,122,162,.7);transition:transform .2s,box-shadow .2s}
.gate .btn:hover{transform:translateY(-1px)}
.gate .btn:disabled{opacity:.55;cursor:default;transform:none}
.gate .err{display:none;margin-top:12px;font-size:13px;color:#d64545}
.gate .err.on{display:block}
.gate .foot{margin-top:16px;font-size:12px;color:var(--muted)}
.gate .foot a{color:inherit;text-decoration:none}
.gate .foot a:hover{text-decoration:underline}
@media(prefers-reduced-motion:reduce){.gate .btn{transition:none}}
