:root {
  color-scheme: dark;
  --bg: #0b1020;
  --panel: #121931;
  --panel-2: #182142;
  --text: #eef2ff;
  --muted: #a7b0d1;
  --accent: #67e8f9;
  --green: #22c55e;
  --red: #f87171;
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: linear-gradient(180deg, #0b1020 0%, #111933 100%);
  color: var(--text);
}

.shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
}

.eyebrow {
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.12em;
  font-size: 12px;
  margin: 0 0 10px;
}

h1 {
  margin: 0;
  font-size: 40px;
}

.subtitle,
.meta p {
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--accent);
  color: #04111b;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
}

.button-secondary {
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--border);
}

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

.card,
.meta,
.table-wrap,
.empty {
  background: rgba(18, 25, 49, 0.92);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card {
  padding: 18px;
}

.card span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

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

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

.error {
  color: #fecaca;
}

.table-wrap {
  overflow: auto;
}

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

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

th {
  position: sticky;
  top: 0;
  background: #0f1630;
  color: #dbe4ff;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.pill.call {
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
}

.pill.short {
  background: rgba(248, 113, 113, 0.16);
  color: #fecaca;
}

.empty {
  padding: 40px 24px;
  text-align: center;
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: start;
  }

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

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

  h1 {
    font-size: 30px;
  }
}
