:root {
  --surface: #171a21;

  --surface-2: #1f2430;

  --text: #e6e9ef;

  --muted: #9aa3b2;

  --accent: #8bd5ff;

  --border: #313847;

  --code-bg: #0b0d12;

  --code-text: #d7ffd7;

  --shadow: rgba(0, 0, 0, 0.35);
}

.viewer {
  width: 100%;

  max-width: 100%;

  padding: 2rem;

  border:
    1px solid
    var(--border);

  border-radius: 24px;

  background: var(--surface);

  box-shadow:
    0 12px 32px
    var(--shadow);

  overflow-x: auto;

  cursor: pointer;
}

.label {
  display: inline-block;

  margin-bottom: 1rem;

  padding:
    0.35rem
    0.75rem;

  border-radius: 999px;

  background: var(--surface-2);

  border:
    1px solid
    var(--border);

  color: var(--accent);

  font-weight: 700;
}

table {
  width: 100%;

  border-collapse: collapse;

  background: var(--surface-2);
}

th,
td {
  padding: 0.85rem;

  text-align: left;

  border:
    1px solid
    var(--border);
}

th {
  color: var(--accent);

  background: rgba(255,255,255,0.03);
}

pre {
  margin: 0;

  padding: 1.2rem;

  border-radius: 16px;

  background: var(--code-bg);

  color: var(--code-text);

  overflow-x: auto;

  line-height: 1.5;

  font-size: 0.95rem;

  border:
    1px solid
    var(--border);

  white-space: pre;
}

.note {
  margin-top: 1rem;

  color: var(--muted);
}

code {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
}
