.rich-text-editor{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.rich-text-editor .toolbar{display:flex;align-items:center;gap:.25rem;flex-wrap:wrap}.rich-text-editor .toolbar-button{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:.375rem;border:none;background:transparent;color:rgb(55 65 81);border-radius:.375rem;cursor:pointer;transition:all .15s;font-size:.875rem}.rich-text-editor .toolbar-button:hover:not(:disabled){background:rgb(229 231 235)}.rich-text-editor .toolbar-button:disabled{opacity:.4;cursor:not-allowed}.rich-text-editor .toolbar-button.active{background:rgb(219 234 254);color:rgb(37 99 235)}.rich-text-editor .toolbar-separator{width:1px;height:1.25rem;background:rgb(209 213 219);margin:0 .25rem}@media (prefers-color-scheme:dark){.rich-text-editor .toolbar-button{color:rgb(209 213 219)}.rich-text-editor .toolbar-button:hover:not(:disabled){background:rgb(75 85 99)}.rich-text-editor .toolbar-button.active{background:rgb(30 64 175);color:rgb(147 197 253)}.rich-text-editor .toolbar-separator{background:rgb(75 85 99)}}.rich-text-editor .editor-content{background:white;color:rgb(17 24 39)}@media (prefers-color-scheme:dark){.rich-text-editor .editor-content{background:rgb(55 65 81);color:rgb(243 244 246)}}.rich-text-editor .ProseMirror{outline:none;font-size:.875rem;line-height:1.625}.rich-text-editor .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:rgb(156 163 175);pointer-events:none;height:0}@media (prefers-color-scheme:dark){.rich-text-editor .ProseMirror p.is-editor-empty:first-child:before{color:rgb(107 114 128)}}.rich-text-editor .ProseMirror p{margin:.5rem 0}.rich-text-editor .ProseMirror p:first-child{margin-top:0}.rich-text-editor .ProseMirror p:last-child{margin-bottom:0}.rich-text-editor .ProseMirror strong{font-weight:700}.rich-text-editor .ProseMirror em{font-style:italic}.rich-text-editor .ProseMirror s{text-decoration:line-through}.rich-text-editor .ProseMirror code{background:rgb(243 244 246);border:1px solid rgb(229 231 235);border-radius:.25rem;padding:.125rem .375rem;font-size:.875em;color:rgb(220 38 38);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}@media (prefers-color-scheme:dark){.rich-text-editor .ProseMirror code{background:rgb(17 24 39);border-color:rgb(55 65 81);color:rgb(252 165 165)}}.rich-text-editor .ProseMirror ol,.rich-text-editor .ProseMirror ul{padding-left:1.5rem;margin:.5rem 0}.rich-text-editor .ProseMirror ul{list-style-type:disc}.rich-text-editor .ProseMirror ol{list-style-type:decimal}.rich-text-editor .ProseMirror li{margin:.25rem 0}.rich-text-editor .ProseMirror li p{margin:0}.rich-text-editor .ProseMirror a{color:rgb(37 99 235);text-decoration:underline;cursor:pointer}.rich-text-editor .ProseMirror a:hover{color:rgb(29 78 216)}@media (prefers-color-scheme:dark){.rich-text-editor .ProseMirror a{color:rgb(96 165 250)}.rich-text-editor .ProseMirror a:hover{color:rgb(147 197 253)}}.rich-text-editor .ProseMirror ::selection{background:rgba(37,99,235,.2)}@media (prefers-color-scheme:dark){.rich-text-editor .ProseMirror ::selection{background:rgba(59,130,246,.3)}}.rich-text-editor:focus-within{border-color:rgb(59 130 246);box-shadow:0 0 0 3px rgba(59,130,246,.1)}@media (prefers-color-scheme:dark){.rich-text-editor:focus-within{border-color:rgb(59 130 246);box-shadow:0 0 0 3px rgba(59,130,246,.2)}}.rich-text-editor .editor-content::-webkit-scrollbar{width:.5rem}.rich-text-editor .editor-content::-webkit-scrollbar-track{background:rgb(243 244 246);border-radius:.25rem}.rich-text-editor .editor-content::-webkit-scrollbar-thumb{background:rgb(209 213 219);border-radius:.25rem}.rich-text-editor .editor-content::-webkit-scrollbar-thumb:hover{background:rgb(156 163 175)}@media (prefers-color-scheme:dark){.rich-text-editor .editor-content::-webkit-scrollbar-track{background:rgb(31 41 55)}.rich-text-editor .editor-content::-webkit-scrollbar-thumb{background:rgb(75 85 99)}.rich-text-editor .editor-content::-webkit-scrollbar-thumb:hover{background:rgb(107 114 128)}}