.community-rich-content {
    line-height: 1.65;
    word-break: break-word;
}

.community-rich-content > *:first-child {
    margin-top: 0;
}

.community-rich-content > *:last-child {
    margin-bottom: 0;
}

.community-rich-content p,
.community-rich-content ul,
.community-rich-content ol,
.community-rich-content blockquote,
.community-rich-content pre {
    margin-bottom: 0.75rem;
}

.community-rich-content h2,
.community-rich-content h3 {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.community-rich-content blockquote {
    padding-left: 1rem;
    border-left: 3px solid rgba(13, 110, 253, 0.35);
    color: #5c6578;
}

.community-rich-content pre,
.community-rich-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.92em;
}

.community-rich-content pre {
    background: #f6f8fb;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    overflow-x: auto;
}

.community-quill-editor .ql-toolbar.ql-snow,
.community-quill-editor .ql-container.ql-snow {
    border-color: #dee2e6;
    border-radius: 0.5rem;
}

.community-quill-editor .ql-toolbar.ql-snow {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: #f8f9fb;
}

.community-quill-editor .ql-container.ql-snow {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    min-height: 140px;
    font-family: "Instrument Sans", sans-serif;
    font-size: 1rem;
}

.community-quill-editor .ql-editor {
    min-height: 140px;
    padding: 0.85rem 1rem;
}

.community-quill-editor .ql-editor.ql-blank::before {
    color: #8b8b97;
    font-style: normal;
}

.community-quill-editor.is-compact .ql-container.ql-snow,
.community-quill-editor.is-compact .ql-editor {
    min-height: 100px;
}
