/* Minimal, safe defaults for rendered Markdown */
.markdown-content * { box-sizing: border-box; }

.markdown-content p,
.markdown-content ul,
.markdown-content ol,
.markdown-content table,
.markdown-content pre,
.markdown-content blockquote {
  margin: 0 0 .75rem;
}

/* Lists (bullets & numbers) */
.markdown-content ul { list-style: disc; padding-left: 1.25rem; }
.markdown-content ol { list-style: decimal; padding-left: 1.25rem; }
.markdown-content li > ul,
.markdown-content li > ol { margin-top: .25rem; }

/* Tables (show gridlines) */
.markdown-content table { width: 100%; border-collapse: collapse; }
.markdown-content th,
.markdown-content td { border: 1px solid #e5e7eb; padding: .5rem .625rem; }
.markdown-content th { background: #f9fafb; font-weight: 600; text-align: left; }

/* Blockquotes */
.markdown-content blockquote {
  border-left: 4px solid #e5e7eb;
  padding-left: .75rem;
  color: #374151;
}

/* Code */
.markdown-content pre {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: .375rem;
  padding: .75rem;
  overflow: auto;
}
.markdown-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: .875em;
}

/* Horizontal rule */
.markdown-content hr { border: 0; border-top: 1px solid #e5e7eb; margin: 1rem 0; }

/* Links & images */
.markdown-content a { text-decoration: underline; }
.markdown-content img { max-width: 100%; height: auto; }

/* Headings spacing (optional but helpful) */
.markdown-content h1, .markdown-content h2, .markdown-content h3,
.markdown-content h4, .markdown-content h5, .markdown-content h6 {
  margin: 1rem 0 .5rem;
  line-height: 1.25;
}
