/* Rich Editor 工具栏样式 */
.rich-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 6px 8px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.rich-editor-toolbar button {
    padding: 4px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    min-width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}
.rich-editor-toolbar button:hover {
    background: #eff6ff;
    border-color: #2563eb;
    color: #2563eb;
}
.rich-editor-toolbar .toolbar-divider {
    width: 1px;
    height: 24px;
    background: #e2e8f0;
    margin: 3px 4px;
}
.rich-editor-content {
    min-height: 300px;
    padding: 12px 16px;
    outline: none;
    font-family: Microsoft YaHei, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #1e293b;
}
.rich-editor-content:focus {
    outline: none;
}
.rich-editor-content p { margin: 0 0 8px 0; }
.rich-editor-content h2 { font-size: 18px; font-weight: 600; margin: 12px 0 8px 0; color: #0f172a; }
.rich-editor-content h3 { font-size: 15px; font-weight: 600; margin: 10px 0 6px 0; color: #334155; }
.rich-editor-content img { max-width: 100%; height: auto; border-radius: 6px; margin: 8px 0; }
.rich-editor-content a { color: #2563eb; text-decoration: underline; }