/* Base styles */
body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
  line-height: 1.5;
  color: #24292e;
  margin: 0;
  padding: 0;
}

/* Prose styles for markdown content */
.prose {
  max-width: 80ch;
  color: #24292e;
}

.prose a {
  color: #0969da;
  text-decoration: none;
}

.prose a:hover {
  text-decoration: underline;
}

.prose strong {
  font-weight: 600;
  color: #24292e;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 600;
  line-height: 1.25;
  color: #24292e;
}

.prose h1 {
  font-size: 2em;
  border-bottom: 1px solid #eaecef;
  padding-bottom: 0.3em;
}

.prose h2 {
  font-size: 1.5em;
  border-bottom: 1px solid #eaecef;
  padding-bottom: 0.3em;
}

.prose h3 {
  font-size: 1.25em;
}

.prose h4 {
  font-size: 1em;
}

.prose p,
.prose ul,
.prose ol {
  margin-top: 0;
  margin-bottom: 1em;
}

.prose code {
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  padding: 0.2em 0.4em;
  margin: 0;
  font-size: 85%;
  background-color: rgba(27, 31, 35, 0.05);
  border-radius: 3px;
}

.prose pre {
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  padding: 16px;
  overflow: auto;
  font-size: 85%;
  line-height: 1.45;
  background-color: #f6f8fa;
  border-radius: 3px;
  margin-top: 0;
  margin-bottom: 16px;
}

.prose pre code {
  background-color: transparent;
  padding: 0;
  margin: 0;
  font-size: 100%;
  word-break: normal;
  white-space: pre;
}

.prose blockquote {
  padding: 0 1em;
  color: #6a737d;
  border-left: 0.25em solid #dfe2e5;
  margin: 0 0 16px 0;
}

.prose img {
  max-width: 100%;
  box-sizing: content-box;
  background-color: #fff;
}

.prose hr {
  height: 0.25em;
  padding: 0;
  margin: 24px 0;
  background-color: #e1e4e8;
  border: 0;
}

.prose table {
  border-spacing: 0;
  border-collapse: collapse;
  margin-top: 0;
  margin-bottom: 16px;
  width: 100%;
  overflow: auto;
}

.prose table th {
  font-weight: 600;
  padding: 6px 13px;
  border: 1px solid #dfe2e5;
}

.prose table td {
  padding: 6px 13px;
  border: 1px solid #dfe2e5;
}

.prose table tr {
  background-color: #fff;
  border-top: 1px solid #c6cbd1;
}

.prose table tr:nth-child(2n) {
  background-color: #f6f8fa;
}

/* Prose size variants */
.prose-sm {
  font-size: 0.875rem;
}

.prose-sm p {
  margin-bottom: 0.75em;
}

.prose-sm h1,
.prose-sm h2,
.prose-sm h3,
.prose-sm h4,
.prose-sm h5,
.prose-sm h6 {
  margin-top: 1.25em;
  margin-bottom: 0.5em;
}

/* Override GitHub markdown CSS to ensure light theme */
.markdown-body {
  background-color: #fff !important;
  color: #24292e !important;
}
