:root {
  --bg: #08111f;
  --panel: #111b2d;
  --panel-2: #16243b;
  --text: #eef4ff;
  --muted: #9db0c9;
  --line: rgba(255,255,255,0.08);
  --green: #3ddc97;
  --blue: #60a5fa;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: linear-gradient(180deg, #040916, #08111f);
  color: var(--text);
}

.shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.sidebar {
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  padding: 24px;
}

.sidebar h1 {
  font-size: 1.1rem;
  margin-top: 0;
}

.nav {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.nav button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
}

.nav button.active {
  background: rgba(61, 220, 151, 0.12);
  color: var(--text);
}

.content {
  padding: 28px;
}

.topbar {
  margin-bottom: 20px;
}

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 800;
  margin: 0 0 8px;
}

.stats-grid,
.detail-grid,
.grid-two {
  display: grid;
  gap: 16px;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 20px;
}

.grid-two,
.detail-grid {
  grid-template-columns: repeat(2, 1fr);
}

.stat-card,
.panel,
.detail-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 20px;
  padding: 20px;
}

.stat-card strong {
  font-size: 2rem;
}

.panel {
  margin-bottom: 20px;
}

.list {
  display: grid;
  gap: 10px;
}

.list-item,
.pill {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.pill.active {
  background: rgba(61, 220, 151, 0.14);
  color: var(--text);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  border-bottom: 1px solid var(--line);
  padding: 12px 8px;
  text-align: left;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green), #21c47b);
  color: #04111d;
  font-weight: 800;
  padding: 12px 18px;
  cursor: pointer;
}

.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.form-panel {
  display: grid;
  gap: 14px;
}

.form-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.form-panel input,
.form-panel textarea,
.form-panel select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  color: var(--text);
}

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

.muted {
  color: var(--muted);
}

@media (max-width: 900px) {
  .shell,
  .stats-grid,
  .detail-grid,
  .grid-two {
    grid-template-columns: 1fr;
  }
}
