.tiptap-wrapper{border:1px solid #e5e7eb;border-radius:.5rem;background:#fff;margin-bottom:1rem}.toolbar{display:flex;align-items:center;gap:.25rem;padding:.5rem;border-bottom:1px solid #e5e7eb;background:#f9fafb;border-radius:.5rem .5rem 0 0;flex-wrap:wrap}.toolbar button{padding:.375rem .75rem;border:1px solid #d1d5db;background:#fff;border-radius:.25rem;cursor:pointer;font-size:.875rem;transition:all .15s}.toolbar button:hover{background:#f3f4f6;border-color:#9ca3af}.toolbar button.active{background:#3b82f6;color:#fff;border-color:#2563eb}.toolbar button:disabled{opacity:.5;cursor:not-allowed}.toolbar .separator{width:1px;height:1.5rem;background:#d1d5db;margin:0 .25rem}.toolbar .spacer{flex:1}.toolbar .save-status{font-size:.75rem;color:#6b7280;margin-right:.5rem}.toolbar .save-button{background:#10b981;color:#fff;border-color:#059669}.toolbar .save-button:hover{background:#059669}.editor-container{min-height:400px;max-height:600px;overflow-y:auto}.editor-container:focus-within{outline:none}.ProseMirror{padding:1rem;min-height:400px}.ProseMirror:focus{outline:none}.ProseMirror .prose{max-width:none!important}.ProseMirror h1{font-size:2em;font-weight:700;margin-top:1em;margin-bottom:.5em;line-height:1.2}.ProseMirror h2{font-size:1.5em;font-weight:600;margin-top:1em;margin-bottom:.5em;line-height:1.3}.ProseMirror h3{font-size:1.25em;font-weight:600;margin-top:1em;margin-bottom:.5em;line-height:1.4}.ProseMirror p{margin-top:.75em;margin-bottom:.75em;line-height:1.6;font-family:Georgia,serif;font-size:16px}.ProseMirror ul,.ProseMirror ol{margin-top:.75em;margin-bottom:.75em;padding-left:1.5em}.ProseMirror li{margin-top:.25em;margin-bottom:.25em}.ProseMirror code{background:#f3f4f6;padding:.125em .25em;border-radius:.25em;font-size:.875em;font-family:Courier New,monospace}.ProseMirror pre{background:#2d2d2d;color:#f8f8f2;padding:1rem;border-radius:.5rem;overflow-x:auto;margin:1em 0}.ProseMirror pre code{background:transparent;padding:0;color:inherit}.ProseMirror blockquote{border-left:4px solid #3b82f6;padding-left:1em;font-style:italic;color:#6b7280;margin:1em 0}.ProseMirror strong{font-weight:700}.ProseMirror em{font-style:italic}.ProseMirror s{text-decoration:line-through}.ProseMirror p.is-editor-empty:first-child:before{color:#9ca3af;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.word-count{padding:.5rem 1rem;text-align:right;font-size:.75rem;color:#6b7280;border-top:1px solid #e5e7eb}.ProseMirror ::selection{background:#b3d4fc}.ProseMirror ::-moz-selection{background:#b3d4fc}
