:root {
  color: #172033;
  background: #f4f6f8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f4f6f8;
}

.landing {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.hero,
.shell {
  width: min(1120px, 100%);
}

.hero {
  padding: 52px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #166534;
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: 34px;
}

.sub {
  max-width: 680px;
  color: #5b6678;
  line-height: 1.7;
}

.actions {
  margin-top: 26px;
}

.button,
.row-actions button {
  border: 0;
  border-radius: 8px;
  background: #16a34a;
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
}

.button.small {
  min-height: 36px;
}

.shell {
  margin: 0 auto;
  padding: 28px 18px 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.topbar h1 {
  margin-bottom: 0;
}

.panel,
.stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.panel {
  padding: 20px;
  margin-bottom: 18px;
}

.login-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

label {
  display: block;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 15px;
}

.hint,
.muted {
  color: #64748b;
  font-size: 13px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.stat-card {
  padding: 18px;
}

.stat-card strong {
  display: block;
  font-size: 30px;
}

.stat-card span {
  color: #64748b;
}

.panel-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 10px;
  border-top: 1px solid #edf2f7;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  color: #475569;
  font-size: 13px;
}

.pill {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 700;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.row-actions button {
  padding: 7px 9px;
  font-size: 12px;
}

.empty {
  color: #64748b;
  text-align: center;
}

@media (max-width: 760px) {
  .hero {
    padding: 28px;
  }

  h1 {
    font-size: 26px;
  }

  .topbar,
  .login-row,
  .panel-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
