.rich-text-editor-wrapper,.rich-text-editor-wrapper .reactjs-tiptap-editor,.rich-text-editor-wrapper .rich-text-editor-content{width:100%;min-width:0;max-width:100%}.rich-text-editor-wrapper .rich-text-editor-viewport{min-width:0;max-height:600px;overflow:auto;overscroll-behavior:contain}.rich-text-editor-wrapper .tiptap-editor-toolbar{border:1px solid hsl(var(--border));border-bottom:none;border-radius:6px 6px 0 0;background-color:hsl(var(--background));padding:8px;display:flex;flex-wrap:wrap;gap:4px}.rich-text-editor-wrapper .tiptap-editor-toolbar button{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:4px;font-size:14px;font-weight:500;transition:all .2s;border:1px solid transparent;background-color:transparent;color:hsl(var(--foreground));height:32px;width:32px;padding:0;cursor:pointer}.rich-text-editor-wrapper .tiptap-editor-toolbar button:hover{background-color:hsl(var(--accent));color:hsl(var(--accent-foreground))}.rich-text-editor-wrapper .tiptap-editor-toolbar button.is-active{background-color:hsl(var(--primary));color:hsl(var(--primary-foreground))}.rich-text-editor-wrapper .tiptap-editor-toolbar button:disabled{pointer-events:none;opacity:.5}.rich-text-editor-wrapper .tiptap-editor-toolbar .divider{width:1px;height:24px;background-color:hsl(var(--border));margin:0 4px}.rich-text-editor-wrapper .tiptap-editor-content{border:1px solid hsl(var(--border));border-radius:0 0 6px 6px;background-color:hsl(var(--background))}.rich-text-editor-wrapper .ProseMirror{outline:none;padding:16px;font-size:14px;line-height:1.6;color:hsl(var(--foreground));min-height:200px;overflow-wrap:anywhere}.rich-text-editor-wrapper .ProseMirror:focus{outline:none}.rich-text-editor-wrapper .ProseMirror p.is-editor-empty:first-child:before{color:hsl(var(--muted-foreground));content:attr(data-placeholder);float:left;height:0;pointer-events:none;font-style:italic}.rich-text-editor-wrapper .ProseMirror h1{font-size:2rem;font-weight:700;line-height:1.2;margin:1.5rem 0 .75rem;color:hsl(var(--foreground))}.rich-text-editor-wrapper .ProseMirror h2{font-size:1.5rem;font-weight:600;line-height:1.3;margin:1.25rem 0 .5rem;color:hsl(var(--foreground))}.rich-text-editor-wrapper .ProseMirror h3{font-size:1.25rem;font-weight:600;line-height:1.4;margin:1rem 0 .5rem;color:hsl(var(--foreground))}.rich-text-editor-wrapper .ProseMirror h4{font-size:1.125rem;font-weight:600;line-height:1.4;margin:.875rem 0 .5rem;color:hsl(var(--foreground))}.rich-text-editor-wrapper .ProseMirror h5{font-size:1rem;font-weight:600;line-height:1.5;margin:.75rem 0 .5rem;color:hsl(var(--foreground))}.rich-text-editor-wrapper .ProseMirror h6{font-size:.875rem;font-weight:600;line-height:1.5;margin:.75rem 0 .5rem;color:hsl(var(--muted-foreground))}.rich-text-editor-wrapper .ProseMirror p{margin:.75rem 0;line-height:1.6}.rich-text-editor-wrapper .ProseMirror ol,.rich-text-editor-wrapper .ProseMirror ul{padding-left:1.5rem;margin:.75rem 0}.rich-text-editor-wrapper .ProseMirror li{margin:.25rem 0;line-height:1.6}.rich-text-editor-wrapper .ProseMirror ul li{list-style-type:disc}.rich-text-editor-wrapper .ProseMirror ol li{list-style-type:decimal}.rich-text-editor-wrapper .ProseMirror blockquote{border-left:4px solid hsl(var(--primary));padding-left:1rem;margin:1rem 0;font-style:italic;color:hsl(var(--muted-foreground));background-color:hsl(var(--muted)/.3);border-radius:0 4px 4px 0}.rich-text-editor-wrapper .ProseMirror code{padding:.125rem .375rem;border-radius:4px;font-size:.875rem}.rich-text-editor-wrapper .ProseMirror code,.rich-text-editor-wrapper .ProseMirror pre{background-color:hsl(var(--muted));color:hsl(var(--foreground));font-family:ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace}.rich-text-editor-wrapper .ProseMirror pre{padding:1rem;border-radius:6px;overflow-x:auto;margin:1rem 0}.rich-text-editor-wrapper .ProseMirror pre code{background:none;padding:0;border-radius:0}.ProseMirror a.editor-link,.rich-text-editor-wrapper .ProseMirror a,.rich-text-editor-wrapper .ProseMirror a.editor-link{color:#2563eb!important;text-decoration:underline!important;text-underline-offset:2px;cursor:pointer;transition:color .2s}.rich-text-editor-wrapper .ProseMirror a.editor-link:hover,.rich-text-editor-wrapper .ProseMirror a:hover{color:#1d4ed8!important;text-decoration:underline!important}.rich-text-editor-wrapper .ProseMirror strong{font-weight:700}.rich-text-editor-wrapper .ProseMirror em{font-style:italic}.rich-text-editor-wrapper .ProseMirror u{text-decoration:underline}.rich-text-editor-wrapper .ProseMirror s{text-decoration:line-through}.rich-text-editor-wrapper .ProseMirror hr{border:none;border-top:2px solid hsl(var(--border));margin:2rem 0;border-radius:1px}.rich-text-editor-wrapper .ProseMirror img{max-width:100%;height:auto;border-radius:6px;margin:1rem 0;box-shadow:0 1px 3px 0 rgb(0 0 0/.1),0 1px 2px -1px rgb(0 0 0/.1)}.rich-text-editor-wrapper .ProseMirror table{border-collapse:collapse;margin:1rem 0;width:100%;border:1px solid hsl(var(--border));border-radius:6px;overflow:hidden}.rich-text-editor-wrapper .ProseMirror table td,.rich-text-editor-wrapper .ProseMirror table th{border:1px solid hsl(var(--border));padding:.75rem;text-align:left;vertical-align:top}.rich-text-editor-wrapper .ProseMirror table th{background-color:hsl(var(--muted));font-weight:600;color:hsl(var(--foreground))}.rich-text-editor-wrapper .ProseMirror table tr:nth-child(2n){background-color:hsl(var(--muted)/.3)}.rich-text-editor-wrapper .ProseMirror ::-moz-selection{background-color:hsl(var(--primary)/.2)}.rich-text-editor-wrapper .ProseMirror ::selection{background-color:hsl(var(--primary)/.2)}.rich-text-editor-wrapper .tiptap-editor-content:focus-within{outline:2px solid hsl(var(--ring));outline-offset:2px}.rich-text-editor-wrapper .character-count{display:flex;justify-content:flex-end;padding:8px 12px;font-size:12px;color:hsl(var(--muted-foreground));border:1px solid hsl(var(--border));border-top:none;border-radius:0 0 6px 6px;background-color:hsl(var(--muted)/.3)}@media (max-width:768px){.rich-text-editor-wrapper .tiptap-editor-toolbar{padding:6px;gap:2px}.rich-text-editor-wrapper .tiptap-editor-toolbar button{height:28px;width:28px;font-size:12px}.rich-text-editor-wrapper .ProseMirror{padding:12px;font-size:16px}}.rich-text-editor-wrapper .reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror{box-sizing:border-box;width:100%;min-width:0;max-width:none;max-height:none;overflow:visible;padding:16px 20px}@media (max-width:768px){.rich-text-editor-wrapper .reactjs-tiptap-editor .ProseMirror.ProseMirror.ProseMirror{padding:12px}}