.sai-ai-rich-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #3d4466;
    word-break: break-word;
}

.sai-ai-rich-text p {
    margin: 0 0 14px;
}

.sai-ai-rich-text p:last-child {
    margin-bottom: 0;
}

.sai-ai-rich-text strong,
.sai-ai-rich-text b {
    font-weight: 700;
}

.sai-ai-rich-text em,
.sai-ai-rich-text i {
    font-style: italic;
}

.sai-ai-rich-text u {
    text-decoration: underline;
}

.sai-ai-rich-text a {
    color: #2d3192;
    text-decoration: underline;
}

.sai-ai-rich-text ul,
.sai-ai-rich-text ol {
    margin: 0 0 14px 1.25rem;
    padding: 0;
}

.sai-ai-rich-text li {
    margin-bottom: 6px;
}

.sai-ai-rich-text h1,
.sai-ai-rich-text h2,
.sai-ai-rich-text h3,
.sai-ai-rich-text h4,
.sai-ai-rich-text h5,
.sai-ai-rich-text h6 {
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.4;
}

.sai-ai-rich-text blockquote {
    margin: 0 0 14px;
    padding-left: 16px;
    border-left: 3px solid #d1d5db;
}

.sai-ai-rich-text span[style*="font-style: italic"],
.sai-ai-rich-text span[style*="font-style:italic"] {
    font-style: italic;
}

.sai-ai-rich-text span[style*="font-weight: bold"],
.sai-ai-rich-text span[style*="font-weight:bold"],
.sai-ai-rich-text span[style*="font-weight: 700"],
.sai-ai-rich-text span[style*="font-weight:700"] {
    font-weight: 700;
}

.sai-ai-rich-text span[style*="text-decoration: underline"],
.sai-ai-rich-text span[style*="text-decoration:underline"] {
    text-decoration: underline;
}
