.rich-editor{background:#fff;border:1px solid #ddd;border-radius:6px;overflow:hidden}.rich-editor .toolbar{align-items:center;background:#f9f9f9;border-bottom:1px solid #ddd;display:flex;flex-wrap:wrap;gap:2px;padding:6px}.rich-editor .toolbar button{background:transparent;border:1px solid transparent;border-radius:3px;color:#555;cursor:pointer;font-family:inherit;font-size:13px;line-height:1;min-width:30px;padding:6px 9px}.rich-editor .toolbar button:hover:not(:disabled){background:#fff;border-color:#c0392b;color:#c0392b}.rich-editor .toolbar button.active{background:#c0392b;border-color:#c0392b;color:#fff}.rich-editor .toolbar button:disabled{cursor:not-allowed;opacity:.3}.rich-editor .toolbar .sep{background:#ddd;height:20px;margin:0 4px;width:1px}.rich-editor .editor-mount{min-height:200px}.rich-editor .editor-mount .ProseMirror{font-size:15px;line-height:1.7;min-height:200px;outline:none;padding:14px}.rich-editor .ProseMirror p.is-editor-empty:first-child:before{color:#aaa;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.rich-editor .ProseMirror h2{border-left:4px solid #c0392b;font-size:22px;font-weight:700;margin:16px 0 8px;padding-left:10px}.rich-editor .ProseMirror h3{font-size:18px;font-weight:700;margin:14px 0 6px}.rich-editor .ProseMirror h4{font-size:16px;font-weight:700;margin:12px 0 6px}.rich-editor .ProseMirror p{margin:0 0 10px}.rich-editor .ProseMirror ol,.rich-editor .ProseMirror ul{margin:10px 0;padding-left:24px}.rich-editor .ProseMirror blockquote{border-left:4px solid #c0392b;color:#555;font-style:italic;margin:10px 0;padding-left:12px}.rich-editor .ProseMirror code{background:#f3f3f3;border-radius:3px;font-family:monospace;font-size:.9em;padding:2px 6px}.rich-editor .ProseMirror pre{background:#2d2d2d;border-radius:6px;color:#f8f8f2;font-family:monospace;overflow-x:auto;padding:12px}.rich-editor .ProseMirror a{color:#c0392b;text-decoration:underline}.rich-editor .ProseMirror img{border-radius:4px;margin:8px 0;max-width:100%}.rich-editor .html-source{border:none;box-sizing:border-box;display:block;font-family:monospace;font-size:13px;min-height:200px;outline:none;padding:12px;resize:vertical;width:100%}
