.toolbar{margin-bottom:1px;background:#fff;border-radius:8px;gap:4px;flex-wrap:wrap;position:sticky;top:0}.toolbar,.toolbar button.toolbar-item{display:flex;padding:8px;vertical-align:middle}.toolbar button.toolbar-item{border:0;background:none;border-radius:6px;cursor:pointer;align-items:center;justify-content:center;transition:background-color .2s ease}.toolbar button.toolbar-item:hover:not([disabled]){background-color:#f0f0f0}.toolbar button.toolbar-item:disabled{cursor:not-allowed;opacity:.3}.toolbar button.toolbar-item.spaced{margin-right:2px}.toolbar button.toolbar-item.active{background-color:#E9EBDB}.toolbar button.toolbar-item.active i{opacity:1}.toolbar .divider{display:inline-block;width:0;height:28px;margin:0 6px;vertical-align:middle;position:relative}.toolbar .divider:after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:1px;height:60%;background-color:#919191;border-radius:1px;opacity:.8;pointer-events:none}@media (max-width:768px){.toolbar .divider{height:22px;margin:0 4px}.toolbar .divider:after{height:58%}}.toolbar button.toolbar-item i.format{background-size:contain;display:inline-block;height:18px;width:18px;vertical-align:-.25em;opacity:.6;background-repeat:no-repeat;background-position:50%}.toolbar button.toolbar-item:disabled i.format{opacity:.2}.toolbar button.toolbar-item.active i.format{opacity:1}i.format.bold{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><path d="M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"></path><path d="M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"></path></svg>')}i.format.italic{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><line x1="19" y1="4" x2="10" y2="4"></line><line x1="14" y1="20" x2="5" y2="20"></line><line x1="15" y1="4" x2="9" y2="20"></line></svg>')}i.format.underline{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><path d="M6 3v7a6 6 0 0 0 6 6 6 6 0 0 0 6-6V3"></path><line x1="4" y1="21" x2="20" y2="21"></line></svg>')}i.format.strikethrough{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><path d="M17.3 5C15.4 3.7 13.2 3 11 3c-3.9 0-7 2.2-7 5s3.1 5 7 5c1.7 0 3.3.3 4.6.9"></path><path d="M7 19c1.9 1.3 4.1 2 6.3 2 3.9 0 7-2.2 7-5"></path><path d="M3 12h18"></path></svg>')}i.format.left-align{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><line x1="17" y1="10" x2="3" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="17" y1="18" x2="3" y2="18"></line></svg>')}i.format.center-align{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><line x1="18" y1="10" x2="6" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="18" y1="18" x2="6" y2="18"></line></svg>')}i.format.right-align{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><line x1="21" y1="10" x2="7" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="21" y1="18" x2="7" y2="18"></line></svg>')}i.format.justify-align{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><line x1="21" y1="10" x2="3" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="21" y1="18" x2="3" y2="18"></line></svg>')}i.format.undo{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><polyline points="1 4 1 10 7 10"></polyline><path d="M3.51 15a9 9 0 1 0 2.13-9.36L1 10"></path></svg>')}i.format.redo{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><polyline points="23 4 23 10 17 10"></polyline><path d="M20.49 15a9 9 0 1 1-2.12-9.36L23 10"></path></svg>')}i.format.bullet-list{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><line x1="8" y1="6" x2="21" y2="6"></line><line x1="8" y1="12" x2="21" y2="12"></line><line x1="8" y1="18" x2="21" y2="18"></line><line x1="3" y1="6" x2="3.01" y2="6"></line><line x1="3" y1="12" x2="3.01" y2="12"></line><line x1="3" y1="18" x2="3.01" y2="18"></line></svg>')}i.format.numbered-list{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><line x1="10" y1="6" x2="21" y2="6"></line><line x1="10" y1="12" x2="21" y2="12"></line><line x1="10" y1="18" x2="21" y2="18"></line><path d="M4 6h1v4"></path><path d="M4 10h2"></path><path d="M6 18H4c0-1 2-2 2-3s-1-1.5-2-1"></path></svg>')}.toolbar .font-size-select{padding:6px 8px;border:1px solid #e0e0e0;border-radius:6px;background:white;cursor:pointer;font-size:14px;transition:border-color .2s ease}.toolbar .font-size-select:hover{border-color:#882626}.toolbar .font-size-select:focus{outline:none;border-color:#882626;box-shadow:0 0 0 2px rgba(136,38,38,.1)}.toolbar .color-picker{width:40px;height:32px;border:1px solid #e0e0e0;border-radius:6px;cursor:pointer;padding:2px;background:white;transition:border-color .2s ease}.toolbar .color-picker:hover{border-color:#882626}.toolbar .color-picker::-webkit-color-swatch-wrapper{padding:0}.toolbar .color-picker::-webkit-color-swatch{border:none;border-radius:4px}.editor-root{position:relative}.editor-paragraph{margin:0 0 15px;position:relative}.editor-heading-h1{font-size:2em;font-weight:700;margin:.67em 0}.editor-heading-h2{font-size:1.5em;font-weight:700;margin:.75em 0}.editor-heading-h3{font-size:1.17em;font-weight:700;margin:.83em 0}.editor-text-bold{font-weight:700}.editor-text-italic{font-style:italic}.editor-text-underline{text-decoration:underline}.editor-text-strikethrough{text-decoration:line-through}.editor-text-underlineStrikethrough{text-decoration:underline line-through}.editor-text-code{background-color:#f3f4f6;padding:2px 4px;border-radius:3px;font-family:Courier New,monospace;font-size:.9em}.editor-quote{margin:0 0 0 20px;font-size:15px;color:rgb(101,103,107);border-left:4px solid #882626;padding-left:16px}.editor-list-ol,.editor-list-ul{padding:0;margin:0 0 0 16px;list-style-position:inside}.editor-listitem{margin:8px 32px;display:list-item}.editor-list-ol .editor-listitem{list-style-type:decimal}.editor-list-ul .editor-listitem{list-style-type:disc}.editor-nested-listitem{list-style-type:none}.editor-code{background-color:#f3f4f6;font-family:Courier New,Courier,monospace;display:block;padding:8px 12px;border-radius:4px;margin:8px 0;overflow-x:auto;tab-size:2;line-height:1.5}@media (max-width:768px){.toolbar,.toolbar button.toolbar-item{padding:6px}.toolbar button.toolbar-item i.format{height:16px;width:16px}.toolbar .font-size-select{padding:4px 6px;font-size:12px}.toolbar .color-picker{width:32px;height:28px}}