:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #08111f;
  color: #e5edf7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.22), transparent 34rem),
    linear-gradient(145deg, #08111f, #111827 55%, #050816);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0;
}

header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 28px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.06em;
}

h2 {
  font-size: 1rem;
  margin-bottom: 16px;
}

.eyebrow {
  color: #93c5fd;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.muted {
  color: #a8b3c7;
  margin-top: 10px;
}

label {
  color: #a8b3c7;
  display: grid;
  gap: 8px;
  min-width: 150px;
}

select {
  appearance: none;
  background: #101a2c;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  color: #e5edf7;
  font: inherit;
  padding: 10px 14px;
}

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

.cards article,
.detail-cards article,
.panel,
.notice {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.cards article,
.detail-cards article {
  padding: 22px;
}

.cards span,
.detail-cards span {
  color: #94a3b8;
  display: block;
  margin-bottom: 10px;
}

.cards strong,
.detail-cards strong {
  display: block;
  font-size: 2.5rem;
  letter-spacing: -0.05em;
}

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

.panel {
  overflow: hidden;
  padding: 22px;
}

.table {
  overflow-x: auto;
}

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

th,
td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  padding: 10px 8px;
  text-align: left;
  white-space: nowrap;
}

th {
  color: #93c5fd;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

td {
  color: #d8e2ef;
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.snippet {
  margin-top: 16px;
}

.details {
  margin-top: 16px;
}

.panel-heading {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 18px;
}

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

.detail-cards article,
.detail-grid > article {
  background: rgba(2, 6, 23, 0.28);
}

.detail-grid > article {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 18px;
  padding: 18px;
}

pre {
  background: #050816;
  border-radius: 14px;
  color: #bfdbfe;
  overflow-x: auto;
  padding: 16px;
}

code {
  color: #bfdbfe;
}

.notice {
  color: #fed7aa;
  margin-bottom: 16px;
  padding: 16px 18px;
}

.hidden {
  display: none;
}

.empty {
  color: #64748b;
}

@media (max-width: 760px) {
  header,
  .cards,
  .detail-cards,
  .grid {
    grid-template-columns: 1fr;
  }

  header,
  .panel-heading {
    display: grid;
  }
}
