.markdown-body {
  box-sizing: border-box;
  min-width: 200px;
  max-width: 980px;
  margin-left: 0;
  line-height: 1.5;
}

.markdown-body h1 {
  font-size: 2em;
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: #24292f;
}

.markdown-body h2 {
  font-size: 1.5em;
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: #24292f;
}

.markdown-body h3 {
  font-size: 1.25em;
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: #24292f;
}

.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: #24292f;
}

.dark .markdown-body h1,
.dark .markdown-body h2,
.dark .markdown-body h3,
.dark .markdown-body h4,
.dark .markdown-body h5,
.dark .markdown-body h6 {
  color: hsl(var(--foreground));
}

.markdown-body p {
  margin-top: 0;
  margin-bottom: 16px;
}

.markdown-body a {
  color: #e2a727;
  text-decoration: underline;
}

.markdown-body a:hover {
  text-decoration: underline;
}

.markdown-body ul {
  list-style-type: disc;
  padding-left: 2em;
  margin-bottom: 16px;
}

/* Nested bullet styling with different markers */
.markdown-body ul ul {
  list-style-type: circle;
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

.markdown-body ul ul ul {
  list-style-type: square;
}

.markdown-body ul.contains-task-list {
  list-style-type: none;
  padding-left: 0;
}

/* Nested task lists should have indentation */
.markdown-body ul.contains-task-list ul.contains-task-list {
  padding-left: 2em;
}

.markdown-body .task-list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5em;
}

.markdown-body .task-list-item input[type="checkbox"] {
  margin-right: 0.5em;
  appearance: none;
  width: 1.2em;
  height: 1.2em;
  border: 1px solid #6a737d;
  border-radius: 50%;
  vertical-align: top;
  position: relative;
  top: 0.2em;
  cursor: pointer;
}

.markdown-body .task-list-item input[type="checkbox"]:checked {
  background-color: #e2a727;
  border-color: #e2a727;
}

.markdown-body .task-list-item input[type="checkbox"]:checked::after {
  content: '\2713';
  font-size: 1em;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.dark .markdown-body .task-list-item input[type="checkbox"]:checked::after {
  color: #1c1c1c;
}

.markdown-body ol {
  list-style-type: decimal;
  padding-left: 2em;
  margin-bottom: 16px;
}

.markdown-body li {
  margin: 0.5em 0;
}

.markdown-body blockquote {
  padding: 0 1em;
  color: #6a737d;
  border-left: 0.25em solid #dfe2e5;
}

.dark .markdown-body blockquote {
  color: hsl(var(--muted-foreground));
  border-left-color: hsl(var(--muted-foreground) / 0.3);
}

.markdown-body code {
  background-color: #f6f8fa;
  border-radius: 3px;
  padding: 0.2em 0.4em;
  font-size: 85%;
  color: #24292f;
}

.markdown-body pre {
  background-color: #f6f8fa;
  padding: 16px;
  overflow: auto;
  border-radius: 3px;
}

.markdown-body pre code {
  background-color: transparent;
  padding: 0;
  font-size: 85%;
  color: inherit;
}

.dark .markdown-body code {
  background-color: hsl(var(--muted));
  color: hsl(var(--foreground));
}

.dark .markdown-body pre {
  background-color: hsl(var(--muted));
  color: hsl(var(--foreground));
}

.dark .markdown-body pre code {
  background-color: transparent;
  color: hsl(var(--foreground));
}

.markdown-body table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0;
}

.markdown-body table th,
.markdown-body table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid #d0d7de;
}

.markdown-body table th {
  font-weight: 600;
}

.markdown-body table a {
  color: #e2a727;
  text-decoration: underline;
}

.markdown-body table a:hover {
  text-decoration: underline;
}

.dark .markdown-body table th,
.dark .markdown-body table td {
  border: 1px solid #4a4a4a;
}

.dark .markdown-body table a {
  color: #e2a727;
}

.markdown-body img {
  max-width: 672px;
  width: 100%;
  height: auto;
  display: block;
  margin: 16px 0;
  border-radius: 4px;
}