.auth-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.auth-wrap {
  width: min(420px, 100%);
  position: relative;
  z-index: 1;
}

.auth-wrap .brand {
  display: inline-block;
  margin-bottom: 1rem;
}

.auth-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.auth-card h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.auth-sub {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.auth-form {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.75rem;
}

.auth-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.85rem 1rem;
  font: inherit;
  background: #fff;
}

.auth-form input:focus {
  outline: 2px solid rgba(15, 107, 92, 0.35);
}

.auth-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.auth-links {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.auth-links a {
  color: var(--teal-deep);
  font-weight: 700;
}

.auth-alert {
  margin-top: 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.auth-alert-error {
  background: #f8d9d4;
  color: var(--bad);
}

.auth-alert-ok {
  background: #d8f3e4;
  color: var(--ok);
}

.backend-shell {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.1rem 0 2.5rem;
  position: relative;
  z-index: 1;
}

.backend-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.backend-user {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.reports-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.reports-table th,
.reports-table td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.reports-table th {
  font-family: var(--font-display);
  background: rgba(15, 107, 92, 0.08);
}

.reports-table tr:last-child td {
  border-bottom: 0;
}

.reports-empty {
  padding: 1.25rem;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .reports-table th:nth-child(3),
  .reports-table td:nth-child(3) {
    display: none;
  }
}
