/* Markdown prose (posts, comments, resources) — the ONLY surviving component
   from the kit's design system; the rest ("Quiet Ledger" ak-* classes) was
   dead and removed in the Step 9 design pass. DESIGN.md → "Code block" +
   Typography: body prose 14.5/1.6, capped 70ch; inline code 0.85em on `well`;
   code blocks scroll inside their own box (the page never scrolls);
   orange-deep links. No syntax highlighting in v1. */
.md-prose {
  max-width: 70ch;
  font-size: 14.5px;
  color: var(--color-ink);
  line-height: 1.6;
  overflow-wrap: break-word;
}
.md-prose > * + * { margin-top: 0.85em; }
.md-prose a {
  color: var(--color-orange-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.md-prose a:hover { color: var(--color-ink); }
.md-prose h1, .md-prose h2, .md-prose h3, .md-prose h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.3;
  margin-top: 1.4em;
}
.md-prose h1 { font-size: 1.35em; }
.md-prose h2 { font-size: 1.2em; }
.md-prose h3 { font-size: 1.05em; }
.md-prose ul, .md-prose ol { padding-left: 1.4em; }
.md-prose ul { list-style: disc; }
.md-prose ol { list-style: decimal; }
.md-prose li + li { margin-top: 0.25em; }
.md-prose blockquote {
  border-left: 2px solid var(--color-line);
  padding-left: 0.9em;
  color: var(--color-faint);
}
.md-prose code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--color-well);
  padding: 0.1em 0.3em;
  border-radius: 3px;
}
.md-prose pre {
  background: var(--color-well);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  padding: 0.8em 0.9em;
  overflow-x: auto;
}
.md-prose pre code { background: none; padding: 0; font-size: 0.85em; }
.md-prose table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.95em;
}
.md-prose th, .md-prose td {
  border: 1px solid var(--color-line);
  padding: 0.4em 0.6em;
  text-align: left;
}
.md-prose img { max-width: 100%; }
