.auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: var(--paper);
}

.auth-card {
  width: min(100%, 430px);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 32px;
  background: #fff;
  box-shadow: var(--shadow);
}

.auth-card .eyebrow { margin-bottom: 6px; color: var(--violet); }
.auth-card h1 { color: var(--ink); font-size: clamp(2rem, 8vw, 3rem); }
.auth-intro { margin: 9px 0 18px; color: var(--muted); font-size: .9rem; }
.auth-card form { display: grid; gap: 6px; }
.auth-card label { color: #6f6878; font-size: .76rem; font-weight: 800; }
.auth-card input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--ink); background: #fff; font: inherit; }
.auth-card input:focus { border-color: var(--violet); outline: 3px solid rgba(118, 96, 198, .16); }
.password-requirements { margin: 3px 0 5px; padding-left: 18px; color: #938d99; font-size: .72rem; line-height: 1.6; }
.password-requirements .requirement-met { color: #397451; }
.auth-card input + label { margin-top: 6px; }
.auth-card .legal-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 9px; font-weight: 400; line-height: 1.4; }
.auth-card .legal-consent input { width: auto; flex: 0 0 auto; margin-top: 2px; }
.legal-consent a { color: var(--violet); }
.auth-submit { margin-top: 9px; border-radius: 11px; padding: 10px 12px; color: #fff; background: var(--violet); font-size: .85rem; font-weight: 800; }
.auth-submit:hover { background: var(--violet-dark); }
.prototype-note { margin: 13px 0 0; color: #938d99; font-size: .72rem; line-height: 1.45; }
.prototype-note a, .back-link { color: var(--violet); }
.device-switcher { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.device-switcher h2 { margin: 0 0 6px; font-size: 1rem; }
.device-choice { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .78rem; }
.device-choice small { display: block; color: var(--muted); margin-top: 3px; }
.device-choice button { flex: 0 0 auto; border: 0; border-radius: 8px; padding: 7px 10px; color: #fff; background: var(--violet); cursor: pointer; font-size: .72rem; font-weight: 700; }
.device-choice button:hover { background: var(--violet-dark); }
.back-link { display: inline-block; margin-top: 18px; font-size: .78rem; font-weight: 800; text-decoration: none; }
.back-link:hover, .prototype-note a:hover { color: var(--violet-dark); }

@media (max-width: 480px) {
  .auth-shell { padding: 12px; }
  .auth-card { padding: 22px 18px; }
}
