/* The sign-in page, in the Product Maps look the design lab and its maps share: neutral, light or dark with the
   device (or the reader's stored choice), one accent for focus. */
:root{
  color-scheme:light dark;
  --bg:light-dark(oklch(99.2% 0 0),#000);
  --ink:light-dark(oklch(21% .006 285.885),#f1f3f7);
  --muted:light-dark(oklch(51% .016 285.938),#a1a1aa);
  --edge:light-dark(oklch(87.1% .006 286.286),rgb(255 255 255/11%));
  --accent:light-dark(oklch(48.8% .217 264),oklch(70% .16 264));
  --field:light-dark(#fff,rgb(255 255 255/4%));
  --error:light-dark(#B42318,#F08A80);
  --body:-apple-system,BlinkMacSystemFont,"Inter Variable","Segoe UI",system-ui,sans-serif;
  --ease:cubic-bezier(.2,.7,.2,1);
}
:root[data-theme=light]{color-scheme:light}
:root[data-theme=dark]{color-scheme:dark}
*{box-sizing:border-box}
html{background:var(--bg)}
body{min-height:100vh;margin:0;display:grid;justify-items:center;align-items:start;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:.875rem;line-height:1.5;-webkit-font-smoothing:antialiased}
.wrap{width:min(calc(100% - 32px),340px);padding:clamp(40px,20vh,180px) 0 48px}
h1{margin:0 0 24px;font-size:1.25rem;font-weight:600;letter-spacing:-.01em;line-height:1.2}
form{display:grid;gap:14px}
.step{display:grid;gap:14px;animation:step-in .22s var(--ease) both}
.step[hidden]{display:none}
label{display:grid;gap:6px;color:var(--muted);font-size:.75rem;font-weight:500}
input{width:100%;min-height:44px;padding:10px 12px;border:0;border-radius:8px;background:var(--field);box-shadow:inset 0 0 0 1px var(--edge);color:var(--ink);font:inherit;font-size:1rem;transition:box-shadow .15s var(--ease)}
input:focus{outline:none;box-shadow:inset 0 0 0 2px var(--accent)}
button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin-top:6px;padding:10px 16px;border:0;border-radius:8px;background:var(--ink);color:var(--bg);font:inherit;font-weight:500;cursor:pointer;transition:opacity .15s var(--ease),transform .1s var(--ease)}
button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
button:hover{opacity:.88}
button:active{transform:scale(.985)}
button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
button:disabled{opacity:.6;cursor:progress;transform:none}
.status{min-height:3em;margin:0;color:var(--muted);font-size:.75rem;transition:color .15s var(--ease)}
.status.err{color:var(--error)}
@keyframes step-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(max-width:599px){body{font-size:1rem}label,.status{font-size:.8125rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
