.auth-shell {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-header {
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.auth-logo {
  font-weight: 600;
  color: var(--text-1);
  font-size: 16px;
}

.auth-help {
  font-size: 12.5px;
  color: var(--text-3);
}

.auth-help a {
  color: var(--accent);
  text-decoration: none;
}

.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.auth-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(91,141,255,0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-auth-card);
}

.auth-h1 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--text-1);
}

.auth-subtitle {
  font-size: 13px;
  color: var(--text-2);
  margin: 0 0 28px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-field {
  display: flex;
  flex-direction: column;
}

.auth-label {
  font-size: 11px;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 6px;
}

.auth-input {
  padding: 9px 12px;
  background: var(--surface-hi);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-1);
  font-family: inherit;
}

.auth-btn-primary {
  padding: 10px 14px;
  background: var(--accent);
  color: white;
  font-size: 13px;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  margin-top: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  cursor: pointer;
  font-family: inherit;
}

.auth-link {
  font-size: 12.5px;
  color: var(--accent);
  text-decoration: none;
  margin-top: 2px;
  display: inline-block;
}

.auth-footer {
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 11.5px;
}

.auth-footer .footer-links {
  display: flex;
  gap: 18px;
}

.auth-footer a {
  color: var(--text-3);
  text-decoration: none;
}

.auth-flash {
  padding: 10px 12px;
  border-radius: var(--radius-2);
  margin-bottom: var(--space-6);
  font-size: 13px;
}

.auth-flash-neg {
  background: var(--neg-dim);
  color: var(--neg);
  border: 1px solid var(--neg);
}

.auth-flash-warn {
  background: var(--warn-dim);
  color: var(--warn);
  border: 1px solid var(--warn);
}

.auth-flash-pos {
  background: var(--pos-dim);
  color: var(--pos);
  border: 1px solid var(--pos);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-size: 11.5px;
  margin: 18px 0 12px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-btn-google {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: var(--surface-hi);
  color: var(--text-1);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
}
.auth-btn-google:hover { background: var(--surface-hover); }
.auth-btn-google:focus-visible {
  outline: 2px solid var(--text-1);
  outline-offset: 2px;
}
