.rich-text-editor{border:1px solid #e5e7eb;border-radius:.75rem;overflow:hidden;background:#fff}.rich-text-editor__toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem;padding:.5rem;border-bottom:1px solid #f3f4f6;background:#fafafa}.rich-text-editor__toolbar button{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:.5rem;color:#374151;transition:background .15s ease,color .15s ease}.rich-text-editor__toolbar button:hover:not(:disabled){background:#f3f4f6}.rich-text-editor__toolbar button.is-active{background:color-mix(in srgb,var(--maincolor,#ba9130) 18%,white);color:var(--maincolor,#8a6d22)}.rich-text-editor__toolbar button:disabled{opacity:.35;cursor:not-allowed}.rich-text-editor__divider{width:1px;height:1.25rem;background:#e5e7eb;margin:0 .25rem}.rich-text-editor__body{min-height:10rem;max-height:20rem;overflow-y:auto}.rich-text-editor__body .tiptap{outline:none;padding:.75rem 1rem;min-height:10rem;font-size:.9375rem;line-height:1.75;color:#1f2937}.rich-text-editor__body .tiptap p{margin:0 0 .65em}.rich-text-editor__body .tiptap p:last-child{margin-bottom:0}.rich-text-editor__body .tiptap ol,.rich-text-editor__body .tiptap ul{margin:.5em 0;padding-right:1.25rem}.rich-text-editor__body .tiptap a{color:var(--maincolor,#8a6d22);text-decoration:underline}.rich-text-editor__body .tiptap p.is-editor-empty:first-child:before{color:#9ca3af;content:attr(data-placeholder);float:right;height:0;pointer-events:none}