.web-markdown-content,
.web-rich-text-content {
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.75;
}

.web-markdown-content > :first-child,
.web-rich-text-content > :first-child {
    margin-top: 0;
}

.web-markdown-content h1,
.web-markdown-content h2,
.web-markdown-content h3,
.web-markdown-content h4,
.web-markdown-content h5,
.web-markdown-content h6,
.web-rich-text-content h1,
.web-rich-text-content h2,
.web-rich-text-content h3,
.web-rich-text-content h4,
.web-rich-text-content h5,
.web-rich-text-content h6 {
    margin: 1.5em 0 0.55em;
    font-weight: 700;
    line-height: 1.2;
}

.web-markdown-content p,
.web-rich-text-content p,
.web-markdown-content ul,
.web-markdown-content ol,
.web-rich-text-content ul,
.web-rich-text-content ol,
.web-markdown-content blockquote,
.web-rich-text-content blockquote {
    margin: 0.9rem 0;
}

.web-markdown-content ul,
.web-rich-text-content ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.web-markdown-content ol,
.web-rich-text-content ol {
    list-style: decimal;
    padding-left: 1.5rem;
}

.web-markdown-content li,
.web-rich-text-content li {
    margin: 0.35rem 0;
}

.web-markdown-content a,
.web-rich-text-content a {
    color: #0f172a;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.web-markdown-content code,
.web-rich-text-content code {
    padding: 0.15rem 0.35rem;
    border-radius: 0.35rem;
    background: #e2e8f0;
    font-size: 0.94em;
}

.web-markdown-content pre,
.web-rich-text-content pre {
    overflow: auto;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 0.75rem;
    background: #0f172a;
    color: #e2e8f0;
}

.web-markdown-content pre code,
.web-rich-text-content pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

.web-markdown-content img,
.web-rich-text-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

.web-markdown-table,
.web-rich-text-table {
    margin: 1rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
}

.web-markdown-table table,
.web-rich-text-table table {
    min-width: 100%;
    width: max-content;
    border-collapse: separate;
    border-spacing: 0;
}

.web-markdown-table th,
.web-markdown-table td,
.web-rich-text-table th,
.web-rich-text-table td {
    padding: 0.65rem 0.8rem;
    text-align: left;
    vertical-align: top;
}

.web-markdown-table th:not(:last-child),
.web-markdown-table td:not(:last-child),
.web-rich-text-table th:not(:last-child),
.web-rich-text-table td:not(:last-child) {
    border-right: 1px solid #e2e8f0;
}

.web-markdown-table tr:not(:last-child) th,
.web-markdown-table tr:not(:last-child) td,
.web-rich-text-table tr:not(:last-child) th,
.web-rich-text-table tr:not(:last-child) td {
    border-bottom: 1px solid #e2e8f0;
}

.web-markdown-table th,
.web-rich-text-table th {
    background: #f8fafc;
    font-weight: 600;
}

.web-markdown-table thead th,
.web-rich-text-table thead th {
    border-bottom: 1px solid #e2e8f0;
}
