.auth-shell {
  max-width: 456px;
  margin: 64px auto 96px;
  padding: 0 24px;
}
.auth-card h1 {
  margin: 0 0 28px;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.auth-status {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 22px;
  overflow-wrap: anywhere;
}
.auth-status:empty {
  display: none;
}
.auth-status[data-error="true"] {
  color: #b33036;
}
.auth-form {
  display: grid;
  gap: 18px;
}
.auth-field {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
}
.auth-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cdd2da;
  border-radius: 10px;
  padding: 10px 13px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 400;
}
.auth-field small {
  color: var(--muted);
  font-weight: 400;
}
.auth-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}
.auth-button:hover:not(:disabled) {
  background: var(--wash);
}
.auth-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.auth-primary:hover:not(:disabled) {
  background: #1d3db4;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  margin: 24px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin-top: 22px;
  font-size: 14px;
}
.auth-links a,
.auth-inline {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-google-icon {
  width: 20px;
  height: 20px;
  flex: none;
}
.auth-unavailable {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.account-detail {
  margin: 0 0 28px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.account-detail dt {
  font-size: 13px;
  color: var(--muted);
}
.account-detail dd {
  margin: 2px 0 16px;
  overflow-wrap: anywhere;
}
.account-detail dd:last-child {
  margin-bottom: 0;
}
@media (max-width: 480px) {
  .auth-shell {
    margin-top: 36px;
  }
  .auth-card h1 {
    font-size: 30px;
  }
}
