.rich-editor-html-content {
    font-size: 0.875rem; /* 14px */
    line-height: 1.75;
    color: #374151;
    word-break: break-word;
}

.rich-editor-html-content>*:first-child {
    margin-top: 0;
}

.rich-editor-html-content>*:last-child {
    margin-bottom: 0;
}

/* Headings */
.rich-editor-html-content h1,
.rich-editor-html-content h2,
.rich-editor-html-content h3,
.rich-editor-html-content h4,
.rich-editor-html-content h5,
.rich-editor-html-content h6 {
    margin: 1rem 0 .5rem;
    font-weight: 600;
    color: #111827;
}

/* Paragraph */
.rich-editor-html-content p {
    margin-bottom: .75rem;
}

/* Lists */
.rich-editor-html-content ul,
.rich-editor-html-content ol {
    margin: .75rem 0;
    padding-left: 1.5rem;
}

.rich-editor-html-content ul {
    list-style: disc;
}

.rich-editor-html-content ol {
    list-style: decimal;
}

.rich-editor-html-content li {
    margin: .25rem 0;
}

/* Text */
.rich-editor-html-content strong,
.rich-editor-html-content b {
    font-weight: 600;
}

.rich-editor-html-content em,
.rich-editor-html-content i {
    font-style: italic;
}

.rich-editor-html-content a {
    color: #2563eb;
    text-decoration: underline;
}

/* Images */
.rich-editor-html-content img {
    max-width: 100%;
    height: auto;
    border-radius: .5rem;
}

/* Tables */
.rich-editor-html-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

.rich-editor-html-content th,
.rich-editor-html-content td {
    padding: .75rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.rich-editor-html-content th {
    background: #f9fafb;
    font-weight: 600;
}