.auth-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.7fr);
}

.auth-art {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--primary);
  color: #fff;
  padding: 48px;
}

.auth-copy {
  position: relative;
  z-index: 1;
}

.auth-art::after,
.auth-art::before {
  position: absolute;
  content: "";
  pointer-events: none;
  background: rgb(255 255 255 / 0.12);
}

.auth-art::before {
  top: -80px;
  right: -40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
}

.auth-art::after {
  bottom: 120px;
  left: 35%;
  width: 96px;
  height: 96px;
  rotate: 12deg;
  background: var(--accent);
}

.auth-art h1 {
  max-width: 760px;
  margin: 16px 0 10px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.auth-art p {
  max-width: 620px;
  color: rgb(255 255 255 / 0.82);
  font-size: 18px;
}

.signin-brand {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0;
  color: var(--ink);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.signin-brand-light {
  color: #fff;
}

.signin-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.auth-logo { width: 132px; object-fit: contain; }

.demo-credentials {
  position: absolute;
  right: 48px;
  bottom: 48px;
  left: 48px;
  z-index: 1;
  display: grid;
  max-width: 520px;
  gap: 7px;
  border-radius: 8px;
  background: rgb(17 24 39 / 0.18);
  padding: 18px;
  font-size: 14px;
}

.demo-credentials strong { font-size: 16px; }

.auth-card,
.onboarding-card {
  align-self: center;
  margin: 32px;
  border-radius: 8px;
  background: #fff;
  padding: 34px;
}

.auth-card.compact {
  max-width: 460px;
}

.auth-card h2,
.onboarding-card h1 {
  margin: 18px 0 6px;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.signup-panel {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
  padding: 16px;
}

.signup-panel summary {
  cursor: var(--cursor-pointer);
  color: var(--foreground);
  font-weight: 800;
}

.signup-panel form { margin-top: 16px; }

.signup-panel input {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--border);
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
  color: var(--muted-foreground);
  font-size: 13px;
}

.onboarding-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #eff6ff 0%, #fff 44%, #ecfdf5 100%);
}

.onboarding-card {
  width: min(980px, 100%);
  margin: 0;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checks label {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: var(--muted);
  padding: 8px 12px;
}

.checks input[type="checkbox"] { flex: 0 0 22px; }
