/* Minimal GitHub-like markdown styling, adapted to theme variables */
.markdown-body {
  -webkit-text-size-adjust: 100%;
  color: var(--text);
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  margin-top: 1.25em;
  margin-bottom: 0.6em;
  font-weight: 700;
}

.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}

.markdown-body code,
.markdown-body kbd,
.markdown-body tt,
.markdown-body samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 0.94em;
}

.markdown-body pre,
.markdown-body pre code {
  background: color-mix(in srgb, var(--surface) 60%, var(--bg));
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  overflow: auto;
}

.markdown-body pre > code {
  background: transparent;
  padding: 0;
}
.markdown-body ul { list-style: disc; padding-left: 2em; }
.markdown-body ol { list-style: decimal; padding-left: 2em; }
.markdown-body li > p { margin: 0.3em 0; }

.markdown-body img { max-width: 100%; }


.markdown-body code {
  background: color-mix(in srgb, var(--surface) 70%, var(--bg));
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1em 0.35em;
}

.markdown-body blockquote {
  padding: 0.75em 1em;
  color: var(--text);
  border-left: 4px solid var(--accent);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: color-mix(in srgb, var(--surface) 65%, var(--bg));
}

.markdown-body table {
  border-collapse: collapse;
  width: 100%;
}

.markdown-body table th,
.markdown-body table td {
  border: 1px solid var(--border);
  padding: 6px 10px;
}

.markdown-body table thead th {
  background: color-mix(in srgb, var(--surface) 75%, var(--bg));
}


