/* ── Code / monospace contrast normalization ──────────────────── */
:root {
  --code-bg-inline: #2d2d2d;
  --code-fg-inline: #e8e8e8;
  --code-bg-block: #1e1e1e;
  --code-fg-block: #d4d4d4;
  --code-bg-output: #0d1117;
  --code-fg-output: #c9d1d9;
}

/* Inline code in prose */
:not(pre) > code {
  background: var(--code-bg-inline);
  color: var(--code-fg-inline);
  padding: 0.1em 0.35em;
  border-radius: 3px;
  font-size: 0.88em;
}

/* All fixed-width code blocks (not just bash/sh) */
pre,
div.sourceCode pre,
pre.sourceCode {
  background: var(--code-bg-block);
  color: var(--code-fg-block);
  border-left: 3px solid #569cd6;
}

/* Ensure nested <code> inherits readable colors */
pre code {
  color: inherit;
  background: transparent;
}

/* Distinct style for command output blocks */
.cell-output pre {
  background: var(--code-bg-output);
  color: var(--code-fg-output);
  border-left: 3px solid #3fb950;
  font-size: 0.85em;
}

/* Column layout breathing room */
.columns {
  gap: 1.5rem;
}

/* Step headers */
h2 {
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 0.3em;
  margin-top: 2.5rem;
}

/* File-inventory table */
.file-table {
  font-family: var(--bs-font-monospace);
  font-size: 0.85em;
}

/* Workflow comparison badges */
.badge-classic {
  background: #6c757d;
  color: white;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  font-size: 0.8em;
  font-weight: bold;
}
.badge-trx {
  background: #0d6efd;
  color: white;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  font-size: 0.8em;
  font-weight: bold;
}

/* tckinfo output box */
.tckinfo-box {
  background: #0d1117;
  color: #c9d1d9;
  padding: 1rem 1.2rem;
  border-radius: 6px;
  border-left: 4px solid #58a6ff;
  font-family: var(--bs-font-monospace);
  font-size: 0.82em;
  overflow-x: auto;
  white-space: pre;
}
.tckinfo-box .highlight {
  color: #ffa657;
  font-weight: bold;
}
