.prose {
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.7;
}

.prose p {
    margin-bottom: 1.25rem;
}
.prose p + p {
    margin-top: 1.25rem;
}

.prose > :first-child {
    margin-top: 0;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
    color: #111827;
    font-weight: 700;
}
.prose h1 {
    font-size: 2.25rem;
    margin: 2rem 0 1.5rem 0;
}
.prose h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1.25rem 0;
}
.prose h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}
.prose h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

.prose ul, .prose ol {
    margin: 0.75rem 0 1.25rem 0;
    padding-left: 1.75rem;
}
.prose ul {
    list-style-type: disc;
}
.prose ol {
    list-style-type: decimal;
}
.prose li {
    padding-left: 0.5rem;
    margin-bottom: 0.375rem;
}

.prose a {
    color: #0284c7;
    text-decoration: underline;
    transition: color 0.15s ease-in-out;
}
.prose a:hover {
    color: #0369a1;
}

.prose code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.875em;
    border-radius: 0.3em;
    padding: 0.2em 0.4em;
    font-weight: 500;
}
html:not(.dark) .prose code {
    background-color: #e1e1e1;
    color: #44475a;
}

.prose pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    padding: 1rem;
    border-radius: 0.375rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.9em;
}
.prose pre code {
    background-color: transparent !important;
    color: inherit !important;
    padding: 0 !important;
    font-size: inherit !important;
}

.prose blockquote {
    font-style: italic;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    border-left: 0.25rem solid #cbd5e0;
    color: #718096;
}

.prose hr {
    border-top: 1px solid #e5e7eb;
    margin: 3rem 0;
}
.prose img {
    max-width: 100%;
    margin: 1.5rem 0;
    border-radius: 0.25rem;
}

html.dark .prose p,
html.dark .prose li,
html.dark .prose blockquote {
    color: #d1d5db;
}

html.dark .prose h1,
html.dark .prose h2,
html.dark .prose h3,
html.dark .prose h4 {
    color: #f3f4f6;
}

html.dark .prose a {
    color: #6dd5ed;
    text-decoration: none;
}
html.dark .prose a:hover {
    color: #a5f3fc;
    text-decoration: underline;
}

html.dark .prose code {
    background-color: #44475a;
    color: #e9e9e9;
}
html.dark .prose blockquote {
    border-left-color: #94a3b8;
    color: #a1a1aa;
}
html.dark .prose hr {
    border-top-color: #374151;
}

html.dark .prose pre .c,
html.dark .prose pre .c1,
html.dark .prose pre .cs {
    color: #9a9ed9;
    font-style: italic;
}
