body.auth-body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 32%),
    linear-gradient(180deg, #f3f5f8, #e8edf4);
  color: var(--app-ink);
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}

.auth-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  gap: 20px;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-brand strong,
.auth-brand span {
  display: block;
}

.auth-brand strong {
  font-size: 1.05rem;
}

.auth-brand span {
  margin-top: 2px;
  font-size: 0.78rem;
  color: var(--app-muted);
}

.auth-card {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid var(--app-border);
  border-radius: 18px;
  box-shadow: var(--app-shadow);
  padding: 28px 26px 24px;
}

.auth-card h1 {
  margin: 0;
  font-size: 1.45rem;
}

.auth-lead,
.auth-note {
  color: var(--app-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.auth-note {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--app-accent-soft);
  color: var(--app-accent-dark);
}

.auth-flash {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.9rem;
  font-weight: 700;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--app-muted);
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--app-border-strong);
  border-radius: 10px;
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--app-ink);
}

.auth-form em {
  font-style: normal;
  color: #b91c1c;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

.auth-check {
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700 !important;
  color: var(--app-ink) !important;
}

.auth-submit {
  margin-top: 6px;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--app-accent), #dc2626);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 0;
  font-size: 0.88rem;
}

.auth-links a,
.auth-note a {
  color: var(--app-accent);
  font-weight: 800;
  text-decoration: none;
}

.acc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.acc-card {
  background: #fff;
  border: 1px solid var(--app-border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--app-shadow-sm);
}

.acc-card h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.acc-card-wide {
  grid-column: 1 / -1;
}

.acc-ops {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.acc-ops li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--app-border);
  border-radius: 10px;
  background: var(--app-surface-soft);
}

.acc-ops span {
  color: var(--app-muted);
}

@media (max-width: 860px) {
  .acc-grid { grid-template-columns: 1fr; }
}
